/* ==========================================================================
   RANGREZ TEMPLATE — core stylesheet
   Design language: "trade ledger" — graph-paper texture, catalog labels,
   working numerals. Every client-specific value below (colours) is meant to
   be overridden at runtime from data/store.json → theme, via the CSS custom
   properties on :root. Do not hardcode client colours elsewhere in this file.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Work+Sans:wght@400;500;600;700&display=swap');

:root{
  /* -- brand tokens (overridden at runtime from store.json theme) -- */
  --ink:        #1B1B1F;
  --paper:      #F6F3EA;
  --marigold:   #E8A33D;
  --teal:       #1F6F62;
  --rust:       #B84C3E;
  --indigo:     #2B4C7E;

  /* -- derived surface tokens -- */
  --ink-soft:   #2E2E33;
  --line:       #DCD5C4;
  --line-dark:  #38383E;
  --paper-raise:#FFFFFF;
  --muted:      #6E6A61;
  --danger:     #B84C3E;
  --success:    #1F6F62;

  /* -- type -- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-ui: 'Work Sans', -apple-system, sans-serif;

  /* -- layout -- */
  --container: 1240px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --nav-h: 68px;
  --shadow-card: 0 1px 0 rgba(27,27,31,0.06), 0 8px 24px -16px rgba(27,27,31,0.35);
}

/* ---------- reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}
body{
  margin:0;
  font-family:var(--font-ui);
  background:var(--paper);
  color:var(--ink);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
input,select,textarea{ font-family:inherit; font-size:16px; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
:focus-visible{ outline:2px solid var(--indigo); outline-offset:2px; }

.container{ max-width:var(--container); margin:0 auto; padding:0 20px; }
.ledger-bg{
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:32px 32px;
  background-color:var(--paper);
}
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

.eyebrow-tag{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-ui); font-weight:600; font-size:12.5px;
  color:var(--muted); border:1px solid var(--line); border-radius:99px;
  padding:4px 10px; background:var(--paper-raise);
}

/* ---------- section heading ---------- */
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:16px; margin-bottom:24px; flex-wrap:wrap;
}
.section-head h2{
  font-family:var(--font-display); font-weight:600; font-size:clamp(26px,3.4vw,38px);
  letter-spacing:-0.01em; color:var(--ink);
}
.section-head .section-sub{ color:var(--muted); font-size:15px; max-width:46ch; }
.section-link{
  font-weight:600; font-size:14px; border-bottom:1px solid var(--ink);
  padding-bottom:2px; white-space:nowrap;
}
section{ padding:56px 0; }
section + section{ border-top:1px solid var(--line); }

/* ==========================================================================
   NAV
   ========================================================================== */
.site-nav{
  position:sticky; top:0; z-index:60; height:var(--nav-h);
  background:rgba(246,243,234,0.92); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-nav .container{ height:100%; display:flex; align-items:center; gap:28px; }
.nav-logo{ display:flex; align-items:center; height:34px; flex-shrink:0; }
.nav-logo img{ height:100%; width:auto; }
.nav-links{ display:flex; gap:22px; align-items:center; flex:1; }
.nav-links a{
  font-weight:600; font-size:14.5px; color:var(--ink-soft);
  padding:6px 2px; border-bottom:2px solid transparent;
}
.nav-links a:hover, .nav-links a.active{ color:var(--ink); border-bottom-color:var(--marigold); }
.nav-actions{ display:flex; align-items:center; gap:14px; margin-left:auto; }
.nav-icon-btn{
  position:relative; display:flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:var(--radius-md); border:1px solid transparent;
  background:transparent; color:var(--ink);
}
.nav-icon-btn:hover{ background:var(--paper-raise); border-color:var(--line); }
.nav-icon-btn svg{ width:19px; height:19px; }
.cart-count{
  position:absolute; top:0; right:0; transform:translate(35%,-35%);
  background:var(--rust); color:#fff; font-size:10.5px; font-weight:700;
  min-width:17px; height:17px; border-radius:99px; display:flex; align-items:center; justify-content:center;
  padding:0 4px;
}
.nav-whatsapp{
  display:flex; align-items:center; gap:7px; background:var(--ink); color:var(--paper);
  padding:9px 16px; border-radius:var(--radius-md); font-weight:600; font-size:14px;
}
.nav-whatsapp:hover{ background:var(--ink-soft); }
.nav-whatsapp svg{ width:16px; height:16px; }
.hamburger{ display:none; }

.nav-search-wrap{ position:relative; width:230px; }
.nav-search-wrap input{
  width:100%; border:1px solid var(--line); background:var(--paper-raise);
  border-radius:99px; padding:8px 14px 8px 34px; font-size:13.5px;
}
.nav-search-wrap svg{ position:absolute; left:11px; top:50%; transform:translateY(-50%); width:15px; height:15px; color:var(--muted); }

/* mobile nav drawer */
.mobile-drawer{
  position:fixed; inset:0; z-index:90; visibility:hidden;
}
.mobile-drawer[data-open="true"]{ visibility:visible; }
.mobile-drawer .scrim{
  position:absolute; inset:0; background:rgba(27,27,31,0.5); opacity:0; transition:opacity .25s;
}
.mobile-drawer[data-open="true"] .scrim{ opacity:1; }
.mobile-drawer .panel{
  position:absolute; top:0; left:0; height:100%; width:82%; max-width:340px;
  background:var(--paper); padding:20px; overflow-y:auto;
  transform:translateX(-100%); transition:transform .28s cubic-bezier(.2,.8,.2,1);
  display:flex; flex-direction:column; gap:4px;
}
.mobile-drawer[data-open="true"] .panel{ transform:translateX(0); }
.mobile-drawer .drawer-close{ align-self:flex-end; background:none; border:none; padding:8px; }
.mobile-drawer a{ display:block; padding:13px 4px; font-weight:600; font-size:16.5px; border-bottom:1px solid var(--line); }
.mobile-drawer .drawer-whatsapp{ margin-top:18px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{ padding:0 0 0; border-top:none; }
.hero .container{
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:44px; align-items:center;
  padding-top:52px; padding-bottom:52px;
}
.hero-copy .eyebrow-tag{ margin-bottom:20px; }
.hero-copy h1{
  font-family:var(--font-display); font-weight:600; font-size:clamp(34px,4.6vw,58px);
  line-height:1.04; letter-spacing:-0.015em; color:var(--ink);
}
.hero-copy p.lede{ margin-top:18px; font-size:17px; color:var(--ink-soft); max-width:46ch; }
.hero-ctas{ display:flex; gap:12px; margin-top:30px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 22px; border-radius:var(--radius-md); font-weight:600; font-size:15px;
  border:1px solid transparent; white-space:nowrap;
}
.btn-primary{ background:var(--ink); color:var(--paper); }
.btn-primary:hover{ background:var(--ink-soft); }
.btn-whatsapp{ background:var(--teal); color:#fff; }
.btn-whatsapp:hover{ filter:brightness(1.08); }
.btn-outline{ background:transparent; border-color:var(--ink); color:var(--ink); }
.btn-outline:hover{ background:var(--ink); color:var(--paper); }
.btn-block{ width:100%; }
.btn-sm{ padding:9px 14px; font-size:13.5px; }
.btn svg{ width:16px; height:16px; }
.btn:disabled{ opacity:0.45; cursor:not-allowed; }

.hero-gst{ margin-top:26px; display:flex; align-items:center; gap:10px; font-size:13px; color:var(--muted); }
.hero-gst .dot{ width:5px; height:5px; border-radius:99px; background:var(--teal); }

.hero-visual{ position:relative; border-radius:var(--radius-md); overflow:hidden; aspect-ratio:7/8; }
.hero-visual img{ width:100%; height:100%; object-fit:cover; }
.hero-badge{
  position:absolute; left:16px; bottom:16px; background:var(--paper);
  border-radius:var(--radius-md); padding:12px 16px; box-shadow:var(--shadow-card);
  font-size:13px; max-width:220px;
}
.hero-badge strong{ display:block; font-family:var(--font-display); font-size:20px; }

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar{ padding:22px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--paper-raise); }
.trust-bar ul{
  display:flex; gap:0; overflow-x:auto; scrollbar-width:none;
}
.trust-bar ul::-webkit-scrollbar{ display:none; }
.trust-bar li{
  display:flex; align-items:center; gap:9px; padding:6px 22px; white-space:nowrap;
  font-weight:600; font-size:13.5px; border-right:1px solid var(--line);
}
.trust-bar li:first-child{ padding-left:0; }
.trust-bar li:last-child{ border-right:none; }
.trust-bar svg{ width:17px; height:17px; color:var(--teal); flex-shrink:0; }

/* ==========================================================================
   CATEGORY CARDS
   ========================================================================== */
.cat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.cat-card{
  position:relative; border-radius:var(--radius-md); overflow:hidden; aspect-ratio:4/5;
  border:1px solid var(--line);
}
.cat-card img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.cat-card:hover img{ transform:scale(1.04); }
.cat-card .cat-label{
  position:absolute; left:0; right:0; bottom:0; padding:16px;
  background:linear-gradient(to top, rgba(27,27,31,0.82), transparent 70%);
  color:#fff;
}
.cat-card .cat-label strong{ font-family:var(--font-display); font-size:21px; display:block; }
.cat-card .cat-label span{ font-size:12.5px; opacity:0.85; }

/* ==========================================================================
   PRODUCT GRID + CARD
   ========================================================================== */
.product-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:18px;
}
.product-card{
  background:var(--paper-raise); border:1px solid var(--line); border-radius:var(--radius-md);
  overflow:hidden; display:flex; flex-direction:column;
}
.product-card .thumb-wrap{ position:relative; aspect-ratio:1/1; background:var(--paper); overflow:hidden; }
.product-card .thumb-wrap img{ width:100%; height:100%; object-fit:cover; transition:opacity .25s; }
.product-card .thumb-wrap img.thumb-alt{ position:absolute; inset:0; opacity:0; }
.product-card:hover .thumb-wrap img.thumb-alt{ opacity:1; }
.badge-row{ position:absolute; top:9px; left:9px; display:flex; gap:6px; flex-direction:column; align-items:flex-start; }
.badge{
  font-size:10.5px; font-weight:700; padding:3px 8px; border-radius:3px; letter-spacing:0.02em;
  color:#fff;
}
.badge.new{ background:var(--indigo); }
.badge.best{ background:var(--rust); }
.badge.low{ background:var(--marigold); color:var(--ink); }
.quick-add{
  position:absolute; right:9px; bottom:9px; width:34px; height:34px; border-radius:99px;
  background:var(--ink); color:var(--paper); display:flex; align-items:center; justify-content:center;
  border:none; opacity:0; transform:translateY(6px); transition:all .2s;
}
.product-card:hover .quick-add{ opacity:1; transform:translateY(0); }
.quick-add svg{ width:16px; height:16px; }

.product-card .card-body{ padding:13px 14px 15px; display:flex; flex-direction:column; gap:6px; flex:1; }
.product-card .p-meta{ font-size:11.5px; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:0.03em; }
.product-card .p-name{ font-weight:600; font-size:14.5px; line-height:1.3; }
.product-card .p-sizes{ font-size:12px; color:var(--muted); }
.product-card .p-price-row{ display:flex; align-items:baseline; gap:8px; margin-top:2px; }
.product-card .p-price{ font-family:var(--font-ui); font-weight:700; font-size:16.5px; font-variant-numeric:tabular-nums; }
.product-card .p-mrp{ font-size:12.5px; color:var(--muted); text-decoration:line-through; font-variant-numeric:tabular-nums; }
.product-card .p-moq{ font-size:11.5px; color:var(--muted); margin-top:-2px; }
.product-card .card-actions{ margin-top:auto; padding-top:10px; display:flex; gap:8px; }

/* filter / sort bar */
.catalog-toolbar{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-bottom:22px; flex-wrap:wrap;
}
.result-count{ font-size:13.5px; color:var(--muted); }
.toolbar-actions{ display:flex; gap:10px; align-items:center; }
.chip-row{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:22px; }
.chip{
  padding:7px 14px; border:1px solid var(--line); border-radius:99px; font-size:13px; font-weight:600;
  background:var(--paper-raise); color:var(--ink-soft);
}
.chip.active{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
select.select-control, .select-control{
  border:1px solid var(--line); border-radius:var(--radius-md); background:var(--paper-raise);
  padding:9px 12px; font-size:13.5px; font-weight:600;
}
.filter-btn{
  display:flex; align-items:center; gap:7px; border:1px solid var(--line); border-radius:var(--radius-md);
  background:var(--paper-raise); padding:9px 14px; font-size:13.5px; font-weight:600;
}
.filter-btn svg{ width:15px; height:15px; }
.empty-state{ text-align:center; padding:60px 20px; color:var(--muted); }
.empty-state h3{ font-family:var(--font-display); font-size:22px; color:var(--ink); margin-bottom:8px; }

/* skeleton loaders */
.skeleton{ background:linear-gradient(90deg,#eee5d5 25%,#f3ece0 37%,#eee5d5 63%); background-size:400% 100%; animation:sk 1.4s ease infinite; }
@keyframes sk{ 0%{background-position:100% 50%;} 100%{background-position:0 50%;} }
.skeleton-card{ border-radius:var(--radius-md); aspect-ratio:1/1; }

/* filter drawer (mobile bottom sheet, reused for desktop side panel content) */
.filter-drawer{ position:fixed; inset:0; z-index:90; visibility:hidden; }
.filter-drawer[data-open="true"]{ visibility:visible; }
.filter-drawer .scrim{ position:absolute; inset:0; background:rgba(27,27,31,.5); opacity:0; transition:opacity .25s; }
.filter-drawer[data-open="true"] .scrim{ opacity:1; }
.filter-drawer .sheet{
  position:absolute; left:0; right:0; bottom:0; max-height:82vh; overflow-y:auto;
  background:var(--paper); border-radius:14px 14px 0 0; padding:18px 20px 20px;
  transform:translateY(100%); transition:transform .28s cubic-bezier(.2,.8,.2,1);
}
.filter-drawer[data-open="true"] .sheet{ transform:translateY(0); }
.filter-drawer .sheet-handle{ width:36px; height:4px; background:var(--line); border-radius:99px; margin:0 auto 14px; }
.filter-group{ margin-bottom:18px; }
.filter-group h4{ font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:0.03em; margin-bottom:10px; color:var(--muted); }
.filter-options{ display:flex; flex-wrap:wrap; gap:8px; }
.filter-sheet-footer{ display:flex; gap:10px; position:sticky; bottom:0; background:var(--paper); padding-top:10px; }

/* ==========================================================================
   PRODUCT MODAL
   ========================================================================== */
.modal-overlay{ position:fixed; inset:0; z-index:100; visibility:hidden; }
.modal-overlay[data-open="true"]{ visibility:visible; }
.modal-overlay .scrim{ position:absolute; inset:0; background:rgba(27,27,31,.55); opacity:0; transition:opacity .25s; }
.modal-overlay[data-open="true"] .scrim{ opacity:1; }
.modal-panel{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-46%); width:92%; max-width:880px;
  max-height:88vh; overflow-y:auto; background:var(--paper); border-radius:var(--radius-md);
  opacity:0; transition:all .25s cubic-bezier(.2,.8,.2,1); box-shadow:0 30px 60px -20px rgba(0,0,0,.4);
}
.modal-overlay[data-open="true"] .modal-panel{ opacity:1; transform:translate(-50%,-50%); }
.modal-close{
  position:absolute; top:14px; right:14px; z-index:2; width:34px; height:34px; border-radius:99px;
  background:var(--paper-raise); border:1px solid var(--line); display:flex; align-items:center; justify-content:center;
}
.pd-grid{ display:grid; grid-template-columns:1fr 1fr; }
.pd-gallery{ position:relative; background:var(--paper); }
.pd-gallery .main-img{ aspect-ratio:1/1; overflow:hidden; }
.pd-gallery .main-img img{ width:100%; height:100%; object-fit:cover; }
.pd-thumbs{ display:flex; gap:8px; padding:10px; }
.pd-thumbs button{ width:52px; height:52px; border-radius:4px; overflow:hidden; border:2px solid transparent; padding:0; background:none; }
.pd-thumbs button.active{ border-color:var(--ink); }
.pd-thumbs img{ width:100%; height:100%; object-fit:cover; }
.pd-info{ padding:26px 24px; display:flex; flex-direction:column; gap:14px; }
.pd-info .p-meta{ font-size:12px; color:var(--muted); font-weight:600; text-transform:uppercase; }
.pd-info h3{ font-family:var(--font-display); font-size:26px; font-weight:600; }
.pd-price-row{ display:flex; align-items:baseline; gap:10px; }
.pd-price-row .price{ font-size:24px; font-weight:700; font-variant-numeric:tabular-nums; }
.pd-price-row .mrp{ color:var(--muted); text-decoration:line-through; font-variant-numeric:tabular-nums; }
.pd-price-row .discount{ font-size:12.5px; color:var(--teal); font-weight:700; }
.pd-desc{ font-size:14px; color:var(--ink-soft); line-height:1.6; }
.pd-spec-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px 18px; font-size:13.5px; }
.pd-spec-grid dt{ color:var(--muted); }
.pd-spec-grid dd{ margin:0; font-weight:600; }
.pd-option-block label{ font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.02em; color:var(--muted); display:block; margin-bottom:8px; }
.swatch-row{ display:flex; gap:8px; flex-wrap:wrap; }
.size-swatch{
  min-width:42px; height:38px; padding:0 10px; border:1px solid var(--line); border-radius:var(--radius-sm);
  background:var(--paper-raise); font-weight:600; font-size:13.5px;
}
.size-swatch.active{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.color-swatch{
  display:flex; align-items:center; gap:6px; border:1px solid var(--line); border-radius:99px; padding:5px 12px 5px 5px;
  background:var(--paper-raise); font-size:12.5px; font-weight:600;
}
.color-swatch .dot{ width:16px; height:16px; border-radius:99px; border:1px solid rgba(0,0,0,.15); }
.color-swatch.active{ border-color:var(--ink); }
.qty-stepper{ display:flex; align-items:center; border:1px solid var(--line); border-radius:var(--radius-md); width:fit-content; }
.qty-stepper button{ width:38px; height:38px; background:none; border:none; font-size:17px; font-weight:600; }
.qty-stepper input{ width:52px; text-align:center; border:none; background:none; font-weight:700; font-variant-numeric:tabular-nums; }
.pd-moq-note{ font-size:12.5px; color:var(--muted); }
.pd-actions{ display:flex; gap:10px; margin-top:6px; }
.pd-stock{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; }
.pd-stock .dot{ width:7px; height:7px; border-radius:99px; }
.pd-stock.in .dot{ background:var(--teal); }
.pd-stock.low .dot{ background:var(--marigold); }
.pd-stock.out .dot{ background:var(--rust); }
.pd-share{ display:flex; gap:10px; margin-top:4px; }
.pd-share button{ font-size:12.5px; color:var(--muted); font-weight:600; display:flex; align-items:center; gap:5px; background:none; border:none; }
.pd-share svg{ width:14px; height:14px; }

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.cart-drawer{ position:fixed; inset:0; z-index:110; visibility:hidden; }
.cart-drawer[data-open="true"]{ visibility:visible; }
.cart-drawer .scrim{ position:absolute; inset:0; background:rgba(27,27,31,.5); opacity:0; transition:opacity .25s; }
.cart-drawer[data-open="true"] .scrim{ opacity:1; }
.cart-panel{
  position:absolute; top:0; right:0; height:100%; width:420px; max-width:94vw;
  background:var(--paper); display:flex; flex-direction:column;
  transform:translateX(100%); transition:transform .28s cubic-bezier(.2,.8,.2,1);
}
.cart-drawer[data-open="true"] .cart-panel{ transform:translateX(0); }
.cart-head{ display:flex; align-items:center; justify-content:space-between; padding:18px 20px; border-bottom:1px solid var(--line); }
.cart-head h3{ font-family:var(--font-display); font-size:20px; }
.cart-items{ flex:1; overflow-y:auto; padding:10px 20px; display:flex; flex-direction:column; gap:14px; }
.cart-line{ display:flex; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); }
.cart-line img{ width:64px; height:64px; border-radius:4px; object-fit:cover; flex-shrink:0; }
.cart-line-info{ flex:1; min-width:0; }
.cart-line-info .name{ font-weight:600; font-size:13.5px; }
.cart-line-info .variant{ font-size:12px; color:var(--muted); margin-top:2px; }
.cart-line-bottom{ display:flex; align-items:center; justify-content:space-between; margin-top:8px; }
.cart-line .remove-line{ background:none; border:none; color:var(--muted); font-size:12px; text-decoration:underline; }
.mini-stepper{ display:flex; align-items:center; border:1px solid var(--line); border-radius:var(--radius-sm); }
.mini-stepper button{ width:26px; height:26px; background:none; border:none; font-size:14px; }
.mini-stepper span{ width:26px; text-align:center; font-size:13px; font-weight:700; }
.cart-empty{ text-align:center; padding:60px 16px; color:var(--muted); }
.cart-summary{ border-top:1px solid var(--line); padding:16px 20px 20px; }
.summary-row{ display:flex; justify-content:space-between; font-size:13.5px; padding:5px 0; color:var(--ink-soft); }
.summary-row.total{ font-size:16.5px; font-weight:700; color:var(--ink); border-top:1px solid var(--line); margin-top:6px; padding-top:12px; }
.moq-warning{ font-size:12px; color:var(--rust); margin-top:8px; }
.free-delivery-note{ font-size:12px; color:var(--teal); margin-top:6px; }

/* sticky mobile bar */
.sticky-mobile-bar{
  position:fixed; bottom:0; left:0; right:0; z-index:70; display:none;
  background:var(--paper); border-top:1px solid var(--line); padding:10px 14px;
  gap:10px; box-shadow:0 -8px 20px -12px rgba(0,0,0,.25);
}
.sticky-whatsapp-fab{
  position:fixed; right:16px; bottom:80px; z-index:65; width:52px; height:52px; border-radius:99px;
  background:var(--teal); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-card);
}
.sticky-whatsapp-fab svg{ width:24px; height:24px; }
.scroll-top-btn{
  position:fixed; right:16px; bottom:150px; z-index:65; width:42px; height:42px; border-radius:99px;
  background:var(--ink); color:var(--paper); display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity .2s; box-shadow:var(--shadow-card);
}
.scroll-top-btn.show{ opacity:1; pointer-events:auto; }
.scroll-top-btn svg{ width:18px; height:18px; }

/* ==========================================================================
   CHECKOUT MODAL
   ========================================================================== */
.checkout-panel{ max-width:640px; padding:30px 28px 28px; }
.checkout-panel h3{ font-family:var(--font-display); font-size:24px; margin-bottom:4px; }
.checkout-sub{ color:var(--muted); font-size:13.5px; margin-bottom:22px; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-grid .full{ grid-column:1/-1; }
.field label{ font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.02em; color:var(--muted); display:block; margin-bottom:6px; }
.field input, .field select, .field textarea{
  width:100%; border:1px solid var(--line); border-radius:var(--radius-md); padding:11px 12px; background:var(--paper-raise);
}
.field textarea{ resize:vertical; min-height:70px; }
.checkout-order-summary{ background:var(--paper-raise); border:1px solid var(--line); border-radius:var(--radius-md); padding:14px 16px; margin:20px 0; }
.checkout-order-summary .summary-row{ padding:4px 0; }
.field-error{ color:var(--rust); font-size:12px; margin-top:4px; display:none; }
.field.has-error input, .field.has-error select{ border-color:var(--rust); }
.field.has-error .field-error{ display:block; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.testi-card{ background:var(--paper-raise); border:1px solid var(--line); border-radius:var(--radius-md); padding:20px; display:flex; flex-direction:column; gap:12px; }
.testi-stars{ color:var(--marigold); font-size:13px; letter-spacing:2px; }
.testi-card p{ font-size:14px; color:var(--ink-soft); line-height:1.55; }
.testi-who{ display:flex; align-items:center; gap:10px; margin-top:auto; }
.testi-who img{ width:36px; height:36px; border-radius:99px; object-fit:cover; }
.testi-who strong{ font-size:13px; display:block; }
.testi-who span{ font-size:12px; color:var(--muted); }

/* ==========================================================================
   ABOUT / LOCATION
   ========================================================================== */
.about-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:48px; align-items:start; }
.about-grid p.story{ font-size:16px; line-height:1.7; color:var(--ink-soft); }
.about-stats{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:24px; }
.about-stat strong{ font-family:var(--font-display); font-size:32px; display:block; }
.about-stat span{ font-size:12.5px; color:var(--muted); }
.specialty-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }

.location-grid{ display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:start; }
.location-card{ border:1px solid var(--line); border-radius:var(--radius-md); padding:24px; background:var(--paper-raise); }
.location-card dl{ display:grid; grid-template-columns:auto 1fr; gap:10px 14px; font-size:14px; margin:18px 0; }
.location-card dt{ color:var(--muted); }
.location-card dd{ margin:0; font-weight:600; }
.map-embed{ border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; aspect-ratio:4/3; }
.map-embed iframe{ width:100%; height:100%; border:0; }

/* ==========================================================================
   INSTAGRAM STRIP
   ========================================================================== */
.insta-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.insta-tile{ aspect-ratio:1/1; border-radius:var(--radius-sm); overflow:hidden; position:relative; }
.insta-tile img{ width:100%; height:100%; object-fit:cover; }
.insta-tile .overlay{
  position:absolute; inset:0; background:rgba(27,27,31,0); display:flex; align-items:center; justify-content:center;
  transition:background .2s;
}
.insta-tile:hover .overlay{ background:rgba(27,27,31,0.45); }
.insta-tile svg{ width:22px; height:22px; color:#fff; opacity:0; transition:opacity .2s; }
.insta-tile:hover svg{ opacity:1; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer{ background:var(--ink); color:var(--paper); padding:52px 0 24px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; }
.footer-brand img{ height:32px; margin-bottom:12px; }
.footer-brand p{ color:#B7B4AC; font-size:13.5px; max-width:30ch; }
.footer-col h5{ font-size:12.5px; text-transform:uppercase; letter-spacing:0.04em; color:#8B887F; margin-bottom:14px; }
.footer-col a, .footer-col span{ display:block; font-size:14px; color:#D9D6CC; padding:5px 0; }
.footer-col a:hover{ color:#fff; }
.footer-social{ display:flex; gap:10px; margin-top:14px; }
.footer-social a{ width:34px; height:34px; border:1px solid #3A3A40; border-radius:99px; display:flex; align-items:center; justify-content:center; padding:0; }
.footer-social svg{ width:16px; height:16px; }
.footer-bottom{ border-top:1px solid #34343A; margin-top:38px; padding-top:18px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12.5px; color:#8B887F; }
.footer-bottom a{ color:#8B887F; }
.footer-bottom a:hover{ color:#fff; }

/* ==========================================================================
   TOAST
   ========================================================================== */
.toast-stack{ position:fixed; bottom:20px; left:50%; transform:translateX(-50%); z-index:200; display:flex; flex-direction:column; gap:8px; align-items:center; }
.toast{
  background:var(--ink); color:var(--paper); padding:12px 18px; border-radius:var(--radius-md); font-size:13.5px; font-weight:600;
  box-shadow:var(--shadow-card); display:flex; align-items:center; gap:10px;
  opacity:0; transform:translateY(8px); transition:all .25s;
}
.toast.show{ opacity:1; transform:translateY(0); }
.toast svg{ width:16px; height:16px; color:var(--marigold); flex-shrink:0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1080px){
  .product-grid{ grid-template-columns:repeat(3,1fr); }
  .cat-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .testi-grid{ grid-template-columns:1fr 1fr; }
  .insta-strip{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:860px){
  .nav-links, .nav-search-wrap{ display:none; }
  .hamburger{ display:flex; }
  .hero .container{ grid-template-columns:1fr; padding-top:28px; padding-bottom:28px; }
  .hero-visual{ order:-1; aspect-ratio:4/3; }
  .about-grid, .location-grid, .pd-grid{ grid-template-columns:1fr; }
  .product-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }
  .sticky-mobile-bar{ display:flex; }
  .scroll-top-btn{ bottom:150px; }
  section{ padding:38px 0; }
}
@media (max-width:560px){
  .cat-grid, .testi-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .insta-strip{ grid-template-columns:repeat(2,1fr); }
  .pd-spec-grid{ grid-template-columns:1fr; }
  .about-stats{ grid-template-columns:1fr 1fr; }
}
