.customer {
    --ink:#222e28; --body:#344038; --muted:#55635b; --teal:#195c46; --deep-teal:#104635;
    --mint:#edf4ee; --paper:#fff; --border:#dce2db; --radius:12px;
    font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}
.customer .shell { max-width:1232px; }
.customer .narrow { max-width:710px; }
.customer :is(input, select, textarea) { font-size:1rem; }
.customer main { overflow-wrap:anywhere; }
.customer :is(button,a,input,select,summary) { scroll-margin-block:1rem; }
.customer a:any-link, .customer a:any-link:hover, .customer .text-button { text-decoration:none; }
.customer :where(p, .flash) a:not(.button), .customer .text-button { font-weight:650; }
.customer .button { gap:.55rem; min-height:46px; padding-inline:1.2rem; font-size:.95rem; border-radius:7px; }
.customer .button.outline { border-color:#9eb2a7; }
.service-strip { background:#174c3a; color:#fff; font-size:.82rem; }
.service-strip .shell,.compact-head .shell { display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.service-strip :is(a,span),.compact-head a { display:inline-flex; align-items:center; gap:.55rem; }
.service-strip :is(a,span) { min-height:32px; color:inherit; text-decoration:none; }
.service-strip .ui-icon { width:15px; height:15px; }
.customer .header .head-main { min-height:82px; grid-template-columns:180px minmax(0,1fr) auto; gap:clamp(1rem,4vw,4rem); }
.customer .header .logo img { width:177px; }
.customer .header .search { background:#f7f8f5; border-radius:7px; max-width:38rem; margin:0 auto; }
.customer .head-link { color:#2c3e32; }
.customer .head-actions .cart-link { background:white; }
.customer .cart-count { background:#e3eee5; color:#184b38; font-size:.8rem; padding:.08rem .4rem; }
.customer .nav-inner { gap:1rem; min-height:47px; }
.customer .nav-inner a { font-weight:550; }
.customer .nav-inner > a { padding-inline:.55rem; border-radius:.4rem; }
.customer .nav-inner [aria-current] { background:var(--mint); color:var(--deep-teal); font-weight:700; }
.customer .nav-inner .orders-link { margin-left:auto; }
.store-menu { display:none; position:relative; z-index:5; }
.store-menu summary { list-style:none; display:flex; align-items:center; gap:.5rem; cursor:pointer; }
.store-menu summary::-webkit-details-marker { display:none; }
.store-menu nav { position:absolute; top:100%; left:0; min-width:235px; max-height:70dvh; overflow-y:auto; background:white; border:1px solid var(--border); border-radius:8px; box-shadow:0 8px 30px #173a271e; padding:.75rem; }
.store-menu a { display:flex; align-items:center; min-height:44px; padding:0 .6rem; text-decoration:none; }
.store-menu hr { margin:.45rem 0; }
.compact-head { background:#fff; border-bottom:1px solid var(--border); }
.compact-head .shell { min-height:68px; }
.compact-head a { min-height:44px; font-weight:600; text-decoration:none; }
.compact-head .logo img { width:145px; }
.editorial { isolation:isolate; overflow:hidden; border-radius:14px; margin-block:24px 0; position:relative; background:#ece7dd; display:flex; align-items:center; }
.editorial > img { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:center; }
.editorial-copy { max-width:51%; padding:clamp(30px,4vw,64px); }
.eyebrow,.customer .card-category { font-size:.76rem; font-weight:700; letter-spacing:.105em; text-transform:uppercase; color:var(--deep-teal); }
.editorial h1 { font:500 clamp(2.6rem,4.15vw,4.15rem)/1.02 Georgia,"Times New Roman",serif; letter-spacing:-.052em; max-width:13ch; margin:.65rem 0 .7rem; color:#193829; }
.editorial p { font-size:1.01rem; line-height:1.48; max-width:36ch; margin:0 0 1.2rem; color:#344436; }
.editorial .button { padding-inline:1.45rem; }
.customer .home-content { padding-block:2.4rem 3.5rem; }
.customer .section-head { align-items:center; margin-bottom:1rem; }
.customer .section-head h2,.product-description h2 { font:500 clamp(1.8rem,2.8vw,2.6rem)/1.15 Georgia,serif; letter-spacing:-.045em; }
.section-link { min-height:44px; display:inline-flex; align-items:center; padding-inline:.35rem; border-radius:.4rem; }
.category-pills { display:flex; flex-wrap:wrap; gap:.55rem; margin-bottom:1.3rem; }
.category-pills a { display:inline-flex; align-items:center; justify-content:center; gap:.5rem; min-height:44px; padding:.4rem 1rem; border:1px solid #d4ded4; color:var(--body); text-decoration:none; border-radius:30px; font-size:.88rem; }
.category-pills .active { color:#fff; background:var(--teal); border-color:var(--teal); }
.category-pills svg { width:16px; }
.catalog-note,.sold-message { display:flex; align-items:center; gap:.75rem; background:#f5f5f0; border:1px solid #e3e4da; padding:.8rem 1rem; border-radius:8px; font-size:.95rem; }
.customer .dw-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.customer .dw-item { border-color:#dce1da; border-radius:10px; }
.customer .dw-item-media { overflow:hidden; background:#f2f1ec; }
.customer .dw-item-media > img { object-fit:cover; aspect-ratio:1.35; }
.customer .dw-item-content { padding:1rem; gap:.55rem; }
.customer .dw-item-content h3 { font-size:1.13rem; font-weight:600; font-family:inherit; line-height:1.35; }
.customer .price { font-size:1.18rem; }
.customer .price span { display:inline; }
.stock { font-size:.83rem; color:#605c4e; font-weight:600; display:inline-flex; align-items:center; gap:.4rem; }
.stock::before { content:""; border-radius:50%; width:7px; height:7px; background:#8b8476; }
.stock.yes { color:#266047; }
.stock.yes::before { background:#3f8151; }
.home-products {
    --card-min:11.25rem;
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--card-min)),1fr));
    gap:clamp(.625rem,1.1vw,1rem);
}
.home-products .dw-item {
    position:relative;
    width:100%;
    max-width:13.5rem;
    border-radius:.8rem;
    box-shadow:0 2px 7px rgb(29 64 44 / .07);
}
.home-products .dw-item-media { margin:.35rem .35rem 0; border-radius:.55rem; }
.home-products .dw-item-media > :is(img, .photo-empty) { aspect-ratio:4 / 3; }
.home-products .dw-item-media:focus-visible { outline-offset:-3px; }
.home-products .dw-item-content { padding:.65rem .75rem .75rem; gap:.35rem; }
.home-products .card-category { letter-spacing:.065em; line-height:1.3; }
.home-products .dw-item-content h3 { font-size:.97rem; line-height:1.3; }
.home-products h3 a { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.home-products .price { font-size:1.08rem; line-height:1.35; margin-bottom:.2rem; }
.home-products .stock {
    position:absolute;
    top:.7rem;
    left:.7rem;
    padding:.12rem .45rem;
    border-radius:1rem;
    background:#fff;
    box-shadow:0 1px 4px rgb(22 46 42 / .14);
    font-size:.78rem;
    pointer-events:none;
}
.home-products .dw-item-content .button {
    min-height:44px;
    padding:.4rem .35rem;
    border-color:#cad9cf;
    background:#f3f7f3;
    font-size:.875rem;
}
.home-products .dw-item:focus-within { border-color:#719980; }
@media(hover:hover) and (pointer:fine) {
    .customer a:not(:where(.button, .logo, .dw-item-media, .basket-photo, .dw-stage, [data-thumb], .active)):hover,
    .customer .text-button:hover { color:var(--deep-teal); background-color:var(--mint); }
    .customer .service-strip a:hover { background-color:#266349; color:#fff; }
    .home-products .dw-item:hover { border-color:#91ac9b; box-shadow:0 7px 17px rgb(29 64 44 / .13); }
    .home-products .dw-item-content .button:hover { background:var(--teal); border-color:var(--teal); color:white; }
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
    .customer a:any-link, .customer .text-button { transition:color .16s ease, background-color .16s ease, border-color .16s ease; }
    .home-products .dw-item { transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
    .home-products .dw-item:hover { transform:translateY(-3px); }
    .customer .dw-item-media img { transition:transform .22s ease; }
    .dw-item-media:hover img, .home-products .dw-item:hover .dw-item-media img { transform:scale(1.035); }
}
.catalog-tools { position:relative; margin-bottom:1rem; }
.catalog-tools > p { color:var(--muted); margin-bottom:.5rem; }
.catalog-tools .filter-panel { border:0; background:none; padding:0; }
.filter-panel summary { display:inline-flex; align-items:center; gap:.5rem; list-style:none; cursor:pointer; min-height:44px; color:var(--teal); }
.customer .filters .field { min-width:150px; }
.dw-product-info h1 { font:500 clamp(1.8rem,2.9vw,2.8rem)/1.12 Georgia,serif; letter-spacing:-.035em; }
.dw-product-info .dw-price { margin-bottom:.25rem; }
.payment-hint,.guest-intro { color:var(--muted); }
.variation-options { margin-block:1.2rem; }
.variation-options legend span { font-weight:450; margin-left:.25rem; }
.variation-options > div { display:flex; flex-wrap:wrap; gap:.6rem; }
.variation { display:inline-flex; position:relative; align-items:center; justify-content:center; cursor:pointer; gap:.6rem; border:1px solid #b7c3b8; padding:.5rem .85rem; border-radius:7px; min-height:44px; }
.variation input { position:absolute; opacity:0; width:1px; height:1px; }
.variation:has(:checked) { outline:1px solid var(--teal); border-color:var(--teal); background:var(--mint); }
.variation:has(:focus-visible) { outline:3px solid #165b9a; outline-offset:3px; }
.variation.sold { background:#f2f2ee; color:#555; cursor:default; border-style:dashed; }
.swatch { width:18px; height:18px; border-radius:50%; border:1px solid #737870; }
.swatch.silver { background:linear-gradient(120deg,#8f9497,#e9ebec,#a7acb0); }
.swatch.gold { background:linear-gradient(120deg,#a78036,#f6deb0,#ba9744); }
.swatch.black { background:#282724; }.swatch.blue { background:#5789b3; }.swatch.brown { background:#73513d; }.swatch.pearl { background:#e6e0d2; }
.variation-error { color:#913426; margin:.5rem 0; }
.qty-stock { display:flex; align-items:end; gap:1rem; }
.qty-stock input { max-width:6rem; }
.qty-stock .stock { min-height:44px; }
.sold-message { align-items:flex-start; margin:1rem 0; }
.sold-message p { margin:.25rem 0 0; }
.dw-freight legend svg { margin-right:.3rem; }
.product-description { margin-top:2rem; max-width:850px; }
.product-description details { border-bottom:1px solid var(--border); padding-block:.35rem; }
.product-description summary { padding:.75rem 0; cursor:pointer; color:var(--ink); font-weight:650; }
.product-description p { margin:0 0 .6rem; }
.customer .purchase-aside { background:#f9faf6; }
.customer .payment-method p,.guest-intro { line-height:1.5; }
.customer .text-button,.customer .auth-links a,.customer .compare-toggle button { min-height:44px; }
.guest-intro { margin:-.5rem 0 .6rem; }
.qty-controls { display:inline-flex; align-items:center; border:1px solid #a9b7aa; border-radius:7px; overflow:hidden; }
.quantity-edit:has(.qty-controls) { display:grid; justify-content:start; gap:.15rem; }
.qty-controls input,.qty-controls button { text-align:center; min-height:44px; width:44px; border:0; color:var(--ink); background:#fff; }
.qty-controls input { appearance:textfield; -moz-appearance:textfield; }
.qty-controls input::-webkit-inner-spin-button { appearance:none; }
.qty-controls button { font-size:1.2rem; background:#f2f5ef; }
.order-next { display:grid; justify-items:start; gap:.65rem; border-top:1px solid var(--border); margin-top:1rem; padding-top:1.4rem; }
.order-next :is(h2,p) { margin:0; }
.customer .footer { background:#f4f6f1; padding-bottom:max(2rem,env(safe-area-inset-bottom)); }
.customer .footer-group nav { display:grid; }
@media(max-width:900px) {
    .customer .dw-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .customer .header .head-main { grid-template-columns:145px minmax(0,1fr) auto; gap:1.1rem; }
    .editorial-copy { padding:2rem; }
}
@media(max-width:700px) {
    .customer .shell { width:calc(100% - 2rem); }
    .service-strip .shell { justify-content:center; }
    .service-strip a { display:none; }
    .customer .header .head-main { grid-template-columns:44px 1fr auto; gap:.2rem .5rem; padding:.4rem 0 .65rem; }
    .store-menu { display:block; grid-column:1; grid-row:1; }
    .store-menu summary { width:44px; height:44px; }
    .store-menu summary span,.customer .account-link,.customer .header .nav,.customer .head-link span { display:none; }
    .customer .head-main .logo { grid-column:2; grid-row:1; justify-self:center; }
    .customer .head-main .logo img { width:135px; }
    .customer .head-actions { grid-column:3; grid-row:1; }
    .customer .head-actions .cart-link { padding:0; gap:4px; min-width:44px; }
    .customer .header .search { grid-column:1/-1; grid-row:2; max-width:none; }
    .customer .dw-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .home-products { --card-min:9.5rem; }
    .editorial { margin-top:14px; border-radius:10px; min-height:195px; }
    .editorial > img { object-position:60% center; }
    .editorial::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#eee7dafa 0%,#eee7daf0 24%,#eee7daaa 50%,transparent 76%); z-index:-1; }
    .editorial-copy { padding:1.1rem; max-width:68%; }
    .editorial h1 { font-size:clamp(1.85rem,6.5vw,2.9rem); margin:.35rem 0 .8rem; max-width:12ch; }
    .editorial p { display:none; }
    .editorial .eyebrow { font-size:.74rem; }
    .customer .home-content { padding-top:1.25rem; }
    .customer .section-head { gap:.4rem; margin-bottom:.5rem; }
    .customer .section-head h2 { flex:1; min-width:0; font-size:clamp(1.45rem,6vw,1.65rem); }
    .section-link { font-size:.87rem; }
    .category-pills { flex-wrap:nowrap; overflow:auto; margin-bottom:.8rem; }
    .category-pills a { flex:none; }
    .customer .dw-item-content { padding:.8rem; }
    .customer .dw-item-content h3 { font-size:1rem; }
    .customer .dw-item-content .button { padding-inline:.4rem; font-size:.88rem; }
    .home-products .dw-item-content { padding:.55rem .6rem .6rem; }
    .home-products .dw-item-content h3 { font-size:.95rem; }
    .customer .fields { grid-template-columns:1fr; }
    .customer .filters { display:grid; grid-template-columns:1fr; margin:0; }
    .catalog-tools .filters .field { min-width:0; }
    .compact-head .logo img { width:110px; }
    .compact-head a { font-size:.9rem; }
    .dw-product .dw-stage { aspect-ratio:1.3; }
    .customer .content { padding-block:1.1rem max(2.5rem,env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce) { .customer * { scroll-behavior:auto; transition:none; } }
@media(min-width:701px) {
    .nav .store-menu { display:block; }
    .nav-inner { overflow:visible; flex-wrap:wrap; }
    .nav .store-menu summary { min-height:44px; font-size:.88rem; font-weight:650; }
    .nav .store-menu nav a { display:flex; }
}

@media(min-width:701px) {
    .editorial::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#f6edddb8,transparent 60%); z-index:-1; }
}
.customer .category-pills { scroll-padding: .3rem; }
.customer .qty-controls :focus-visible { outline-offset:-3px; }
.filter-sheet { color:var(--ink); width:min(100%,30rem); max-width:100%; max-height:86dvh; margin:auto 0 0 auto; border:0; border-radius:14px 14px 0 0; padding:1rem 1rem max(1.2rem,env(safe-area-inset-bottom)); }
.filter-sheet::backdrop { background:#11291f80; }
.filter-sheet .filters { display:grid; padding:0; border:0; }
.sheet-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:1rem; }
.sheet-head h2 { font-size:1.3rem; margin:0; }
body:has(.filter-sheet[open]) { overflow:hidden; }
