/* ==========================================================================
   RANG DATA — Luxury Apparel
   Global stylesheet (single source of truth for every page)
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Typography & helpers
   4.  Buttons, badges, forms
   5.  Announcement bar + Header + Mobile drawer
   6.  Hero + Collection cards
   7.  Product grid & cards
   8.  Product detail page
   9.  Cart drawer + Toast
   10. Checkout
   11. Editorial pages (about / faq / policies / blog / contact)
   12. Footer
   13. Responsive
   ========================================================================== */

/* 1. DESIGN TOKENS ======================================================== */
:root {
  /* Brand */
  --plum-900: #2E0116;
  --plum-800: #3D021D;
  --plum: #4A0424;
  --plum-600: #631033;
  --gold-600: #A98B4B;
  --gold: #C2AE6D;
  --gold-200: #E7DCBE;
  --cream: #FBF8F3;
  --cream-dark: #F2EBE0;

  /* Neutrals */
  --ink: #17110E;
  --body: #4B4340;
  --muted: #7A716C;
  --line: #E6DFD6;
  --line-soft: #F1ECE5;
  --white: #FFFFFF;

  /* Status */
  --success: #2F7D5D;
  --danger: #B3261E;

  /* Type */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Space & shape */
  --wrap: 1280px;
  --wrap-narrow: 900px;
  --radius: 2px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(23, 17, 14, .05);
  --shadow: 0 10px 30px rgba(23, 17, 14, .08);
  --shadow-lg: 0 24px 60px rgba(23, 17, 14, .16);
  --header-h: 74px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. RESET & BASE ======================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
svg { display: block; }

/* The [hidden] attribute must win over display:grid/flex utilities,
   otherwise JS-toggled panels (checkout, PDP, empty states) stay visible. */
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 3px;
}

::selection { background: var(--gold); color: var(--plum); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 4000;
  background: var(--plum); color: #fff; padding: 12px 18px;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* 3. TYPOGRAPHY & HELPERS ================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: .01em;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 76px; }
.section-tight { padding-block: 46px; }
.bg-cream { background: var(--cream); }

.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold-600);
}

.section-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--plum);
  margin-bottom: 12px;
}
.section-head p { color: var(--muted); font-size: 15px; }

.rule {
  width: 54px; height: 1px; background: var(--gold);
  margin: 18px auto 0; position: relative;
}
.rule::after {
  content: ""; position: absolute; inset: -3px auto auto 50%;
  width: 7px; height: 7px; background: var(--gold);
  transform: translateX(-50%) rotate(45deg);
}

.page-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 56px 24px 52px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  color: var(--plum);
  margin-bottom: 10px;
}
.page-hero p { color: var(--muted); max-width: 620px; margin-inline: auto; }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  justify-content: center; margin-bottom: 18px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.breadcrumb a:hover { color: var(--plum); text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--plum); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* 4. BUTTONS, BADGES, FORMS ============================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px; border: 1px solid var(--plum);
  background: var(--plum); color: #fff;
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--plum-900); border-color: var(--plum-900); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--plum); }
.btn-ghost:hover { background: var(--plum); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--plum); }
.btn-gold:hover { background: var(--gold-600); border-color: var(--gold-600); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--plum); }
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: var(--plum); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 22px; font-size: 11px; }
.btn-wa { background: #1FA855; border-color: #1FA855; color: #fff; }
.btn-wa:hover { background: #17853F; border-color: #17853F; }
.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--line); border-color: var(--line); color: var(--muted);
  cursor: not-allowed; transform: none;
}

.link-underline {
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
  transition: opacity .2s var(--ease);
}
.link-underline:hover { opacity: .65; }

.badge {
  display: inline-block; padding: 5px 11px;
  font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.badge-soldout { background: var(--ink); color: #fff; }
.badge-stock { background: rgba(47,125,93,.1); color: var(--success); }
.badge-new { background: var(--gold); color: var(--plum); }
.badge-soon { background: var(--plum); color: var(--gold); }

.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  display: block; margin-bottom: 7px;
  font-size: 11px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink);
}
.field .req { color: var(--danger); }

input[type="text"], input[type="email"], input[type="tel"],
input[type="search"], input[type="number"], select, textarea {
  width: 100%; padding: 13px 15px;
  font-family: var(--font-sans); font-size: 14px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
input::placeholder, textarea::placeholder { color: #A79E98; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(74, 4, 36, .09);
}
textarea { min-height: 140px; resize: vertical; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234B4340' d='M6 8 0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
  padding-right: 40px;
}
.field-error {
  display: none; margin-top: 6px;
  font-size: 12px; color: var(--danger);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .field-error { display: block; }
.field-hint { margin-top: 6px; font-size: 12px; color: var(--muted); }

.checkline {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--body); margin: 12px 0 20px;
}
.checkline input { width: 16px; height: 16px; flex: none; margin-top: 3px; accent-color: var(--plum); }

.qty-box {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); background: #fff;
}
.qty-box button {
  width: 40px; height: 42px; font-size: 17px; color: var(--plum);
  transition: background .2s var(--ease);
}
.qty-box button:hover { background: var(--cream); }
.qty-box input {
  width: 48px; height: 42px; text-align: center;
  border: 0; border-inline: 1px solid var(--line);
  font-size: 15px; padding: 0;
}
.qty-box input:focus { box-shadow: none; }

/* 5. ANNOUNCEMENT + HEADER =============================================== */
.announce {
  background: var(--gold); color: var(--plum);
  display: flex; align-items: center; gap: 18px;
  padding: 0 clamp(16px, 4vw, 44px);
  height: 38px; overflow: hidden;
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.announce-socials { display: flex; gap: 16px; flex: none; }
.announce-socials a { font-size: 13px; transition: opacity .2s var(--ease); }
.announce-socials a:hover { opacity: .6; }
.announce-ticker { flex: 1; overflow: hidden; position: relative; height: 100%; }
.announce-track {
  position: absolute; top: 0; left: 0; height: 100%;
  display: flex; align-items: center; gap: 0; white-space: nowrap;
  animation: ticker 34s linear infinite;
  will-change: transform;
}
.announce-track span { padding-inline: 26px; }
.announce-track span::after { content: "◆"; margin-left: 26px; font-size: 8px; vertical-align: middle; opacity: .55; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.announce-meta { flex: none; font-weight: 500; }
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
}

.header {
  position: sticky; top: 0; z-index: 900;
  background: var(--plum); color: #fff;
}
.header-inner {
  max-width: var(--wrap); margin-inline: auto;
  padding: 0 24px; height: var(--header-h);
  display: flex; align-items: center; gap: 20px;
}
.header-left, .header-right { flex: 1; display: flex; align-items: center; gap: 18px; }
.header-right { justify-content: flex-end; }

.brand { text-align: center; flex: none; }
.brand-name {
  font-family: var(--font-display); font-size: 27px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: #fff;
  display: block; line-height: 1; padding-left: .3em;
}
.brand-tag {
  display: block; margin-top: 4px;
  font-size: 8px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold);
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav > li { position: relative; }
.nav a, .nav .nav-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  height: var(--header-h);
  font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.88); transition: color .2s var(--ease);
}
.nav a:hover, .nav .nav-toggle:hover, .nav li.is-active > a { color: var(--gold); }
.nav .chev { font-size: 9px; transition: transform .25s var(--ease); }
.nav li:hover .chev { transform: rotate(180deg); }

.submenu {
  position: absolute; top: 100%; left: -18px; min-width: 236px;
  background: var(--plum-900); border-top: 2px solid var(--gold);
  padding: 8px 0; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav li:hover .submenu, .nav li:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu a {
  height: auto; width: 100%; padding: 11px 20px;
  font-size: 11.5px; letter-spacing: .13em;
  border-left: 2px solid transparent;
}
.submenu a:hover { background: rgba(255,255,255,.05); border-left-color: var(--gold); }
.submenu a .soon { font-size: 9px; color: var(--gold); letter-spacing: .1em; }

.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; font-size: 16px; color: #fff;
  transition: color .2s var(--ease);
}
.icon-btn:hover { color: var(--gold); }
.cart-count {
  position: absolute; top: 3px; right: 1px;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--gold); color: var(--plum);
  border-radius: 9px; font-size: 10px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
}
.cart-count[data-empty="true"] { background: rgba(255,255,255,.24); color: #fff; }

.search-inline { position: relative; }
.search-inline form {
  display: flex; align-items: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: 0 12px; height: 38px; transition: border-color .2s var(--ease);
}
.search-inline form:focus-within { border-color: var(--gold); }
.search-inline button { color: #fff; font-size: 13px; display: flex; }
.search-inline input {
  width: 172px; height: 100%; padding: 0 0 0 10px;
  background: transparent; border: 0; color: #fff; font-size: 13px;
}
.search-inline input::placeholder { color: rgba(255,255,255,.55); }
.search-inline input:focus { box-shadow: none; }

.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; width: 320px;
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  z-index: 20; display: none; max-height: 62vh; overflow-y: auto;
}
.suggest.open { display: block; }
.suggest a { display: flex; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.suggest a:last-child { border-bottom: 0; }
.suggest a:hover { background: var(--cream); }
.suggest img { width: 44px; height: 56px; object-fit: cover; flex: none; }
.suggest .s-code { font-size: 11px; letter-spacing: .1em; color: var(--gold-600); text-transform: uppercase; }
.suggest .s-name { font-size: 13px; color: var(--ink); }
.suggest .s-price { font-size: 12px; color: var(--body); }
.suggest .s-empty { padding: 16px 14px; font-size: 13px; color: var(--muted); }

.burger { display: none; width: 40px; height: 40px; font-size: 18px; color: #fff; }
.burger { flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; transition: background .2s var(--ease); }
.burger:hover span { background: var(--gold); }
/* Mobile drawer */
.drawer-scrim, .cart-scrim {
  position: fixed; inset: 0; background: rgba(23,17,14,.5);
  z-index: 1500; opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
  backdrop-filter: blur(2px);
}
.drawer-scrim.open, .cart-scrim.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; left: 0; z-index: 1600;
  width: min(86vw, 340px); height: 100%;
  background: var(--plum); color: #fff;
  display: flex; flex-direction: column;
  transform: translateX(-102%);
  transition: transform .34s var(--ease);
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 22px 18px; border-bottom: 1px solid rgba(255,255,255,.14);
}
.drawer-head .brand-name { font-size: 21px; letter-spacing: .24em; }
.drawer-close { font-size: 22px; color: #fff; line-height: 1; width: 34px; height: 34px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px 30px; }
.drawer-nav > li { border-bottom: 1px solid rgba(255,255,255,.09); }
.drawer-nav > li > a, .drawer-acc-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 15px 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #fff;
}
.drawer-acc-btn .chev { font-size: 10px; color: var(--gold); transition: transform .25s var(--ease); }
.drawer-acc-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.drawer-sub { display: none; padding: 0 0 14px 4px; }
.drawer-sub.open { display: block; }
.drawer-sub a {
  display: block; padding: 9px 0 9px 14px;
  font-size: 12.5px; color: rgba(255,255,255,.72);
  border-left: 1px solid rgba(255,255,255,.2);
}
.drawer-sub a:hover { color: var(--gold); border-left-color: var(--gold); }
.drawer-foot { padding: 20px 22px; border-top: 1px solid rgba(255,255,255,.14); }
.drawer-foot .drawer-socials { display: flex; gap: 12px; margin-bottom: 14px; }
.drawer-foot .drawer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.drawer-foot .drawer-socials a:hover { background: var(--gold); color: var(--plum); }
.drawer-foot p { font-size: 12px; color: rgba(255,255,255,.7); }
.drawer-foot a.tel { color: var(--gold); }

.drawer-search { margin-bottom: 6px; }
.drawer-search form {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.22); padding: 0 12px; height: 42px;
}
.drawer-search input {
  flex: 1; background: transparent; border: 0; color: #fff; font-size: 13px; padding: 0;
}
.drawer-search input::placeholder { color: rgba(255,255,255,.5); }
.drawer-search input:focus { box-shadow: none; }
.drawer-search button { color: #fff; }

/* 6. HERO + COLLECTION CARDS ============================================ */
.hero { position: relative; height: clamp(430px, 74vh, 700px); background: var(--plum-900); overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.1s var(--ease);
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,17,14,.34) 0%, rgba(23,17,14,.5) 100%);
}
.hero-copy {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 0 24px; max-width: 780px; margin-inline: auto;
}
.hero-copy .eyebrow { color: var(--gold-200); margin-bottom: 16px; }
.hero-copy h1, .hero-copy .hero-h {
  font-family: var(--font-display);
  font-size: clamp(32px, 6.2vw, 62px); color: #fff; font-weight: 500;
  line-height: 1.12; letter-spacing: .02em; margin-bottom: 16px;
}
.hero-copy p {
  font-size: clamp(14px, 1.6vw, 17px); color: rgba(255,255,255,.9);
  max-width: 540px; margin-bottom: 30px;
}
.hero-slide-inner { position: absolute; inset: 0; }
.hero-dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 10px;
}
.hero-dots button {
  width: 30px; height: 3px; background: rgba(255,255,255,.4);
  transition: background .25s var(--ease);
}
.hero-dots button.active { background: var(--gold); }

.usp {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.usp-item {
  padding: 26px 22px; text-align: center;
  border-right: 1px solid var(--line);
}
.usp-item:last-child { border-right: 0; }
.usp-item i { font-size: 20px; color: var(--gold-600); margin-bottom: 10px; }
.usp-item h3 { font-family: var(--font-sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.usp-item p { font-size: 12.5px; color: var(--muted); }

.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.collection-card {
  position: relative; display: block; height: 460px; overflow: hidden;
  background: var(--plum-900);
}
.collection-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), opacity .4s var(--ease);
  opacity: .92;
}
.collection-card:hover img { transform: scale(1.06); opacity: 1; }
.collection-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(46,1,22,.88) 0%, rgba(46,1,22,.12) 62%, transparent 100%);
}
.collection-body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 30px 28px; color: #fff;
}
.collection-body h3 {
  font-size: 24px; color: #fff; margin-bottom: 6px; font-weight: 500;
}
.collection-body p { font-size: 13px; color: rgba(255,255,255,.78); margin-bottom: 14px; }
.collection-cta {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  transition: gap .25s var(--ease);
}
.collection-card:hover .collection-cta { gap: 15px; }
.collection-flag {
  position: absolute; top: 20px; right: 20px; z-index: 3;
}
.collection-card.is-soon { cursor: default; }
.collection-card.is-soon img { filter: grayscale(.34); }

.split {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0;
}
.split-media { height: 100%; min-height: 420px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body { padding: clamp(30px, 5vw, 68px); }
.split-body h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--plum); margin: 14px 0 16px; }
.split-body p { margin-bottom: 16px; }

/* 7. PRODUCT GRID ======================================================== */
.catalog-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-bottom: 20px; margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.catalog-count { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip {
  padding: 9px 17px; border: 1px solid var(--line);
  font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--body);
  transition: all .2s var(--ease); background: #fff;
}
.chip:hover { border-color: var(--plum); color: var(--plum); }
.chip.active { background: var(--plum); border-color: var(--plum); color: #fff; }
.catalog-filters select { width: auto; min-width: 190px; padding-block: 10px; font-size: 12.5px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card { position: relative; background: #fff; display: flex; flex-direction: column; }
.card-media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--cream-dark);
}
.card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .5s var(--ease), transform .8s var(--ease);
}
.card-media img.card-img-alt { opacity: 0; }
.card:hover .card-media img.card-img-main { opacity: 0; }
.card:hover .card-media img.card-img-alt { opacity: 1; }
.card:hover .card-media img { transform: scale(1.045); }
.card-flags { position: absolute; top: 12px; left: 12px; z-index: 3; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.card-quick {
  position: absolute; inset: auto 0 0 0; z-index: 3;
  padding: 12px; transform: translateY(101%); opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.card:hover .card-quick { transform: translateY(0); opacity: 1; }
.card-quick .btn { width: 100%; padding-block: 12px; font-size: 11px; }
.card-body { padding: 15px 2px 4px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card-code { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); }
.card-title {
  font-family: var(--font-display); font-size: 17px; font-weight: 500;
  color: var(--ink); line-height: 1.3;
}
.card-title a:hover { color: var(--plum); }
.card-meta { font-size: 12px; color: var(--muted); }
.card-price { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 500; color: var(--plum); }
.card.is-soldout .card-media img { opacity: .62; }
.card.is-soldout .card-price { color: var(--muted); }

.empty-state { text-align: center; padding: 70px 20px; }
.empty-state i { font-size: 30px; color: var(--gold); margin-bottom: 16px; }
.empty-state h3 { font-size: 22px; color: var(--plum); margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 22px; }

/* 8. PRODUCT DETAIL ===================================================== */
.pdp { display: grid; grid-template-columns: 1.06fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.pdp-gallery { display: grid; grid-template-columns: 78px 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 22px); }
.pdp-thumbs { display: flex; flex-direction: column; gap: 10px; }
.pdp-thumbs button {
  aspect-ratio: 3/4; border: 1px solid var(--line); overflow: hidden;
  transition: border-color .2s var(--ease); padding: 0;
}
.pdp-thumbs button.active { border-color: var(--plum); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-stage {
  position: relative; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 3/4; background: var(--cream-dark); cursor: zoom-in;
}
.pdp-stage img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s var(--ease);
}
.pdp-stage.zoomed img { transform: scale(2); }
.pdp-zoom-hint {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  background: rgba(255,255,255,.9); padding: 6px 12px;
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--body);
}

.pdp-info .pdp-code { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-600); }
.pdp-info h1 { font-size: clamp(26px, 3.4vw, 36px); margin: 8px 0 12px; color: var(--ink); }
.pdp-price { font-size: 24px; font-weight: 500; color: var(--plum); font-family: var(--font-display); }
.pdp-tax { font-size: 12px; color: var(--muted); margin-top: 4px; }
.pdp-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 22px; }
.pdp-specs .badge { background: var(--cream); color: var(--body); border: 1px solid var(--line); }
.pdp-buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.pdp-buy .btn { flex: 1; min-width: 150px; }
.pdp-note { font-size: 12.5px; color: var(--muted); margin-bottom: 24px; }
.pdp-soldout-box {
  border: 1px solid var(--line); background: var(--cream);
  padding: 18px 20px; margin-bottom: 22px;
}
.pdp-soldout-box h4 { font-family: var(--font-sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.pdp-soldout-box p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

.spec-list { border-top: 1px solid var(--line); }
.spec-block { border-bottom: 1px solid var(--line); padding: 16px 0; }
.spec-block h4 {
  font-family: var(--font-sans); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 9px;
}
.spec-block dl { display: grid; grid-template-columns: 132px 1fr; gap: 6px 14px; font-size: 13.5px; }
.spec-block dt { color: var(--muted); }
.spec-block dd { color: var(--body); }

.pdp-trust { display: grid; gap: 12px; margin-top: 22px; }
.pdp-trust div { display: flex; gap: 11px; font-size: 13px; align-items: flex-start; }
.pdp-trust i { color: var(--gold-600); margin-top: 3px; }

.tabs { max-width: var(--wrap-narrow); margin: 66px auto 0; padding-inline: 24px; }
.tabs-nav { display: flex; gap: 30px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs-nav button {
  position: relative; padding: 0 0 13px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .17em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.tabs-nav button::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px;
  background: var(--plum); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.tabs-nav button.active { color: var(--plum); }
.tabs-nav button.active::after { transform: scaleX(1); }
.tab-panel { display: none; padding-top: 26px; font-size: 14.5px; }
.tab-panel.active { display: block; }
.tab-panel h3 { font-size: 20px; color: var(--plum); margin-bottom: 12px; }
.tab-panel p { margin-bottom: 14px; }
.tab-panel ul { display: grid; gap: 9px; }
.tab-panel ul li { position: relative; padding-left: 18px; }
.tab-panel ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg);
}

/* 9. CART DRAWER + TOAST ================================================= */
.cart-panel {
  position: fixed; top: 0; right: 0; z-index: 1600;
  width: min(94vw, 420px); height: 100%;
  background: #fff; display: flex; flex-direction: column;
  transform: translateX(102%);
  transition: transform .34s var(--ease);
  box-shadow: var(--shadow-lg);
}
.cart-panel.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 18px; border-bottom: 1px solid var(--line);
}
.cart-head h2 { font-size: 20px; color: var(--plum); }
.cart-head .cart-close { font-size: 22px; color: var(--muted); width: 34px; height: 34px; }
.cart-head .cart-close:hover { color: var(--ink); }
.cart-list { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-row { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.cart-row:last-child { border-bottom: 0; margin-bottom: 0; }
.cart-row img { width: 74px; aspect-ratio: 3/4; object-fit: cover; }
.cart-row .cart-code { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }
.cart-row .cart-name { font-family: var(--font-display); font-size: 15px; color: var(--ink); margin: 2px 0 4px; }
.cart-row .cart-price { font-size: 13.5px; color: var(--plum); font-weight: 500; }
.cart-row-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; gap: 10px; }
.cart-row-foot .qty-box button { width: 30px; height: 30px; font-size: 14px; }
.cart-row-foot .qty-box input { width: 34px; height: 30px; font-size: 13px; }
.cart-remove { font-size: 11.5px; color: var(--muted); border-bottom: 1px solid currentColor; }
.cart-remove:hover { color: var(--danger); }
.cart-empty { text-align: center; padding: 56px 10px; }
.cart-empty i { font-size: 26px; color: var(--gold); margin-bottom: 14px; }
.cart-empty p { color: var(--muted); margin-bottom: 20px; font-size: 14px; }
.cart-foot { border-top: 1px solid var(--line); padding: 18px 24px 24px; background: var(--cream); }
.sum-row { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 8px; }
.sum-row.free { color: var(--success); }
.sum-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 12px 0 8px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 19px; font-weight: 500; color: var(--plum); font-family: var(--font-display);
}
.cart-progress { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.cart-progress b { color: var(--plum); }
.cart-foot .btn + .btn { margin-top: 9px; }

.toast-stack {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 2200; display: flex; flex-direction: column; gap: 10px; align-items: center;
  pointer-events: none; width: max-content; max-width: 92vw;
}
.toast {
  display: flex; align-items: center; gap: 11px;
  background: var(--plum); color: #fff;
  padding: 13px 20px; font-size: 13.5px;
  box-shadow: var(--shadow-lg);
  animation: toastIn .3s var(--ease);
}
.toast i { color: var(--gold); }
.toast.leaving { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 880;
  width: 56px; height: 56px; border-radius: 50%;
  background: #1FA855; color: #fff; font-size: 27px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(31,168,85,.36);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }

/* 10. CHECKOUT ========================================================== */
.checkout { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 100vh; }
.checkout-main { padding: 40px clamp(24px, 5vw, 64px) 60px; }
.checkout-side {
  background: var(--cream); border-left: 1px solid var(--line);
  padding: 40px clamp(24px, 5vw, 56px) 60px;
}
.checkout-brand { display: inline-block; margin-bottom: 28px; }
.checkout-brand .brand-name { color: var(--plum); font-size: 26px; }
.checkout-brand .brand-tag { color: var(--gold-600); }
.checkout-step {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 30px 0 14px;
}
.checkout-step:first-of-type { margin-top: 0; }
.checkout-step h2 { font-size: 20px; color: var(--ink); }
.checkout-step .step-note { font-size: 12.5px; color: var(--muted); }
.pay-list { border: 1px solid var(--line); background: #fff; }
.pay-opt { display: block; padding: 15px 18px; border-bottom: 1px solid var(--line); cursor: pointer; }
.pay-opt:last-child { border-bottom: 0; }
.pay-opt.active { background: var(--cream); }
.pay-opt-head { display: flex; align-items: center; gap: 11px; }
.pay-opt input { width: 16px; height: 16px; accent-color: var(--plum); flex: none; }
.pay-opt-title { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.pay-opt-desc { display: none; padding: 10px 0 0 27px; font-size: 12.5px; color: var(--muted); }
.pay-opt.active .pay-opt-desc { display: block; }
.secure-note { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.secure-note i { color: var(--success); margin-top: 3px; }

.oc-item { display: grid; grid-template-columns: 66px 1fr auto; gap: 14px; align-items: center; margin-bottom: 18px; }
.oc-thumb { position: relative; }
.oc-thumb img { width: 66px; aspect-ratio: 3/4; object-fit: cover; border: 1px solid var(--line); }
.oc-qty {
  position: absolute; top: -8px; right: -8px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--plum); color: #fff;
  font-size: 11px; display: flex; align-items: center; justify-content: center;
}
.oc-name { display: block; font-family: var(--font-display); font-size: 15px; color: var(--ink); line-height: 1.35; }
.oc-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.oc-price { font-size: 14px; font-weight: 500; color: var(--ink); }
.oc-divider { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.promo { display: flex; gap: 10px; }
.promo input { flex: 1; }
.promo button { padding: 0 20px; background: var(--line); color: var(--body); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.promo button:hover { background: var(--plum); color: #fff; }

.order-done { max-width: 620px; margin: 0 auto; text-align: center; padding: 70px 24px 90px; }
.order-done .tick {
  width: 66px; height: 66px; border-radius: 50%; background: rgba(47,125,93,.12);
  color: var(--success); font-size: 27px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.order-done h1 { font-size: 34px; color: var(--plum); margin-bottom: 12px; }
.order-done .order-id {
  display: inline-block; margin: 8px 0 20px; padding: 9px 18px;
  background: var(--cream); border: 1px dashed var(--gold);
  font-size: 13px; letter-spacing: .1em;
}
.order-done .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* 11. EDITORIAL ========================================================= */
.prose { font-size: 15.5px; color: var(--body); }
.prose h2 { font-size: 25px; color: var(--plum); margin: 34px 0 12px; }
.prose h3 { font-size: 19px; color: var(--ink); margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 19px; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg);
}
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 26px; counter-increment: n; }
.prose ol li::before {
  content: counter(n) "."; position: absolute; left: 0; top: 0;
  color: var(--gold-600); font-weight: 500;
}
.prose a { color: var(--plum); border-bottom: 1px solid var(--gold); }
.prose a:hover { background: var(--cream); }
.prose blockquote {
  border-left: 2px solid var(--gold); padding: 6px 0 6px 20px;
  margin: 22px 0; font-family: var(--font-display); font-size: 19px; color: var(--plum);
}
.prose figure { margin: 28px 0; }
.prose figure img { width: 100%; }
.prose figcaption { margin-top: 9px; font-size: 12.5px; color: var(--muted); text-align: center; }
.prose .lead { font-size: 17px; color: var(--ink); }

.card-panel {
  background: #fff; border: 1px solid var(--line);
  padding: clamp(26px, 4vw, 48px);
}

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-tile { border: 1px solid var(--line); padding: 26px 24px; background: #fff; }
.info-tile i { font-size: 19px; color: var(--gold-600); margin-bottom: 13px; }
.info-tile h3 { font-size: 18px; margin-bottom: 7px; color: var(--plum); }
.info-tile p { font-size: 13.5px; color: var(--muted); }
.info-tile a { color: var(--plum); border-bottom: 1px solid var(--gold); font-size: 13.5px; }

.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; padding: 20px 2px; text-align: left;
  font-family: var(--font-display); font-size: 18px; color: var(--ink);
}
.acc-q:hover { color: var(--plum); }
.acc-q i { font-size: 12px; color: var(--gold-600); transition: transform .28s var(--ease); flex: none; }
.acc-item.open .acc-q i { transform: rotate(180deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .32s var(--ease); }
.acc-a-inner { padding: 0 2px 22px; font-size: 14.5px; color: var(--body); max-width: 68ch; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-media { aspect-ratio: 16/10; overflow: hidden; background: var(--cream-dark); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-date { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px; }
.post-body h3 { font-size: 20px; margin-bottom: 10px; line-height: 1.28; }
.post-body p { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; flex: 1; }
.post-more { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--plum); display: inline-flex; gap: 8px; align-items: center; }
.post-card:hover .post-more { gap: 13px; }

.article-head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.article-head h1 { font-size: clamp(28px, 4.4vw, 44px); color: var(--plum); margin: 12px 0 14px; }
.article-head .article-meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.article-body { max-width: 720px; margin-inline: auto; }
.article-nav {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 44px; padding-top: 26px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.article-nav a { color: var(--plum); }
.article-nav a:hover { color: var(--gold-600); }

.newsletter { background: var(--plum); color: #fff; padding: 66px 24px; }
.newsletter-inner {
  max-width: 1000px; margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.newsletter h2 { font-size: clamp(28px, 3.6vw, 40px); color: #fff; font-style: italic; font-weight: 400; }
.newsletter .eyebrow { color: var(--gold); display: block; margin-bottom: 12px; }
.newsletter p { color: rgba(255,255,255,.78); font-size: 14px; margin-bottom: 18px; }
.newsletter form { display: flex; border: 1px solid rgba(255,255,255,.3); }
.newsletter input {
  flex: 1; background: transparent; border: 0; color: #fff; padding: 15px 16px; font-size: 14px;
}
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter input:focus { box-shadow: none; }
.newsletter button {
  padding: 0 26px; background: #fff; color: var(--plum);
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  transition: background .25s var(--ease);
}
.newsletter button:hover { background: var(--gold); }

/* 12. FOOTER ============================================================ */
.footer { background: var(--plum); color: rgba(255,255,255,.8); padding: 66px 24px 26px; }
.footer-inner { max-width: var(--wrap); margin-inline: auto; }
.footer-cols {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.13);
}
.footer-brand .brand-name { color: #fff; font-size: 24px; }
.footer-brand .brand-tag { color: var(--gold); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.66); margin: 16px 0 18px; max-width: 300px; }
.footer h4 {
  font-family: var(--font-sans); font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.76); transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 11px; font-size: 13.5px; margin-bottom: 12px; color: rgba(255,255,255,.76); }
.footer-contact i { color: var(--gold); margin-top: 4px; font-size: 13px; }
.footer-contact a:hover { color: var(--gold); }
.footer-socials { display: flex; gap: 11px; margin-top: 16px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.09); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.footer-socials a:hover { background: var(--gold); color: var(--plum); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding-top: 22px; font-size: 12px; color: rgba(255,255,255,.55);
}
.footer-bottom a:hover { color: var(--gold); }
.footer-pay { display: flex; gap: 14px; align-items: center; font-size: 12px; }

/* 13. RESPONSIVE ======================================================== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 34px; }
  .search-inline input { width: 128px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav, .search-inline { display: none; }
  .burger { display: flex; }
  .header-left, .header-right { flex: 1; }
  .brand-name { font-size: 22px; letter-spacing: .24em; }
  .brand-tag { font-size: 7px; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-card { height: 340px; }
  .usp { grid-template-columns: 1fr 1fr; }
  .usp-item:nth-child(2n) { border-right: 0; }
  .usp-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 300px; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .checkout { grid-template-columns: 1fr; }
  .checkout-side { border-left: 0; border-bottom: 1px solid var(--line); order: -1; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 24px; }
  .section { padding-block: 54px; }
}

@media (max-width: 760px) {
  /* The header row (burger + wide-tracked brand + 3 icon buttons) needed 457px
     of min-content, which forced a sideways scroll on every phone. Tighten the
     padding, gap and tracking so the row fits inside a 320px viewport. */
  .header-inner { padding: 0 14px; gap: 8px; }
  .header-left, .header-right { gap: 2px; }
  .brand-name { font-size: 18px; letter-spacing: .16em; padding-left: .16em; }
  .brand-tag { font-size: 6.5px; letter-spacing: .22em; }
  .icon-btn { width: 38px; }
  .burger { width: 38px; }
}

/* Below this the WhatsApp icon is redundant — the floating button covers it. */
@media (max-width: 430px) {
  .header-right .icon-btn[aria-label="Chat on WhatsApp"] { display: none; }
  .brand-name { font-size: 17px; letter-spacing: .12em; padding-left: .12em; }
}

@media (max-width: 700px) {
  body { font-size: 14.5px; }
  .announce { gap: 10px; }
  .announce-socials, .announce-meta { display: none; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .card-quick { display: none; }
  .card-title { font-size: 15px; }
  .card-price { font-size: 14px; }
  .blog-grid { grid-template-columns: 1fr; }
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-thumbs { flex-direction: row; order: 2; }
  .pdp-thumbs button { width: 68px; flex: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .spec-block dl { grid-template-columns: 1fr; gap: 2px 0; }
  .spec-block dt { margin-top: 7px; font-size: 12px; }
  .footer-cols { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .tabs-nav { gap: 20px; }
  .wa-float { width: 50px; height: 50px; font-size: 24px; bottom: 18px; right: 18px; }
  .toast-stack { bottom: 84px; }
  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .catalog-filters { justify-content: flex-start; }
  .catalog-filters select { flex: 1; min-width: 0; }
  .order-done { padding-top: 48px; }
}

@media print {
  .header, .announce, .footer, .wa-float, .cart-panel, .drawer, .btn { display: none !important; }
  body { color: #000; }
}
/* Product page: poori tasveer dikhe (crop na ho) */
.pdp-stage img { object-fit: contain; }
.pdp-thumbs img { object-fit: contain; background: var(--cream-dark); }
