/* ==========================================================================
   Design tokens
   ========================================================================== */
:root{
  --ink:        #2A1B1A;
  --ink-soft:   #5E4B49;
  --ivory:      #FDF8F4;   /* page background */
  --stone:      #F8ECE6;   /* soft blush panels */
  --gold:       #B8862F;
  --gold-light: #D9B26A;
  --burgundy:   #7A1631;   /* brand maroon */
  --burgundy-deep: #5E0E25;
  --blush:      #FBE3E3;   /* soft pink: highlight panels */
  --blush-soft: #FDF0EE;
  --pill-bg:    #FDE8E6;
  --pill-fg:    #A3223F;
  --font-script: "Great Vibes", "Playfair Display", cursive;
  --green:      #0D8860;
  --wa-green:   #1F7A54;
  --card:       #FFFFFF;
  --line:       rgba(31,26,23,0.14);
  --line-soft:  rgba(31,26,23,0.08);

  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-brand:   "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 1px 2px rgba(31,26,23,0.05), 0 10px 28px rgba(31,26,23,0.07);
  --shadow-pop:  0 20px 60px rgba(21,18,15,0.25);
  --ease: cubic-bezier(.22,.61,.36,1);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

*{ box-sizing: border-box; }
/* Header stays pinned at the top (see .site-header). Don't put
   overflow-x:hidden on <body>: it turns body into a scroll container and
   silently breaks position:sticky. html alone clips sideways overflow;
   body uses overflow-x:clip, which clips without creating a scroll container. */
html{ scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 140px; }
body{
  margin:0;
  overflow-x: clip;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; padding:0; appearance:none; -webkit-appearance:none; color:inherit; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight:600; margin:0; letter-spacing:-0.01em; }
p{ margin:0; }
:focus-visible{ outline:2px solid var(--burgundy); outline-offset:3px; }

.container{ max-width:1180px; margin:0 auto; padding:0 24px; }

.announce-bar{
  background: var(--burgundy); color:#fff;
  font-size: 13px; letter-spacing:.02em;
}
.announce-bar .container{
  display:flex; align-items:center; gap:16px;
  padding: 9px 24px; position:relative;
  overflow:hidden; /* clips the scrolling track — this is what makes it a ticker, not just a marquee-in-theory */
}
.announce-bar .ticker-viewport{ flex:1; overflow:hidden; }
.announce-bar .ticker-track{
  display:flex; width:max-content; white-space:nowrap;
  animation: ticker-scroll linear infinite;
  animation-duration: var(--ticker-duration, 20s);
}
.announce-bar .ticker-track span{ padding-right:64px; } /* gap before the loop repeats */
@keyframes ticker-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); } /* text is duplicated once in the track, so -50% = one full loop */
}
@media (prefers-reduced-motion: reduce){
  .announce-bar .ticker-track{ animation: none; }
}
.announce-bar #announceClose{
  position:relative; flex-shrink:0;
  background:none; border:none; color:#fff; opacity:.75; font-size:13px; line-height:1; padding:4px;
}
.announce-bar #announceClose:hover{ opacity:1; }

/* ---------------------------------------------------------------------
   Welcome popup (first-visit sale/announcement popup, admin-configurable)
   --------------------------------------------------------------------- */
.welcome-popup-overlay{
  position:fixed; inset:0; background:rgba(21,18,15,.55); z-index:200;
  display:none; align-items:center; justify-content:center; padding:20px;
}
.welcome-popup-overlay.open{ display:flex; }
.welcome-popup{
  background:#fff; max-width:420px; width:100%; border-radius:var(--radius);
  padding:36px 32px 30px; position:relative; text-align:center;
  box-shadow:0 24px 70px rgba(21,18,15,.35);
}
.welcome-popup-close{
  position:absolute; top:14px; right:16px; background:none; border:none;
  font-size:22px; line-height:1; color:var(--ink-soft); cursor:pointer; padding:4px;
}
.welcome-popup-close:hover{ color:var(--ink); }
.welcome-popup-image{ width:100%; max-height:200px; object-fit:cover; border-radius:var(--radius); margin-bottom:16px; }
.welcome-popup h3{ font-family:var(--font-display); font-size:24px; margin:6px 0 10px; }
.welcome-popup p{ font-size:14px; color:var(--ink-soft); line-height:1.6; margin:0 0 22px; }
.welcome-popup-actions{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.welcome-popup-cta{
  display:inline-block; padding:12px 22px; border-radius:999px; text-decoration:none;
  font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  background:var(--ink); color:#fff; border:1px solid var(--ink); cursor:pointer;
}
.welcome-popup-cta:hover{ background:var(--burgundy); border-color:var(--burgundy); }
.welcome-popup-cta.secondary{ background:transparent; color:var(--ink); }
.welcome-popup-cta.secondary:hover{ background:var(--stone); }
.eyebrow{
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--burgundy);
}

/* Signature: gold chain-link divider ---------------------------------- */
.chain-divider{
  width: 84px;
  height: 14px;
  margin: 8px 0 0;
}
.chain-divider svg{ display:block; overflow:visible; }
.chain-divider .link{
  fill:none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  transition: stroke-dashoffset 1s var(--ease);
}
.chain-divider.in-view .link{ stroke-dashoffset: 0; }
.chain-divider.in-view .link:nth-child(2){ transition-delay: .12s; }
.chain-divider.in-view .link:nth-child(3){ transition-delay: .24s; }
.chain-divider.in-view .link:nth-child(4){ transition-delay: .36s; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky; top:0; z-index: 40;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .bar{
  display:flex; align-items:center; justify-content:space-between;
  padding: 10px 24px;
}
.brand{ display:flex; flex-direction:column; line-height:1; }
.brand .brand-name{ font-family: var(--font-display); font-size: 22px; letter-spacing: 0.02em; }
.brand .brand-tag{ font-size: 10.5px; letter-spacing: 0.14em; text-transform:uppercase; color: var(--ink-soft); margin-top:4px; }

.header-actions{ display:flex; align-items:center; gap:18px; }
.search-box{
  display:flex; align-items:center; gap:8px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; background: #fff;
  min-width: 220px;
}
.search-box input{
  border:none; outline:none; font-family: var(--font-body); font-size: 14px;
  width:100%; background:transparent;
}
.search-box svg{ flex:none; opacity:.55; }

.icon-btn{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--ink); padding: 9px 20px;
  font-size: 13px; letter-spacing:.03em; text-transform:uppercase;
  background: var(--ink); color: var(--ivory);
  border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
}
.icon-btn:hover{ background: var(--burgundy); border-color: var(--burgundy); transform: translateY(-1px); }
.icon-btn.ghost{ background:transparent; color:var(--ink); }
.icon-btn.ghost:hover{ background: var(--ink); color: var(--ivory); }

@media (max-width: 640px){
  html{ scroll-padding-top: 112px; }
  /* Phones: the pinned header is logo + search/cart/sign-in only. The
     category menu is hidden to save screen space (categories are still
     reachable from "Shop by Category" on the homepage). */
  .cat-nav{ display:none; }
  .site-header .bar{ flex-wrap: wrap; justify-content:center; gap:8px; padding: 10px 14px 10px; }
  .brand{ align-items:center; text-align:center; } /* logo/tagline centered on mobile — was left-pinned before */
  .brand .brand-name{ font-size: 19px; }
  .header-actions{ gap:10px; flex: 1 1 100%; order:3; }
  .search-box{ flex: 1 1 auto; min-width:0; }
  .icon-btn{ padding: 9px 14px; white-space:nowrap; }
}

/* Account area (Google sign-in) */
.account-area{ position:relative; flex:none; }
.account-signin{
  display:inline-flex; align-items:center; gap:6px;
  font-size: 13px; letter-spacing:.02em; color: var(--ink);
  border:1px solid var(--line); border-radius:999px; padding:8px 16px;
  background:#fff; white-space:nowrap;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.account-signin:hover{ border-color: var(--ink); }
.account-trigger{
  display:flex; align-items:center; gap:8px; background:none; border:none;
  cursor:pointer; padding:2px; border-radius:999px;
}
.account-trigger img{
  width:32px; height:32px; border-radius:50%; object-fit:cover;
  border:1px solid var(--line); display:block;
}
.account-trigger .avatar-fallback{
  width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: var(--burgundy); color:#fff; font-size:13px; font-weight:600; text-transform:uppercase;
}
.account-menu{
  position:absolute; top:calc(100% + 10px); right:0; background:#fff;
  border:1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-pop);
  min-width:190px; padding:8px; display:none; z-index:20;
}
.account-menu.open{ display:block; }
.account-menu .who{ padding:8px 10px 10px; border-bottom:1px solid var(--line-soft); margin-bottom:6px; }
.account-menu .who .name{ font-weight:600; font-size:13.5px; }
.account-menu .who .email{ font-size:11.5px; color:var(--ink-soft); margin-top:2px; word-break:break-all; }
.account-menu a{
  display:block; padding:8px 10px; font-size:13.5px; color:var(--ink); border-radius:4px;
}
.account-menu a:hover{ background: var(--stone); }

@media (max-width: 640px){
  .account-signin span{ display:none; } /* icon-only on small screens, keeps the header from wrapping */
}

/* Category nav */
.cat-nav{ border-bottom: 1px solid var(--line-soft); overflow-x:auto; scrollbar-width:none; }
.cat-nav::-webkit-scrollbar{ display:none; }
.cat-nav .container{ display:flex; gap:6px; padding-top:0; padding-bottom:0; }
.cat-chip{
  flex:none;
  padding: 8px 16px; font-size: 13px; letter-spacing:.02em;
  color: var(--ink-soft);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  appearance: none;
  -webkit-appearance: none;
  transition: color .2s var(--ease), border-color .2s var(--ease);
  white-space:nowrap;
}
.cat-chip:hover{ color: var(--ink); }
.cat-chip.active{ color: var(--burgundy); border-color: var(--gold); font-weight:600; }

/* Top-bar dropdown for categories that have subcategories */
.cat-chip.has-sub::after{
  content:""; display:inline-block; margin-left:7px; vertical-align:2px;
  border-left:4px solid transparent; border-right:4px solid transparent; border-top:5px solid currentColor;
  opacity:.55;
}
.cat-dropdown{
  position:fixed; z-index:200; min-width:190px; max-width:min(320px, 92vw);
  padding:6px; display:flex; flex-direction:column;
  background:var(--ivory); border:1px solid var(--line-soft); border-radius:10px;
  box-shadow:0 14px 34px rgba(40,20,20,.16);
}
.cat-dropdown[hidden]{ display:none; }
.cat-dd-item{
  appearance:none; -webkit-appearance:none; text-align:left;
  padding:9px 14px; font-size:13.5px; color:var(--ink); background:none; border:0; border-radius:6px; white-space:nowrap;
}
.cat-dd-item:hover, .cat-dd-item:focus-visible{ background:var(--stone); outline:none; }
.cat-dd-item.active{ color:var(--burgundy); font-weight:600; }
@media (max-width: 640px){ .cat-dropdown{ display:none !important; } }

/* Subcategory sub-menu (shown above the product grid inside a category) */
.sub-nav{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 18px; }
.sub-nav[hidden]{ display:none; }
.sub-chip{
  appearance:none; -webkit-appearance:none;
  padding:7px 16px; font-size:13px; letter-spacing:.02em;
  color:var(--ink-soft); background:transparent;
  border:1px solid var(--line-soft); border-radius:999px;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.sub-chip:hover{ color:var(--ink); border-color:var(--ink-soft); }
.sub-chip.active{ color:var(--ivory); background:var(--burgundy); border-color:var(--burgundy); font-weight:600; }
@media (max-width: 640px){
  .sub-nav{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; }
  .sub-nav::-webkit-scrollbar{ display:none; }
  .sub-chip{ flex:none; white-space:nowrap; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position:relative;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--stone) 100%);
  border-bottom: 1px solid var(--line-soft);
  overflow:hidden;
}
.hero .container{
  display:grid; grid-template-columns: 1.1fr .9fr; gap: 48px;
  align-items:center; padding-top: 28px; padding-bottom: 28px;
}
.hero h1{
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.03;
  margin-top: 18px;
}
.hero h1 em{ font-style: italic; color: var(--burgundy); }
.hero p.lede{
  margin-top: 20px; max-width: 46ch; color: var(--ink-soft); font-size: 16.5px;
}
.hero .cta-row{ display:flex; gap:14px; margin-top: 30px; flex-wrap:wrap; }

@media (max-width: 760px){
  .hero .container{ grid-template-columns: 1fr; gap: 32px; padding-top: 28px; padding-bottom: 28px; }
  .hero-visual{ order: 2; max-width: 340px; max-height: none; aspect-ratio: 4/5; margin: 0 auto; }
}

.hero-visual{
  display:block; width:100%; text-align:left; cursor:pointer;
  position:relative; aspect-ratio: 4/3; max-height: 340px; border-radius: var(--radius);
  background: var(--ink); overflow:hidden;
  box-shadow: var(--shadow-pop);
  transition: transform .3s var(--ease);
}
.hero-visual:hover{ transform: translateY(-2px); }
.hero-visual img{ width:100%; height:100%; object-fit:cover; opacity:.92; transition: opacity .5s ease; }
.hero-visual .plate{
  position:absolute; left:18px; bottom:18px; right:18px;
  background: rgba(21,18,15,0.72); color: var(--ivory);
  padding: 14px 16px; border-radius: var(--radius);
  display:flex; justify-content:space-between; align-items:baseline;
  font-size:13px;
}
.hero-visual .plate .n{ font-family:var(--font-display); font-size:16px; }

.hero-nav{
  position:absolute; top:50%; left:0; right:0; transform: translateY(-50%);
  display:flex; justify-content:space-between; padding: 0 14px; z-index:2;
}
.hero-nav button{
  width:40px; height:40px; border-radius:50%; border:none;
  background: rgba(255,255,255,0.88); color: var(--ink);
  font-size:22px; line-height:1; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 2px 10px rgba(21,18,15,0.2);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.hero-nav button:hover{ background:#fff; transform: scale(1.08); }

/* ==========================================================================
   Section headers
   ========================================================================== */
.section{ padding: 24px 0; } /* anchor offset under the sticky header comes from html{scroll-padding-top} */
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap: 20px; margin-bottom: 12px; flex-wrap:wrap;
}
.section-head h2{ font-size: clamp(26px, 3vw, 34px); margin-top:2px; line-height:1.15; }
.section-head .desc{ color: var(--ink-soft); max-width: 42ch; font-size:14.5px; }

/* The 72px/36px/64px/52px spacing above reads fine on desktop, but on a
   phone screen the same absolute values eat a disproportionate share of
   the viewport — several rails in a row felt like mostly dead space
   between them. Tightened specifically on mobile rather than changed
   globally, since desktop wasn't the complaint. */
@media (max-width: 640px){
  .section{ padding: 20px 0; }
  .section-head{ margin-bottom: 12px; }
  .homepage-rail-block{ margin-bottom: 18px; }
  .rail{ margin-bottom: 18px; }
}

.sort-control{ display:flex; align-items:center; gap:8px; }
.sort-control label{ font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-soft); }
.sort-control select{
  border:1px solid var(--line); border-radius:999px; padding:8px 14px;
  font-family:inherit; font-size:13px; background:#fff; cursor:pointer; color:var(--ink);
}
.sort-control select:focus{ outline:none; border-color:var(--ink); }

/* ==========================================================================
   Shop by Category / Shop by Occasion — the two homepage-navigation
   rails, each one big lifestyle-photo card per category/collection
   rather than a scroll of individual product cards. Same
   .rail-scroll-wrap/.rail-track/.rail-arrow/.rail-scroll-dots mechanics
   as every other rail on the page; only the card shape (.nav-card,
   defined further down) differs from a product .card.
   ========================================================================== */
.shop-by-collections{ padding-top: 0; } /* always directly follows Shop by Category when both show */

/* ==========================================================================
   Homepage sections (New In / Best Sellers / Curated Sets — horizontal
   scrollers, same card-rail mechanics as the category rails just below,
   reusing .rail-scroll-wrap/.rail-track/.rail-arrow as-is). Each block
   gets the same eyebrow + heading + chain-divider treatment as
   "Featured this week" above it, so all homepage curation rows read as
   one consistent family.
   ========================================================================== */
.homepage-rails{ padding-top: 0; }
.homepage-rail-block{ margin-bottom: 20px; }
.homepage-rail-block:last-child{ margin-bottom: 0; }

/* ==========================================================================
   Category rails (homepage "shop by category" horizontal scrollers)
   ========================================================================== */
.category-rails{ padding-top: 0; }
.rail{ margin-bottom: 20px; }
.rail:last-child{ margin-bottom: 0; }
.rail-head{
  display:flex; justify-content:space-between; align-items:baseline;
  gap: 20px; margin-bottom: 16px;
}
.rail-head h2{ font-size: clamp(22px, 2.6vw, 28px); }
.rail-viewmore{
  flex:none; display:inline-flex; align-items:center; gap:6px;
  font-size: 13px; letter-spacing:.03em; text-transform:uppercase; color: var(--ink-soft);
  border-bottom: 1px solid var(--line); padding-bottom: 3px;
  transition: color .2s var(--ease), border-color .2s var(--ease), gap .2s var(--ease);
}
.rail-viewmore:hover{ color: var(--burgundy); border-color: var(--burgundy); gap:10px; }

.rail-scroll-wrap{ position:relative; }
.rail-track{
  display:flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-left: 2px;
  scrollbar-width: none; -ms-overflow-style: none;
  margin: 0 -2px; padding: 2px 2px 6px;
}
.rail-track::-webkit-scrollbar{ display:none; }
.rail-track .card{ flex: 0 0 232px; scroll-snap-align: start; }

.rail-arrow{
  position:absolute; top:38%; transform: translateY(-50%);
  width:40px; height:40px; border-radius:50%;
  background: rgba(255,255,255,0.92); color: var(--ink);
  font-size:20px; line-height:1; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 2px 12px rgba(21,18,15,0.22);
  z-index:2; transition: background .2s var(--ease), transform .2s var(--ease);
}
.rail-arrow:hover{ background:#fff; transform: translateY(-50%) scale(1.07); }
.rail-arrow-prev{ left:-18px; }
.rail-arrow-next{ right:-18px; }
.rail-arrow[hidden]{ display:none; } /* .rail-arrow's own display:flex above would otherwise beat the [hidden] attribute */

@media (max-width: 900px){
  .rail-arrow{ display:none; } /* touch scroll handles it; arrows only add value with a mouse */
}
@media (max-width: 480px){
  .rail-track .card{ flex-basis: 168px; }
  .rail-track{ gap: 14px; }
}

/* Instagram-style scroll-position dots — mobile only, and only when a row
   actually has more content than fits on screen (bindRailScrollAids sets
   the `hidden` attribute in JS once it measures the row). This is the
   substitute for the arrows above, which CSS just hid for this viewport. */
.rail-scroll-dots{ display:none; }
@media (max-width: 900px){
  .rail-scroll-dots:not([hidden]){
    display:flex; justify-content:center; align-items:center; gap:6px;
    margin-top:10px;
  }
  .rail-scroll-dots .dot{
    width:6px; height:6px; border-radius:50%; background: var(--line);
    transition: width .25s var(--ease), border-radius .25s var(--ease), background-color .25s var(--ease);
  }
  .rail-scroll-dots .dot.active{
    width:18px; border-radius:4px; background: var(--burgundy);
  }
}

/* Nav cards — one big lifestyle-photo card per category/collection, used
   by Shop by Category and Shop by Occasion (see navCardHtml() in
   js/main.js). Sits inside the same .rail-track a product-card rail
   uses, but sized and shaped differently — a tall 4:5 photo instead of
   a square product shot, with the name/count/arrow below the image
   rather than overlaid on it (easier to keep legible across whatever
   photo an admin uploads, without needing a text-shadow/gradient to
   guarantee contrast). */
.nav-card-track .nav-card{
  flex: 0 0 260px; scroll-snap-align: start;
  display:block; text-decoration:none; color: inherit;
}
.nav-card-image-wrap{
  display:block; aspect-ratio: 4 / 5; overflow:hidden;
  border-radius: 3px; background: var(--paper-alt, #efe8da);
}
.nav-card-image-wrap img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition: transform .5s var(--ease);
}
.nav-card:hover .nav-card-image-wrap img{ transform: scale(1.05); }
.nav-card-label{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; margin-top:10px;
}
.nav-card-label .name{
  font-family: inherit; font-size:17px; color: var(--ink);
}
.nav-card-label .count{
  font-size:11px; color: var(--ink-soft); margin-left:3px; vertical-align:super;
}
.nav-card-label .arrow{
  flex:none; font-size:16px; color: var(--ink-soft);
  transition: transform .2s var(--ease), color .2s var(--ease);
}
.nav-card:hover .nav-card-label .arrow{ transform: translateX(4px); color: var(--burgundy); }

@media (max-width: 480px){
  .nav-card-track .nav-card{ flex-basis: 200px; }
}

/* ==========================================================================
   Product grid & cards
   ========================================================================== */
.grid{
  display:grid; gap: 28px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1040px){ .grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 760px){ .grid{ grid-template-columns: repeat(2,1fr); gap:18px; } }
@media (max-width: 480px){ .grid{ grid-template-columns: 1fr 1fr; gap:12px; } }

.card{
  background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover{ box-shadow: var(--shadow-card); transform: translateY(-3px); }
.card .thumb{
  position:relative; aspect-ratio: 1/1; background: var(--stone); overflow:hidden;
  cursor:pointer;
}
.card .thumb img{ width:100%; height:100%; object-fit:cover; transition: transform .5s var(--ease); }
.card:hover .thumb img{ transform: scale(1.06); }
.card .badge{
  position:absolute; top:10px; left:10px;
  background: var(--burgundy); color:#fff; font-size:10.5px;
  letter-spacing:.08em; text-transform:uppercase; padding:5px 9px; border-radius: var(--radius);
}
.card .photo-count{
  position:absolute; bottom:10px; right:10px;
  background: rgba(21,18,15,0.68); color:#fff; font-size:11px;
  padding:4px 8px; border-radius: 20px; letter-spacing:.02em;
}
.card .stockout{
  position:absolute; bottom:10px; left:10px;
  background: rgba(21,18,15,0.68); color:#fff; font-size:10.5px;
  letter-spacing:.08em; text-transform:uppercase; padding:5px 9px; border-radius: 20px;
}

/* Category landing page (Phase J') — hero + hand-picked peek, shown
   above the normal filtered grid when ?category=... points to a
   category with page content configured in admin. */
.category-hero{ padding:36px 0 8px; }
.category-hero .container{ display:flex; flex-direction:column; gap:0; }
.category-hero-media{ width:100%; aspect-ratio:21/9; border-radius:var(--radius); overflow:hidden; margin-bottom:20px; }
.category-hero-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.category-hero-body h1{ font-family:var(--font-display); font-size:clamp(26px,4vw,38px); margin:0 0 8px; }
.category-hero-body p{ max-width:56ch; color:var(--ink-soft); font-size:14.5px; line-height:1.6; margin:0 0 26px; }
.category-hero-peek{ padding:0 24px; max-width:1180px; margin:0 auto 22px; }
.category-hero-viewall{
  display:inline-block; font-size:13px; color:var(--ink-soft); text-decoration:none;
  border-bottom:1px solid var(--line); padding-bottom:2px; margin-bottom:30px;
}
.category-hero-viewall:hover{ color:var(--ink); border-color:var(--ink); }

/* Wishlist heart — card-corner version (top-right, the one unclaimed
   corner: badge sits top-left, photo-count bottom-right) */
.wishlist-btn{
  position:absolute; top:10px; right:10px; z-index:2;
  width:32px; height:32px; border-radius:50%; border:none;
  background: rgba(255,255,255,.88); color: var(--ink-soft);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.wishlist-btn:hover{ background:#fff; transform: scale(1.08); }
.wishlist-btn svg path{ fill:none; }
.wishlist-btn.active{ color: var(--burgundy); }
.wishlist-btn.active svg path{ fill: currentColor; }

/* Wishlist heart — product detail view (inline next to price, with label) */
.wishlist-btn.detail{
  position:static; width:auto; height:auto; border-radius:999px;
  padding:8px 14px; gap:6px; background:transparent; border:1px solid var(--line);
  font-size:12.5px; font-weight:600; letter-spacing:.03em; margin:10px 0 4px;
}
.wishlist-btn.detail:hover{ border-color: var(--ink); transform:none; }
.wishlist-btn.detail.active{ border-color: var(--burgundy); background: rgba(92,31,48,.06); }
.card .body{ padding: 16px; display:flex; flex-direction:column; gap:6px; flex:1; }
.card .cat{ font-size: 11px; letter-spacing:.08em; text-transform:uppercase; color: var(--gold); font-weight:600; }
.card .name{ font-family: var(--font-display); font-size: 17px; cursor:pointer; }
.card .low-stock{ font-size: 11px; color: var(--burgundy); font-weight:600; }
.card .variant-indicator{ font-size: 11px; color: var(--ink-soft); }
.card .price{ margin-top:auto; padding-top:10px; font-size: 15.5px; font-weight:600; display:flex; align-items:baseline; gap:8px; }
.card .price .strike{ font-weight:400; font-size:13px; color:var(--ink-soft); text-decoration: line-through; }
.card .buy{
  margin-top: 12px; flex:1; padding: 12px; text-align:center;
  border:none; background: var(--ink); color: var(--ivory);
  font-size:12.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(21,18,15,0.15);
  transition: background .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.card .buy:hover{ background: var(--burgundy); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(92,31,48,0.32); }
.card .buy:active{ transform: translateY(0); box-shadow: 0 2px 8px rgba(92,31,48,0.25); }
.card .buy:disabled{ opacity:.4; cursor:not-allowed; box-shadow:none; transform:none; }

.card .card-actions{ display:flex; gap:8px; }
.card .quick-add{
  margin-top:12px; flex:none; width:44px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line); border-radius:999px; color:var(--ink);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.card .quick-add:hover{ background: var(--ink); color:var(--ivory); border-color:var(--ink); transform: translateY(-2px); }
.card .quick-add:disabled{ opacity:.4; cursor:not-allowed; transform:none; }

.empty-state{
  text-align:center; padding: 60px 20px; color: var(--ink-soft);
}
.empty-state h3{ margin-bottom:8px; }

/* ==========================================================================
   Product view — an in-page section (not a popup overlay). Shown in place
   of the hero + catalogue grid; the header and footer stay visible around
   it in the normal page flow. See js/main.js: openProductView().
   ========================================================================== */
.product-view{ padding: 32px 24px 56px; }
.back-link{
  display:inline-flex; align-items:center; gap:8px; margin-bottom:20px;
  font-size:13.5px; font-weight:600; color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.back-link:hover{ color: var(--ink); }
.product-view-grid{
  background:#fff; border-radius: var(--radius); box-shadow: var(--shadow-pop);
  overflow:hidden; display:grid; grid-template-columns: 1fr 1fr;
}
@media (max-width: 700px){ .product-view-grid{ grid-template-columns:1fr; } }
.product-view .m-image{ background: var(--stone); aspect-ratio: 1/1; position:relative; display:flex; flex-direction:column; min-width:0; min-height:0; }
.product-view .m-image img{ width:100%; height:100%; object-fit:cover; flex:1; min-height:0; min-width:0; }

.gallery-nav{
  display:none; position:absolute; top:50%; left:0; right:0; transform: translateY(-50%);
  justify-content:space-between; padding: 0 12px; pointer-events:none;
}
.gallery-nav button{
  pointer-events:auto;
  width:38px; height:38px; border-radius:50%; border:none;
  background: rgba(255,255,255,0.85); color: var(--ink);
  font-size:20px; line-height:1; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 2px 10px rgba(21,18,15,0.18);
  transition: background .2s ease;
}
.gallery-nav button:hover{ background:#fff; }

.gallery-thumbs{
  display:none; gap:8px; padding: 10px; background: rgba(255,255,255,0.9);
  overflow-x:auto; justify-content:center;
}
.thumb-btn{
  flex:none; width:52px; height:52px; border-radius: var(--radius);
  border:2px solid transparent; padding:0; overflow:hidden; background:none;
  opacity:.7; transition: opacity .2s ease, border-color .2s ease;
}
.thumb-btn img{ width:100%; height:100%; object-fit:cover; display:block; }
.thumb-btn.active{ opacity:1; border-color: var(--gold); }
.thumb-btn:hover{ opacity:1; }
.product-view .m-body{ padding: 30px; display:flex; flex-direction:column; }
.product-view .m-cat{ font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--gold); font-weight:700; }
.product-view .m-name{ font-size: 26px; margin-top:8px; font-family: var(--font-display); }
.product-view .m-price{ font-size: 20px; font-weight:700; margin-top: 12px; display:flex; align-items:baseline; gap:8px; }
.m-shipping-note{ font-size:12.5px; color:var(--ink-soft); margin-top:4px; }
.product-view .m-price .strike{ font-weight:400; font-size:14.5px; color:var(--ink-soft); text-decoration: line-through; }
.product-view .m-price .discount-pct{ font-size:13px; font-weight:600; color:var(--burgundy); }
.product-view .m-desc{ margin-top: 16px; color: var(--ink-soft); font-size: 14.5px; line-height:1.7; }
.product-view .m-qty{ display:flex; align-items:center; gap:14px; margin-top:22px; }
.variant-picker{ margin-top:14px; }
.variant-picker-label{ display:block; font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-soft); margin-bottom:8px; }
.variant-picker-options{ display:flex; flex-wrap:wrap; gap:8px; }
.variant-pill{
  padding:9px 16px; border:1px solid var(--line); border-radius:999px; background:#fff;
  font-size:13px; cursor:pointer;
}
.variant-pill:hover{ border-color:var(--ink); }
.variant-pill.selected{ background:var(--ink); color:#fff; border-color:var(--ink); }
.variant-pill.unavailable{ text-decoration:line-through; color:var(--ink-soft); cursor:not-allowed; opacity:.5; }
.variant-picker-feedback{ color:var(--burgundy); font-size:12.5px; margin-top:8px; }
.product-view .m-qty button{
  width:32px; height:32px; border:1px solid var(--line); background:#fff; border-radius: var(--radius); font-size:16px;
}
.product-view .m-actions{ margin-top: 26px; display:flex; flex-direction:column; gap:10px; }
.btn-whatsapp{
  display:flex; align-items:center; justify-content:center; gap:10px;
  background:#1F7A54; color:#fff; padding: 14px; border-radius: 999px;
  font-size:14px; letter-spacing:.02em; font-weight:600;
  box-shadow: 0 2px 8px rgba(31,122,84,0.25);
  transition: filter .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-whatsapp:hover{ filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31,122,84,0.35); }

/* Add to cart / Buy Now — the primary twin-button row (see index.html's
   product view and the cart drawer footer). Buy Now is the real,
   Razorpay-backed payment path; Add to cart stays outlined/secondary in
   comparison, matching the traditional Amazon/Myntra visual hierarchy. */
.btn-add-cart{
  width:100%; display:flex; align-items:center; justify-content:center; gap:8px;
  background:#fff; color: var(--ink); border:1px solid var(--ink); padding:14px;
  border-radius:999px; font-size:14px; letter-spacing:.02em; font-weight:600; margin-top:22px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.btn-add-cart:hover{ background: var(--ink); color:#fff; }
.btn-add-cart:disabled{ opacity:.4; cursor:not-allowed; background:#fff; color:var(--ink); }
.m-actions-primary{ margin-top:10px; }
.btn-buy-now{
  width:100%; display:flex; align-items:center; justify-content:center; gap:10px;
  background: var(--burgundy); color:#fff; padding: 14px; border-radius: 999px; border:none;
  font-size:14px; letter-spacing:.02em; font-weight:600; cursor:pointer;
  box-shadow: 0 2px 8px rgba(92,31,48,0.25);
  transition: filter .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-buy-now:hover{ filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(92,31,48,0.35); }
.btn-buy-now:disabled{ opacity:.5; cursor:not-allowed; transform:none; box-shadow:none; }
.m-note{ font-size:12.5px; color: var(--ink-soft); margin-top:6px; line-height:1.6; }

/* Reviews — the small inline summary near the price (.pdp-rating-summary)
   and the full section near the bottom of the product view
   (.product-reviews), both built by js/main.js from get-reviews.php.
   Stars are plain text glyphs (★/☆), not an icon font — keeps this
   dependency-free like the rest of the site. There's no global
   [hidden] rule in this stylesheet, so every element below that sets
   its own `display` and is also toggled via the hidden attribute needs
   its own [hidden] override — otherwise its display value wins and the
   element never actually disappears. */
.pdp-rating-summary{ display:flex; align-items:center; gap:8px; font-size:14px; color:var(--ink-soft); margin:-2px 0 10px; }
.pdp-rating-summary[hidden]{ display:none; }
.pdp-rating-summary .stars{ color:#C99B3A; font-size:18px; letter-spacing:2px; }

.product-reviews{ margin-top:40px; padding-top:32px; border-top:1px solid var(--line); }
.product-reviews h3{ font-family:var(--font-display); font-size:22px; margin-bottom:6px; }
.product-reviews .reviews-summary-line{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-size:14px; color:var(--ink-soft); margin-bottom:22px; }
.product-reviews .reviews-summary-line .stars{ color:#C99B3A; font-size:21px; letter-spacing:2px; }
.review-empty{ font-size:14px; color:var(--ink-soft); margin-bottom:6px; }

.review-card{
  display:flex; gap:14px; padding:16px 18px; margin-bottom:12px;
  background:#FBF8F1; border:1px solid var(--line); border-radius:var(--radius);
}
.review-avatar{
  flex:0 0 38px; width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(92,31,48,.10); color:var(--burgundy); font-weight:700; font-size:14px;
  object-fit:cover; /* only applies when this is an <img> (an uploaded avatar) — ignored on the fallback-initial <div> */
}
.review-body{ flex:1; min-width:0; }
/* Homepage reviews showcase — the owner-curated carousel (see
   renderReviewsShowcase() in js/main.js). Reuses the shared
   .rail-scroll-wrap/.rail-track/.rail-arrow mechanics; only the card is
   its own. */
.reviews-showcase{ padding-top:0; }
.reviews-showcase[hidden]{ display:none; }
.rail-track .review-showcase-card{ flex:0 0 min(340px, 82vw); scroll-snap-align:start; }
.review-showcase-card{
  display:flex; flex-direction:column; gap:10px; padding:22px;
  background:#FBF8F1; border:1px solid var(--line); border-radius:var(--radius);
  cursor:pointer; transition:border-color .15s, box-shadow .15s;
}
.review-showcase-card:hover, .review-showcase-card:focus-visible{
  border-color:var(--ink); box-shadow:0 4px 18px rgba(21,18,15,.08); outline:none;
}
.review-showcase-card .stars{ color:#C99B3A; font-size:20px; letter-spacing:2px; }
.review-showcase-text{
  margin:0; font-size:14.5px; line-height:1.7; color:var(--ink-soft);
  display:-webkit-box; -webkit-line-clamp:6; -webkit-box-orient:vertical; overflow:hidden;
}
.review-showcase-photo{ width:100%; height:150px; object-fit:cover; border-radius:2px; }
.review-showcase-foot{ display:flex; align-items:center; gap:10px; margin-top:auto; padding-top:6px; }
.review-showcase-foot .review-name{ display:block; font-weight:600; font-size:13.5px; }
.review-showcase-product{ display:block; font-size:12px; color:var(--ink-soft); }
@media (max-width: 900px){ .rail-track .review-showcase-card{ flex-basis:min(300px, 82vw); } }

.review-photos{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.review-photos img{ width:64px; height:64px; object-fit:cover; border-radius:4px; border:1px solid var(--line); }
.review-card .review-top{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.review-card .review-name{ font-weight:600; font-size:14px; }
.review-card .review-date{ font-size:12px; color:var(--ink-soft); white-space:nowrap; }
.review-card .stars{ display:block; color:#C99B3A; font-size:17px; letter-spacing:2px; margin:2px 0 6px; }
.review-card .review-text{ margin:0; font-size:14px; line-height:1.7; color:var(--ink-soft); overflow-wrap:anywhere; }

/* "Leave a review" button + the form it reveals */
.review-cta{ margin-top:22px; }
.review-cta-btn{
  display:inline-flex; align-items:center; gap:10px; padding:13px 26px;
  border:1.5px solid var(--ink); border-radius:999px; background:transparent; color:var(--ink);
  font-family:inherit; font-size:12.5px; font-weight:600; letter-spacing:.07em; text-transform:uppercase;
  cursor:pointer; transition:background .2s, color .2s, border-color .2s;
}
.review-cta-btn:hover{ background:var(--ink); color:#fff; }
.review-cta-btn.open{ background:var(--burgundy); border-color:var(--burgundy); color:#fff; }

.review-form-wrap{ margin-top:16px; }
.review-form-wrap:not([hidden]){ animation:reviewFormIn .35s ease both; }
@keyframes reviewFormIn{ from{ opacity:0; transform:translateY(-8px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .review-form-wrap:not([hidden]){ animation:none; } }

.review-form-card{ padding:26px; background:#FBF8F1; border:1px solid var(--line); border-radius:var(--radius); }
.review-loading{ margin:0; font-size:14px; color:var(--ink-soft); }
.review-as{
  display:flex; align-items:center; gap:10px; padding-bottom:16px; margin-bottom:20px;
  border-bottom:1px dashed var(--line); font-size:13.5px; color:var(--ink-soft);
}
.review-as strong{ color:var(--ink); }
.review-as-avatar{ flex:0 0 34px; width:34px; height:34px; border-radius:50%; object-fit:cover; }
.review-as-avatar.fallback{ display:flex; align-items:center; justify-content:center; background:var(--burgundy); color:#fff; font-size:12px; font-weight:700; }

.review-label{ display:block; margin-bottom:8px; font-size:11.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-soft); }
.review-star-row{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:22px; }
.review-star-picker{ display:inline-flex; gap:2px; }
.review-star-picker button{
  padding:0 3px; border:none; background:none; cursor:pointer;
  font-size:42px; line-height:1; color:#D8CFBD;
  transition:color .12s, transform .12s;
}
.review-star-picker button.active,
.review-star-picker button.hover{ color:#C99B3A; }
.review-star-picker button:hover{ transform:scale(1.15); }
.review-star-picker button:focus-visible{ outline:2px solid var(--burgundy); outline-offset:2px; border-radius:4px; }
.review-star-label{ min-height:1.3em; font-family:var(--font-display); font-style:italic; font-size:16px; color:var(--burgundy); }

.review-form-card textarea{
  display:block; width:100%; min-height:120px; padding:12px 14px;
  border:1px solid var(--line); border-radius:2px; background:#fff;
  font-family:inherit; font-size:14px; line-height:1.6; resize:vertical;
  transition:border-color .15s, box-shadow .15s;
}
.review-form-card textarea:focus{ outline:none; border-color:var(--burgundy); box-shadow:0 0 0 3px rgba(92,31,48,.12); }
.review-label-optional{ text-transform:none; letter-spacing:0; font-weight:400; opacity:.75; }
.review-form-card input[type="file"]{
  display:block; width:100%; margin-top:14px; padding:10px 12px; box-sizing:border-box;
  border:1px dashed var(--line); border-radius:2px; background:#fff;
  font-family:inherit; font-size:13px; cursor:pointer;
}
.review-photo-picks{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.review-photo-picks[hidden]{ display:none; }
.review-photo-pick{ font-size:12px; padding:3px 10px; border-radius:999px; background:var(--stone); color:var(--ink-soft); max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.review-form-foot{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:14px; }
.review-char-count{ font-size:12px; color:var(--ink-soft); }
.review-submit-btn{
  padding:13px 32px; border:none; border-radius:999px; background:var(--ink); color:#fff;
  font-family:inherit; font-size:12.5px; font-weight:600; letter-spacing:.07em; text-transform:uppercase;
  cursor:pointer; transition:background .2s;
}
.review-submit-btn:hover{ background:var(--burgundy); }
.review-submit-btn:disabled{ opacity:.6; cursor:not-allowed; }
.review-form-feedback{ margin:12px 0 0; font-size:13px; }
.review-form-feedback[hidden]{ display:none; }
.review-form-feedback.error{ color:var(--burgundy); }

/* Signed-out state and the post-submit thank-you */
.review-signin{ text-align:center; padding:30px 24px; }
.review-signin h4, .review-thanks h4{ font-family:var(--font-display); font-size:19px; margin:0 0 8px; }
.review-signin p, .review-thanks p{ max-width:44ch; margin:0 auto 18px; font-size:14px; line-height:1.65; color:var(--ink-soft); }
.review-signin-btn{
  display:inline-flex; align-items:center; gap:10px; padding:12px 26px;
  background:#fff; border:1px solid var(--line); border-radius:999px;
  font-size:14px; font-weight:600; color:var(--ink); text-decoration:none;
  transition:border-color .15s, box-shadow .15s;
}
.review-signin-btn:hover{ border-color:var(--ink); box-shadow:0 2px 10px rgba(21,18,15,.08); }
.review-thanks{ text-align:center; padding:30px 24px; }
.review-thanks p{ margin-bottom:0; }
.review-thanks-icon{
  width:48px; height:48px; margin:0 auto 12px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(31,122,84,.12); color:#1F7A54; font-size:24px; font-weight:700;
}

@media (max-width: 560px){
  .review-form-card{ padding:18px; }
  .review-star-picker button{ font-size:38px; }
  .review-cta-btn{ width:100%; justify-content:center; }
  .review-form-foot{ flex-direction:column-reverse; align-items:stretch; }
  .review-submit-btn{ width:100%; }
}
.m-or{ font-size:12.5px; color: var(--ink-soft); margin:18px 0 8px; text-align:center; }


/* ==========================================================================
   About / trust strip
   ========================================================================== */
.trust-strip{ background: var(--ink); color: var(--ivory); } /* legacy, no longer used on the homepage */
.trust-strip .container{
  display:grid; grid-template-columns: repeat(3,1fr); gap: 30px;
  padding: 48px 24px;
}
.trust-item{ display:flex; gap:14px; align-items:flex-start; }
.trust-item svg{ flex:none; stroke: var(--gold); margin-top:2px; }
.trust-item h4{ font-family:var(--font-body); font-size:14px; letter-spacing:.02em; }
.trust-item p{ font-size:13px; color: rgba(247,242,231,.7); margin-top:4px; }
@media (max-width: 760px){ .trust-strip .container{ grid-template-columns:1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--stone); border-top:1px solid var(--line-soft); }
.site-footer .container{ padding: 48px 24px 32px; display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.site-footer .col h4{ font-size:12px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:12px; color:var(--ink-soft); }
.site-footer .col a, .site-footer .col p{ display:block; font-size:13.5px; margin-bottom:8px; color: var(--ink); }
.foot-bottom{ text-align:center; padding: 16px; font-size:12px; color: var(--ink-soft); border-top:1px solid var(--line-soft); }
.foot-bottom .credit{ display:block; margin-top:4px; }
.foot-bottom .credit strong{ font-weight:700; color: var(--ink); }

/* Toast */
.toast{
  position:fixed; bottom:24px; left:50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color:#fff; padding: 12px 20px; border-radius: var(--radius);
  font-size: 13.5px; opacity:0; pointer-events:none; transition: all .3s var(--ease); z-index:200;
}
.toast.show{ opacity:1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   Cart trigger (header) + drawer
   ========================================================================== */
.cart-trigger{
  position:relative; display:flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:50%; flex:none;
  color: var(--ink); transition: background .2s var(--ease);
}
.cart-trigger:hover{ background: var(--stone); }
.cart-count{
  position:absolute; top:-2px; right:-2px;
  min-width:16px; height:16px; padding:0 4px; border-radius:999px;
  background: var(--burgundy); color:#fff; font-size:10px; font-weight:700;
  display:flex; align-items:center; justify-content:center; line-height:1;
}

.cart-overlay{
  position:fixed; inset:0; background: rgba(21,18,15,0.45); z-index:150;
}
.cart-drawer{
  position:fixed; top:0; right:0; bottom:0; width:100%; max-width:420px;
  background:#fff; z-index:151; display:flex; flex-direction:column;
  box-shadow: var(--shadow-pop);
  transform: translateX(100%); transition: transform .3s var(--ease);
}
.cart-drawer:not([hidden]){ transform: translateX(0); }
.cart-drawer-head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 20px 22px; border-bottom:1px solid var(--line-soft); flex:none;
}
.cart-drawer-head h3{ font-size:19px; }
.cart-close{
  width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:14px; color: var(--ink-soft); transition: background .2s var(--ease);
}
.cart-close:hover{ background: var(--stone); color: var(--ink); }

.cart-items{ flex:1; overflow-y:auto; padding: 12px 22px; }
.cart-line{
  display:flex; gap:12px; padding: 14px 0; border-bottom:1px solid var(--line-soft);
}
.cart-line img{
  width:64px; height:64px; object-fit:cover; border-radius: var(--radius); flex:none;
  background: var(--stone);
}
.cart-line-body{ flex:1; min-width:0; display:flex; flex-direction:column; gap:4px; }
.cart-line-name{ font-size:14px; font-weight:600; line-height:1.3; }
.cart-line-variant{ font-weight:400; color:var(--ink-soft); font-size:12.5px; }
.cart-line-cat{ font-size:11px; color: var(--ink-soft); text-transform:uppercase; letter-spacing:.06em; }
.cart-line-note{ font-size:11.5px; color: var(--burgundy); }
.cart-line-bottom{ display:flex; align-items:center; justify-content:space-between; margin-top:4px; gap:8px; }
.cart-line-qty{ display:flex; align-items:center; gap:10px; }
.cart-line-qty button{
  width:24px; height:24px; border:1px solid var(--line); background:#fff; border-radius: var(--radius); font-size:14px;
  display:flex; align-items:center; justify-content:center;
}
.cart-line-price{ font-size:13.5px; font-weight:600; }
.cart-line-remove{
  font-size:11.5px; color: var(--ink-soft); text-decoration:underline; text-underline-offset:2px;
}
.cart-line-remove:hover{ color: var(--burgundy); }

.cart-empty{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; padding:40px 24px; text-align:center; color: var(--ink-soft); }
.cart-empty[hidden]{ display:none; }

.cart-footer{ flex:none; padding: 18px 22px 22px; border-top:1px solid var(--line-soft); display:flex; flex-direction:column; gap:10px; }
.cart-footer[hidden]{ display:none; }
.cart-total{ display:flex; align-items:baseline; justify-content:space-between; font-size:15px; margin-bottom:4px; }
.cart-total strong{ font-size:20px; font-family: var(--font-display); }
.cart-subtotal-row{ display:flex; justify-content:space-between; font-size:13px; color:var(--ink-soft); margin-bottom:4px; }

/* Coupons — shared by the cart drawer (#cartCouponBox) and the product
   detail view (#modalCouponBox); see renderCouponBox() in js/main.js. */
.coupon-box{ margin-bottom:12px; }
.coupon-row{ display:flex; gap:8px; }
.coupon-input{
  flex:1; padding:9px 16px; border:1px solid var(--line); border-radius:999px;
  font-family:inherit; font-size:13px;
}
.coupon-input:focus{ outline:none; border-color:var(--ink); }
.coupon-apply-btn{
  padding:9px 20px; border:1px solid var(--ink); border-radius:999px; background:var(--ink);
  color:#fff; font-size:12.5px; font-weight:600; cursor:pointer; white-space:nowrap;
}
.coupon-apply-btn:hover{ background:var(--burgundy); border-color:var(--burgundy); }
.coupon-apply-btn:disabled{ opacity:.6; cursor:not-allowed; }
.coupon-feedback{ font-size:12px; color:var(--burgundy); margin:6px 0 0; }
.coupon-applied-row{
  display:flex; justify-content:space-between; align-items:center; font-size:13px;
  background:#E4F3EC; border:1px solid #BFE3D0; border-radius:999px; padding:9px 16px;
}
.coupon-applied-row .coupon-remove-btn{
  background:none; border:none; padding:0; font-size:12px; color:var(--ink-soft); text-decoration:underline; cursor:pointer;
}
.coupon-applied-row .coupon-remove-btn:hover{ color:var(--ink); }
.coupon-discount-value{ font-weight:600; color:#1F7A54; }

.m-or{ font-size:12px; color: var(--ink-soft); margin: 4px 0 14px; }

@media (max-width: 480px){
  .cart-drawer{ max-width:100%; }
}

/* ---------------------------------------------------------------------
   Pincode / delivery check modal (js/main.js: Pincode section). Opened
   from the inline delivery-check line above the purchase buttons (see
   .delivery-check-inline further down) — no header trigger; the check
   lives where the buying decision happens. Deliberately styled
   independently rather than reusing .cart-drawer/.modal-close, since
   those were built for a slide-in panel and a full-page view
   respectively — this is a small centered dialog.
   --------------------------------------------------------------------- */
.pincode-overlay{
  position:fixed; inset:0; background: rgba(21,18,15,0.45); z-index:170;
}
.pincode-modal{
  position:fixed; top:50%; left:50%; transform: translate(-50%,-50%);
  width:calc(100% - 40px); max-width:380px; background:#fff; z-index:171;
  border-radius: var(--radius); box-shadow: var(--shadow-pop);
  padding: 28px 24px 24px;
}
.pincode-modal h3{ font-size:19px; margin:0 0 6px; padding-right:24px; }
.pincode-modal .hint{ font-size:13px; color: var(--ink-soft); margin:0 0 18px; line-height:1.5; }
.pincode-close{
  position:absolute; top:14px; right:14px; width:28px; height:28px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:13px; color: var(--ink-soft); transition: background .2s var(--ease);
}
.pincode-close:hover{ background: var(--stone); color: var(--ink); }

.pincode-row{ display:flex; gap:10px; }
.pincode-row input{
  flex:1; min-width:0; padding:11px 14px; border:1px solid var(--line); border-radius: var(--radius);
  font-size:14px; letter-spacing:.03em;
}
.pincode-row input:focus{ outline:none; border-color: var(--ink); }
.pincode-submit{
  flex:none; padding:11px 18px; border-radius: var(--radius); border:1px solid var(--ink);
  background: var(--ink); color:#fff; font-size:13.5px; cursor:pointer;
  transition: background .2s var(--ease), opacity .2s var(--ease);
}
.pincode-submit:hover{ background: var(--burgundy); border-color: var(--burgundy); }
.pincode-submit:disabled{ opacity:.6; cursor:not-allowed; }

.pincode-feedback{ margin:14px 0 0; font-size:13.5px; line-height:1.5; padding:10px 12px; border-radius: var(--radius); }
.pincode-feedback.ok{ background: rgba(31,122,84,0.1); color:#1F7A54; }
.pincode-feedback.error{ background: rgba(92,31,48,0.08); color: var(--burgundy); }

/* Shipping-details modal reuses .pincode-modal/.pincode-overlay/.pincode-close/
   .pincode-submit/.pincode-feedback — this is just the form-field layout,
   plus the saved-address book UI added on top of it. */
.shipping-field{ margin-bottom:14px; }
.shipping-field label{ display:block; font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color: var(--ink-soft); margin-bottom:6px; }
.shipping-field input, .shipping-field textarea{
  width:100%; padding:11px 14px; border:1px solid var(--line); border-radius: var(--radius);
  font-size:14px; font-family:inherit; resize:vertical;
}
.shipping-field input:focus, .shipping-field textarea:focus{ outline:none; border-color: var(--ink); }
.shipping-field .optional-tag{ text-transform:none; letter-spacing:0; font-size:11px; }

/* Address book — saved addresses (signed-in customers) */
.shipping-modal{ max-width:420px; max-height:85vh; overflow-y:auto; }
.saved-address-card{
  border:1px solid var(--line); border-radius:var(--radius); padding:13px 14px;
  margin-bottom:10px; cursor:pointer; transition:border-color .15s ease;
}
.saved-address-card:hover{ border-color:var(--ink); }
.saved-address-card .addr-top{ display:flex; align-items:center; gap:8px; margin-bottom:4px; }
.address-label-pill{
  font-size:10.5px; text-transform:uppercase; letter-spacing:.05em; padding:2px 8px;
  border-radius:20px; background:var(--stone); color:var(--ink-soft);
}
.address-label-pill.default{ background:var(--ink); color:#fff; }
.saved-address-card .addr-name{ font-weight:600; font-size:13.5px; }
.saved-address-card .addr-line{ font-size:13px; color:var(--ink-soft); line-height:1.5; }
.saved-address-card.address-error{ border-color:var(--burgundy); }
.saved-address-card .addr-inline-error{ color:var(--burgundy); font-size:12.5px; margin-top:6px; }
.add-new-address-link{
  display:block; text-align:center; padding:12px; border:1px dashed var(--line); border-radius:var(--radius);
  font-size:13.5px; cursor:pointer; color:var(--ink); margin-bottom:4px;
}
.add-new-address-link:hover{ border-color:var(--ink); background:var(--stone); }
.back-to-list{ font-size:13px; color:var(--ink-soft); cursor:pointer; margin:0 0 16px; }
.back-to-list:hover{ color:var(--ink); }
.shipping-label-row{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.shipping-label-row select{
  padding:9px 10px; border:1px solid var(--line); border-radius:var(--radius); font-family:inherit; font-size:13.5px;
}
.shipping-default-check{ display:flex !important; align-items:center; gap:6px; font-size:13px; text-transform:none !important; letter-spacing:0 !important; color:var(--ink-soft); margin:0 !important; }

/* ---------------------------------------------------------------------
   My Account page (account.php + js/account.js). Reuses .saved-address-card
   / .address-label-pill / .shipping-field / .shipping-label-row from the
   checkout address book above — this is just the page-level layout and
   the small additions specific to managing (not just picking) addresses.
   --------------------------------------------------------------------- */
.account-page{ padding:40px 24px 80px; max-width:720px; }
.account-title{ font-size:28px; margin:0 0 24px; }
.account-tabs{ display:flex; gap:4px; border-bottom:1px solid var(--line); margin-bottom:28px; flex-wrap:wrap; }
.account-tab{
  background:none; border:none; padding:10px 16px; font-size:14px; cursor:pointer;
  color:var(--ink-soft); border-bottom:2px solid transparent; margin-bottom:-1px;
}
.account-tab:hover{ color:var(--ink); }
.account-tab.active{ color:var(--ink); border-bottom-color:var(--ink); font-weight:600; }

.profile-card{ display:flex; align-items:center; gap:18px; margin-bottom:16px; }
.profile-avatar img{ width:64px; height:64px; border-radius:50%; object-fit:cover; }
.avatar-fallback.large{ width:64px; height:64px; font-size:24px; }
.profile-name{ font-size:19px; font-weight:600; }
.profile-email{ color:var(--ink-soft); font-size:14px; margin-top:2px; }
.profile-since{ color:var(--ink-soft); font-size:12.5px; margin-top:6px; }
.account-note{ color:var(--ink-soft); font-size:13.5px; line-height:1.6; }
.account-coming-soon{ color:var(--ink-soft); font-size:14px; padding:24px 0; }

.account-panel-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.account-panel-head h2{ font-size:18px; margin:0; }
.btn-small{
  padding:9px 16px; border:1px solid var(--ink); border-radius:var(--radius); background:transparent;
  font-size:13px; cursor:pointer; color:var(--ink);
}
.btn-small:hover{ background:var(--stone); }
.btn-small.primary{ background:var(--ink); color:#fff; }
.btn-small.primary:hover{ background:var(--burgundy); border-color:var(--burgundy); }
.account-form-actions{ display:flex; gap:10px; margin-top:6px; }

.saved-address-card.manage{ cursor:default; }
.saved-address-card.manage:hover{ border-color:var(--line); }
.addr-actions{ display:flex; gap:14px; margin-top:10px; }
.link-btn{ background:none; border:none; padding:0; font-size:12.5px; color:var(--ink-soft); text-decoration:underline; cursor:pointer; }
.link-btn:hover{ color:var(--ink); }

.ticket-thread{ max-height:320px; overflow-y:auto; margin:16px 0; display:flex; flex-direction:column; gap:10px; }
.ticket-message{ padding:10px 12px; border-radius:var(--radius); font-size:13.5px; max-width:85%; }
.ticket-message.from-customer{ background:var(--stone); align-self:flex-end; }
.ticket-message.from-admin{ background:#E4F3EC; align-self:flex-start; }
.ticket-message-meta{ font-size:11px; color:var(--ink-soft); margin-bottom:4px; }
.ticket-message-body{ white-space:pre-wrap; line-height:1.5; }
.ship-form textarea{ width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:var(--radius); font-family:inherit; font-size:13.5px; margin-bottom:10px; resize:vertical; }

.account-panel-title{ font-size:18px; margin:0 0 16px; }
.order-card .addr-top{ justify-content:space-between; }
.order-card-receipt{ font-size:12.5px; color:var(--ink-soft); }

/* Status pills — shared by the customer-facing order list (js/account.js).
   receipt.php intentionally keeps its own separately-scoped .status-pill
   (white text on a solid color, print-oriented) — these two never
   collide since receipt.php's own <style> block comes later in that
   page's cascade and wins for that page specifically. */
.status-pill{ font-size:11px; padding:3px 8px; border-radius:20px; text-transform:uppercase; letter-spacing:.04em; }
.status-pill.paid{ background:#E4F3EC; color:#1F7A54; }
.status-pill.pending_payment{ background:#FBF0DC; color:#8A6216; }
.status-pill.payment_failed{ background:#F6E7E7; color:#8A2C2C; }
.status-pill.placed{ background:#E6EEF7; color:#2C5C8A; }
.status-pill.shipped{ background:#EAE6F5; color:#4C2C8A; }

.wishlist-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:18px; }
.wishlist-item-thumb{
  position:relative; display:block; aspect-ratio:1/1; background:var(--stone);
  border-radius:var(--radius); overflow:hidden; margin-bottom:8px;
}
.wishlist-item-thumb img{ width:100%; height:100%; object-fit:cover; }
.wishlist-item-stockout{
  position:absolute; inset:0; background:rgba(247,242,231,.8); display:flex; align-items:center; justify-content:center;
  font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink);
}
.wishlist-item-name{ display:block; font-size:13.5px; color:var(--ink); text-decoration:none; margin-bottom:4px; }
.wishlist-item-name:hover{ text-decoration:underline; }
.wishlist-item-price{ font-size:13px; font-weight:600; margin-bottom:6px; }

/* ---------------------------------------------------------------------
   Inline delivery-check line — shown directly above the purchase
   buttons in the product view and the cart drawer (js/main.js:
   renderInlineDeliveryCheck()), so checking delivery happens right where
   the buying decision is, not just from the header widget.
   --------------------------------------------------------------------- */
.delivery-check-inline{
  display:flex; align-items:center; gap:6px; flex-wrap:wrap;
  font-size:12.5px; color: var(--ink-soft); line-height:1.5;
  background: var(--stone); border-radius: var(--radius);
  padding:9px 12px; margin: 10px 0 14px;
}
.cart-footer .delivery-check-inline{ margin:0; } /* .cart-footer already applies gap:10px between children */
.delivery-check-inline strong{ color: var(--ink); }
.delivery-check-cta, .delivery-check-change{
  background:none; border:none; padding:0; font-size:inherit; font-family:inherit;
  color: var(--burgundy); text-decoration:underline; cursor:pointer;
}

/* End-of-page card pointing to a related subcategory */
.sub-promo{ margin-top:36px; }
.sub-promo[hidden]{ display:none; }
.sub-promo-card{
  display:flex; align-items:center; gap:22px; padding:16px;
  background:#fff; border:1px solid var(--line-soft); border-radius:14px; text-decoration:none; color:var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.sub-promo-card:hover{ border-color:var(--gold); box-shadow:0 10px 28px rgba(60,30,30,.10); transform:translateY(-2px); }
.sub-promo-img{ flex:none; width:150px; aspect-ratio:1/1; border-radius:10px; overflow:hidden; background:var(--stone); }
.sub-promo-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.sub-promo-body{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.sub-promo-eyebrow{ font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-deep, #a07a3c); font-weight:600; }
.sub-promo-title{ font-family:var(--font-display); font-size:26px; line-height:1.15; font-weight:600; }
.sub-promo-title em{ font-family:inherit; font-style:normal; font-size:.72em; color:var(--burgundy); margin-left:6px; white-space:nowrap; }
.sub-promo-text{ font-size:14px; color:var(--ink-soft); line-height:1.45; }
.sub-promo-cta{ margin-top:6px; font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--burgundy); }
@media (max-width: 640px){
  .sub-promo-card{ flex-direction:column; align-items:stretch; gap:14px; }
  .sub-promo-img{ width:100%; aspect-ratio:16/10; }
  .sub-promo-title{ font-size:22px; }
}


/* ---------------------------------------------------------------------
   Phase 1 UI/UX — product page polish + delivery estimate
   --------------------------------------------------------------------- */
.delivery-eta{ flex-basis:100%; margin-top:2px; color: var(--ink); }
.delivery-eta strong{ color: var(--ink); }

/* The visitor's saved name/phone line is for checkout; keep it off the product page */
.product-view #pdpShippingCheck{ display:none; }

/* Button hierarchy on the product page: Add to cart = primary, Buy Now =
   soft secondary, WhatsApp = outlined secondary. (Scoped to .product-view:
   in the cart drawer Buy Now stays the main button.) */
.product-view .btn-add-cart{
  background: var(--burgundy); color:#fff; border:1px solid var(--burgundy);
  box-shadow: 0 2px 8px rgba(92,31,48,0.25);
}
.product-view .btn-add-cart:hover{ background: var(--burgundy); filter: brightness(1.1); color:#fff; }
.product-view .btn-add-cart:disabled{ background: var(--burgundy); color:#fff; box-shadow:none; }
.product-view .btn-buy-now{
  background:#f6e9ec; color: var(--burgundy); box-shadow:none;
}
.product-view .btn-buy-now:hover{ filter:none; background:#efd9df; box-shadow:none; }
.product-view .btn-whatsapp{
  background:#fff; color:#1F7A54; border:1px solid #1F7A54; box-shadow:none;
}
.product-view .btn-whatsapp:hover{ filter:none; background:#eef7f2; box-shadow:none; }

/* Coupon: collapsed behind "Have a coupon code?" */
.pdp-coupon{ margin: 4px 0 10px; font-size:13px; }
.pdp-coupon > summary{
  cursor:pointer; color: var(--burgundy); list-style:none; padding:4px 0; width:fit-content;
  text-decoration:underline; text-underline-offset:3px;
}
.pdp-coupon > summary::-webkit-details-marker{ display:none; }
.pdp-coupon[open] > summary{ margin-bottom:8px; }

/* Long descriptions: 3-line summary, full text lives in the accordion */
.product-view .m-desc.clamped{
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}

/* Small trust row under the buttons */
.pdp-trust{ list-style:none; margin:16px 0 0; padding:14px 0 0; border-top:1px solid var(--line); display:grid; gap:12px; }
.pdp-trust li{ display:flex; gap:10px; align-items:flex-start; font-size:12.5px; color: var(--ink-soft); line-height:1.45; }
.pdp-trust li svg{ flex:0 0 auto; margin-top:2px; color: var(--burgundy); }
.pdp-trust li strong{ display:block; color: var(--ink); font-size:13px; }
.pdp-trust a{ color: var(--burgundy); text-decoration:underline; }

/* Accordions */
.pdp-accordions{ margin-top:22px; border-top:1px solid var(--line); }
.pdp-acc-item{ border-bottom:1px solid var(--line); }
.pdp-acc-item > summary{
  cursor:pointer; list-style:none; padding:14px 2px; font-family: var(--font-display);
  font-size:15.5px; display:flex; justify-content:space-between; align-items:center;
}
.pdp-acc-item > summary::-webkit-details-marker{ display:none; }
.pdp-acc-item > summary::after{ content:"+"; font-family: inherit; font-size:20px; color: var(--ink-soft); line-height:1; }
.pdp-acc-item[open] > summary::after{ content:"\2212"; }
.pdp-acc-body{ padding:0 2px 14px; font-size:13.5px; line-height:1.7; color: var(--ink-soft); }
.pdp-acc-body p{ margin:0 0 8px; }
.pdp-acc-body a{ color: var(--burgundy); text-decoration:underline; }
.pdp-acc-body strong{ color: var(--ink); }

@media (max-width: 640px){
  .product-view .m-body{ padding:20px 16px; }
  .pdp-acc-item > summary{ padding:16px 2px; } /* comfortable tap target */
}


/* ---------------------------------------------------------------------
   Subcategory card page (js/main.js: renderSubLanding())
   --------------------------------------------------------------------- */
.sub-landing[hidden]{ display:none; }
.sub-landing-head{ margin-bottom:18px; }
.sub-landing-collections{ margin-top:44px; }
.sub-card-grid{
  display:grid; gap:22px 18px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.sub-card-grid .nav-card{ display:block; text-decoration:none; color:inherit; }
@media (max-width: 640px){
  .sub-card-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap:16px 12px; }
  .sub-card-grid .nav-card-label .name{ font-size:15px; }
}


/* ==========================================================================
   Phase 3 — homepage trust bar + product card readability
   ========================================================================== */
.trust-bar{
  display:grid; grid-template-columns:repeat(4,1fr); gap:18px;
  margin:22px 0 4px; padding:16px 20px;
  background:#fff; border:1px solid var(--line-soft); border-radius:var(--radius);
}
.trust-bar[hidden]{ display:none; }
.trust-bar-item{ display:flex; gap:12px; align-items:flex-start; min-width:0; }
.trust-bar-item svg{ flex:none; stroke:var(--gold); margin-top:2px; }
.trust-bar-item h4{ font-family:var(--font-body); font-size:13.5px; font-weight:600; line-height:1.3; }
.trust-bar-item p{ font-size:12.5px; line-height:1.4; color:var(--ink-soft); margin-top:3px; }
.trust-bar-item a{ color:var(--burgundy); text-decoration:underline; }
@media (max-width: 900px){ .trust-bar{ grid-template-columns:1fr 1fr; gap:16px 14px; padding:14px; } }
@media (max-width: 480px){
  .trust-bar{ padding:12px; gap:14px 10px; }
  .trust-bar-item svg{ width:18px; height:18px; }
  .trust-bar-item h4{ font-size:12.5px; }
  .trust-bar-item p{ font-size:11.5px; }
}

/* Cards: darker small text, aligned two-line names, clearer price and badges */
.card .cat{ color:#8a6330; font-size:11px; }
.card .name{ font-size:17px; line-height:1.3; min-height:2.6em; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.card .price{ font-size:17px; }
.card .price .strike{ font-size:13.5px; color:#6b6359; }
.card .badge{ font-size:12px; font-weight:600; padding:5px 10px; letter-spacing:.04em; }
.card .low-stock{ font-size:12px; }
.card .variant-indicator{ font-size:12px; color:#5a5249; }
@media (max-width: 480px){
  .card .body{ padding:12px; }
  .card .name{ font-size:15px; }
  .card .price{ font-size:15.5px; flex-wrap:wrap; gap:2px 8px; }
}


/* ==========================================================================
   Phase 4 — compact mobile header, optional bottom bar, floating WhatsApp
   ========================================================================== */
@media (max-width: 640px){
  html{ scroll-padding-top: 108px; }
  /* Row 1: brand + cart + account. Row 2: full-width search. */
  .site-header .bar{ justify-content:flex-start; align-items:center; gap:8px 10px; padding:8px 14px 10px; }
  .header-actions{ display:contents; }
  .brand{ order:1; flex:1 1 auto; min-width:0; align-items:flex-start; text-align:left; }
  .brand .brand-name{ font-size:18px; }
  .brand .brand-tag{ font-size:9.5px; }
  .cart-trigger{ order:2; flex:none; }
  .account-area{ order:3; }
  .search-box{ order:4; flex:1 1 100%; }
  .header-actions > a.icon-btn{ display:none; } /* the Shop button — Shop by Category and the bottom bar replace it */
}

.wa-float{
  position:fixed; right:18px; bottom:22px; z-index:60;
  width:54px; height:54px; border-radius:50%;
  background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 22px rgba(0,0,0,.28); transition:transform .2s var(--ease);
}
.wa-float:hover{ transform:translateY(-2px) scale(1.04); }
.wa-float[hidden]{ display:none; }

.bottom-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:60;
  display:none; grid-template-columns:repeat(4,1fr);
  background:#fff; border-top:1px solid var(--line); padding:6px 4px calc(6px + env(safe-area-inset-bottom));
  box-shadow:0 -6px 20px rgba(21,18,15,.08);
}
.bottom-bar button, .bottom-bar a{
  position:relative; display:flex; flex-direction:column; align-items:center; gap:2px;
  background:none; border:0; color:var(--ink-soft); font-size:11px; font-weight:500; padding:6px 0; text-decoration:none; cursor:pointer;
}
.bottom-bar button:active, .bottom-bar a:active{ color:var(--burgundy); }
.bottom-bar .bb-count{
  position:absolute; top:1px; left:calc(50% + 6px); min-width:16px; height:16px; padding:0 4px;
  border-radius:8px; background:var(--burgundy); color:#fff; font-size:10px; font-weight:600; line-height:16px; text-align:center;
}
.bottom-bar .bb-count[hidden]{ display:none; }
@media (max-width: 640px){
  body.has-bottom-bar .bottom-bar:not([hidden]){ display:grid; }
  body.has-bottom-bar{ padding-bottom:66px; }
  body.has-bottom-bar .toast{ bottom:80px; }
  body.has-bottom-bar .wa-float{ display:none; } /* the bar already has a Chat button */
}


/* ==========================================================================
   Phase A — new look (matches the mockup): warm cream, burgundy, blush
   ========================================================================== */
h1,h2,h3,h4{ font-weight:600; letter-spacing:0; }

/* Top bar: colour and font only */
.announce-bar{ background:var(--burgundy-deep); font-family:var(--font-body); font-size:12.5px; font-weight:500; letter-spacing:.03em; }

/* Header: brand left, wide search in the middle, icons right */
.site-header{ background:rgba(255,255,255,.96); border-bottom:1px solid var(--line-soft); }
.site-header .bar{ gap:28px; padding:14px 24px 10px; }
.brand{ line-height:1; }
.brand .brand-name{ font-family:var(--font-brand); font-weight:600; font-size:28px; letter-spacing:.06em; color:var(--burgundy); }
.brand .brand-tag{ font-size:9.5px; letter-spacing:.3em; margin-top:6px; color:var(--ink-soft); }
.header-actions{ flex:1; justify-content:flex-end; gap:16px; }
.search-box{ flex:1; max-width:520px; margin:0 auto; min-width:0; background:var(--ivory); border:1px solid var(--line); padding:11px 18px; }
.search-box:focus-within{ border-color:var(--burgundy); background:#fff; }
.header-actions > a.icon-btn{ display:none; } /* the old Shop button; the menu row below does that job */
.cart-trigger{ border-radius:50%; }
.cart-trigger:hover{ background:var(--blush-soft); }
.cart-count{ background:var(--burgundy); }

/* Category menu row: even, centred, with a burgundy underline */
.cat-nav .container{ justify-content:safe center; gap:10px; }
.cat-chip{ padding:10px 20px; font-size:13px; font-weight:500; letter-spacing:.01em; color:var(--ink); }
.cat-chip.active{ color:var(--burgundy); border-color:var(--burgundy); font-weight:600; }
.cat-dropdown{ background:#fff; border-radius:12px; }

/* Buttons */
.icon-btn{ background:var(--burgundy); border-color:var(--burgundy); color:#fff; border-radius:10px; text-transform:none; font-weight:600; letter-spacing:.01em; font-size:14px; padding:11px 22px; }
.icon-btn:hover{ background:var(--burgundy-deep); border-color:var(--burgundy-deep); }
.icon-btn.ghost{ background:transparent; color:var(--burgundy); border-color:var(--burgundy); }
.icon-btn.ghost:hover{ background:var(--burgundy); color:#fff; }
.product-view .btn-add-cart, .product-view .btn-buy-now, .product-view .btn-whatsapp,
.cart-drawer .btn-buy-now, .cart-drawer .btn-whatsapp{ border-radius:10px; }
.product-view .btn-add-cart{ background:var(--burgundy); border-color:var(--burgundy); box-shadow:0 4px 14px rgba(88,19,40,.22); }
.product-view .btn-add-cart:hover, .product-view .btn-add-cart:disabled{ background:var(--burgundy-deep); }
.product-view .btn-buy-now{ background:var(--blush); color:var(--burgundy); border:1px solid var(--blush); }
.product-view .btn-buy-now:hover{ background:#efd0cb; }
.product-view .btn-whatsapp{ color:var(--wa-green); border-color:var(--wa-green); }
.product-view .btn-whatsapp:hover{ background:#eef7f2; }
.cart-drawer .btn-buy-now{ background:var(--burgundy); color:#fff; }

/* Cards */
.card{ background:var(--card); border:1px solid var(--line-soft); border-radius:var(--radius-lg); box-shadow:0 1px 2px rgba(31,26,23,.04); }
.card:hover{ transform:translateY(-2px); box-shadow:var(--shadow-card); }
.card .thumb{ background:var(--stone); }
.card .badge{ top:12px; left:12px; background:var(--pill-bg); color:var(--pill-fg); border-radius:999px; font-weight:700; letter-spacing:.02em; text-transform:none; padding:4px 10px; }
.card .cat{ color:#8a6330; }
.card .name{ font-family:var(--font-display); font-weight:600; }
.card .buy{ background:var(--burgundy); color:#fff; border-radius:10px; text-transform:none; letter-spacing:.01em; font-size:13.5px; box-shadow:none; }
.card .buy:hover{ background:var(--burgundy-deep); box-shadow:0 6px 16px rgba(88,19,40,.28); }
.card .quick-add{ border-radius:10px; border-color:var(--line); color:var(--burgundy); }
.card .quick-add:hover{ background:var(--burgundy); border-color:var(--burgundy); color:#fff; }
.wishlist-btn{ color:var(--burgundy); }

/* Panels and fields share the warmer surface colours */
.product-view .m-image, .product-view .m-body{ border-radius:var(--radius-lg); }
.product-view .m-name{ font-family:var(--font-display); font-size:30px; line-height:1.2; }
.product-view .m-cat{ color:#8a6330; }
.product-view .m-price .discount-pct{ background:var(--pill-bg); color:var(--pill-fg); padding:3px 10px; border-radius:6px; font-weight:700; }
.section-head h2{ font-family:var(--font-display); }
.eyebrow{ color:#8a6330; }
.cart-drawer, .welcome-popup{ border-radius:var(--radius-lg) 0 0 var(--radius-lg); }
.welcome-popup{ border-radius:var(--radius-lg); }
.welcome-popup-cta{ background:var(--burgundy); border-color:var(--burgundy); border-radius:10px; text-transform:none; }
.trust-bar{ background:var(--card); border-radius:var(--radius-lg); }
.nav-card{ border-radius:var(--radius-lg); }
.site-footer{ background:var(--stone); }

@media (max-width: 640px){
  .site-header .bar{ gap:8px 10px; padding:10px 14px; }
  .brand .brand-name{ font-size:22px; letter-spacing:.05em; }
  .brand .brand-tag{ font-size:8.5px; letter-spacing:.24em; }
  .header-actions{ flex:none; }
  .search-box{ flex:1 1 100%; max-width:none; margin:0; padding:10px 16px; }
  .product-view .m-name{ font-size:24px; }
}


/* ==========================================================================
   Phase B — product page (mockup layout)
   ========================================================================== */
.product-view{ padding:18px 24px 56px; }
.breadcrumb{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:12.5px; color:var(--ink-soft); margin:0 0 18px; }
.breadcrumb a{ color:var(--ink-soft); }
.breadcrumb a:hover{ color:var(--burgundy); text-decoration:underline; }
.breadcrumb [aria-current]{ color:var(--ink); font-weight:500; }

.product-view-grid{
  background:transparent; box-shadow:none; overflow:visible; border-radius:0;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:44px; align-items:start;
}
.product-view .m-image{ display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:0; background:none; aspect-ratio:auto; align-items:start; border-radius:0; }
.product-view .gallery-thumbs{
  grid-column:1; grid-row:1; flex-direction:column; justify-content:flex-start; gap:12px;
  padding:0 14px 0 0; background:none; overflow-y:auto; max-height:560px; scrollbar-width:none;
}
.product-view .gallery-thumbs::-webkit-scrollbar{ display:none; }
.thumb-btn{ width:76px; height:76px; border-radius:12px; border:2px solid transparent; opacity:1; background:var(--stone); }
.thumb-btn.active{ border-color:var(--burgundy); }
.product-view .m-main{ grid-column:2; grid-row:1; position:relative; aspect-ratio:1/1; border-radius:var(--radius-lg); overflow:hidden; background:var(--stone); }
.product-view .m-main img{ width:100%; height:100%; object-fit:cover; display:block; }
.gallery-dots{ display:none; position:absolute; left:0; right:0; bottom:12px; justify-content:center; gap:6px; pointer-events:none; }
.gallery-dots span{ width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.6); }
.gallery-dots span.on{ background:#fff; box-shadow:0 0 0 1px rgba(0,0,0,.15); }

.product-view .m-body{ padding:2px 0 0; }
.product-view .m-cat{ font-size:11.5px; letter-spacing:.12em; }
.product-view .m-name{ font-size:34px; line-height:1.15; margin-top:8px; }
.pdp-rating-summary{ margin:10px 0 2px; }
.pdp-rating-link{ color:var(--ink-soft); text-decoration:none; }
.pdp-rating-link:hover{ color:var(--burgundy); text-decoration:underline; }
.product-view .m-price{ font-size:30px; font-weight:700; margin-top:10px; gap:12px; align-items:center; flex-wrap:wrap; }
.product-view .m-price .strike{ font-size:17px; }
.product-view .m-price .discount-pct{ font-size:13px; }
.pdp-chips{ list-style:none; margin:14px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:8px 22px; }
.pdp-chips[hidden]{ display:none; }
.pdp-chips li{ display:inline-flex; align-items:center; gap:8px; font-size:13.5px; color:var(--ink); }
.pdp-chips li::before{ content:""; width:8px; height:8px; background:var(--gold); transform:rotate(45deg); flex:none; }

.product-view .wishlist-btn.detail{ margin-top:12px; align-self:flex-start; width:auto; padding:8px 16px; border-radius:999px; border:1px solid var(--line); background:#fff; }

/* Delivery box */
.product-view .delivery-check-inline{
  background:var(--stone); border-radius:14px; padding:16px 18px; margin-top:18px; font-size:13.5px;
}
.dc-head{ display:flex; gap:12px; align-items:flex-start; color:var(--burgundy); }
.dc-head svg{ flex:none; margin-top:1px; }
.dc-head strong{ display:block; color:var(--ink); font-size:14px; }
.dc-sub{ display:block; font-size:12.5px; color:var(--ink-soft); margin-top:2px; }
.dc-form{ display:flex; gap:10px; margin-top:12px; }
.dc-form input{ flex:1; min-width:0; padding:11px 14px; border:1px solid var(--line); border-radius:10px; background:#fff; font-size:14px; font-family:inherit; }
.dc-form input:focus{ outline:none; border-color:var(--burgundy); }
.dc-btn{ padding:0 24px; border-radius:10px; background:var(--ink); color:#fff; font-weight:600; font-size:14px; }
.dc-btn:hover{ background:var(--burgundy); }
.dc-btn:disabled{ opacity:.6; }
.dc-where{ margin:10px 0 0; font-size:13px; color:var(--ink-soft); }
.product-view .delivery-eta{ margin-top:12px; padding:0; border:0; background:none; font-size:13px; line-height:1.55; }
.dc-zones{ margin-top:8px; background:none; font-size:12.5px; color:var(--burgundy); text-decoration:underline; padding:0; }

.product-view .m-qty{ margin-top:20px; }
.product-view .m-qty button{ border-radius:10px; }
.product-view .btn-add-cart, .product-view .btn-buy-now, .product-view .btn-whatsapp{ padding:15px; font-size:14.5px; font-weight:600; }
.product-view .m-actions-primary{ margin-top:10px; }
.product-view .btn-whatsapp{ margin-top:10px; justify-content:center; }

.pdp-trust{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; border-top:0; padding:20px 0 0; margin:6px 0 0; }
.pdp-trust li{ flex-direction:column; align-items:center; text-align:center; gap:8px; font-size:12px; line-height:1.4; color:var(--ink-soft); }
.pdp-trust li svg{ margin:0; color:var(--burgundy); }
.pdp-trust a{ color:var(--ink-soft); text-decoration:none; }
.pdp-trust a:hover{ color:var(--burgundy); text-decoration:underline; }

/* You may also like */
.pdp-related{ margin-top:56px; }
.pdp-related[hidden]{ display:none; }
.pdp-related-head h3, .pdp-reviews .reviews-head h3{ font-family:var(--font-display); font-size:24px; }
.pdp-related-track{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin-top:16px; }
.pdp-related-track .related-card:nth-child(n+5){ display:none; }
.related-card .body{ padding:14px; gap:4px; }
.related-card .name{ font-size:15px; min-height:2.6em; }
.related-card .price{ padding-top:4px; font-size:16px; }
.related-card .card-actions .buy{ margin-top:8px; padding:10px; font-size:13px; }

/* Customer reviews (all products mixed) */
.pdp-reviews{ margin-top:56px; padding-top:0; border-top:0; }
.pdp-reviews .reviews-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:16px; margin-bottom:6px; }
.pdp-reviews .reviews-summary-line{ margin:6px 0 0; }
.reviews-viewall{ background:none; color:var(--burgundy); font-weight:600; font-size:14px; padding:6px 0; }
.reviews-viewall:hover{ text-decoration:underline; }
.review-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:14px; }
.pdp-reviews .review-card{ background:var(--card); border:1px solid var(--line-soft); border-radius:var(--radius-lg); padding:18px; margin:0; display:flex; gap:12px; align-items:flex-start; }
.review-product{ display:block; margin-top:10px; font-size:12px; color:var(--ink-soft); }
.review-product a{ color:var(--burgundy); text-decoration:underline; }
.pdp-reviews .review-photos img{ width:72px; height:72px; border-radius:10px; }
.pdp-reviews .review-empty{ margin-top:14px; }

/* Delivery zones popup */
.zones-modal{
  position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); z-index:171;
  width:calc(100% - 32px); max-width:680px; max-height:86vh; overflow:auto;
  background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-pop); padding:24px;
}
.zones-modal[hidden]{ display:none; }
.zones-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.zones-head h3{ font-size:21px; }
.zones-head button{ font-size:26px; line-height:1; color:var(--ink-soft); padding:0 4px; }
.zones-table{ width:100%; border-collapse:collapse; font-size:13px; }
.zones-table th{ text-align:left; font-weight:600; padding:8px 10px; background:var(--blush-soft); }
.zones-table td{ padding:10px; border-bottom:1px solid var(--line-soft); vertical-align:top; }
.zones-table td:nth-child(2){ white-space:nowrap; }
.zones-notes{ margin:14px 0 0; padding-left:18px; font-size:12.5px; color:var(--ink-soft); line-height:1.6; }
.zones-notes a{ color:var(--burgundy); text-decoration:underline; }

@media (max-width: 900px){
  .review-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px){
  .product-view{ padding:12px 16px 40px; }
  .product-view-grid{ grid-template-columns:minmax(0,1fr); gap:22px; }
  .product-view .m-image, .product-view .m-body{ min-width:0; max-width:100%; }
  .product-view .m-image{ position:static; }
  .product-view .m-image{ display:flex; flex-direction:column; }
  .product-view .gallery-thumbs{ order:2; flex-direction:row; padding:12px 0 0; max-height:none; overflow-x:auto; overflow-y:hidden; gap:10px; }
  .thumb-btn{ width:64px; height:64px; }
  .gallery-dots{ display:flex; }
  .product-view .m-name{ font-size:26px; }
  .product-view .m-price{ font-size:26px; }
  .pdp-trust{ grid-template-columns:repeat(2,1fr); gap:16px 10px; }
  .pdp-related-track{ display:flex; overflow-x:auto; gap:12px; margin-right:-16px; padding-right:16px; scroll-snap-type:x proximity; scrollbar-width:none; }
  .pdp-related-track::-webkit-scrollbar{ display:none; }
  .pdp-related-track .related-card:nth-child(n+5){ display:flex; }
  .related-card{ flex:0 0 158px; scroll-snap-align:start; }
  .review-grid{ grid-template-columns:1fr; }
  .dc-form{ gap:8px; }
}

@media (min-width: 701px){ .product-view .m-image{ position:sticky; top:150px; } }


/* ==========================================================================
   Phase C — cart drawer, wishlist, phone menu
   ========================================================================== */
.cart-drawer{ border-radius:var(--radius-lg) 0 0 var(--radius-lg); }
.cart-head-count{ font-family:var(--font-body); font-size:14px; font-weight:500; color:var(--ink-soft); }
.cart-line img{ width:76px; height:76px; border-radius:12px; }
.cart-line-name{ font-family:var(--font-body); font-size:14.5px; }
.cart-line-price{ font-size:16px; font-weight:700; }
.cart-line-strike{ font-weight:400; font-size:13px; color:#6b6359; text-decoration:line-through; margin-left:4px; }
.cart-line-qty{ gap:0; border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.cart-line-qty button{ border:0; border-radius:0; width:30px; height:30px; background:#fff; }
.cart-line-qty span{ min-width:30px; text-align:center; font-size:14px; }
.cart-line-remove{ text-decoration:none; color:var(--burgundy); width:34px; height:34px; display:flex; align-items:center; justify-content:center; border-radius:8px; }
.cart-line-remove:hover{ background:var(--blush-soft); }
.cart-ship-progress{ display:flex; gap:12px; align-items:center; background:var(--blush-soft); border-radius:12px; padding:12px 14px; color:var(--ink-soft); }
.cart-ship-progress[hidden]{ display:none; }
.csp-body{ flex:1; min-width:0; }
.csp-text{ display:flex; justify-content:space-between; gap:8px; font-size:12.5px; font-weight:600; color:var(--ink); margin-bottom:8px; }
.csp-amt{ font-weight:400; color:var(--ink-soft); white-space:nowrap; }
.csp-bar{ height:7px; border-radius:99px; background:rgba(31,26,23,.1); overflow:hidden; }
.csp-bar span{ display:block; height:100%; width:0; background:var(--green); border-radius:99px; transition:width .35s var(--ease); }
.cart-ship-progress.done svg{ color:var(--green); }
.cart-secure{ display:flex; align-items:center; justify-content:center; gap:6px; flex-wrap:wrap; margin:0; font-size:12px; color:var(--ink-soft); text-align:center; }
.cart-secure svg{ color:var(--ink); }
.cart-footer #cartBuyNowButton{ padding:15px; font-size:15px; font-weight:600; }
.cart-total strong{ font-family:var(--font-body); font-size:20px; }

/* Header: heart + hamburger */
.wishlist-trigger{ position:relative; width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--ink); }
.wishlist-trigger:hover{ background:var(--blush-soft); color:var(--burgundy); }
.wishlist-trigger .cart-count{ position:absolute; top:2px; right:0; }
.menu-toggle{ display:none; width:40px; height:40px; align-items:center; justify-content:center; color:var(--ink); margin-left:-8px; }

.menu-drawer{
  position:fixed; top:0; left:0; bottom:0; width:min(86vw,330px); background:#fff; z-index:151;
  display:flex; flex-direction:column; box-shadow:var(--shadow-pop); border-radius:0 var(--radius-lg) var(--radius-lg) 0;
}
.menu-drawer[hidden]{ display:none; }
.menu-drawer-head{ display:flex; align-items:center; justify-content:space-between; padding:16px 18px; border-bottom:1px solid var(--line-soft); }
.menu-drawer-head .brand-name{ font-family:var(--font-brand); font-weight:600; font-size:22px; letter-spacing:.06em; color:var(--burgundy); }
.menu-list{ flex:1; overflow-y:auto; padding:8px 8px 24px; display:flex; flex-direction:column; }
.menu-item, .menu-sub{
  display:flex; align-items:center; justify-content:space-between; text-align:left; width:100%;
  padding:14px 12px; font-size:15px; color:var(--ink); border-radius:10px; background:none; cursor:pointer; list-style:none;
}
.menu-item:hover, .menu-sub:hover{ background:var(--blush-soft); }
.menu-group > summary::-webkit-details-marker{ display:none; }
.menu-group > summary::after{ content:"+"; font-size:20px; color:var(--ink-soft); line-height:1; }
.menu-group[open] > summary::after{ content:"\2212"; }
.menu-subs{ display:flex; flex-direction:column; padding:0 0 6px 14px; }
.menu-sub{ font-size:14px; padding:11px 12px; color:var(--ink-soft); }
.menu-divider{ height:1px; background:var(--line-soft); margin:8px 12px; }
@media (min-width: 1181px){ .menu-drawer, #menuOverlay{ display:none !important; } }

/* Wishlist page */
.wishlist-view{ padding:18px 24px 56px; }
.wishlist-view[hidden]{ display:none; }
.wishlist-head{ margin:0 0 20px; }
.wishlist-head h2{ font-size:30px; }
.wishlist-note{ margin-top:6px; font-size:13.5px; color:var(--ink-soft); }
.wishlist-empty{ text-align:center; padding:56px 16px; color:var(--ink-soft); display:flex; flex-direction:column; align-items:center; gap:18px; }
.wishlist-empty[hidden], #wishlistGrid[hidden]{ display:none; }

@media (max-width: 640px){
  .menu-toggle{ display:flex; order:0; }
  .wishlist-trigger{ order:2; }
  .cart-trigger{ order:3; }
  .account-area{ order:4; }
  .search-box{ order:5; }
  .brand{ order:1; }
  .wishlist-view{ padding:12px 16px 40px; }
  .cart-drawer{ border-radius:0; }
}

@media (max-width: 640px){
  /* hamburger + brand + heart + cart + account must fit on one row */
  .site-header .bar{ gap:6px; flex-wrap:wrap; }
  .brand{ flex:1 1 0; min-width:0; }
  .brand .brand-name{ font-size:19px; letter-spacing:.03em; white-space:nowrap; }
  .brand .brand-tag{ font-size:8px; letter-spacing:.18em; white-space:nowrap; }
  .wishlist-trigger, .cart-trigger{ width:36px; height:36px; }
  .account-signin{ padding:7px 9px; }
}
.cart-count[hidden]{ display:none !important; }


/* ==========================================================================
   Homepage — editable hero slider + category banners
   ========================================================================== */
.hero.has-slides{ background:var(--ivory); border-bottom:0; }
.hero.has-slides .hero-classic{ display:none; }
.hero-slider{ max-width:1180px; margin:0 auto; padding:18px 24px 6px; }
.hero-slider[hidden]{ display:none; }
.hs-viewport{ position:relative; border-radius:var(--radius-lg); overflow:hidden; background:var(--blush-soft); }
.hs-track{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; scroll-behavior:smooth; }
.hs-track::-webkit-scrollbar{ display:none; }
.hs-slide{ position:relative; flex:0 0 100%; scroll-snap-align:start; min-height:300px; display:flex; align-items:center; background:var(--blush-soft); }
.hs-slide picture, .hs-slide > picture img{ position:absolute; inset:0; width:100%; height:100%; }
.hs-slide picture img{ object-fit:cover; object-position:right center; }
.hs-slide::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(90deg, rgba(251,238,232,.97) 0%, rgba(251,238,232,.9) calc(var(--hs-df, 70%) * .43), rgba(251,238,232,.35) calc(var(--hs-df, 70%) * .74), rgba(251,238,232,0) var(--hs-df, 70%));
}
.hs-copy{ position:relative; z-index:2; max-width:min(520px,56%); padding:34px 0 34px 54px; }
.hs-copy h1, .hs-copy h2{ font-family:var(--font-display); font-weight:600; font-size:clamp(28px,3.6vw,46px); line-height:1.1; color:var(--ink); margin:0; }
.hs-copy h1 em, .hs-copy h2 em, .cb-copy h3 em{ font-style:italic; color:var(--burgundy); }
.hs-text{ margin-top:14px; font-size:15.5px; line-height:1.55; color:var(--ink-soft); max-width:40ch; white-space:pre-line; }
.hs-btns{ display:flex; gap:12px; margin-top:22px; flex-wrap:wrap; }
.hs-btn{ display:inline-flex; align-items:center; padding:12px 24px; border-radius:999px; font-size:12.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; background:var(--burgundy); color:#fff; border:1px solid var(--burgundy); transition:background .2s var(--ease); }
.hs-btn:hover{ background:var(--burgundy-deep); }
.hs-btn.ghost{ background:rgba(255,255,255,.55); color:var(--ink); border-color:var(--ink-soft); }
.hs-btn.ghost:hover{ background:#fff; }
.hs-note{ position:absolute; z-index:2; right:7%; top:50%; transform:translateY(-50%) rotate(-5deg); font-family:'Caveat','Segoe Script',cursive; font-size:clamp(22px,2.6vw,34px); line-height:1.15; color:var(--burgundy); text-align:left; white-space:pre-line; text-shadow:0 1px 8px rgba(255,255,255,.7); }
.hs-arrow{ position:absolute; z-index:3; top:50%; transform:translateY(-50%); width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.92); color:var(--ink); font-size:24px; line-height:1; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 10px rgba(31,26,23,.18); }
.hs-arrow:hover{ background:#fff; }
.hs-prev{ left:12px; } .hs-next{ right:12px; }
.hs-viewport[data-single="1"] .hs-arrow, .hs-viewport[data-single="1"] .hs-dots{ display:none; }
.hs-dots{ position:absolute; z-index:3; left:0; right:0; bottom:12px; display:flex; justify-content:center; gap:7px; }
.hs-dots button{ width:8px; height:8px; border-radius:50%; background:rgba(88,19,40,.28); padding:0; }
.hs-dots button.on{ background:var(--burgundy); width:22px; border-radius:99px; }

@media (max-width: 760px){
  .hero-slider{ padding:12px 14px 4px; }
  .hs-slide{ aspect-ratio:10/11; min-height:380px; align-items:flex-end; } /* phone picture: 1200 x 1320 */
  .hs-slide::before{ background:linear-gradient(180deg, rgba(251,238,232,.0) 20%, rgba(251,238,232,.85) 58%, rgba(251,238,232,.97) 100%); }
  .hs-slide picture img{ object-position:center top; }
  .hs-copy{ max-width:none; padding:20px 20px 40px; }
  .hs-copy h1, .hs-copy h2{ font-size:26px; }
  .hs-text{ font-size:14px; margin-top:8px; }
  .hs-btns{ margin-top:14px; gap:8px; }
  .hs-btn{ padding:10px 18px; font-size:11.5px; }
  .hs-note{ right:16px; top:16px; transform:rotate(-5deg); font-size:19px; }
  .hs-arrow{ display:none; }
}

/* Category banners */
.category-banners{ padding:8px 0 4px; }
.category-banners[hidden]{ display:none; }
.cb-list{ display:flex; flex-direction:column; gap:14px; }
.cb-banner{ position:relative; display:flex; align-items:center; min-height:160px; border-radius:var(--radius-lg); overflow:hidden; background:var(--blush-soft); color:var(--ink); }
.cb-banner img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:right center; }
.cb-banner::before{ content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg, rgba(251,238,232,.97) 0%, rgba(251,238,232,.92) 32%, rgba(251,238,232,.3) 55%, rgba(251,238,232,0) 72%); }
.cb-copy{ position:relative; z-index:2; padding:22px 0 22px 34px; max-width:min(520px,60%); }
.cb-copy h3{ font-family:var(--font-display); font-size:clamp(22px,2.4vw,30px); line-height:1.15; font-weight:600; }
.cb-eyebrow{ display:block; margin-top:4px; font-size:12.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--burgundy); }
.cb-text{ margin-top:6px; font-size:14px; color:var(--ink-soft); }
.cb-btn{ display:inline-flex; margin-top:14px; padding:9px 20px; border-radius:999px; background:var(--burgundy); color:#fff; font-size:11.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.cb-banner:hover .cb-btn{ background:var(--burgundy-deep); }
.cb-banner:hover img{ transform:scale(1.02); }
.cb-banner img{ transition:transform .5s var(--ease); }
@media (max-width: 640px){
  .cb-banner{ min-height:150px; }
  .cb-copy{ padding:16px 0 16px 18px; max-width:64%; }
  .cb-copy h3{ font-size:20px; }
  .cb-text{ font-size:12.5px; }
  .cb-btn{ padding:8px 16px; font-size:10.5px; margin-top:10px; }
}

/* Trust row: five items */
.trust-bar{ grid-template-columns:repeat(5,1fr); gap:16px; }
@media (max-width: 1000px){ .trust-bar{ grid-template-columns:repeat(3,1fr); } }



/* ==========================================================================
   Phone layout to match the mockup: short hero strip, compact trust row,
   small Shop by Category thumbnails
   ========================================================================== */
.tl-short{ display:none; }

/* Shop by Category: small thumbnails + "View all" */
.sbc-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.sbc-viewall{ background:none; color:var(--burgundy); font-size:13.5px; font-weight:600; padding:4px 0; white-space:nowrap; }
.sbc-viewall:hover{ text-decoration:underline; }
.shop-by-category .nav-card-track{ gap:14px; }
.shop-by-category .nav-card-track .nav-card{ flex:0 0 calc((100% - 70px) / 6); min-width:118px; }
.shop-by-category .nav-card-image-wrap{ aspect-ratio:1/1; border-radius:var(--radius); }
.shop-by-category .nav-card-label{ margin-top:8px; gap:6px; }
.shop-by-category .nav-card-label .name{ font-size:13.5px; font-weight:500; }
.shop-by-category .nav-card-label .arrow{ font-size:14px; }

@media (max-width: 760px){
  /* hero: text left, photo right, in a short strip (phone picture 1200 x 860) */
  .hs-slide{ aspect-ratio:7/5; min-height:230px; align-items:center; }
  .hs-slide::before{ background:linear-gradient(90deg, rgba(251,238,232,.97) 0%, rgba(251,238,232,.9) 34%, rgba(251,238,232,.3) 58%, rgba(251,238,232,0) 74%); }
  .hs-slide picture img{ object-position:right center; }
  .hs-copy{ max-width:62%; padding:14px 0 14px 16px; }
  .hs-copy h1, .hs-copy h2{ font-size:21px; line-height:1.12; }
  .hs-text{ font-size:12px; line-height:1.45; margin-top:8px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
  .hs-btns{ margin-top:12px; }
  .hs-btn{ padding:9px 16px; font-size:10.5px; }
  .hs-btn.ghost, .hs-note{ display:none; } /* the strip is small: one button, no handwritten note */
  .hs-dots{ bottom:8px; }
}
@media (max-width: 640px){
  /* trust row: four small icons in one line, short labels only */
  .trust-bar{ grid-template-columns:repeat(4,1fr); gap:4px; padding:12px 6px; }
  .trust-bar-item{ flex-direction:column; align-items:center; text-align:center; gap:6px; }
  .trust-bar-item p, .trust-bar-item:last-child{ display:none; }
  .trust-bar-item h4{ font-size:11px; line-height:1.3; font-weight:500; }
  .trust-bar-item svg{ width:26px; height:26px; margin:0; }
  .tl-long{ display:none; } .tl-short{ display:inline; }
  /* categories: about three and a half thumbnails visible, swipe for more */
  .shop-by-category .nav-card-track .nav-card{ flex:0 0 27%; min-width:92px; }
  .shop-by-category .nav-card-label .name{ font-size:12px; }
  .shop-by-category .nav-card-label .arrow{ display:none; }
}

/* category thumbnails: let two-line names show fully */
.nav-card{ overflow:visible; }
.nav-card-image-wrap{ border-radius:var(--radius-lg); }
.shop-by-category .nav-card-image-wrap{ border-radius:var(--radius); }
.shop-by-category .nav-card-label{ align-items:flex-start; }
.shop-by-category .nav-card-label .name{ line-height:1.3; }
.shop-by-category .nav-card-track{ padding-bottom:4px; }

@media (max-width: 760px){
  /* phone hero: a narrow portrait picture on the right (1000 x 1250), its left edge fading into plain pink where the text sits */
  .hs-slide{ background:linear-gradient(90deg, #FBEEE8, #F8E3DC); }
  .hs-slide::before{ display:none; }
  .hs-slide picture{ left:auto; right:0; width:58%; }
  .hs-slide picture img{
    object-fit:cover; object-position:right center;
    -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 var(--hs-fade, 14%)); mask-image:linear-gradient(90deg, transparent 0, #000 var(--hs-fade, 14%));
  }
  .hs-copy{ max-width:54%; }
  .hs-slide picture{ width:52%; }
  .hs-btn{ white-space:nowrap; padding:11px 16px; font-size:11px; letter-spacing:.06em; }
}

/* The old product hero is retired: only the editable slider is used, and only on the homepage.
   With no slide switched on, the whole hero block stays hidden (no flash of old content while settings load). */


/* Slider arrows: transparent and minimal */
.hs-arrow{ width:34px; height:34px; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.7); box-shadow:none; color:var(--ink); font-size:20px; -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); opacity:.75; transition:opacity .2s, background .2s; }
.hs-arrow:hover, .hs-arrow:focus-visible{ background:rgba(255,255,255,.4); opacity:1; }

/* Compact footer */
.site-footer .container{ padding:26px 24px 14px; gap:18px 24px; }
.site-footer .col h4{ margin-bottom:8px; }
.site-footer .col a, .site-footer .col p{ margin-bottom:5px; }
.foot-bottom{ padding:10px 16px; }
@media (max-width: 640px){
  .site-footer .container{ display:grid; grid-template-columns:1.12fr 1fr; gap:14px 14px; padding:20px 16px 8px; align-items:start; justify-content:stretch; }
  .site-footer .col{ min-width:0; text-align:left; }
  .site-footer .col a, .site-footer .col p{ font-size:13px; margin-bottom:4px; overflow-wrap:anywhere; }
  #footerEmail{ font-size:12.5px; overflow-wrap:normal; white-space:nowrap; }
  .foot-bottom{ padding:10px 14px; font-size:11.5px; }
}

/* Logo image in the header and menu */
.brand-logo{ display:block; height:60px; width:auto; max-width:100%; }
.menu-drawer-head .brand-logo{ height:46px; }
@media (max-width: 760px){ .brand-logo{ height:44px; } .menu-drawer-head .brand-logo{ height:40px; } }

/* Compact cart footer: keep the items visible above the totals */
.cart-footer{ padding:10px 16px 12px; gap:6px; max-height:58vh; overflow-y:auto; }
.cart-items{ min-height:150px; padding:8px 16px; }
.cart-footer .cart-ship-progress{ padding:8px 12px; gap:10px; border-radius:10px; }
.cart-footer .cart-ship-progress svg{ width:24px; height:24px; }
.cart-footer .csp-text{ font-size:12px; margin-bottom:5px; }
.cart-footer .csp-bar{ height:5px; }
.cart-footer .coupon-box{ margin:0; }
.cart-footer .coupon-box input, .cart-footer .coupon-box .coupon-input{ height:36px; padding-top:0; padding-bottom:0; font-size:13px; }
.cart-footer .coupon-box button{ padding:8px 16px; font-size:13px; }
.cart-footer .cart-subtotal-row{ margin:0; font-size:12.5px; line-height:1.35; }
.cart-footer .cart-total{ margin:2px 0 0; padding-top:5px; border-top:1px solid var(--line-soft); font-size:14px; }
.cart-footer .cart-total strong{ font-size:18px; }
.cart-footer .delivery-check-inline{ padding:7px 10px; font-size:12px; line-height:1.4; border-radius:10px; }
.cart-footer .delivery-check-inline p, .cart-footer .delivery-check-inline div{ margin-top:0; margin-bottom:2px; }
.cart-footer #cartBuyNowButton{ padding:11px; font-size:14.5px; }
.cart-footer .cart-secure{ font-size:11px; gap:4px; }
.cart-footer .btn-whatsapp{ padding:10px; font-size:13.5px; margin:0; }
.cart-drawer-head{ padding-top:12px; padding-bottom:12px; }
@media (max-width:640px){ .cart-footer{ max-height:52vh; } }

/* Compact cart lines: price, quantity and delete share one row */
.cart-line{ padding:9px 0; gap:10px; }
.cart-line img{ width:62px; height:62px; border-radius:10px; }
.cart-line-body{ display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; column-gap:8px; row-gap:1px; }
.cart-line-cat, .cart-line-name, .cart-line-note{ grid-column:1 / -1; }
.cart-line-name{ font-size:14px; }
.cart-line-price{ grid-column:1; font-size:15px; margin:0; }
.cart-line-bottom{ display:contents; }
.cart-line-qty{ grid-column:2; border-radius:7px; }
.cart-line-qty button{ width:24px; height:24px; font-size:13px; }
.cart-line-qty span{ min-width:24px; font-size:11.5px; }
.cart-line-remove{ grid-column:3; width:28px; height:28px; }
.cart-line-remove svg{ width:15px; height:15px; }


/* ==========================================================================
   R.S CHOCOLATES THEME  (v1.1)  — homepage + product page redesign.
   Sits last on purpose: it re-skins the rules above without touching them.
   ========================================================================== */
body{ background:var(--ivory); }
h1,h2,h3,h4{ font-family:var(--font-display); }
.heart-red{ color:#E5384F; }
.hp-field{ position:absolute !important; left:-9999px; width:1px; height:1px; opacity:0; }
.section-sub{ margin-top:4px; font-size:14px; color:var(--ink-soft); }
.section-sub[hidden]{ display:none; }
.section-head h2{ color:var(--burgundy); font-size:clamp(26px,2.6vw,34px); }
.eyebrow{ color:var(--gold); }
.container{ max-width:1320px; }

/* ---- USP bar (top) ---- */
.usp-bar{ background:var(--burgundy); color:#fff; font-size:13.5px; letter-spacing:.01em; }
.usp-bar .usp-inner{ display:flex; justify-content:space-between; align-items:center; gap:24px; padding-top:9px; padding-bottom:9px; }
.usp-item{ display:inline-flex; align-items:center; gap:10px; white-space:nowrap; }
.usp-item svg{ flex:none; opacity:.95; }
.announce-bar{ background:var(--burgundy-deep); }

/* ---- Header ---- */
.site-header{ background:rgba(255,255,255,.97); border-bottom:1px solid var(--line-soft); backdrop-filter:blur(8px); }
.site-header .bar{ display:flex; align-items:center; gap:28px; padding:8px 24px; justify-content:flex-start; }
.brand{ flex:none; display:block; }
.brand-logo{ height:76px; width:auto; }
.cat-nav{ flex:1; display:block; border:0; overflow:visible; min-width:0; }
.cat-nav-inner{ display:flex; justify-content:center; align-items:center; gap:2px; flex-wrap:nowrap; }
.cat-chip{ position:relative; display:inline-flex; align-items:center; padding:12px 18px; font-size:15.5px; font-weight:400; letter-spacing:0; color:var(--ink); background:none; border:0; border-bottom:0; white-space:nowrap; transition:color .2s var(--ease); }
.cat-chip:hover{ color:var(--burgundy); }
.cat-chip::before{ content:""; position:absolute; left:18px; right:18px; bottom:4px; height:2px; background:var(--burgundy); transform:scaleX(0); transition:transform .25s var(--ease); }
.cat-chip:hover::before, .cat-chip.active::before{ transform:scaleX(1); }
.cat-chip.active{ color:var(--burgundy); font-weight:500; border:0; }
.cat-chip.has-sub::after{ content:""; width:7px; height:7px; margin:-3px 0 0 9px; border:solid currentColor; border-width:0 1.6px 1.6px 0; transform:rotate(45deg); opacity:.8; }
.cat-chip.has-sub::before{ right:36px; }
.cat-dropdown{ background:#fff; border-radius:12px; border:1px solid var(--line-soft); box-shadow:0 14px 34px rgba(80,20,30,.14); }
.cat-dd-item:hover, .cat-dd-item:focus-visible{ background:var(--blush-soft); color:var(--burgundy); }
.header-actions{ flex:none; display:flex; align-items:center; gap:6px; margin-left:auto; }
.search-toggle, .wishlist-trigger, .cart-trigger, .account-signin, .account-trigger{
  position:relative; width:44px; height:44px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
  color:var(--ink); background:none; border:0; padding:0; transition:background .2s var(--ease), color .2s var(--ease);
}
.search-toggle:hover, .wishlist-trigger:hover, .cart-trigger:hover, .account-signin:hover{ background:var(--blush-soft); color:var(--burgundy); }
.account-signin span{ display:none; }
.account-signin{ border:0; }
.cart-count{ position:absolute; top:3px; right:1px; min-width:19px; height:19px; padding:0 5px; border-radius:99px; background:var(--burgundy); color:#fff; font-size:11px; font-weight:600; line-height:19px; text-align:center; }
.cart-count[hidden]{ display:none; }
.search-row{ border-top:1px solid var(--line-soft); background:#fff; padding:10px 0; }
.search-row[hidden]{ display:none; }
.search-row .search-box{ max-width:640px; margin:0 auto; display:flex; align-items:center; gap:10px; border:1px solid var(--line); border-radius:999px; padding:11px 18px; background:var(--ivory); }
.search-row .search-box:focus-within{ border-color:var(--burgundy); background:#fff; }
.search-row .search-box input{ flex:1; border:0; outline:0; background:transparent; font:inherit; font-size:15px; }
.menu-toggle{ display:none; }
html{ scroll-padding-top:110px; }

/* ---- Buttons ---- */
.icon-btn{ background:var(--burgundy); border:1px solid var(--burgundy); color:#fff; border-radius:10px; text-transform:none; font-weight:600; font-size:15px; letter-spacing:.01em; padding:12px 24px; }
.icon-btn:hover{ background:var(--burgundy-deep); border-color:var(--burgundy-deep); }
.icon-btn[hidden]{ display:none; }
.view-all-btn{ display:inline-flex; align-items:center; gap:6px; padding:9px 20px; border:1px solid var(--burgundy); border-radius:10px; color:var(--burgundy); font-size:14px; font-weight:600; background:#fff; transition:background .2s, color .2s; }
.view-all-btn:hover{ background:var(--burgundy); color:#fff; }
.view-all-btn[hidden]{ display:none; }

/* ---- Hero ---- */
.hero{ background:linear-gradient(110deg,#FCE7E5 0%,#FBDDDC 55%,#F9D2D4 100%); border:0; position:relative; overflow:hidden; }
.hero::before{ content:""; position:absolute; inset:0; pointer-events:none; opacity:.55;
  background:
    radial-gradient(circle at 12% 30%, rgba(190,40,70,.14) 0 7px, transparent 8px),
    radial-gradient(circle at 80% 18%, rgba(190,40,70,.12) 0 10px, transparent 11px),
    radial-gradient(circle at 92% 78%, rgba(190,40,70,.14) 0 8px, transparent 9px),
    radial-gradient(circle at 40% 86%, rgba(190,40,70,.10) 0 12px, transparent 13px); }
.hero.has-slides{ background:var(--ivory); }
.hero.has-slides::before{ display:none; }
.hero .hero-classic{ position:relative; display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; padding-top:56px; padding-bottom:56px; min-height:360px; }
.hero .hero-classic:has(.hero-visual[hidden]){ grid-template-columns:1fr; }
.hero.has-slides .hero-classic{ display:none; }
.hero h1{ font-size:clamp(40px,5.2vw,68px); line-height:1.05; margin:0; color:var(--burgundy-deep); font-weight:500; }
.hero h1 em{ display:block; font-family:var(--font-script); font-style:normal; font-weight:400; font-size:1.3em; line-height:1.05; color:var(--burgundy); }
.hero p.lede{ margin-top:18px; font-size:18px; color:var(--ink); max-width:44ch; }
.hero .cta-row{ margin-top:26px; }
.hero-visual{ background:#fff; border-radius:24px; max-height:340px; box-shadow:0 22px 50px rgba(122,22,49,.18); }
.hero-visual img{ opacity:1 !important; }
.hero-visual .plate{ background:rgba(255,255,255,.92); color:var(--ink); }
.hero-visual .plate .n{ color:var(--burgundy); font-weight:700; }
/* admin slider, full width */
.hero-slider{ max-width:none; padding:0; }
.hs-viewport{ border-radius:0; background:var(--blush-soft); }
.hs-slide{ min-height:clamp(260px,32vw,440px); background:var(--blush-soft); }
.hs-slide::before{ background:linear-gradient(90deg, rgba(252,231,229,.96) 0%, rgba(252,231,229,.88) calc(var(--hs-df,70%)*.43), rgba(252,231,229,.3) calc(var(--hs-df,70%)*.74), rgba(252,231,229,0) var(--hs-df,70%)); }
.hs-copy{ max-width:min(560px,56%); padding:40px 0 40px max(24px, calc((100vw - 1320px)/2 + 24px)); }
.hs-copy h1, .hs-copy h2{ font-family:var(--font-display); font-weight:500; font-size:clamp(30px,4.4vw,60px); line-height:1.05; color:var(--burgundy-deep); }
.hs-copy h1 em, .hs-copy h2 em{ display:block; font-family:var(--font-script); font-style:normal; font-weight:400; font-size:1.3em; line-height:1.05; color:var(--burgundy); }
.hs-text{ color:var(--ink); font-size:17px; }
.hs-btn{ border-radius:10px; text-transform:none; letter-spacing:.01em; font-size:15px; padding:13px 26px; background:var(--burgundy); border-color:var(--burgundy); }
.hs-btn:hover{ background:var(--burgundy-deep); }
.hs-dots button.on{ background:var(--burgundy); }

/* ---- Round category pictures ---- */
.shop-by-category{ padding:26px 0 8px; }
.shop-by-category .rail-arrow{ display:none; }
.shop-by-category .rail-scroll-dots{ display:none !important; }
.shop-by-category .nav-card-track{ justify-content:safe center; gap:36px; padding:4px 8px 8px; }
.shop-by-category .nav-card-track .nav-card{ flex:0 0 150px; min-width:0; text-align:center; }
.shop-by-category .nav-card-image-wrap{ width:112px; height:112px; aspect-ratio:1; margin:0 auto; border-radius:50%; background:#f4e6dd; border:3px solid #f1dfd4; box-shadow:0 6px 16px rgba(122,22,49,.10); }
.shop-by-category .nav-card:hover .nav-card-image-wrap{ box-shadow:0 10px 22px rgba(122,22,49,.2); }
.shop-by-category .nav-card-label{ justify-content:center; margin-top:12px; }
.shop-by-category .nav-card-label .name{ font-size:15.5px; font-weight:400; line-height:1.3; text-align:center; }
.shop-by-category .nav-card-image-wrap img[src$="placeholder.svg"]{ padding:22%; object-fit:contain; }

/* ---- Trust row ---- */
.trust-bar{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; background:transparent; border:0; border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft); border-radius:0; padding:18px 8px; margin:14px 0 22px; }
.trust-bar[hidden]{ display:none; }
.trust-bar-item{ display:flex; align-items:center; gap:14px; justify-content:center; }
.trust-bar-item svg{ flex:none; color:var(--burgundy); stroke:currentColor; opacity:.85; }
.trust-bar-item h4{ font-family:var(--font-body); font-size:14px; font-weight:600; color:var(--ink); line-height:1.3; }
.trust-bar-item p{ font-size:13px; color:var(--ink-soft); margin-top:2px; }

/* ---- Tiles (mosaic) ---- */
.category-banners{ padding:0 0 10px; }
.cb-list{ display:flex; flex-direction:column; gap:14px; }
.cb-list.cb-mosaic{ display:grid; gap:12px; grid-template-columns:1.5fr 1fr 1fr; grid-template-rows:repeat(2, minmax(150px, 17vw)); }
.cb-list.cb-mosaic.cb-n3{ grid-template-columns:1.5fr 1fr; }
.cb-banner{ position:relative; display:flex; align-items:flex-end; min-height:150px; border-radius:16px; overflow:hidden; background:linear-gradient(135deg,#FBE3E1,#F8D0D2); color:var(--ink); }
.cb-big{ grid-row:1 / 3; grid-column:1; align-items:center; }
.cb-banner img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; transition:transform .6s var(--ease); }
.cb-banner:hover img{ transform:scale(1.04); }
.cb-banner::before{ content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg, rgba(252,228,226,.96) 0%, rgba(252,228,226,.75) 38%, rgba(252,228,226,0) 72%); }
.cb-noimg::before{ display:none; }
.cb-noimg::after{ content:""; position:absolute; right:-6%; bottom:-14%; width:62%; aspect-ratio:1; opacity:.1; background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%237A1631' d='M12 21s-7.5-4.6-10-9.1C.5 8.5 2 5 5.5 5c2 0 3.4 1.1 4.2 2.3.4.6.6.9.8 1.2.2-.3.4-.6.8-1.2C12.1 6.1 13.5 5 15.5 5 19 5 20.5 8.5 19.5 11.9 17.5 16.4 12 21 12 21z'/%3E%3C/svg%3E"); }
.cb-copy{ position:relative; z-index:2; padding:22px 22px; max-width:68%; }
.cb-big .cb-copy{ padding:30px 36px; max-width:58%; }
.cb-copy h3{ font-family:var(--font-display); font-weight:500; font-size:clamp(20px,1.9vw,26px); line-height:1.15; color:var(--burgundy-deep); }
.cb-big .cb-copy h3{ font-size:clamp(26px,2.8vw,40px); }
.cb-text{ margin-top:8px; font-size:14px; color:var(--ink-soft); }
.cb-big .cb-text{ font-size:17px; color:var(--ink); }
.cb-btn{ display:inline-flex; align-items:center; gap:6px; margin-top:14px; padding:8px 18px; border-radius:999px; border:1px solid var(--burgundy); color:var(--burgundy); background:rgba(255,255,255,.55); font-size:13.5px; font-weight:600; letter-spacing:0; text-transform:none; }
.cb-big .cb-btn{ background:var(--burgundy); color:#fff; border-radius:10px; font-size:15px; padding:11px 22px; }
.cb-banner:hover .cb-btn{ background:var(--burgundy); color:#fff; }

/* ---- Product cards ---- */
.grid{ gap:20px; }
.card{ background:#fff; border:1px solid #F2E3DD; border-radius:12px; box-shadow:none; overflow:hidden; }
.card:hover{ transform:translateY(-3px); box-shadow:0 14px 30px rgba(122,22,49,.12); }
.card .thumb{ aspect-ratio:1.12/1; background:#F6E8E2; }
.card .cat, .card .photo-count{ display:none; }
.card .body{ padding:12px 14px 14px; gap:3px; }
.card .name{ font-family:var(--font-body); font-weight:500; font-size:14.5px; line-height:1.35; min-height:0; color:var(--ink); -webkit-line-clamp:2; }
.card .card-qty{ font-size:12.5px; color:var(--ink-soft); line-height:1.3; }
.card .card-qty-empty{ visibility:hidden; }
.card .price{ margin-top:6px; padding-top:0; font-size:17px; font-weight:700; color:var(--ink); }
.card .badge{ top:10px; left:10px; }
.card .card-actions{ display:block; margin-top:10px; }
.card .quick-add{ width:100%; height:42px; margin:0; display:flex; gap:8px; align-items:center; justify-content:center; border-radius:8px; background:var(--burgundy); border:1px solid var(--burgundy); color:#fff; font-size:14px; font-weight:600; }
.card .quick-add:hover{ background:var(--burgundy-deep); border-color:var(--burgundy-deep); transform:none; color:#fff; }
.card .quick-add.notify{ background:#fff; color:var(--burgundy); }
.card .quick-add.notify:hover{ background:var(--blush-soft); color:var(--burgundy); }
.wishlist-btn{ top:10px; right:10px; width:34px; height:34px; background:#fff; color:var(--burgundy); box-shadow:0 2px 8px rgba(0,0,0,.12); }
.is-home .sort-control{ display:none; }
.is-home #resultsCount{ display:none; }
.is-home .grid{ grid-template-columns:repeat(5,minmax(0,1fr)); }
@media (max-width:1100px){ .is-home .grid{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:900px){ .is-home .grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
.is-home .section-head{ align-items:flex-end; }

/* hide sections retired by the redesign on the homepage */
#featured-section, #homepageRailsSection, #categoryRailsSection{ display:none !important; }

/* ---- Occasions ---- */
.occasion-section{ padding:34px 0 10px; }
.occasion-section[hidden]{ display:none; }
.occasion-banner{ position:relative; border-radius:18px 18px 0 0; overflow:hidden; min-height:250px; display:flex; align-items:center;
  background:
    radial-gradient(circle at 82% 50%, rgba(255,255,255,.55) 0, rgba(255,255,255,0) 40%),
    linear-gradient(110deg,#FADBDB 0%,#F7C9CD 60%,#F2B8C0 100%); }
.occasion-banner::after{ content:""; position:absolute; right:7%; top:50%; width:230px; aspect-ratio:1; transform:translateY(-50%) rotate(12deg); opacity:.16; background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%237A1631' d='M12 21s-7.5-4.6-10-9.1C.5 8.5 2 5 5.5 5c2 0 3.4 1.1 4.2 2.3.4.6.6.9.8 1.2.2-.3.4-.6.8-1.2C12.1 6.1 13.5 5 15.5 5 19 5 20.5 8.5 19.5 11.9 17.5 16.4 12 21 12 21z'/%3E%3C/svg%3E"); }
.occasion-copy{ position:relative; z-index:2; padding:34px 44px; max-width:560px; }
.occasion-copy h2{ font-size:clamp(30px,3.6vw,48px); line-height:1.08; font-weight:500; color:var(--burgundy-deep); }
.occasion-copy h2 em{ font-family:var(--font-script); font-style:normal; font-weight:400; font-size:1.18em; color:var(--burgundy); }
.occasion-copy p{ margin:14px 0 22px; color:var(--ink); font-size:16px; max-width:40ch; }
.occasion-row{ display:grid; grid-template-columns:repeat(6,1fr); background:#FBE6E4; border-radius:0 0 18px 18px; padding:6px 10px; }
.occasion-row a{ display:flex; flex-direction:column; align-items:center; gap:8px; padding:18px 8px; font-size:14.5px; color:var(--ink); border-radius:12px; transition:background .2s, color .2s; }
.occasion-row a svg{ color:var(--burgundy); }
.occasion-row a:hover{ background:#fff; color:var(--burgundy); }

/* ---- Customer reviews showcase ---- */
.reviews-showcase{ padding-top:30px; }
.reviews-showcase .review-showcase-card{ background:#FCEBE9; border:0; border-radius:12px; }
.reviews-showcase .stars, .pdp-rating-summary .stars, .review-card .stars{ color:#D79A2B; }

/* ---- Instagram ---- */
.insta-section{ padding-top:26px; }
.insta-section[hidden]{ display:none; }
.insta-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:12px; }
.insta-grid a{ display:block; aspect-ratio:1; border-radius:10px; overflow:hidden; background:var(--stone); }
.insta-grid img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.insta-grid a:hover img{ transform:scale(1.07); }

/* ---- Newsletter ---- */
.newsletter{ margin:30px 0 40px; }
.newsletter[hidden]{ display:none; }
.newsletter-inner{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; background:#FCE7E5; border-radius:14px; padding:22px 30px; }
.nl-icon{ color:var(--burgundy); flex:none; }
.nl-copy{ flex:1 1 220px; }
.nl-copy h3{ font-size:22px; color:var(--burgundy-deep); font-weight:500; }
.nl-copy p{ font-size:14px; color:var(--ink-soft); margin-top:2px; }
.nl-form{ display:flex; gap:10px; flex:1 1 380px; max-width:560px; }
.nl-form input[type=email]{ flex:1; min-width:0; height:46px; padding:0 22px; border:1px solid #EBD3CF; border-radius:999px; background:#fff; font:inherit; font-size:14.5px; }
.nl-form input[type=email]:focus{ outline:0; border-color:var(--burgundy); }
.nl-form .icon-btn{ height:46px; border-radius:999px; padding:0 26px; white-space:nowrap; }
.nl-msg{ flex-basis:100%; font-size:13.5px; margin:0; }
.nl-msg.ok{ color:#1d7a4d; } .nl-msg.err{ color:#b3261e; }

/* ---- Footer ---- */
.site-footer{ background:#6B1229; color:#fff; margin-top:0; }
.site-footer .container{ padding:44px 24px 24px; }
.footer-grid, .site-footer .container{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.3fr; gap:36px; }
.site-footer .brand-logo{ height:96px; }
.site-footer .col h4{ font-family:var(--font-display); font-size:17px; font-weight:500; color:#fff; margin-bottom:14px; }
.site-footer .col a, .site-footer .col p{ display:flex; align-items:center; gap:10px; color:rgba(255,255,255,.86); font-size:14.5px; margin:0 0 9px; line-height:1.5; }
.site-footer .col a:hover{ color:#fff; text-decoration:underline; }
.site-footer .col a[hidden], .site-footer .col p[hidden]{ display:none; }
.site-footer .col svg{ flex:none; opacity:.9; }
.site-footer .fc-row{ align-items:flex-start; }
.foot-tag{ display:block !important; margin:14px 0 18px !important; max-width:34ch; color:rgba(255,255,255,.82); }
.foot-social{ display:flex; gap:10px; }
.site-footer .foot-social a{ width:40px; height:40px; border-radius:50%; border:1px solid rgba(255,255,255,.4); justify-content:center; margin:0; }
.site-footer .foot-social a:hover{ background:rgba(255,255,255,.14); text-decoration:none; }
.foot-bottom{ display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; border-top:1px solid rgba(255,255,255,.16); max-width:1272px; margin:0 auto; padding:16px 24px 22px; font-size:13px; color:rgba(255,255,255,.75); }
.foot-bottom .credit{ margin:0; }

/* ---- Product page ---- */
.product-view{ padding:14px 24px 56px; }
.breadcrumb{ font-size:13px; color:var(--ink-soft); display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:22px; }
.breadcrumb a:hover{ color:var(--burgundy); }
.breadcrumb [hidden]{ display:none; }
.pdp-top{ display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 270px; gap:34px; align-items:start; }
.product-view .m-image{ display:grid; grid-template-columns:92px minmax(0,1fr); gap:14px; background:none; aspect-ratio:auto; min-height:0; border-radius:0; position:static; }
.gallery-thumbs{ display:flex; flex-direction:column; gap:12px; padding:0; background:none; overflow-y:auto; justify-content:flex-start; max-height:560px; scrollbar-width:thin; }
.gallery-thumbs[style*="none"]{ display:none !important; }
.m-image:has(.gallery-thumbs[style*="none"]){ grid-template-columns:1fr; }
.thumb-btn{ width:92px; height:84px; flex:none; border-radius:8px; border:2px solid transparent; opacity:1; background:#F6E8E2; }
.thumb-btn.active{ border-color:var(--burgundy); }
.m-main{ position:relative; aspect-ratio:1.1/1; border-radius:6px; overflow:hidden; background:#F6E8E2; }
.product-view .m-main img{ width:100%; height:100%; object-fit:cover; display:block; }
.gallery-nav{ padding:0 14px; }
.gallery-nav button{ width:40px; height:40px; background:#fff; color:var(--ink); font-size:24px; box-shadow:0 3px 12px rgba(0,0,0,.16); }
.gallery-dots{ display:none; }
.product-view .m-body{ padding:0; display:block; border-radius:0; }
.pdp-badge{ display:inline-block; margin-bottom:12px; padding:6px 14px; border-radius:8px; background:var(--pill-bg); color:var(--burgundy); font-size:13.5px; font-weight:500; }
.pdp-badge[hidden]{ display:none; }
.product-view .m-name{ font-family:var(--font-display); font-weight:500; font-size:clamp(30px,3.3vw,44px); line-height:1.1; color:var(--burgundy); margin:0; }
.m-name-qty{ display:block; margin-top:6px; font-size:.62em; font-weight:500; color:var(--ink); font-family:var(--font-display); }
.pdp-rating-summary{ display:flex; align-items:center; flex-wrap:wrap; gap:8px 10px; margin:16px 0 14px; font-size:14.5px; color:var(--ink); }
.pdp-rating-summary .stars{ font-size:20px; letter-spacing:1px; }
.rs-sep{ width:1px; height:18px; background:var(--line); margin:0 4px; }
.pdp-rating-link{ color:var(--burgundy); text-decoration:underline; text-underline-offset:3px; font-size:14px; }
.product-view .m-price{ display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 12px; font-family:var(--font-display); font-weight:600; font-size:clamp(34px,3.4vw,44px); line-height:1.1; color:var(--burgundy-deep); margin:6px 0 14px; }
.product-view .m-price .tax-note{ font-family:var(--font-body); font-size:13.5px; font-weight:400; color:var(--ink-soft); }
.product-view .m-price .strike{ font-family:var(--font-body); font-size:18px; }
.product-view .m-desc{ margin:0 0 20px; font-size:15px; line-height:1.65; color:var(--ink); display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.product-view .m-desc:empty{ display:none; }
.pdp-chips{ display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0 0 18px; }
.pdp-chips[hidden]{ display:none; }
.pdp-chips li{ padding:5px 12px; border-radius:99px; background:var(--blush-soft); color:var(--burgundy); font-size:13px; }
.pdp-flavours{ margin:0 0 20px; }
.pdp-flavours[hidden]{ display:none; }
.pdp-flavours h4{ font-family:var(--font-body); font-size:15.5px; font-weight:600; color:var(--burgundy); margin-bottom:12px; }
.pdp-flavours ul{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:14px 16px; }
.pdp-flavours li{ display:flex; flex-direction:column; align-items:center; gap:6px; width:64px; }
.flv-dot{ width:58px; height:58px; border-radius:50%; background:#FBEDEA; border:1px solid #F1D9D3; display:flex; align-items:center; justify-content:center; box-shadow:0 3px 8px rgba(122,22,49,.1); }
.flv-dot svg{ width:30px; height:30px; fill:var(--c); filter:drop-shadow(0 1px 1px rgba(0,0,0,.18)); }
.flv-name{ font-size:13px; text-align:center; line-height:1.2; color:var(--ink); }
.pdp-field-label{ display:block; font-size:15.5px; font-weight:600; color:var(--burgundy); margin:6px 0 10px; }
.pdp-buyrow{ display:flex; align-items:center; gap:12px; }
.product-view .m-qty{ margin:0; gap:0; flex:none; height:52px; border:1px solid var(--line); border-radius:12px; background:#fff; overflow:hidden; }
.product-view .m-qty button{ width:40px; height:100%; border:0; border-radius:0; background:none; font-size:20px; }
.product-view .m-qty span{ min-width:36px; text-align:center; font-size:16px; }
.product-view .btn-add-cart{ flex:1; margin:0; height:52px; padding:0 20px; border-radius:999px; background:var(--burgundy); color:#fff; border:0; font-size:17px; font-weight:600; box-shadow:0 8px 20px rgba(122,22,49,.25); }
.product-view .btn-add-cart:hover{ background:var(--burgundy-deep); filter:none; }
.wishlist-btn.detail{ position:static; flex:none; width:52px; height:52px; padding:0; margin:0; border-radius:50%; background:#fff; border:1px solid #E7C9C9; color:var(--burgundy); box-shadow:none; justify-content:center; }
.wishlist-btn.detail span{ display:none; }
.wishlist-btn.detail:hover{ background:var(--blush-soft); border-color:var(--burgundy); }
.wishlist-btn.detail.active{ background:var(--blush); }
.m-actions-primary{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:14px 0 0; }
.product-view .btn-buy-now, .product-view .btn-whatsapp{ margin:0; height:46px; padding:0 12px; border-radius:999px; font-size:14.5px; font-weight:600; box-shadow:none; }
.product-view .btn-buy-now{ background:#fff; color:var(--burgundy); border:1.5px solid var(--burgundy); }
.product-view .btn-buy-now:hover{ background:var(--burgundy); color:#fff; transform:none; }
.product-view .btn-buy-now:disabled{ opacity:.5; }
.pdp-trust{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; list-style:none; margin:26px 0 0; padding:20px 0 0; border-top:1px solid var(--line-soft); }
.pdp-trust li{ display:flex; flex-direction:column; gap:8px; align-items:flex-start; font-size:12.5px; color:var(--ink); line-height:1.35; }
.pdp-trust li svg{ color:var(--burgundy); opacity:.85; margin:0; }
.pdp-trust li b{ display:block; font-weight:600; }
.pdp-trust li small{ display:block; color:var(--ink-soft); font-size:12px; margin-top:2px; }
.pdp-checks{ margin-top:14px; }
.pdp-features{ background:#FCEBE9; border-radius:14px; padding:6px 20px; align-self:start; }
.pf-item{ display:flex; gap:16px; align-items:center; padding:20px 0; border-bottom:1px solid #F3D5D2; }
.pf-item:last-child{ border-bottom:0; }
.pf-item svg{ flex:none; color:var(--burgundy); opacity:.85; }
.pf-item h4{ font-family:var(--font-body); font-size:15px; font-weight:600; color:var(--ink); line-height:1.3; }
.pf-item p{ font-size:13px; color:var(--ink-soft); margin-top:3px; line-height:1.35; }

.pdp-lower{ display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:40px; margin-top:40px; border-top:1px solid var(--line-soft); align-items:start; }
.pdp-tabbar{ display:flex; gap:38px; border-bottom:1px solid var(--line-soft); overflow-x:auto; scrollbar-width:none; }
.pdp-tabbar::-webkit-scrollbar{ display:none; }
.pdp-tab{ position:relative; flex:none; padding:18px 0 14px; font-size:15.5px; color:var(--ink); background:none; border:0; }
.pdp-tab::after{ content:""; position:absolute; left:0; right:0; bottom:-1px; height:2px; background:var(--burgundy); transform:scaleX(0); transition:transform .2s var(--ease); }
.pdp-tab.active{ color:var(--burgundy); font-weight:600; }
.pdp-tab.active::after, .pdp-tab:hover::after{ transform:scaleX(1); }
.pdp-accordions{ margin:0; border:0; }
.pdp-acc-item{ border:0; }
.pdp-acc-head{ display:none; }
.pdp-acc-item:not(.active){ display:none; }
.pdp-acc-body{ padding:22px 0 8px; font-size:15px; line-height:1.75; color:var(--ink); max-width:78ch; }
.pdp-acc-body ul{ margin:0 0 10px; padding-left:20px; }
.pdp-acc-body li{ margin-bottom:4px; }
.pdp-acc-body a{ color:var(--burgundy); text-decoration:underline; }
.flv-list{ columns:2; }
.pdp-specs{ margin-top:18px; background:#FCEEEB; border-radius:12px; padding:6px 22px; }
.pdp-specs[hidden]{ display:none; }
.pdp-specs dl{ margin:0; }
.pdp-specs dl > div{ display:grid; grid-template-columns:116px 1fr; gap:10px; padding:14px 0; border-bottom:1px solid #F1D8D4; font-size:14.5px; }
.pdp-specs dl > div:last-child{ border-bottom:0; }
.pdp-specs dt{ color:var(--burgundy); font-weight:600; }
.pdp-specs dd{ margin:0; color:var(--ink); }

.pdp-related{ margin-top:34px; }
.pdp-related-head h3{ font-size:clamp(26px,2.6vw,34px); color:var(--burgundy); font-weight:600; }
.pdp-related-track{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:18px; margin-top:18px; }
.pdp-related-track .card:nth-child(n+6){ display:none; }
.pdp-reviews{ margin-top:48px; }

/* ---- Tablet ---- */
@media (max-width:1100px){
  .pdp-top{ grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); }
  .pdp-features{ grid-column:1 / -1; display:grid; grid-template-columns:repeat(4,1fr); gap:6px 20px; }
  .pf-item{ border-bottom:0; }
  .trust-bar{ grid-template-columns:repeat(2,1fr); }
  .footer-grid, .site-footer .container{ grid-template-columns:1fr 1fr; }
}
@media (max-width:1180px){
  .cat-nav{ display:none; }
  .menu-toggle{ display:flex; width:44px; height:44px; align-items:center; justify-content:center; margin-left:-8px; flex:none; }
  .site-header .bar{ gap:6px; justify-content:space-between; }
  .brand-logo{ height:56px; }
  .site-header .bar{ min-height:68px; position:relative; }
  .pdp-lower{ grid-template-columns:1fr; gap:0; }
  .is-home .grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .cb-list.cb-mosaic{ grid-template-rows:repeat(2,minmax(140px,24vw)); }
  .occasion-row{ grid-template-columns:repeat(3,1fr); }
  .hero .hero-classic{ grid-template-columns:1fr; gap:24px; padding-top:34px; padding-bottom:34px; }
  .hero-visual{ max-width:420px; margin:0 auto; }
  .hs-copy{ padding-left:24px; }
}

/* ---- Phone ---- */
@media (max-width:760px){
  .container{ padding-left:16px; padding-right:16px; }
  .usp-bar .usp-inner{ justify-content:center; padding-top:8px; padding-bottom:8px; }
  .usp-bar .usp-item:not(.usp-ship){ display:none; }
  .usp-item{ font-size:12.5px; }
  .site-header .bar{ padding:6px 12px; }
  .brand-logo{ height:50px; }
  .account-area, .wishlist-trigger{ display:none; }
  .search-toggle, .cart-trigger{ width:40px; height:40px; }
  html{ scroll-padding-top:80px; }

  .hero .hero-classic{ padding-top:26px; padding-bottom:28px; min-height:0; }
  .hero h1{ font-size:34px; }
  .hero p.lede{ font-size:15px; }
  .hs-slide{ aspect-ratio:auto; min-height:260px; align-items:center; }
  .hs-copy{ max-width:56%; padding:18px 0 18px 16px; }
  .hs-copy h1, .hs-copy h2{ font-size:26px; }
  .hs-text{ font-size:13px; }
  .hs-btn{ padding:10px 16px; font-size:13px; }

  .shop-by-category{ padding-top:18px; }
  .shop-by-category .nav-card-track{ justify-content:flex-start; gap:12px; padding-left:0; }
  .shop-by-category .nav-card-track .nav-card{ flex:0 0 86px; }
  .shop-by-category .nav-card-image-wrap{ width:70px; height:70px; border-width:2px; }
  .shop-by-category .nav-card-label .name{ font-size:12.5px; }

  .trust-bar{ grid-template-columns:repeat(4,1fr); gap:6px; padding:14px 2px; margin:6px 0 16px; }
  .trust-bar-item{ flex-direction:column; text-align:center; gap:6px; }
  .trust-bar-item:last-child{ display:flex; }
  .trust-bar-item svg{ width:26px; height:26px; }
  .trust-bar-item h4{ font-size:10.5px; font-weight:500; }
  .trust-bar-item p{ display:none; }

  .cb-list.cb-mosaic, .cb-list.cb-mosaic.cb-n3{ grid-template-columns:1fr 1fr; grid-template-rows:none; grid-auto-rows:minmax(130px,34vw); gap:10px; }
  .cb-big{ grid-column:1 / -1; grid-row:auto; min-height:190px; }
  .cb-big .cb-copy{ padding:18px 18px; max-width:62%; }
  .cb-big .cb-copy h3{ font-size:24px; }
  .cb-big .cb-text{ font-size:14px; }
  .cb-copy{ padding:14px; max-width:100%; }
  .cb-copy h3{ font-size:18px; }
  .cb-text{ display:none; }
  .cb-btn{ margin-top:8px; padding:6px 12px; font-size:12px; }

  .is-home .grid, .grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .card .body{ padding:10px; }
  .card .name{ font-size:13.5px; }
  .card .price{ font-size:15.5px; }
  .card .quick-add{ height:38px; font-size:13px; }
  .section-head h2{ font-size:26px; }

  .occasion-banner{ min-height:210px; }
  .occasion-copy{ padding:22px 20px; max-width:70%; }
  .occasion-copy h2{ font-size:28px; }
  .occasion-copy p{ font-size:14px; margin:10px 0 16px; }
  .occasion-row{ grid-template-columns:repeat(3,1fr); padding:4px; }
  .occasion-row a{ padding:14px 4px; font-size:12.5px; text-align:center; }
  .insta-grid{ grid-template-columns:repeat(3,1fr); gap:8px; }
  .newsletter-inner{ padding:20px 18px; gap:14px; }
  .nl-form{ flex-basis:100%; max-width:none; }
  .nl-icon{ width:36px; height:36px; }

  .site-footer .container{ grid-template-columns:1fr 1fr; gap:26px 18px; padding:32px 16px 16px; }
  .foot-brand{ grid-column:1 / -1; }
  .site-footer .brand-logo{ height:78px; }
  .foot-contact{ grid-column:1 / -1; }
  .foot-bottom{ padding:14px 16px 18px; justify-content:center; text-align:center; }

  /* product page */
  .product-view{ padding:8px 16px 40px; }
  .pdp-top{ grid-template-columns:1fr; gap:20px; }
  .product-view .m-image{ grid-template-columns:1fr; gap:10px; }
  .gallery-thumbs{ order:2; flex-direction:row; max-height:none; overflow-x:auto; overflow-y:hidden; gap:10px; }
  .thumb-btn{ width:68px; height:62px; }
  .m-main{ aspect-ratio:1/.92; border-radius:10px; }
  .pdp-buyrow{ flex-wrap:wrap; }
  .product-view .btn-add-cart{ flex:1 1 150px; height:50px; font-size:16px; }
  .pdp-trust{ grid-template-columns:repeat(2,1fr); gap:16px 12px; }
  .pdp-trust li{ flex-direction:row; align-items:center; gap:10px; }
  .pdp-trust li svg{ width:26px; height:26px; flex:none; }
  .pdp-features{ grid-template-columns:1fr; padding:2px 16px; }
  .pf-item{ padding:14px 0; border-bottom:1px solid #F3D5D2; }
  .pdp-lower{ margin-top:26px; }
  .pdp-tabbar{ display:none; }
  .pdp-accordions{ border-top:1px solid var(--line-soft); }
  .pdp-acc-item:not(.active){ display:block; }
  .pdp-acc-item{ border-bottom:1px solid var(--line-soft); }
  .pdp-acc-head{ display:flex; width:100%; align-items:center; justify-content:space-between; padding:16px 2px; font-size:15px; color:var(--ink); text-align:left; background:none; border:0; }
  .pdp-acc-sign::after{ content:"+"; font-size:22px; line-height:1; color:var(--ink-soft); }
  .pdp-acc-item.open .pdp-acc-sign::after{ content:"\2212"; }
  .pdp-acc-item .pdp-acc-body{ display:none; padding:0 2px 16px; font-size:14px; }
  .pdp-acc-item.open .pdp-acc-body{ display:block; }
  .pdp-acc-item[data-key="reviews"] .pdp-acc-sign::after{ content:"\203A"; }
  .pdp-specs{ order:-1; margin:0 0 6px; }
  .pdp-related-track{ display:flex; overflow-x:auto; gap:12px; scroll-snap-type:x proximity; padding-bottom:6px; }
  .pdp-related-track .card{ flex:0 0 160px; scroll-snap-align:start; display:flex; }
  .pdp-related-track .card:nth-child(n+6){ display:flex; }
  .review-grid{ grid-template-columns:1fr; }
}

/* ---- fixes after first visual pass ---- */
.site-header .bar > .cat-nav{ min-width:0; }
.cat-nav-inner{ justify-content:safe center; gap:0; }
.cat-chip{ padding:12px 10px; font-size:15px; }
.cat-chip::before{ left:10px; right:10px; }
.cat-chip.has-sub::before{ right:30px; }
.site-footer .col h4{ text-transform:none; letter-spacing:0; }
.pdp-trust{ grid-template-columns:repeat(2,1fr); gap:16px 14px; }
.pdp-trust li{ flex-direction:row; align-items:center; gap:12px; }
.pdp-trust li svg{ width:30px; height:30px; flex:none; }
.pdp-tabbar{ gap:26px; }
.pdp-flavours ul{ gap:12px 8px; }
.pdp-flavours li{ width:56px; }
.flv-dot{ width:52px; height:52px; }
.flv-dot svg{ width:27px; height:27px; }
.cb-list.cb-mosaic.cb-n4 .cb-banner:nth-child(4){ grid-column:2 / 4; }
.nl-form{ width:100%; }
.newsletter-inner{ max-width:100%; }
@media (max-width:1180px){
  .site-header .brand{ position:absolute; left:50%; transform:translateX(-50%); }
  .site-footer .brand{ position:static; transform:none; }
}
.cart-drawer[hidden]{ box-shadow:none; visibility:hidden; }
@media (max-width:760px){
  .product-view .m-image{ display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:10px !important; position:static; }
  .product-view .gallery-thumbs{ padding:0 !important; }
  .gallery-dots{ display:none !important; }
}
@media (max-width:760px){
  .product-view .gallery-thumbs, .product-view .m-main{ grid-column:1 !important; grid-row:auto !important; }
  .product-view .m-main{ grid-row:1 !important; } .product-view .gallery-thumbs{ grid-row:2 !important; }
}
