/* ===== MuzBox Modern Footer ===== */

#footer,
.footer-container,
.footer-main,
.footer-bottom{
    background:#081d33!important;
    color:rgba(255,255,255,.78)!important;
}

#footer{
    position:relative!important;
    overflow:hidden!important;
    background:
        radial-gradient(circle at 20% 15%, rgba(21,97,147,.35), transparent 28%),
        radial-gradient(circle at 80% 20%, rgba(14,116,144,.24), transparent 30%),
        linear-gradient(135deg,#081d33,#061426)!important;
}

#footer:before{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    pointer-events:none!important;
    background:linear-gradient(to bottom,rgba(255,255,255,.03),rgba(255,255,255,0))!important;
}

#footer .container,
#footer .footer-container .container{
    max-width:1240px!important;
    margin:0 auto!important;
    padding-left:20px!important;
    padding-right:20px!important;
}

/* Верхняя зона футера */

#footer .footer-container{
    padding:48px 0 34px!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
}

#footer .footer-container .row{
    display:grid!important;
    grid-template-columns:1.25fr .85fr .95fr 1.35fr!important;
    gap:42px!important;
    align-items:start!important;
}

/* Лого и описание */

#footer .mz-footer-logo{
    margin-bottom:14px!important;
    color:#fff!important;
    font-size:36px!important;
    font-weight:900!important;
    letter-spacing:-1px!important;
    line-height:1!important;
}

#footer .mz-footer-logo span{
    color:#ff2d3d!important;
}

#footer .mz-footer-slogan{
    margin-bottom:18px!important;
    color:#fff!important;
    font-size:17px!important;
    font-weight:800!important;
    letter-spacing:.06em!important;
}

#footer .mz-footer-slogan:before,
#footer .mz-footer-slogan:after{
    content:"•";
    color:#ff2d3d!important;
    margin:0 7px!important;
}

#footer .mz-footer-slogan:before{
    display:none!important;
}

#footer .mz-footer-about p{
    max-width:330px!important;
    margin:0!important;
    color:rgba(255,255,255,.68)!important;
    font-size:14px!important;
    line-height:1.7!important;
}

/* Заголовки колонок */

#footer h3,
#footer h4,
#footer .h3,
#footer .h4,
#footer .block-title,
#footer .title_block{
    margin:0 0 22px!important;
    color:#fff!important;
    font-size:18px!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.02em!important;
}

#footer h3:after,
#footer h4:after,
#footer .block-title:after,
#footer .title_block:after{
    content:""!important;
    display:block!important;
    width:34px!important;
    height:3px!important;
    margin-top:10px!important;
    background:#ff2d3d!important;
    border-radius:4px!important;
}

/* Ссылки */

#footer ul{
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}

#footer li{
    margin:0 0 12px!important;
}

#footer a{
    color:rgba(255,255,255,.72)!important;
    text-decoration:none!important;
    transition:all .18s ease!important;
}

#footer a:hover{
    color:#fff!important;
}

#footer .links a,
#footer .footer-links a,
#footer .cms-page-link a{
    position:relative!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:8px!important;
    font-size:14px!important;
    line-height:1.4!important;
}

#footer .links a:before,
#footer .footer-links a:before,
#footer .cms-page-link a:before{
    content:"\203A"!important;
    color:#3b9bea!important;
    font-size:19px!important;
    font-weight:700!important;
    line-height:1!important;
}

#footer .links a:hover,
#footer .footer-links a:hover,
#footer .cms-page-link a:hover{
    transform:translateX(3px)!important;
}

/* Newsletter */

#footer .block_newsletter,
#footer #blockEmailSubscription_displayFooter{
    background:rgba(255,255,255,.06)!important;
    border:1px solid rgba(255,255,255,.10)!important;
    border-radius:16px!important;
    padding:22px!important;
}

#footer .block_newsletter p{
    color:rgba(255,255,255,.70)!important;
    font-size:14px!important;
}

#footer .block_newsletter form{
    display:flex!important;
    gap:0!important;
}

#footer .block_newsletter input[type="email"],
#footer .block_newsletter input[type="text"]{
    height:46px!important;
    background:rgba(255,255,255,.08)!important;
    border:1px solid rgba(255,255,255,.13)!important;
    border-radius:9px 0 0 9px!important;
    color:#fff!important;
    padding:0 15px!important;
}

#footer .block_newsletter input::placeholder{
    color:rgba(255,255,255,.55)!important;
}

#footer .block_newsletter button,
#footer .block_newsletter .btn{
    height:46px!important;
    background:#156193!important;
    border-color:#156193!important;
    color:#fff!important;
    border-radius:0 9px 9px 0!important;
    padding:0 20px!important;
    font-weight:800!important;
    text-transform:uppercase!important;
}

#footer .block_newsletter button:hover,
#footer .block_newsletter .btn:hover{
    background:#0f4f7a!important;
}

/* Соцсети */

#footer .socialfollow,
#footer .social-follow,
#footer .block-social{
    margin-top:24px!important;
}

#footer .socialfollow ul,
#footer .social-follow ul,
#footer .block-social ul{
    display:flex!important;
    gap:12px!important;
}

#footer .socialfollow a,
#footer .social-follow a,
#footer .block-social a{
    width:44px!important;
    height:44px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:rgba(255,255,255,.08)!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:12px!important;
    color:#fff!important;
    transition:all .22s ease!important;
}

#footer .socialfollow a:hover,
#footer .social-follow a:hover,
#footer .block-social a:hover{
    background:#156193!important;
    transform:translateY(-3px)!important;
}

/* Контакты */

#footer .mz-footer-contacts h4{
    margin-bottom:22px!important;
}

#footer .mz-footer-contact{
    display:flex!important;
    align-items:flex-start!important;
    gap:13px!important;
    margin-bottom:17px!important;
}

#footer .mz-footer-contact > i{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:rgba(21,97,147,.25)!important;
    border:1px solid rgba(59,155,234,.22)!important;
    border-radius:50%!important;
    color:#ff2d3d!important;
    font-size:16px!important;
}

#footer .mz-footer-contact span{
    display:block!important;
    color:rgba(255,255,255,.58)!important;
    font-size:12px!important;
    font-weight:800!important;
    text-transform:uppercase!important;
    letter-spacing:.04em!important;
}

#footer .mz-footer-contact strong{
    display:block!important;
    margin-top:3px!important;
    color:#fff!important;
    font-size:15px!important;
    font-weight:800!important;
    line-height:1.35!important;
}

#footer .mz-footer-contact small{
    display:block!important;
    margin-top:3px!important;
    color:rgba(255,255,255,.65)!important;
    font-size:13px!important;
}

#footer .mz-footer-contact a{
    color:#fff!important;
}

/* Нижний ряд преимуществ */

#footer .mz-footer-features{
    display:grid!important;
    grid-template-columns:repeat(4,1fr)!important;
    gap:0!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
    margin-top:34px!important;
}

#footer .mz-footer-feature{
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
    padding:22px 26px!important;
    border-right:1px solid rgba(255,255,255,.08)!important;
}

#footer .mz-footer-feature:last-child{
    border-right:0!important;
}

#footer .mz-footer-feature i{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:50%!important;
    background:rgba(21,97,147,.35)!important;
    color:#fff!important;
    font-size:21px!important;
}

#footer .mz-footer-feature strong{
    display:block!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:900!important;
    text-transform:uppercase!important;
}

#footer .mz-footer-feature span{
    display:block!important;
    margin-top:3px!important;
    color:rgba(255,255,255,.62)!important;
    font-size:13px!important;
}

/* Footer bottom */

#footer .footer-bottom{
    padding:22px 0!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
    background:rgba(0,0,0,.10)!important;
}

#footer .footer-bottom,
#footer .footer-bottom a,
#footer .copyright{
    color:rgba(255,255,255,.58)!important;
    font-size:13px!important;
}

#footer .payment-icons img,
#footer .payment img{
    max-height:28px!important;
    opacity:.85!important;
}

/* Mobile */

@media(max-width:991px){
    #footer .footer-container .row{
        grid-template-columns:1fr 1fr!important;
        gap:32px!important;
    }

    #footer .mz-footer-features{
        grid-template-columns:repeat(2,1fr)!important;
    }
}

@media(max-width:575px){
    #footer .footer-container{
        padding:36px 0 28px!important;
    }

    #footer .footer-container .row{
        grid-template-columns:1fr!important;
        gap:28px!important;
    }

    #footer .mz-footer-logo{
        font-size:32px!important;
    }

    #footer .block_newsletter form{
        flex-direction:column!important;
        gap:10px!important;
    }

    #footer .block_newsletter input[type="email"],
    #footer .block_newsletter input[type="text"],
    #footer .block_newsletter button,
    #footer .block_newsletter .btn{
        width:100%!important;
        border-radius:9px!important;
    }

    #footer .mz-footer-features{
        grid-template-columns:1fr!important;
    }

    #footer .mz-footer-feature{
        border-right:0!important;
        border-bottom:1px solid rgba(255,255,255,.08)!important;
        padding:18px 0!important;
    }

    #footer .mz-footer-feature:last-child{
        border-bottom:0!important;
    }
}

/* ===== MuzBox Footer Bottom Custom ===== */

#footer .mz-footer-bottom-custom{
    width:100%!important;
}

#footer .mz-footer-features{
    display:grid!important;
    grid-template-columns:repeat(4,1fr)!important;
    gap:0!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
    margin-top:34px!important;
}

#footer .mz-footer-feature{
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
    padding:22px 26px!important;
    border-right:1px solid rgba(255,255,255,.08)!important;
}

#footer .mz-footer-feature:last-child{
    border-right:0!important;
}

#footer .mz-footer-feature i{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:50%!important;
    background:rgba(21,97,147,.35)!important;
    color:#fff!important;
    font-size:21px!important;
}

#footer .mz-footer-feature strong{
    display:block!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:900!important;
    text-transform:uppercase!important;
}

#footer .mz-footer-feature span{
    display:block!important;
    margin-top:3px!important;
    color:rgba(255,255,255,.62)!important;
    font-size:13px!important;
}

#footer .mz-footer-legal{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:20px!important;
    padding:22px 0 0!important;
}

#footer .mz-footer-copy{
    color:rgba(255,255,255,.58)!important;
    font-size:13px!important;
}

#footer .mz-footer-copy strong{
    color:#fff!important;
    font-weight:800!important;
}

#footer .mz-footer-payments{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
}

#footer .mz-pay-card{
    height:34px!important;
    min-width:72px!important;
    padding:0 14px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:rgba(255,255,255,.08)!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:8px!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:900!important;
    letter-spacing:.02em!important;
}

#footer .mz-pay-visa{
    font-style:italic!important;
}

#footer .mz-pay-mastercard{
    color:#fff!important;
}

/* Mobile */

@media(max-width:991px){
    #footer .mz-footer-features{
        grid-template-columns:repeat(2,1fr)!important;
    }

    #footer .mz-footer-feature:nth-child(2){
        border-right:0!important;
    }

    #footer .mz-footer-legal{
        flex-direction:column!important;
        align-items:flex-start!important;
    }
}

@media(max-width:575px){
    #footer .mz-footer-features{
        grid-template-columns:1fr!important;
        margin-top:28px!important;
    }

    #footer .mz-footer-feature{
        border-right:0!important;
        border-bottom:1px solid rgba(255,255,255,.08)!important;
        padding:18px 0!important;
    }

    #footer .mz-footer-feature:last-child{
        border-bottom:0!important;
    }

    #footer .mz-footer-legal{
        align-items:center!important;
        text-align:center!important;
    }

    #footer .mz-footer-payments{
        justify-content:center!important;
    }
}

/* Footer Static Links: Покупцям + Контакти */

#footer .mz-footer-static{
    display:grid!important;
    grid-template-columns:0.8fr 1.4fr!important;
    gap:42px!important;
    align-items:start!important;
}

#footer .mz-footer-buyers ul{
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}

#footer .mz-footer-buyers li{
    margin:0 0 14px!important;
}

#footer .mz-footer-buyers a{
    position:relative!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:8px!important;
    color:rgba(255,255,255,.72)!important;
    font-size:14px!important;
    text-decoration:none!important;
}

#footer .mz-footer-buyers a:before{
    content:"\203A"!important;
    color:#3b9bea!important;
    font-size:19px!important;
    font-weight:700!important;
    line-height:1!important;
}

#footer .mz-footer-buyers a:hover{
    color:#fff!important;
    transform:translateX(3px)!important;
}

/* На мобильном в одну колонку */
@media(max-width:991px){
    #footer .mz-footer-static{
        grid-template-columns:1fr!important;
        gap:28px!important;
    }
}

/* ===== Footer Static split: Покупцям / Контакти / Магазини ===== */

#footer .mz-footer-static-split{
    display:grid!important;
    grid-template-columns:.75fr 1fr 1.25fr!important;
    gap:36px!important;
    align-items:start!important;
}

/* Магазины компактно */

#footer .mz-footer-stores h4,
#footer .mz-footer-online h4,
#footer .mz-footer-buyers h4{
    margin-bottom:22px!important;
}

#footer .mz-footer-store{
    display:flex!important;
    align-items:flex-start!important;
    gap:12px!important;
    margin-bottom:15px!important;
}

#footer .mz-footer-store > i{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:rgba(21,97,147,.25)!important;
    border:1px solid rgba(59,155,234,.22)!important;
    border-radius:50%!important;
    color:#ff2d3d!important;
    font-size:15px!important;
}

#footer .mz-footer-store strong{
    display:block!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:900!important;
    line-height:1.25!important;
    text-transform:uppercase!important;
}

#footer .mz-footer-store span{
    display:block!important;
    margin-top:3px!important;
    color:rgba(255,255,255,.68)!important;
    font-size:13px!important;
    line-height:1.35!important;
}

#footer .mz-footer-store a{
    display:block!important;
    margin-top:3px!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:800!important;
    text-decoration:none!important;
}

#footer .mz-footer-store a:hover{
    color:#3b9bea!important;
}

/* На планшете */
@media(max-width:991px){
    #footer .mz-footer-static-split{
        grid-template-columns:1fr 1fr!important;
        gap:30px!important;
    }

    #footer .mz-footer-stores{
        grid-column:1 / -1!important;
    }
}

/* На мобильном */
@media(max-width:575px){
    #footer .mz-footer-static-split{
        grid-template-columns:1fr!important;
        gap:26px!important;
    }

    #footer .mz-footer-stores{
        grid-column:auto!important;
    }
}

/* ===== Footer width and columns fix ===== */

/* Расширяем футер */
#footer .footer-main > .container,
#footer .footer-container > .container,
#footer > .container{
    max-width:1500px!important;
    width:100%!important;
    padding-left:24px!important;
    padding-right:24px!important;
}

/* Левая колонка уже, правая шире */
#footer .footer-main > .container > .row.main-main{
    display:grid!important;
    grid-template-columns:320px minmax(0,1fr)!important;
    gap:56px!important;
    align-items:start!important;
}

#footer .footer-main > .container > .row.main-main > [class*="col-"]{
    width:auto!important;
    max-width:none!important;
    flex:none!important;
    padding-left:0!important;
    padding-right:0!important;
}

/* Блок справа: Покупцям / Контакти / Магазини */
#footer .mz-footer-static-split{
    display:grid!important;
    grid-template-columns:.75fr 1fr 1.45fr!important;
    gap:34px!important;
    align-items:start!important;
}

/* Магазины компактнее */
#footer .mz-footer-store{
    margin-bottom:13px!important;
}

#footer .mz-footer-store strong{
    font-size:13px!important;
    line-height:1.2!important;
}

#footer .mz-footer-store span,
#footer .mz-footer-store a{
    font-size:13px!important;
    line-height:1.3!important;
}

/* Телефон не переносить */
#footer .mz-footer-store a,
#footer .mz-footer-contact a{
    white-space:nowrap!important;
}

/* Интернет-магазин тоже не переносить */
#footer .mz-footer-contact strong a{
    white-space:nowrap!important;
}

/* Планшет */
@media(max-width:1199px){
    #footer .footer-main > .container > .row.main-main{
        grid-template-columns:1fr!important;
        gap:36px!important;
    }

    #footer .mz-footer-static-split{
        grid-template-columns:1fr 1fr 1fr!important;
    }
}

/* Мобильный */
@media(max-width:767px){
    #footer .footer-main > .container,
    #footer .footer-container > .container,
    #footer > .container{
        padding-left:16px!important;
        padding-right:16px!important;
    }

    #footer .mz-footer-static-split{
        grid-template-columns:1fr!important;
        gap:26px!important;
    }
}

/* ===== FIX footer link arrows encoding ===== */

#footer .links a:before,
#footer .footer-links a:before,
#footer .cms-page-link a:before,
#footer .footer-menu a:before,
#footer .linklist a:before,
#footer .mz-footer-buyers a:before{
    content:"\203A"!important;
    font-family:Arial, sans-serif!important;
    color:#3b9bea!important;
    font-size:19px!important;
    font-weight:700!important;
    line-height:1!important;
}

/* Убираем возможные битые иконки внутри ссылок */
#footer .links a i,
#footer .footer-links a i,
#footer .cms-page-link a i,
#footer .footer-menu a i,
#footer .linklist a i,
#footer .links a .material-icons,
#footer .footer-links a .material-icons,
#footer .cms-page-link a .material-icons,
#footer .footer-menu a .material-icons,
#footer .linklist a .material-icons{
    display:none!important;
}

/* ===== FIX footer newsletter input text color ===== */

#footer .block_newsletter input[type="email"],
#footer .block_newsletter input[type="text"],
#footer #blockEmailSubscription_displayFooter input[type="email"],
#footer #blockEmailSubscription_displayFooter input[type="text"],
#footer .ps-emailsubscription-block input[type="email"],
#footer .ps-emailsubscription-block input[type="text"]{
    background:#fff!important;
    color:#18202a!important;
    -webkit-text-fill-color:#18202a!important;
    caret-color:#18202a!important;
    border:1px solid rgba(255,255,255,.18)!important;
}

#footer .block_newsletter input::placeholder,
#footer #blockEmailSubscription_displayFooter input::placeholder,
#footer .ps-emailsubscription-block input::placeholder{
    color:#9aa4b2!important;
    -webkit-text-fill-color:#9aa4b2!important;
    opacity:1!important;
}

/* Chrome autofill fix */
#footer .block_newsletter input:-webkit-autofill,
#footer #blockEmailSubscription_displayFooter input:-webkit-autofill,
#footer .ps-emailsubscription-block input:-webkit-autofill{
    -webkit-text-fill-color:#18202a!important;
    box-shadow:0 0 0 1000px #fff inset!important;
}