/* ==========================================================================
   RS Spices — Main Stylesheet
   Palette: Warm bone light theme, cardamom-green ink, antique gold accent
   ========================================================================== */

:root {
  --bg: #EFE9DA;
  --bg-2: #E6DDC9;
  --panel: #F5F1E6;
  --ink: #20261E;
  --ink-soft: #54584B;
  --ink-faint: #7C7E6F;
  --gold: #B0670F;
  --gold-bright: #D4892A;
  --ember: #B23322;
  --green: #2E4034;
  --leaf: #3E8E3E;
  --chili: #D63A28;
  --line: rgba(32, 38, 30, .14);
  --line-strong: rgba(32, 38, 30, .28);
  /* Hero dark palette */
  --hero-ink: #F1E7CE;
  --hero-soft: #C9B98F;
  --hero-gold: #ECAE49;
  --hero-ember: #D9583C;
  --shadow: 0 24px 60px -30px rgba(20, 23, 15, .45);
  --serif: "Hoefler Text", "Baskerville", "Palatino Linotype", "Palatino", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, system-ui, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14170F;
    --bg-2: #1B1F15;
    --panel: #1E2318;
    --ink: #ECE6D6;
    --ink-soft: #AEB09C;
    --ink-faint: #83866F;
    --gold: #E7A63C;
    --gold-bright: #F2C25C;
    --ember: #DA5C41;
    --green: #8CA579;
    --leaf: #6FB86A;
    --chili: #E2543F;
    --line: rgba(236, 230, 214, .13);
    --line-strong: rgba(236, 230, 214, .26);
    --shadow: 0 30px 70px -34px rgba(0, 0, 0, .7);
  }
}

:root[data-theme="light"] {
  --bg: #EFE9DA;
  --bg-2: #E6DDC9;
  --panel: #F5F1E6;
  --ink: #20261E;
  --ink-soft: #54584B;
  --ink-faint: #7C7E6F;
  --gold: #B0670F;
  --gold-bright: #D4892A;
  --ember: #B23322;
  --green: #2E4034;
  --leaf: #3E8E3E;
  --chili: #D63A28;
  --line: rgba(32, 38, 30, .14);
  --line-strong: rgba(32, 38, 30, .28);
  --shadow: 0 24px 60px -30px rgba(20, 23, 15, .45);
}

:root[data-theme="dark"] {
  --bg: #14170F;
  --bg-2: #1B1F15;
  --panel: #1E2318;
  --ink: #ECE6D6;
  --ink-soft: #AEB09C;
  --ink-faint: #83866F;
  --gold: #E7A63C;
  --gold-bright: #F2C25C;
  --ember: #DA5C41;
  --green: #8CA579;
  --leaf: #6FB86A;
  --chili: #E2543F;
  --line: rgba(236, 230, 214, .13);
  --line-strong: rgba(236, 230, 214, .26);
  --shadow: 0 30px 70px -34px rgba(0, 0, 0, .7);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
  letter-spacing: .005em;
}

p {
  margin: 0;
}

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

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

.wrap {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.narrow {
  width: min(760px, 92vw);
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- Flash Messages ---------- */
.flash-container {
  padding: 0.8rem 0;
}

.alert {
  padding: 0.9rem 1.4rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
}

.alert-success {
  background: rgba(62, 142, 62, 0.15);
  border-color: var(--leaf);
  color: var(--leaf);
}

.alert-danger {
  background: rgba(214, 58, 40, 0.15);
  border-color: var(--chili);
  color: var(--chili);
}

.alert-info {
  background: rgba(176, 103, 15, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- Header & Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  line-height: 1;
}

.brand .txt {
  display: flex;
  flex-direction: column;
}

.emblem {
  width: 48px;
  height: 48px;
  flex: none;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.brand .mark {
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: .14em;
}

.brand .mark b {
  color: var(--chili);
  font-weight: 400;
}

.brand .sub {
  font-size: .6rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: .35rem;
}

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

nav.links a {
  font-size: .84rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
  transition: color .2s;
  position: relative;
}

nav.links a:hover,
nav.links a[aria-current="page"],
nav.links a.active {
  color: var(--gold);
}

nav.links a[aria-current="page"]::after,
nav.links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.btn {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .68rem 1.3rem;
  border-radius: 2px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: .22s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn:hover {
  background: var(--gold);
  color: #1a1a12;
}

.btn.solid {
  background: var(--gold);
  color: #1a1a12;
  border-color: var(--gold);
}

.btn.solid:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.btn.sm {
  padding: .45rem .9rem;
  font-size: .74rem;
}

.themetoggle {
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .2s;
}

.themetoggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  width: 36px;
  height: 36px;
  border-radius: 3px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.65rem 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold);
}

@media (max-width: 860px) {
  nav.links {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
}

@media (max-width: 480px) {
  .nav-right {
    gap: 0.5rem;
  }
  .brand .emblem {
    width: 40px;
    height: 40px;
  }
  .brand .mark {
    font-size: 1.05rem;
  }
  .brand .sub {
    font-size: 0.52rem;
  }
  .nav-right .btn.sm {
    padding: 0.35rem 0.65rem;
    font-size: 0.7rem;
  }
}

/* ---------- Hero (Homepage) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--hero-ink);
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(220, 178, 94, .16), transparent 55%),
    radial-gradient(90% 120% at 8% 100%, rgba(150, 48, 32, .22), transparent 60%),
    linear-gradient(160deg, #22271b 0%, #171a11 46%, #0f1109 100%);
  overflow: hidden;
  border-bottom: 1px solid rgba(220, 178, 94, .18);
}

.hero canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .55;
}

.hero .wrap {
  padding: clamp(4.5rem, 11vw, 8.5rem) 0 clamp(4rem, 9vw, 7rem);
  position: relative;
}

.hero-eyebrow {
  color: var(--hero-gold);
  display: flex;
  align-items: center;
  gap: .9rem;
}

.hero-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--hero-gold);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.9rem, 8vw, 5.6rem);
  line-height: 1.02;
  margin: 1.4rem 0 0;
  letter-spacing: -.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--hero-gold);
}

.hero .lede {
  max-width: 36ch;
  color: var(--hero-soft);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.7;
  margin-top: 1.6rem;
}

.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.4rem;
}

.hero .btn {
  border-color: rgba(220, 178, 94, .55);
  color: var(--hero-gold);
}

.hero .btn:hover {
  background: var(--hero-gold);
  color: #1a1a12;
}

.hero .btn.solid {
  background: var(--hero-gold);
  color: #1a1a12;
  border-color: var(--hero-gold);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.hero-figure {
  position: relative;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-figure::before {
  content: "";
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 174, 73, .24), transparent 62%);
  z-index: 0;
}

.hero-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 1px solid rgba(236, 174, 73, .34);
  box-shadow: 0 34px 80px -34px rgba(0, 0, 0, .75);
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy h1,
  .hero h1 {
    font-size: clamp(3.2rem, 12vw, 4.6rem);
    line-height: 1.02;
    margin-inline: auto;
    letter-spacing: -0.015em;
  }
  .hero-figure {
    display: flex;
    justify-content: center;
    margin: 2rem 0 1rem 0;
  }
  .hero-figure img {
    max-width: min(320px, 85vw);
    height: auto;
  }
}

/* ---------- Page Hero (Interior) ---------- */
.phero {
  position: relative;
  isolation: isolate;
  color: var(--hero-ink);
  text-align: center;
  background:
    radial-gradient(120% 90% at 78% 0%, rgba(236, 174, 73, .15), transparent 55%),
    radial-gradient(90% 120% at 10% 100%, rgba(150, 48, 32, .24), transparent 60%),
    linear-gradient(160deg, #22271b 0%, #171a11 46%, #0f1109 100%);
  border-bottom: 1px solid rgba(236, 174, 73, .18);
  overflow: hidden;
}

.phero .wrap {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.8rem, 3.5vw, 2.4rem);
  position: relative;
}

.phero .eyebrow {
  color: var(--hero-gold);
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: .74rem;
  letter-spacing: .2em;
}

.phero .eyebrow::before,
.phero .eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--hero-gold);
}

.phero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin: 0.5rem 0 0;
}

.phero h1 em {
  font-style: italic;
  color: var(--hero-gold);
}

.phero p.sub {
  max-width: 60ch;
  margin: 0.7rem auto 0;
  color: var(--hero-soft);
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.55;
}

.phero .crumb {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(201, 185, 143, .65);
  margin-bottom: 0.2rem;
}

.phero .crumb a {
  color: rgba(201, 185, 143, .85);
  transition: color 0.2s;
}

.phero .crumb a:hover {
  color: var(--hero-gold);
}

/* ---------- Trust Strip ---------- */
.trust {
  background: var(--green);
  color: #EFE7D2;
}

.trust .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.15rem 0;
}

.trust .t-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(239, 231, 210, .9);
}

.trust .t-item b {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .04em;
  color: #F0B84D;
  font-weight: 400;
}

.trust .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(240, 184, 77, .65);
}

@media (max-width: 860px) {
  .trust {
    padding: 1.2rem 0;
  }

  .trust .wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem 0.85rem;
    padding: 0 1rem;
    align-items: stretch;
  }

  .trust .dot {
    display: none;
  }

  .trust .t-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 0.55rem 0.65rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(240, 184, 77, 0.22);
    text-align: center;
    box-sizing: border-box;
    width: 100%;
  }

  .trust .t-item b {
    font-size: 0.98rem;
  }

  .trust .t-item.full-width,
  .trust .t-item:last-of-type {
    grid-column: 1 / -1;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(240, 184, 77, 0.22);
    border-radius: 0;
    padding: 0.7rem 0.5rem 0 0.5rem;
    margin-top: 0.25rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: rgba(239, 231, 210, 0.9);
  }
}

@media (max-width: 420px) {
  .trust {
    padding: 1rem 0;
  }

  .trust .wrap {
    gap: 0.5rem 0.6rem;
    padding: 0 0.75rem;
  }

  .trust .t-item {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    padding: 0.48rem 0.35rem;
    gap: 0.35rem;
  }

  .trust .t-item b {
    font-size: 0.9rem;
  }

  .trust .t-item.full-width,
  .trust .t-item:last-of-type {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    padding-top: 0.6rem;
    margin-top: 0.2rem;
  }
}

/* ---------- Section Scaffolding ---------- */
section {
  padding: clamp(3.8rem, 8vw, 6.5rem) 0;
}

.sec-head {
  max-width: 54ch;
}

.sec-head.center {
  margin-inline: auto;
  text-align: center;
}

.sec-head h2 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.08;
  margin-top: 1rem;
}

.sec-head p {
  color: var(--ink-soft);
  margin-top: 1.1rem;
  max-width: 48ch;
}

/* ---------- Difference Pillars ---------- */
.pillars {
  background: var(--bg-2);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 3rem;
  border: 1px solid var(--line);
}

.pillar {
  background: var(--bg-2);
  padding: 2.2rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillar svg {
  width: 40px;
  height: 40px;
  color: var(--gold);
}

.pillar h3 {
  font-size: 1.22rem;
  line-height: 1.25;
}

.pillar p {
  font-size: .92rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Catalogue Range Cards ---------- */
.catalogue .cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.card .art {
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 50% 25%, var(--bg-2), var(--panel));
  border-bottom: 1px solid var(--line);
}

.card .art svg {
  width: 70px;
  height: 70px;
  color: var(--gold);
}

.card .body {
  padding: 1.4rem 1.4rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card .body h3 {
  font-size: 1.28rem;
}

.card .body p {
  font-size: .88rem;
  color: var(--ink-soft);
  margin-top: .6rem;
  flex: 1;
}

.card .more {
  margin-top: 1.1rem;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  gap: .5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .catalogue .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .catalogue .cat-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Product Grid (Public Catalogue) ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2.8rem;
}

.prod-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.prod-card .pimg-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  background: #14100c;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.prod-card .pimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.prod-card:hover .pimg {
  transform: scale(1.03);
}

.prod-card .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(20, 23, 15, 0.85);
  color: var(--gold);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 100px;
  border: 1px solid rgba(220, 178, 94, 0.4);
}

.prod-body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prod-body .cat {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.prod-body h3 {
  font-size: 1.32rem;
  margin-top: .4rem;
}

.prod-body .desc {
  font-size: .88rem;
  color: var(--ink-soft);
  margin-top: .6rem;
  line-height: 1.55;
}

.prod-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-top: auto;
  padding-top: 1rem;
  flex-wrap: wrap;
}

.prod-meta .price {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold);
}

.prod-meta .wt {
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--ink-faint);
  border: 1px solid var(--line-strong);
  padding: .2rem .5rem;
  border-radius: 100px;
}

.prod-card .card-footer {
  padding: 0 1.4rem 1.3rem;
  display: flex;
  gap: .6rem;
}

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

@media (max-width: 520px) {
  .prod-grid {
    grid-template-columns: 1fr;
  }
  .prod-card .card-footer .btn {
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 0.55rem 0.5rem;
    font-size: 0.74rem;
  }
}

/* Category Filter Bar & Toolbar */
.catalogue-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.search-form {
  display: flex;
  gap: 0.5rem;
  min-width: 260px;
}

@media (max-width: 720px) {
  .catalogue-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .search-form {
    width: 100%;
    min-width: 0;
  }
  .search-form input.form-control {
    flex: 1;
  }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 480px) {
  .filter-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.72rem;
  }
}

.filter-btn {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .5rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1a12;
}

/* ---------- Single Product Detail Page ---------- */
.prod-detail {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.detail-gallery {
  position: sticky;
  top: 90px;
}

.detail-img-box {
  width: 100%;
  aspect-ratio: 4/5;
  background: #14100c;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.detail-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.detail-info .cat-badge {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .4rem;
}

.detail-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.detail-info .price-tag {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  margin: 1rem 0 1.5rem;
}

.detail-info .lead-desc {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.detail-info .specs {
  margin: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
  display: grid;
  gap: 1rem;
}

.spec-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  font-size: .92rem;
}

.spec-row .lbl {
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .75rem;
}

.spec-row .val {
  color: var(--ink);
  font-weight: 500;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.detail-long {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.detail-long h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.detail-long p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  line-height: 1.7;
}

@media (max-width: 800px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-gallery {
    position: static;
  }
}

@media (max-width: 480px) {
  .spec-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .detail-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .detail-info h1 {
    font-size: 1.85rem;
  }
}

/* ---------- Ayurveda Band ---------- */
.ayur {
  position: relative;
  color: var(--hero-ink);
  text-align: center;
  background:
    radial-gradient(100% 120% at 50% -10%, rgba(220, 178, 94, .14), transparent 60%),
    linear-gradient(180deg, #1b2016, #141810);
  border-block: 1px solid rgba(220, 178, 94, .16);
}

.ayur .wrap {
  max-width: 760px;
}

.ayur .eyebrow {
  color: var(--hero-gold);
}

.ayur h2 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.18;
  margin-top: 1.3rem;
  color: var(--hero-ink);
}

.ayur h2 em {
  font-style: italic;
  color: var(--hero-gold);
}

.ayur p {
  color: var(--hero-soft);
  margin: 1.6rem auto 0;
  max-width: 52ch;
}

/* ---------- Purity Promise Seals ---------- */
.promise {
  position: relative;
  color: var(--hero-ink);
  text-align: center;
  background: radial-gradient(100% 120% at 50% -10%, rgba(236, 174, 73, .12), transparent 60%),
    linear-gradient(180deg, #1b2016, #141810);
  border-block: 1px solid rgba(236, 174, 73, .16);
}

.promise .eyebrow {
  color: var(--hero-gold);
}

.promise h2 {
  color: var(--hero-ink);
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  line-height: 1.15;
  margin-top: 1.1rem;
}

.promise .sub {
  color: var(--hero-soft);
  max-width: 56ch;
  margin: 1.2rem auto 0;
}

.seal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.4rem 1.1rem;
  margin-top: 4rem;
  color: var(--hero-gold);
}

.seal {
  width: 100%;
  max-width: 176px;
  margin-inline: auto;
  display: block;
  color: inherit;
  transition: transform .35s ease;
}

.seal:hover {
  transform: rotate(-4deg) scale(1.05);
}

@media (max-width: 900px) {
  .seal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .seal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Contact Page & Forms ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  margin-top: 0;
  align-items: start;
}

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

.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem 2.2rem;
}

@media (max-width: 480px) {
  .contact-card {
    padding: 1.4rem 1.15rem;
  }
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .45rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: .75rem 1rem;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  transition: border-color .2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* ---------- Footer ---------- */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(4rem, 8vw, 6rem);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}

.foot-brand .mark {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: .7rem;
}

.foot-brand p {
  color: var(--ink-soft);
  margin-top: 1rem;
  max-width: 34ch;
  font-size: .92rem;
}

.foot-col h4 {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin: 0 0 1.1rem;
}

.foot-col a,
.foot-col p {
  display: block;
  color: var(--ink-soft);
  font-size: .92rem;
  margin-bottom: .6rem;
  transition: color .2s;
}

.foot-col a:hover {
  color: var(--gold);
}

.foot-bottom {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-faint);
  font-size: .78rem;
}

@media (max-width: 760px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .foot-brand {
    grid-column: 1/-1;
  }
}

@media (max-width: 480px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .foot-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 0.6rem;
  }
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

