/* ============================================================
   SUVINAY CREATIONS — STYLESHEET
   Table of contents:
     1. Custom properties / palette
     2. Reset & base
     3. Layout helpers
     4. Header & nav
     5. Buttons
     6. Hero
     7. Sections (intro, featured, about, contact)
     8. Product cards & grid
     9. Forms & contact
     9b. Reviews, feedback, studio stats
     10. Footer
     11. Cart
     12. Responsive
   ============================================================ */

/* -------------------- 1. Custom properties -------------------- */
:root {
  /* Brand palette v2 — dark/contemporary iteration. Same underlying hue
     family as the original visiting-card artwork (pink → coral → gold),
     re-balanced so bright pink is now the PRIMARY accent against a warm
     dark-plum ground instead of deep mauve on cream. This is still the
     single source of truth for brand colour. */
  --brand-primary: #ff4fa0;        /* bright brand pink — primary CTAs,
                                       active states, focus rings, links */
  --brand-primary-dark: #e0327f;   /* hover/pressed state for primary pink */
  --brand-secondary: #ff2f84;      /* saturated pink — badges, cart badge */
  --brand-accent: #ff9d78;         /* coral */
  --brand-peach: #ffcf9e;          /* warm peach — gradient midpoint */
  --brand-gold: #ffd97a;           /* soft golden yellow — gradient end */
  --brand-blush: #ffcfe3;          /* luminous light pink/blush — signature
                                       hero heading treatment */
  --brand-deep: #3a1826;           /* deep plum — text-on-pink, headings
                                       set against light gradient bands */

  /* Dark warm-plum surface system — never pure black. Each step is a touch
     lighter/warmer than the last: page → section → card → elevated panel. */
  --bg-primary: #230f19;           /* page background */
  --bg-secondary: #2b1420;         /* section alternation */
  --surface-card: #331828;         /* product cards, value cards, chips */
  --surface-elevated: #3c1e2e;     /* header, cart drawer, raised controls */
  --surface-elevated-2: #482538;   /* hover state of elevated surfaces */
  --border-soft: #55293f;          /* subtle warm borders on dark surfaces */

  --text-primary: #fbeee7;         /* warm off-white body text */
  --text-secondary: #f3d3e2;       /* soft blush — supporting headings */
  --text-muted: #b98aa1;           /* desaturated blush/mauve — meta text */

  /* Subtle pink → coral → gold gradient, used selectively (hero glow,
     promo CTA band, page-hero strips) — never behind dense product text. */
  --gradient-brand: linear-gradient(120deg, var(--brand-primary) 0%, var(--brand-accent) 55%, var(--brand-gold) 100%);

  /* Legacy aliases — the rest of this stylesheet was built against these
     names. Aliasing them to the tokens above re-themes every existing rule
     for the dark iteration without having to touch each selector. */
  --terracotta: var(--brand-primary);
  --terracotta-dark: var(--brand-primary-dark);
  --terracotta-light: var(--brand-accent);
  --soft-red: #ff6b6b;             /* distinct warning red — kept apart from
                                       brand pink so "unavailable" etc. never
                                       reads as a pink CTA */
  --cream: var(--bg-primary);
  --cream-dark: var(--bg-secondary);
  --cream-darker: var(--border-soft);
  --brown-text: var(--text-primary);
  --brown-dark: var(--text-primary);
  --white: #fff8f6;                /* near-white — text on saturated pink,
                                       never used as a large flat surface */
  --surface-warm: var(--bg-primary);
  --surface-warm-deep: var(--bg-secondary);
  --surface-blush: rgba(255, 143, 190, 0.1);
  --surface-light: var(--surface-elevated);

  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(10, 3, 7, 0.28);
  --shadow-md: 0 8px 26px rgba(10, 3, 7, 0.36);
  --shadow-lg: 0 18px 44px rgba(10, 3, 7, 0.48);

  --max-width: 1180px;

  /* Sticky header's rendered height — used to pull the full-screen hero
     up underneath it (see .hero-full) so header + hero together fill
     exactly one viewport instead of the hero being pushed below the
     fold by the header's own layout space. Kept as a token since it's
     referenced from more than one place. */
  --header-height: 78px;
}

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

/* -------------------- 2. Reset & base -------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--brown-text);
  background-color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

/* Accessibility utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  background: var(--terracotta-dark);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
.chip:focus-visible,
.gallery-thumb:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--brown-dark);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { color: var(--brown-text); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--brand-primary);
  margin-bottom: 0.75rem;
}

/* -------------------- 3. Layout helpers -------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.75rem;
}

.section-header p {
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

.section-header-sm {
  margin-bottom: 1.75rem;
}

.text-center { text-align: center; }

/* -------------------- 4. Header & nav -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(35, 15, 25, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  z-index: 110;
  pointer-events: none;
}

.scroll-progress-fill {
  height: 100%;
  width: 100%;
  background: var(--brand-primary);
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 10px rgba(255, 79, 160, 0.45);
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-progress-fill {
    transition: transform 80ms linear;
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}

/* Groups the cart button with the mobile hamburger so both stay visible
   at every width, independent of the collapsible nav-links menu. */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-blush);
}

/* The actual Suvinay Creations logo mark (from the visiting card).
   Sized to sit comfortably in the nav without dominating it; aspect
   ratio and artwork are never altered — a soft blush glow (not a filter
   on the artwork itself) keeps its fine plum linework legible against
   the new dark ground. */
.brand-logo {
  height: 42px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(255, 207, 227, 0.45));
}

.footer-brand .brand-logo {
  height: 52px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--brown-text);
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--brand-primary);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -------------------- 5. Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--terracotta);
}

.btn-outline:hover {
  background: var(--terracotta);
  color: var(--white);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp:hover {
  background: #1ebe5b;
  box-shadow: var(--shadow-md);
}

.icon-whatsapp {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.icon-share,
.icon-search {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-disabled {
  background: var(--cream-darker);
  color: var(--brown-text);
  opacity: 0.75;
  cursor: default;
}

.btn-disabled:hover {
  transform: none;
}

/* Used on the light pink/peach/gold gradient bands (CTA band, custom-order
   band) — dark plum on a light background rather than white-on-dark. */
.btn-outline-invert {
  background: rgba(255, 255, 255, 0.55);
  color: var(--brand-deep);
  border-color: var(--brand-deep);
}

.btn-outline-invert:hover {
  background: #fffaf8;
  border-color: var(--brand-primary);
}

/* Floating WhatsApp button — mobile only, injected by js/main.js */
.floating-whatsapp {
  display: none;
  position: fixed;
  bottom: 1.1rem;
  right: 1.1rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.06);
}

/* Faded out (not display:none, so it re-appears smoothly) whenever the
   page's own CTAs — which already offer direct WhatsApp/cart access —
   are on screen. See the IntersectionObserver in js/main.js. */
.floating-whatsapp.is-hidden {
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}

.floating-whatsapp .icon-whatsapp {
  width: 26px;
  height: 26px;
}

/* -------------------- 6. Hero -------------------- */
/* Full-viewport campaign hero: looping crochet film + brand lockup +
   a slow lookbook of real pieces. Uses svh where supported so mobile
   browser chrome doesn't clip the scene; vh is the fallback. */
.hero-full {
  position: relative;
  /* Pulled up underneath the sticky header (which sits on top of it,
     semi-transparent + blurred) so the header's own layout height
     doesn't push the hero below one full viewport. */
  margin-top: calc(-1 * var(--header-height));
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-atelier-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-atelier-film,
.hero-atelier-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-atelier-film img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease;
}

.hero-atelier-film img.is-active {
  opacity: 1;
  animation: hero-film-ken 18s ease-in-out infinite alternate;
}

@keyframes hero-film-ken {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.16) translate(-2.4%, 1.8%); }
}

.hero-atelier-video {
  z-index: 1;
  object-fit: cover;
  object-position: 68% 38%;
  opacity: 0;
  filter: saturate(0.92) contrast(1.06) brightness(0.78);
  transform: scale(1.06);
}

.hero-atelier.has-video .hero-atelier-video {
  opacity: 1;
}

.hero-atelier.has-video.is-playing .hero-atelier-video {
  animation: hero-video-drift 28s ease-in-out infinite alternate;
}

.hero-atelier.has-video .hero-atelier-film {
  opacity: 0;
}

@keyframes hero-video-drift {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.14) translate(-1.8%, 1.2%); }
}

.hero-atelier-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(22, 8, 14, 0.58) 0%, rgba(22, 8, 14, 0.28) 40%, rgba(22, 8, 14, 0.08) 68%, rgba(22, 8, 14, 0.34) 100%),
    linear-gradient(180deg, rgba(22, 8, 14, 0.28) 0%, transparent 30%, rgba(22, 8, 14, 0.46) 100%);
}

.hero-atelier-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Editorial product filmstrip — rounded rectangles, not bubbles.
   Duplicated lookbook-set in the markup makes the CSS loop seamless. */
.hero-lookbook {
  position: absolute;
  z-index: 4;
  top: 10%;
  right: 3.5%;
  bottom: 10%;
  width: clamp(148px, 17vw, 210px);
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.hero-lookbook-track {
  display: flex;
  flex-direction: column;
  animation: hero-lookbook-rise 22s linear infinite;
}

.hero-lookbook-set {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  padding-bottom: 1.05rem;
}

.hero-lookbook-card {
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-card);
  box-shadow: 0 0 0 1px rgba(255, 207, 227, 0.42), var(--shadow-lg);
}

.hero-lookbook-card:nth-child(odd) {
  transform: rotate(-1.6deg);
}

.hero-lookbook-card:nth-child(even) {
  transform: rotate(1.8deg);
}

.hero-lookbook-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes hero-lookbook-rise {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.hero-full-inner {
  position: relative;
  z-index: 6;
  width: 100%;
  padding-top: var(--header-height);
  padding-bottom: 4.5rem;
}

.hero-eyebrow {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brand-blush);
}

.hero-yarn-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.45rem;
  max-width: 36rem;
}

.hero-yarn-content > * {
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-yarn-content .hero-eyebrow { animation-delay: 0.05s; }
.hero-yarn-content h1 { animation-delay: 0.15s; }
.hero-yarn-content .hero-byline { animation-delay: 0.28s; }
.hero-yarn-content .hero-tagline { animation-delay: 0.4s; }
.hero-yarn-content .hero-actions { animation-delay: 0.55s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Wordmark uses the same blush/pink as the header brand, not gold —
   yellow is only a visiting-card gradient end, not a UI colour. */
.hero-full h1 {
  display: flex;
  flex-direction: column;
  color: var(--brand-blush);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.94;
  text-shadow: 0 2px 28px rgba(10, 3, 7, 0.55);
}

.hero-full h1 span {
  color: var(--brand-primary);
}

.hero-full .hero-byline {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

.hero-full .hero-tagline {
  font-size: clamp(0.98rem, 1.6vw, 1.15rem);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 26rem;
  margin-top: 0.15rem;
}

.hero-full .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-start;
  margin-top: 1.15rem;
}

.hero-btn {
  min-width: 13.25rem;
  padding: 1.05rem 1.7rem;
  border-width: 1.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-btn-solid {
  background: var(--brand-primary);
  color: var(--white);
  border-color: var(--brand-primary);
  box-shadow: 0 12px 28px rgba(10, 3, 7, 0.28);
}

.hero-btn-solid:hover {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  color: var(--white);
}

.hero-btn-ghost {
  background: var(--brand-blush);
  color: var(--brand-deep);
  border-color: var(--brand-blush);
}

.hero-btn-ghost:hover {
  background: #ffe4f0;
  color: var(--brand-deep);
  border-color: #ffe4f0;
}

.hero-film-controls {
  position: absolute;
  z-index: 8;
  left: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  width: max-content;
  max-width: calc(100% - 2rem);
}

.hero-motion-toggle {
  appearance: none;
  border: 1px solid rgba(255, 207, 227, 0.45);
  background: rgba(22, 8, 14, 0.55);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-motion-toggle:hover,
.hero-motion-toggle:focus-visible {
  color: var(--brand-blush);
  border-color: var(--brand-blush);
}

/* Minimal scroll cue, bottom-center. */
.hero-scroll-cue {
  position: absolute;
  z-index: 6;
  bottom: clamp(1rem, 3vw, 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.hero-scroll-cue:hover {
  opacity: 1;
}

.hero-scroll-cue svg {
  width: 16px;
  height: 16px;
  animation: hero-scroll-cue-bob 2.2s ease-in-out infinite;
}

@keyframes hero-scroll-cue-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue svg {
    animation: none;
  }

  .hero-lookbook-track {
    animation: hero-lookbook-rise 22s linear infinite !important;
  }

  .hero-atelier.has-video.is-playing .hero-atelier-video {
    animation: hero-video-drift 28s ease-in-out infinite alternate !important;
  }

  .hero-atelier-film img.is-active {
    animation: hero-film-ken 18s ease-in-out infinite alternate !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 860px) {
  .hero-lookbook-track {
    animation: hero-lookbook-drift 22s linear infinite !important;
  }
}

/* Hero → intro-strip yarn seam: background matches the intro strip so
   the band reads as an extension of it, with the thread stitched
   across the top edge of that surface. See css/yarn.css for the
   reusable .yarn-seam/.yarn-path system itself. */
.hero-yarn-seam {
  background: var(--bg-secondary);
}

@media (min-width: 861px) {
  .hero-atelier .hero-full-inner {
    padding-right: clamp(13rem, 26vw, 20rem);
  }
}

/* Short brand intro strip, sits right under the hero */
.intro-strip {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-soft);
  padding-block: 1.75rem;
}

.intro-strip p {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Sample data notice */
.sample-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.sample-banner code {
  background: var(--surface-elevated);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85em;
}

/* -------------------- 7. Sections -------------------- */
.intro-section {
  background: var(--bg-secondary);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--cream-dark), var(--terracotta-light));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The founder portrait is a full-length vertical photo; bias the crop
     upward in this wide 4:3 frame so her face stays in view. */
  object-position: 50% 15%;
}

.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
}

.placeholder-icon {
  font-size: 2.4rem;
}

.placeholder-text {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.intro-content h2 {
  margin-bottom: 1rem;
}

.intro-content p + p {
  margin-top: 0.9rem;
}

.stats-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--brown-text);
}

.featured-section {
  background: var(--cream);
}

.cta-band {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  color: var(--brand-deep);
  margin-top: 2rem;
}

.cta-band h2 {
  color: var(--brand-deep);
}

.cta-band p {
  color: var(--brand-deep);
  opacity: 0.85;
  max-width: 520px;
  margin: 0.75rem auto 1.75rem;
}

/* Dark-plum button on the bright gradient band reads clearly instead of
   blending into the pink end of the gradient. */
.cta-band .btn-primary {
  background: var(--brand-deep);
  color: #fff8f6;
}

.cta-band .btn-primary:hover {
  background: #2b1019;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Custom Orders section */
.custom-order-section {
  background: var(--gradient-brand);
}

.custom-order-inner {
  text-align: center;
  max-width: 640px;
}

.custom-order-inner p {
  margin: 0.75rem auto 1.75rem;
  font-size: 1.05rem;
}

.custom-order-note {
  font-size: 0.9rem;
  margin-top: 1.25rem;
  color: var(--text-secondary);
}

.custom-order-note a {
  color: var(--brand-blush);
  font-weight: 700;
  text-decoration: underline;
}

.custom-order-note a:hover,
.custom-order-note a:focus-visible {
  color: var(--brand-primary);
}

/* Page header for inner pages — same dark atmospheric glow as the
   homepage hero (not the bright flat gradient) so the plain off-white
   heading text underneath stays comfortably readable. */
.page-hero {
  background:
    radial-gradient(ellipse 720px 420px at 15% 0%, rgba(255, 79, 160, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 640px 400px at 90% 10%, rgba(255, 217, 122, 0.2) 0%, transparent 58%),
    var(--bg-primary);
  padding-block: clamp(1.35rem, 3vw, 2rem) clamp(0.5rem, 1.4vw, 0.9rem);
  text-align: center;
}

.page-hero p {
  max-width: 560px;
  margin: 0.55rem auto 0;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.page-hero + .section {
  padding-top: clamp(1rem, 2.4vw, 1.6rem);
}

/* About page */
.story-section {
  background: var(--bg-secondary);
}

/* One beat of the story — a two-column image+text row (.story-grid), a
   timeline, a pull-quote, or a gallery all share this wrapper purely for
   consistent vertical rhythm between chapters, independent of which kind
   of content a given chapter is. */
.story-chapter {
  margin-bottom: 4.5rem;
}

.story-chapter:last-child {
  margin-bottom: 0;
}

.story-chapter-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-grid.reverse .story-media {
  order: 2;
}

.story-media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--terracotta-light), var(--cream-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-text h2 {
  margin-bottom: 1rem;
}

.story-text p + p {
  margin-top: 0.9rem;
}

/* Opening statement under the page hero — larger and softer than body
   copy, but still a sentence, not a slogan. */
.story-lede {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* A quiet visual marker of where the story sits in time — handcrafted
   and editorial rather than a literal corporate progress bar. Row on
   desktop, a left-aligned rail on narrow screens (see responsive). */
.story-timeline {
  display: flex;
  position: relative;
  justify-content: space-between;
  gap: 0.5rem;
  max-width: 1040px;
  margin: 3rem auto 4.5rem;
  padding: 0 0.5rem;
}

.story-timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent), var(--brand-gold));
  opacity: 0.5;
}

.timeline-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--bg-primary);
  flex-shrink: 0;
}

.timeline-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
}

/* The ₹200 moment and similar beats — a pull-quote rather than another
   image+text row, so the rhythm of the page breaks here on purpose. */
.story-quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.story-quote-mark {
  display: block;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--brand-primary);
  opacity: 0.4;
  margin-bottom: -0.4rem;
}

.story-quote blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--brand-blush);
  line-height: 1.45;
  margin: 0;
}

.story-quote-caption {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Chapter 5's product-range gallery — reuses .story-media's rounded
   treatment as a grid of tiles instead of one large image. auto-fit
   collapses to exactly as many even columns as there are photos (rather
   than a fixed 4-up grid with an empty gap), and wraps naturally on
   narrow screens once a tile would drop below ~170px. */
.story-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.story-gallery-grid .story-media {
  aspect-ratio: 1 / 1;
}

/* A warm, circular founder portrait — deliberately not another
   rectangular .story-grid row, so it reads as an intimate introduction
   rather than another "beat" in the chapter rhythm. */
.story-founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  max-width: 260px;
  margin: 2rem auto 3rem;
  text-align: center;
}

.story-founder-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 207, 227, 0.32);
  box-shadow: var(--shadow-lg);
}

.story-founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}

.story-founder figcaption {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* A slot for the short muted looping process video mentioned in the
   content brief — same visual language as .story-media until a real
   <video> element replaces the placeholder. */
.story-media.is-video {
  aspect-ratio: 16 / 9;
  margin-bottom: 1.75rem;
}

/* Chapters that are a single column (5 and 7) rather than a two-column
   .story-grid — a chapter-label + h2 + one paragraph, full width. */
.story-chapter > h2 {
  margin-bottom: 1rem;
}

.story-text-standalone {
  max-width: 760px;
}

.story-chapter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* The page's final connecting line, after the last chapter. */
.story-closing {
  margin-top: 4.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
  margin-top: 2rem;
  max-width: 920px;
  margin-inline: auto;
}

.value-card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.6rem 1.6rem;
  text-align: left;
  box-shadow: none;
}

.value-index {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--brand-blush);
  margin-bottom: 0.85rem;
}

.value-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Explore Collection — category cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 1.5rem 1rem;
  background: var(--surface-card);
  border: 1px solid var(--cream-darker);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-image {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-dark), var(--terracotta-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-image.no-image .placeholder-icon {
  font-size: 1.6rem;
}

.category-image.no-image .placeholder-text {
  display: none;
}

.category-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--brown-dark);
}

.category-count {
  font-size: 0.8rem;
  color: var(--brand-primary);
  font-weight: 700;
}

/* -------------------- 8. Product cards & grid -------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--surface-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-darker);
  display: flex;
  flex-direction: column;
  /* Soft-out easing (no overshoot) — a tactile lift, not a bounce. */
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 79, 160, 0.16);
}

.product-image-link {
  display: block;
}

.product-image {
  aspect-ratio: 1 / 1;
  background: var(--cream-dark);
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.045);
}

/* Depth cue on hover — a faint bottom vignette that deepens, so the
   photo feels like it lifts off the card surface rather than just
   scaling flat. Never obscures the product itself. */
.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 8, 14, 0) 55%, rgba(20, 8, 14, 0.32) 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

.product-image.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream-dark), var(--terracotta-light));
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.product-badge-new {
  background: var(--terracotta);
  color: var(--white);
}

.product-badge-bestseller {
  background: var(--brown-dark);
  color: var(--cream);
}

.product-badge-unavailable {
  background: var(--cream);
  color: var(--brown-text);
  border: 1px solid var(--cream-darker);
}

.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
}

/* Compact category badge — long branded category names (e.g. "👜 Handbag
   Elegance & Purses") are shortened via JS for card display (full name is
   preserved in the underlying data/breadcrumbs); this stays a single tidy
   line even if a long label slips through. */
.product-category {
  display: inline-block;
  align-self: flex-start;
  max-width: 100%;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 111, 178, 0.14);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--brand-blush);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-name {
  position: relative;
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
  padding-bottom: 0.65rem;
}

.product-name a:hover {
  color: var(--brand-primary);
}

/* Yarn-inspired reveal — a slender gold thread that draws itself in
   under the product name on hover, ending in a small elegant curl.
   SVG pathLength="1" normalises the path so a single
   stroke-dasharray/dashoffset value works regardless of geometry. */
.yarn-underline {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 78%;
  max-width: 190px;
  height: 12px;
  overflow: visible;
  pointer-events: none;
}

.yarn-underline path {
  fill: none;
  stroke: var(--brand-gold);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
  transition: stroke-dashoffset 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.product-card:not(:hover) .yarn-underline path {
  transition-duration: 0.35s;
  transition-delay: 0s;
}

.product-card:hover .yarn-underline path {
  stroke-dashoffset: 0;
}

.product-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brown-dark);
  margin-bottom: 0.2rem;
}

/* Compact, tidy treatment for products without a confirmed price yet —
   reads as a secondary/muted state rather than wrapping awkwardly like a
   real price would. Never shows ₹0 or any invented number. */
.product-price.is-request {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Per-unit pricing (e.g. "₹140 / inch") — a real rate, not a muted
   placeholder, so it keeps the brand-pink weight of a normal price. */
.product-price.is-variable {
  color: var(--brand-primary);
}

/* Small supporting line under a price — a tiered bundle rate ("6 for
   ₹1,350"), a per-unit caveat ("Price varies by size."), or any other
   product-specific pricing note. Never a second full-size price. */
.product-price-note {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: -0.15rem;
  margin-bottom: 0.4rem;
}

.product-description {
  font-size: 0.88rem;
  color: var(--brown-text);
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Gracefully collapse the gap when a product has no description yet,
   rather than leaving unexplained blank space before the CTA. */
.product-description:empty {
  display: none;
  margin: 0;
}

.product-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
  align-items: center;
}

.product-actions .btn {
  flex: 1;
  padding-inline: 0.75rem;
}

/* Replaces the "Add to Cart" button once a product is already in the
   cart — shown directly on the card so quantity is always visible,
   never just a temporary "Added" flash. */
.card-qty-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  flex: 1;
  border: 1.5px solid var(--brand-primary);
  border-radius: 999px;
  padding: 0.3rem 0.5rem;
  background: var(--surface-light);
}

.card-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--surface-warm-deep);
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.card-qty-btn:hover {
  background: var(--border-soft);
}

.card-qty-value {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
  min-width: 14px;
  text-align: center;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--brown-text);
}

.catalog-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.75rem;
}

.catalog-controls {
  padding-top: clamp(1rem, 2.4vw, 1.6rem);
}

#results-count {
  scroll-margin-top: calc(var(--header-height) + 0.75rem);
}

.search-bar {
  position: relative;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.search-bar .icon-search {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--brand-primary);
  pointer-events: none;
}

.search-bar input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--cream-darker);
  background: var(--surface-elevated);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(255, 79, 160, 0.22);
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.chip {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--cream-darker);
  background: var(--surface-card);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip:hover {
  border-color: var(--brand-primary);
  color: var(--brand-blush);
}

.chip.is-active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-deep);
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin: 0 0 1.15rem;
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.catalog-sort select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-primary);
  background-color: var(--surface-elevated);
  border: 1.5px solid var(--cream-darker);
  border-radius: 999px;
  padding: 0.55rem 2.4rem 0.55rem 1.05rem;
  cursor: pointer;
  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='%23ffcfe3' d='M1.2 1.2L6 6l4.8-4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  box-shadow: var(--shadow-sm);
}

.catalog-sort select:hover,
.catalog-sort select:focus-visible {
  outline: none;
  border-color: var(--brand-primary);
  color: var(--brand-blush);
}

.price-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  flex: 1 1 16rem;
}

.price-chips .chip {
  font-size: 0.8rem;
  padding: 0.48rem 0.95rem;
  flex: 0 0 auto;
}

.results-count {
  text-align: center;
  font-size: 0.85rem;
  color: var(--brown-text);
  margin-bottom: 1.5rem;
}

/* -------------------- 9. Forms & contact -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 1rem;
  align-items: stretch;
}

.contact-card {
  background: var(--surface-card);
  border: 1px solid var(--cream-darker);
  border-radius: var(--radius-md);
  padding: 2.1rem 1.6rem 1.7rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  color: var(--brand-blush);
}

.contact-icon svg {
  width: 26px;
  height: 26px;
}

.contact-card h3 {
  margin-bottom: 0;
}

.contact-handle {
  margin: 0;
  font-weight: 700;
  color: var(--brand-blush);
  letter-spacing: 0.01em;
}

.contact-card-primary .contact-handle {
  color: var(--white);
}

.contact-card p {
  color: var(--brown-text);
  font-size: 0.95rem;
}

.contact-card .btn {
  margin-top: auto;
  width: 100%;
}

.contact-location {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-secondary);
}

.contact-followups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: 2rem;
}

.contact-followup {
  display: block;
  background: var(--surface-card);
  border: 1px solid var(--cream-darker);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.4rem;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-followup:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.contact-followup strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--brand-blush);
  margin-bottom: 0.35rem;
}

.contact-followup span {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-note {
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  margin-top: 2.5rem;
}

.contact-note p {
  font-size: 0.95rem;
}

.contact-note a {
  color: var(--brand-primary);
  font-weight: 700;
  text-decoration: underline;
}

.contact-card-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
  border-color: transparent;
  color: var(--white);
}

.contact-card-primary h3,
.contact-card-primary p {
  color: var(--white);
}

.contact-card-primary .btn-whatsapp {
  background: var(--white);
  color: #1ebe5b;
}

.contact-card-primary .btn-whatsapp:hover {
  background: #ffeaf3;
}

.contact-card-primary .contact-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

@media (max-width: 860px) {
  .contact-grid,
  .contact-followups {
    grid-template-columns: 1fr;
  }
}

/* -------------------- 9b. Reviews, feedback, studio stats -------------------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
}

#home-review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  background: var(--surface-card);
  border: 1px solid var(--cream-darker);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  background: var(--surface-elevated);
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.review-kind {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.review-body h3 {
  margin: 0;
  font-size: 1.15rem;
}

.review-quote {
  margin: 0.2rem 0 0;
}

.review-quote p,
.review-caption {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.review-byline {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.home-reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.6rem;
}

.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.feedback-form {
  display: grid;
  gap: 0.95rem;
  background: var(--surface-card);
  border: 1px solid var(--cream-darker);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.feedback-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field-hint {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
  opacity: 0.85;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-primary);
  background: var(--surface-elevated);
  border: 1.5px solid var(--cream-darker);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
}

.feedback-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.feedback-form input:focus-visible,
.feedback-form select:focus-visible,
.feedback-form textarea:focus-visible {
  outline: none;
  border-color: var(--brand-primary);
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.88rem;
  color: var(--brand-blush);
}

.public-visit-count {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.admin-page .nav {
  justify-content: flex-start;
  gap: 1rem;
  align-items: center;
}

.admin-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-blush);
}

.admin-switch {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.admin-switch:hover {
  color: var(--brand-blush);
}

.admin-lock {
  margin-left: 0;
}

.admin-page [hidden] {
  display: none !important;
}

.admin-wrap {
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-card {
  background: var(--surface-card);
  border: 1px solid var(--cream-darker);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
}

.admin-date {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.admin-subhead {
  margin: 0.4rem 0 0.35rem;
  font-size: 1.15rem;
}

.admin-tight {
  margin: 0 0 0.75rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.stat-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  background: var(--surface-elevated);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.1rem;
}

.stat-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-number {
  margin: 0.2rem 0 0.45rem;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: var(--brand-blush);
  line-height: 1;
}

.stat-hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.admin-help {
  margin: 1.5rem 0;
}

.admin-help ol {
  padding-left: 1.15rem;
  color: var(--text-secondary);
}

.admin-help code {
  font-size: 0.88em;
  color: var(--brand-blush);
}

.admin-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
  align-items: end;
  min-height: 7.5rem;
  margin: 0 0 1.4rem;
  padding: 0.85rem 0.7rem 0.4rem;
  background: var(--surface-elevated);
  border-radius: var(--radius-md);
}

.admin-week-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  min-height: 6.5rem;
}

.admin-week-bar {
  width: 100%;
  max-width: 28px;
  background: var(--brand-blush);
  border-radius: 6px 6px 2px 2px;
  min-height: 6px;
}

.admin-week-col p {
  margin: 0;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.admin-week-n {
  font-weight: 700;
  color: var(--text-secondary);
}

.admin-page-list,
.admin-cat-list,
.admin-health,
.admin-order-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.admin-page-list li,
.admin-cat-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--cream-darker);
  color: var(--text-secondary);
}

.admin-page-list strong,
.admin-cat-list strong {
  color: var(--brown-dark);
}

.admin-health li {
  padding: 0.45rem 0 0.45rem 1.1rem;
  position: relative;
  color: var(--text-secondary);
}

.admin-health li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand-blush);
}

.admin-health li.is-ok::before {
  background: #3d9a6a;
}

.admin-health li.is-warn::before {
  background: #c47b2b;
}

.admin-muted {
  color: var(--text-muted);
  font-style: italic;
}

.admin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.admin-order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: end;
  margin: 1rem 0;
}

.admin-order-form .admin-span-2 {
  grid-column: 1 / -1;
}

.admin-order-form button[type="submit"] {
  grid-column: 1 / -1;
  justify-self: start;
}

.admin-order-form label,
.admin-notes-label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.admin-order-form input,
.admin-notes-label textarea,
.admin-status-label select {
  font: inherit;
  font-weight: 500;
  color: var(--brown-dark);
  border: 1px solid var(--cream-darker);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.7rem;
  background: var(--surface-elevated);
}

.admin-notes-label {
  width: 100%;
}

.admin-notes-label textarea {
  width: 100%;
  min-height: 8.5rem;
  resize: vertical;
}

.admin-order {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--cream-darker);
}

.admin-order-title {
  margin: 0 0 0.2rem;
  font-weight: 700;
  color: var(--brown-dark);
}

.admin-order-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-order-actions .btn-whatsapp {
  width: auto;
}

.admin-status-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.admin-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0.8rem 0 1.2rem;
}

.admin-quick-link {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--cream-darker);
  background: var(--surface-elevated);
  color: var(--brown-dark);
  font-weight: 700;
}

.admin-quick-link:hover {
  border-color: var(--brand-blush);
  color: var(--brand-blush);
}

.admin-lookup {
  margin: 1rem 0 0.4rem;
}

.admin-lookup-list li {
  align-items: flex-start;
}

.admin-lookup-list a {
  color: var(--brand-blush);
  font-weight: 700;
}

.admin-page .feedback-form input {
  background: var(--surface-elevated-2);
  caret-color: var(--brand-primary);
}

.books-fix {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.85rem 0 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
}

.books-remove {
  display: none;
}

#studio-books.is-fixing .books-remove,
#studio-plan.is-fixing .books-remove {
  display: inline-flex;
}

.books-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.85rem 0 1.1rem;
}

.books-action {
  min-height: 3.4rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--cream-darker);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  color: var(--brown-dark);
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
}

.books-action.is-on,
.books-action:hover {
  border-color: var(--brand-blush);
  color: var(--brand-blush);
  background: var(--surface-card);
}

.books-chip-label {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.books-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.books-chip {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--cream-darker);
  border-radius: 999px;
  background: var(--surface-elevated);
  color: var(--brown-dark);
  font: inherit;
  font-weight: 700;
}

.books-chip.is-on {
  border-color: var(--brand-blush);
  background: var(--brand-blush);
  color: #fff;
}

.books-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.books-form .books-form-actions .btn {
  width: auto;
}

.admin-order-form.books-form button[type="submit"] {
  grid-column: auto;
}

.books-money-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--cream-darker);
}

.books-money-row .is-in {
  color: #3d9a6a;
}

.books-money-row .is-out {
  color: var(--brand-blush);
}

.books-backup {
  margin-top: 0.6rem;
}

.books-restore {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.books-restore input {
  font-weight: 500;
}

#studio-plan .stat-grid {
  gap: 0.5rem;
  margin: 0.7rem 0 0.75rem;
}

#studio-plan .stat-card {
  padding: 0.65rem 0.75rem;
}

#studio-plan .stat-label {
  font-size: 0.62rem;
}

#studio-plan .stat-number {
  margin: 0.08rem 0 0.15rem;
  font-size: clamp(1.3rem, 3.2vw, 1.65rem);
}

#studio-plan .stat-hint {
  font-size: 0.75rem;
}

.plan-toolbar {
  margin: 0.75rem 0 0.7rem;
}

.plan-objective {
  margin: 1.1rem 0 0;
  padding: 1rem 0 0.2rem;
  border-top: 1px solid var(--cream-darker);
}

.plan-objective-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.plan-objective-head h2 {
  margin: 0 0 0.2rem;
  font-size: 1.2rem;
}

.plan-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.plan-toggles .books-fix {
  margin: 0.85rem 0 0.4rem;
}

.plan-step {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--cream-darker);
}

.plan-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0;
}

.plan-check input {
  margin-top: 0.3rem;
}

.plan-check strong {
  display: block;
  color: var(--brown-dark);
}

.plan-state {
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--cream-darker);
  border-radius: 999px;
  background: var(--surface-elevated);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-state.is-on {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

.plan-state.is-done {
  opacity: 0.55;
}

.plan-due {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: right;
}

.plan-step.is-overdue .plan-due {
  color: var(--brand-blush);
}

.plan-step.is-today .plan-due {
  color: var(--brand-gold);
}

.plan-step.is-done .plan-check strong,
.plan-step.is-done .plan-due {
  text-decoration: line-through;
  opacity: 0.55;
}

.plan-step-form {
  display: grid;
  grid-template-columns: 1fr 10rem auto;
  gap: 0.55rem;
  align-items: end;
  margin: 0.8rem 0 0.3rem;
}

.plan-step-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.plan-step-form input {
  font: inherit;
  font-weight: 600;
  color: var(--brown-dark);
  border: 1px solid var(--cream-darker);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  background: var(--surface-elevated);
}

@media (max-width: 900px) {
  #studio-plan .stat-grid,
  #studio-plan .stat-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-grid-4,
  .stat-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .feedback-layout,
  .stat-grid,
  .stat-grid-4,
  .stat-grid-3,
  .admin-order-form,
  .admin-link-grid,
  #home-review-grid {
    grid-template-columns: 1fr;
  }

  .books-actions {
    grid-template-columns: 1fr;
  }

  .plan-step,
  .plan-step-form {
    grid-template-columns: 1fr;
  }

  .plan-step .btn {
    justify-self: start;
  }

  .books-money-row {
    grid-template-columns: 1fr auto;
  }

  .books-money-row .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .admin-order {
    grid-template-columns: 1fr;
  }

  #studio-plan .stat-grid,
  #studio-plan .stat-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* -------------------- Product detail page -------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--brown-text);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--brand-primary);
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--brown-text);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-gallery {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.product-gallery.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.product-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: min(72vh, 560px);
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0;
  padding: 2px;
  scrollbar-width: thin;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  background:
    radial-gradient(circle at 50% 38%, #fff6ee 0%, #f4d4bf 62%, #e8b496 100%);
  cursor: pointer;
  padding: 0;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb.is-active {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 1px var(--terracotta);
}

.product-gallery-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* Warm paper mat — dark product photos (Kanhaji especially) were
     vanishing into --cream-dark, which aliases to the page plum. The
     photograph itself is untouched; this is a frame, not a retouch. */
  background:
    radial-gradient(circle at 50% 38%, #fff6ee 0%, #f4d4bf 62%, #e8b496 100%);
  box-shadow: var(--shadow-md);
}

.product-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-gallery-track::-webkit-scrollbar {
  display: none;
}

.product-gallery-slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 1 / 1;
  padding: 0.9rem;
  scroll-snap-align: start;
}

.product-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 12px);
  background: transparent;
}

.product-gallery-slide.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 246, 238, 0.94);
  color: var(--brown-dark);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-nav svg {
  width: 18px;
  height: 18px;
}

.gallery-nav:hover:not(:disabled) {
  background: #fff8f2;
}

.gallery-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.gallery-nav-prev {
  left: 0.7rem;
}

.gallery-nav-next {
  right: 0.7rem;
}

.gallery-count {
  position: absolute;
  right: 0.85rem;
  bottom: 0.75rem;
  z-index: 2;
  margin: 0;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  background: rgba(26, 10, 20, 0.62);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.product-gallery-stage .product-badge {
  z-index: 3;
}

.product-gallery:focus {
  outline: none;
}

.product-gallery:focus-visible .product-gallery-stage {
  box-shadow: var(--shadow-md), 0 0 0 2px var(--terracotta);
}

.product-detail-info .product-category {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.product-detail-info h1 {
  margin-bottom: 0.5rem;
}

.product-detail-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.6rem;
}

.product-detail-price.is-request {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-muted);
}

/* Supporting line under the detail-page price — e.g. "6 for ₹1,350" or
   "Price varies according to Kanhaji size." Distinct from the price
   itself so a rate is never mistaken for the final total. */
.product-detail-price-note {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: -0.4rem;
  margin-bottom: 0.75rem;
}

.product-availability {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.product-availability.is-available {
  color: #4ade80;
}

.product-availability.is-unavailable {
  color: var(--soft-red);
}

.product-detail-description {
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.product-detail-description:empty {
  display: none;
  margin: 0;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.share-feedback {
  font-size: 0.85rem;
  color: var(--brand-primary);
  font-weight: 700;
  margin-top: 0.75rem;
  min-height: 1.2em;
}

.not-found {
  text-align: center;
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.not-found .placeholder-icon {
  font-size: 3rem;
}

/* -------------------- 10. Footer -------------------- */
/* A slightly more elevated dark-plum surface than the body, with the
   signature pink→coral→gold gradient as a thin decorative top border —
   the one place that gradient appears as a pure accent strip. */
.site-footer {
  background: var(--surface-elevated);
  color: var(--text-primary);
  border-top: 4px solid transparent;
  border-image: var(--gradient-brand) 1;
  padding-block: 3rem 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--border-soft);
}

.footer-brand .brand {
  color: var(--brand-blush);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--brand-blush);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--brand-primary);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* -------------------- 11. Cart -------------------- */

/* Nav cart button + unit-count badge */
.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.site-sound-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.site-sound-toggle[aria-pressed="true"] {
  color: var(--brand-blush);
}

.site-sound-toggle:hover,
.cart-button:hover {
  background: var(--surface-warm-deep);
}

.icon-sound,
.icon-cart {
  width: 22px;
  height: 22px;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--brand-secondary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid var(--surface-light);
}

.cart-badge[data-count="0"] {
  background: var(--text-muted);
}

/* "Added to cart" toast — small, non-intrusive, auto-dismisses */
.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translate(-50%, 12px);
  background: var(--brand-deep);
  color: #fff;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Drawer overlay + panel */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(46, 23, 37, 0.45);
  z-index: 210;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: var(--surface-light);
  z-index: 211;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border-soft);
}

.cart-drawer-header h2 {
  font-size: 1.3rem;
}

.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--surface-warm-deep);
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-close:hover {
  background: var(--border-soft);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

.cart-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
  padding: 2rem 1rem;
}

.cart-empty .placeholder-icon {
  font-size: 2.5rem;
}

.cart-empty p:first-of-type {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--brand-blush);
  font-weight: 600;
}

.cart-empty p.cart-empty-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 260px;
}

.cart-empty .btn {
  margin-top: 0.5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.cart-item-image {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-warm-deep);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.cart-item-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cart-item-category {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.cart-item-price.is-request {
  font-style: italic;
  font-weight: 600;
  color: var(--text-muted);
}

/* Small supporting line under a cart item's price — a tiered bundle rate
   or a per-unit "varies by size" caveat. Never a second price figure. */
.cart-item-note {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 0.15rem;
  width: fit-content;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--surface-warm-deep);
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-qty-btn:hover {
  background: var(--border-soft);
}

.cart-qty-value {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
}

.cart-item-remove-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.cart-remove-btn {
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem;
  text-decoration: underline;
}

.cart-remove-btn:hover {
  color: var(--brand-secondary);
}

.cart-line-total {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cart-line-total.is-request {
  font-style: italic;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-drawer-footer {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border-soft);
  background: var(--surface-warm);
}

.cart-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.cart-totals-label {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.cart-totals-value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-blush);
}

.cart-totals-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.85rem;
}

.cart-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cart-clear-btn {
  align-self: center;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.3rem;
}

.cart-clear-btn:hover {
  color: var(--brand-secondary);
}

/* Add to Cart — same pink as header Order on WhatsApp, with a white
   stroke icon so the cart mark stays visible (the old 🛒 emoji sat on
   the pink and disappeared). */
.btn-cart {
  background: var(--brand-primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-cart .icon-cart {
  width: 16px;
  height: 16px;
}

.btn-cart:hover {
  background: var(--brand-primary-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

/* Large quantity stepper for the product-detail page's primary cart
   control — same brand-pink language as the catalogue card's stepper
   (.card-qty-stepper), just sized to sit at btn-lg scale since it
   replaces the page's main "Add to Cart" CTA rather than a compact
   card action. Reads from the same cart state; this is a size/markup
   variant only, not a second source of truth. */
.detail-qty-stepper {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  min-width: 168px;
  border: 1.5px solid var(--brand-primary);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: var(--surface-elevated);
}

.detail-qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--brand-primary);
  color: var(--brand-deep);
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.detail-qty-btn:hover {
  background: var(--brand-blush);
}

.detail-qty-btn:active {
  transform: scale(0.94);
}

.detail-qty-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  min-width: 22px;
  text-align: center;
}

/* The cart drawer's and product-detail page's WhatsApp ordering actions
   are the primary CTA in their context, so they take the brand-pink
   treatment instead of WhatsApp green here — WhatsApp green stays
   elsewhere (contact page, floating button) where it functions as a
   recognisable app identity affordance rather than an ordering CTA. */
.cart-drawer-actions .btn-whatsapp,
.product-detail-actions .btn-whatsapp {
  background: var(--brand-primary);
  color: var(--brand-deep);
}

.cart-drawer-actions .btn-whatsapp:hover,
.product-detail-actions .btn-whatsapp:hover {
  background: var(--brand-blush);
}

/* -------------------- 12. Responsive -------------------- */
@media (max-width: 860px) {
  .hero-full .hero-tagline {
    max-width: 420px;
  }

  .hero-atelier {
    justify-content: flex-start;
  }

  .hero-atelier .hero-full-inner {
    padding-top: calc(var(--header-height) + 2.6rem);
    padding-bottom: 9.5rem;
  }

  .hero-btn {
    min-width: 0;
    width: min(20.5rem, 100%);
    padding: 0.92rem 1.25rem;
  }

  .hero-atelier .hero-yarn-content {
    align-items: center;
    text-align: center;
    max-width: 36rem;
    margin-inline: auto;
  }

  .hero-atelier .hero-full h1 {
    align-items: center;
    font-size: clamp(2.1rem, 9vw, 2.55rem);
  }

  .hero-atelier .hero-actions {
    justify-content: center;
  }

  .hero-atelier-video,
  .hero-atelier-film img {
    object-position: 58% 42%;
  }

  .hero-atelier-scrim {
    background:
      linear-gradient(180deg, rgba(22, 8, 14, 0.62) 0%, rgba(22, 8, 14, 0.22) 28%, rgba(22, 8, 14, 0.1) 48%, rgba(22, 8, 14, 0.72) 100%);
  }

  .hero-lookbook {
    top: auto;
    right: 0;
    left: 0;
    bottom: 3.5rem;
    width: 100%;
    height: 124px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  }

  .hero-lookbook-track {
    flex-direction: row;
    width: max-content;
    animation-name: hero-lookbook-drift;
  }

  .hero-lookbook-set {
    flex-direction: row;
    gap: 0.85rem;
    padding-bottom: 0;
    padding-right: 0.85rem;
  }

  .hero-lookbook-card {
    width: 92px;
    height: 118px;
    flex: 0 0 auto;
    aspect-ratio: auto;
    border-radius: 14px;
  }

  .hero-lookbook-card:nth-child(odd),
  .hero-lookbook-card:nth-child(even) {
    transform: none;
  }

  @keyframes hero-lookbook-drift {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  .hero-film-controls {
    bottom: auto;
    top: calc(var(--header-height) + 0.45rem);
    left: auto;
    right: 0.7rem;
    transform: none;
    justify-content: flex-end;
    max-width: none;
  }

  .hero-film-controls [data-hero-sound] {
    display: none;
  }

  .hero-motion-toggle {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    padding: 0.36rem 0.62rem;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--surface-elevated);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--cream-darker);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    width: 100%;
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--cream-darker);
  }

  .nav-links .nav-cta {
    padding-block: 0.85rem 0.5rem;
    border-bottom: none;
  }

  .nav-links .nav-cta .btn {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-sort {
    justify-content: space-between;
  }

  .catalog-sort select {
    flex: 1;
    min-width: 0;
  }

  .price-chips {
    justify-content: center;
    flex: none;
  }

  .floating-whatsapp {
    display: flex;
  }

  /* Give content room to breathe above the floating WhatsApp button */
  .site-footer {
    padding-bottom: 5.5rem;
  }

  .intro-grid,
  .story-grid,
  .story-grid.reverse .story-media {
    grid-template-columns: 1fr;
    order: 0;
  }

  .intro-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-grid.reverse .story-text {
    order: 1;
  }

  .story-grid.reverse .story-media {
    order: 0;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Timeline becomes a left-aligned vertical rail once there's no room
     for seven labels in a row. */
  .story-timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    padding-left: 0.4rem;
  }

  .story-timeline::before {
    top: 0;
    bottom: 0;
    left: 6px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--brand-primary), var(--brand-accent), var(--brand-gold));
  }

  .timeline-node {
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
  }

  .timeline-label {
    text-align: left;
  }

  .story-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Product detail: stack gallery above info once it gets tight */
@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-gallery-thumbs {
    order: 2;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 0.75rem;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .gallery-thumb {
    width: 92px;
    height: 92px;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn,
  .hero-actions .hero-btn {
    width: 100%;
    min-width: 0;
  }

  .stats-row {
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-band-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-band-actions .btn {
    width: 100%;
  }

  /* This band's single CTA has longer copy ("Discuss a Custom Order on
     WhatsApp") than the other button groups here — full width alone
     still overflowed narrow phones because .btn is nowrap by default,
     so this one also needs to wrap. */
  .custom-order-inner .btn {
    width: 100%;
    white-space: normal;
  }

  /* Comfortable 2-column product grid instead of 1 cramped column */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }

  .product-info {
    padding: 0.85rem;
    gap: 0.3rem;
  }

  .product-name {
    font-size: 0.95rem;
  }

  .product-price {
    font-size: 1.05rem;
  }

  .product-description {
    display: none;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn {
    width: 100%;
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .category-card {
    padding: 1rem 0.5rem;
  }

  .category-image {
    width: 56px;
    height: 56px;
  }

  .category-name {
    font-size: 0.85rem;
  }

  .category-count {
    font-size: 0.7rem;
  }

  .product-gallery-thumbs {
    justify-content: flex-start;
  }

  .product-detail-actions {
    flex-direction: column;
    width: 100%;
  }

  .product-detail-actions .btn {
    width: 100%;
  }

  .product-detail-actions .detail-qty-stepper {
    width: 100%;
    min-width: 0;
  }

  /* Cart drawer: full-width sheet with larger touch targets on mobile */
  .cart-drawer {
    width: 100%;
  }

  .cart-item {
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "image info"
      "total total";
  }

  .cart-item-image {
    grid-area: image;
    width: 56px;
    height: 56px;
  }

  .cart-item-info {
    grid-area: info;
  }

  .cart-item-remove-col {
    grid-area: total;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
  }

  .cart-qty-btn {
    width: 32px;
    height: 32px;
  }

  .cart-close {
    width: 40px;
    height: 40px;
  }
}

/* Extra-small phones (360–390px) */
@media (max-width: 400px) {
  :root {
    --header-height: 71px;
  }

  .container {
    padding-inline: 1.1rem;
  }

  .hero-full .hero-tagline {
    max-width: 320px;
  }

  /* Keep the wordmark on one line next to the logo at very narrow widths */
  .brand {
    font-size: 1.15rem;
    gap: 0.45rem;
  }

  .brand-logo {
    height: 36px;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .value-card {
    padding: 1.35rem 1.1rem 1.25rem;
  }

  .value-card h3 {
    font-size: 1.05rem;
  }

  .product-grid {
    gap: 0.7rem;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .cart-drawer-header,
  .cart-drawer-body,
  .cart-drawer-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
