.buyer-detail-page{padding:24px 0 70px;background:#f3f0e8;color:#1b1b1a}.buyer-detail-breadcrumb{display:flex;align-items:center;gap:8px;min-width:0;margin-bottom:18px;color:#716d64;font-size:12px}.buyer-detail-breadcrumb a{color:#5c5548;font-weight:750}.buyer-detail-breadcrumb span[aria-current=page]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.buyer-detail-alert{margin-bottom:16px;padding:12px 15px;border:1px solid #9bcea9;border-radius:12px;background:#edf8f0;color:#25623a}.buyer-detail-alert--error{border-color:#e6adad;background:#fff0f0;color:#8d3030}.buyer-detail-marketplace{display:grid;grid-template-columns:minmax(270px,.9fr) minmax(300px,1.1fr) minmax(280px,.82fr);gap:clamp(20px,2.4vw,34px);align-items:start}.buyer-detail-gallery,.buyer-detail-summary,.buyer-purchase-panel{min-width:0}.buyer-detail-gallery__main{display:grid;place-items:center;aspect-ratio:1/1;overflow:hidden;border:1px solid #ded8ca;border-radius:20px;background:#fff;box-shadow:0 16px 40px rgba(38,31,17,.08)}.buyer-detail-gallery__main>img{width:100%;height:100%;object-fit:contain}.buyer-detail-gallery__thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:10px}.buyer-detail-gallery__thumb{aspect-ratio:1;padding:3px;overflow:hidden;border:1px solid #d8d1c2;border-radius:10px;background:#fff;cursor:pointer}.buyer-detail-gallery__thumb.is-active{border-color:#b78529;box-shadow:0 0 0 2px rgba(183,133,41,.18)}.buyer-detail-gallery__thumb img{width:100%;height:100%;object-fit:cover}.buyer-detail-summary{padding:4px 0}.buyer-detail-summary h1{margin:7px 0 10px;color:#171715;font:800 clamp(28px,3vw,43px)/1.06 Manrope,Inter,sans-serif;letter-spacing:-.04em}.buyer-detail__meta{color:#89691f;font-size:11px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.buyer-detail-rating{display:inline-flex;align-items:center;gap:5px;margin-bottom:10px;color:#76581b;font-size:13px;font-weight:800}.buyer-detail-rating span{color:#c28d28}.buyer-detail-rating small{color:#716d64;font-weight:650}.buyer-detail__lead{max-width:620px;color:#5c5a55;font-size:14px;line-height:1.65}.buyer-detail-badges{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.buyer-detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}.buyer-detail-facts div{padding:10px 12px;border:1px solid #e0dacd;border-radius:11px;background:#faf8f3}.buyer-detail-facts dt{color:#827d74;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.buyer-detail-facts dd{margin:4px 0 0;color:#272521;font-size:12px;font-weight:800}.buyer-variant-fieldset{margin:20px 0 0;padding:0;border:0}.buyer-variant-fieldset legend{margin-bottom:9px;font-size:13px;font-weight:850}.buyer-variant-options{display:flex;flex-wrap:wrap;gap:8px}.buyer-variant{min-height:38px;padding:8px 12px;border:1px solid #d2cbbd;border-radius:10px;background:#fff;color:#282622;font-size:12px;font-weight:750;cursor:pointer}.buyer-variant.is-active{border-color:#ad7c21;background:#fff6dc;box-shadow:0 0 0 2px rgba(173,124,33,.12)}.buyer-variant-fieldset>small{display:block;margin-top:8px;color:#777169}.buyer-upgrade-card{margin-top:20px;background:linear-gradient(145deg,#201c13,#0f1217);color:#fff}.buyer-purchase-panel{position:sticky;top:98px;padding:20px;border:1px solid #d9d0bd;border-radius:20px;background:#fff;box-shadow:0 20px 55px rgba(44,34,15,.11)}.buyer-purchase-panel__eyebrow{color:#76653a;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.buyer-purchase-panel__price{display:block;margin:7px 0;color:#1a1916;font-size:clamp(25px,2.3vw,34px);letter-spacing:-.035em}.buyer-purchase-panel__saving{color:#6b675f;font-size:11px;line-height:1.45}.buyer-purchase-panel__offer{display:grid;gap:4px;margin:14px 0;padding:11px;border:1px solid #e1c47a;border-radius:12px;background:#fff8e5}.buyer-purchase-panel__offer span{color:#815f15;font-size:10px;font-weight:900}.buyer-purchase-panel__offer strong{font-size:12px}.buyer-purchase-panel__offer small{color:#756a53;font-size:10px}.buyer-status{margin:15px 0 12px;color:#217244;font-size:12px;font-weight:850}.buyer-status--out{color:#ad3434}.buyer-purchase-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.buyer-purchase-actions form,.buyer-purchase-actions button{width:100%}.buyer-purchase-actions .buyer-button{min-height:45px;padding:10px 8px;border-radius:12px;font-size:11px}.buyer-purchase-actions button:disabled{cursor:not-allowed;filter:grayscale(.5);opacity:.5}.buyer-store-identity{display:grid;gap:3px;margin-top:16px;padding:12px;border-left:3px solid #c99a3e;background:#f7f3e9}.buyer-store-identity strong{font-size:12px}.buyer-store-identity span{color:#777168;font-size:10px}.buyer-fulfilment-summary{display:grid;gap:7px;margin-top:14px;color:#393630;font-size:11px}.buyer-fulfilment-summary span{font-weight:750}.buyer-fulfilment-summary p{margin-top:3px;color:#777168;font-size:10px;line-height:1.45}.buyer-policy-summary{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.buyer-policy-summary span{padding:6px 8px;border:1px solid #dfd8ca;border-radius:999px;background:#faf8f3;color:#5c574e;font-size:9px;font-weight:750}.buyer-detail-content{display:grid;gap:16px;margin-top:34px}.buyer-detail-section{padding:clamp(20px,3vw,30px);border:1px solid #ddd6c8;border-radius:18px;background:#fff;box-shadow:0 12px 35px rgba(40,31,15,.055)}.buyer-detail-section h2,.buyer-detail-similar h2{margin:0 0 17px;color:#1b1a17;font:800 clamp(21px,2.3vw,30px) Manrope,Inter,sans-serif}.buyer-detail__description{max-width:900px;color:#56534e;line-height:1.75}.buyer-specifications{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #eee9df}.buyer-specifications div{display:grid;grid-template-columns:minmax(100px,.45fr) 1fr;gap:15px;padding:12px 4px;border-bottom:1px solid #eee9df}.buyer-specifications dt{color:#777169;font-size:12px;font-weight:750}.buyer-specifications dd{margin:0;color:#24221e;font-size:12px;font-weight:750}.buyer-detail-section .buyer-policy-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.buyer-detail-section .buyer-policy{border-color:#e3ddcf;background:#faf8f3;color:#292722}.buyer-detail-section .buyer-policy p{color:#68635b}.buyer-detail-section .buyer-review-summary{border-color:#e1dacb;background:#faf8f3;color:#24221f}.buyer-detail-section .buyer-review{border-color:#ece6da;color:#2d2b27}.buyer-detail-section .buyer-review p,.buyer-detail-section .buyer-review-summary__score small,.buyer-detail-section .buyer-rating-row{color:#68635b}.buyer-detail-section .buyer-review-form input,.buyer-detail-section .buyer-review-form select,.buyer-detail-section .buyer-review-form textarea{border-color:#dcd5c8;background:#faf8f3;color:#222}.buyer-detail-similar{padding-top:22px}.buyer-component{color:#2a2823;border-color:#e3ddcf}.buyer-component p{color:#6b675f}.buyer-detail-similar .buyer-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1100px){.buyer-detail-marketplace{grid-template-columns:minmax(280px,.9fr) minmax(340px,1.1fr)}.buyer-purchase-panel{position:static;grid-column:1/-1;display:grid;grid-template-columns:1.1fr 1fr;gap:12px 20px}.buyer-purchase-panel__eyebrow,.buyer-purchase-panel__price,.buyer-purchase-panel__saving,.buyer-purchase-panel__offer,.buyer-status{grid-column:1}.buyer-purchase-actions,.buyer-store-identity,.buyer-fulfilment-summary,.buyer-policy-summary{grid-column:2}.buyer-purchase-actions{grid-row:1/3;align-self:start}.buyer-detail-similar .buyer-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.buyer-detail-page{padding-top:16px}.buyer-detail-marketplace{grid-template-columns:1fr}.buyer-detail-summary{padding-top:0}.buyer-purchase-panel{display:block}.buyer-purchase-panel__eyebrow,.buyer-purchase-panel__price,.buyer-purchase-panel__saving,.buyer-purchase-panel__offer,.buyer-status,.buyer-purchase-actions,.buyer-store-identity,.buyer-fulfilment-summary,.buyer-policy-summary{grid-column:auto;grid-row:auto}.buyer-detail-section .buyer-policy-grid{grid-template-columns:1fr}.buyer-specifications{grid-template-columns:1fr}.buyer-detail-similar .buyer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.buyer-detail-page{padding-bottom:50px}.buyer-detail-marketplace{gap:18px}.buyer-detail-gallery__main{border-radius:15px}.buyer-detail-gallery__thumbs{grid-template-columns:repeat(4,minmax(0,1fr))}.buyer-detail-summary h1{font-size:29px}.buyer-detail-facts{grid-template-columns:1fr 1fr}.buyer-purchase-panel{padding:16px;border-radius:16px}.buyer-purchase-panel__price{font-size:26px}.buyer-purchase-actions{position:sticky;bottom:8px;z-index:15;margin-inline:-8px;padding:8px;border:1px solid rgba(202,160,66,.35);border-radius:14px;background:rgba(255,255,255,.94);box-shadow:0 13px 35px rgba(0,0,0,.2);backdrop-filter:blur(12px)}.buyer-detail-section{padding:18px 15px}.buyer-specifications div{grid-template-columns:110px 1fr}.buyer-detail-similar .buyer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.buyer-detail-gallery__thumb,.buyer-variant{transition:none}}

/* Founder-approved final information hierarchy and purchase-panel containment. */
.buyer-detail-rating span{letter-spacing:.02em}.buyer-detail-facts{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0}.buyer-detail-facts div{display:flex;align-items:baseline;gap:6px;padding:7px 9px;border-radius:999px}.buyer-detail-facts dd{margin:0;font-size:11px}.buyer-purchase-panel{min-width:0}.buyer-status{display:flex;flex-wrap:wrap}.buyer-status__sold{color:#6b675f}.buyer-purchase-actions{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}.buyer-purchase-actions form,.buyer-purchase-actions button{min-width:0}.buyer-purchase-actions .buyer-button{padding:9px 6px;font-size:10px;line-height:1.2;text-align:center;white-space:normal}.buyer-detail-content{gap:14px;margin-top:30px}.buyer-detail-section{padding:clamp(17px,2.2vw,24px);border-radius:16px;box-shadow:0 10px 28px rgba(40,31,15,.045)}.buyer-detail__description{max-width:820px;line-height:1.65}.buyer-detail-section .buyer-policy-grid{gap:10px}.buyer-detail-section .buyer-policy{min-height:0;padding:15px}.buyer-detail-similar .buyer-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.product-rating-summary{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;color:#76581b}.product-rating-stars{position:relative;display:inline-block;width:5.45em;overflow:hidden;white-space:nowrap;font-size:1.05em;line-height:1}.product-rating-stars__empty{color:#9f998d}.product-rating-stars__fill{position:absolute;inset:0 auto 0 0;overflow:hidden;color:#c28d28;white-space:nowrap}.product-rating-summary strong{color:#3b3323;font-size:13px}.product-rating-summary small{color:#716d64;font-weight:650}.product-rating-summary--compact{font-size:13px}.buyer-detail-about{display:grid;gap:11px;margin-top:18px;padding-top:17px;border-top:1px solid #ddd5c5}.buyer-detail-about h2{margin:0;color:#211f1b;font:800 18px/1.25 Manrope,Inter,sans-serif}.buyer-detail-about p{margin:0;color:#595650;font-size:13px;line-height:1.7;white-space:pre-line}.buyer-detail-about dl{margin:0}.buyer-detail-about dl div{display:flex;gap:8px;align-items:baseline}.buyer-detail-about dt{color:#777169;font-size:11px;font-weight:750}.buyer-detail-about dd{margin:0;color:#24221e;font-size:12px;font-weight:800}
@media(min-width:1540px){.buyer-detail-similar .buyer-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:520px){.buyer-detail-facts{display:flex}.buyer-purchase-actions{grid-template-columns:1fr}}
@media(max-width:760px){.buyer-detail-about{margin-top:14px;padding-top:14px}.buyer-detail-about p{font-size:12px;line-height:1.65}.product-rating-summary{align-items:flex-start}.product-rating-stars{flex:0 0 5.45em}}

/* Genuine gallery strip: no placeholders, horizontal overflow only when needed. */
.buyer-detail-gallery__thumbs{display:flex;gap:8px;max-width:100%;overflow-x:auto;padding:3px 3px 7px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#b78529 #e8e2d7}
.buyer-detail-gallery__thumb{flex:0 0 calc((100% - 40px)/6);min-width:54px;scroll-snap-align:start;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.buyer-detail-gallery__thumb{position:relative}.buyer-detail-gallery__gift-label{position:absolute;inset:auto 3px 3px;overflow:hidden;padding:2px 3px;border-radius:5px;background:rgba(20,17,12,.88);color:#f4c95d;font-size:clamp(6px,1.4vw,8px);font-weight:900;line-height:1.15;letter-spacing:.03em;text-align:center;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
.buyer-detail-gallery__thumb.is-active{transform:translateY(-1px);border-color:#b78529;box-shadow:0 0 0 2px rgba(183,133,41,.22),0 7px 18px rgba(78,54,13,.12)}
.buyer-detail-gallery__main{touch-action:pan-y}
@media(max-width:760px){
    .buyer-detail-breadcrumb{margin-bottom:10px}
    .buyer-detail-marketplace{gap:13px}
    .buyer-detail-gallery__main{max-height:390px;aspect-ratio:4/3}
    .buyer-detail-gallery__thumb{flex-basis:calc((100% - 32px)/5)}
    .buyer-detail-summary h1{margin-block:5px 7px}
    .buyer-detail__lead{font-size:12px;line-height:1.5}
    .buyer-detail-badges{margin:10px 0}
    .buyer-detail-facts{margin:10px 0}
    .buyer-variant-fieldset{margin-top:13px}
    .buyer-upgrade-card{margin-top:13px;padding:14px}
}
.buyer-detail-summary .combo-period--detail{border-color:#dec986;background:#fff8e5;color:#24211a}.buyer-detail-summary .combo-period__dates dt{color:#756a53}.buyer-detail-summary .combo-period__dates dd{color:#413820}.buyer-detail-summary .combo-period__status--active{color:#217244}.buyer-detail-summary .combo-period__status--ending_soon{color:#8a6312}.buyer-detail-summary .combo-period__status--upcoming{color:#315f8d}.buyer-detail-summary .combo-period__status--ended{color:#9a4141}
@media(max-width:520px){
    .buyer-detail-page{padding-top:10px;padding-bottom:calc(106px + env(safe-area-inset-bottom))}
    .buyer-detail-gallery__main{max-height:285px;aspect-ratio:4/3}
    .buyer-detail-gallery__thumbs{gap:6px;margin-top:7px}
    .buyer-detail-gallery__thumb{flex-basis:calc((100% - 24px)/5);min-width:50px;border-radius:8px}
    .buyer-detail-summary h1{font-size:25px}
    .buyer-detail__meta{font-size:9px}
    .buyer-detail-rating{margin-bottom:6px;font-size:11px}
    .buyer-detail-facts div{padding:5px 7px}
    .buyer-detail-content{margin-top:22px}
    .buyer-purchase-actions{position:static;z-index:auto;grid-template-columns:repeat(2,minmax(0,1fr));margin:12px -8px 0;padding:8px;border:1px solid rgba(202,160,66,.42);border-radius:15px;background:rgba(255,255,255,.97);box-shadow:0 13px 38px rgba(0,0,0,.18)}
    .buyer-purchase-actions .buyer-button{min-height:46px;font-size:11px}
    .buyer-purchase-actions form{min-width:0}
    body:has(.buyer-detail-page) .buyer-feedback{bottom:calc(82px + env(safe-area-inset-bottom))}
}

/* LORVEX Member Benefit Card */
.buyer-member-benefit{
    display:grid;
    gap:7px;
    margin:14px 0;
    padding:14px;
    border:1px solid rgba(183,133,41,.35);
    border-radius:14px;
    background:
        linear-gradient(145deg,#fff9e8,#fffdf8);
    box-shadow:0 8px 24px rgba(80,58,15,.08);
}

.buyer-member-benefit small{
    color:#8a6618;
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.buyer-member-benefit strong{
    color:#1c1915;
    font-size:15px;
    font-weight:850;
    line-height:1.3;
}

.buyer-member-benefit span{
    color:#6b5a35;
    font-size:13px;
    font-weight:750;
}

.buyer-member-benefit a{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    width:max-content;
    max-width:100%;
    margin-top:4px;
    padding:9px 14px;
    border-radius:10px;
    background:#c99a3e;
    color:#fff;
    text-decoration:none;
    font-size:11px;
    font-weight:850;
}

.buyer-member-benefit a:hover{
    background:#ae7d20;
}

@media(max-width:1024px){

    .buyer-member-benefit{
        padding:13px;
    }

}


@media(max-width:640px){

    .buyer-member-benefit{
        margin:12px 0;
        padding:12px;
    }

    .buyer-member-benefit strong{
        font-size:14px;
    }

    .buyer-member-benefit span{
        font-size:12px;
    }

    .buyer-member-benefit a{
        width:100%;
    }

}



/* Founder-approved member benefit visual polish */
.buyer-member-benefit{
    margin:14px 0 12px;
    padding:14px 15px;
    border:1px solid rgba(190,150,55,.26);
    border-radius:14px;
    background:linear-gradient(135deg,#fffaf1 0%,#f7efd9 100%);
    box-shadow:0 10px 24px rgba(122,90,16,.06);
}

.buyer-member-benefit__label{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:8px;
    color:#6f5511;
    font-size:11px;
    font-weight:900;
    letter-spacing:.085em;
    text-transform:uppercase;
}

.buyer-member-benefit__spark{
    width:10px;
    height:10px;
    border-radius:999px;
    display:inline-block;
    flex:0 0 auto;
    background:radial-gradient(circle at 35% 35%, #fff8d6 0%, #e8c35b 46%, #b78318 100%);
    box-shadow:0 0 0 3px rgba(232,195,91,.18);
}

.buyer-member-benefit strong{
    display:block;
    color:#2d2414;
}

.buyer-member-benefit__value{
    display:block;
    margin-top:5px;
    color:#5f4b20;
    font-weight:700;
}

.buyer-member-benefit a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:12px;
    padding:10px 14px;
    border-radius:11px;
    background:#c79a35;
    color:#fff;
    font-weight:800;
    text-decoration:none;
    box-shadow:0 8px 18px rgba(140,102,22,.16);
}

.buyer-member-benefit a:hover{
    background:#b98b27;
    color:#fff;
}

/* Authoritative MRP to current-role payable-price hierarchy. */
.buyer-purchase-panel__price-hierarchy{display:grid;gap:8px;min-width:0}
.buyer-purchase-panel__price-hierarchy [hidden]{display:none!important}
.buyer-purchase-panel__price-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}
.buyer-purchase-panel__mrp{display:inline-flex;align-items:baseline;gap:6px;margin:0;color:#5f5b53;font-size:12px;font-weight:750;line-height:1.4;white-space:nowrap}
.buyer-purchase-panel__mrp strong{color:#3d3932;font-weight:800;white-space:nowrap}
.buyer-purchase-panel__percentage{display:inline-flex;align-items:center;width:max-content;max-width:100%;min-height:38px;padding:7px 12px;border:1px solid #b8892d;border-radius:999px;background:#fff4d4;color:#65460d;font-size:clamp(14px,1.1vw,15px);font-weight:900;line-height:1.25;overflow-wrap:anywhere}
.buyer-purchase-panel__price{color:#a87418}
.buyer-purchase-panel__saving{display:flex;width:max-content;max-width:100%;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:0;padding:8px 10px;border:1px solid #8fc99f;border-radius:10px;background:#eaf7ed;color:#1d6537;font-size:11px;font-weight:800;line-height:1.35}
.buyer-purchase-panel__saving strong{color:#174f2d;white-space:nowrap}

@media(max-width:1100px){.buyer-purchase-panel__price-hierarchy{grid-column:1}}
@media(min-width:761px) and (max-width:820px){.buyer-purchase-panel__mrp{gap:4px;font-size:11px}}
@media(max-width:760px){.buyer-purchase-panel__price-hierarchy{grid-column:auto;grid-row:auto}}
@media(max-width:390px){.buyer-purchase-panel__price-meta{gap:7px 9px}.buyer-purchase-panel__percentage{min-height:36px;padding:6px 10px;font-size:14px}}

/* Founder-approved single-markup dynamic Product Detail grid. */
.buyer-detail-marketplace{
    grid-template-areas:
        "gallery main main"
        "supplemental main main";
}
.buyer-detail-gallery{grid-area:gallery}
.buyer-detail-main-flow{grid-area:main;display:grid;grid-template-columns:minmax(300px,1.1fr) minmax(280px,.82fr);grid-template-areas:"information purchase" "about purchase";gap:18px clamp(20px,2.4vw,34px);min-width:0;align-self:start}
.buyer-detail-summary{grid-area:information;min-width:0}
.buyer-detail-purchase-column{grid-area:purchase;min-width:0;align-self:start;position:sticky;top:98px}
.buyer-detail-purchase-column .buyer-purchase-panel{position:static}
.buyer-detail-purchase-column .buyer-variant-fieldset{margin:0 0 12px;padding:14px;border:1px solid #d9d0bd;border-radius:16px;background:#fff;box-shadow:0 12px 30px rgba(44,34,15,.07)}
.buyer-detail-about{grid-area:about;align-self:start;min-width:0;margin:0;padding:18px;border:1px solid #ddd6c8;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(40,31,15,.045);--about-preview-height:210px}
.buyer-detail-about__content{min-width:0}
.buyer-detail-about__content p{overflow-wrap:anywhere}
.buyer-detail-about__content.is-collapsible{position:relative}
.buyer-detail-about__content.is-collapsible.is-collapsed{max-height:var(--about-preview-height);overflow:hidden;mask-image:linear-gradient(to bottom,#000 78%,transparent);-webkit-mask-image:linear-gradient(to bottom,#000 78%,transparent)}
.buyer-detail-about__toggle{min-height:44px;width:max-content;max-width:100%;padding:9px 14px;border:1px solid #b78529;border-radius:10px;background:#fff8e4;color:#765515;font-size:12px;font-weight:850;cursor:pointer}
.buyer-detail-about__toggle:hover{background:#f8edcf}
.buyer-detail-summary-expander{--summary-preview-height:0px;max-width:620px}
.buyer-detail-summary-expander .buyer-detail__lead{margin-bottom:0;overflow-wrap:anywhere}
.buyer-detail-summary-expander .buyer-detail__lead.is-collapsible{position:relative}
.buyer-detail-summary-expander .buyer-detail__lead.is-collapsible.is-collapsed{max-height:var(--summary-preview-height);overflow:hidden;mask-image:linear-gradient(to bottom,#000 72%,transparent);-webkit-mask-image:linear-gradient(to bottom,#000 72%,transparent)}
.buyer-detail-summary-expander__toggle{min-height:38px;margin-top:7px;padding:6px 11px;border:1px solid #b78529;border-radius:9px;background:#fff8e4;color:#765515;font-size:11px;font-weight:850;cursor:pointer}
.buyer-detail-summary-expander__toggle:hover{background:#f8edcf}
.buyer-detail-summary-expander__toggle:focus-visible{outline:3px solid rgba(183,133,41,.42);outline-offset:2px}
.buyer-detail-supplemental{grid-area:supplemental;display:grid;gap:12px;align-self:start;min-width:0}
.buyer-badge--new{border:1px solid rgba(14,116,144,.24);background:#e6f7fb;color:#07566b}
.buyer-detail-compact-card{min-width:0;padding:15px;border:1px solid #ddd6c8;border-radius:15px;background:#fff;box-shadow:0 9px 24px rgba(40,31,15,.045)}
.buyer-detail-compact-card h2{margin:0 0 11px;color:#211f1b;font:800 15px/1.3 Manrope,Inter,sans-serif}
.buyer-detail-compact-list{display:grid;margin:0}
.buyer-detail-compact-list div{display:grid;grid-template-columns:minmax(86px,.42fr) minmax(0,1fr);gap:10px;padding:9px 0;border-top:1px solid #eee9df}
.buyer-detail-compact-list dt{color:#777169;font-size:10px;font-weight:800}
.buyer-detail-compact-list dd{min-width:0;margin:0;color:#292620;font-size:11px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}

@media(max-width:1100px){
    .buyer-detail-marketplace{grid-template-areas:"gallery information" "purchase purchase" "about about" "supplemental supplemental"}
    .buyer-detail-main-flow{display:contents}
    .buyer-detail-purchase-column{position:static;display:grid;grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr);gap:16px}
    .buyer-detail-purchase-column .buyer-variant-fieldset{margin:0}
    .buyer-detail-purchase-column .buyer-purchase-panel{grid-column:2}
    .buyer-detail-about{--about-preview-height:190px}
    .buyer-detail-summary-expander{--summary-preview-height:92.4px}
    .buyer-detail-supplemental{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:820px){
    .buyer-detail-purchase-column{display:flex;flex-direction:column}
    .buyer-detail-purchase-column .buyer-purchase-panel{grid-column:auto}
}

@media(max-width:760px){
    .buyer-detail-marketplace{grid-template-areas:"gallery" "information" "purchase" "about" "supplemental"}
    .buyer-detail-about{--about-preview-height:180px;padding:16px 15px}
    .buyer-detail-summary-expander{--summary-preview-height:72px}
    .buyer-detail-supplemental{grid-template-columns:1fr}
}

@media(max-width:520px){
    .buyer-detail-about,.buyer-detail-compact-card{padding:14px;border-radius:14px}
    .buyer-detail-about__toggle{width:100%}
    .buyer-detail-summary-expander{--summary-preview-height:54px}
    .buyer-detail-compact-list div{grid-template-columns:minmax(78px,.4fr) minmax(0,1fr);gap:8px}
}

/* Product Detail image viewer and watermarked public-gallery controls. */
.buyer-detail-gallery button.buyer-detail-gallery__main{
    width:100%;
    padding:0;
    color:inherit;
    cursor:zoom-in;
}

.buyer-detail-gallery__main:focus-visible{
    outline:3px solid rgba(183,133,41,.72);
    outline-offset:4px;
}

.buyer-detail-gallery__stage{position:relative;min-width:0}
.buyer-detail-gallery__gift-preview{position:absolute;right:12px;bottom:12px;z-index:3;display:grid;width:clamp(72px,23%,96px);overflow:hidden;padding:5px;border:1px solid rgba(183,133,41,.75);border-radius:13px;background:rgba(14,13,10,.94);box-shadow:0 12px 30px rgba(30,22,8,.32);cursor:pointer}
.buyer-detail-gallery__gift-preview>span{overflow:hidden;padding:1px 2px 5px;color:#f3cf70;font-size:8px;font-weight:900;line-height:1.15;letter-spacing:.04em;text-align:center;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
.buyer-detail-gallery__gift-preview>img{display:block;width:100%;aspect-ratio:1;object-fit:contain;border-radius:8px;background:#fff}
.buyer-detail-gallery__gift-preview:hover{border-color:#d6a846;transform:translateY(-1px)}
.buyer-detail-gallery__gift-preview[aria-pressed=true]{border-color:#b78529;box-shadow:0 0 0 3px rgba(183,133,41,.2),0 12px 30px rgba(30,22,8,.32)}
.buyer-detail-gallery__gift-preview:focus-visible{outline:3px solid rgba(183,133,41,.72);outline-offset:3px}

@media(max-width:520px){.buyer-detail-gallery__gift-preview{right:8px;bottom:8px;width:clamp(60px,22%,72px);padding:4px;border-radius:10px}.buyer-detail-gallery__gift-preview>span{padding-bottom:4px;font-size:6.5px}.buyer-detail-gallery__gift-preview>img{border-radius:6px}}

.buyer-detail-gallery__main>.buyer-image-fallback{
    width:100%;
    height:100%;
}

/* Author display rules must never override the gallery's native hidden state. */
.buyer-detail-gallery [data-gallery-fallback][hidden],
.buyer-image-lightbox [data-lightbox-fallback][hidden]{
    display:none!important;
}

html.buyer-lightbox-open{
    overflow:hidden;
}

.buyer-image-lightbox{
    width:min(1180px,calc(100vw - 40px));
    max-width:none;
    height:min(860px,calc(100dvh - 40px));
    max-height:none;
    margin:auto;
    padding:0;
    overflow:hidden;
    border:1px solid rgba(221,181,88,.42);
    border-radius:20px;
    background:#090a0c;
    color:#f8f4ea;
    box-shadow:0 32px 100px rgba(0,0,0,.72);
}

.buyer-image-lightbox::backdrop{
    background:rgba(2,3,4,.86);
    backdrop-filter:blur(8px);
}

.buyer-image-lightbox__shell{
    display:grid;
    grid-template-rows:auto minmax(0,1fr) auto;
    height:100%;
    min-width:0;
}

.buyer-image-lightbox__header,
.buyer-image-lightbox__footer{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    padding:12px 16px;
    background:#111317;
}

.buyer-image-lightbox__header{
    border-bottom:1px solid rgba(255,255,255,.1);
}

.buyer-image-lightbox__header strong{
    min-width:0;
    overflow:hidden;
    color:#f8f4ea;
    font-size:14px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.buyer-image-lightbox__header>span{
    margin-left:auto;
    color:#d9bd74;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}

.buyer-image-lightbox button,
.buyer-image-lightbox__download{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:44px;
    min-height:44px;
    border:1px solid rgba(239,207,127,.36);
    border-radius:12px;
    background:#191b1f;
    color:#f8f4ea;
    font-weight:850;
    cursor:pointer;
}

.buyer-image-lightbox button:focus-visible,
.buyer-image-lightbox__download:focus-visible{
    outline:3px solid #f0d58a;
    outline-offset:2px;
}

.buyer-image-lightbox__close{
    flex:0 0 auto;
    font-size:27px;
    line-height:1;
}

.buyer-image-lightbox__stage{
    position:relative;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    min-width:0;
    min-height:0;
    overflow:hidden;
    background:radial-gradient(circle at center,#24262b 0%,#0b0c0e 70%);
}

.buyer-image-lightbox__viewport{
    display:grid;
    place-items:center;
    width:100%;
    height:100%;
    min-width:0;
    min-height:0;
    overflow:auto;
    touch-action:pinch-zoom;
}

.buyer-image-lightbox__viewport img{
    max-width:min(100%,1080px);
    max-height:calc(100dvh - 190px);
    object-fit:contain;
    transform-origin:center;
    transition:transform .16s ease;
    user-select:none;
    -webkit-user-drag:none;
}

.buyer-image-lightbox__viewport p{
    color:#f1d58b;
    font-weight:800;
    text-align:center;
}

.buyer-image-lightbox__nav{
    position:relative;
    z-index:2;
    margin:12px;
    font-size:30px;
}

.buyer-image-lightbox__footer{
    justify-content:space-between;
    border-top:1px solid rgba(255,255,255,.1);
}

.buyer-image-lightbox__zoom{
    display:flex;
    gap:8px;
}

.buyer-image-lightbox__zoom button{
    padding-inline:13px;
}

.buyer-image-lightbox__download{
    min-width:150px;
    padding:10px 16px;
    background:linear-gradient(135deg,#efd17e,#bd8828);
    color:#15110a;
}

@media(max-width:768px){
    .buyer-image-lightbox{
        width:calc(100vw - 24px);
        height:calc(100dvh - 24px);
        border-radius:16px;
    }

    .buyer-image-lightbox__header,
    .buyer-image-lightbox__footer{
        padding:10px 12px;
    }

    .buyer-image-lightbox__viewport img{
        max-height:calc(100dvh - 178px);
    }

    .buyer-image-lightbox__nav{
        margin:8px;
    }
}

@media(max-width:520px){
    .buyer-image-lightbox{
        width:100vw;
        height:100dvh;
        border:0;
        border-radius:0;
    }

    .buyer-image-lightbox__header{
        padding-top:calc(10px + env(safe-area-inset-top));
    }

    .buyer-image-lightbox__header strong{
        white-space:normal;
    }

    .buyer-image-lightbox__stage{
        grid-template-columns:52px minmax(0,1fr) 52px;
    }

    .buyer-image-lightbox__nav{
        margin:4px;
    }

    .buyer-image-lightbox__viewport img{
        max-width:100%;
        max-height:calc(100dvh - 190px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    }

    .buyer-image-lightbox__footer{
        flex-wrap:wrap;
        padding-bottom:calc(10px + env(safe-area-inset-bottom));
    }

    .buyer-image-lightbox__zoom{
        flex:1 1 auto;
    }

    .buyer-image-lightbox__zoom button{
        flex:1;
    }

    .buyer-image-lightbox__download{
        flex:1 0 100%;
        min-width:0;
    }
}

@media(prefers-reduced-motion:reduce){
    .buyer-image-lightbox__viewport img{
        transition:none;
    }
}

/* Founder-approved Similar Products layout. Kept local to Product Detail so the shared card stays reusable. */
.buyer-detail-similar{
    min-width:0;
    padding-top:24px;
}

.buyer-detail-similar .buyer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));
    grid-auto-rows:1fr;
    gap:14px;
    align-items:stretch;
}

.buyer-detail-similar .buyer-card{
    height:100%;
    min-width:0;
    border-radius:15px;
}

.buyer-detail-similar .buyer-card__media{
    aspect-ratio:4/3;
}

.buyer-detail-similar .buyer-card__body{
    display:flex;
    flex:1;
    flex-direction:column;
    min-width:0;
    padding:12px;
}

.buyer-detail-similar .buyer-card__category{
    overflow:hidden;
    font-size:9px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.buyer-detail-similar .buyer-card h3{
    display:-webkit-box;
    min-height:2.7em;
    margin:6px 0;
    overflow:hidden;
    color:#f7f2e8;
    font-size:14px;
    line-height:1.35;
    overflow-wrap:anywhere;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}

.buyer-detail-similar .buyer-card h3 a{
    color:inherit;
}

.buyer-detail-similar .buyer-card__price{
    min-height:58px;
    margin:9px 0 7px;
}

.buyer-detail-similar .buyer-card__price strong{
    font-size:17px;
    overflow-wrap:anywhere;
}

.buyer-detail-similar .buyer-card__offer-meta{
    grid-template-columns:minmax(0,1fr);
    margin-bottom:10px;
    padding:8px;
}

.buyer-detail-similar .buyer-card__offer-meta strong{
    text-align:left;
    overflow-wrap:anywhere;
}

.buyer-detail-similar .buyer-card__stock{
    margin-bottom:8px;
}

.buyer-detail-similar .buyer-card__action{
    min-height:36px;
    margin-top:auto;
    padding-top:8px;
    font-size:11px;
}

@media(max-width:760px) and (min-width:521px){
    .buyer-detail-similar .buyer-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:12px;
    }
}

@media(max-width:520px){
    .buyer-detail-similar{
        padding-top:20px;
    }

    .buyer-detail-similar .buyer-grid{
        display:flex;
        gap:14px;
        max-width:100%;
        padding:2px 10px calc(94px + env(safe-area-inset-bottom));
        overflow-x:auto;
        overflow-y:hidden;
        overscroll-behavior-inline:contain;
        scroll-padding-inline:10px;
        scroll-snap-type:x mandatory;
        scrollbar-width:thin;
        -webkit-overflow-scrolling:touch;
    }

    .buyer-detail-similar .buyer-card{
        flex:0 0 clamp(165px,45vw,175px);
        height:auto;
        scroll-snap-align:start;
        scroll-snap-stop:normal;
    }

    .buyer-detail-similar .buyer-card__body{
        padding:11px;
    }

    .buyer-detail-similar .buyer-card h3{
        min-height:2.7em;
        font-size:13px;
    }

    .buyer-detail-similar .buyer-card__price{
        min-height:54px;
    }
}
