/* ============================================================
   THE DESI CURVE — Luxury Sustainable Ethnicwear
   Palette derived from brand logo
   ============================================================ */

:root {
  /* Brand kit: fuchsia · terracotta · forest green · muted gold · natural beige · charcoal */
  --green: #1e4b33;
  --green-deep: #163826;
  --green-soft: #2c5f42;
  --red: #c2185b;          /* fuchsia — primary brand accent */
  --red-deep: #9c1149;
  --terracotta: #bd5a32;
  --gold: #b3893d;
  --gold-soft: #cfa95e;
  --cream: #f3ebdb;        /* natural beige */
  --cream-2: #ebdfc9;
  --ivory: #faf6ec;
  --ink: #29231e;          /* charcoal */
  --ink-soft: #5d5248;
  --line: #e0d4bd;
  --pink-soft: #e878a8;    /* fuchsia tint for dark surfaces */
  --rani-deep: #7e0f41;    /* deep rani — dark section surface */
  --rani-ink: #480a26;     /* darkest rani — footer surface */
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --shadow: 0 18px 50px -22px rgba(41, 35, 30, 0.38);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.serif { font-family: var(--serif); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
}

/* One headline per section — no eyebrow, no sub-paragraph. */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  color: var(--green-deep);
}
/* hairline flourish under the headline */
.section-head h2::after {
  content: "";
  display: block;
  width: 52px; height: 1px;
  margin: 18px auto 0;
  background: var(--gold);
}
.section-head p { color: var(--ink-soft); font-size: 1.02rem; margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary { background: var(--green); color: var(--ivory); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { border: 1px solid var(--green); color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--ivory); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-wa { background: #25d366; color: #fff; justify-content: center; }
.btn-wa:hover { background: #1da851; }
.btn-wa svg { width: 18px; height: 18px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.header.scrolled { box-shadow: 0 10px 30px -20px rgba(0,0,0,0.4); }

/* Shell: brand left · categories centre · utilities right (client reference layout) */
.nav-shell {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  height: 78px;
  transition: height 0.4s var(--ease);
}
.header.scrolled .nav-shell { height: 62px; }

/* ---------- Brand lockup ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  height: 44px; width: auto;
  object-fit: contain;
  transition: height 0.4s var(--ease);
}
.brand-mark--word { height: 52px; }
.header.scrolled .brand-mark { height: 36px; }
.header.scrolled .brand-mark--word { height: 44px; }
.brand-type { display: flex; flex-direction: column; line-height: 1; }
.bt-the {
  font-size: 9px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 4px;
}
.bt-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 25px;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
  transition: font-size 0.4s var(--ease);
}
.bt-name b { color: var(--red); font-weight: 600; }
.header.scrolled .bt-name { font-size: 21px; }

/* ---------- Centre category menu ---------- */
.nav-menu { display: flex; justify-content: center; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 13px;
  font-size: 12.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 2px;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-item:hover .nav-link { color: var(--red); }
.nav-item:hover .nav-link::after { transform: scaleX(1); }
.nl-chev { width: 11px; height: 11px; transition: transform 0.3s var(--ease); }
.nav-item:hover .nl-chev { transform: rotate(180deg); }

/* ---------- Dropdown ---------- */
.nav-drop {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 292px;
  padding-top: 12px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 130;
}
.nav-item:hover .nav-drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop ul {
  list-style: none;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 10px;
  position: relative;
}
.nav-drop ul::before {
  content: ""; position: absolute; top: -6px; left: 50%; margin-left: -6px;
  width: 11px; height: 11px; background: var(--ivory);
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.nav-drop li a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px;
  border-radius: 5px;
  transition: background 0.25s, padding-left 0.25s;
}
.nav-drop li a:hover { background: var(--cream-2); padding-left: 19px; }
.nd-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.nav-drop li a:hover .nd-label { color: var(--green-deep); }
.nd-note {
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); opacity: 0.75;
}
.nd-soon {
  font-style: normal;
  font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  color: var(--red);
  background: rgba(194,24,91,0.1);
  padding: 2px 6px; border-radius: 3px;
}

/* ---------- Utility bar ---------- */
.nav-actions { display: flex; align-items: center; gap: 4px; justify-content: flex-end; }

/* ---------- Expanding search ---------- */
.search-bar {
  max-height: 0;
  overflow: hidden;
  background: var(--cream);
  border-top: 1px solid transparent;
  transition: max-height 0.45s var(--ease), border-color 0.45s;
}
.search-bar.open { max-height: 120px; border-top-color: var(--line); }
.search-form {
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 20px 30px;
}
.search-form > svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.search-form input {
  flex: 1;
  background: none; border: none;
  border-bottom: 1.5px solid var(--line);
  padding: 8px 2px;
  font-family: var(--serif); font-size: 1.35rem; color: var(--ink);
}
.search-form input:focus { outline: none; border-bottom-color: var(--red); }
.search-form input::placeholder { color: var(--ink-soft); opacity: 0.6; }
.search-close { font-size: 26px; line-height: 1; color: var(--ink-soft); padding: 0 4px; }
.search-close:hover { color: var(--red); }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--green-deep);
  transition: background 0.3s, color 0.3s;
  position: relative;
}
.icon-btn:hover { background: var(--cream-2); color: var(--red); }
.icon-btn svg { width: 21px; height: 21px; }

.cart-count {
  position: absolute;
  top: 2px; right: 0;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  min-width: 17px; height: 17px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--sans);
  transform: scale(0);
  transition: transform 0.3s var(--ease);
}
.cart-count.show { transform: scale(1); }

/* ---------- Region indicator (detected, display only — not a picker) ---------- */
.region-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  cursor: default;
  user-select: none;
}
.rb-flag { width: 19px; height: 13px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.1); display: block; }
.rb-code { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--green-deep); }

/* ---------- Burger + mobile drawer ---------- */
.burger { display: none; flex-direction: column; gap: 5px; width: 24px; padding: 4px 0; }
.burger span { height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: 0.35s var(--ease); }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mnav-scrim {
  position: fixed; inset: 0;
  background: rgba(72,10,38,0.5);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: 0.4s var(--ease);
  z-index: 210;
}
.mnav-scrim.open { opacity: 1; visibility: visible; }

.mobile-nav {
  position: fixed; top: 0; left: 0;
  width: 340px; max-width: 88vw; height: 100%;
  background: var(--ivory);
  z-index: 211;
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease);
  display: flex; flex-direction: column;
}
.mobile-nav.open { transform: translateX(0); }
.mnav-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.mnav-close { font-size: 30px; line-height: 1; color: var(--ink); }
.mnav-list { flex: 1; overflow-y: auto; padding: 8px 0; }
.mnav-single, .mnav-head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 16px 22px;
  font-size: 13px; letter-spacing: 0.11em; text-transform: uppercase;
  font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.mnav-ico { font-size: 20px; color: var(--red); transition: transform 0.3s var(--ease); }
.mnav-group.open .mnav-ico { transform: rotate(45deg); }
.mnav-body { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); background: var(--cream); }
.mnav-group.open .mnav-body { max-height: 320px; }
.mnav-body a {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 34px;
  font-size: 14px; color: var(--ink-soft);
  border-bottom: 1px solid rgba(224,212,189,0.6);
}
.mnav-body a:hover { color: var(--red); }
.mnav-foot { padding: 20px 22px 26px; border-top: 1px solid var(--line); background: var(--cream); }
.mnav-wa {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25d366; color: #fff;
  padding: 13px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
}
.mnav-wa svg { width: 19px; height: 19px; }
.mnav-foot p { font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: 12px; }

/* ============================================================
   HERO CAROUSEL  (inset premium banner, 90px radius)
   ============================================================ */
.hero-wrap { position: relative; padding: 24px 30px 10px; background: var(--cream); }
.hero-carousel {
  position: relative;
  width: 100%;
  /* The narrower of the two banner artworks. Anything wider would slice the
     headline off the top and bottom, so the frame follows the art, not the art
     the frame. */
  aspect-ratio: 1983 / 793;
  max-height: 660px;
  border-radius: 34px;
  overflow: hidden;
  background: var(--green-deep);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.hc-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hc-link { display: block; width: 100%; height: 100%; }
.hc-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.hc-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22,25,20,0.55) 0%, rgba(22,25,20,0.12) 34%, transparent 60%);
  pointer-events: none;
}
.hc-caption {
  position: absolute;
  left: 64px; bottom: 44px;
  z-index: 2;
  max-width: 520px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.hc-caption .eyebrow { color: var(--gold-soft); }
.hc-title {
  font-family: var(--serif);
  color: var(--ivory);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  line-height: 1.06;
  text-shadow: 0 2px 22px rgba(0,0,0,0.35);
}
.hc-caption .btn { padding: 12px 26px; }


/* Sits in .hero-wrap, not in the carousel, so it can drop below the artwork on
   a phone instead of floating over a 150px-tall creative. */
.hc-dots {
  position: absolute;
  right: 48px; bottom: 50px;
  z-index: 3;
  display: flex; gap: 8px;
}
.hc-dot {
  width: 9px; height: 9px;
  border-radius: 20px;
  background: rgba(250,246,236,0.45);
  transition: all 0.4s var(--ease);
}
.hc-dot.active { width: 30px; background: var(--gold-soft); }

/* ============================================================
   SHOP BY CATEGORY
   ============================================================ */
.categories { padding: 96px 0 92px; background: var(--ivory); }
/* Horizontal rail — three tiles in view, the rest swipe in */
.cat-slider { position: relative; }
.cat-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 22px) / 3);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.cat-track::-webkit-scrollbar { display: none; }

.cat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--green-deep);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: background 0.3s, color 0.3s, opacity 0.3s, transform 0.3s var(--ease);
}
.cat-arrow:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-50%) scale(1.08); }
.cat-arrow svg { width: 20px; height: 20px; }
.cat-arrow[disabled] { opacity: 0; pointer-events: none; }
.cat-prev { left: -22px; }
.cat-next { right: -22px; }

.cat-card {
  position: relative;
  display: block;
  scroll-snap-align: start;
  /* Close to the 2:3 shoot, so a tile trims a sliver rather than a third. */
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  background: var(--green-deep);
  isolation: isolate;
}
.cat-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.cat-card:hover .cat-img { transform: scale(1.03); }

/* woven placeholder for categories still awaiting the shoot */
.cat-placeholder {
  position: absolute; inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M92 176C52 158 28 116 40 76 50 42 84 18 118 27 152 36 170 72 157 105 148 128 126 141 108 134 92 128 84 110 93 96 100 85 114 82 121 91' fill='none' stroke='%23cfa95e' stroke-width='3.4' stroke-linecap='round' opacity='0.4'/%3E%3C/svg%3E")
      center 40% / 42% auto no-repeat,
    repeating-linear-gradient(45deg, rgba(205,171,107,0.12) 0 2px, transparent 2px 11px),
    repeating-linear-gradient(-45deg, rgba(205,171,107,0.09) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, var(--green) 0%, var(--green-deep) 55%, var(--rani-ink) 100%);
}
.cat-card.is-soon .cat-scrim {
  background: linear-gradient(to top, rgba(22,56,38,0.92) 0%, rgba(22,56,38,0.3) 42%, transparent 72%);
}
.cat-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22,56,38,0.9) 0%, rgba(22,56,38,0.42) 38%, rgba(22,56,38,0.06) 70%);
  transition: opacity 0.5s var(--ease);
}
.cat-card:hover .cat-scrim { opacity: 0.86; }

.cat-flag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(250,246,236,0.92);
  color: var(--rani-deep);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  padding: 6px 11px; border-radius: 3px;
}

.cat-meta {
  position: absolute; left: 22px; right: 22px; bottom: 22px;
  display: flex; flex-direction: column; gap: 5px;
}
.cat-name {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.1;
}
.cat-desc {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-soft);
}
.cat-card::after {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid rgba(205,171,107,0.55);
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.cat-card:hover::after { opacity: 1; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { padding: 96px 0; background: var(--cream); }

.cat-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -20px 0 44px;
}
.cat-filter-btn {
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.cat-filter-btn:hover { color: var(--red); border-color: var(--red); }
.cat-filter-btn.is-active { color: #fff; background: var(--red); border-color: var(--red); }
.cat-filter-empty { text-align: center; color: var(--ink-soft); padding: 20px 0 4px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.card {
  background: var(--ivory);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card-media {
  position: relative;
  display: block;
  /* The shoot is 2:3 head to hem. Any other frame crops the garment. */
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--cream-2);
}
.card-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.45s var(--ease);
}
/* No hover zoom on the cover — the flip-through below is the hover affordance,
   and scaling it only pushed the hem out of frame. */

/* Hover flip-through. Until the extra frames exist the cover is simply visible;
   once they do, `.is-flip` hands control to whichever frame carries `.is-on`. */
.card-media .ci-main { z-index: 1; }
.card-media .ci-frame { opacity: 0; }
.card-media img.is-on { opacity: 1; z-index: 2; }
.card-media.is-flip .ci-main { opacity: 0; }
.card-media.is-flip .ci-main.is-on { opacity: 1; }

.ci-bars {
  position: absolute;
  left: 12px; right: 12px; top: 10px;
  z-index: 4;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.card:hover .ci-bars { opacity: 1; }
.ci-bars i {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: rgba(251, 248, 242, 0.45);
  transition: background 0.3s;
}
.ci-bars i.on { background: var(--ivory); }
/* how many shots are waiting on the detail page */
.card-shots {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 3;
  background: rgba(251,248,242,0.92);
  color: var(--rani-deep);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  padding: 6px 12px; border-radius: 30px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s var(--ease);
  pointer-events: none;
}
.card:hover .card-shots { opacity: 1; transform: translateY(0); }

.badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--rani-deep);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 2px;
  z-index: 3;
}
.badge-disc { top: 14px; left: auto; right: 14px; background: var(--red); }
.card .badge-disc { top: 44px; left: 14px; right: auto; }
.card-actions { padding: 0 16px; margin-top: -22px; position: relative; z-index: 4; }
.add-cart {
  width: 100%;
  background: var(--green);
  color: var(--ivory);
  padding: 13px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  border-radius: 3px;
  box-shadow: var(--shadow);
  transition: all 0.4s var(--ease);
}
/* Reveal-on-hover only where there is a pointer to hover with. On a phone the
   button never got its hover, so it stayed invisible while still taking taps. */
@media (hover: hover) {
  .add-cart { transform: translateY(14px); opacity: 0; }
  .card:hover .add-cart { transform: translateY(0); opacity: 1; }
}
.add-cart:hover { background: var(--rani-deep); }

.card-body { padding: 18px 18px 22px; text-align: center; }
.card-cat { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.card-title {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 10px;
  line-height: 1.18;
  /* two lines' worth, so every card's price row sits on the same baseline */
  min-height: calc(2 * 1.18em);
  display: flex; align-items: center; justify-content: center;
}
.card-title a { transition: color 0.3s; }
.card-title a:hover { color: var(--red); }
.card-price { display: flex; gap: 10px; justify-content: center; align-items: baseline; }
.price-now { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.price-was { font-size: 0.9rem; color: var(--ink-soft); text-decoration: line-through; }
.card-foot { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 11px; }
.card-swatch { width: 13px; height: 13px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,0.12), inset 0 0 0 2px var(--ivory); }
.card-colour { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }

.products-cta { text-align: center; margin-top: 52px; }

/* ============================================================
   SEE IT MOVE — vertical shoot films
   ============================================================ */
.films { padding: 92px 0 100px; background: var(--ivory); }
.film-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.film-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  overflow: hidden;
  background: var(--green-deep);
}
.film-video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}
.film-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(250, 246, 236, 0.9);
  color: var(--rani-deep);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.6);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), background 0.3s;
}
.film-play svg { width: 24px; height: 24px; margin-left: 3px; }
.film-play:hover { background: #fff; transform: translate(-50%, -50%) scale(1.08); }
.film.is-playing .film-play { opacity: 0; pointer-events: none; }
.film-frame:hover .film-play,
.film.is-playing .film-frame:hover .film-play { opacity: 1; pointer-events: auto; }
.film.is-playing .film-play svg { display: none; }
.film.is-playing .film-play::before {
  content: "";
  width: 16px; height: 16px;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
}

.film figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 15px;
  text-align: center;
}
.film figcaption a {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.2;
  transition: color 0.3s;
}
.film figcaption a:hover { color: var(--red); }
.film figcaption span { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- Stock states ---------- */
.card.is-sold-out .ci-main, .card.is-sold-out .ci-frame { filter: grayscale(0.75) opacity(0.68); }
.sold-out-tag {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  background: rgba(250,246,236,0.94); color: var(--rani-deep);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  padding: 9px 20px; border-radius: 3px;
  box-shadow: var(--shadow); z-index: 3; pointer-events: none;
}
.add-cart.is-disabled {
  background: var(--cream-2); color: var(--ink-soft);
  cursor: not-allowed; opacity: 1;
}
.add-cart.is-disabled:hover { background: var(--cream-2); color: var(--ink-soft); }
.stock-nudge {
  margin-top: 9px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  color: var(--terracotta);
}

.pdp-stock {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
  margin: 4px 0 2px;
}
.pdp-stock.ok  { color: var(--green); }
.pdp-stock.low { color: var(--terracotta); }
.pdp-stock.out { color: var(--red); }
.btn.is-disabled { background: var(--cream-2); color: var(--ink-soft); cursor: not-allowed; }
.btn.is-disabled:hover { background: var(--cream-2); color: var(--ink-soft); transform: none; box-shadow: none; }

/* ============================================================
   PRODUCT DETAIL PAGE (PDP)
   ============================================================ */
.pdp { padding: 30px 0 90px; background: var(--cream); min-height: 70vh; }
.breadcrumb {
  font-size: 12px; letter-spacing: 0.06em; color: var(--ink-soft);
  margin-bottom: 30px; display: flex; gap: 8px; flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--line); }
.breadcrumb .cur { color: var(--ink); }

.pdp-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }

/* ---------- Gallery: the whole shoot, lead frame wide, the rest two-up ---------- */
.pdp-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
/* The shoot is 2:3 throughout, so the frames match it and nothing gets cropped. */
.pdp-shot {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream-2);
}
.pdp-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.9s var(--ease);
}
.pdp-shot:hover img { transform: scale(1.03); }
.pdp-shot .badge-disc { top: 12px; right: 12px; }

/* The film is shot 9:16, so its frame is too — no letterboxing, no outsized tile. */
.pdp-shot.is-film { aspect-ratio: 9 / 16; background: #000; }
.pdp-shot.is-film video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Full-screen viewer ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(18, 16, 14, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 48px 72px;
}
.lightbox[hidden] { display: none; }
.lb-img {
  /* Percentages resolved against an auto-sized box and never constrained the
     image, so a 1400x2100 shot opened at full size and you saw only a crop of
     it, with no way to scroll. Viewport units are always definite. */
  max-width: calc(100vw - 144px);
  max-height: calc(100vh - 96px);
  max-height: calc(100dvh - 96px);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 6px;
}
.lb-close {
  position: absolute; top: 18px; right: 24px;
  width: 44px; height: 44px;
  font-size: 30px; line-height: 1;
  color: var(--cream);
  border-radius: 50%;
  transition: background 0.3s;
}
.lb-close:hover { background: rgba(255,255,255,0.12); }
.lb-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  color: var(--cream);
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: background 0.3s;
}
.lb-nav:hover { background: rgba(255,255,255,0.25); }
.lb-nav svg { width: 22px; height: 22px; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-count {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  font-size: 12px; letter-spacing: 0.2em;
}

/* Info — the gallery is the tall column, so the buy panel is the one that sticks */
.pdp-info { position: sticky; top: 98px; }
.pdp-cat { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.pdp-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--green-deep); line-height: 1.05; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; }
.pdp-price .price-now { font-size: 1.7rem; font-weight: 600; color: var(--rani-deep); }
.pdp-price .price-was { font-size: 1.1rem; }
.pdp-price .price-save { font-size: 12px; font-weight: 600; color: var(--red); background: rgba(194,24,91,0.08); padding: 4px 10px; border-radius: 20px; letter-spacing: 0.04em; }
.pdp-tax-note { font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
.pdp-desc { color: var(--ink-soft); margin: 22px 0; line-height: 1.7; }

.pdp-row { display: flex; align-items: center; gap: 16px; margin: 18px 0; flex-wrap: wrap; }
.pdp-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); font-weight: 500; min-width: 92px; }
.pdp-colour { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.pdp-colour .dot { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,0.15), inset 0 0 0 2px var(--ivory); }
.pdp-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size-chip {
  min-width: 46px; padding: 9px 14px;
  border: 1.5px solid var(--line); border-radius: 4px;
  font-size: 13px; color: var(--ink); background: var(--ivory);
  transition: all 0.25s;
}
.size-chip:hover { border-color: var(--gold); }
.size-chip.active { border-color: var(--rani-deep); background: var(--rani-deep); color: var(--ivory); }

.pdp-buy { display: flex; align-items: center; gap: 12px; margin: 26px 0 20px; flex-wrap: wrap; }
.pdp-qty { border: 1.5px solid var(--line); border-radius: 4px; }
.pdp-qty button { width: 42px; height: 48px; font-size: 20px; color: var(--green); }
.pdp-qty span { width: 40px; text-align: center; font-size: 15px; display: inline-block; }
.pdp-buy .btn-primary { flex: 1; min-width: 180px; height: 48px; justify-content: center; }
.pdp-ask {
  width: 48px; height: 48px; border: 1.5px solid var(--line); border-radius: 4px;
  display: grid; place-items: center; color: #25d366; transition: 0.3s;
}
.pdp-ask svg { width: 22px; height: 22px; }
.pdp-ask:hover { background: #25d366; border-color: #25d366; color: #fff; }

.pdp-trust { display: flex; gap: 22px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-soft); }
.trust-item svg { width: 18px; height: 18px; color: var(--green); }

.pdp-spec { padding: 20px 0 0; }
.pdp-spec h3 {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; color: var(--green-deep); margin-bottom: 9px;
}
.pdp-spec p { color: var(--ink-soft); font-size: 13.5px; line-height: 1.75; }

.pdp-filmnote {
  display: flex; align-items: center; gap: 9px;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; letter-spacing: 0.04em; color: var(--ink-soft);
}
.pdp-filmnote svg { width: 15px; height: 15px; color: var(--red); flex-shrink: 0; }

/* Long-form detail band under the grid */
.pdp-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 72px;
  padding: 44px 0 0;
  border-top: 1px solid var(--line);
}
.pdp-notes h3 {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; color: var(--green-deep); margin-bottom: 14px;
}
.pdp-notes p { color: var(--ink-soft); font-size: 14px; line-height: 1.75; margin-bottom: 10px; }
.pdp-notes a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.note-wa { display: inline-block; margin-top: 4px; font-weight: 500; }

.pdp-related { margin-top: 90px; }
.pdp-related .section-head { margin-bottom: 40px; }

@media (max-width: 900px) {
  /* buy panel first, then the shoot — sticky makes no sense once stacked */
  .pdp-grid { grid-template-columns: 1fr; gap: 34px; }
  .pdp-info { position: static; order: -1; }
  .pdp-notes { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; padding-top: 32px; }
  .pdp-related { margin-top: 60px; }
}
@media (max-width: 560px) {
  .pdp-gallery { gap: 10px; }
  .lightbox { padding: 60px 12px; }
  .lb-img {
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
  }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  color: var(--green-deep);
  margin-bottom: 22px;
}

/* shared two-column block: copy on one side, picture on the other */
.ab-split {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 64px;
  align-items: center;
}
/* the heritage side is a pair of frames, so it earns a little more room */
.ab-split.is-reverse { grid-template-columns: 1.1fr 1fr; gap: 56px; }

.ab-copy p { color: var(--ink-soft); line-height: 1.8; margin-bottom: 16px; }
.ab-copy p strong { color: var(--ink); font-weight: 500; }
.ab-lede {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.55 !important;
  color: var(--ink) !important;
  font-style: italic;
  margin-bottom: 22px !important;
}
.ab-sign {
  margin-top: 26px !important;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase;
  font-weight: 600; color: var(--gold) !important;
}

.ab-figure { position: relative; }
.ab-figure img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}
.ab-figure.ab-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ab-figure.ab-pair img { aspect-ratio: 2 / 3; }
.ab-figure.ab-pair img:first-child { margin-top: 36px; }

.ab-hero { padding: 72px 0 96px; background: var(--ivory); }

.ab-heritage { padding: 96px 0; background: var(--cream); }
.ab-crafts {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin: 22px 0 24px;
}
.ab-crafts li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink);
}
.ab-crafts li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 7px; height: 1px;
  background: var(--gold);
}

/* ---------- What we make ---------- */
.ab-make { padding: 96px 0; background: var(--ivory); }
.ab-intro {
  max-width: 740px;
  margin: -16px auto 52px;
  text-align: center;
  color: var(--ink-soft);
  line-height: 1.8;
}
.ab-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ab-card {
  position: relative;
  padding: 34px 28px 30px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.ab-card:hover { border-color: var(--gold-soft); transform: translateY(-5px); }
.ab-num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold-soft);
  line-height: 1;
}
.ab-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green-deep);
  margin: 10px 0 14px;
}
.ab-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.75; margin-bottom: 12px; }
.ab-note {
  font-size: 13px !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft) !important;
}
.ab-link {
  display: inline-block;
  margin-top: 2px; padding: 9px 0;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  color: var(--red);
  transition: gap 0.3s;
}
.ab-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.ab-collections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.ab-collections h4 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 12px;
}
.ab-collections p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.78; margin-bottom: 12px; }
.ab-collections em { color: var(--ink); }

/* ---------- Social purpose ---------- */
.ab-purpose {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--rani-deep) 0%, var(--rani-ink) 72%);
  color: var(--cream);
}
.ab-purpose-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.ab-purpose h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.08;
  color: var(--ivory);
  margin-bottom: 24px;
}
.ab-purpose p { color: rgba(243, 235, 219, 0.82); line-height: 1.8; margin-bottom: 16px; }

.ab-principles {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 26px;
  margin: 30px 0;
  text-align: left;
}
.ab-principles li {
  position: relative;
  padding: 11px 0 11px 26px;
  font-size: 14px;
  color: var(--ivory);
  border-bottom: 1px solid rgba(207, 169, 94, 0.22);
}
.ab-principles li::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 11px; height: 1px;
  background: var(--gold-soft);
}
.ab-promise {
  margin: 30px 0 30px !important;
  padding-top: 24px;
  border-top: 1px solid rgba(207, 169, 94, 0.3);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
  color: var(--ivory) !important;
}

@media (max-width: 900px) {
  .ab-split, .ab-split.is-reverse { grid-template-columns: 1fr; gap: 36px; }
  .ab-split.is-reverse .ab-figure { order: 0; }
  .ab-hero { padding: 48px 0 64px; }
  .ab-heritage, .ab-make, .ab-purpose { padding: 64px 0; }
  .ab-cards { grid-template-columns: 1fr; gap: 18px; }
  .ab-collections { grid-template-columns: 1fr; gap: 32px; margin-top: 44px; padding-top: 36px; }
  .ab-intro { margin-bottom: 36px; }
}
@media (max-width: 560px) {
  .ab-crafts, .ab-principles { grid-template-columns: 1fr; }
  .ab-figure.ab-pair img:first-child { margin-top: 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--rani-ink); color: var(--cream); }

/* ---------- Newsletter band ---------- */
.foot-news {
  background: linear-gradient(120deg, var(--rani-deep) 0%, var(--rani-ink) 70%);
  border-bottom: 1px solid rgba(205,171,107,0.2);
  position: relative;
  overflow: hidden;
}
.foot-news::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(205,171,107,0.09) 1px, transparent 0);
  background-size: 24px 24px;
}
.newsletter {
  position: relative;
  padding-top: 52px; padding-bottom: 52px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.newsletter h3 { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; color: var(--ivory); }
.newsletter p { color: rgba(246,240,231,0.7); margin-top: 6px; }
.news-contact {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; padding: 10px 0;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500;
  color: var(--gold-soft);
  transition: color 0.3s;
}
.news-contact:hover { color: var(--ivory); }
.news-form { display: flex; gap: 10px; }
.news-form input {
  flex: 1; padding: 15px 18px;
  background: rgba(251,248,242,0.08);
  border: 1px solid rgba(205,171,107,0.32);
  border-radius: 2px;
  color: var(--ivory);
  font-family: var(--sans); font-size: 14px;
}
.news-form input::placeholder { color: rgba(246,240,231,0.5); }
.news-form input:focus { outline: none; border-color: var(--gold-soft); background: rgba(251,248,242,0.12); }

/* ---------- Link columns ---------- */
.foot-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr 1fr 1.05fr 1.3fr;
  gap: 40px;
  padding: 62px 0 54px;
}
.foot-col h4 {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 20px;
}
.foot-col ul { list-style: none; }
.foot-col ul li { margin-bottom: 12px; }
.foot-col ul li a { color: rgba(246,240,231,0.72); font-size: 14px; transition: 0.3s; }
.foot-col ul li a:hover { color: var(--gold-soft); padding-left: 4px; }

.foot-lockup { margin-bottom: 16px; }
.foot-lockup .bt-the { color: var(--gold-soft); }
.foot-lockup .bt-name { color: var(--ivory); font-size: 28px; }
.foot-lockup .bt-name b { color: var(--pink-soft); }
.foot-blurb { color: rgba(246,240,231,0.66); font-size: 14px; max-width: 330px; margin-bottom: 26px; }

.foot-contact { list-style: none; margin-bottom: 4px; }
.foot-contact li { display: flex; flex-direction: column; gap: 2px; margin-bottom: 13px; }
.foot-contact li span {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(246,240,231,0.42);
}
.foot-contact li a { color: rgba(246,240,231,0.86); font-size: 14px; transition: color 0.3s; }
.foot-contact li a:hover { color: var(--gold-soft); }

.socials { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(205,171,107,0.3);
  display: grid; place-items: center; color: var(--cream);
  transition: 0.3s;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--rani-ink); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Registered office ---------- */
.foot-office address {
  font-style: normal;
  font-size: 13.5px; line-height: 1.75;
  color: rgba(246,240,231,0.72);
  margin-bottom: 18px;
}
.foot-grievance { display: flex; flex-direction: column; gap: 3px; margin-bottom: 22px; }
.foot-grievance span {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(246,240,231,0.42);
}
.foot-grievance a { font-size: 13.5px; color: rgba(246,240,231,0.86); }
.foot-grievance a:hover { color: var(--gold-soft); }

/* ---------- Policy / disclaimer strip (client mandated) ---------- */
.policy-strip {
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(205,171,107,0.18);
  padding: 30px 0;
}
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.policy-item { display: flex; gap: 14px; align-items: flex-start; }
.policy-item .pi-icon { color: var(--gold-soft); flex-shrink: 0; margin-top: 2px; }
.policy-item .pi-icon svg { width: 22px; height: 22px; }
.policy-item h5 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ivory); margin-bottom: 4px; }
.policy-item p { font-size: 12.5px; color: rgba(246,240,231,0.6); line-height: 1.5; }
.policy-item p a { color: var(--gold-soft); text-decoration: underline; }

/* ---------- Bottom bar ---------- */
.foot-bottom {
  border-top: 1px solid rgba(205,171,107,0.18);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: rgba(246,240,231,0.55);
  flex-wrap: wrap; gap: 16px;
}
.foot-bottom a { color: rgba(246,240,231,0.7); }
.foot-bottom a:hover { color: var(--gold-soft); }
.pay-row { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; }
.pay {
  border: 1px solid rgba(205,171,107,0.3);
  border-radius: 3px;
  padding: 5px 9px;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  color: rgba(246,240,231,0.7);
  background: rgba(251,248,242,0.05);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON  (number configured in data/products.php)
   ============================================================ */
.wa-fab {
  position: fixed;
  /* Sits above .scroll-top in one aligned stack — same right edge, fixed gap. */
  right: 24px; bottom: 90px;
  z-index: 150;
  display: inline-flex; align-items: center; gap: 0;
  height: 52px; padding: 0 15px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.65);
  transition: gap 0.4s var(--ease), padding 0.4s var(--ease), transform 0.3s var(--ease);
}
.wa-fab svg { width: 26px; height: 26px; flex-shrink: 0; }
.wa-label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: 13px; font-weight: 500; letter-spacing: 0.03em;
  transition: max-width 0.45s var(--ease);
}
.wa-fab:hover { gap: 9px; padding-right: 20px; transform: translateY(-2px); }
.wa-fab:hover .wa-label { max-width: 160px; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.overlay {
  position: fixed; inset: 0;
  background: rgba(72,10,38,0.5);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: 0.4s var(--ease);
  z-index: 200;
}
.overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed; top: 0; right: 0;
  width: 420px; max-width: 92vw; height: 100%;
  background: var(--ivory);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
}
.cart-top h3 { font-family: var(--serif); font-size: 1.7rem; color: var(--green-deep); font-weight: 600; }
.cart-close { font-size: 26px; color: var(--ink); line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 10px 26px; }
.cart-empty { text-align: center; padding: 80px 20px; color: var(--ink-soft); }
.cart-empty svg { width: 54px; height: 54px; stroke: var(--line); margin-bottom: 16px; }

.cart-item { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 78px; height: 117px; object-fit: cover; border-radius: 3px; }
.ci-info { flex: 1; }
.ci-info h4 { font-family: var(--serif); font-size: 1.15rem; color: var(--green-deep); font-weight: 600; }
.ci-info .ci-cat { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.ci-price { font-weight: 600; color: var(--ink); margin-top: 4px; }
.ci-controls { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 3px; }
.qty button { width: 28px; height: 28px; color: var(--green); font-size: 16px; display: grid; place-items: center; }
.qty span { width: 30px; text-align: center; font-size: 14px; }
.ci-remove { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin-left: auto; }

.cart-foot { border-top: 1px solid var(--line); padding: 22px 26px; background: var(--cream); }
.cart-sub { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 14px; color: var(--ink-soft); }
.cart-total { display: flex; justify-content: space-between; margin: 12px 0 16px; }
.cart-total span:first-child { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--green-deep); }
.cart-total span:last-child { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--red); }
.cart-foot .btn { width: 100%; justify-content: center; }
.cart-note { font-size: 11px; color: var(--ink-soft); text-align: center; margin-top: 12px; }

/* Toast */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(140px);
  background: var(--green-deep); color: var(--ivory);
  padding: 14px 26px; border-radius: 4px;
  font-size: 13px; letter-spacing: 0.04em;
  z-index: 300; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px;
  transition: transform 0.5s var(--ease);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: var(--gold-soft); }

/* Reveal animation base */
/* Content is visible by default and only hidden once GSAP has actually loaded,
   so a blocked CDN can never leave the page blank. */
html.tdc-anim .reveal { opacity: 0; transform: translateY(40px); }

/* ============================================================
   BRAND ENTRY — paisley draw + drape reveal
   ============================================================ */
.preloader { position: fixed; inset: 0; z-index: 999; }
html.no-preloader .preloader { display: none; }
/* Failsafe: if GSAP is slow or blocked, the curtain lifts anyway instead of
   leaving the shopper on a blank screen. */
.preloader { animation: pre-failsafe 0.4s ease 5s forwards; }
@keyframes pre-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.pre-half {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background: var(--cream);
}
.pre-half.l { left: 0; }
.pre-half.r { right: 0; }
.pre-inner {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; text-align: center; padding: 0 24px;
}
.pre-logo { width: min(320px, 62vw); height: auto; }
.pre-tag {
  font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--ink-soft); padding-left: 0.4em;
}
.pre-line {
  width: 140px; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform-origin: center;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--red);
  color: var(--ivory);
  display: grid; place-items: center;
  z-index: 150;
  box-shadow: 0 10px 26px -8px rgba(194, 24, 91, 0.55);
  opacity: 0; visibility: hidden;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, background 0.3s;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.scroll-top:hover { background: var(--terracotta); }
.scroll-top svg { width: 20px; height: 20px; transition: transform 0.3s var(--ease); }
.scroll-top:hover svg { transform: translateY(-2px); }

@media (max-width: 768px) {
  .scroll-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  .nav-shell { padding: 0 20px; gap: 18px; }
}
/* Below this the Shop menu moves into the drawer */
@media (max-width: 820px) {
  /* swap the 3-column grid for a flex row: burger · brand · utilities */
  .nav-shell { display: flex; align-items: center; gap: 12px; }
  .nav-menu { display: none; }
  .burger { display: flex; flex-shrink: 0; }
  .brand { margin-right: auto; }
  .nav-actions { margin-left: auto; flex-shrink: 0; }
}
@media (max-width: 1340px) {
  .cat-prev { left: 8px; }
  .cat-next { right: 8px; }
}
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .film-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-track { grid-auto-columns: calc((100% - 18px) / 2); gap: 18px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
  .foot-office { grid-column: span 2; }
  .newsletter { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 768px) {
  .nav-shell { height: 66px; }
  .header.scrolled .nav-shell { height: 58px; }
  .bt-name { font-size: 20px; }
  .header.scrolled .bt-name { font-size: 18px; }
  .brand-mark { height: 34px; }
  .brand-mark--word { height: 40px; }
  .nav-actions { gap: 0; }
  .icon-btn { width: 36px; height: 36px; }
  .icon-btn svg { width: 19px; height: 19px; }
  .region-badge { margin-left: 6px; padding: 6px 8px; gap: 5px; }
  .rb-code { font-size: 10.5px; }
  .search-form { padding: 16px 20px; }
  .search-form input { font-size: 1.1rem; }
  /* Edge to edge: a 2.5:1 creative is short on a phone, so give it every pixel
     of width there is. Keep its own shape — a 4:3 crop ate the headline. */
  .hero-wrap { padding: 0 0 4px; }
  .hero-carousel { border-radius: 0; aspect-ratio: 1983 / 793; max-height: none; }
  /* Below the artwork and centred — cream dots were invisible on cream art. */
  .hc-dots { position: static; justify-content: center; padding: 14px 0 4px; }
  .hc-dot { background: rgba(72, 10, 38, 0.22); }
  .hc-dot.active { background: var(--rani-deep); }
  .hc-caption { left: 26px; bottom: 24px; right: 26px; gap: 8px; }
  /* one-and-a-bit tiles in view so the swipe is discoverable */
  .cat-track { grid-auto-columns: 78%; gap: 14px; }
  .cat-card { aspect-ratio: 3 / 4; }
  .cat-arrow { display: none; }
  .policy-grid { grid-template-columns: 1fr; gap: 18px; }
  .foot-grid { grid-template-columns: 1fr; gap: 34px; padding: 46px 0 40px; }
  .foot-office { grid-column: auto; }
  .foot-bottom { justify-content: center; text-align: center; }
  .products, .categories, .films { padding: 64px 0; }
  .film-grid { gap: 14px; }
  .film figcaption { margin-top: 10px; }
  .film figcaption a { font-size: 0.98rem; }
  /* One aligned stack, same right edge, 14px between them. */
  .wa-fab { right: 14px; bottom: 74px; height: 48px; padding: 0 12px; }
  .wa-fab svg { width: 24px; height: 24px; }
  .scroll-top { right: 14px; bottom: 14px; }

  /* Touch targets. Everything tappable gets to ~44px without the artwork
     growing — the padding does the work, not the icon. */
  /* Phone widths are touch in practice — keep the buy button on screen. */
  .add-cart { transform: none; opacity: 1; }

  .burger { width: 44px; height: 44px; padding: 11px 10px; justify-content: center; }
  .icon-btn { width: 42px; height: 42px; }
  .search-close { min-width: 44px; height: 44px; }
    .size-chip { min-height: 44px; min-width: 48px; }
  .qty button { width: 40px; height: 40px; font-size: 18px; }
  .qty span { width: 34px; }
  .scroll-top { width: 44px; height: 44px; }
  .foot-links a, .foot-col a { display: inline-block; padding: 9px 0; }
  .note-wa { display: inline-block; padding: 8px 0; }
  /* Titles are secondary to the card's big image link, but still worth a
     comfortable tap. Links sitting inside a sentence are left alone — padding
     them would break the line they belong to. */
  .card-title a { display: block; width: 100%; padding: 7px 0; }
  .film figcaption a { display: inline-block; padding: 9px 0; }
  .pdp-notes p a { display: inline-block; padding: 8px 0; }
}
@media (max-width: 560px) {
  /* keep the utility row to search · cart · region on small screens */
  .nav-actions .icon-btn[aria-label="WhatsApp"] { display: none; }
  .nav-shell { padding: 0 16px; gap: 8px; }
}
@media (max-width: 520px) {
  /* Two across, the way every Indian fashion catalogue does it. One per row
     made each card ~720px tall and the grid nearly 3000px of scrolling. */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px 10px 16px; }
  .card-cat { font-size: 9.5px; letter-spacing: 0.14em; margin-bottom: 5px; }
  .card-title { font-size: 1.02rem; margin-bottom: 7px; }
  .price-now { font-size: 0.95rem; }
  .price-was { font-size: 0.82rem; }
  .card-foot { gap: 6px; margin-top: 8px; }
  .card-colour { font-size: 9.5px; letter-spacing: 0.08em; }
  .card-swatch { width: 11px; height: 11px; }
  .card-actions { padding: 0 10px; }
  .add-cart { font-size: 11px; letter-spacing: 0.1em; }
  /* no room for "13 photos · video" beside a 170px cover */
  .card-shots { display: none; }

  .cat-meta { left: 18px; right: 18px; bottom: 18px; }
  .cat-desc { font-size: 10.5px; letter-spacing: 0.1em; }
  .container { padding: 0 20px; }
  .news-form { flex-direction: column; }
  .news-form .btn { justify-content: center; }
}
