.footer__menu {
    position: relative;
}

.footer__menu-title {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.footer__menu-title .icon__arrow,
.footer__menu-title .icon__minus {
    display: none;
}

@media (max-width: 959px) {
    .footer__menu-title {
        padding-block-start: 15px;
    }

    .footer__menu-title .icon__arrow {
        display: inline;
    }

    .footer__menu-title .icon__minus {
        display: none;
    }
}

.footer__menu-item {
    padding-block-start: 15px;
}

.footer__menu-item a {
    display: block;
}

.footer__menu-item--active a {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.footer__menu-item--active a:hover {
    text-decoration: underline;
}

@media (max-width: 959px) {
    .footer__menu-content {
        height: 0;
        padding-block-end: 15px;
        overflow: hidden;
        opacity: 0;
    }
}

.footer__menu::after {
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    display: none;
    width: 100%;
    height: 1px;
    content: "";
    background-color: rgba(var(--color-text), 0.1);
}

@media (max-width: 959px) {
    .footer__menu::after {
        display: block;
    }
}

@media (max-width: 959px) {
    .footer__menu[open] .footer__menu-title .icon__arrow {
        display: none;
    }

    .footer__menu[open] .footer__menu-title .icon__minus {
        display: inline;
    }
}

.footer__menu[open] .footer__menu-content {
    height: auto;
    opacity: 1;
}

.footer__custom-text-title {
    padding-block-end: 15px;
}

@media (max-width: 959px) {
    .footer__custom-text-title {
        padding-block-start: 15px;
    }
}

.footer__email-subscribe-title {
    margin-block-end: 15px;
    font-weight: bold;
}

@media (min-width: 960px) {
    .footer__email-subscribe--small .field__input {
        padding-block-start: 16px;
    }

    .footer__email-subscribe--middle .field__input {
        padding-block: 20px 2px;
    }

    .footer__email-subscribe--large .field__input {
        padding-block: 30px 19px;
    }

    .footer__email-subscribe--large .field__input:focus~.field__label,
    .footer__email-subscribe--large .field__input:not(:placeholder-shown)~.field__label,
    .footer__email-subscribe--large .field__input:-webkit-autofill~.field__label {
        transform: scale(0.7) translate(0, -150%);
    }
}

.footer__image img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    vertical-align: bottom;
}

.footer__localization-form .localization__selector:nth-last-of-type(2) {
    margin-block-end: 10px;
    margin-inline-end: 15px;
}

.footer__localization-form form {
    display: contents;
}

@media (max-width: 959px) {
    .footer__localization-form .localization__selector {
        width: 100%;
    }

    .footer__localization-form .localization__selector:nth-last-of-type(2) {
        margin-block-end: 6px;
        margin-inline-end: 0;
    }
}

.footer__payment-icons>svg {
    width: auto;
    height: 22px;
}

.footer__social-media-title {
    padding-block-end: 20px;
    font-weight: bold;
}

.footer__social-media-content {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__social-media-content svg,
.footer__social-media-content img,
.footer__social-media-content .social-media-icon {
    width: 24px;
    height: 24px;
}

.footer__social-media-content img {
    border-radius: 100%;
}

@media (min-width: 960px) {
    .footer__social-media--small .footer__social-media-content {
        gap: 8px;
    }

    .footer__social-media--small .footer__social-media-content svg,
    .footer__social-media--small .footer__social-media-content img,
    .footer__social-media--small .footer__social-media-content .social-media-icon {
        width: 28px;
        height: 28px;
    }

    .footer__social-media--middle .footer__social-media-content {
        gap: 16px;
    }

    .footer__social-media--middle .footer__social-media-content svg,
    .footer__social-media--middle .footer__social-media-content img,
    .footer__social-media--middle .footer__social-media-content .social-media-icon {
        width: 32px;
        height: 32px;
    }

    .footer__social-media--large .footer__social-media-content {
        gap: 16px;
    }

    .footer__social-media--large .footer__social-media-content svg,
    .footer__social-media--large .footer__social-media-content img,
    .footer__social-media--large .footer__social-media-content .social-media-icon {
        width: 64px;
        height: 64px;
    }
}

.footer__copyright-menu a {
    word-break: break-all;
}

.footer__copyright-menu span {
    padding: 0 10px;
}

.footer__copyright-menu span:last-child {
    display: none;
}

.footer {
    background-color: rgb(var(--color-background));
}

/* Footer: one centered link list and a prominent brand story. */
.footer__group:first-child>.footer__menu[open]>.footer__menu-title {
    display: none
}

.footer__group:first-child>.footer__menu[open] .footer__menu-item:first-child {
    padding-block-start: 0
}

.footer__group:first-child>.footer__custom-text .footer__custom-text-title {
    font-size: clamp(30px, 2.4vw, 42px);
    line-height: 1.12;
    font-weight: 650;
    padding-block-end: 18px
}

.footer__group:first-child>.footer__custom-text .footer__custom-text-content {
    font-size: 16px;
    line-height: 1.55;
    max-width: 440px
}
/* Compact footer: preserve native content, forms and localization controls. */
.footer--compact .footer__inner{padding-block:24px!important;gap:18px!important}
.footer--compact .footer__inner>.footer__group{padding-block:0!important;min-width:0}
.footer--compact .footer__inner>.footer__group:first-child{align-items:start!important;gap:24px!important}
.footer--compact .footer__menu-item{padding-block-start:6px}
.footer--compact .footer__menu-item a{line-height:1.5}
.footer--compact .footer__inner>.footer__group:first-child>.footer__custom-text .footer__custom-text-title{font-size:30px;padding-block-end:8px}
.footer--compact .footer__inner>.footer__group:first-child>.footer__custom-text .footer__custom-text-content{font-size:14px;line-height:1.5;max-width:360px}
.footer--compact .footer__custom-text-content p{margin-block:0}
.footer--compact .footer__email-subscribe-title{font-size:14px;line-height:1.4;margin-block-end:8px}
.footer--compact .footer__copyright{padding-block:4px!important;gap:6px!important}
.footer--compact .footer__copyright-menu a{display:inline-flex;align-items:center;min-height:32px}
.footer--compact .footer__payment-icons{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
.footer--compact .footer__payment-icons>svg{height:19px}
@media(min-width:960px){
 .footer--compact .footer__inner{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start!important;column-gap:36px!important}
 .footer--compact .footer__inner>.footer__group:first-child,.footer--compact .footer__inner>.footer__group:last-child{grid-column:1/-1}
 .footer--compact .footer__menu-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
 .footer--compact .footer__menu-item{padding-block:4px}
 .footer--compact .footer__menu-item a{font-size:13px}
 .footer--compact .footer__inner>.footer__group:nth-child(3){flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important}
 .footer--compact .footer__inner>.footer__group:nth-child(2) .footer__email-subscribe{max-width:540px}
 .footer--compact .footer__localization-form .localization__selector:nth-last-of-type(2){margin-block-end:0;margin-inline-end:8px}
 .footer--compact .footer__inner>.footer__group:nth-child(3) .footer__payment-icons{justify-content:flex-end}
}
@media(max-width:959px){
 .footer--compact .footer__inner{padding-block:20px!important;gap:16px!important}
 .footer--compact .footer__inner>.footer__group:first-child{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px!important}
 .footer--compact .footer__inner>.footer__group:first-child>.footer__logo-list{grid-column:1;grid-row:1;width:100%!important}
 .footer--compact .footer__inner>.footer__group:first-child>.footer__custom-text{grid-column:2;grid-row:1;width:100%!important}
 .footer--compact .footer__inner>.footer__group:first-child>.footer__menu{grid-column:1/-1;width:100%!important}
 .footer--compact .footer__menu[open] .footer__menu-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:0;gap:0 14px}
 .footer--compact .footer__menu-item{padding:0}
 .footer--compact .footer__menu-item a{display:flex;align-items:center;min-height:44px;font-size:12px}
 .footer--compact .footer__inner>.footer__group:first-child>.footer__custom-text .footer__custom-text-title{font-size:25px;padding-block:0 6px}
 .footer--compact .footer__inner>.footer__group:first-child>.footer__custom-text .footer__custom-text-content{font-size:12px;line-height:1.5}
 .footer--compact .footer__localization-form{display:flex;flex-wrap:wrap;gap:8px;width:100%}
 .footer--compact .footer__localization-form .localization__selector{width:auto;flex:1 1 130px;min-height:44px;margin:0!important}
 .footer--compact .footer__inner>.footer__group:nth-child(3){gap:12px!important}
 .footer--compact .footer__payment-icons{justify-content:center}
}

/* Let the original native controls use their full compact grid column. */
.footer--compact .footer__email-subscribe{width:100%!important;max-width:none!important;min-width:0}
.footer--compact .block-subscription{width:100%!important;min-width:0}
.footer--compact .block-subscription__inline-form{align-items:stretch;width:100%;min-width:0}
.footer--compact .block-subscription__inline-form>.field{flex:1 1 auto;min-width:0}
.footer--compact .block-subscription__inline-form>.button{flex:0 0 auto;height:48px;min-height:48px;white-space:nowrap}
.footer--compact .footer__menu-content:has(.footer__icon-text-item){display:block}
.footer--compact .footer__icon-text-item{padding-block:6px!important;gap:9px!important}
.footer--compact .footer__localization-form{width:100%!important;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.footer--compact .footer__payment-icons{width:100%!important}
@media(min-width:960px){.footer--compact .footer__copyright{flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:18px!important}.footer--compact .footer__copyright>*{width:auto!important}}
@media(max-width:959px){.footer--compact .footer__inner>.footer__group:first-child>.footer__menu:has(.footer__icon-text-item){grid-column:1;grid-row:1}.footer--compact .footer__menu-title{padding-top:0}.footer--compact .footer__icon-text-item{font-size:12px}.footer--compact .footer__localization-form{justify-content:center}}
