/* ===================================================================
   Sampdakart — Sacred Indian Pooja Artistry
   Mobile-first design system. Breakpoints: 640 / 768 / 1024 / 1280
   =================================================================== */

:root {
  --ivory: #f8f4ec;
  --warm-white: #fcfaf5;
  --sand: #ece1cf;
  --beige: #f1e9db;
  --champagne: #ddc9a3;
  --gold: #b8935a;
  --gold-soft: #cdae7d;
  --copper: #a76b48;
  --brown: #3d2f22;
  --charcoal: #1e1a15;
  --ink: #2a241d;

  --background: var(--ivory);
  --foreground: #241f18;
  --muted: #857a68;
  --line: #e4d9c6;

  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Manrope', ui-sans-serif, system-ui, sans-serif;

  --radius: 1.5rem;
  --shadow-luxe: 0 40px 80px -40px rgba(61, 47, 34, 0.35);
  --shadow-soft: 0 22px 50px -30px rgba(61, 47, 34, 0.4);

  --max: 1400px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}
p { margin: 0; }
::selection { background: var(--champagne); color: var(--brown); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }

/* padding-top/bottom only (never the shorthand) so this can safely combine
   with .container on the same element without wiping its side padding */
.section-pad { padding-top: 2.75rem; padding-bottom: 2.75rem; }
@media (min-width: 640px) { .section-pad { padding-top: 3.5rem; padding-bottom: 3.5rem; } }
@media (min-width: 1024px) { .section-pad { padding-top: 5rem; padding-bottom: 5rem; } }

.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;
}

/* ---------- Backgrounds ---------- */
/* Enriched with an extra gold glow + warmer base for more depth than the
   original 3-layer version. To revert to the original flatter look, delete
   the first radial-gradient line below (the one at 30% 8%). */
.bg-hero-glow {
  background:
    radial-gradient(38% 46% at 30% 8%, rgba(184,147,90,.3) 0%, rgba(184,147,90,0) 68%),
    radial-gradient(58% 55% at 74% 40%, rgba(221,201,163,.72) 0%, rgba(221,201,163,0) 62%),
    radial-gradient(46% 46% at 16% 84%, rgba(167,107,72,.26) 0%, rgba(167,107,72,0) 70%),
    linear-gradient(180deg,#f0e2c4 0%,#e4cc9c 100%);
}
.bg-dark-glow {
  background:
    radial-gradient(55% 55% at 50% 26%, rgba(184,147,90,.3) 0%, rgba(184,147,90,0) 60%),
    linear-gradient(180deg,#221d16 0%,#141009 100%);
  color: var(--warm-white);
}
.bg-plinth {
  position: absolute; inset: 0;
  background: radial-gradient(50% 44% at 50% 64%, rgba(221,201,163,.75) 0%, rgba(236,225,207,.35) 46%, rgba(236,225,207,0) 72%);
}
.bg-card-warm { background: linear-gradient(158deg,#fcfaf5 0%,#f1e7d5 100%); }
.bg-sand { background: var(--sand); }
.bg-beige { background: var(--beige); }
.bg-brown { background: var(--brown); color: var(--warm-white); }
.bg-charcoal { background: var(--charcoal); color: var(--warm-white); }

.text-gold-gradient {
  background: linear-gradient(100deg,#a8823f,#d9bd84,#9c6b4e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

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

.hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--champagne), transparent); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .72rem; letter-spacing: .34em; text-transform: uppercase;
  font-weight: 600; color: var(--gold);
}
.eyebrow::before { content: ''; display: inline-block; height: 1px; width: 2rem; background: rgba(184,147,90,.6); }
.eyebrow.no-line::before { display: none; }

.section-heading { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; text-align: left; }
.section-heading.center { align-items: center; text-align: center; }
.section-heading h2 {
  max-width: 44rem;
  font-size: 2rem; font-weight: 600; color: var(--brown);
}
.section-heading.invert h2 { color: var(--warm-white); }
.section-heading p { max-width: 34rem; color: var(--muted); line-height: 1.7; }
.section-heading.invert p { color: rgba(252,250,245,.7); }
@media (min-width: 768px) { .section-heading h2 { font-size: 2.75rem; } }
@media (min-width: 1024px) { .section-heading h2 { font-size: 3.3rem; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; padding: .9rem 1.75rem; font-size: .875rem; font-weight: 600;
  letter-spacing: .01em; transition: all .35s ease; white-space: nowrap;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--brown); color: var(--warm-white); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--charcoal); box-shadow: var(--shadow-luxe); transform: translateY(-2px); }
.btn-dark { background: var(--charcoal); color: var(--warm-white); }
.btn-dark:hover { background: var(--brown); transform: translateY(-2px); }
.btn-outline { border: 1px solid rgba(61,47,34,.25); color: var(--brown); background: transparent; }
.btn-outline:hover { border-color: rgba(61,47,34,.6); transform: translateY(-2px); }
.btn-outline.invert { border-color: rgba(252,250,245,.25); color: var(--warm-white); }
.btn-outline.invert:hover { border-color: rgba(252,250,245,.6); }
.btn-ghost { color: var(--brown); }
.btn-ghost:hover { color: var(--gold); }
.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-sm { padding: .6rem 1.1rem; font-size: .8rem; }
.btn-block { width: 100%; white-space: normal; }
.btn-icon {
  display: grid; place-items: center; height: 2.5rem; width: 2.5rem; border-radius: 999px;
  color: var(--brown); transition: background .25s ease;
}
.btn-icon:hover { background: rgba(236,225,207,.6); }

/* ---------- Price / Rating ---------- */
.price { display: inline-flex; align-items: baseline; gap: .5rem; }
.price .amount { font-family: var(--font-display); font-weight: 600; color: var(--brown); }
.price .compare { font-size: .75rem; color: var(--muted); text-decoration: line-through; }
.price.lg .amount { font-size: 1.5rem; }
.price.invert .amount { color: var(--warm-white); }

.rating { display: inline-flex; align-items: center; gap: .4rem; }
.rating .stars { display: flex; gap: 1px; }
.rating .stars svg { height: .75rem; width: .75rem; }
.rating .count { font-size: .75rem; font-weight: 500; color: var(--muted); }

.badge {
  position: absolute; z-index: 10; border-radius: 999px; background: rgba(252,250,245,.85);
  padding: .25rem .75rem; font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; color: var(--brown); backdrop-filter: blur(6px);
}

/* ===================================================================
   Announcement marquee
   =================================================================== */
.marquee-wrap { position: relative; z-index: 60; overflow: hidden; background: var(--charcoal); color: var(--warm-white); }
.marquee { display: flex; white-space: nowrap; padding: .6rem 0; font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .24em; }
.marquee-track { display: flex; flex-shrink: 0; align-items: center; gap: 4rem; padding-right: 4rem; animation: marquee 34s linear infinite; }
.marquee-track span.dot { color: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ===================================================================
   Header
   =================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50; transition: all .4s ease; background: transparent;
}
.site-header.scrolled { background: rgba(252,250,245,.88); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(228,217,198,.7); }
.header-row {
  max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; padding: 1rem .75rem;
}
@media (min-width: 480px) { .header-row { gap: 1rem; padding: 1rem 1.25rem; } }
@media (min-width: 768px) { .header-row { padding: 1rem 2.5rem; } }

.main-nav { display: none; align-items: center; gap: 1.75rem; flex: 1; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.main-nav li > button {
  display: flex; align-items: center; gap: .25rem; font-size: .875rem; font-weight: 500;
  color: rgba(61,47,34,.85); transition: color .2s ease; padding: .5rem 0;
}
.main-nav li > button:hover, .main-nav li.open > button { color: var(--gold); }
.main-nav li > button svg { height: .85rem; width: .85rem; transition: transform .2s ease; }
.main-nav li.open > button svg { transform: rotate(180deg); }

.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; min-width: 0; flex-shrink: 0; }
.logo-img { height: 2.75rem; width: auto; object-fit: contain; }
.logo .word { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--brown); letter-spacing: -0.02em; white-space: nowrap; }
.logo .word .accent { color: var(--gold); }
.logo .sub { margin-top: .2rem; font-size: .56rem; font-weight: 500; text-transform: uppercase; letter-spacing: .3em; color: var(--muted); white-space: nowrap; }
@media (min-width: 400px) { .logo-img { height: 3.25rem; } .logo .word { font-size: 1.4rem; } .logo .sub { font-size: .58rem; letter-spacing: .4em; } }
@media (min-width: 768px) { .logo-img { height: 3.75rem; } .logo .word { font-size: 1.7rem; } }

.header-actions { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: .35rem; }
.currency-select {
  display: none; cursor: pointer; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  padding: .35rem .75rem; font-size: .75rem; font-weight: 500; color: var(--brown); outline: none;
}
@media (min-width: 768px) { .currency-select { display: block; } }
.currency-select:hover { border-color: var(--gold); }

.icon-badge { position: relative; }
.icon-badge .count {
  position: absolute; right: 2px; top: 2px; display: grid; place-items: center; height: 1.05rem; width: 1.05rem;
  border-radius: 999px; background: var(--gold); color: var(--warm-white); font-size: .6rem; font-weight: 700;
}
.icon-badge.wish .count { background: var(--copper); }
.icon-badge .count[data-zero] { display: none; }

.menu-btn { display: grid; place-items: center; height: 2.5rem; width: 2.5rem; }
@media (min-width: 1024px) { .menu-btn { display: none; } }

/* Mega menu */
.mega-panel {
  position: absolute; inset-inline: 0; top: 100%; display: none; border-top: 1px solid rgba(228,217,198,.7);
  background: rgba(252,250,245,.97); backdrop-filter: blur(20px);
}
.main-nav li.open .mega-panel { display: block; }
.mega-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 2.5rem; padding: 2.5rem; }
.mega-col-intro { grid-column: span 3; }
.mega-col-intro p { margin-top: 1rem; font-size: .875rem; line-height: 1.7; color: var(--muted); }
.mega-col-intro a { margin-top: 1.5rem; display: inline-flex; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--brown); }
.mega-col-intro a:hover { color: var(--gold); text-decoration: underline; }
.mega-links { grid-column: span 4; display: flex; flex-direction: column; gap: .25rem; }
.mega-links a { border-radius: .75rem; padding: .6rem .75rem; font-size: .875rem; color: rgba(61,47,34,.8); }
.mega-links a:hover { background: rgba(236,225,207,.5); color: var(--brown); }
.mega-feature {
  grid-column: span 5; display: flex; align-items: center; gap: 1.25rem; overflow: hidden;
  border-radius: 1.5rem; background: linear-gradient(158deg,#fcfaf5 0%,#f1e7d5 100%); padding: 1.25rem; text-align: left;
}
.mega-feature:hover { box-shadow: var(--shadow-soft); }
.mega-feature .thumb { position: relative; height: 8rem; width: 8rem; flex-shrink: 0; }
.mega-feature img { height: 100%; width: 100%; object-fit: contain; }
.mega-feature h3 { margin-top: .5rem; font-size: 1.1rem; font-weight: 600; color: var(--brown); }

/* Mobile drawer */
.mobile-drawer-overlay {
  position: fixed; inset: 0; z-index: 95; display: none; background: rgba(30,26,21,.45); backdrop-filter: blur(4px);
}
.mobile-drawer-overlay.open { display: block; }
.mobile-drawer {
  position: fixed; left: 0; top: 0; z-index: 96; display: flex; height: 100%; width: 85%; max-width: 24rem;
  flex-direction: column; background: var(--warm-white); padding: 1.75rem; transform: translateX(-100%);
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-head { margin-bottom: 2rem; display: flex; align-items: center; justify-content: space-between; }
.mobile-drawer nav a {
  display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 1rem 0;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--brown);
}
@media (min-width: 1024px) { .mobile-drawer-overlay, .mobile-drawer { display: none !important; } }

/* ===================================================================
   Hero
   =================================================================== */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto; display: grid; gap: 1.5rem; align-items: center;
  padding: 1.75rem 1.25rem 2.5rem;
}
@media (min-width: 768px) { .hero-grid { padding: 2.5rem 2.5rem 4rem; gap: 2rem; } }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); padding: 4rem 2.5rem 5rem; min-height: calc(100svh - 6.5rem); } }

.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero-pill {
  display: inline-flex; align-items: center; gap: .6rem; border-radius: 999px; border: 1px solid rgba(184,147,90,.3);
  background: rgba(252,250,245,.6); padding: .5rem 1rem; font-size: .7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .24em; color: var(--copper); backdrop-filter: blur(6px);
}
.hero-pill .dot { height: .4rem; width: .4rem; border-radius: 999px; background: var(--gold); }
.hero-copy h1 { margin-top: 1.1rem; max-width: 15ch; font-size: 2.4rem; font-weight: 800; color: var(--brown); line-height: 1.02; }
@media (min-width: 480px) { .hero-copy h1 { font-size: 2.75rem; } }
@media (min-width: 640px) { .hero-copy h1 { font-size: 3.5rem; margin-top: 1.75rem; line-height: .98; } }
@media (min-width: 1024px) { .hero-copy h1 { font-size: 5rem; } }
.hero-copy .lede { margin-top: 1rem; max-width: 28rem; font-size: 1rem; line-height: 1.6; color: rgba(42,36,29,.7); }
@media (min-width: 640px) { .hero-copy .lede { margin-top: 1.5rem; font-size: 1.1rem; line-height: 1.7; } }
.hero-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
@media (min-width: 640px) { .hero-actions { margin-top: 2.2rem; } }
.hero-trust { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem .5rem; }
@media (min-width: 640px) { .hero-trust { margin-top: 2.5rem; gap: 1.75rem .5rem; } }
.hero-trust li { display: flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 500; color: rgba(42,36,29,.65); }
.hero-trust svg { height: 1rem; width: 1rem; color: var(--gold); }
.hero-stats { margin-top: 1.25rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
@media (min-width: 640px) { .hero-stats { margin-top: 1.5rem; gap: 2.25rem; } }
.hero-stats dt { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--brown); }
.hero-stats dd { margin: 0; font-size: .65rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }

.hero-stage { position: relative; display: flex; min-height: 20rem; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .hero-stage { min-height: 32rem; } }
.hero-stage-img { position: relative; height: 20rem; width: 78%; max-width: 26rem; animation: float-slow 7s ease-in-out infinite; }
@media (min-width: 1024px) { .hero-stage-img { height: 30rem; } }
.hero-stage-img img { height: 100%; width: 100%; object-fit: contain; filter: drop-shadow(0 50px 60px rgba(61,47,34,.35)); }
.hero-chip {
  position: absolute; display: none; align-items: center; gap: .75rem; border-radius: 1.1rem; border: 1px solid rgba(228,217,198,.6);
  background: rgba(252,250,245,.85); padding: .6rem 1rem .6rem .6rem; box-shadow: var(--shadow-soft); backdrop-filter: blur(6px);
}
@media (min-width: 768px) { .hero-chip { display: flex; } }
.hero-chip.top { left: .5rem; top: 1.5rem; }
.hero-chip .thumb { position: relative; height: 3rem; width: 3rem; overflow: hidden; border-radius: .75rem; background: var(--sand); }
.hero-chip .thumb img { object-fit: contain; padding: .2rem; }
.hero-chip .eyebrow { font-size: .6rem; }
.hero-chip p.name { font-size: .75rem; font-weight: 500; color: var(--brown); }
.hero-review {
  position: absolute; right: 0; bottom: 1.5rem; display: none; flex-direction: column; gap: .2rem; border-radius: 1.1rem;
  border: 1px solid rgba(228,217,198,.6); background: rgba(252,250,245,.9); padding: 1rem; box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .hero-review { display: flex; } }

@keyframes float-slow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ===================================================================
   HERO DECORATIVE BACKGROUND — sunburst rings + mandala line-art
   To revert: delete this whole block, delete the .hero-deco markup in
   index.php, and remove "position:relative;z-index:1;" from .hero-grid.
   =================================================================== */
.hero-deco { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-deco-ring {
  position: absolute; border-radius: 999px;
  background: conic-gradient(from 0deg, transparent, #b8935a 6%, transparent 13%, transparent 37%, #b8935a 44%, transparent 51%, transparent 62%, #b8935a 69%, transparent 76%);
}
.hero-deco-ring--outer {
  right: -18rem; top: -12rem; height: 42rem; width: 42rem; opacity: .18;
  animation: spin-slow 10s linear infinite;
  -webkit-mask-image: radial-gradient(circle, transparent 56%, black 58%, black 78%, transparent 80%);
  mask-image: radial-gradient(circle, transparent 56%, black 58%, black 78%, transparent 80%);
}
.hero-deco-ring--inner {
  left: -12rem; bottom: -14rem; height: 30rem; width: 30rem; opacity: .14;
  animation: spin-slow 7s linear infinite reverse;
  -webkit-mask-image: radial-gradient(circle, transparent 50%, black 52%, black 74%, transparent 76%);
  mask-image: radial-gradient(circle, transparent 50%, black 52%, black 74%, transparent 76%);
}
.hero-deco-mandala {
  position: absolute; right: -6rem; top: 50%; height: 34rem; width: 34rem; transform: translateY(-50%);
  opacity: .12; animation: spin-slow 24s linear infinite;
}
@media (min-width: 1024px) {
  .hero-deco-ring--outer { right: -14rem; top: -16rem; height: 50rem; width: 50rem; }
  .hero-deco-ring--inner { left: -16rem; bottom: -18rem; height: 36rem; width: 36rem; }
  .hero-deco-mandala { right: 0; height: 44rem; width: 44rem; opacity: .12; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-deco-ring, .hero-deco-mandala { animation: none; }
}

/* ===================================================================
   Trust bar
   =================================================================== */
.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--warm-white); }
.trust-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem 1.5rem; padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(5,minmax(0,1fr)); } }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; }
.trust-item .ic { display: grid; place-items: center; height: 3rem; width: 3rem; border-radius: 999px; background: rgba(236,225,207,.7); color: var(--gold); }
.trust-item strong { font-family: var(--font-display); font-size: .875rem; font-weight: 600; color: var(--brown); }
.trust-item span { font-size: .75rem; line-height: 1.5; color: var(--muted); }

/* ===================================================================
   Product card
   =================================================================== */
.product-card { display: flex; flex-direction: column; }
.product-stage { position: relative; overflow: hidden; border-radius: 1.6rem; background: linear-gradient(158deg,#fcfaf5 0%,#f1e7d5 100%); aspect-ratio: 1/1; }
.product-stage.tall { aspect-ratio: 3/4; }
.product-stage .badge { left: 1rem; top: 1rem; }
.product-stage .wish-btn {
  position: absolute; right: 1rem; top: 1rem; z-index: 10; display: grid; place-items: center; height: 2.25rem; width: 2.25rem;
  border-radius: 999px; background: rgba(252,250,245,.85); color: var(--brown); backdrop-filter: blur(4px); transition: transform .2s ease;
}
.product-stage .wish-btn:hover { transform: scale(1.1); }
.product-stage .wish-btn svg.filled { fill: var(--copper); color: var(--copper); }
.product-stage .photo-wrap { position: absolute; inset: 0; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.product-card:hover .product-stage .photo-wrap { transform: scale(1.06); }
.product-stage img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; filter: saturate(.88) contrast(1.03) brightness(1.02); }
.product-stage .vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(62% 60% at 50% 44%, rgba(236,225,207,0) 42%, rgba(236,225,207,.42) 72%, rgba(241,231,213,.94) 100%);
}
.product-actions {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 10; display: flex; align-items: center; gap: .5rem;
  opacity: 0; transform: translateY(12px); transition: all .35s cubic-bezier(.22,1,.36,1);
}
.product-card:hover .product-actions, .product-card:focus-within .product-actions { opacity: 1; transform: translateY(0); }
@media (hover: none) { .product-actions { opacity: 1; transform: translateY(0); } }
.product-actions .add-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px;
  background: var(--charcoal); padding: .7rem 0; font-size: .75rem; font-weight: 600; color: var(--warm-white);
}
.product-actions .add-btn:hover { background: var(--brown); }
.product-actions .quick-btn { display: grid; flex-shrink: 0; place-items: center; height: 2.75rem; width: 2.75rem; border-radius: 999px; background: var(--warm-white); color: var(--brown); }
.product-actions .quick-btn:hover { background: var(--sand); }

.product-info { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .35rem; }
.product-info .material { font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); }
.product-info .name { text-align: left; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; line-height: 1.35; color: var(--brown); }
.product-card:hover .product-info .name { color: var(--gold); }
.product-info .meta { margin-top: .35rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.product-info .name { overflow-wrap: break-word; }

/* ===================================================================
   Dark product card variant (used by render_product_card($p, $size, true))
   — currently only the Temple Collection editorial section opts in.
   To revert a section to the normal light card, just stop passing
   $dark = true to render_product_card() / render_editorial_collection().
   =================================================================== */
.product-stage--dark { background: linear-gradient(158deg, #2c2116 0%, #17110a 100%); }
.product-stage--dark .vignette {
  background: radial-gradient(62% 60% at 50% 44%, rgba(23,17,10,0) 42%, rgba(23,17,10,.5) 72%, rgba(20,15,9,.92) 100%);
}
.product-stage--dark img { filter: saturate(.94) contrast(1.05) brightness(1.04); }
.product-card--dark .product-info .name { color: var(--warm-white); }
.product-card--dark:hover .product-info .name { color: var(--gold-soft); }
.product-card--dark .price .amount { color: var(--warm-white); }
.product-card--dark .price .compare { color: rgba(252,250,245,.5); }
.product-card--dark .rating .count { color: rgba(252,250,245,.6); }
.product-card--dark .product-actions .add-btn { background: var(--gold); color: var(--charcoal); }
.product-card--dark .product-actions .add-btn:hover { background: var(--gold-soft); }

.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem 1.25rem; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2rem 1.5rem; } }

/* ===================================================================
   Editorial collection (sticky intro + grid)
   =================================================================== */
.editorial-grid { display: grid; gap: 1.75rem; }
@media (min-width: 1024px) { .editorial-grid { grid-template-columns: minmax(0,.8fr) minmax(0,1.4fr); gap: 4rem; } }
.editorial-intro { }
@media (min-width: 1024px) { .editorial-intro { position: sticky; top: 8rem; height: fit-content; } }
.editorial-products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem 1.25rem; }
@media (min-width: 640px) { .editorial-products { gap: 3rem 1.5rem; } }
.editorial-products .offset { margin-top: 0; }
@media (min-width: 640px) { .editorial-products .offset { margin-top: 4rem; } }

/* ===================================================================
   Bento collection
   =================================================================== */
.bento-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.bento-hero-cell { grid-column: 1 / -1; }
@media (min-width: 640px) { .bento-grid { gap: 1.5rem; } }
@media (min-width: 1024px) {
  .bento-grid { margin-top: 4rem; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); }
  .bento-hero-cell { grid-column: span 1; grid-row: span 2; }
}
.bento-hero {
  position: relative; display: flex; min-height: 16rem; width: 100%; height: 100%; flex-direction: column; justify-content: space-between;
  overflow: hidden; border-radius: 1.25rem; padding: 1.25rem; text-align: left;
}
@media (min-width: 1024px) { .bento-hero { min-height: 26rem; border-radius: 2rem; padding: 2rem; } }
.bento-hero .top { position: relative; z-index: 10; }
.bento-hero h3 { margin-top: .5rem; max-width: 18ch; font-size: 1.2rem; font-weight: 600; color: var(--warm-white); }
@media (min-width: 1024px) { .bento-hero h3 { margin-top: .75rem; max-width: 14ch; font-size: 1.75rem; } }
.bento-hero .art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.bento-hero .art .frame { position: relative; height: 75%; width: 75%; transition: transform .7s ease; }
.bento-hero:hover .art .frame { transform: scale(1.05); }
.bento-hero .art img { object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); }
.bento-hero .bottom { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; }
.bento-hero .arrow-chip { display: grid; place-items: center; height: 2.75rem; width: 2.75rem; border-radius: 999px; background: rgba(252,250,245,.1); color: var(--warm-white); transition: background .2s ease; }
.bento-hero:hover .arrow-chip { background: var(--gold); }

/* ===================================================================
   Horizontal rail
   =================================================================== */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.rail-arrows { display: none; gap: .5rem; }
@media (min-width: 768px) { .rail-arrows { display: flex; } }
.rail-arrows button { display: grid; place-items: center; height: 3rem; width: 3rem; border-radius: 999px; border: 1px solid var(--line); color: var(--brown); transition: all .2s ease; }
.rail-arrows button:hover { border-color: var(--gold); color: var(--gold); }
.rail-track {
  margin-top: 3rem; display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 1.25rem 1rem;
  scrollbar-width: none;
}
.rail-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .rail-track { padding: 0 2.5rem 1rem; } }
.rail-track > div { width: 74vw; flex-shrink: 0; scroll-snap-align: start; }
@media (min-width: 640px) { .rail-track > div { width: 42vw; } }
@media (min-width: 1024px) { .rail-track > div { width: 23rem; } }

/* ===================================================================
   Craft story
   =================================================================== */
.craft-grid { display: grid; align-items: center; gap: 1.75rem; }
@media (min-width: 1024px) { .craft-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 5rem; } }
.craft-photo { position: relative; overflow: hidden; border-radius: 2rem; box-shadow: var(--shadow-luxe); }
.craft-photo .frame { position: relative; aspect-ratio: 4/5; }
.craft-photo img { object-fit: cover; }
.craft-stat { position: absolute; bottom: 1.5rem; left: 1.5rem; border-radius: 1rem; background: rgba(252,250,245,.9); padding: 1rem 1.5rem; backdrop-filter: blur(6px); }
.craft-stat .n { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--brown); }
.craft-stat .l { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.craft-steps { margin-top: 1.5rem; display: flex; flex-direction: column; }
.craft-step { display: flex; gap: 1.25rem; border-top: 1px solid var(--line); padding: 1.1rem 0; }
@media (min-width: 640px) { .craft-step { gap: 1.5rem; padding: 1.5rem 0; } }
.craft-step .num { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--gold); }
.craft-step h3 { font-size: 1.15rem; font-weight: 600; color: var(--brown); }
.craft-step p { margin-top: .35rem; max-width: 28rem; line-height: 1.7; color: var(--muted); }

/* ===================================================================
   Ram Mandir dark feature
   =================================================================== */
.ram-mandir { position: relative; overflow: hidden; }
.ram-grid { position: relative; display: grid; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .ram-grid { gap: 3.5rem; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); } }
.ram-text h2 { margin-top: 1rem; max-width: 14ch; font-size: 1.85rem; font-weight: 600; line-height: 1.08; }
@media (min-width: 768px) { .ram-text h2 { margin-top: 1.25rem; font-size: 3rem; line-height: 1.05; } }
.ram-text p { margin-top: 1rem; max-width: 28rem; line-height: 1.6; color: rgba(252,250,245,.7); }
@media (min-width: 768px) { .ram-text p { margin-top: 1.5rem; line-height: 1.7; } }
.ram-picks { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .ram-picks { margin-top: 2.25rem; } }
@media (min-width: 640px) { .ram-picks { flex-direction: row; } }
.ram-pick {
  display: flex; flex: 1; align-items: center; gap: 1rem; border-radius: 1rem; border: 1px solid rgba(252,250,245,.12);
  background: rgba(252,250,245,.05); padding: .75rem 1.25rem .75rem .75rem; text-align: left; transition: all .2s ease;
}
.ram-pick:hover { border-color: rgba(184,147,90,.5); background: rgba(252,250,245,.1); }
.ram-pick .thumb { position: relative; height: 4rem; width: 4rem; flex-shrink: 0; overflow: hidden; border-radius: .75rem; background: rgba(252,250,245,.1); }
.ram-pick .thumb img { object-fit: contain; padding: .25rem; }
.ram-pick .nm { font-family: var(--font-display); font-size: .875rem; font-weight: 600; color: var(--warm-white); }
.ram-idol-wrap { position: relative; margin: 0 auto; aspect-ratio: 4/5; width: 100%; max-width: 32rem; }
.ram-idol-wrap img { object-fit: contain; filter: drop-shadow(0 50px 60px rgba(0,0,0,.55)); animation: float-slow 7s ease-in-out infinite; }
.ram-idol-caption { position: absolute; bottom: .5rem; left: 50%; transform: translateX(-50%); border-radius: 1rem; background: rgba(30,26,21,.6); padding: .75rem 1.5rem; text-align: center; backdrop-filter: blur(6px); }
.ram-idol-caption p:first-child { font-size: .62rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold-soft); }
.ram-idol-caption p:last-child { margin-top: .25rem; font-family: var(--font-display); font-size: .875rem; font-weight: 600; }

/* ===================================================================
   Lifestyle banner
   =================================================================== */
.lifestyle-wrap { padding: 0 1.25rem; }
@media (min-width: 768px) { .lifestyle-wrap { padding: 0 2.5rem; } }
.lifestyle-inner { position: relative; max-width: var(--max); margin: 0 auto; overflow: hidden; border-radius: 2.5rem; }
.lifestyle-photo { position: relative; height: 70vh; min-height: 26rem; width: 100%; }
.lifestyle-photo img { height: 100%; width: 100%; object-fit: cover; }
.lifestyle-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,26,21,.7), rgba(30,26,21,.3) 55%, transparent); }
.lifestyle-copy { position: absolute; inset: 0; display: flex; align-items: center; }
.lifestyle-copy .inner { max-width: 30rem; padding: 2rem; }
@media (min-width: 768px) { .lifestyle-copy .inner { padding: 2.5rem 4rem; } }
.lifestyle-copy h2 { margin-top: 1.25rem; font-size: 2rem; font-weight: 600; line-height: 1.1; color: var(--warm-white); }
@media (min-width: 768px) { .lifestyle-copy h2 { font-size: 2.75rem; } }
.lifestyle-copy p { margin-top: 1.25rem; max-width: 26rem; line-height: 1.7; color: rgba(252,250,245,.85); }

/* ===================================================================
   Featured spotlight
   =================================================================== */
.spotlight-grid { display: grid; align-items: center; gap: 2.5rem; }
@media (min-width: 768px) { .spotlight-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
.spotlight-copy h2 { margin-top: 1.25rem; max-width: 12ch; font-size: 2rem; font-weight: 600; color: var(--warm-white); }
@media (min-width: 768px) { .spotlight-copy h2 { font-size: 2.75rem; } }
.spotlight-copy p { margin-top: 1.5rem; max-width: 28rem; line-height: 1.7; color: rgba(252,250,245,.7); }
.spotlight-price-row { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.spotlight-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.spotlight-img-wrap { position: relative; margin: 0 auto; aspect-ratio: 1/1; width: 100%; max-width: 28rem; }
.spotlight-img-wrap .glow { position: absolute; inset: 0; border-radius: 999px; opacity: .6; background: radial-gradient(circle, rgba(184,147,90,.4), transparent 65%); }
.spotlight-img-wrap img { object-fit: contain; filter: drop-shadow(0 40px 60px rgba(0,0,0,.5)); animation: float-slow 7s ease-in-out infinite; }

/* ===================================================================
   Testimonials
   =================================================================== */
.testi-grid { margin-top: 2rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .testi-grid { margin-top: 4rem; gap: 1.5rem; grid-template-columns: repeat(3,minmax(0,1fr)); } }
.testi-card { display: flex; height: 100%; flex-direction: column; gap: 1.25rem; border-radius: 1.25rem; border: 1px solid var(--line); background: var(--warm-white); padding: 1.5rem; box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .testi-card { gap: 1.5rem; border-radius: 1.5rem; padding: 2rem; } }
.testi-card blockquote { flex: 1; margin: 0; font-size: .98rem; line-height: 1.7; color: rgba(61,47,34,.85); }
.testi-card footer { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.testi-card .nm { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--brown); }
.testi-card .loc { margin-top: .1rem; font-size: .875rem; color: var(--muted); }

/* ===================================================================
   Journal
   =================================================================== */
.journal-head { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 768px) { .journal-head { flex-direction: row; align-items: flex-end; } }
.journal-grid { margin-top: 2rem; display: grid; gap: 1.75rem; }
@media (min-width: 768px) { .journal-grid { margin-top: 4rem; gap: 2rem; grid-template-columns: repeat(3,minmax(0,1fr)); } }
.journal-card { display: flex; height: 100%; flex-direction: column; }
.journal-card .tag { border-radius: 999px; background: var(--sand); padding: .25rem .75rem; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--brown); }
.journal-card .top-row { display: flex; align-items: center; gap: .75rem; }
.journal-card .read { font-size: .75rem; color: var(--muted); }
.journal-card h3 { margin-top: 1.25rem; font-size: 1.4rem; font-weight: 600; line-height: 1.35; color: var(--brown); }
.journal-card:hover h3 { color: var(--gold); }
.journal-card p { margin-top: .75rem; flex: 1; font-size: .9rem; line-height: 1.7; color: var(--muted); }
.journal-card .read-more { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--brown); }
.journal-card hr { margin-top: 1.5rem; border: none; height: 1px; background: var(--line); }

/* ===================================================================
   Gallery
   =================================================================== */
.gallery-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 180px; gap: .75rem; }
@media (min-width: 768px) { .gallery-grid { margin-top: 4rem; } }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: 220px; gap: 1rem; } }
.gallery-item { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 1rem; background: var(--warm-white); }
.gallery-item.row2 { grid-row: span 2; }
.gallery-item img { height: 100%; width: 100%; object-fit: cover; transition: transform .9s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(30,26,21,.4); opacity: 0; transition: opacity .3s ease; }
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span { display: grid; place-items: center; height: 2.75rem; width: 2.75rem; border-radius: 999px; border: 1px solid rgba(252,250,245,.7); color: var(--warm-white); }

/* ===================================================================
   Newsletter
   =================================================================== */
.newsletter { position: relative; overflow: hidden; text-align: center; color: var(--warm-white); }
.newsletter-inner { position: relative; max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.newsletter h2 { max-width: 34rem; font-size: 2rem; font-weight: 600; line-height: 1.1; }
@media (min-width: 768px) { .newsletter h2 { font-size: 2.75rem; } }
.newsletter p { max-width: 30rem; line-height: 1.7; color: rgba(252,250,245,.65); }
.newsletter-form { margin-top: .25rem; display: flex; width: 100%; max-width: 26rem; align-items: center; gap: .5rem; border-radius: 999px; border: 1px solid rgba(252,250,245,.15); background: rgba(252,250,245,.06); padding: .35rem; }
.newsletter-form input { flex: 1; height: 2.75rem; background: transparent; padding: 0 1rem; color: var(--warm-white); outline: none; border: none; }
.newsletter-form input::placeholder { color: rgba(252,250,245,.4); }
.newsletter-form button { height: 2.75rem; border-radius: 999px; background: var(--gold); padding: 0 1.5rem; font-size: .875rem; font-weight: 600; color: var(--charcoal); display: inline-flex; align-items: center; gap: .5rem; }
.newsletter-success { display: flex; align-items: center; gap: .75rem; border-radius: 999px; border: 1px solid rgba(184,147,90,.4); background: rgba(184,147,90,.1); padding: .9rem 1.5rem; color: var(--gold); }
.newsletter-fine { font-size: .75rem; color: rgba(252,250,245,.4); }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer { position: relative; overflow: hidden; background: var(--brown); color: rgba(252,250,245,.8); }
.footer-assurances { position: relative; border-bottom: 1px solid rgba(252,250,245,.1); }
.assurance-grid { display: grid; gap: 1.5rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 640px) { .assurance-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
.assurance-item { display: flex; align-items: center; gap: .9rem; }
.assurance-item .ic { display: flex; height: 2.75rem; width: 2.75rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(184,147,90,.3); color: var(--gold); }
.assurance-item strong { display: block; font-size: .875rem; font-weight: 600; color: var(--warm-white); }
.assurance-item span { font-size: .75rem; color: rgba(252,250,245,.5); }

.footer-main { position: relative; padding: 2.5rem 0; }
@media (min-width: 768px) { .footer-main { padding: 4rem 0; } }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { gap: 3rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); } }
.footer-brand { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-brand-row { display: flex; align-items: center; gap: .75rem; }
.footer-om { display: flex; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(184,147,90,.4); font-size: 1.5rem; color: var(--gold); }
.footer-logo-img { height: 3.5rem; width: auto; object-fit: contain; flex-shrink: 0; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--warm-white); }
.footer-brand p.desc { max-width: 22rem; font-size: .875rem; line-height: 1.7; color: rgba(252,250,245,.55); }
.footer-social { display: flex; gap: .75rem; }
.footer-social a { display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(252,250,245,.15); color: rgba(252,250,245,.7); }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h3 { margin-bottom: 1.25rem; font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--warm-white); }
.footer-col ul { display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; }
.footer-col a { color: rgba(252,250,245,.55); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom { position: relative; border-top: 1px solid rgba(252,250,245,.1); }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: .75rem; padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: .75rem; color: rgba(252,250,245,.45); }
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; } }
.footer-bottom-inner .links { display: flex; gap: 1.5rem; }
.footer-bottom-inner a:hover { color: var(--gold); }

/* ===================================================================
   Drawers (cart / wishlist)
   =================================================================== */
.drawer-overlay { position: fixed; inset: 0; z-index: 90; display: none; background: rgba(30,26,21,.45); backdrop-filter: blur(4px); }
.drawer-overlay.open { display: block; }
.drawer { position: fixed; right: 0; top: 0; z-index: 91; display: flex; height: 100%; width: 100%; max-width: 28rem; flex-direction: column; background: var(--warm-white); box-shadow: var(--shadow-luxe); transform: translateX(100%); transition: transform .5s cubic-bezier(.22,1,.36,1); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 1.75rem; }
.drawer-head h2 { font-size: 1.5rem; font-weight: 600; color: var(--brown); }
.drawer-head h2 .count { font-size: 1rem; font-weight: 400; color: var(--muted); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.5rem 1.75rem; }
.drawer-footer { border-top: 1px solid var(--line); padding: 1.75rem; }
.line-item { display: flex; gap: 1rem; }
.line-item + .line-item { margin-top: 1.5rem; }
.line-thumb { position: relative; height: 7rem; width: 6rem; flex-shrink: 0; overflow: hidden; border-radius: 1rem; background: linear-gradient(158deg,#fcfaf5 0%,#f1e7d5 100%); }
.line-thumb img { height: 100%; width: 100%; object-fit: contain; padding: .5rem; }
.line-info { display: flex; flex: 1; flex-direction: column; }
.line-info h3 { font-family: var(--font-display); font-size: .95rem; font-weight: 600; line-height: 1.35; color: var(--brown); }
.line-info .meta { font-size: .75rem; color: var(--muted); }
.line-info .bottom-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.drawer-empty { display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; text-align: center; padding: 3rem 0; }
.drawer-empty .ic { display: grid; place-items: center; height: 4rem; width: 4rem; border-radius: 999px; background: var(--sand); }
.drawer-empty h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--brown); }
.drawer-empty p { max-width: 16rem; font-size: .875rem; color: var(--muted); }

/* ===================================================================
   Quick view modal
   =================================================================== */
.qv-overlay { position: fixed; inset: 0; z-index: 80; display: none; align-items: flex-end; justify-content: center; }
.qv-overlay.open { display: flex; }
@media (min-width: 640px) { .qv-overlay.open { align-items: center; padding: 1.5rem; } }
.qv-backdrop { position: absolute; inset: 0; background: rgba(30,26,21,.5); backdrop-filter: blur(4px); }
/* Mobile: the whole modal scrolls as one unit (image then details), so the
   Add to Bag button is never clipped off-screen below the fold.
   Desktop (768px+): image and details sit side by side, so only the details
   column scrolls independently and the modal itself no longer needs to. */
.qv-modal {
  position: relative; display: grid; width: 100%; max-width: 64rem; grid-template-columns: minmax(0,1fr);
  overflow-y: auto; -webkit-overflow-scrolling: touch; border-radius: 2rem 2rem 0 0;
  background: var(--warm-white); box-shadow: var(--shadow-luxe); max-height: 92vh;
}
@media (min-width: 640px) { .qv-modal { border-radius: 2rem; } }
@media (min-width: 768px) { .qv-modal { grid-template-columns: minmax(0,1fr) minmax(0,1fr); overflow: hidden; } }
/* Fixed (not absolute) on mobile so it stays put in the viewport corner
   even though .qv-modal itself now scrolls as one unit on small screens. */
.qv-close { position: fixed; right: 1.25rem; top: 1.25rem; z-index: 20; display: grid; place-items: center; height: 2.5rem; width: 2.5rem; border-radius: 999px; background: rgba(252,250,245,.9); color: var(--brown); box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .qv-close { position: absolute; right: 1rem; top: 1rem; box-shadow: none; } }
.qv-image { position: relative; aspect-ratio: 1/1; overflow: hidden; background: linear-gradient(158deg,#fcfaf5 0%,#f1e7d5 100%); }
@media (min-width: 768px) { .qv-image { aspect-ratio: auto; } }
.qv-image img { width: 100%; height: 100%; object-fit: contain; padding: 2.5rem; }
.qv-body { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem; }
@media (min-width: 640px) { .qv-body { padding: 2.5rem; } }
@media (min-width: 768px) { .qv-body { max-height: 86vh; overflow-y: auto; } }
.qv-body h2 { font-size: 1.6rem; font-weight: 600; line-height: 1.25; color: var(--brown); }
.qv-body .desc { line-height: 1.7; color: var(--muted); }
.qv-facts { display: flex; flex-direction: column; gap: .6rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; font-size: .875rem; color: rgba(42,36,29,.75); }
.qv-facts li { display: flex; align-items: center; gap: .6rem; }
.qv-facts svg { height: 1rem; width: 1rem; color: var(--gold); flex-shrink: 0; }
.qv-actions { margin-top: .25rem; display: flex; align-items: center; gap: 1rem; }
.qty-stepper { display: flex; align-items: center; gap: .25rem; border-radius: 999px; border: 1px solid var(--line); padding: .25rem; }
.qty-stepper button { display: grid; place-items: center; height: 2.25rem; width: 2.25rem; border-radius: 999px; color: var(--brown); }
.qty-stepper button:hover { background: var(--sand); }
.qty-stepper span { width: 2rem; text-align: center; font-weight: 600; color: var(--brown); }
.qv-add { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; background: var(--charcoal); padding: .9rem 1.5rem; font-size: .875rem; font-weight: 600; color: var(--warm-white); }
.qv-add:hover { background: var(--brown); }
.qv-wish { display: grid; flex-shrink: 0; place-items: center; height: 3rem; width: 3rem; border-radius: 999px; border: 1px solid var(--line); color: var(--brown); }

/* ===================================================================
   Shop page
   =================================================================== */
.shop-hero { background: var(--sand); padding: 3rem 0 2.5rem; text-align: center; }
.shop-filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; padding: 1.5rem 0 3rem; }
.filter-chip { border-radius: 999px; border: 1px solid var(--line); padding: .55rem 1.25rem; font-size: .8rem; font-weight: 500; color: var(--brown); transition: all .2s ease; }
.filter-chip:hover { border-color: var(--gold); color: var(--gold); }
.filter-chip.active { background: var(--brown); border-color: var(--brown); color: var(--warm-white); }
.shop-count { text-align: center; margin-bottom: 2rem; font-size: .875rem; color: var(--muted); }
.empty-state { text-align: center; padding: 5rem 1rem; color: var(--muted); }

/* ===================================================================
   Product detail page
   =================================================================== */
.pdp-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .pdp-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 3rem; align-items: start; } }
@media (min-width: 1024px) { .pdp-grid { gap: 4rem; } }
.pdp-gallery { position: relative; overflow: hidden; border-radius: 1.5rem; background: linear-gradient(158deg,#fcfaf5 0%,#f1e7d5 100%); aspect-ratio: 1/1; }
@media (min-width: 1024px) { .pdp-gallery { border-radius: 2rem; } }
.pdp-gallery img { width: 100%; height: 100%; object-fit: contain; padding: 2rem; }
@media (min-width: 768px) { .pdp-gallery img { padding: 2.5rem; } }
.pdp-info h1 { margin-top: 1rem; font-size: 2rem; font-weight: 600; color: var(--brown); }
@media (min-width: 768px) { .pdp-info h1 { font-size: 2.5rem; } }
.pdp-info .subtitle { margin-top: .5rem; color: var(--muted); }
.pdp-info .rating-row { margin-top: 1rem; }
.pdp-info .price { margin-top: 1.25rem; font-size: 1.75rem; }
.pdp-info .desc { margin-top: 1.5rem; line-height: 1.8; color: rgba(42,36,29,.8); }
.pdp-facts { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .6rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.25rem 0; font-size: .9rem; }
.pdp-facts li { display: flex; align-items: center; gap: .6rem; }
.pdp-facts svg { height: 1.1rem; width: 1.1rem; color: var(--gold); }
.pdp-buy { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.pdp-related { margin-top: 5rem; }

/* ===================================================================
   Cart / Checkout pages
   =================================================================== */
.cart-page-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .cart-page-grid { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); } }
.cart-line-row { display: flex; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line-row .line-thumb { height: 6.5rem; width: 6.5rem; }
.cart-line-row .stepper { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--line); border-radius: 999px; padding: .25rem .5rem; }
.summary-card { border-radius: 1.5rem; border: 1px solid var(--line); background: var(--warm-white); padding: 1.75rem; box-shadow: var(--shadow-soft); }
.summary-row { display: flex; justify-content: space-between; padding: .5rem 0; font-size: .9rem; color: var(--muted); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: 1rem; font-size: 1.15rem; font-weight: 600; color: var(--brown); }

.form-grid { display: grid; gap: 1.1rem; grid-template-columns: minmax(0,1fr); }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .8rem; font-weight: 600; color: var(--brown); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: .85rem; padding: .8rem 1rem; background: var(--warm-white); outline: none; transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field.span-2 { grid-column: 1 / -1; }

.alert { border-radius: 1rem; padding: 1rem 1.25rem; font-size: .875rem; margin-bottom: 1.5rem; }
.alert.success { background: rgba(184,147,90,.12); color: var(--copper); border: 1px solid rgba(184,147,90,.3); }
.alert.error { background: rgba(167,60,48,.08); color: #8a3a2b; border: 1px solid rgba(167,60,48,.25); }

/* ===================================================================
   Reveal-on-scroll animation
   =================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Page hero (shop/product/cart/checkout small pages) */
.page-breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: .75rem; }
.page-breadcrumb a:hover { color: var(--gold); }

/* Simple content page */
.simple-page { padding-top: 4rem; padding-bottom: 6rem; }
.simple-page h1 { font-size: 2rem; color: var(--brown); margin-bottom: 1.5rem; }
.simple-page p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; max-width: 42rem; }
