﻿/* ==========================================================================
   MittiMurti — design system
   Layers: tokens, base, chrome, hero, cards, listing, product/seller pages,
           knowledge pages, decoration/motifs, utilities, responsive
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------- */
:root {
  /* Brand greens */
  --leaf-950: #0c2418;
  --leaf-900: #12331f;
  --leaf-800: #184329;
  --leaf-700: #245b38;
  --leaf-600: #2f7a47;
  --leaf-500: #4a9961;
  --leaf-100: #e5f1df;
  --leaf-50:  #f4f8ee;

  /* Devotional warm accents */
  --saffron:    #e98a19;
  --marigold:   #f4b33b;
  --gold-foil:  #d4a64a;
  --sindoor:    #b53b1f;
  --clay:       #b85f2f;
  --terracotta: #8c4527;

  /* Neutrals */
  --cream:      #fbf7ed;
  --paper:      #f2eadb;
  --paper-warm: #efe6d2;
  --ink:        #172015;
  --muted:      #687064;
  --line:       rgba(23, 32, 21, 0.14);

  /* Shape & motion */
  --shadow-lg:  0 24px 60px rgba(18, 51, 31, 0.16);
  --shadow-md:  0 14px 34px rgba(18, 51, 31, 0.10);
  --shadow-sm:  0 6px 18px rgba(18, 51, 31, 0.06);
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --container:  min(1200px, calc(100vw - 40px));

  /* Type */
  --font-body:    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: var(--font-body);
  --font-accent:  var(--font-body);

  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(1100px 700px at 90% -10%, rgba(244, 179, 59, 0.10), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(47, 122, 71, 0.10), transparent 60%),
    var(--cream);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
svg, video, canvas, iframe { max-width: 100%; }
main, section, article, aside, nav, form, header, footer { min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; max-width: 100%; }
input, select, textarea { min-width: 0; }
pre, code { max-width: 100%; overflow-wrap: anywhere; }
pre { overflow-x: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 750;
  color: var(--leaf-950);
  letter-spacing: 0;
  line-height: 1.08;
}

h1 { font-size: 3.75rem; margin: 0 0 16px; }
h2 { font-size: 2.625rem; margin: 0 0 14px; }
h3 { font-size: 1.5rem; margin: 0 0 10px; }
h4 { font-size: 16px; margin: 0 0 10px; letter-spacing: 0; text-transform: uppercase; color: var(--leaf-800); }

p { margin: 0 0 12px; }

section[id] { scroll-margin-top: 96px; }

/* ---------- Site header (mounted by partials.js) ------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 76px;
  padding: 0 max(20px, calc((100vw - 1200px) / 2));
  color: #fff;
  background: linear-gradient(180deg, rgba(12, 36, 24, 0.96), rgba(12, 36, 24, 0.88));
  border-bottom: 1px solid rgba(212, 166, 74, 0.20);
  backdrop-filter: blur(14px);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-foil), transparent);
  opacity: 0.55;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  min-inline-size: 44px;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}
.brand-mark {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}
.brand-mark svg {
  width: 48px;
  height: 48px;
  display: block;
  overflow: visible;
}
.brand-mark-ring { fill: var(--marigold); }
.brand-mark-field { fill: var(--leaf-900); }
.brand-mark-idol { fill: var(--clay); }
.brand-mark-leaf { fill: var(--marigold); }
.brand-mark-vein {
  fill: none;
  stroke: var(--leaf-900);
  stroke-width: 1.7;
  stroke-linecap: round;
}
.brand-word {
  display: inline-flex;
  align-items: baseline;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand-word-mitti { color: #fff; }
.brand-word-murti { color: var(--marigold); }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  flex: 1;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 2px;
  transition: color 160ms ease;
}
.main-nav a:hover,
.main-nav a:focus-visible { color: #fff; }
.main-nav a[aria-current="page"] {
  color: var(--marigold);
}
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--marigold);
  border-radius: 2px;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  height: 42px;
  padding: 0 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background 160ms ease, border-color 160ms ease;
}
.cart-button:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(244, 179, 59, 0.55); }
.cart-label { display: inline; }
.cart-icon svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor;
  stroke-linecap: round; stroke-linejoin: round; stroke-width: 2;
}
.cart-count {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  color: var(--leaf-950);
  background: var(--marigold);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}
.cart-count.cart-count--zero {
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
}

.mobile-menu-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}
.mobile-menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--leaf-950);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.04);
  animation: kenBurns 28s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1.0) translate3d(0, 0, 0); }
  to   { transform: scale(1.08) translate3d(-2%, -1%, 0); }
}
.hero-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(7, 24, 14, 0.94) 0%, rgba(12, 36, 24, 0.78) 38%, rgba(12, 36, 24, 0.10) 75%),
    linear-gradient(180deg, rgba(12, 36, 24, 0.08), rgba(12, 36, 24, 0.62));
}
.hero-fade::after {
  /* Diya pattern texture overlay */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("svg/diya-tile.svg");
  background-size: 180px 180px;
  opacity: 0.06;
  mix-blend-mode: screen;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding: clamp(72px, 11vh, 132px) 0 clamp(96px, 14vh, 156px);
}
.hero-line,
.section-kicker {
  margin: 0 0 14px;
  color: var(--marigold);
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero h1 {
  color: #fff;
  max-width: 880px;
  font-size: 4.75rem;
  line-height: 1.02;
  letter-spacing: 0;
}
.hero h1 .accent {
  color: var(--marigold);
  font-style: normal;
}
.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.hero-proof span {
  padding: 9px 14px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(212, 166, 74, 0.35);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

/* Toran (marigold garland) under hero */
.hero-toran {
  position: relative;
  height: 32px;
  background: url("svg/toran.svg") center top / 240px 32px repeat-x;
  margin-top: -16px;
  z-index: 2;
}

/* ---------- Buttons ------------------------------------------------------ */
.primary-action,
.secondary-action,
.search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  max-width: 100%;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  white-space: normal;
  transition: transform 180ms ease, box-shadow 220ms ease, background 180ms ease, color 180ms ease;
}
.primary-action,
.search-link {
  color: var(--leaf-950);
  background: var(--marigold);
  border: 1px solid transparent;
  box-shadow: 0 12px 28px rgba(244, 179, 59, 0.32);
}
.primary-action:hover,
.search-link:hover {
  background: #ffc54a;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(244, 179, 59, 0.42);
}
.secondary-action {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.30);
}
.secondary-action:hover { background: rgba(255, 255, 255, 0.14); }
.secondary-action--dark {
  color: var(--leaf-900);
  background: #fff;
  border: 1px solid var(--line);
}
.secondary-action--dark:hover { background: var(--leaf-50); }

/* ---------- Search band -------------------------------------------------- */
.search-band {
  position: relative;
  z-index: 5;
  width: var(--container);
  margin: -40px auto 0;
}
.search-shell {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  background: rgba(251, 247, 237, 0.98);
  border: 1px solid rgba(18, 51, 31, 0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.search-shell::before {
  content: "";
  position: absolute;
  top: -1px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-foil), transparent);
  opacity: 0.7;
}

label {
  display: grid;
  gap: 8px;
}
label span,
.filter-head h3 {
  font-size: 11px;
  font-weight: 700;
  color: var(--leaf-800);
  text-transform: uppercase;
  letter-spacing: 0;
}

input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
textarea { padding: 10px 14px; line-height: 1.55; }
input:focus, select:focus, textarea:focus,
button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(244, 179, 59, 0.45);
  outline-offset: 2px;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--leaf-600);
  box-shadow: 0 0 0 3px rgba(47, 122, 71, 0.10);
}

/* ---------- Generic section --------------------------------------------- */
.section {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(56px, 8vh, 110px) 0 0;
}
.section--alt {
  width: 100%;
  margin: 0;
  padding: clamp(56px, 8vh, 110px) max(20px, calc((100vw - 1200px) / 2));
  background: var(--paper-warm);
  position: relative;
}
.section--alt::before,
.section--alt::after {
  content: "";
  position: absolute;
  left: 10%; right: 10%;
  height: 14px;
  background: url("svg/mandala-divider.svg") center / 300px 14px repeat-x;
  opacity: 0.40;
}
.section--alt::before { top: 16px; }
.section--alt::after  { bottom: 16px; transform: scaleY(-1); }

.section-heading {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}
.section-heading.left { text-align: left; margin-left: 0; margin-right: 0; }
.section-heading.wide {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: 36px;
  max-width: none;
  text-align: left;
  align-items: end;
}
.section-heading p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 6px 0 0;
}

.section-divider {
  width: min(320px, 100%);
  height: 14px;
  margin: 0 auto 28px;
  background: url("svg/mandala-divider.svg") center / 100% 14px no-repeat;
  opacity: 0.55;
  animation: spinDivider 90s linear infinite;
}
@keyframes spinDivider {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .section-divider, .hero-bg { animation: none; }
}

/* ---------- Material strip (home) --------------------------------------- */
.material-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.material-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  min-height: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.material-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 166, 74, 0.5);
  box-shadow: var(--shadow-md);
}
.material-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.material-card strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--leaf-950);
}
.material-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--leaf-700);
  background: var(--leaf-50);
  padding: 4px 10px;
  border-radius: 999px;
}
.material-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.material-card .material-cta {
  align-self: end;
  color: var(--leaf-700);
  font-weight: 700;
  font-size: 14px;
}

/* ---------- City strip --------------------------------------------------- */
.city-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.city-chip {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 220ms ease, border-color 220ms ease;
}
.city-chip:hover {
  transform: translateY(-2px);
  border-color: var(--gold-foil);
}
.city-chip strong {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--leaf-950);
}
.city-chip span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0;
}

/* ---------- Catalog (shop, material, city) ------------------------------ */
.catalog-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.filters {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-head h3 { margin: 0; font-size: 14px; }
.filter-head button {
  color: var(--leaf-700);
  background: transparent;
  border: 0;
  min-height: 40px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.check-row { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.check-row input { width: 22px; min-height: 22px; }
.check-row span { text-transform: none; font-size: 14px; letter-spacing: 0; }
.filter-note {
  padding: 14px;
  background: var(--leaf-50);
  border: 1px solid rgba(47, 122, 71, 0.16);
  border-radius: var(--radius-sm);
}
.filter-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--leaf-800);
  font-size: 13px;
}
.filter-note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.catalog-main { min-width: 0; }
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.catalog-toolbar strong { color: var(--leaf-950); font-size: 16px; }
.catalog-toolbar span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}
.catalog-toolbar select { width: 210px; }

/* ---------- Product card ------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 166, 74, 0.45);
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper);
  display: block;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
  transition: transform 320ms ease;
}
.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.16) 100%);
  pointer-events: none;
}
.product-card:hover .product-media img { transform: scale(1.05); }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.badge--verification {
  position: absolute;
  left: 12px;
  top: 12px;
  color: var(--leaf-950);
  background: rgba(244, 179, 59, 0.96);
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  z-index: 1;
}
.badge--discount {
  position: absolute;
  right: 12px;
  top: 12px;
  color: #fff;
  background: var(--sindoor);
  z-index: 1;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}
.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.product-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.22;
  color: var(--leaf-950);
}
.product-title a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: inherit;
}
.product-title a:hover { color: var(--leaf-700); }

.product-meta,
.seller-meta,
.cart-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
}
.product-meta span,
.seller-meta span,
.cart-row-meta span {
  padding: 4px 10px;
  background: var(--leaf-50);
  border-radius: 999px;
}
.cart-row-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.seller-meta-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 12px;
  background: var(--leaf-50);
  border-radius: 999px;
  color: var(--leaf-800);
  font-weight: 700;
}
.seller-meta-link:hover { background: var(--leaf-100); }

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}
.product-price { display: flex; align-items: baseline; gap: 8px; }
.price {
  font-family: var(--font-accent);
  color: var(--terracotta);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}
.price-mrp {
  color: var(--muted);
  font-size: 13px;
  text-decoration: line-through;
}

.product-actions { display: flex; gap: 8px; }
.product-actions button,
.product-actions .view-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.view-button {
  color: var(--leaf-800);
  background: #fff;
  border: 1px solid var(--line);
}
.view-button:hover { border-color: var(--leaf-600); color: var(--leaf-700); }
.add-button {
  color: #fff;
  background: var(--leaf-700);
  border: 1px solid var(--leaf-700);
  transition: background 160ms ease;
}
.add-button:hover { background: var(--leaf-800); }

.empty-state {
  padding: 36px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

/* ---------- Seller cards (home spotlight) ------------------------------- */
.seller-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.seller-card {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.seller-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.seller-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper);
  display: block;
}
.seller-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96);
}
.seller-card-body {
  display: grid;
  gap: 10px;
  padding: 20px;
}
.seller-card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--leaf-950);
}
.seller-card-body h3 a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.seller-card-body h3 a:hover { color: var(--leaf-700); }
.seller-card-body p { margin: 0; color: var(--muted); line-height: 1.55; }
.seller-card-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--leaf-700);
  font-weight: 700;
}

/* ---------- Trust standard panel ---------------------------------------- */
.standard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.standard-grid article {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.standard-grid article::before {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(244, 179, 59, 0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.standard-grid .marker {
  font-family: var(--font-accent);
  color: var(--saffron);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0;
}
.standard-grid h3 { margin: 0; font-size: 19px; }
.standard-grid p { margin: 0; color: var(--muted); line-height: 1.55; }

/* ---------- Visarjan teaser --------------------------------------------- */
.visarjan-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.visarjan-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.visarjan-image img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
}
.visarjan-copy { display: grid; gap: 16px; }
.care-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.care-list li {
  padding: 14px 16px 14px 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--leaf-900);
  font-weight: 500;
  position: relative;
}
.care-list li::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  background: url("svg/lotus.svg") center / contain no-repeat;
}

/* ---------- Sell with us band ------------------------------------------- */
.sell-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 36px;
  width: var(--container);
  margin: clamp(72px, 10vh, 120px) auto;
  padding: clamp(28px, 4vw, 44px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 51, 31, 0.98), rgba(36, 91, 56, 0.95)),
    var(--leaf-900);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.sell-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("svg/diya-tile.svg");
  background-size: 220px;
  opacity: 0.06;
  mix-blend-mode: screen;
  pointer-events: none;
}
.sell-section h2, .sell-section p { color: #fff; position: relative; }
.sell-section p { color: rgba(255, 255, 255, 0.82); }
.seller-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  position: relative;
}
.seller-form label span { color: rgba(255, 255, 255, 0.82); }
.seller-form input, .seller-form select, .seller-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.96);
}
.seller-form button { width: 100%; }

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 10vh, 120px);
  padding: clamp(64px, 9vh, 96px) max(20px, calc((100vw - 1200px) / 2)) 28px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, var(--leaf-900), var(--leaf-950));
  overflow: hidden;
}
.footer-toran {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 32px;
  background: url("svg/toran.svg") center top / 240px 32px repeat-x;
  opacity: 0.92;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr 1fr;
  gap: 28px;
  width: min(1280px, 100%);
  margin: 0 auto;
}
.brand--footer { color: #fff; }
.brand--footer .brand-word-mitti { color: #fff; }
.brand--footer .brand-word-murti { color: var(--marigold); }
.footer-brand p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
  max-width: 380px;
}
.footer-mantra {
  margin-top: 12px !important;
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--marigold) !important;
}
.footer-col {
  display: grid;
  align-content: start;
  gap: 8px;
}
.footer-col h4 {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  letter-spacing: 0;
  margin-bottom: 4px;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  padding: 6px 0;
  transition: color 160ms ease;
}
.footer-col a:hover { color: var(--marigold); }
.footer-bottom {
  width: min(1200px, 100%);
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: grid;
  gap: 6px;
}
.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}
.footer-note {
  font-family: var(--font-accent);
  font-style: italic;
}

/* ---------- Breadcrumbs ------------------------------------------------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 24px 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  min-width: 40px;
  color: var(--leaf-700);
  font-weight: 600;
}
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .crumb-sep { color: var(--gold-foil); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Product detail page ---------------------------------------- */
.page-shell {
  width: var(--container);
  margin: 0 auto;
  padding: 32px 0 64px;
}
.product-page {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 12px;
}
.product-page-gallery {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 96px;
  align-self: start;
}
.gallery-hero {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.gallery-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
}
.gallery-hero .badge--verification {
  left: 14px; top: 14px;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gallery-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  background: var(--paper);
  padding: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active { border-color: var(--gold-foil); }
.gallery-thumb:hover { border-color: rgba(212, 166, 74, 0.5); }

.product-page-body { display: grid; gap: 18px; align-content: start; }
.product-page-body h1 {
  font-size: 2.875rem;
  margin: 4px 0 8px;
}
.product-page-body .lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge-row .badge--verification {
  position: static;
  box-shadow: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--leaf-50);
  color: var(--leaf-800);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(47, 122, 71, 0.16);
}
.price-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.price-block .price { font-size: 30px; }
.price-block .price-mrp { font-size: 15px; margin-left: 8px; }
.lead-time {
  color: var(--muted);
  font-size: 14px;
  margin: -4px 0 8px;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.spec {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.spec span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.spec strong { color: var(--leaf-950); line-height: 1.35; font-weight: 600; }

.seller-strip {
  display: grid;
  grid-template-columns: 80px 1fr 24px;
  gap: 18px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 220ms ease, transform 220ms ease;
}
.seller-strip:hover { border-color: var(--gold-foil); transform: translateX(2px); }
.seller-strip img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.seller-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--leaf-950);
  margin-bottom: 4px;
}
.seller-strip span { color: var(--muted); font-size: 13px; }
.seller-strip p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.seller-strip-arrow {
  font-size: 22px;
  color: var(--leaf-700);
}

.video-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--leaf-900);
  color: #fff;
  border-radius: var(--radius);
}
.video-card h3 { color: #fff; margin: 0; font-size: 18px; }
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--leaf-950);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.related-section { margin-top: 64px; }
.related-section h2 { text-align: left; margin-bottom: 24px; }

/* ---------- Seller page ------------------------------------------------- */
.seller-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
  margin-top: 14px;
}
.seller-hero-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 96px;
}
.seller-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.96);
}
.seller-hero-body { display: grid; gap: 18px; align-content: start; }
.seller-hero-body h1 { font-size: 3.375rem; margin: 4px 0; }
.seller-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.seller-stats > div {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 4px;
}
.seller-stats strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--leaf-950);
}
.seller-stats span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: uppercase;
}
.seller-fulfilment {
  padding: 14px;
  background: var(--leaf-50);
  border: 1px solid rgba(47, 122, 71, 0.18);
  border-radius: var(--radius-sm);
  color: var(--leaf-800);
  font-size: 14px;
}

.seller-listings { margin-top: 72px; }
.seller-listings h2 { margin-bottom: 24px; text-align: left; }
.seller-gallery { margin-top: 72px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.gallery-grid img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  filter: saturate(0.96);
}
.seller-video { margin-top: 72px; }
.seller-video h2 { margin-bottom: 18px; text-align: left; }
.seller-video p.muted { margin-top: 12px; color: var(--muted); font-size: 14px; }

.seller-bulk {
  margin-top: 72px;
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.seller-bulk h2 { margin-bottom: 14px; text-align: left; }
.bulk-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.bulk-form .full { grid-column: 1 / -1; }
.bulk-form button { width: 100%; grid-column: 1 / -1; }

/* ---------- Cart page --------------------------------------------------- */
.cart-empty-state {
  padding: 56px 24px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.cart-empty-state h1 { margin-bottom: 12px; }
.cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 380px);
  gap: 32px;
  margin-top: 18px;
}
.cart-lines { display: grid; gap: 14px; }
.cart-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cart-row-media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--paper);
}
.cart-row-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 19px;
}
.cart-row-body h3 a { color: var(--leaf-950); }
.cart-row-body h3 a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.cart-row-body h3 a:hover { color: var(--leaf-700); }
.cart-row-body .muted { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.cart-row-price {
  display: grid;
  gap: 6px;
  text-align: right;
}
.cart-row-price strong {
  font-family: var(--font-accent);
  font-size: 20px;
  color: var(--terracotta);
}
.cart-row-price button {
  background: transparent;
  color: var(--sindoor);
  border: 0;
  min-height: 40px;
  padding: 0 4px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-summary-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 14px;
}
.cart-summary-card h2 { margin: 0 0 6px; text-align: left; }
.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}
.cart-summary-card hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.cart-summary-card .muted { color: var(--muted); font-size: 13px; line-height: 1.55; }
.cart-summary-card .primary-action,
.cart-summary-card .secondary-action--dark { width: 100%; }

/* ---------- Knowledge / article pages ----------------------------------- */
.article-shell {
  width: min(820px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 32px 0 64px;
}
.article-shell h1 { font-size: 3.25rem; }
.article-shell h2 { margin-top: 40px; font-size: 2rem; }
.article-shell h3 { margin-top: 24px; font-size: 20px; }
.article-shell .lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 20px;
}
.article-shell p { font-size: 16px; line-height: 1.75; color: var(--ink); }
.article-shell ul, .article-shell ol {
  padding-left: 22px;
  margin: 12px 0 20px;
}
.article-shell li {
  margin-bottom: 10px;
  line-height: 1.65;
}
.article-shell li::marker { color: var(--gold-foil); }

.callout {
  margin: 24px 0;
  padding: 22px 24px;
  background: var(--leaf-50);
  border-left: 4px solid var(--leaf-600);
  border-radius: var(--radius-sm);
}
.callout strong { color: var(--leaf-800); }
.callout.callout--warn {
  background: rgba(181, 59, 31, 0.06);
  border-left-color: var(--sindoor);
}
.callout.callout--warn strong { color: var(--sindoor); }

.faq details {
  margin-bottom: 12px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--leaf-950);
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--gold-foil);
  font-size: 22px;
  font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--muted); line-height: 1.7; }

.page-empty {
  text-align: center;
  padding: 80px 20px;
}

/* ---------- Category landing page (material / city) --------------------- */
.category-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--leaf-950);
  padding: clamp(56px, 9vh, 110px) max(20px, calc((100vw - 1200px) / 2)) clamp(48px, 7vh, 80px);
  isolation: isolate;
}
.category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(7, 24, 14, 0.86) 0%, rgba(12, 36, 24, 0.78) 60%, rgba(36, 91, 56, 0.78) 100%);
}
.category-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("svg/diya-tile.svg");
  background-size: 200px;
  opacity: 0.06;
  mix-blend-mode: screen;
  pointer-events: none;
}
.category-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
  max-width: 820px;
}
.category-hero h1 { color: #fff; font-size: 3.75rem; }
.category-hero .lead { color: rgba(255, 255, 255, 0.85); font-size: 1.125rem; }
.category-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.category-stats > div {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(212, 166, 74, 0.35);
  border-radius: var(--radius-sm);
}
.category-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--marigold);
}
.category-stats span { font-size: 12px; text-transform: uppercase; letter-spacing: 0; color: rgba(255, 255, 255, 0.78); }

.category-intro {
  width: var(--container);
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 36px;
}
.category-intro p { font-size: 16.5px; line-height: 1.75; color: var(--ink); }
.category-intro .aside {
  padding: 22px;
  background: var(--leaf-50);
  border: 1px solid rgba(47, 122, 71, 0.18);
  border-radius: var(--radius);
}
.category-intro .aside h3 { margin: 0 0 10px; font-size: 16px; }
.category-intro .aside ul { margin: 0; padding-left: 20px; }
.category-intro .aside li { margin-bottom: 6px; font-size: 14px; }
.category-intro .aside a { color: var(--leaf-700); font-weight: 700; }
.category-intro .aside a:hover { text-decoration: underline; }

.category-listing {
  width: var(--container);
  margin: 56px auto;
}
.category-listing > h2 { text-align: left; margin-bottom: 24px; }

/* ---------- Trust stats banner ----------------------------------------- */
.trust-stats {
  width: var(--container);
  margin: clamp(40px, 6vh, 72px) auto 0;
}
.trust-stats-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  background: linear-gradient(180deg, #fff, var(--leaf-50));
  border: 1px solid rgba(47, 122, 71, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.trust-stats-inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-foil), transparent);
}
.trust-stats-inner > div {
  display: grid;
  gap: 6px;
  padding: 8px 14px;
  border-right: 1px solid rgba(47, 122, 71, 0.12);
}
.trust-stats-inner > div:last-child { border-right: 0; }
.trust-stats-inner strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--leaf-950);
  letter-spacing: 0;
}
.trust-stats-inner span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
@media (max-width: 1040px) {
  .trust-stats-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-stats-inner > div { border-right: 0; border-bottom: 1px solid rgba(47, 122, 71, 0.12); padding-bottom: 12px; }
}

/* ---------- Process steps (5-step "how it works") ---------------------- */
.process-steps {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  counter-reset: process;
}
.process-steps li {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  transition: transform 220ms ease, border-color 220ms ease;
}
.process-steps li:hover { transform: translateY(-3px); border-color: var(--gold-foil); }
.process-num {
  font-family: var(--font-accent);
  color: var(--saffron);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
}
.process-steps h3 {
  font-size: 17px;
  font-family: var(--font-display);
  margin: 0;
}
.process-steps p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}
.process-steps p a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--leaf-700);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}
@media (max-width: 1040px) {
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ---------- Quad grid (designs / decor / workshops / bulk) ------------- */
.quad-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.quad-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.quad-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--marigold), var(--gold-foil));
  opacity: 0.85;
}
.quad-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-foil);
  box-shadow: var(--shadow-md);
}
.quad-card strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--leaf-950);
}
.quad-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.quad-card span {
  color: var(--leaf-700);
  font-weight: 700;
  font-size: 14px;
}
@media (max-width: 1040px) {
  .quad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .quad-grid { grid-template-columns: 1fr; }
}

/* ---------- Apply form (sell-with-us, bulk, workshops) ----------------- */
.apply-form-wrap {
  width: min(880px, calc(100vw - 40px));
  margin: 32px auto 0;
}
.apply-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.apply-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--marigold), var(--gold-foil), var(--leaf-600));
}
.apply-form-header {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}
.apply-form-header h2 {
  margin: 0;
  text-align: left;
  font-size: 1.875rem;
}
.apply-form-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.apply-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.apply-field {
  display: grid;
  gap: 6px;
}
.apply-field--full { grid-column: 1 / -1; }
.apply-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--leaf-800);
  letter-spacing: 0;
  text-transform: uppercase;
}
.apply-field .req {
  color: var(--sindoor);
  font-size: 14px;
  line-height: 1;
}
.apply-field .opt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  margin-left: auto;
}
.apply-field input,
.apply-field select,
.apply-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.apply-field textarea {
  padding: 12px 14px;
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}
.apply-field input:hover,
.apply-field select:hover,
.apply-field textarea:hover {
  border-color: rgba(212, 166, 74, 0.55);
}
.apply-field input:focus,
.apply-field select:focus,
.apply-field textarea:focus {
  border-color: var(--leaf-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 122, 71, 0.10);
}
.apply-field input:invalid:not(:placeholder-shown),
.apply-field select:invalid {
  border-color: rgba(181, 59, 31, 0.45);
}
.apply-field .helper {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 2px;
}
.apply-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px 16px;
  background: var(--leaf-50);
  border: 1px solid rgba(47, 122, 71, 0.18);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--leaf-900);
}
.apply-check input {
  width: 22px;
  min-width: 22px;
  max-width: 22px;
  height: 22px;
  inline-size: 22px;
  min-inline-size: 22px;
  max-inline-size: 22px;
  margin-top: 0;
  justify-self: start;
  accent-color: var(--leaf-700);
}
.apply-check a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--leaf-700);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}
.apply-submit-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 4px;
}
.apply-submit-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.apply-submit-row .primary-action {
  min-width: 200px;
  min-height: 52px;
}
.apply-success {
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(180deg, #fff, var(--leaf-50));
  border: 1px solid rgba(47, 122, 71, 0.30);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.apply-success-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--leaf-600);
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(47, 122, 71, 0.35);
}
.apply-success h2 {
  margin: 0;
  font-size: 2.25rem;
}
.apply-success p {
  margin: 0;
  max-width: 540px;
  color: var(--muted);
  line-height: 1.65;
}
.apply-success a {
  color: var(--leaf-700);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}
.apply-success-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}
@media (max-width: 720px) {
  .apply-form-grid { grid-template-columns: 1fr; }
  .apply-submit-row { grid-template-columns: 1fr; }
  .apply-submit-row .primary-action { width: 100%; }
}

/* ---------- WhatsApp floating button ----------------------------------- */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.42);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.55);
}
.wa-float svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 1320px) {
  .wa-float { display: none; }
}
@media (max-width: 520px) {
  .wa-float {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 12px 14px;
  }
  .wa-float .wa-label { display: none; }
}

/* ---------- Related band + last-updated (auto-injected) ----------------- */
.related-band {
  width: min(820px, calc(100vw - 40px));
  margin: clamp(56px, 8vh, 96px) auto 24px;
  padding: 28px;
  background: var(--paper-warm);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.related-band h2 {
  margin: 0 0 18px;
  font-size: 1.625rem;
  text-align: left;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.related-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--leaf-900);
  font-weight: 600;
  font-size: 14px;
  transition: border-color 220ms ease, transform 220ms ease;
}
.related-link:hover {
  border-color: var(--gold-foil);
  transform: translateX(2px);
}
.related-link span:last-child {
  color: var(--gold-foil);
  font-size: 18px;
}
.last-updated {
  width: min(820px, calc(100vw - 40px));
  margin: 24px auto;
  padding: 16px 20px;
  background: var(--leaf-50);
  border: 1px solid rgba(47, 122, 71, 0.18);
  border-radius: var(--radius-sm);
  color: var(--leaf-800);
  font-size: 14px;
  line-height: 1.55;
}
.last-updated-icon {
  color: var(--leaf-600);
  margin-right: 6px;
}
.last-updated a {
  color: var(--leaf-700);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}
@media (max-width: 1040px) {
  .related-band { padding: 22px; }
}

/* ---------- Toast ------------------------------------------------------- */
.eco-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 100;
  transform: translate(-50%, 20px);
  padding: 12px 20px;
  background: var(--leaf-900);
  color: #fff;
  border-radius: 999px;
  border: 1px solid var(--gold-foil);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: transform 280ms ease, opacity 280ms ease;
  box-shadow: var(--shadow-lg);
}
.eco-toast--show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Reveal on scroll ------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 1040px) {
  .main-nav { display: none; }
  .main-nav.main-nav--open {
    display: grid;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    gap: 4px;
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px max(20px, calc((100vw - 1200px) / 2));
    background: var(--leaf-950);
    border-bottom: 1px solid rgba(212, 166, 74, 0.30);
  }
  .mobile-menu-toggle { display: inline-flex; }
  .search-shell,
  .section-heading.wide,
  .catalog-layout,
  .visarjan-section,
  .sell-section,
  .footer-inner,
  .product-page,
  .seller-hero,
  .category-intro,
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .filters,
  .product-page-gallery,
  .seller-hero-media,
  .cart-summary-card {
    position: static;
  }
  .product-grid,
  .standard-grid,
  .material-grid,
  .seller-grid,
  .city-strip,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-inner { gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --container: min(100vw - 24px, 1200px); }
  .site-header { height: 66px; padding-inline: 14px; }
  .main-nav.main-nav--open {
    top: 66px;
    max-height: calc(100vh - 66px);
    max-height: calc(100dvh - 66px);
  }
  .brand-word { display: none; }
  .hero-content { padding: 64px 0 84px; }
  h1 { font-size: 2.375rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.375rem; }
  .hero h1 { font-size: 2.875rem; }
  .hero-copy { font-size: 16px; }
  .hero-actions,
  .cta-row,
  .apply-success-cta {
    align-items: stretch;
  }
  .hero-actions .primary-action,
  .hero-actions .secondary-action,
  .cta-row .primary-action,
  .cta-row .secondary-action,
  .apply-success-cta .primary-action,
  .apply-success-cta .secondary-action {
    flex: 1 1 100%;
  }
  .search-band { margin-top: 16px; }
  .search-shell { padding: 14px; gap: 12px; }
  .search-link { width: 100%; }
  .page-shell { padding: 24px 0 56px; }
  .article-shell,
  .related-band,
  .last-updated {
    width: min(820px, calc(100vw - 24px));
  }
  .apply-form-wrap { width: min(880px, calc(100vw - 24px)); }
  .section--alt {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section { padding-top: 56px; }
  .breadcrumbs {
    gap: 6px;
    margin: 16px 0;
  }
  .breadcrumbs a {
    min-width: 40px;
    min-height: 40px;
  }
  .product-page-body h1,
  .seller-hero-body h1,
  .article-shell h1,
  .category-hero h1 { font-size: 2.375rem; }
  .article-shell h2,
  .apply-success h2 { font-size: 1.75rem; }
  .apply-form-header h2,
  .related-band h2 { font-size: 1.5rem; }
  .trust-stats-inner strong { font-size: 1.5rem; }
  .product-grid,
  .standard-grid,
  .material-grid,
  .seller-grid,
  .city-strip,
  .gallery-grid,
  .seller-stats {
    grid-template-columns: 1fr;
  }
  .city-strip { grid-template-columns: repeat(2, 1fr); }
  .detail-specs { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 80px 1fr; }
  .cart-row-price { grid-column: 1 / -1; text-align: left; }
  .bulk-form { grid-template-columns: 1fr; }
  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .catalog-toolbar select { width: 100%; }
  .category-hero {
    padding-left: 12px;
    padding-right: 12px;
  }
  .category-listing { margin-block: 44px; }
  .footer-inner { gap: 18px; }
  .footer-bottom { margin-top: 40px; }
}

@media (max-width: 520px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.75rem; }
  .hero h1,
  .category-hero h1,
  .product-page-body h1,
  .seller-hero-body h1,
  .article-shell h1 {
    font-size: 2.2rem;
  }
  .hero-copy,
  .category-hero .lead,
  .article-shell .lead,
  .product-page-body .lead {
    font-size: 16px;
  }
  .primary-action,
  .secondary-action,
  .search-link {
    width: 100%;
    padding-inline: 16px;
  }
  .product-bottom,
  .price-block {
    flex-direction: column;
    align-items: stretch;
  }
  .product-price { flex-wrap: wrap; }
  .product-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .product-actions button,
  .product-actions .view-button {
    flex: 1 1 0;
    padding-inline: 12px;
  }
  .badge--verification { max-width: calc(100% - 24px); }
  .product-body,
  .seller-card-body {
    padding: 16px;
  }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .seller-strip {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }
  .seller-strip img {
    width: 64px;
    height: 64px;
  }
  .seller-strip-arrow { display: none; }
  .seller-stats,
  .trust-stats-inner {
    grid-template-columns: 1fr;
  }
  .trust-stats-inner { padding: 16px; }
  .trust-stats-inner > div {
    border-right: 0;
    border-bottom: 1px solid rgba(47, 122, 71, 0.12);
  }
  .trust-stats-inner > div:last-child { border-bottom: 0; }
  .category-stats > div { flex: 1 1 100%; }
  .cart-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
  .cart-summary-row {
    gap: 12px;
    align-items: flex-start;
  }
  .callout,
  .faq details,
  .related-band {
    padding: 18px;
  }
  .last-updated { padding: 14px 16px; }
  .apply-check {
    grid-template-columns: 22px minmax(0, 1fr);
    padding: 12px;
  }
  .apply-check input {
    width: 22px;
    min-width: 22px;
    max-width: 22px;
    height: 22px;
    inline-size: 22px;
    min-inline-size: 22px;
    max-inline-size: 22px;
  }
  .eco-toast {
    width: calc(100vw - 24px);
    border-radius: var(--radius-sm);
    text-align: center;
  }
}

@media (max-width: 380px) {
  :root { --container: min(100vw - 20px, 1200px); }
  .site-header {
    gap: 8px;
    padding-inline: 10px;
  }
  .brand-mark {
    width: 42px;
    height: 42px;
  }
  .brand-mark svg {
    width: 42px;
    height: 42px;
  }
  .cart-button {
    gap: 6px;
    padding-inline: 10px;
  }
  .cart-label { display: none; }
  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
  }
  h1,
  .hero h1,
  .category-hero h1,
  .product-page-body h1,
  .seller-hero-body h1,
  .article-shell h1 {
    font-size: 2rem;
  }
  h2 { font-size: 1.6rem; }
  .product-actions { flex-direction: column; }
  .seller-strip { grid-template-columns: 1fr; }
  .seller-strip img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .cart-row { grid-template-columns: 1fr; }
  .cart-row-media {
    width: 100%;
    max-width: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}
