.localization-form {
    display: flex;
    flex-direction: column;
    flex: auto 1 0;
    padding: 1rem;
    margin: 0 auto
}

    .localization-form:only-child {
        display: inline-flex;
        flex-wrap: wrap;
        flex: initial;
        padding: 1rem 0
    }

        .localization-form:only-child .button, .localization-form:only-child .localization-form__select {
            margin: 1rem 1rem .5rem;
            flex-grow: 1
        }

.header__icons--localization .localization-form__select > span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: .5rem
}

@media screen and (min-width: 750px) {
    .localization-form {
        padding: 1rem 2rem 1rem 0
    }

        .localization-form:first-of-type {
            padding-left: 0
        }

        .localization-form:only-child {
            justify-content: start;
            width: auto;
            margin: 0 1rem 0 0
        }

            .localization-form:only-child .button, .localization-form:only-child .localization-form__select {
                margin: 1rem 0
            }
}

@media screen and (max-width: 989px) {
    noscript .localization-form:only-child {
        width: 100%
    }
}

.localization-form .button {
    padding: 1rem
}

.localization-form__currency {
    opacity: 0;
    transition: opacity .15s cubic-bezier(.25,.46,.45,.94);
    white-space: nowrap;
    padding-right: 1.7rem
}

@media screen and (max-width: 749px) {
    .localization-form .button {
        word-break: break-all
    }

    .localization-form__currency {
        opacity: 1
    }
}

.localization-form__select {
    border-radius: var(--inputs-radius-outset);
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    text-align: left;
    min-height: calc(4rem + var(--inputs-border-width) * 2);
    min-width: calc(7rem + var(--inputs-border-width) * 2)
}

.disclosure__button.localization-form__select {
    padding: calc(2rem + var(--inputs-border-width));
    background: rgb(var(--color-background))
}

noscript .localization-form__select {
    padding-left: 0rem
}

@media screen and (min-width: 750px) {
    noscript .localization-form__select {
        min-width: 20rem
    }
}

.localization-form__select .icon-caret {
    position: absolute;
    content: "";
    height: .6rem;
    right: calc(var(--inputs-border-width) + 1.5rem);
    top: calc(50% - .2rem)
}

.localization-selector.link {
    text-decoration: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: rgb(var(--color-foreground));
    width: 100%;
    padding-right: 4rem;
    padding-bottom: 1.5rem
}

noscript .localization-selector.link {
    padding-top: 1.5rem;
    padding-left: 1.5rem
}

.disclosure .localization-form__select {
    padding-top: 1.5rem
}

.localization-selector option {
    color: #000
}

.localization-selector + .disclosure__list-wrapper {
    opacity: 1;
    animation: animateLocalization var(--duration-default) ease
}

.disclosure {
    position: relative
}

.disclosure__button {
    align-items: center;
    cursor: pointer;
    display: flex;
    height: 4rem;
    padding: 0 1.5rem;
    font-size: 1.3rem;
    background-color: transparent
}

.disclosure__list-wrapper {
    border-width: var(--popup-border-width);
    border-style: solid;
    border-color: rgba(var(--color-outline),var(--popup-border-opacity));
    overflow: hidden;
    position: absolute;
    bottom: 100%;
    transform: translateY(-1rem);
    z-index: 5;
    background-color: rgb(var(--color-background));
    border-radius: var(--popup-corner-radius);
    box-shadow: var(--popup-shadow-horizontal-offset) var(--popup-shadow-vertical-offset) var(--popup-shadow-blur-radius) rgba(var(--color-shadow),var(--popup-shadow-opacity));
    max-height: 27.5rem
}

    .disclosure__list-wrapper[hidden=true] {
        box-shadow: unset
    }

.disclosure__list {
    position: relative;
    overflow-y: auto;
    font-size: 1.4rem;
    padding-bottom: .5rem;
    padding-top: .5rem;
    scroll-padding: .5rem 0;
    max-height: 20.5rem;
    max-width: 25.5rem;
    min-width: 12rem;
    width: max-content
}

.country-selector__list {
    padding-bottom: .95rem;
    padding-top: 0
}

.country-selector__list--with-multiple-currencies {
    width: 25.5rem
}

.country-selector__close-button {
    display: none
}

.country-filter {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: .5rem;
    padding: 1.5rem 1.5rem .6rem;
    position: sticky;
    top: -.02rem;
    background-color: rgb(var(--color-background));
    z-index: 6
}

.country-filter__reset-button, .country-filter__search-icon {
    right: calc(var(--inputs-border-width));
    top: var(--inputs-border-width)
}

    .country-filter__reset-button:not(:focus-visible):after, .country-filter__reset-button:not(:focus):after {
        display: block;
        height: calc(100% - 1.8rem);
        content: "";
        position: absolute;
        right: 0
    }

    .country-filter__reset-button:focus, .country-filter__reset-button:focus-visible {
        background-color: rgb(var(--color-background));
        z-index: 4
    }

    .country-filter__reset-button:not(:focus-visible):not(.focused) {
        box-shadow: inherit;
        background-color: inherit
    }

    .country-filter__reset-button:hover .icon {
        transform: scale(1.07)
    }

    .country-filter__reset-button .icon.icon-close, .country-filter__search-icon .icon {
        height: 1.8rem;
        width: 1.8rem;
        stroke-width: .1rem
    }

.country-filter__search-icon {
    transition: opacity var(--duration-short) ease,visibility var(--duration-short) ease;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    cursor: text
}

.country-filter__search-icon--hidden {
    opacity: 0;
    visibility: hidden
}

.country-filter__input + label.field__label, .country-filter__input:focus + label.field__label {
    left: 2.4rem
}

@media screen and (max-width: 749px) {
    .disclosure__list-wrapper.country-selector:not([hidden]) + .country-selector__overlay:empty {
        display: block
    }

    .country-selector__overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(var(--color-foreground),.5);
        z-index: 3;
        animation: animateLocalization var(--duration-default) ease
    }

    .disclosure__list-wrapper.country-selector {
        position: fixed;
        bottom: -1rem;
        left: 0;
        width: 100%;
        height: 80%;
        max-height: 80vh;
        border-radius: 0;
        border: none;
        box-shadow: none;
        z-index: 4
    }

    .disclosure__list.country-selector__list {
        max-height: 85%;
        min-width: 100%;
        margin-bottom: 0;
        z-index: 5
    }

    .country-selector__close-button.link {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0rem;
        background-color: transparent;
        height: 4.4rem;
        width: 4.4rem
    }

    .country-selector__close-button .icon {
        width: 2rem;
        height: 2rem
    }

    .country-filter {
        padding: 1.5rem 2rem .6rem 1.5rem
    }
}

@media screen and (min-width: 750px) {
    .country-filter--no-padding {
        padding: 0
    }
}

.countries {
    padding-top: .6rem
}

.popular-countries {
    border-bottom: 1px solid rgba(var(--color-foreground),.2);
    padding-bottom: .6rem;
    padding-top: .6rem
}

.disclosure__item {
    position: relative
}

.disclosure__link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .5rem;
    padding: .9rem 1.5rem;
    text-decoration: none;
    line-height: 1.8;
    color: rgba(var(--color-foreground),.75);
    word-break: break-word
}

    .disclosure__link:hover {
        color: rgb(var(--color-foreground))
    }

    .disclosure__link .icon-checkmark {
        width: 1rem;
        margin-right: .2rem
    }

    .disclosure__link:hover .localization-form__currency, .disclosure__link:focus-visible .localization-form__currency, .disclosure__link:focus .localization-form__currency {
        display: inline-block;
        opacity: 1
    }

.disclosure__button[aria-expanded=true] .icon-caret {
    transform: rotate(180deg)
}

.header-localization .localization-form:only-child {
    margin: 0;
    padding: 0
}

.header-localization .localization-form--lang {
    order: -1
}

.header-localization .disclosure .localization-form__select {
    font-size: 1.6rem;
    height: auto;
    min-height: initial;
    background: transparent
}

    .header-localization .disclosure .localization-form__select:hover {
        color: rgba(var(--color-foreground),.75)
    }

.footer .disclosure__link:hover .localization-form__currency, .header-localization .disclosure__link:hover .localization-form__currency, .header-localization .disclosure__link:hover {
    color: rgb(var(--color-accent))
}

.utility-bar .localization-selector.link:hover, .utility-bar .disclosure__link[aria-current=true], .footer .disclosure__link[aria-current=true], .disclosure__link[aria-current=true] .localization-form__currency, .header-localization .disclosure__link[aria-current=true] {
    text-decoration: underline
}

.header-localization .localization-form__select.link:after, .header-localization .localization-form__select.link:before {
    box-shadow: none
}

.header-localization .localization-form__select.link:focus-visible {
    outline: .2rem solid rgba(var(--color-foreground),.5);
    outline-offset: -.2rem;
    box-shadow: 0 0 .2rem rgba(var(--color-foreground),.3)
}

.desktop-localization-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end
}

    .desktop-localization-wrapper .localization-selector + .disclosure__list-wrapper {
        animation: animateMenuOpen var(--duration-default) ease
    }

    .desktop-localization-wrapper .localization-form:only-child {
        padding: 0
    }

.header-localization:not(.menu-drawer__localization) {
    align-items: center
}

.js .header-localization:not(.menu-drawer__localization) .localization-form__select {
    padding: 0 1.7rem 0 1.2rem;
    width: max-content;
    height: 3.8rem;
    justify-content: center
}

.header-localization:not(.menu-drawer__localization) .localization-form:only-child .localization-form__select {
    margin: 0
}

.header-localization .localization-form--country .disclosure__button span:first-child {
    line-height: 1
}

.header-localization:not(.menu-drawer__localization).localization-form__select > span {
    max-width: 20ch;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

.header-localization:not(.menu-drawer__localization) localization-form:only-child .localization-form__select > span {
    max-width: 26ch
}

.header-localization:not(.menu-drawer__localization) .localization-form__select .icon-caret {
    right: .8rem
}

.header-localization:not(.menu-drawer__localization) .disclosure__list-wrapper {
    bottom: initial;
    top: 100%;
    right: 0;
    transform: translateY(0)
}

@media screen and (min-width: 990px) {
    .menu-drawer__localization {
        display: none
    }
}

.menu-drawer__localization:not(:last-child) {
    margin-bottom: 1rem
}

.menu-drawer__localization localization-form {
    display: block
}

.menu-drawer__localization .localization-form__select {
    background-color: initial;
    margin-top: 0;
    padding: 1rem 3.6rem 1rem 0rem
}

.menu-drawer__localization .localization-form {
    padding: 0
}

    .menu-drawer__localization .localization-form:only-child .localization-form__select {
        margin: 0
    }

.menu-drawer__localization + .list-social {
    margin-top: 1rem
}

.menu-drawer__localization noscript .localization-form__select {
    padding: initial
}

.header-localization .localization-form--country ~ localization-form {
    position: relative
}

    .header-localization .localization-form--country ~ localization-form:after {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: -.2rem;
        height: 1.8rem;
        width: .2rem;
        background-color: rgb(var(--color-foreground))
    }

.header-localization .desktop-localization-wrapper {
    flex-wrap: nowrap
}

.header .disclosure__button .localization-form__currency {
    color: rgba(var(--color-foreground),1);
    transition: all var(--duration-short)
}

.header-localization .localization-form__select:hover .localization-form__currency {
    color: rgba(var(--color-foreground),.75)
}

.localization-form__currency {
    transition: all var(--duration-medium);
    color: rgba(var(--color-foreground),.75);
    opacity: 1
}


.menu-drawer {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 250px;
    height: 100vh;
    background-color: #fff;
    z-index: 1050;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease-in-out;
}

.menu-drawer.open {
    visibility:visible !important;
    top: 100% !important;
    left: 0 !important;
    width: 250px;
    height: 100vh;
    background-color: #fff;
    z-index: 1050;
    transform: translateX(0%) !important;
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .menu-drawer {
        width: 100% !important; /* Full width on mobile */
    }
}
