/* Totetreasure Shop — cart, search, sort, filters, related, featured.
   Matches brand: espresso #2f2726, cognac #714439, Italiana + Manrope. */

/* ---------- Cart toggle (header) ---------- */
.cart-toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid rgba(246,246,247,.35);border-radius:50%;background:transparent;color:var(--inverse,#f6f6f7);cursor:pointer;margin-left:6px}
.cart-toggle svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6}
.cart-toggle:hover{border-color:#fff}
.cart-badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#c0392b;color:#fff;font-size:.68rem;font-weight:700;display:grid;place-items:center;font-family:"Manrope",sans-serif}

/* ---------- Cart drawer ---------- */
.cart-overlay{position:fixed;inset:0;background:rgba(20,15,14,.55);opacity:0;pointer-events:none;transition:opacity .3s;z-index:900}
.cart-overlay.show{opacity:1;pointer-events:auto}
.cart-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(420px,94vw);background:#fbf8f5;color:#2f2726;z-index:901;transform:translateX(105%);transition:transform .35s cubic-bezier(.2,.7,.2,1);display:flex;flex-direction:column;box-shadow:-18px 0 50px rgba(0,0,0,.25);font-family:"Manrope",sans-serif}
.cart-drawer.open{transform:none}
.cart-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid rgba(47,39,38,.14)}
.cart-head h2{font-family:"Manrope",sans-serif;font-size:1.15rem;margin:0;font-weight:700;letter-spacing:.01em}
.cart-close{width:38px;height:38px;border-radius:50%;border:1px solid rgba(47,39,38,.25);background:transparent;font-size:1.3rem;cursor:pointer;line-height:1;color:#2f2726}
.cart-close:hover{background:#2f2726;color:#fff}
.cart-items{flex:1;overflow-y:auto;padding:14px 20px;display:flex;flex-direction:column;gap:14px}
.cart-item{display:grid;grid-template-columns:72px 1fr auto;gap:12px;align-items:start;padding-bottom:14px;border-bottom:1px solid rgba(47,39,38,.1)}
.cart-item img{width:72px;height:72px;object-fit:cover;border-radius:8px;background:#e6e0d9}
.cart-item-info strong{display:block;font-size:.86rem;line-height:1.25}
.cart-unit{font-size:.72rem;color:#6f605a}
.qty-stepper{display:inline-flex;align-items:center;gap:0;margin-top:8px;border:1px solid rgba(47,39,38,.25);border-radius:20px;overflow:hidden}
.qty-stepper button{width:30px;height:30px;border:0;background:transparent;font-size:1rem;cursor:pointer;color:#2f2726}
.qty-stepper button:hover{background:rgba(113,68,57,.12)}
.qty-stepper input{width:38px;height:30px;border:0;text-align:center;font:inherit;background:transparent;-moz-appearance:textfield}
.qty-stepper input::-webkit-inner-spin-button{display:none}
.cart-line{text-align:right}
.cart-line strong{display:block;font-size:.9rem}
.cart-remove{border:0;background:none;color:#8e7566;font-size:.7rem;cursor:pointer;text-decoration:underline;padding:4px 0}
.cart-remove:hover{color:#c0392b}
.cart-empty{padding:48px 24px;text-align:center;color:#6f605a}
.cart-empty .empty-icon{font-size:2.4rem;display:block;margin-bottom:12px}
.cart-empty h3{font-family:"Manrope",sans-serif;font-size:1.1rem;color:#2f2726;margin:0 0 8px;font-weight:700}
.cart-empty p{font-size:.85rem;margin:0 0 18px}
.cart-foot{padding:16px 20px 20px;border-top:1px solid rgba(47,39,38,.14);background:#f6f1ec}
.cart-row{display:flex;justify-content:space-between;font-size:.86rem;margin-bottom:6px}
.cart-row.grand{font-size:1.05rem;font-weight:700;margin:10px 0 4px;padding-top:10px;border-top:1px dashed rgba(47,39,38,.2)}
.cart-note{font-size:.72rem;color:#6f605a;margin:6px 0 12px}
.cart-checkout{display:flex;justify-content:center;align-items:center;min-height:50px;background:#1faa53;color:#fff !important;text-decoration:none;text-transform:uppercase;letter-spacing:.1em;font-size:.72rem;font-weight:700;border-radius:4px}
.cart-checkout:hover{background:#178a43}
.cart-continue{display:block;width:100%;margin-top:10px;border:0;background:none;color:#714439;font-size:.78rem;cursor:pointer;text-decoration:underline}

/* ---------- Add to Bag buttons ---------- */
.btn-add{background:#26221f !important;color:#fff !important;border:1px solid #26221f !important;border-radius:8px;font-weight:700;cursor:pointer}
.btn-add:hover{background:#000 !important;color:#fff !important}
.product-actions{flex-wrap:wrap}
.product-actions .btn-add{flex:1 1 100%}
.pp-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.pp-actions .wa,.pp-actions .btn-add-pp{flex:1 1 200px;display:inline-flex;justify-content:center;align-items:center;min-height:50px;padding:0 18px;border-radius:4px;text-decoration:none;font-weight:700;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}
.pp-actions .wa{background:#1faa53;color:#fff;margin:0}
.pp-actions .wa:hover{background:#178a43}
.pp-actions .btn-add-pp{background:transparent;color:#2f2726;border:1px solid #2f2726;cursor:pointer;font-family:"Manrope",sans-serif}
.pp-actions .btn-add-pp:hover{background:#2f2726;color:#fff}

/* ---------- Shop controls (search / sort / filters) ---------- */
.shop-controls{margin:0 0 26px;padding:18px;background:rgba(255,255,255,.55);border:1px solid rgba(47,39,38,.12);border-radius:12px}
.shop-controls-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:12px}
.shop-controls-row:last-child{margin-bottom:0}
.shop-search-wrap{position:relative;flex:1 1 240px;min-width:200px}
#shop-search{width:100%;min-height:46px;padding:0 40px 0 16px;border:1px solid rgba(47,39,38,.3);border-radius:23px;background:#fff;font:inherit;font-size:.86rem;color:#2f2726}
#shop-search:focus{outline:2px solid #714439;border-color:#714439}
#shop-search-clear{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:30px;height:30px;border:0;border-radius:50%;background:transparent;font-size:1rem;cursor:pointer;color:#8e7566}
#shop-search-clear:hover{color:#2f2726}
#shop-sort{min-height:46px;padding:0 14px;border:1px solid rgba(47,39,38,.3);border-radius:23px;background:#fff;font:inherit;font-size:.82rem;color:#2f2726;cursor:pointer}
.shop-filter-label{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:#6f605a;font-weight:600}
.price-bands,.colour-chips{display:flex;gap:8px;flex-wrap:wrap}
.chip-btn{border:1px solid rgba(47,39,38,.3);background:#fff;color:#2f2726;border-radius:18px;padding:8px 14px;font-size:.74rem;cursor:pointer;font-family:"Manrope",sans-serif}
.chip-btn:hover{border-color:#714439}
.chip-btn.active{background:#2f2726;border-color:#2f2726;color:#f6f6f7}
.shop-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#shop-result-count{font-size:.78rem;color:#6f605a}
#shop-clear{border:0;background:none;color:#714439;font-size:.78rem;cursor:pointer;text-decoration:underline}
#shop-no-results{text-align:center;padding:48px 20px;color:#6f605a}
#shop-no-results h3{font-family:"Manrope",sans-serif;font-size:1.3rem;color:#2f2726;font-weight:700;margin:0 0 8px}

/* ---------- Related products ---------- */
.related-section{margin:34px 0 8px}
.related-section h2{font-family:"Manrope",sans-serif;font-size:1.4rem;font-weight:700;text-align:center;margin:0 0 18px;letter-spacing:.01em}
.related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.related-card{display:block;text-decoration:none;color:inherit;background:#fff;border:1px solid rgba(47,39,38,.1);border-radius:10px;overflow:hidden}
.related-card img{width:100%;aspect-ratio:1;object-fit:cover}
.related-card .rel-body{padding:10px 12px}
.related-card strong{display:block;font-size:.8rem;line-height:1.3}
.related-card span{font-size:.78rem;color:#714439;font-weight:600}
.related-card:hover{box-shadow:0 10px 30px rgba(47,39,38,.12)}
@media(max-width:600px){.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- Featured section (homepage) ---------- */
.featured-section{padding:70px 0;background:#fbf8f5;border-top:1px solid rgba(47,39,38,.1)}
.featured-section .section-head{display:block;text-align:center;max-width:640px;margin:0 auto 36px}
.featured-section .section-head p:last-child{margin:14px auto 0}

/* ---------- Floating cart button (product pages) ---------- */
.cart-float{position:fixed;right:18px;bottom:18px;width:56px;height:56px;border-radius:50%;background:#2f2726;color:#f6f6f7;border:0;cursor:pointer;z-index:800;display:grid;place-items:center;box-shadow:0 10px 28px rgba(0,0,0,.28)}
.cart-float svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.6}
.cart-float .cart-badge{top:-2px;right:-2px}
@media(max-width:600px){
  .cart-drawer{width:94vw}
  .shop-controls{padding:14px}
}

/* ---------- Phase 2: checkout form ---------- */
.checkout-title{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:#6f605a;font-weight:700;margin:10px 0 8px}
#checkout-form{display:flex;flex-direction:column;gap:10px;margin:4px 0 6px}
.co-field label{display:block;font-size:.72rem;font-weight:600;color:#2f2726;margin-bottom:4px}
.co-field input{width:100%;min-height:44px;padding:0 12px;border:1px solid rgba(47,39,38,.3);border-radius:8px;background:#fff;font:inherit;font-size:.86rem;color:#2f2726;box-sizing:border-box}
.co-field input:focus{outline:2px solid #714439;border-color:#714439}
.co-field input.invalid{border-color:#c0392b;outline:2px solid rgba(192,57,43,.35)}
.co-error{display:block;font-size:.7rem;color:#c0392b;margin-top:4px}
.co-error[hidden]{display:none}
button.cart-checkout{border:0;cursor:pointer;font-family:"Manrope",sans-serif;width:100%}
/* ---------- Phase 2: COD badge ---------- */
.cod-badge{display:inline-block;background:#1faa53;color:#fff;font-size:.6rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:7px 12px;border-radius:3px;margin:10px 0 2px}
/* ---------- Phase 2: WhatsApp widget ---------- */
.wa-widget{position:fixed;left:18px;bottom:18px;width:56px;height:56px;border-radius:50%;background:#1faa53;color:#fff;z-index:800;display:grid;place-items:center;box-shadow:0 10px 28px rgba(0,0,0,.28);text-decoration:none}
.wa-widget svg{width:30px;height:30px;fill:#fff}
.wa-widget:hover{background:#178a43}
@media(max-width:600px){.wa-widget{left:14px;bottom:14px;width:52px;height:52px}}

/* ================= v68 WHOLESALE-PROFESSIONAL THEME (2026-10-22) =================
   Light, catalog-style storefront: strong contrast, Manrope body text,
   Italiana reserved for large display headings only. Homepage rules are
   scoped under body.home so guide/product pages keep their own design. */

/* ---------- Homepage: pin the light scheme + readable type ---------- */
body.home{--bg:#fbf8f5;--surface:#ffffff;--text:#26221f;--muted:#5c5148;--line:rgba(38,34,31,.14);--shadow:0 28px 70px rgba(38,34,31,.12);background:#fbf8f5;color:#26221f;color-scheme:light;font-size:16px;line-height:1.6}
body.home p,body.home li,body.home dd,body.home span{line-height:1.6}

/* ---------- Top utility bar ---------- */
.utility-bar{background:#26221f;color:#f1edea;font-size:.8rem;line-height:1.45}
.utility-in{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:8px;padding-bottom:8px}
.utility-left{font-weight:600;letter-spacing:.04em}
.utility-right{color:#d9cfc4}
.utility-right a{color:#fff;font-weight:700;text-decoration:none;white-space:nowrap}
.utility-right a:hover{text-decoration:underline}
@media(max-width:640px){.utility-in{flex-direction:column;gap:1px;text-align:center;padding-top:7px;padding-bottom:7px}.utility-right{font-size:.76rem}}

/* ---------- Header / nav polish ---------- */
body.home .nav{box-shadow:0 2px 16px rgba(38,34,31,.22)}
body.home .nav-links a{font-weight:600}

/* ---------- Section titles: Manrope 700 (Italiana = display only) ---------- */
body.home .section-head h2,body.home .about h2,body.home .wholesale h2,body.home .contact h2,body.home .seo-copy h2,body.home .palette-layout h2{font-family:"Manrope",sans-serif;font-weight:700;font-size:clamp(1.75rem,3.6vw,2.5rem);line-height:1.15;letter-spacing:-.01em}
body.home .category h2{font-family:"Manrope",sans-serif;font-weight:700;font-size:1.02rem;line-height:1.2}

/* ---------- Product grid + cards ---------- */
body.home .collection-grid{gap:20px}
body.home .product{background:#fff;border:1px solid #e7ded2;border-radius:14px;padding:12px;box-shadow:0 1px 4px rgba(38,34,31,.05);transition:box-shadow .25s ease}
body.home .product:hover{box-shadow:0 14px 34px rgba(38,34,31,.13)}
body.home .product-media{border-radius:10px}
body.home .product h3{font-family:"Manrope",sans-serif;font-size:16px;font-weight:600;line-height:1.35;min-height:2.7em;color:#26221f}
body.home .current-price{font-size:18px;font-weight:700;color:#26221f}
body.home .product-actions .btn{min-height:46px}
@media(max-width:600px){
  body.home .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  body.home .product{padding:9px}
  body.home .product h3{min-height:0;font-size:14.5px}
  body.home .current-price{font-size:16px}
}

/* ---------- Roomier sections ---------- */
body.home section.content-section{padding:88px 0}

/* ---------- International & Bulk Orders section ---------- */
.bulk-section{background:#fff;border-top:1px solid #e7ded2;border-bottom:1px solid #e7ded2;padding:72px 0}
.bulk-eyebrow{margin:0 0 10px;font-size:.7rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#714439}
.bulk-section h2{font-family:"Manrope",sans-serif;font-weight:700;font-size:clamp(1.75rem,3.6vw,2.5rem);line-height:1.15;letter-spacing:-.01em;color:#26221f;margin:0 0 14px}
.bulk-lede{max-width:680px;color:#5c5148;font-size:1rem;line-height:1.65;margin:0}
.bulk-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 30px;margin:28px 0 30px}
.bulk-point{border:1px solid #e7ded2;border-radius:12px;padding:18px;background:#fbf8f5}
.bulk-point strong{display:block;font-size:.95rem;font-weight:700;color:#26221f;margin-bottom:6px}
.bulk-point span{font-size:.9rem;line-height:1.6;color:#5c5148}
.bulk-point a{color:#714439;font-weight:600}
.bulk-cta{display:inline-flex;justify-content:center;align-items:center;min-height:52px;padding:0 26px;background:#1faa53;color:#fff;text-decoration:none;text-transform:uppercase;letter-spacing:.1em;font-size:.74rem;font-weight:700;border-radius:6px}
.bulk-cta:hover{background:#178a43}
@media(max-width:700px){.bulk-points{grid-template-columns:1fr}.bulk-section{padding:54px 0}}

/* ---------- Professional footer ---------- */
.site-footer{background:#26221f;color:rgba(246,246,247,.78);padding:54px 0 30px;border-top:1px solid rgba(246,246,247,.12);font-family:"Manrope",sans-serif}
.footer-cols{display:grid;grid-template-columns:1.35fr 1fr 1fr 1.1fr;gap:36px}
.footer-col h3{font-family:"Manrope",sans-serif;font-size:.76rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:#fff;margin:0 0 15px}
.footer-col a{display:block;color:rgba(246,246,247,.78);text-decoration:none;font-size:.88rem;line-height:1.5;padding:4px 0}
.footer-col a:hover{color:#fff;text-decoration:underline}
.footer-col p{font-size:.88rem;line-height:1.65;margin:0 0 10px;color:rgba(246,246,247,.78)}
.footer-social-links{margin-top:12px;border-top:1px solid rgba(246,246,247,.14);padding-top:10px}
.footer-social-links a{font-weight:600;color:#fff}
.footer-contact-line{margin-top:34px;padding-top:18px;border-top:1px solid rgba(246,246,247,.12);font-size:.78rem;text-align:center}
.footer-contact-line a{color:#fff;text-decoration:none}
.footer-contact-line a:hover{text-decoration:underline}
.site-footer .foot-social{border-top:1px solid rgba(246,246,247,.12)}
@media(max-width:900px){.footer-cols{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.footer-cols{grid-template-columns:1fr}.site-footer{padding:42px 0 24px}}
