/* =========================================================
   HOMEDEN CUSTOMER LOGIN
========================================================= */

.customer-login-page {
    --login-heading: #16241f;
    --login-subheading: #3a4a43;
    --login-text: #5c6c65;
    --login-caption: #8a978f;

    --login-primary: #0f6e56;
    --login-primary-dark: #084d3c;
    --login-primary-soft: #eaf3ee;

    --login-accent: #d9733a;
    --login-gold: #c79a52;
    --login-gold-soft: #f4c95d;

    --login-white: #ffffff;
    --login-plaster: #f7f4ee;
    --login-light: var(--login-plaster);
    --login-border: #e6ded0;

    --login-danger: #b84545;
    --login-danger-soft: #fff1f1;

    --login-success: #167052;
    --login-success-soft: #eaf7f1;

    --login-font-display: "Arial, Helvetica, sans-serif";
    --login-font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

    overflow: hidden;
    min-height: 70vh;
    color: var(--login-text);
    font-family: var(--login-font-body);
}

.customer-login-page *,
.customer-login-page *::before,
.customer-login-page *::after {
    box-sizing: border-box;
}

.customer-login-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* =========================================================
   Breadcrumb
========================================================= */

.customer-login-breadcrumb {
    padding: 14px 0;
    border-bottom: 1px solid var(--login-border);
    background: var(--login-white);
}

.customer-login-breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--login-caption);
    font-size: 12px;
    font-weight: 650;
}

.customer-login-breadcrumb a {
    color: var(--login-primary);
}

.customer-login-breadcrumb i {
    font-size: 9px;
}


/* =========================================================
   Page layout
========================================================= */

.customer-login-section {
    position: relative;
    padding: 78px 0 86px;
    background-color: var(--login-plaster);
    overflow: hidden;
}

/*
 * The drafting-grid backdrop lives on this pseudo-element rather
 * than directly on .customer-login-section. A mask-image clips the
 * element it's applied to AND everything painted inside it, and
 * this section contains real content (the hero copy and login
 * card) — masking the section itself would fade that content out
 * at the top/bottom edges along with the grid. A pseudo-element
 * can't have children, so it can carry the mask in isolation.
 */

.customer-login-section::before {
    position: absolute;
    inset: 0;
    z-index: 0;

    content: "";

    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(15, 110, 86, 0.05) 0 1px,
            transparent 1px 56px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(15, 110, 86, 0.05) 0 1px,
            transparent 1px 56px
        );

    -webkit-mask-image: linear-gradient(180deg, transparent, black 90px, black calc(100% - 90px), transparent);
    mask-image: linear-gradient(180deg, transparent, black 90px, black calc(100% - 90px), transparent);

    pointer-events: none;
}

.customer-login-swatchrail {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;

    width: 10px;
    height: 100%;

    display: flex;
    flex-direction: column;
}

.customer-login-swatchrail span {
    flex: 1 1 20%;
    transform: scaleY(0);
    transform-origin: top;
    animation: hd-swatch-reveal 520ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.customer-login-swatchrail span:nth-child(1) { background: var(--login-primary-dark); animation-delay: 40ms; }
.customer-login-swatchrail span:nth-child(2) { background: var(--login-primary); animation-delay: 110ms; }
.customer-login-swatchrail span:nth-child(3) { background: var(--login-gold); animation-delay: 180ms; }
.customer-login-swatchrail span:nth-child(4) { background: var(--login-accent); animation-delay: 250ms; }
.customer-login-swatchrail span:nth-child(5) { background: var(--login-plaster); border-top: 1px solid var(--login-border); animation-delay: 320ms; }

@keyframes hd-swatch-reveal {
    to { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
    .customer-login-swatchrail span {
        transform: scaleY(1);
        animation: none;
    }
}

@media (max-width: 800px) {
    .customer-login-swatchrail {
        display: none;
    }
}

.customer-login-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(390px, 470px);
    align-items: center;
    gap: 70px;
}


/* =========================================================
   Introductory content
========================================================= */

.customer-login-intro {
    max-width: 620px;

    animation: hd-login-rise 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.customer-login-card {
    animation: hd-login-rise 620ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

@keyframes hd-login-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .customer-login-intro,
    .customer-login-card {
        animation: none;
    }
}

.customer-login-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--login-primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.customer-login-eyebrow::before {
    width: 27px;
    height: 2px;
    background: var(--login-accent);
    content: "";
}

.customer-login-intro > h1 {
    margin: 16px 0;
    color: var(--login-heading);
    font-family: var(--login-font-display);
    font-size: clamp(38px, 4.6vw, 60px);
    font-weight: 560;
    font-optical-sizing: auto;
    line-height: 1.08;
    letter-spacing: -0.01em;
}

.customer-login-intro > p {
    max-width: 580px;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
}

.customer-login-benefits {
    display: grid;
    gap: 13px;
    margin-top: 32px;
}

.customer-login-benefits article {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 560px;
    padding: 17px;
    border: 1px solid var(--login-border);
    border-radius: 13px;
    background: rgb(255 255 255 / 75%);
    backdrop-filter: blur(8px);
}

.customer-login-benefits article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: var(--login-primary-soft);
    color: var(--login-primary);
    font-size: 18px;
    flex: 0 0 auto;
}

.customer-login-benefits h2 {
    margin: 0 0 5px;
    color: var(--login-heading);
    font-size: 15px;
    font-weight: 800;
}

.customer-login-benefits p {
    margin: 0;
    font-size: 12px;
    line-height: 1.65;
}

.customer-login-help {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 560px;
    margin-top: 22px;
    padding: 14px 16px;
    border-left: 3px solid var(--login-accent);
    border-radius: 0 10px 10px 0;
    background: #fff5ef;
}

.customer-login-help > i {
    margin-top: 2px;
    color: var(--login-accent);
    flex: 0 0 auto;
}

.customer-login-help p {
    margin: 0;
    color: var(--login-subheading);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.65;
}


/* =========================================================
   Login card
========================================================= */

.customer-login-card {
    position: relative;
    overflow: hidden;

    padding: 34px;
    border: 1px solid var(--login-border);
    border-radius: 16px;
    background: var(--login-white);
    box-shadow: 0 26px 65px rgb(28 58 43 / 11%);
}

.customer-login-card::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;

    width: 100%;
    height: 4px;

    content: "";

    background: linear-gradient(90deg, var(--login-primary-dark), var(--login-gold) 50%, var(--login-accent));
}

.customer-login-card-header {
    text-align: center;
}

.customer-login-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: var(--login-primary-soft);
    color: var(--login-primary);
    font-size: 25px;
}

.customer-login-card-label {
    display: block;
    color: var(--login-primary);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.customer-login-card-header h2 {
    margin: 8px 0 9px;
    color: var(--login-heading);
    font-family: var(--login-font-display);
    font-size: 30px;
    font-weight: 560;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.customer-login-card-header p {
    max-width: 350px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   Messages
========================================================= */

.customer-login-messages {
    display: grid;
    gap: 9px;
    margin-top: 22px;
}

.customer-login-message {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 12px 13px;
    border: 1px solid var(--login-border);
    border-radius: 10px;
    background: var(--login-light);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.55;
}

.customer-login-message > i {
    margin-top: 2px;
    flex: 0 0 auto;
}

.customer-login-message.is-error {
    border-color: rgb(184 69 69 / 24%);
    background: var(--login-danger-soft);
    color: var(--login-danger);
}

.customer-login-message.is-success {
    border-color: rgb(22 112 82 / 24%);
    background: var(--login-success-soft);
    color: var(--login-success);
}


/* =========================================================
   Form
========================================================= */

.customer-login-form {
    display: grid;
    gap: 20px;
    margin-top: 27px;
}

.customer-login-field label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.customer-login-field label > span {
    color: var(--login-heading);
    font-size: 12px;
    font-weight: 750;
}

.customer-login-field label > small {
    color: var(--login-caption);
    font-size: 9px;
    font-weight: 650;
}

.customer-login-input {
    position: relative;
}

.customer-login-input > i:first-child {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 2;
    color: var(--login-caption);
    font-size: 15px;
    transform: translateY(-50%);
}

.customer-login-input input {
    width: 100%;
    height: 50px;
    padding: 0 15px 0 43px;
    border: 1px solid var(--login-border);
    border-radius: 10px;
    outline: 0;
    background: var(--login-light);
    color: var(--login-heading);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    transition:
        border-color 150ms ease,
        background 150ms ease,
        box-shadow 150ms ease;
}

.customer-login-input input::placeholder {
    color: #a0a8a4;
    font-weight: 500;
}

.customer-login-input input:focus {
    border-color: var(--login-primary);
    background: var(--login-white);
    box-shadow: 0 0 0 4px rgb(15 110 86 / 8%);
}

.customer-password-input input {
    padding-right: 54px;
}

.customer-password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--login-primary);
    font-size: 16px;
    cursor: pointer;
    transform: translateY(-50%);
}

.customer-password-toggle:hover {
    background: var(--login-primary-soft);
}

.customer-login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 50px;
    padding: 11px 17px;
    border: 1px solid var(--login-primary);
    border-radius: 10px;
    background: var(--login-primary);
    color: var(--login-white);
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition:
        background 150ms ease,
        transform 150ms ease,
        box-shadow 150ms ease;
}

.customer-login-submit:hover {
    background: var(--login-primary-dark);
    box-shadow: 0 13px 28px rgb(15 110 86 / 20%);
    transform: translateY(-2px);
}


/* =========================================================
   Supporting login information
========================================================= */

.customer-login-security {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 21px;
    padding: 13px;
    border-radius: 10px;
    background: var(--login-primary-soft);
}

.customer-login-security > i {
    margin-top: 2px;
    color: var(--login-primary);
    flex: 0 0 auto;
}

.customer-login-security p {
    margin: 0;
    color: var(--login-subheading);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.6;
}

.customer-login-links {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 17px;
}

.customer-login-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid var(--login-border);
    border-radius: 10px;
    color: var(--login-subheading);
    font-size: 10px;
    font-weight: 750;
    text-align: center;
    transition:
        border-color 150ms ease,
        color 150ms ease,
        background 150ms ease;
}

.customer-login-links a:hover {
    border-color: rgb(15 110 86 / 35%);
    background: var(--login-primary-soft);
    color: var(--login-primary);
}

.customer-login-crm-link {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 21px;
    padding-top: 20px;
    border-top: 1px solid var(--login-border);
    font-size: 10px;
}

.customer-login-crm-link span {
    color: var(--login-caption);
}

.customer-login-crm-link a {
    color: var(--login-primary);
    font-weight: 800;
}


/* Screen-reader-only text */

.customer-login-page .visually-hidden {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}


/* =========================================================
   CUSTOMER OTP VERIFICATION
========================================================= */

.customer-otp-section {
    display: flex;
    align-items: center;
    min-height: 72vh;
}

.customer-otp-card {
    position: relative;
    overflow: hidden;

    width: min(100%, 500px);
    margin-inline: auto;
    padding: 36px;
    border: 1px solid var(--login-border);
    border-radius: 16px;
    background: var(--login-white);
    box-shadow: 0 26px 65px rgb(28 58 43 / 11%);
}

.customer-otp-card::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;

    width: 100%;
    height: 4px;

    content: "";

    background: linear-gradient(90deg, var(--login-primary-dark), var(--login-gold) 50%, var(--login-accent));
}

.customer-otp-card
.customer-login-card-header h1 {
    margin: 8px 0 9px;
    color: var(--login-heading);
    font-family: var(--login-font-display);
    font-size: 30px;
    font-weight: 560;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.customer-otp-card
.customer-login-card-header strong {
    color: var(--login-primary);
    font-weight: 800;
}

.customer-otp-code-input {
    width: 100%;
    height: 62px;
    padding: 0 18px;
    border: 1px solid var(--login-border);
    border-radius: 12px;
    outline: 0;
    background: var(--login-light);
    color: var(--login-heading);
    font: inherit;
    font-size: 26px;
    font-weight: 850;
    letter-spacing: 0.32em;
    text-align: center;
}

.customer-otp-code-input:focus {
    border-color: var(--login-primary);
    background: var(--login-white);
    box-shadow: 0 0 0 4px rgb(15 110 86 / 8%);
}

.customer-otp-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 19px;
    border-top: 1px solid var(--login-border);
}

.customer-otp-actions form {
    margin: 0;
}

.customer-otp-actions button,
.customer-otp-actions a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--login-primary);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 520px) {
    .customer-otp-card {
        padding: 27px 20px;
    }

    .customer-otp-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-otp-actions button,
    .customer-otp-actions a {
        justify-content: center;
        width: 100%;
        min-height: 40px;
        border: 1px solid var(--login-border);
        border-radius: 9px;
    }
}






/* =========================================================
   OTP SUBMISSION LOADING STATE
========================================================= */

body.is-otp-processing {
    overflow: hidden;
}


/* ---------------------------------------------------------
   Full-page loading overlay
--------------------------------------------------------- */

.otp-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: grid;
    place-items: center;

    padding: 22px;

    background:
        rgb(8 25 20 / 72%);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.otp-loading-overlay[hidden] {
    display: none;
}


/* ---------------------------------------------------------
   Loading card
--------------------------------------------------------- */

.otp-loading-card {
    width: min(100%, 390px);

    padding: 36px 28px;

    border:
        1px solid
        rgb(255 255 255 / 22%);

    border-radius: 22px;

    background:
        var(
            --login-white,
            #ffffff
        );

    box-shadow:
        0 30px 90px
        rgb(0 0 0 / 28%);

    text-align: center;

    animation:
        otp-loading-card-enter
        180ms
        ease-out;
}

.otp-loading-card h2 {
    margin:
        18px
        0
        8px;

    color:
        var(
            --login-heading,
            #17352c
        );

    font-size: 23px;
    font-weight: 850;
    line-height: 1.2;
}

.otp-loading-card p {
    margin: 0;

    color:
        var(
            --login-text,
            #597069
        );

    font-size: 14px;
    line-height: 1.65;
}

.otp-loading-card small {
    display: block;

    margin-top: 13px;

    color:
        var(
            --login-muted,
            #81918b
        );

    font-size: 11px;
    font-weight: 650;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   Spinner
--------------------------------------------------------- */

.otp-loading-spinner {
    display: inline-block;

    width: 48px;
    height: 48px;

    border:
        4px solid
        rgb(15 110 86 / 18%);

    border-top-color:
        var(
            --login-primary,
            #0f6e56
        );

    border-radius: 50%;

    animation:
        otp-loading-spin
        700ms
        linear
        infinite;
}


/* ---------------------------------------------------------
   Button loading state
--------------------------------------------------------- */

[data-otp-loading-form][aria-busy="true"] {
    cursor: wait;
}

.customer-login-submit.is-loading {
    cursor: wait;
    opacity: 0.88;
}

.customer-login-submit.is-loading i {
    display: none;
}

.customer-login-submit.is-loading::after {
    width: 17px;
    height: 17px;

    border:
        2px solid
        rgb(255 255 255 / 45%);

    border-top-color: #ffffff;
    border-radius: 50%;

    content: "";

    animation:
        otp-loading-spin
        650ms
        linear
        infinite;
}

.customer-otp-actions button.is-loading {
    cursor: wait;
    opacity: 0.7;
}

.customer-otp-actions button.is-loading i {
    animation:
        otp-loading-spin
        650ms
        linear
        infinite;
}


/* ---------------------------------------------------------
   Animations
--------------------------------------------------------- */

@keyframes otp-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes otp-loading-card-enter {
    from {
        opacity: 0;
        transform:
            translateY(8px)
            scale(0.98);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }
}


/* ---------------------------------------------------------
   Reduced-motion accessibility
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .otp-loading-spinner,
    .customer-login-submit.is-loading::after,
    .customer-otp-actions button.is-loading i {
        animation-duration: 1400ms;
    }

    .otp-loading-card {
        animation: none;
    }
}


/* ---------------------------------------------------------
   Mobile
--------------------------------------------------------- */

@media (max-width: 520px) {
    .otp-loading-card {
        padding: 31px 21px;
        border-radius: 18px;
    }

    .otp-loading-card h2 {
        font-size: 21px;
    }

    .otp-loading-spinner {
        width: 43px;
        height: 43px;
    }
}



/* =========================================================
   CUSTOMER REGISTRATION
========================================================= */

.customer-register-card {
    width: min(100%, 1080px);
}

.customer-register-fields {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 19px 16px;
}

.customer-register-field-full {
    grid-column: 1 / -1;
}


/* ---------------------------------------------------------
   Form controls
--------------------------------------------------------- */

.customer-form-group {
    min-width: 0;
}

.customer-form-group label {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    margin-bottom: 8px;

    color: #27443b;

    font-size: 13px;
    font-weight: 750;
    line-height: 1.4;
}

.customer-form-group label span {
    color: #d56338;
}

.customer-form-control {
    min-height: 51px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid
        rgba(15, 110, 86, 0.16);

    border-radius: 11px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.customer-form-control:focus-within {
    background: #ffffff;

    border-color:
        var(--color-brand, #0f6e56);

    box-shadow:
        0 0 0 4px
        rgba(15, 110, 86, 0.09);
}

.customer-form-control > i {
    width: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    color:
        var(--color-brand, #0f6e56);

    font-size: 16px;
}

.customer-form-control input {
    width: 100%;
    min-width: 0;
    min-height: 49px;

    padding: 12px 14px 12px 0;

    background: transparent;

    border: 0;
    outline: 0;

    color: #17352c;

    font-size: 14px;
    font-weight: 550;
}

.customer-form-control input::placeholder {
    color: #94a19d;
    font-weight: 500;
}

.customer-form-group.has-error
.customer-form-control {
    border-color:
        rgba(190, 58, 58, 0.55);

    background:
        rgba(190, 58, 58, 0.025);
}

.customer-field-errors {
    display: grid;
    gap: 3px;

    margin-top: 7px;

    color: #ad3f3f;

    font-size: 11px;
    font-weight: 650;
    line-height: 1.45;
}


/* ---------------------------------------------------------
   Mobile prefix
--------------------------------------------------------- */

.customer-mobile-prefix {
    min-height: 49px;

    display: inline-flex;
    align-items: center;

    flex: 0 0 auto;

    padding: 0 12px;

    background:
        rgba(15, 110, 86, 0.055);

    border-right:
        1px solid
        rgba(15, 110, 86, 0.11);

    color:
        var(--color-brand, #0f6e56);

    font-size: 13px;
    font-weight: 800;
}

.customer-mobile-prefix + input {
    padding-left: 13px;
}


/* ---------------------------------------------------------
   Registration benefits
--------------------------------------------------------- */

.customer-register-benefits {
    display: grid;
    gap: 15px;

    margin-top: 30px;
}

.customer-register-benefits > div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.customer-register-benefits > div > span {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 38px;

    background:
        rgba(255, 255, 255, 0.12);

    border:
        1px solid
        rgba(255, 255, 255, 0.15);

    border-radius: 10px;

    color: #ffffff;

    font-size: 16px;
}

.customer-register-benefits strong,
.customer-register-benefits small {
    display: block;
}

.customer-register-benefits strong {
    margin-bottom: 3px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}

.customer-register-benefits small {
    color:
        rgba(255, 255, 255, 0.69);

    font-size: 11px;
    line-height: 1.55;
}


/* ---------------------------------------------------------
   Terms
--------------------------------------------------------- */

.customer-register-terms {
    margin-top: 20px;
}

.customer-register-terms > label {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    cursor: pointer;
}

.customer-register-terms input {
    width: 17px;
    height: 17px;

    flex: 0 0 17px;

    margin-top: 2px;

    accent-color:
        var(--color-brand, #0f6e56);
}

.customer-register-terms label > span {
    color: #65766f;

    font-size: 12px;
    line-height: 1.6;
}

.customer-register-terms a {
    color:
        var(--color-brand, #0f6e56);

    font-weight: 750;
    text-decoration: none;
}

.customer-register-terms a:hover {
    text-decoration: underline;
}

.customer-register-terms.has-error
label > span {
    color: #a74343;
}

.customer-register-submit {
    margin-top: 20px;
}


/* ---------------------------------------------------------
   Secondary links and divider
--------------------------------------------------------- */

.customer-auth-divider {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 23px 0 16px;
}

.customer-auth-divider::before {
    position: absolute;
    right: 0;
    left: 0;

    height: 1px;

    content: "";

    background:
        rgba(15, 110, 86, 0.11);
}

.customer-auth-divider span {
    position: relative;
    z-index: 1;

    padding: 0 12px;

    background: #ffffff;

    color: #8a9893;

    font-size: 11px;
    font-weight: 650;
}

.customer-auth-secondary-link {
    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 15px;

    background:
        rgba(15, 110, 86, 0.045);

    border:
        1px solid
        rgba(15, 110, 86, 0.13);

    border-radius: 10px;

    color:
        var(--color-brand, #0f6e56);

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.customer-auth-secondary-link:hover {
    background:
        rgba(15, 110, 86, 0.09);

    border-color:
        rgba(15, 110, 86, 0.2);

    color:
        var(--color-brand, #0f6e56);

    transform: translateY(-1px);
}


/* =========================================================
   REGISTRATION OTP VERIFICATION
========================================================= */

.customer-otp-verify-card {
    width: min(100%, 950px);
}

.customer-otp-destination {
    display: inline-flex;

    margin-top: 13px;
    padding: 9px 14px;

    background:
        rgba(255, 255, 255, 0.1);

    border:
        1px solid
        rgba(255, 255, 255, 0.15);

    border-radius: 999px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}

.customer-otp-security-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-top: 30px;
    padding: 15px;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid
        rgba(255, 255, 255, 0.13);

    border-radius: 13px;
}

.customer-otp-security-card > span {
    width: 39px;
    height: 39px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 39px;

    background:
        rgba(255, 255, 255, 0.12);

    border-radius: 10px;

    color: #ffffff;
}

.customer-otp-security-card strong {
    display: block;

    margin-bottom: 4px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}

.customer-otp-security-card p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 11px;
    line-height: 1.55;
}

.customer-otp-field
.customer-form-control input {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.customer-otp-field > small {
    display: block;

    margin-top: 8px;

    color: #87958f;

    font-size: 11px;
    line-height: 1.5;
}

.customer-otp-actions {
    margin-top: 20px;
    padding: 17px;

    background:
        rgba(15, 110, 86, 0.04);

    border:
        1px solid
        rgba(15, 110, 86, 0.09);

    border-radius: 12px;

    text-align: center;
}

.customer-otp-actions p {
    margin: 0 0 9px;

    color: #697a74;

    font-size: 12px;
}

.customer-otp-resend-button {
    min-height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 8px 13px;

    background: transparent;

    border:
        1px solid
        rgba(15, 110, 86, 0.17);

    border-radius: 8px;

    color:
        var(--color-brand, #0f6e56);

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.customer-otp-resend-button:hover {
    background:
        rgba(15, 110, 86, 0.08);

    border-color:
        rgba(15, 110, 86, 0.24);
}


/* =========================================================
   REGISTRATION RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {

    .customer-register-fields {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .customer-register-field-full {
        grid-column: auto;
    }

    .customer-register-benefits {
        margin-top: 23px;
    }

    .customer-register-card,
    .customer-otp-verify-card {
        width: 100%;
    }

}


@media (max-width: 479.98px) {

    .customer-form-control {
        min-height: 49px;
        border-radius: 9px;
    }

    .customer-form-control input {
        min-height: 47px;
        font-size: 13px;
    }

    .customer-register-terms label > span {
        font-size: 11px;
    }

    .customer-otp-destination {
        max-width: 100%;

        overflow: hidden;

        font-size: 12px;

        text-overflow: ellipsis;
        white-space: nowrap;
    }

}



/* =========================================================
   CUSTOMER REGISTRATION CTA ON LOGIN PAGE
========================================================= */

.customer-login-register {
    margin-top: 23px;
}

.customer-login-divider {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;
}

.customer-login-divider::before {
    position: absolute;
    right: 0;
    left: 0;

    height: 1px;

    content: "";

    background:
        rgba(15, 110, 86, 0.12);
}

.customer-login-divider span {
    position: relative;
    z-index: 1;

    padding: 0 12px;

    background: #ffffff;

    color: #84928d;

    font-size: 11px;
    font-weight: 700;
}

.customer-login-register-card {
    display: grid;
    grid-template-columns:
        auto minmax(0, 1fr) auto;

    align-items: center;
    gap: 13px;

    padding: 15px;

    background:
        linear-gradient(
            135deg,
            rgba(15, 110, 86, 0.055),
            rgba(224, 122, 63, 0.035)
        );

    border:
        1px solid
        rgba(15, 110, 86, 0.13);

    border-radius: 13px;
}

.customer-login-register-icon {
    width: 43px;
    height: 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 43px;

    background:
        rgba(15, 110, 86, 0.10);

    border-radius: 11px;

    color:
        var(--color-brand, #0f6e56);

    font-size: 18px;
}

.customer-login-register-content {
    min-width: 0;
}

.customer-login-register-content strong {
    display: block;

    margin-bottom: 3px;

    color: #17352c;

    font-size: 12px;
    font-weight: 850;
    line-height: 1.4;
}

.customer-login-register-content p {
    margin: 0;

    color: #73837d;

    font-size: 10px;
    line-height: 1.5;
}

.customer-login-register-link {
    min-height: 39px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 9px 12px;

    background:
        var(--color-brand, #0f6e56);

    border:
        1px solid
        var(--color-brand, #0f6e56);

    border-radius: 9px;

    color: #ffffff;

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;
    white-space: nowrap;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.customer-login-register-link:hover,
.customer-login-register-link:focus {
    background: #0b5845;
    border-color: #0b5845;
    color: #ffffff;

    box-shadow:
        0 8px 18px
        rgba(15, 110, 86, 0.18);

    transform: translateY(-1px);
}


/* Mobile */

@media (max-width: 479.98px) {

    .customer-login-register-card {
        grid-template-columns:
            auto minmax(0, 1fr);
    }

    .customer-login-register-link {
        grid-column: 1 / -1;

        width: 100%;
        min-height: 43px;

        margin-top: 2px;
    }

}



/* =========================================================
   NEW CUSTOMER REGISTRATION ALERT
========================================================= */

.hd-login-alert-popup {
    width: min(92vw, 460px);

    padding: 30px 28px 27px;

    border:
        1px solid
        rgba(15, 110, 86, 0.12);

    border-radius: 22px;

    box-shadow:
        0 30px 90px
        rgba(18, 54, 43, 0.22);
}

.hd-login-alert-icon {
    border-color:
        rgba(15, 110, 86, 0.22) !important;

    color:
        var(--color-brand, #0f6e56) !important;
}

.hd-login-alert-title {
    padding: 0;

    color: #17352c;

    font-size: 25px;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hd-login-alert-content {
    padding: 0;

    color: #667972;

    font-size: 13px;
    line-height: 1.65;
}

.hd-login-alert-description {
    margin: 13px 0 8px;

    color: #52675f;

    font-weight: 650;
}

.hd-login-alert-note {
    margin: 0;

    color: #7a8a85;
}

.hd-login-alert-actions {
    width: 100%;

    display: grid !important;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 10px;

    margin: 25px 0 0 !important;
}

.hd-login-alert-register,
.hd-login-alert-cancel {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    margin: 0;
    padding: 11px 15px;

    border-radius: 10px;

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.hd-login-alert-register {
    background:
        var(--color-brand, #0f6e56);

    border:
        1px solid
        var(--color-brand, #0f6e56);

    color: #ffffff;

    box-shadow:
        0 10px 23px
        rgba(15, 110, 86, 0.20);
}

.hd-login-alert-register:hover {
    background: #0b5845;
    border-color: #0b5845;

    transform: translateY(-1px);
}

.hd-login-alert-cancel {
    background: #ffffff;

    border:
        1px solid
        rgba(15, 110, 86, 0.16);

    color:
        var(--color-brand, #0f6e56);
}

.hd-login-alert-cancel:hover {
    background:
        rgba(15, 110, 86, 0.06);

    border-color:
        rgba(15, 110, 86, 0.24);
}


/* Mobile */

@media (max-width: 479.98px) {

    .hd-login-alert-popup {
        padding:
            27px 18px
            21px;

        border-radius: 18px;
    }

    .hd-login-alert-title {
        font-size: 22px;
    }

    .hd-login-alert-actions {
        grid-template-columns: 1fr;
    }

    .hd-login-alert-register,
    .hd-login-alert-cancel {
        width: 100%;
    }

}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 980px) {
    .customer-login-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, 420px);
        gap: 40px;
    }

    .customer-login-intro > h1 {
        font-size: clamp(34px, 5vw, 48px);
    }
}

@media (max-width: 800px) {
    .customer-login-section {
        padding: 60px 0 70px;
    }

    .customer-login-layout {
        grid-template-columns: 1fr;
    }

    .customer-login-intro {
        max-width: none;
    }

    .customer-login-intro > h1,
    .customer-login-intro > p {
        max-width: 680px;
    }

    .customer-login-benefits {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .customer-login-benefits article {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-login-card {
        width: min(100%, 560px);
        margin-inline: auto;
    }
}

@media (max-width: 680px) {
    .customer-login-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .customer-login-section {
        padding: 48px 0 58px;
    }

    .customer-login-intro > h1 {
        font-size: clamp(31px, 9vw, 43px);
    }

    .customer-login-intro > p {
        font-size: 14px;
    }

    .customer-login-benefits {
        grid-template-columns: 1fr;
    }

    .customer-login-benefits article {
        align-items: flex-start;
        flex-direction: row;
        max-width: none;
    }

    .customer-login-card {
        padding: 27px 22px;
        border-radius: 17px;
    }

    .customer-login-card-header h2 {
        font-size: 26px;
    }
}

@media (max-width: 460px) {
    .customer-login-card {
        padding: 24px 18px;
    }

    .customer-login-links {
        grid-template-columns: 1fr;
    }

    .customer-login-crm-link {
        align-items: center;
        flex-direction: column;
    }
}