.popupBlockWrp {
    max-width: 400px;
    width: 100%;
    position: fixed;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 20px 10px rgba(130,148,159,0.2);
    box-shadow: 0 0 20px 10px rgba(130,148,159,0.2);
    bottom: 35px;
    z-index: 20;
    margin: 0 15px;
    background: url(../img/newCoffee/bg.png) 0 0 no-repeat transparent;
    padding: 7px 0;
    min-height: 140px;
}

.popupBlockWrp.popup-franchising {
    max-width: 475px;
    background: url(../img/newCoffee/bg-franch.png) 0 0 no-repeat transparent;
    min-height: 147px;
}

.popupBlockWrp.popup-franchising .popupBlockRight .popupBlockRightImg {
    position: absolute;
    top: -27px!important;
    left: -215px!important;
}
.popupBlockWrp.popup-franchising .popupBlockRightImg {
    width: 86px;
    height: 86px;
}

.popupBlockWrp.popup-franchising .popupBlockRightImg img{
   max-width: none;
}

.popupBlockWrpInner {
    display: flex;
    justify-content: space-between;
}

.popupBlockWrp.cofeePopupBlock .popupBlockLeft {
    margin-left: 15px;
    margin-top: 12px;
}
.popupBlockLeft {
    padding-top: 0;
    margin-bottom: 30px;
}

.popupBlockSimpleText {
    color: #fff;
    font-size: 30px;
}

.popupBlockWrp.cofeePopupBlock .popupCoffeTitleText {
    font-family: Muller, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 24px;
    color: #6ddd5a;
    display: table;
    margin-bottom: 10px;
}

.popupBlockWrp.cofeePopupBlock .popupDeskText {
    font-family: Muller, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 18px;
}

.popupBlockRight {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.popupBlockWrp.cofeePopupBlock .popupBlockRight .close {
    position: relative;
    top: 0px;
    opacity: 1;
    right: 14px;
}

.popupBlockWrp.cofeePopupBlock .popupBlockRight .popupBlockRightImg {
    position: absolute;
    top: -49px;
    left: -148px;
}
.popupBlockWrp.cofeePopupBlock.cofeePopupBlockSvetlana .popupBlockRight .popupBlockRightImg {
    top:-73px;
    left: -125px;
}
.popupBlockWrp.cofeePopupBlock.cofeePopupBlockSatzhan .popupBlockRight .popupBlockRightImg {
    top:-76px;
    left: -130px;
}

.popupBlockSocialWrp {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -25px;
}

.popupBlockWrp.cofeePopupBlock .popupBlockSocialWrpInner {
    display: flex;
    padding-left: 15px;
    max-width: 221px;
    justify-content: space-between;
}

.popupBlockWrp.cofeePopupBlock .popupCoffeebtnWrp {
    display: block;
    width: 217px;
    height: 54px;
    background: linear-gradient(11.19deg, #1A3515 -28.84%, #6DDD5A 83.11%);
    border-radius: 5px;
    text-align: center;
    padding: 15px 0;
    color: #FFF;
    text-decoration: none;
    cursor: pointer;
}

.popupBlockWrpClose {
    display: none;
}

.popupBlockSocialWrpMobile {
    display: none;
}

.popupBlockSocialWrpInner div{
    /*достаточно высоты width: 60px;*/
    height: 56px;
}

.popupBlockSocialWrpInner div img{
    height: 100%;
}



/*///////////////////////////////////////////////////////////////////////<550px/////////////////////////////////////////////*/
@media (max-width: 550px) {
    .popupBlockWrp {
        max-width: 294px;
    }

    .popupBlockWrp.cofeePopupBlock .popupBlockRight .popupBlockRightImg {
        position: absolute;
        top: 24px;
        left: -91px;
    }
    .popupBlockWrp.cofeePopupBlock.cofeePopupBlockSvetlana .popupBlockRight .popupBlockRightImg {
        left: -60px;
        top: 20px;
    }
    .popupBlockWrp.cofeePopupBlock.cofeePopupBlockSatzhan .popupBlockRight .popupBlockRightImg {
        left: -56px;
        top: 19px;
    }
    .popupBlockWrp.cofeePopupBlock .popupBlockRight .popupBlockRightImg img{
        width: 110px;
    }

    .popupBlockWrp.cofeePopupBlock .popupDeskText{
        max-width: 175px;
    }

    .popupBlockWrp.cofeePopupBlock .popupBlockSocialWrpMobile {
        display: flex;
        width: 100%;
        margin: 5px 0;
        position: relative;
        bottom: 0;
    }

    .popupBlockWrp.popup-franchising .popupBlockSocialWrpDesk{
        display: none;
    }
    .popupBlockWrp.popup-franchising {
        max-width: 191px;
        width: 100%;
        background: url(../img/newCoffee/bgSmall.png) 0 0 no-repeat transparent;
        background-size: contain;
        padding: 12px 12px;
        min-height: 115px;
    }

    .popupBlockWrp.popup-franchising .popupBlockRightImg {
        display: none;
    }

    .popupBlockWrp.popup-franchising .coffeeMobileCupSmall {
        position: absolute;
        right: -19px;
        top: -50px;
    }

    .popupBlockWrp.popup-franchising .popupBlockSocialWrpInner div {
        /*width: 50px;*/
        height: 40px;
    }

    .popupBlockWrp.popup-franchising .popupBlockSocialWrpInner{
        padding-left: 0;
    }

    .popupBlockWrp.popup-franchising .popupBlockWrpInner{
        height: 41px;
    }

    .popupBlockWrp.popup-franchising .popupBlockSocialWrpMobile {
        bottom: -42px;
    }

    .popupBlockWrp.popup-franchising .popupBlockRight .close {
        right: 0px;
    }
}


h1 {
    font-size: 51px;
    line-height: 58px;
}
@media only screen and (max-width: 768px) {
    h1 {
        font-size: 38px;
        line-height: 1.25em;
    }
    h2 {
        font-size: 32px;
        line-height: 1.25em;
    }
}

@media only screen and (max-width: 600px) {
    h1 {
        margin-bottom: 16px;
    }
}
@media only screen and (max-width: 374px) {
    h1 {
        font-size: 36px;
        line-height: 1.25em;
    }
    h2 {
        font-size: 35px;
        line-height: 1.25em;
    }
    h3{
        line-height:40px;
        font-size:30px;
    }
    h4{
        font-size:28px;
    }
}