/* ============================================================
   HEADER ACCOUNT BUTTON
   ============================================================ */

button.icon-button {
    border: 0;
    background: transparent;
}

.promo-login-link {
    padding: 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}


/* ============================================================
   AUTH MODAL
   ============================================================ */

html.auth-modal-open,
body.auth-modal-open {
    overflow: hidden !important;
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    justify-content: flex-start;
    visibility: hidden;
    pointer-events: none;
}

.auth-modal.is-open {
    visibility: visible;
    pointer-events: auto;
}

.auth-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, .48);
    opacity: 0;
    cursor: default;
    transition: opacity .28s ease;
}

.auth-modal.is-open .auth-modal__backdrop {
    opacity: 1;
}

.auth-modal__panel {
    position: relative;
    z-index: 2;
    width: min(680px, calc(100% - 28px));
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    color: #222;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    box-shadow: -18px 0 50px rgba(0, 0, 0, .11);
    transition: transform .36s cubic-bezier(.22,.61,.36,1);
}

.auth-modal.is-open .auth-modal__panel {
    transform: translateX(0);
}

.auth-modal__header {
    min-height: 96px;
    flex: 0 0 auto;
    padding: 0 38px;
    border-bottom: 1px solid #e6e3dd;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-modal__heading {
    display: flex;
    align-items: center;
    gap: 17px;
}

.auth-modal__heading > i {
    font-size: 18px;
}

.auth-modal__heading strong {
    font: 500 15px/1.2 Arial, sans-serif;
    letter-spacing: .22em;
}

.auth-modal__divider {
    width: 1px;
    height: 25px;
    background: #d8d4ce;
}

.auth-modal__close {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #222;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    cursor: pointer;
}

.auth-modal__content {
    width: 100%;
    flex: 1;
    padding: 58px 40px 52px;
}

.auth-modal__step {
    display: none;
}

.auth-modal__step.is-active {
    display: block;
    animation: authModalFade .24s ease;
}

@keyframes authModalFade {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.auth-modal__intro {
    margin-bottom: 37px;
}

.auth-modal__eyebrow {
    display: block;
    margin-bottom: 15px;
    color: #8b867e;
    direction: ltr;
    text-align: right;
    font: 500 8px/1 Arial, sans-serif;
    letter-spacing: .3em;
}

.auth-modal__intro h2,
.auth-modal__success h2 {
    margin: 0 0 15px;
    font-size: clamp(32px, 4vw, 45px);
    line-height: 1.35;
    font-weight: 400;
}

.auth-modal__intro p {
    max-width: 510px;
    margin: 0;
    color: #77726b;
    font-size: 12px;
    line-height: 2;
}

.auth-modal__intro strong {
    color: #222;
    font-weight: 500;
}

.auth-modal__field {
    margin-bottom: 24px;
}

.auth-modal__field label {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
}

.auth-modal__field input {
    width: 100%;
    height: 55px;
    padding: 0 16px;
    border: 1px solid #292929;
    border-radius: 0;
    outline: none;
    background: #fff;
    color: #222;
    text-align: left;
    font-size: 15px;
}

.auth-modal__field input:focus {
    border-color: #000;
    box-shadow: inset 0 0 0 1px #000;
}

.auth-modal__error {
    min-height: 18px;
    display: block;
    margin-top: 7px;
    color: #9b3535;
    font-size: 10px;
}

.auth-modal__error--center {
    text-align: center;
}

.auth-modal__submit {
    position: relative;
    width: 100%;
    height: 54px;
    padding: 0 22px;
    border: 0;
    border-radius: 0;
    background: #262624;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    transition: background .2s ease, opacity .2s ease;
}

.auth-modal__submit:hover {
    background: #000;
}

.auth-modal__submit:disabled {
    opacity: .62;
    cursor: default;
}

.auth-modal__spinner {
    display: none;
    width: 18px;
    height: 18px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: authModalSpin .7s linear infinite;
}

.auth-modal__submit.is-loading .auth-modal__submit-text {
    display: none;
}

.auth-modal__submit.is-loading .auth-modal__spinner {
    display: block;
}

@keyframes authModalSpin {
    to {
        transform: rotate(360deg);
    }
}

.auth-modal__separator {
    height: 1px;
    margin: 52px 0;
    background: #dedbd5;
}

.auth-modal__register-note > span {
    display: block;
    margin-bottom: 18px;
    direction: ltr;
    text-align: right;
    font: 500 12px/1 Arial, sans-serif;
    letter-spacing: .28em;
}

.auth-modal__register-note h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 500;
}

.auth-modal__register-note p {
    margin: 0;
    color: #77726b;
    font-size: 12px;
    line-height: 2;
}

.auth-modal__back {
    margin-bottom: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #77726b;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-size: 10px;
}

.auth-modal__otp {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
}

.auth-otp-input {
    width: 100%;
    min-width: 0;
    height: 62px;
    padding: 0;
    border: 1px solid #aaa69e;
    border-radius: 0;
    outline: 0;
    background: #fff;
    color: #222;
    text-align: center;
    font-size: 22px;
}

.auth-otp-input:focus {
    border-color: #111;
    box-shadow: inset 0 0 0 1px #111;
}

.auth-modal__resend {
    min-height: 48px;
    margin: 5px 0 20px;
    color: #8a857d;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 10px;
}

.auth-modal__resend strong {
    color: #333;
    font-weight: 400;
}

.auth-modal__resend button {
    padding: 0 0 4px;
    border: 0;
    border-bottom: 1px solid #222;
    background: transparent;
    color: #222;
    font-size: 10px;
    cursor: pointer;
}

.auth-modal__resend button:disabled {
    color: #aaa;
    border-color: transparent;
    cursor: default;
}

.auth-modal__success {
    padding: 75px 0;
    text-align: center;
}

.auth-modal__success-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 30px;
    border: 1px solid #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.auth-modal__success p {
    margin: 0;
    color: #77726b;
    font-size: 12px;
}

.auth-modal__footer {
    flex: 0 0 auto;
    padding: 26px 30px 30px;
    border-top: 1px solid #ece9e4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.auth-modal__footer > span {
    direction: ltr;
    font: 500 11px/1 Arial, sans-serif;
    letter-spacing: .34em;
}

.auth-modal__footer small {
    direction: ltr;
    color: #aaa;
    font: 400 7px/1 Arial, sans-serif;
    letter-spacing: .38em;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767.98px) {

    .auth-modal__panel {
        width: 100%;
        max-width: none;
        height: 100dvh;
        box-shadow: none;
    }

    .auth-modal__header {
        min-height: 76px;
        padding: 0 18px;
    }

    .auth-modal__heading {
        gap: 11px;
    }

    .auth-modal__heading strong {
        font-size: 12px;
        letter-spacing: .13em;
    }

    .auth-modal__divider {
        height: 21px;
    }

    .auth-modal__content {
        padding: 38px 18px 30px;
    }

    .auth-modal__intro {
        margin-bottom: 30px;
    }

    .auth-modal__intro h2,
    .auth-modal__success h2 {
        font-size: 32px;
    }

    .auth-modal__field input {
        height: 53px;
    }

    .auth-modal__submit {
        height: 53px;
    }

    .auth-modal__separator {
        margin: 42px 0;
    }

    .auth-modal__otp {
        gap: 5px;
    }

    .auth-otp-input {
        height: 54px;
        font-size: 19px;
    }

    .auth-modal__footer {
        padding: 22px 18px;
    }
}

@media (max-width: 380px) {

    .auth-modal__content {
        padding-right: 14px;
        padding-left: 14px;
    }

    .auth-modal__otp {
        gap: 4px;
    }

    .auth-otp-input {
        height: 49px;
        font-size: 17px;
    }
}


/* ============================================================
   COMPLETE PROFILE
   ============================================================ */

.auth-modal__profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.auth-modal__field select {
    width: 100%;
    height: 55px;
    padding: 0 16px;
    border: 1px solid #292929;
    border-radius: 0;
    outline: none;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.auth-modal__field select:focus {
    border-color: #000;
    box-shadow: inset 0 0 0 1px #000;
}

.auth-modal__field input[type="date"] {
    direction: ltr;
}

.auth-modal__skip {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    border: 0;
    background: transparent;
    color: #777;
    cursor: pointer;
    font-size: 10px;
    transition: color .2s ease;
}

.auth-modal__skip:hover {
    color: #111;
}

@media (max-width: 600px) {

    .auth-modal__profile-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
