
.buyer-auth-page,.buyer-member-page{min-height:70vh;background:#f7f8f6}
.buyer-auth-wrap{max-width:1020px;display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:30px;align-items:center}
.buyer-auth-intro h1{margin:9px 0 14px;max-width:620px;font-size:clamp(30px,4vw,50px);line-height:1.12;color:#1f3f2f}
.buyer-auth-intro p{max-width:620px;margin:0;color:#66756c;line-height:1.75}
.buyer-auth-benefits{display:grid;gap:9px;margin-top:20px}
.buyer-auth-benefits span{display:flex;gap:8px;align-items:center;color:#43584b;font-size:13px}
.buyer-auth-benefits i{color:#2d6a4f}
.buyer-auth-card{padding:25px;border:1px solid #e0e7e2;border-radius:19px;background:#fff;box-shadow:0 12px 34px rgba(30,60,43,.06)}
.buyer-auth-symbol{width:44px;height:44px;display:grid;place-items:center;margin-bottom:12px;border-radius:13px;background:#eef5f1;color:#2d6a4f;font-size:21px}
.buyer-auth-card h2{margin:0 0 5px;color:#213c2d;font-size:22px}
.buyer-auth-card>p{margin:0 0 18px;color:#7c8981;font-size:12px;line-height:1.6}
.buyer-google-button,.buyer-google-disabled{min-height:48px;display:flex;align-items:center;justify-content:center;gap:10px;padding:0 14px;border:1px solid #d6ded8;border-radius:11px;background:#fff;color:#293b31;text-decoration:none;font-size:13px;font-weight:700}
.buyer-google-button:hover{border-color:#aebfb3;background:#fafcfb;color:#1f3f2f}
.buyer-google-disabled{opacity:.58;cursor:not-allowed}
.buyer-guest-choice{display:grid;gap:4px;margin-top:16px;padding:13px;border-radius:11px;background:#f7f9f7;text-align:center}
.buyer-guest-choice span{color:#7b8780;font-size:10px}
.buyer-guest-choice a{color:#2d6a4f;font-size:12px;font-weight:700;text-decoration:none}
.buyer-privacy-note{display:flex;align-items:flex-start;gap:7px;margin-top:13px;color:#88928c;font-size:9px;line-height:1.5}
.buyer-privacy-note i{margin-top:1px;color:#5c7b68}
.buyer-staff-link{margin-top:14px;padding-top:13px;border-top:1px solid #edf0ee;text-align:center}
.buyer-staff-link a{color:#66756c;font-size:10px;font-weight:600;text-decoration:none}

.buyer-member-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.buyer-member-head h1{margin:5px 0 3px;color:#203e2f}
.buyer-member-head p{margin:0;color:#7a877f;font-size:12px}
.buyer-member-identity{display:flex;align-items:center;gap:13px}
.buyer-avatar{width:54px;height:54px;flex:0 0 54px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 0 0 1px #dde5df}
.buyer-avatar.is-placeholder{display:grid;place-items:center;background:#eaf2ed;color:#2d6a4f;font-size:22px}
.buyer-member-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}
.buyer-member-card{display:flex;flex-direction:column;gap:5px;padding:18px;border:1px solid #e1e7e3;border-radius:14px;background:#fff;color:#2a4435;text-decoration:none;transition:.15s ease}
.buyer-member-card:hover{transform:translateY(-1px);border-color:#bfd0c4;box-shadow:0 5px 18px rgba(31,67,44,.05)}
.buyer-member-card i{margin-bottom:3px;color:#2d6a4f;font-size:20px}
.buyer-member-card strong{font-size:13px}
.buyer-member-card span{color:#7b8980;font-size:10px;line-height:1.45}
.buyer-orders-panel{overflow:hidden;border:1px solid #e1e7e3;border-radius:15px;background:#fff}
.buyer-orders-panel-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #edf0ee}
.buyer-orders-panel-head h2{margin:0;color:#213f2f;font-size:14px}
.buyer-orders-panel-head a{color:#2d6a4f;font-size:11px;font-weight:700;text-decoration:none}
.buyer-order-list{display:grid}
.buyer-order-row{display:flex;justify-content:space-between;gap:16px;padding:13px 16px;border-bottom:1px solid #eff2f0;color:#2d4436;text-decoration:none}
.buyer-order-row:last-child{border-bottom:0}
.buyer-order-row:hover{background:#fafcfb}
.buyer-order-row>div{display:flex;flex-direction:column;gap:3px}
.buyer-order-row>div:last-child{text-align:right}
.buyer-order-row strong,.buyer-order-row b{font-size:12px}
.buyer-order-row span{color:#7e8b83;font-size:10px}
.buyer-empty{display:grid;justify-items:center;gap:5px;padding:30px;color:#8b958f;text-align:center}
.buyer-empty i{font-size:24px;color:#7b9b87}
.buyer-empty strong{color:#53655a;font-size:12px}
.buyer-empty span{max-width:560px;font-size:10px;line-height:1.5}

.buyer-profile-container{max-width:900px}
.buyer-profile-form{display:grid;gap:12px}
.buyer-profile-card{padding:18px;border:1px solid #e1e7e3;border-radius:15px;background:#fff}
.buyer-profile-card h2{margin:0 0 4px;color:#203e2f;font-size:15px}
.buyer-profile-card p{margin:0 0 14px;color:#849088;font-size:10px}
.buyer-profile-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.buyer-profile-photo{width:42px;height:42px;border-radius:50%;object-fit:cover}
.buyer-profile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}
.buyer-profile-grid .is-full{grid-column:1/-1}
.buyer-profile-form label>span{display:block;margin-bottom:5px;color:#42564a;font-size:11px;font-weight:700}
.buyer-profile-form label>span small{color:#8b958f;font-size:9px;font-weight:400}
.buyer-profile-form input,.buyer-profile-form textarea{width:100%;padding:10px 11px;border:1px solid #d7dfda;border-radius:10px;background:#fff}
.buyer-profile-form input:focus,.buyer-profile-form textarea:focus{outline:none;border-color:#6f9c7d;box-shadow:0 0 0 3px rgba(45,106,79,.08)}
.buyer-profile-save{display:flex;justify-content:flex-end}

.buyer-checkout-signed,.buyer-checkout-guest{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:11px 13px;border:1px solid #dce8df;border-radius:11px;background:#f5faf6;color:#315640;font-size:11px}
.buyer-checkout-signed i{color:#2d6a4f}
.buyer-checkout-signed a,.buyer-checkout-guest>a{flex:0 0 auto;color:#2d6a4f;font-size:10px;font-weight:700;text-decoration:none}
.buyer-checkout-guest>div{display:flex;align-items:center;gap:9px}
.buyer-checkout-guest>div>i{color:#567862;font-size:18px}
.buyer-checkout-guest span{display:block}
.buyer-checkout-guest strong{display:block;font-size:11px}
.buyer-checkout-guest small{display:block;margin-top:2px;color:#76847b;font-size:9px}

.buyer-track-member-shortcut{display:flex;align-items:center;gap:8px;margin-bottom:12px;padding:10px 12px;border:1px solid #dfe8e2;border-radius:10px;background:#f7faf8;font-size:10px}
.buyer-track-member-shortcut i{color:#2d6a4f}
.buyer-track-member-shortcut a{margin-left:auto;color:#2d6a4f;font-weight:700;text-decoration:none}
.buyer-order-account-link{padding-top:14px}
.buyer-order-account-link a{color:#2d6a4f;font-size:11px;font-weight:700;text-decoration:none}

@media(max-width:900px){.buyer-auth-wrap{max-width:620px;grid-template-columns:1fr}.buyer-auth-intro{text-align:center}.buyer-auth-benefits{justify-items:center}}
@media(max-width:700px){.buyer-member-head{align-items:flex-start;flex-direction:column}.buyer-member-grid{grid-template-columns:1fr}.buyer-profile-grid{grid-template-columns:1fr}.buyer-profile-grid .is-full{grid-column:auto}.buyer-order-row{align-items:flex-start}.buyer-checkout-signed,.buyer-checkout-guest{align-items:flex-start;flex-direction:column}.buyer-checkout-guest>a{margin-left:27px}}


/* =========================================================
   V84.2 — Buyer onboarding / profile completion
   ========================================================= */
.buyer-onboarding-container{max-width:1060px}

.buyer-onboarding-head{
    max-width:720px;
    margin:0 auto 22px;
    text-align:center;
}

.buyer-onboarding-step{
    display:inline-flex;
    align-items:center;
    padding:5px 9px;
    border-radius:999px;
    background:#eaf3ed;
    color:#2d6a4f;
    font-size:10px;
    font-weight:700;
}

.buyer-onboarding-head h1{
    margin:10px 0 7px;
    color:#203e2f;
    font-size:clamp(27px,3.5vw,40px);
}

.buyer-onboarding-head p{
    margin:0;
    color:#748178;
    font-size:12px;
    line-height:1.7;
}

.buyer-onboarding-layout{
    display:grid;
    grid-template-columns:330px minmax(0,1fr);
    gap:16px;
    align-items:start;
}

.buyer-onboarding-benefit{
    position:sticky;
    top:90px;
    display:grid;
    gap:12px;
}

.buyer-onboarding-google{
    position:relative;
    display:flex;
    align-items:center;
    gap:11px;
    padding:15px;
    border:1px solid #dfe7e2;
    border-radius:15px;
    background:#fff;
}

.buyer-onboarding-google>div{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
}

.buyer-onboarding-google small{
    color:#87928b;
    font-size:9px;
}

.buyer-onboarding-google strong{
    overflow:hidden;
    color:#294637;
    font-size:12px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.buyer-onboarding-google span{
    overflow:hidden;
    color:#7b8880;
    font-size:9px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.buyer-google-verified{
    margin-left:auto;
    color:#2d6a4f;
    font-size:18px;
}

.buyer-onboarding-reasons{
    display:grid;
    gap:8px;
    padding:14px;
    border:1px solid #e3e9e5;
    border-radius:15px;
    background:#f9fbf9;
}

.buyer-onboarding-reasons>div{
    display:flex;
    gap:9px;
    align-items:flex-start;
    padding:8px 0;
    border-bottom:1px solid #ebefec;
}

.buyer-onboarding-reasons>div:last-child{border-bottom:0}

.buyer-onboarding-reasons i{
    width:26px;
    height:26px;
    flex:0 0 26px;
    display:grid;
    place-items:center;
    border-radius:8px;
    background:#eaf3ed;
    color:#2d6a4f;
}

.buyer-onboarding-reasons span{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.buyer-onboarding-reasons strong{
    color:#3b5144;
    font-size:10px;
}

.buyer-onboarding-reasons small{
    color:#849088;
    font-size:9px;
    line-height:1.45;
}

.buyer-onboarding-form{display:grid;gap:12px}

.buyer-profile-section-title{
    display:flex;
    align-items:flex-start;
    gap:9px;
    margin-bottom:14px;
}

.buyer-profile-section-title>span{
    width:27px;
    height:27px;
    flex:0 0 27px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:#eaf3ed;
    color:#2d6a4f;
    font-size:11px;
    font-weight:800;
}

.buyer-profile-section-title h2{margin:0}
.buyer-profile-section-title p{margin:2px 0 0}

.buyer-profile-form label>small,
.buyer-onboarding-form label>small{
    display:block;
    margin-top:5px;
    color:#8d9791;
    font-size:9px;
}

.buyer-account-confirm{
    display:flex;
    gap:10px;
    align-items:flex-start;
    padding:13px 14px;
    border:1px solid #dfe8e2;
    border-radius:12px;
    background:#f8faf8;
    cursor:pointer;
}

.buyer-account-confirm input{
    width:17px!important;
    height:17px;
    flex:0 0 17px;
    margin-top:1px;
    accent-color:#2d6a4f;
}

.buyer-account-confirm>span{
    display:flex;
    flex-direction:column;
    gap:3px;
}

.buyer-account-confirm strong{
    color:#344f40;
    font-size:11px;
}

.buyer-account-confirm small{
    color:#7f8c84;
    font-size:9px;
    line-height:1.55;
}

.buyer-onboarding-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;
    padding-top:2px;
}

.buyer-onboarding-actions small{
    max-width:270px;
    color:#89938d;
    font-size:9px;
    line-height:1.45;
    text-align:right;
}

@media(max-width:900px){
    .buyer-onboarding-layout{grid-template-columns:1fr}
    .buyer-onboarding-benefit{position:static}
    .buyer-onboarding-reasons{grid-template-columns:repeat(3,1fr)}
    .buyer-onboarding-reasons>div{
        border-right:1px solid #ebefec;
        border-bottom:0;
        padding:4px 8px;
    }
    .buyer-onboarding-reasons>div:last-child{border-right:0}
}

@media(max-width:700px){
    .buyer-onboarding-reasons{grid-template-columns:1fr}
    .buyer-onboarding-reasons>div{
        border-right:0;
        border-bottom:1px solid #ebefec;
        padding:8px 0;
    }
    .buyer-onboarding-actions{
        align-items:stretch;
        flex-direction:column;
    }
    .buyer-onboarding-actions .btn{width:100%}
    .buyer-onboarding-actions small{
        max-width:none;
        text-align:center;
    }
}


/* =========================================================
   V84.2.1 — BUYER ONBOARDING UI POLISH
   Scope: /buyer/setup + shared buyer profile form
   Logic and flow are unchanged.
   ========================================================= */

/* overall page rhythm */
.buyer-onboarding-page{
    background:
        radial-gradient(circle at top left, rgba(45,106,79,.035), transparent 28%),
        #f7f8f6;
}

.buyer-onboarding-page .section-space{
    padding-top:34px;
    padding-bottom:42px;
}

.buyer-onboarding-container{
    max-width:1120px;
}

.buyer-onboarding-head{
    max-width:760px;
    margin-bottom:24px;
}

.buyer-onboarding-head h1{
    margin-top:9px;
    margin-bottom:8px;
    letter-spacing:-.02em;
}

.buyer-onboarding-head p{
    max-width:720px;
    margin-left:auto;
    margin-right:auto;
}

/* left side identity card */
.buyer-onboarding-google{
    min-height:86px;
    padding:14px 15px;
    border-color:#dce5df;
    box-shadow:0 2px 8px rgba(36,74,50,.025);
}

.buyer-onboarding-google .buyer-avatar{
    width:56px;
    height:56px;
    flex-basis:56px;
}

.buyer-onboarding-google strong{
    max-width:185px;
    font-size:13px;
}

.buyer-onboarding-google span{
    max-width:185px;
    font-size:10px;
}

.buyer-google-verified{
    flex:0 0 auto;
    font-size:19px;
}

/* left benefit card */
.buyer-onboarding-reasons{
    padding:12px 14px;
    background:#fbfcfb;
}

.buyer-onboarding-reasons>div{
    padding:10px 0;
}

.buyer-onboarding-reasons i{
    width:30px;
    height:30px;
    flex-basis:30px;
    border-radius:9px;
}

.buyer-onboarding-reasons strong{
    font-size:11px;
}

.buyer-onboarding-reasons small{
    font-size:9.5px;
    line-height:1.5;
}

/* right-side cards */
.buyer-onboarding-form .buyer-profile-card{
    padding:20px;
    border-color:#dde5e0;
    border-radius:16px;
    box-shadow:0 2px 8px rgba(36,74,50,.022);
}

.buyer-profile-section-title{
    margin-bottom:16px;
    padding-bottom:11px;
    border-bottom:1px solid #edf1ee;
}

.buyer-profile-section-title>span{
    width:29px;
    height:29px;
    flex-basis:29px;
    border-radius:9px;
}

.buyer-profile-section-title h2{
    font-size:14px;
}

.buyer-profile-section-title p{
    font-size:9.5px;
    line-height:1.5;
}

/* form grid alignment */
.buyer-onboarding-form .buyer-profile-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:15px 16px;
    align-items:start;
}

.buyer-onboarding-form .buyer-profile-grid label{
    min-width:0;
}

.buyer-onboarding-form label>span{
    display:block;
    margin-bottom:6px;
    color:#30493a;
    font-size:11.5px;
    font-weight:700;
    line-height:1.4;
}

.buyer-onboarding-form label>span small{
    color:#89948d;
    font-size:9px;
    font-weight:500;
}

/* consistent input appearance */
.buyer-onboarding-form input[type="text"],
.buyer-onboarding-form input[type="tel"],
.buyer-onboarding-form input[type="email"],
.buyer-onboarding-form textarea,
.buyer-profile-form input,
.buyer-profile-form textarea{
    display:block;
    width:100%;
    min-width:0;
    min-height:44px;
    padding:10px 12px;
    border:1px solid #d4ddd7;
    border-radius:10px;
    background:#fff;
    color:#24392d;
    font:inherit;
    font-size:12px;
    line-height:1.45;
    box-shadow:none;
    transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.buyer-onboarding-form textarea,
.buyer-profile-form textarea{
    min-height:92px;
    resize:vertical;
}

.buyer-onboarding-form input::placeholder,
.buyer-profile-form input::placeholder,
.buyer-onboarding-form textarea::placeholder,
.buyer-profile-form textarea::placeholder{
    color:#a2aba5;
}

.buyer-onboarding-form input:focus,
.buyer-onboarding-form textarea:focus,
.buyer-profile-form input:focus,
.buyer-profile-form textarea:focus{
    outline:none;
    border-color:#6f9c7d;
    box-shadow:0 0 0 3px rgba(45,106,79,.09);
}

/* email field from Google */
.buyer-onboarding-form input:disabled,
.buyer-profile-form input:disabled{
    background:#f4f6f4;
    border-color:#e1e6e2;
    color:#6c7971;
    cursor:not-allowed;
    text-overflow:ellipsis;
}

.buyer-onboarding-form label>small,
.buyer-profile-form label>small{
    margin-top:5px;
    color:#8a958e;
    font-size:9px;
    line-height:1.45;
}

/* address section */
.buyer-onboarding-form .buyer-profile-grid .is-full textarea{
    min-height:96px;
}

/* confirmation box */
.buyer-account-confirm{
    padding:14px 15px;
    border-color:#dce6df;
    border-radius:13px;
    background:#f9fbf9;
}

.buyer-account-confirm:hover{
    border-color:#c8d8cd;
    background:#f6faf7;
}

.buyer-account-confirm input{
    margin-top:2px;
}

.buyer-account-confirm strong{
    font-size:11.5px;
}

.buyer-account-confirm small{
    font-size:9.5px;
    line-height:1.55;
}

/* action area */
.buyer-onboarding-actions{
    margin-top:2px;
    padding:4px 2px 0;
}

.buyer-onboarding-actions .btn{
    min-height:46px;
    padding:0 22px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    box-shadow:0 7px 16px rgba(45,106,79,.12);
}

.buyer-onboarding-actions .btn:hover{
    transform:translateY(-1px);
}

.buyer-onboarding-actions small{
    max-width:300px;
    color:#929c96;
    font-size:9px;
}

/* error message */
.buyer-onboarding-form .auth-alert{
    border-radius:12px;
    padding:11px 13px;
}

/* desktop balance */
@media(min-width:901px){
    .buyer-onboarding-layout{
        grid-template-columns:320px minmax(0,1fr);
        gap:18px;
    }
}

/* tablet */
@media(max-width:900px){
    .buyer-onboarding-page .section-space{
        padding-top:26px;
    }

    .buyer-onboarding-benefit{
        gap:10px;
    }

    .buyer-onboarding-reasons{
        padding:10px;
    }

    .buyer-onboarding-reasons>div{
        padding:8px;
    }
}

/* mobile */
@media(max-width:700px){
    .buyer-onboarding-container{
        padding-left:14px;
        padding-right:14px;
    }

    .buyer-onboarding-head{
        margin-bottom:18px;
        text-align:left;
    }

    .buyer-onboarding-head h1{
        font-size:28px;
    }

    .buyer-onboarding-head p{
        margin:0;
    }

    .buyer-onboarding-form .buyer-profile-card{
        padding:15px;
        border-radius:14px;
    }

    .buyer-onboarding-form .buyer-profile-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .buyer-onboarding-google{
        padding:13px;
    }

    .buyer-onboarding-google .buyer-avatar{
        width:50px;
        height:50px;
        flex-basis:50px;
    }

    .buyer-onboarding-google strong,
    .buyer-onboarding-google span{
        max-width:200px;
    }

    .buyer-onboarding-reasons{
        grid-template-columns:1fr;
    }

    .buyer-onboarding-form input[type="text"],
    .buyer-onboarding-form input[type="tel"],
    .buyer-onboarding-form input[type="email"],
    .buyer-onboarding-form textarea,
    .buyer-profile-form input,
    .buyer-profile-form textarea{
        min-height:44px;
        font-size:12px;
    }

    .buyer-account-confirm{
        padding:13px;
    }

    .buyer-onboarding-actions{
        gap:8px;
    }

    .buyer-onboarding-actions .btn{
        min-height:46px;
        width:100%;
    }
}


/* =========================================================
   V84.2.2 — BUYER FORM CONTROL POLISH
   Force onboarding/profile inputs to match Chan Organic UI.
   This layer intentionally has higher specificity than legacy
   global form rules in style.css.
   ========================================================= */

/* text controls */
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input[type="text"],
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input[type="tel"],
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input[type="email"],
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input[type="number"],
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card textarea,
.buyer-member-page .buyer-profile-form .buyer-profile-card input[type="text"],
.buyer-member-page .buyer-profile-form .buyer-profile-card input[type="tel"],
.buyer-member-page .buyer-profile-form .buyer-profile-card input[type="email"],
.buyer-member-page .buyer-profile-form .buyer-profile-card input[type="number"],
.buyer-member-page .buyer-profile-form .buyer-profile-card textarea{
    -webkit-appearance:none;
    appearance:none;
    box-sizing:border-box;
    display:block;
    width:100%;
    max-width:none;
    min-width:0;
    height:44px;
    min-height:44px;
    margin:0;
    padding:10px 12px;
    border:1px solid #d4ddd7 !important;
    border-radius:10px !important;
    outline:0;
    background:#fff !important;
    color:#24392d !important;
    font-family:inherit;
    font-size:12px;
    font-weight:400;
    line-height:1.45;
    box-shadow:none !important;
    transition:border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card textarea,
.buyer-member-page .buyer-profile-form .buyer-profile-card textarea{
    height:auto;
    min-height:96px;
    padding-top:11px;
    padding-bottom:11px;
    resize:vertical;
}

/* address full-width field */
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-grid .is-full{
    grid-column:1/-1;
}

.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-grid .is-full textarea{
    width:100%;
    min-height:96px;
}

/* hover */
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input:not(:disabled):hover,
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card textarea:hover,
.buyer-member-page .buyer-profile-form .buyer-profile-card input:not(:disabled):hover,
.buyer-member-page .buyer-profile-form .buyer-profile-card textarea:hover{
    border-color:#bccbc1 !important;
}

/* focus */
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input:focus,
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card textarea:focus,
.buyer-member-page .buyer-profile-form .buyer-profile-card input:focus,
.buyer-member-page .buyer-profile-form .buyer-profile-card textarea:focus{
    border-color:#6f9c7d !important;
    outline:none !important;
    box-shadow:0 0 0 3px rgba(45,106,79,.10) !important;
    background:#fff !important;
}

/* placeholder */
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input::placeholder,
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card textarea::placeholder,
.buyer-member-page .buyer-profile-form .buyer-profile-card input::placeholder,
.buyer-member-page .buyer-profile-form .buyer-profile-card textarea::placeholder{
    color:#a3ada6 !important;
    opacity:1;
    font-weight:400;
}

/* verified Google email */
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input:disabled,
.buyer-member-page .buyer-profile-form .buyer-profile-card input:disabled{
    border-color:#dfe6e1 !important;
    background:#f3f6f4 !important;
    color:#718078 !important;
    -webkit-text-fill-color:#718078;
    opacity:1;
    cursor:not-allowed;
}

/* consistent labels */
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card label,
.buyer-member-page .buyer-profile-form .buyer-profile-card label{
    display:block;
    width:100%;
    min-width:0;
    margin:0;
}

.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card label > span,
.buyer-member-page .buyer-profile-form .buyer-profile-card label > span{
    display:block;
    margin:0 0 6px;
    color:#30493a;
    font-size:11px;
    font-weight:700;
    line-height:1.4;
}

/* helper text under email */
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card label > small,
.buyer-member-page .buyer-profile-form .buyer-profile-card label > small{
    display:block;
    margin:5px 0 0;
    color:#8a958e;
    font-size:9px;
    line-height:1.45;
}

/* prevent browser autofill from changing the theme */
.buyer-onboarding-page .buyer-onboarding-form input:-webkit-autofill,
.buyer-onboarding-page .buyer-onboarding-form input:-webkit-autofill:hover,
.buyer-onboarding-page .buyer-onboarding-form input:-webkit-autofill:focus,
.buyer-member-page .buyer-profile-form input:-webkit-autofill,
.buyer-member-page .buyer-profile-form input:-webkit-autofill:hover,
.buyer-member-page .buyer-profile-form input:-webkit-autofill:focus{
    -webkit-text-fill-color:#24392d;
    -webkit-box-shadow:0 0 0 1000px #fff inset !important;
    transition:background-color 9999s ease-out 0s;
}

/* checkbox confirmation */
.buyer-onboarding-page .buyer-account-confirm input[type="checkbox"],
.buyer-member-page .buyer-account-confirm input[type="checkbox"]{
    -webkit-appearance:none;
    appearance:none;
    position:relative;
    width:18px !important;
    height:18px !important;
    min-width:18px;
    min-height:18px;
    flex:0 0 18px;
    margin:1px 0 0;
    padding:0;
    border:1px solid #bfcfc4 !important;
    border-radius:5px !important;
    background:#fff !important;
    cursor:pointer;
    box-shadow:none !important;
}

.buyer-onboarding-page .buyer-account-confirm input[type="checkbox"]:checked,
.buyer-member-page .buyer-account-confirm input[type="checkbox"]:checked{
    border-color:#2d6a4f !important;
    background:#2d6a4f !important;
}

.buyer-onboarding-page .buyer-account-confirm input[type="checkbox"]:checked::after,
.buyer-member-page .buyer-account-confirm input[type="checkbox"]:checked::after{
    content:"";
    position:absolute;
    left:5px;
    top:2px;
    width:5px;
    height:9px;
    border:solid #fff;
    border-width:0 2px 2px 0;
    transform:rotate(45deg);
}

.buyer-onboarding-page .buyer-account-confirm input[type="checkbox"]:focus-visible,
.buyer-member-page .buyer-account-confirm input[type="checkbox"]:focus-visible{
    outline:none;
    box-shadow:0 0 0 3px rgba(45,106,79,.12) !important;
}

/* desktop field balance */
@media(min-width:701px){
    .buyer-onboarding-page .buyer-onboarding-form .buyer-profile-grid,
    .buyer-member-page .buyer-profile-form .buyer-profile-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

/* mobile */
@media(max-width:700px){
    .buyer-onboarding-page .buyer-onboarding-form .buyer-profile-grid,
    .buyer-member-page .buyer-profile-form .buyer-profile-grid{
        grid-template-columns:1fr;
    }

    .buyer-onboarding-page .buyer-onboarding-form .buyer-profile-grid .is-full,
    .buyer-member-page .buyer-profile-form .buyer-profile-grid .is-full{
        grid-column:auto;
    }

    .buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input[type="text"],
    .buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input[type="tel"],
    .buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input[type="email"],
    .buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input[type="number"],
    .buyer-member-page .buyer-profile-form .buyer-profile-card input[type="text"],
    .buyer-member-page .buyer-profile-form .buyer-profile-card input[type="tel"],
    .buyer-member-page .buyer-profile-form .buyer-profile-card input[type="email"],
    .buyer-member-page .buyer-profile-form .buyer-profile-card input[type="number"]{
        height:44px;
        min-height:44px;
    }
}


/* =========================================================
   V84.2.3 — BUYER INPUT SELECTOR FIX
   Root cause:
   Buyer setup/profile PHP uses <input ...> without explicit
   type="text" on many fields. CSS input[type="text"] does not
   match inputs whose type attribute is omitted.
   ========================================================= */

/* Inputs with omitted type attribute (HTML defaults to text) */
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input:not([type]),
.buyer-member-page .buyer-profile-form .buyer-profile-card input:not([type]){
    -webkit-appearance:none !important;
    appearance:none !important;
    box-sizing:border-box !important;
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    height:44px !important;
    min-height:44px !important;
    margin:0 !important;
    padding:10px 12px !important;
    border:1px solid #d4ddd7 !important;
    border-radius:10px !important;
    outline:0 !important;
    background:#fff !important;
    color:#24392d !important;
    font-family:inherit !important;
    font-size:12px !important;
    font-weight:400 !important;
    line-height:1.45 !important;
    box-shadow:none !important;
    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        background-color .15s ease !important;
}

/* Hover for omitted-type inputs */
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input:not([type]):not(:disabled):hover,
.buyer-member-page .buyer-profile-form .buyer-profile-card input:not([type]):not(:disabled):hover{
    border-color:#bccbc1 !important;
}

/* Focus for omitted-type inputs */
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input:not([type]):focus,
.buyer-member-page .buyer-profile-form .buyer-profile-card input:not([type]):focus{
    border-color:#6f9c7d !important;
    outline:none !important;
    background:#fff !important;
    box-shadow:0 0 0 3px rgba(45,106,79,.10) !important;
}

/* Placeholder */
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input:not([type])::placeholder,
.buyer-member-page .buyer-profile-form .buyer-profile-card input:not([type])::placeholder{
    color:#a3ada6 !important;
    opacity:1 !important;
}

/* Google verified email in setup currently also has no type attribute */
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input:not([type]):disabled,
.buyer-member-page .buyer-profile-form .buyer-profile-card input:not([type]):disabled{
    border-color:#dfe6e1 !important;
    background:#f3f6f4 !important;
    color:#718078 !important;
    -webkit-text-fill-color:#718078 !important;
    opacity:1 !important;
    cursor:not-allowed !important;
}

/* Autofill */
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input:not([type]):-webkit-autofill,
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input:not([type]):-webkit-autofill:hover,
.buyer-onboarding-page .buyer-onboarding-form .buyer-profile-card input:not([type]):-webkit-autofill:focus,
.buyer-member-page .buyer-profile-form .buyer-profile-card input:not([type]):-webkit-autofill,
.buyer-member-page .buyer-profile-form .buyer-profile-card input:not([type]):-webkit-autofill:hover,
.buyer-member-page .buyer-profile-form .buyer-profile-card input:not([type]):-webkit-autofill:focus{
    -webkit-text-fill-color:#24392d !important;
    -webkit-box-shadow:0 0 0 1000px #fff inset !important;
}

/* Keep the confirmation checkbox compact even if other global input rules exist */
.buyer-onboarding-page .buyer-account-confirm input[type="checkbox"],
.buyer-member-page .buyer-account-confirm input[type="checkbox"]{
    width:18px !important;
    min-width:18px !important;
    max-width:18px !important;
    height:18px !important;
    min-height:18px !important;
    padding:0 !important;
}


/* =========================================================
   V84.2.4 — BUYER THAI ADDRESS AUTOCOMPLETE
   Reuses the existing Chan Organic Thai address component.
   ========================================================= */

.buyer-onboarding-page .buyer-thai-address-grid,
.buyer-member-page .buyer-thai-address-grid{
    position:relative;
    grid-column:1/-1;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:15px 16px;
    width:100%;
}

.buyer-onboarding-page .buyer-thai-address-grid > label,
.buyer-member-page .buyer-thai-address-grid > label{
    min-width:0;
}

.buyer-onboarding-page .buyer-thai-address-grid .thai-address-help,
.buyer-member-page .buyer-thai-address-grid .thai-address-help{
    grid-column:1/-1;
    margin-top:-3px;
    padding-left:1px;
    color:#87928b;
    font-size:9.5px;
    line-height:1.5;
}

/* Suggestion panel follows Buyer UI proportions */
.buyer-onboarding-page .buyer-thai-address-grid .thai-address-suggestions,
.buyer-member-page .buyer-thai-address-grid .thai-address-suggestions{
    top:calc(100% + 4px);
    overflow:hidden auto;
    border:1px solid #d7e1da;
    border-radius:12px;
    background:#fff;
    box-shadow:0 14px 34px rgba(25,52,34,.14);
}

.buyer-onboarding-page .buyer-thai-address-grid .thai-address-option,
.buyer-member-page .buyer-thai-address-grid .thai-address-option{
    min-height:44px;
    padding:9px 12px;
    color:#30493a;
}

.buyer-onboarding-page .buyer-thai-address-grid .thai-address-option:hover,
.buyer-onboarding-page .buyer-thai-address-grid .thai-address-option:focus,
.buyer-member-page .buyer-thai-address-grid .thai-address-option:hover,
.buyer-member-page .buyer-thai-address-grid .thai-address-option:focus{
    background:#f2f7f3;
}

.buyer-onboarding-page .buyer-thai-address-grid .thai-address-option strong,
.buyer-member-page .buyer-thai-address-grid .thai-address-option strong{
    font-size:11px;
}

.buyer-onboarding-page .buyer-thai-address-grid .thai-address-option small,
.buyer-member-page .buyer-thai-address-grid .thai-address-option small{
    font-size:9px;
}

@media(max-width:700px){
    .buyer-onboarding-page .buyer-thai-address-grid,
    .buyer-member-page .buyer-thai-address-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .buyer-onboarding-page .buyer-thai-address-grid .thai-address-help,
    .buyer-member-page .buyer-thai-address-grid .thai-address-help{
        grid-column:auto;
    }
}


/* =========================================================
   V84.6 — BUYER DUAL AUTH (GOOGLE + EMAIL/PASSWORD)
   ========================================================= */

.buyer-auth-shell{
    max-width:1040px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 420px;
    gap:56px;
    align-items:center;
}

.buyer-register-shell{max-width:980px}

.buyer-auth-intro h1{
    margin:8px 0 10px;
    color:#244333;
    font-size:clamp(34px,4.2vw,54px);
    line-height:1.08;
}

.buyer-auth-intro p{
    max-width:600px;
    margin:0;
    color:#6f7f76;
    font-size:12px;
    line-height:1.75;
}

.buyer-auth-benefits{
    display:grid;
    gap:9px;
    margin:20px 0 0;
    padding:0;
    list-style:none;
}

.buyer-auth-benefits li{
    display:flex;
    align-items:center;
    gap:8px;
    color:#587064;
    font-size:11px;
}

.buyer-auth-benefits i{color:#2f7850}

.buyer-auth-card{
    padding:24px;
    border:1px solid #dce5df;
    border-radius:17px;
    background:#fff;
    box-shadow:0 12px 30px rgba(34,61,43,.08);
}

.buyer-auth-card-head{
    display:flex;
    align-items:center;
    gap:11px;
    margin-bottom:18px;
}

.buyer-auth-icon{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    flex:0 0 44px;
    border-radius:12px;
    background:#eaf3ed;
    color:#2c6b4c;
    font-size:18px;
}

.buyer-auth-card-head h2{
    margin:0;
    color:#2c4637;
    font-size:18px;
}

.buyer-auth-card-head p{
    margin:3px 0 0;
    color:#8a958e;
    font-size:9.5px;
}

.buyer-google-button{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    min-height:46px;
    padding:10px 14px;
    border:1px solid #d6ded9;
    border-radius:11px;
    background:#fff;
    color:#30483a;
    font-size:11px;
    font-weight:700;
    text-decoration:none;
}

.buyer-google-button:hover{
    color:#294132;
    border-color:#bfcfc4;
    background:#fbfcfb;
}

.buyer-auth-divider{
    display:flex;
    align-items:center;
    gap:10px;
    margin:17px 0;
    color:#9aa49e;
    font-size:9px;
}

.buyer-auth-divider::before,
.buyer-auth-divider::after{
    content:"";
    height:1px;
    flex:1;
    background:#e7ece8;
}

.buyer-email-login-form{
    display:grid;
    gap:12px;
}

.buyer-email-login-form label{display:block}

.buyer-email-login-form label>span{
    display:block;
    margin-bottom:6px;
    color:#344d3e;
    font-size:10.5px;
    font-weight:700;
}

.buyer-email-login-form label>small{
    display:block;
    margin-top:5px;
    color:#919b95;
    font-size:9px;
}

.buyer-email-login-form input{
    box-sizing:border-box;
    width:100%;
    min-height:44px;
    padding:10px 12px;
    border:1px solid #d3ddd6;
    border-radius:10px;
    background:#fff;
    color:#273b30;
    font:inherit;
    font-size:12px;
    outline:0;
    transition:border-color .15s ease,box-shadow .15s ease;
}

.buyer-email-login-form input:focus{
    border-color:#6f9c7d;
    box-shadow:0 0 0 3px rgba(45,106,79,.10);
}

.buyer-email-login-button{
    width:100%;
    min-height:46px;
    margin-top:2px;
}

.buyer-register-cta{
    display:flex;
    justify-content:center;
    gap:5px;
    margin-top:15px;
    color:#89938d;
    font-size:9.5px;
}

.buyer-register-cta a{
    color:#2f6d4c;
    font-weight:700;
    text-decoration:none;
}

.buyer-auth-guest{
    display:grid;
    gap:3px;
    margin-top:16px;
    padding:12px;
    border-radius:10px;
    background:#f7f9f7;
    text-align:center;
}

.buyer-auth-guest small{
    color:#98a19c;
    font-size:8.5px;
}

.buyer-auth-guest a{
    color:#39674e;
    font-size:9.5px;
    font-weight:700;
    text-decoration:none;
}

.buyer-auth-staff-link{
    margin-top:15px;
    padding-top:13px;
    border-top:1px solid #edf1ee;
    text-align:center;
}

.buyer-auth-staff-link a{
    color:#728078;
    font-size:9px;
    text-decoration:none;
}

@media(max-width:820px){
    .buyer-auth-shell{
        grid-template-columns:1fr;
        gap:26px;
        max-width:620px;
    }

    .buyer-auth-intro{text-align:center}

    .buyer-auth-intro p{
        margin-left:auto;
        margin-right:auto;
    }

    .buyer-auth-benefits{
        max-width:420px;
        margin-left:auto;
        margin-right:auto;
        text-align:left;
    }
}

@media(max-width:600px){
    .buyer-auth-card{
        padding:17px;
        border-radius:14px;
    }

    .buyer-auth-intro h1{font-size:34px}
}


/* =========================================================
   V84.6.3 — GOOGLE ACCOUNT ELIGIBILITY GUIDANCE
   ========================================================= */

.buyer-google-error-box{
    align-items:flex-start;
}

.buyer-google-error-box>div{
    min-width:0;
    display:grid;
    gap:5px;
}

.buyer-google-error-box strong{
    display:block;
    font-size:10.5px;
    line-height:1.55;
    font-weight:700;
}

.buyer-google-error-box small{
    display:block;
    color:#9b5f57;
    font-size:9px;
    line-height:1.55;
}

.buyer-google-error-actions{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:5px;
}

.buyer-google-error-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-height:34px;
    padding:7px 10px;
    border:1px solid #d7b6b2;
    border-radius:9px;
    background:#fff;
    color:#8d4841;
    font-size:9px;
    font-weight:700;
    text-decoration:none;
}

.buyer-google-error-link:hover{
    color:#743b35;
    border-color:#c99e98;
    background:#fffafa;
}

.buyer-google-error-link.is-secondary{
    border-color:#d8dfda;
    color:#456353;
}

.buyer-google-error-link.is-secondary:hover{
    border-color:#bfcec4;
    color:#345443;
    background:#f8fbf9;
}

@media(max-width:600px){
    .buyer-google-error-actions{
        display:grid;
        grid-template-columns:1fr;
    }

    .buyer-google-error-link{
        width:100%;
    }
}


/* =========================================================
   V84.7 — BUYER ACCOUNT SECURITY & LOGIN METHODS
   ========================================================= */

.buyer-security-container{max-width:1040px}

.buyer-security-page .auth-alert>div{
    min-width:0;
    display:grid;
    gap:3px;
}

.buyer-security-page .auth-alert strong{
    font-size:10.5px;
    line-height:1.5;
}

.buyer-security-page .auth-alert small{
    font-size:9px;
    line-height:1.5;
}

.buyer-security-summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:16px;
    padding:16px 18px;
    border:1px solid #dfe6e1;
    border-radius:15px;
    background:#fff;
}

.buyer-security-account{
    display:flex;
    align-items:center;
    gap:11px;
    min-width:0;
}

.buyer-security-avatar{
    width:52px;
    height:52px;
    flex:0 0 52px;
    border-radius:50%;
    object-fit:cover;
    border:1px solid #dce5df;
}

.buyer-security-avatar.is-placeholder{
    display:grid;
    place-items:center;
    background:#eef5f0;
    color:#3d6d51;
    font-size:20px;
}

.buyer-security-account>div{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
}

.buyer-security-account small{
    color:#89958d;
    font-size:9px;
}

.buyer-security-account strong{
    overflow:hidden;
    color:#2e4939;
    font-size:13px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.buyer-security-account span{
    overflow:hidden;
    color:#7d8a82;
    font-size:9.5px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.buyer-security-method-count{
    min-width:120px;
    padding:9px 12px;
    border-radius:11px;
    background:#f4f8f5;
    text-align:center;
}

.buyer-security-method-count strong{
    display:block;
    color:#2d6a4f;
    font-size:22px;
    line-height:1;
}

.buyer-security-method-count span{
    display:block;
    margin-top:4px;
    color:#819087;
    font-size:8.5px;
}

.buyer-security-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

.buyer-security-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    padding:20px;
    border:1px solid #dfe6e1;
    border-radius:16px;
    background:#fff;
    box-shadow:0 3px 12px rgba(37,68,48,.025);
}

.buyer-security-card.is-active{
    border-color:#cbded1;
}

.buyer-security-card-head{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:10px;
    align-items:center;
    padding-bottom:13px;
    margin-bottom:13px;
    border-bottom:1px solid #edf1ee;
}

.buyer-security-method-icon{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:#edf5ef;
    color:#2d6a4f;
    font-size:17px;
}

.buyer-security-method-icon.google{
    border:1px solid #e0e5e2;
    background:#fff;
    color:#4285f4;
    font-family:Arial,sans-serif;
    font-size:15px;
    font-weight:800;
}

.buyer-security-card-head h2{
    margin:0;
    color:#2e4939;
    font-size:14px;
}

.buyer-security-card-head p{
    overflow:hidden;
    margin:2px 0 0;
    color:#8a958f;
    font-size:9px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.buyer-security-status{
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:5px 7px;
    border-radius:999px;
    font-size:8.5px;
    font-weight:700;
    white-space:nowrap;
}

.buyer-security-status.is-on{
    background:#edf6ef;
    color:#3d7451;
}

.buyer-security-status.is-off{
    background:#f3f5f3;
    color:#87928b;
}

.buyer-security-description{
    min-height:43px;
    margin:0 0 14px;
    color:#748279;
    font-size:9.5px;
    line-height:1.6;
}

.buyer-security-password-form{
    display:grid;
    gap:11px;
    margin-top:auto;
}

.buyer-security-password-form label>span{
    display:block;
    margin-bottom:5px;
    color:#3c5345;
    font-size:10px;
    font-weight:700;
}

.buyer-security-password-form label>small{
    display:block;
    margin-top:4px;
    color:#909a94;
    font-size:8.5px;
}

.buyer-security-password-form input{
    box-sizing:border-box;
    width:100%;
    min-height:43px;
    padding:9px 11px;
    border:1px solid #d4ddd7;
    border-radius:10px;
    background:#fff;
    color:#293f32;
    font:inherit;
    font-size:11px;
    outline:0;
}

.buyer-security-password-form input:focus{
    border-color:#6f9c7d;
    box-shadow:0 0 0 3px rgba(45,106,79,.09);
}

.buyer-security-submit{
    width:100%;
    min-height:43px;
    margin-top:2px;
}

.buyer-security-google-account{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px;
    border:1px solid #dce7df;
    border-radius:12px;
    background:#f8fbf9;
}

.buyer-security-google-account>img,
.buyer-security-google-account>span{
    width:45px;
    height:45px;
    flex:0 0 45px;
    border-radius:50%;
}

.buyer-security-google-account>img{object-fit:cover}

.buyer-security-google-account>span{
    display:grid;
    place-items:center;
    background:#eaf2ec;
    color:#47715a;
}

.buyer-security-google-account>div{
    min-width:0;
    display:grid;
    gap:3px;
}

.buyer-security-google-account strong{
    overflow:hidden;
    color:#304a3a;
    font-size:10.5px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.buyer-security-google-account small{
    color:#859188;
    font-size:8.5px;
    line-height:1.45;
}

.buyer-security-warning{
    display:flex;
    gap:8px;
    align-items:flex-start;
    margin-top:12px;
    padding:10px 11px;
    border:1px solid #eadfbd;
    border-radius:10px;
    background:#fffbef;
    color:#79683b;
    font-size:9px;
    line-height:1.5;
}

.buyer-security-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:auto;
    padding-top:14px;
}

.buyer-security-actions form{
    margin:0;
}

.buyer-security-secondary,
.buyer-security-danger{
    min-height:39px;
    padding:8px 11px;
    border-radius:9px;
    font-size:9px;
    font-weight:700;
}

.buyer-security-secondary{
    border:1px solid #d6e0d9;
    background:#f8faf8;
    color:#3a5c49;
}

.buyer-security-danger{
    border:1px solid #ead6d6;
    background:#fffafa;
    color:#a04d4d;
}

.buyer-security-danger:disabled{
    opacity:.45;
    cursor:not-allowed;
}

.buyer-security-google-connect{
    width:100%;
    min-height:44px;
}

.buyer-security-helper{
    display:block;
    margin-top:8px;
    color:#89948e;
    font-size:8.5px;
    line-height:1.5;
    text-align:center;
}

.buyer-security-note{
    display:flex;
    gap:9px;
    align-items:flex-start;
    margin-top:16px;
    padding:12px 14px;
    border:1px solid #e1e7e3;
    border-radius:12px;
    background:#fbfcfb;
}

.buyer-security-note i{
    color:#3f7353;
}

.buyer-security-note p{
    margin:0;
    color:#7b8880;
    font-size:9px;
    line-height:1.6;
}

@media(max-width:780px){
    .buyer-security-grid{
        grid-template-columns:1fr;
    }

    .buyer-security-summary{
        align-items:flex-start;
        flex-direction:column;
    }

    .buyer-security-method-count{
        width:100%;
    }
}

@media(max-width:560px){
    .buyer-security-card{
        padding:16px;
    }

    .buyer-security-card-head{
        grid-template-columns:auto 1fr;
    }

    .buyer-security-status{
        grid-column:1/-1;
        justify-self:start;
    }

    .buyer-security-actions{
        display:grid;
        grid-template-columns:1fr;
    }

    .buyer-security-actions form,
    .buyer-security-actions .btn{
        width:100%;
    }
}

/* =========================================================
   V84.8 — BUYER FORGOT & RESET PASSWORD
   ========================================================= */
.buyer-forgot-link-row{
    display:flex;
    justify-content:flex-end;
    margin-top:-3px;
}
.buyer-forgot-link-row a{
    color:#3f7254;
    font-size:9.5px;
    font-weight:700;
    text-decoration:none;
}
.buyer-forgot-link-row a:hover{text-decoration:underline}

.buyer-reset-account{
    display:grid;
    gap:3px;
    margin-bottom:14px;
    padding:11px 12px;
    border:1px solid #dfe7e2;
    border-radius:10px;
    background:#f8fbf9;
}
.buyer-reset-account small{
    color:#849087;
    font-size:8.5px;
}
.buyer-reset-account strong{
    color:#304a3a;
    font-size:10.5px;
    word-break:break-word;
}

/* =========================================================
   V84.8.2 — RESET PASSWORD UX GUIDANCE & SENDING STATE
   ========================================================= */
.buyer-reset-policy-box{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:14px;
    padding:12px 13px;
    border:1px solid #dbe6df;
    border-radius:11px;
    background:#f8fbf9;
}
.buyer-reset-policy-icon{
    width:30px;
    height:30px;
    flex:0 0 30px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:#eaf4ed;
    color:#397052;
    font-size:14px;
}
.buyer-reset-policy-box strong{
    display:block;
    margin-bottom:3px;
    color:#304a3a;
    font-size:10px;
}
.buyer-reset-policy-box p{
    margin:0;
    color:#718078;
    font-size:9px;
    line-height:1.65;
}
.buyer-reset-policy-box b{color:#3d694f}

.buyer-reset-sent-card{
    display:flex;
    gap:12px;
    margin-bottom:15px;
    padding:15px;
    border:1px solid #bcd9c5;
    border-radius:13px;
    background:#f1f9f3;
    box-shadow:0 5px 16px rgba(38,92,59,.05);
}
.buyer-reset-sent-icon{
    width:42px;
    height:42px;
    flex:0 0 42px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#dff0e4;
    color:#2e714a;
    font-size:19px;
}
.buyer-reset-sent-content{min-width:0}
.buyer-reset-sent-content>strong{
    display:block;
    margin-bottom:4px;
    color:#285c40;
    font-size:12px;
}
.buyer-reset-sent-content>p{
    margin:0;
    color:#607268;
    font-size:9.5px;
    line-height:1.65;
    word-break:break-word;
}
.buyer-reset-sent-content>p b{color:#315943}
.buyer-reset-sent-tips{
    display:grid;
    gap:5px;
    margin-top:9px;
    padding-top:9px;
    border-top:1px solid #d7e9dc;
}
.buyer-reset-sent-tips span{
    display:flex;
    align-items:flex-start;
    gap:6px;
    color:#61766a;
    font-size:8.8px;
    line-height:1.45;
}
.buyer-reset-sent-tips i{color:#3e7955}

.buyer-reset-submit{
    position:relative;
    overflow:hidden;
}
.buyer-reset-submit-idle,
.buyer-reset-submit-loading{
    align-items:center;
    justify-content:center;
    gap:7px;
    width:100%;
}
.buyer-reset-submit-idle{display:flex}
.buyer-reset-submit-loading{display:none}
.buyer-reset-submit.is-loading .buyer-reset-submit-idle{display:none}
.buyer-reset-submit.is-loading .buyer-reset-submit-loading{display:flex}
.buyer-reset-submit:disabled{
    cursor:wait;
    opacity:.82;
}
.buyer-reset-spinner{
    width:15px;
    height:15px;
    flex:0 0 15px;
    border:2px solid rgba(255,255,255,.45);
    border-top-color:#fff;
    border-radius:50%;
    animation:buyerResetSpin .75s linear infinite;
}
@keyframes buyerResetSpin{
    to{transform:rotate(360deg)}
}
.buyer-reset-submit-note{
    display:flex;
    align-items:flex-start;
    gap:5px;
    margin-top:7px;
    color:#8a958f;
    font-size:8.5px;
    line-height:1.45;
}
@media(max-width:560px){
    .buyer-reset-sent-card{padding:13px}
    .buyer-reset-sent-icon{
        width:36px;
        height:36px;
        flex-basis:36px;
        font-size:16px;
    }
}



/* =========================================================
   V87.0.23 — Buyer Wishlist
   ========================================================= */
.buyer-wishlist-container{max-width:1180px}
.buyer-wishlist-head{align-items:center}
.buyer-wishlist-flash{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:14px;
    padding:11px 13px;
    border:1px solid #dce7df;
    border-radius:12px;
    background:#f7faf8;
    color:#42604d;
    font-size:11px;
}
.buyer-wishlist-flash.is-success{border-color:#cfe2d4;background:#f1f8f3;color:#2e6040}
.buyer-wishlist-flash.is-error{border-color:#ecd7d1;background:#fff7f5;color:#92523f}
.buyer-wishlist-panel{
    overflow:hidden;
    border:1px solid #e1e7e3;
    border-radius:15px;
    background:#fff;
}
.buyer-wishlist-panel .buyer-orders-panel-head>span{
    color:#7b8980;
    font-size:10px;
    font-weight:700;
}
.buyer-wishlist-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    padding:16px;
}
.buyer-wishlist-card{
    overflow:hidden;
    border:1px solid #e1e7e3;
    border-radius:14px;
    background:#fff;
}
.buyer-wishlist-image{
    display:block;
    overflow:hidden;
    background:#f1f4ed;
}
.buyer-wishlist-image img{
    width:100%;
    aspect-ratio:1/1;
    display:block;
    object-fit:cover;
    transition:transform .2s ease;
}
.buyer-wishlist-card:hover .buyer-wishlist-image img{transform:scale(1.02)}
.buyer-wishlist-body{
    display:grid;
    gap:5px;
    padding:13px;
}
.buyer-wishlist-body>small{color:#7c8a82;font-size:9px;font-weight:700}
.buyer-wishlist-body h2{margin:0;font-size:14px;line-height:1.4}
.buyer-wishlist-body h2 a{color:#294537;text-decoration:none}
.buyer-wishlist-body>span{color:#7d8982;font-size:10px}
.buyer-wishlist-body>strong{margin-top:3px;color:#244d35;font-size:13px}
.buyer-wishlist-actions{
    display:flex;
    align-items:center;
    gap:7px;
    margin-top:7px;
}
.buyer-wishlist-actions form{margin:0}
.buyer-wishlist-empty .btn{margin-top:8px}
@media(max-width:980px){.buyer-wishlist-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.buyer-wishlist-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){.buyer-wishlist-grid{grid-template-columns:1fr}.buyer-wishlist-actions>.btn,.buyer-wishlist-actions form,.buyer-wishlist-actions form .btn{flex:1 1 0;width:100%}}


/* =========================================================
   V87.0.27 — Buyer order center
   Buyer-friendly tabs and marketplace-style order cards.
   ========================================================= */
.buyer-orders-container{max-width:1180px}
.buyer-orders-head{align-items:center}
.buyer-order-tabs{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:8px;
    margin-bottom:14px;
}
.buyer-order-tab{
    min-width:0;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:7px;
    min-height:52px;
    padding:10px 11px;
    border:1px solid #dfe7e2;
    border-radius:13px;
    background:#fff;
    color:#597066;
    text-decoration:none;
    transition:border-color .15s ease,background .15s ease,color .15s ease,transform .15s ease;
}
.buyer-order-tab:hover{
    transform:translateY(-1px);
    border-color:#b8ccbf;
    background:#fbfdfb;
    color:#315d43;
}
.buyer-order-tab i{
    width:25px;
    height:25px;
    display:grid;
    place-items:center;
    border-radius:8px;
    background:#f1f6f3;
    color:#47715a;
    font-size:13px;
}
.buyer-order-tab span{
    overflow:hidden;
    font-size:11px;
    font-weight:750;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.buyer-order-tab b{
    min-width:23px;
    height:23px;
    display:grid;
    place-items:center;
    padding:0 6px;
    border-radius:999px;
    background:#f2f5f3;
    color:#6f7e76;
    font-size:9px;
}
.buyer-order-tab.is-active{
    border-color:#9fc0aa;
    background:#f0f7f2;
    color:#245a3b;
    box-shadow:0 5px 16px rgba(37,82,55,.06);
}
.buyer-order-tab.is-active i{
    background:#2d6a4f;
    color:#fff;
}
.buyer-order-tab.is-active b{
    background:#dfeee4;
    color:#285d3e;
}

.buyer-orders-modern-panel{
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
}
.buyer-order-card-list{display:grid;gap:12px}
.buyer-order-card{
    overflow:hidden;
    border:1px solid #dfe7e2;
    border-radius:15px;
    background:#fff;
    box-shadow:0 5px 18px rgba(28,54,40,.035);
}
.buyer-order-card-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:12px 15px;
    border-bottom:1px solid #edf1ee;
}
.buyer-order-store{
    min-width:0;
    display:flex;
    align-items:center;
    gap:9px;
}
.buyer-order-store>i{
    width:32px;
    height:32px;
    flex:0 0 32px;
    display:grid;
    place-items:center;
    border-radius:10px;
    background:#f0f6f2;
    color:#356347;
    font-size:14px;
}
.buyer-order-store>div{min-width:0}
.buyer-order-store strong{
    display:block;
    overflow:hidden;
    color:#284838;
    font-size:12px;
    line-height:1.4;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.buyer-order-store span{
    display:block;
    margin-top:2px;
    color:#87928c;
    font-size:9.5px;
    line-height:1.35;
}
.buyer-order-status{
    flex:0 0 auto;
    padding:6px 9px;
    border-radius:999px;
    background:#f3f5f4;
    color:#647269;
    font-size:9.5px;
    font-weight:750;
}
.buyer-order-status.is-payment{background:#fff4e8;color:#995814}
.buyer-order-status.is-shipping{background:#eef5ff;color:#456887}
.buyer-order-status.is-receiving{background:#edf8f1;color:#32704a}
.buyer-order-status.is-review{background:#fff7e5;color:#93661d}
.buyer-order-status.is-completed{background:#edf7f0;color:#326548}
.buyer-order-status.is-cancelled{background:#f5f5f5;color:#7d7d7d}
.buyer-order-status.is-refunded{background:#f2eff8;color:#6c5a87}

.buyer-order-product{
    display:grid;
    grid-template-columns:92px minmax(0,1fr);
    gap:13px;
    padding:14px 15px;
    color:inherit;
    text-decoration:none;
}
.buyer-order-product:hover{background:#fbfcfb}
.buyer-order-product img{
    width:92px;
    height:92px;
    display:block;
    border:1px solid #e5ebe7;
    border-radius:12px;
    background:#f3f6f4;
    object-fit:cover;
}
.buyer-order-product-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    gap:5px;
}
.buyer-order-product-copy strong{
    color:#294737;
    font-size:13px;
    line-height:1.45;
}
.buyer-order-product-copy>span{
    color:#78867e;
    font-size:10px;
    line-height:1.45;
}
.buyer-order-product-copy small{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:2px;
    color:#567264;
    font-size:9.5px;
    line-height:1.45;
}
.buyer-order-product-copy small.is-review{color:#92641d}

.buyer-order-card-foot{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:11px 15px 13px;
    border-top:1px solid #edf1ee;
    background:#fcfdfc;
}
.buyer-order-total{
    display:flex;
    align-items:baseline;
    gap:8px;
}
.buyer-order-total span{
    color:#7c8981;
    font-size:10px;
}
.buyer-order-total strong{
    color:#244d35;
    font-size:15px;
}
.buyer-order-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:7px;
}
.buyer-order-actions .btn{
    min-height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding-inline:12px;
    font-size:10px;
    font-weight:750;
}
.buyer-orders-empty{
    min-height:260px;
    border:1px solid #e0e7e2;
    border-radius:15px;
    background:#fff;
}
.buyer-orders-empty .btn{margin-top:8px}

@media(max-width:980px){
    .buyer-order-tabs{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}
@media(max-width:700px){
    .buyer-orders-head{align-items:flex-start}
    .buyer-order-tabs{
        display:flex;
        overflow-x:auto;
        gap:7px;
        padding-bottom:4px;
        scrollbar-width:none;
    }
    .buyer-order-tabs::-webkit-scrollbar{display:none}
    .buyer-order-tab{
        min-width:142px;
        flex:0 0 142px;
    }
    .buyer-order-card-head{
        align-items:flex-start;
    }
    .buyer-order-product{
        grid-template-columns:78px minmax(0,1fr);
        gap:11px;
    }
    .buyer-order-product img{
        width:78px;
        height:78px;
    }
    .buyer-order-card-foot{
        align-items:stretch;
        flex-direction:column;
    }
    .buyer-order-total{
        justify-content:flex-end;
    }
    .buyer-order-actions{
        width:100%;
    }
    .buyer-order-actions .btn{
        flex:1 1 0;
    }
}
@media(max-width:420px){
    .buyer-order-product{
        grid-template-columns:68px minmax(0,1fr);
    }
    .buyer-order-product img{
        width:68px;
        height:68px;
    }
    .buyer-order-store span{
        white-space:normal;
    }
}

/* V87.0.34 — Checkout member banner readability */
.buyer-checkout-signed,
.buyer-checkout-guest{
    font-size:12px;
    line-height:1.5;
}
.buyer-checkout-signed a,
.buyer-checkout-guest>a{
    font-size:11px;
}
.buyer-checkout-guest strong{
    font-size:12px;
    line-height:1.4;
}
.buyer-checkout-guest small{
    font-size:10.5px;
    line-height:1.5;
}


/* =========================================================
   V87.0.35 — Buyer Orders typography readability pass
   Keep V87.0.27 layout; improve legibility only.
   ========================================================= */
.buyer-orders-page .buyer-orders-head h1{
    font-size:clamp(30px,3.2vw,42px);
    line-height:1.18;
}
.buyer-orders-page .buyer-orders-head p{
    max-width:680px;
    font-size:13px;
    line-height:1.6;
}
.buyer-orders-page .buyer-orders-head .eyebrow{
    font-size:11px;
    line-height:1.4;
}

.buyer-orders-page .buyer-order-tab{
    min-height:56px;
}
.buyer-orders-page .buyer-order-tab i{
    width:28px;
    height:28px;
    font-size:14px;
}
.buyer-orders-page .buyer-order-tab span{
    font-size:12px;
    line-height:1.35;
}
.buyer-orders-page .buyer-order-tab b{
    min-width:25px;
    height:25px;
    font-size:10px;
}

.buyer-orders-page .buyer-order-store strong{
    font-size:13.5px;
    line-height:1.45;
}
.buyer-orders-page .buyer-order-store span{
    margin-top:3px;
    font-size:10.5px;
    line-height:1.45;
}
.buyer-orders-page .buyer-order-status{
    padding:7px 10px;
    font-size:10.5px;
    line-height:1.3;
}

.buyer-orders-page .buyer-order-product-copy strong{
    font-size:15px;
    line-height:1.5;
}
.buyer-orders-page .buyer-order-product-copy>span{
    font-size:11.5px;
    line-height:1.5;
}
.buyer-orders-page .buyer-order-product-copy small{
    font-size:10.5px;
    line-height:1.5;
}

.buyer-orders-page .buyer-order-total span{
    font-size:11px;
    line-height:1.35;
}
.buyer-orders-page .buyer-order-total strong{
    font-size:17px;
    line-height:1.3;
}
.buyer-orders-page .buyer-order-actions .btn{
    min-height:39px;
    font-size:11px;
    line-height:1.35;
}

.buyer-orders-page .buyer-orders-empty strong{
    font-size:13px;
}
.buyer-orders-page .buyer-orders-empty span{
    font-size:11px;
    line-height:1.55;
}

@media(max-width:700px){
    .buyer-orders-page .buyer-orders-head h1{
        font-size:30px;
    }
    .buyer-orders-page .buyer-orders-head p{
        font-size:12px;
    }
    .buyer-orders-page .buyer-order-tab{
        min-width:150px;
        flex-basis:150px;
    }
    .buyer-orders-page .buyer-order-tab span{
        font-size:11.5px;
    }
    .buyer-orders-page .buyer-order-store strong{
        font-size:13px;
    }
    .buyer-orders-page .buyer-order-store span{
        font-size:10px;
    }
    .buyer-orders-page .buyer-order-status{
        font-size:10px;
    }
    .buyer-orders-page .buyer-order-product-copy strong{
        font-size:14px;
    }
    .buyer-orders-page .buyer-order-product-copy>span{
        font-size:11px;
    }
    .buyer-orders-page .buyer-order-product-copy small{
        font-size:10px;
    }
    .buyer-orders-page .buyer-order-total strong{
        font-size:16px;
    }
    .buyer-orders-page .buyer-order-actions .btn{
        font-size:10.5px;
    }
}


/* =========================================================
   V87.0.37 — Buyer Orders: navigate back to purchased product
   ========================================================= */
.buyer-orders-page .buyer-order-product{
    color:inherit;
    text-decoration:none;
}
.buyer-orders-page .buyer-order-product:hover{
    background:#fbfcfb;
}
.buyer-order-product-image-link{
    display:block;
    width:92px;
    height:92px;
    border-radius:12px;
    text-decoration:none;
}
.buyer-order-product-image-link img{
    transition:transform .18s ease, box-shadow .18s ease;
}
.buyer-order-product-image-link:hover img{
    transform:scale(1.025);
    box-shadow:0 5px 14px rgba(31,59,42,.10);
}
.buyer-order-product-image-link.is-disabled{
    cursor:default;
}
.buyer-order-product-name{
    color:inherit;
    text-decoration:none;
}
.buyer-order-product-name:hover{
    color:#2d6a4f;
    text-decoration:underline;
    text-underline-offset:3px;
}
.buyer-order-product-link{
    display:inline-flex;
    align-items:center;
    gap:5px;
    margin-top:4px;
    padding:5px 8px;
    border-radius:8px;
    background:#f0f6f2;
    color:#315f43;
    font-size:10px;
    font-weight:750;
    line-height:1.35;
    text-decoration:none;
    transition:background .15s ease,color .15s ease,transform .15s ease;
}
.buyer-order-product-link:hover{
    transform:translateY(-1px);
    background:#e6f2e9;
    color:#24563a;
}
.buyer-order-product-link i{
    font-size:10px;
}

@media(max-width:700px){
    .buyer-order-product-image-link{
        width:78px;
        height:78px;
    }
    .buyer-order-product-link{
        font-size:9.8px;
    }
}
@media(max-width:420px){
    .buyer-order-product-image-link{
        width:68px;
        height:68px;
    }
}
