body.storefront-login-page {
    --auth-primary: #2f6b45;
    --auth-primary-dark: #245a3b;
    --auth-primary-darker: #1d4e34;
    --auth-primary-shadow: rgba(47, 107, 69, .28);
    --auth-primary-focus-ring: rgba(47, 107, 69, .18);
    --auth-border: #e4e9e2;
    --auth-card-bg: #fff;
    --auth-text: #26372e;
    --auth-text-muted: #68756c;
    --auth-input-bg: #fff;
    --auth-page-bg-start: #f7f8f4;
    --auth-page-bg-end: #e9efe6;
}

:root[data-theme="dark"] body.storefront-login-page {
    --auth-primary: #75aa83;
    --auth-primary-dark: #4e8962;
    --auth-primary-darker: #9dc5a5;
    --auth-primary-shadow: rgba(117, 170, 131, .28);
    --auth-primary-focus-ring: rgba(117, 170, 131, .2);
    --auth-border: #3a463d;
    --auth-card-bg: #232a25;
    --auth-text: #e9efe9;
    --auth-text-muted: #b1beb4;
    --auth-input-bg: #2c332e;
    --auth-page-bg-start: #17221b;
    --auth-page-bg-end: #1e2b23;
}

.storefront-login-page {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    padding: 24px;
}

.store-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    width: min(1440px, 100%);
    min-height: min(820px, calc(100vh - 48px));
    overflow: hidden;
    border-radius: 28px;
    background: var(--auth-card-bg);
    box-shadow: 0 24px 80px rgba(26, 54, 41, .16);
}

.store-login-story {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    padding: clamp(32px, 5vw, 72px);
    background-color: #1d4e34;
    background-image:
        linear-gradient(90deg, rgba(23, 51, 36, .9) 0%, rgba(23, 51, 36, .82) 48%, rgba(23, 51, 36, .52) 100%),
        url("../../../img/banner-comidas-rapidas.jpg");
    background-position: center, 68% center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.store-login-story::before,
.store-login-story::after {
    position: absolute;
    border: 1px solid rgba(211, 236, 139, .14);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.store-login-story::before {
    top: 16%;
    right: -260px;
    width: 650px;
    height: 650px;
}

.store-login-story::after {
    top: 23%;
    right: -195px;
    width: 520px;
    height: 520px;
}

.store-login-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    align-self: flex-start;
}

.store-login-brand img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
}

.store-login-brand strong,
.store-login-brand small {
    display: block;
}

.store-login-brand strong {
    font-size: 17px;
    letter-spacing: -.03em;
}

.store-login-brand small {
    margin-top: 4px;
    color: #c6d9bb;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
}

.store-login-message {
    position: relative;
    z-index: 1;
    max-width: 570px;
    margin: auto 0;
    padding: 65px 0 70px;
}

.store-login-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 17px;
    color: #d3ec8b;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .15em;
}

.store-login-eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d3ec8b;
    box-shadow: 0 0 0 5px rgba(211, 236, 139, .13);
}

.store-login-message h1 {
    margin: 0;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 750;
    letter-spacing: -.06em;
    line-height: 1.06;
}

.store-login-message h1 em {
    color: #d3ec8b;
    font-style: normal;
}

.store-login-message > p:not(.store-login-eyebrow) {
    max-width: 440px;
    margin: 21px 0 0;
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
    line-height: 1.75;
}

.store-login-benefits {
    display: grid;
    gap: 14px;
    margin-top: 31px;
    color: rgba(255, 255, 255, .88);
    font-size: 12px;
    font-weight: 600;
}

.store-login-benefits span {
    display: flex;
    align-items: center;
    gap: 11px;
}

.store-login-benefits i {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 9px;
    background: rgba(211, 236, 139, .13);
    color: #d3ec8b;
}

.store-login-decoration {
    position: absolute;
    right: 7%;
    bottom: 11%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 210px;
    height: 210px;
    opacity: .8;
}

.store-login-orbit {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(211, 236, 139, .38);
    border-radius: 50%;
    box-shadow: 0 0 0 17px rgba(211, 236, 139, .05);
}

.store-login-basket {
    display: grid;
    place-items: center;
    width: 118px;
    height: 118px;
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 35px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .04));
    color: #d3ec8b;
    font-size: 52px;
    transform: rotate(-8deg);
}

.store-login-leaf {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #f0d7b8;
    color: #8d5b35;
    font-size: 20px;
    transform: rotate(12deg);
}

.store-login-caption {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, .56);
    font-size: 10px;
    letter-spacing: .04em;
}

.store-login-form-wrap {
    display: grid;
    place-items: center;
    padding: clamp(24px, 3vw, 40px);
    background: var(--auth-card-bg);
}

.storefront-login-box {
    width: 100%;
    max-width: 405px;
}

.store-login-card-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 27px;
}

.store-login-card-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #edf4e7;
    color: var(--auth-primary);
}

.store-login-card-brand strong,
.store-login-card-brand small {
    display: block;
}

.store-login-card-brand strong {
    color: var(--auth-text);
    font-size: 15px;
}

.store-login-card-brand small {
    margin-top: 3px;
    color: var(--auth-text-muted);
    font-size: 11px;
}

.storefront-login-box .card {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.storefront-login-box .card-body {
    padding: 0;
}

.storefront-login-box .login-box-msg {
    margin: 0;
    padding: 0;
    color: var(--auth-text);
    font-size: 24px;
    font-weight: 750;
    letter-spacing: -.045em;
    text-align: left;
}

.store-login-intro {
    margin: 7px 0 21px;
    color: var(--auth-text-muted);
    font-size: 12px;
    line-height: 1.6;
}

.store-google-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 48px;
    padding: 10px 15px;
    border: 1px solid #dfe5df;
    border-radius: 10px;
    background: var(--auth-card-bg);
    color: var(--auth-text);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

a.store-google-button:hover {
    transform: translateY(-1px);
    border-color: #b8cabb;
    background: #f9fbf7;
    color: var(--auth-text);
    text-decoration: none;
}

.store-google-button i {
    color: #4285f4;
    font-size: 17px;
}

.store-google-button:disabled {
    opacity: .67;
    cursor: not-allowed;
}

.store-google-help {
    margin: 7px 0 0;
    color: var(--auth-text-muted);
    font-size: 10px;
    text-align: center;
}

.store-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 21px 0;
    color: var(--auth-text-muted);
    font-size: 10px;
    white-space: nowrap;
}

.store-login-divider::before,
.store-login-divider::after {
    height: 1px;
    flex: 1;
    background: var(--auth-border);
    content: "";
}

.storefront-login-box .input-group {
    margin-bottom: 13px;
}

.storefront-login-box .form-control {
    min-height: 47px;
    font-size: 12px;
}

.storefront-login-box .form-group > label {
    margin-bottom: 5px;
    color: var(--auth-text);
    font-size: 11px;
    font-weight: 650;
}

.storefront-login-box textarea.form-control {
    height: auto;
    min-height: 68px;
    resize: vertical;
}

.store-verification-code {
    font-size: 25px !important;
    font-weight: 750;
    letter-spacing: .3em;
    text-align: center;
}

.store-resend-code-form {
    margin-top: 8px;
}

.store-resend-code-form .btn-link {
    color: var(--auth-primary);
    font-size: 11px;
}

.storefront-login-box .input-group-text {
    border-left: 0;
}

.storefront-login-box .icheck-primary {
    margin: 2px 0 16px;
    color: var(--auth-text-muted);
    font-size: 11px;
}

.storefront-login-box .btn-custom {
    min-height: 47px;
    border-radius: 10px;
    background: #2f6b45;
    font-size: 11px;
    letter-spacing: .02em;
    text-transform: none;
}

.storefront-login-box .btn-custom:hover:not(:disabled) {
    background: #173d31;
}

.storefront-login-box a.text-muted {
    display: inline-block;
    margin-top: 4px;
    color: var(--auth-text-muted) !important;
}

.store-login-registration {
    margin: 20px 0 0;
    color: var(--auth-text-muted);
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
}

.store-login-home-link {
    margin: 0 0 16px;
}

.store-login-registration a {
    color: var(--auth-primary);
    font-weight: 700;
}

.store-login-registration a:hover {
    color: var(--auth-primary-darker);
}

.store-login-help {
    margin: 22px 0 0;
    color: var(--auth-text-muted);
    font-size: 10px;
    text-align: center;
}

.store-login-help i {
    margin-right: 4px;
    color: var(--auth-primary);
}

:root[data-theme="dark"] .store-google-button {
    border-color: #3a3f47;
}

:root[data-theme="dark"] a.store-google-button:hover {
    background: #2b3037;
}

:root[data-theme="dark"] .store-login-card-icon {
    background: #2d443a;
    color: #c3e48d;
}

@media (max-width: 950px) {
    .store-login-shell {
        grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr);
    }

    .store-login-decoration {
        right: 0;
        bottom: 5%;
        transform: scale(.8);
    }
}

@media (max-width: 700px) {
    .storefront-login-page {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .store-login-shell {
        display: block;
        min-height: 0;
        border-radius: 20px;
    }

    .store-login-story {
        min-height: 315px;
        padding: 25px 24px;
    }

    .store-login-brand img {
        width: 40px;
        height: 40px;
    }

    .store-login-message {
        max-width: 80%;
        margin: 35px 0 25px;
        padding: 0;
    }

    .store-login-message h1 {
        font-size: clamp(30px, 8vw, 42px);
    }

    .store-login-message > p:not(.store-login-eyebrow) {
        margin-top: 12px;
        font-size: 11px;
    }

    .store-login-benefits {
        display: none;
    }

    .store-login-decoration {
        right: -59px;
        bottom: -48px;
        transform: scale(.67);
    }

    .store-login-caption {
        display: none;
    }

    .store-login-form-wrap {
        padding: 30px 24px 34px;
    }

    .store-login-card-brand {
        margin-bottom: 20px;
    }

    .theme-toggle-btn {
        position: absolute;
        top: 18px;
        right: 18px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 390px) {
    .store-login-story {
        min-height: 290px;
        padding: 22px 19px;
    }

    .store-login-message {
        max-width: 100%;
        margin-top: 30px;
    }

    .store-login-message h1 {
        font-size: 31px;
    }

    .store-login-decoration {
        right: -108px;
        opacity: .55;
    }

    .store-login-form-wrap {
        padding-right: 19px;
        padding-left: 19px;
    }
}

.store-login-shell {
    box-shadow: 0 24px 80px rgba(29, 78, 52, .16);
}

.store-login-story::before,
.store-login-story::after {
    border-color: rgba(242, 191, 87, .18);
}

.store-login-brand small {
    color: #f7dfaa;
}

.store-login-eyebrow,
.store-login-message h1 em,
.store-login-basket {
    color: #f2bf57;
}

.store-login-eyebrow span {
    background: #f2bf57;
    box-shadow: 0 0 0 5px rgba(242, 191, 87, .16);
}

.store-login-benefits i {
    background: rgba(242, 191, 87, .15);
    color: #f2bf57;
}

.store-login-orbit {
    border-color: rgba(242, 191, 87, .38);
    box-shadow: 0 0 0 17px rgba(242, 191, 87, .05);
}

.store-login-card-icon {
    background: #fff2d4;
    color: #1d4e34;
}

.storefront-login-box .btn-custom {
    background: #2f6b45;
}

.storefront-login-box .btn-custom:hover:not(:disabled) {
    background: #1d4e34;
}

.store-login-help i {
    color: var(--auth-primary);
}

:root[data-theme="dark"] .store-login-card-icon {
    background: #2d443a;
    color: #f2bf57;
}

.store-login-brand strong,
.store-login-card-brand strong {
    font-size: 18px;
}

.store-login-brand small,
.store-login-card-brand small {
    font-size: 12px;
}

.store-login-message h1 {
    font-size: 24px;
}

.store-login-message > p:not(.store-login-eyebrow),
.store-login-benefits,
.storefront-login-box .login-box-msg,
.store-login-intro,
.store-google-button,
.store-google-help,
.store-login-divider,
.storefront-login-box .form-control,
.storefront-login-box .icheck-primary,
.storefront-login-box .btn-custom,
.store-login-registration,
.store-login-help {
    font-size: 16px;
}

.storefront-login-box .login-box-msg {
    font-size: 24px;
}
