/*
 * Temple City அங்காடி: storefront styles (see design-system/MASTER.md).
 *
 * Colour rule (client): one colour family, the blue of the Temple City logo.
 * Secondary colours are shades of that blue; a muted orange is for rare
 * decoration only; "leaf" (success) is a blue too; "danger" is a muted red for
 * errors only. Colours are RGB channels so they can take an alpha:
 * rgb(var(--c-primary) / 0.5).
 *
 * Contents: 1 tokens · 2 base · 3 layout & type · 4 controls · 5 feedback ·
 * 6 dialogs · 7 header & footer · 8 products · 9 cart · 10 pages · 11 motion
 */

/* 1. Tokens ------------------------------------------------------------------ */

/* Theme A, "Temple Indigo" (default): warm porcelain, deep logo indigo. */
:root,
[data-theme='A'] {
  --c-bg: 246 243 238; /* #F6F3EE warm porcelain */
  --c-surface: 255 253 250;
  --c-surface-2: 238 235 230; /* wells */
  --c-surface-3: 228 224 217;
  --c-ink: 30 29 42; /* #1E1D2A */
  --c-ink-2: 85 83 102;
  --c-ink-3: 108 106 124; /* 4.8:1 on porcelain */
  --c-line: 226 221 212;
  --c-line-strong: 201 194 182;
  --c-primary: 46 48 135; /* #2E3087 Temple City logo indigo */
  --c-primary-strong: 31 33 96; /* #1F2160 */
  --c-primary-soft: 231 232 245;
  --c-primary-ink: 255 255 255;
  --c-accent: 180 119 75; /* muted terracotta, decoration only */
  --c-accent-soft: 241 230 220;
  --c-accent-ink: 138 85 50;
  --c-leaf: 61 86 166; /* secondary blue (success) */
  --c-leaf-soft: 230 235 247;
  --c-danger: 163 58 50;
  --c-danger-soft: 246 227 224;
  --c-warn: 140 98 44; /* muted amber */
  --c-warn-soft: 244 236 222;
  --c-sky: 167 190 229;
  --c-clay: 62 56 92; /* indigo-grey shadow tint */
  --c-clay-1: 240 240 249; /* secondary clay surfaces: three shades of the logo indigo */
  --c-clay-2: 232 233 246;
  --c-clay-3: 224 226 243;
  --radius-card: 26px;
}

/* Theme B, "Porcelain Blue": cool white, brighter royal blue, sky-blue surfaces. */
[data-theme='B'] {
  --c-bg: 243 246 251;
  --c-surface: 255 255 255;
  --c-surface-2: 231 237 246;
  --c-surface-3: 218 227 240;
  --c-ink: 20 32 54;
  --c-ink-2: 77 91 117;
  --c-ink-3: 95 108 134; /* 5:1 on bg */
  --c-line: 220 227 238;
  --c-line-strong: 189 200 217;
  --c-primary: 36 67 154; /* #24439A royal blue */
  --c-primary-strong: 23 45 107; /* #172D6B */
  --c-primary-soft: 227 234 248;
  --c-primary-ink: 255 255 255;
  --c-accent: 192 138 98; /* soft sand-orange, decoration only */
  --c-accent-soft: 245 235 226;
  --c-accent-ink: 142 91 54;
  --c-leaf: 47 109 181;
  --c-leaf-soft: 226 238 250;
  --c-danger: 176 58 66;
  --c-danger-soft: 251 231 233;
  --c-warn: 140 98 36;
  --c-warn-soft: 247 238 220;
  --c-sky: 167 190 229;
  --c-clay: 38 56 104;
  --c-clay-1: 238 243 251;
  --c-clay-2: 229 237 249;
  --c-clay-3: 218 230 246;
  --radius-card: 26px;
}

/*
 * Claymorphism, shared by both themes: every raised surface is "inflated"
 * (light inner highlight top-left, soft inner shade bottom-right, warm offset
 * drop shadow). Wells are the same thing pressed inwards.
 */
:root {
  --shadow-clay-sm: inset 2px 2px 4px rgb(255 255 255 / 0.85), inset -2px -3px 6px rgb(var(--c-clay) / 0.1), 3px 5px 10px -2px rgb(var(--c-clay) / 0.2), 0 1px 2px rgb(var(--c-clay) / 0.06);
  --shadow-clay: inset 4px 4px 9px rgb(255 255 255 / 0.9), inset -5px -7px 14px rgb(var(--c-clay) / 0.1), 8px 12px 26px -8px rgb(var(--c-clay) / 0.28), 1px 2px 5px rgb(var(--c-clay) / 0.08);
  --shadow-clay-lg: inset 5px 5px 11px rgb(255 255 255 / 0.9), inset -6px -9px 18px rgb(var(--c-clay) / 0.12), 12px 20px 40px -10px rgb(var(--c-clay) / 0.34), 2px 4px 8px rgb(var(--c-clay) / 0.1);
  --shadow-well: inset 3px 4px 8px rgb(var(--c-clay) / 0.15), inset -3px -3px 6px rgb(255 255 255 / 0.85);
  --shadow-clay-primary: inset 3px 3px 6px rgb(255 255 255 / 0.28), inset -3px -4px 8px rgb(0 0 0 / 0.3), 5px 9px 18px -5px rgb(var(--c-primary) / 0.55);
  --shadow-blob: inset 2px 2px 4px rgb(255 255 255 / 0.95), inset -3px -4px 7px rgb(var(--c-clay) / 0.14), 3px 5px 10px -3px rgb(var(--c-clay) / 0.28);

  --font-sans: Manrope, 'Hind Madurai', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cormorant Garamond', 'Hind Madurai', Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --display-xl: clamp(2.6rem, 5.4vw, 4.75rem);
  --display-lg: clamp(2.25rem, 4vw, 3.5rem);
  --display-md: clamp(1.9rem, 3vw, 2.75rem);
  --display-sm: clamp(1.5rem, 2.2vw, 1.9rem);

  /* Floating controls sit above sticky mobile bars (body.has-sticky-bar). */
  --floating-bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
}
body.has-sticky-bar {
  --floating-bottom: calc(env(safe-area-inset-bottom, 0px) + 92px);
}
@media (min-width: 1024px) {
  body.has-sticky-bar {
    --floating-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  }
}

/* 2. Base -------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid rgb(var(--c-line));
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
html:has(dialog[open]) {
  overflow: hidden;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgb(var(--c-bg));
  color: rgb(var(--c-ink));
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv05';
}
main {
  flex: 1;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ol,
ul,
pre {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-size: inherit;
  font-weight: inherit;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: balance;
}
ol,
ul {
  list-style: none;
  padding: 0;
}
img,
svg,
video,
iframe {
  display: block;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  margin: 0;
  letter-spacing: inherit;
}
button {
  background: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: not-allowed;
}
table {
  border-collapse: collapse;
}
address {
  font-style: normal;
}
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend {
  padding: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid rgb(var(--c-primary));
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: rgb(var(--c-primary) / 0.14);
}
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  stroke-width: 1.5px; /* finer, consistent strokes across the UI */
}
.i-12 { width: 12px; height: 12px; }
.i-14 { width: 14px; height: 14px; }
.i-15 { width: 15px; height: 15px; }
.i-16 { width: 16px; height: 16px; }
.i-17 { width: 17px; height: 17px; }
.i-18 { width: 18px; height: 18px; }
.i-20 { width: 20px; height: 20px; }
.i-22 { width: 22px; height: 22px; }
.i-24 { width: 24px; height: 24px; }
.i-32 { width: 32px; height: 32px; }
.spin {
  animation: spin 0.8s linear infinite;
}

/* 3. Layout & type ------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 20px;
}
.section {
  padding-block: 64px;
}
.section.pt-0 {
  padding-top: 0;
}
@media (min-width: 640px) {
  .container { padding-inline: 32px; }
  .section { padding-block: 80px; }
}
@media (min-width: 1024px) {
  .container { padding-inline: 40px; }
  .section { padding-block: 96px; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 80;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgb(var(--c-surface));
  box-shadow: var(--shadow-clay-lg);
}

/* Small caps label: used sparingly, never above every section. */
.kicker {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgb(var(--c-ink-3));
}
.display-xl { font-family: var(--font-display); font-size: var(--display-xl); line-height: 1.02; letter-spacing: -0.012em; font-weight: 600; }
.display-lg { font-family: var(--font-display); font-size: var(--display-lg); line-height: 1.05; letter-spacing: -0.01em; font-weight: 600; }
.display-md { font-family: var(--font-display); font-size: var(--display-md); line-height: 1.08; letter-spacing: -0.008em; font-weight: 600; }
.display-sm { font-family: var(--font-display); font-size: var(--display-sm); line-height: 1.15; font-weight: 600; }
.serif { font-family: var(--font-display); }
.heading-2xl { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; font-weight: 600; color: rgb(var(--c-ink)); }
.lead {
  font-size: 15px;
  color: rgb(var(--c-ink-2));
}
@media (min-width: 640px) {
  .lead { font-size: 16px; }
}

/* Understated underline link. */
.link {
  font-weight: 600;
  color: rgb(var(--c-primary));
  text-decoration: underline;
  text-decoration-color: rgb(var(--c-primary) / 0.3);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s;
}
.link:hover {
  text-decoration-color: rgb(var(--c-primary));
}
/* Text link with a rule that retracts on hover. */
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--c-ink));
}
.text-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.text-link:hover::after {
  transform: scaleX(0);
}
.no-scrollbar {
  scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Small utilities used across pages. */
.text-xs { font-size: 12px; line-height: 1.5; }
.text-sm { font-size: 14px; line-height: 1.45; }
.text-13 { font-size: 13px; }
.text-15 { font-size: 15px; }
.text-ink { color: rgb(var(--c-ink)); }
.text-ink-2 { color: rgb(var(--c-ink-2)); }
.text-ink-3 { color: rgb(var(--c-ink-3)); }
.text-primary { color: rgb(var(--c-primary)); }
.text-leaf { color: rgb(var(--c-leaf)); }
.text-danger { color: rgb(var(--c-danger)); }
.text-warn { color: rgb(var(--c-warn)); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.mono { font-family: var(--font-mono); }
.tabular { font-variant-numeric: tabular-nums; }
.uppercase { text-transform: uppercase; letter-spacing: 0.025em; }
.underline { text-decoration: underline; text-underline-offset: 3px; }
.break-all { word-break: break-all; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-full { width: 100%; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.pt-5 { padding-top: 20px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.row-tight { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.row-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.stack-2 > * + * { margin-top: 8px; }
.stack-3 > * + * { margin-top: 12px; }
.stack-4 > * + * { margin-top: 16px; }
.stack-5 > * + * { margin-top: 20px; }
.stack-6 > * + * { margin-top: 24px; }
.grid-2-tight { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) {
  .form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: span 2; }
}

/* 4. Controls ----------------------------------------------------------------- */

/*
 * Soft-clay pill buttons: raised, lit from above, pressed in on click.
 * One indigo (primary) button per view; "whatsapp" keeps a light body so
 * indigo stays the only dark highlight.
 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  pointer-events: none;
  opacity: 0.45;
}
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 32px; font-size: 15px; }
.btn-icon { width: 40px; height: 40px; padding: 0; }
.btn-block { display: flex; width: 100%; }
.btn-compact { padding-inline: 12px; font-size: 13px; }
.btn-primary {
  background-color: rgb(var(--c-primary));
  background-image: linear-gradient(to bottom, rgb(255 255 255 / 0.12), transparent);
  color: rgb(var(--c-primary-ink));
  box-shadow: var(--shadow-clay-primary);
}
.btn-primary:hover { background-color: rgb(var(--c-primary-strong)); }
.btn-primary:active { box-shadow: var(--shadow-well); }
.btn-secondary {
  background: rgb(var(--c-surface));
  color: rgb(var(--c-ink));
  box-shadow: var(--shadow-clay-sm);
}
.btn-secondary:hover { color: rgb(var(--c-primary)); box-shadow: var(--shadow-clay); }
.btn-secondary:active { box-shadow: var(--shadow-well); }
.btn-outline {
  border: 1px solid rgb(var(--c-line-strong));
  background: rgb(var(--c-surface));
  color: rgb(var(--c-ink));
}
.btn-outline:hover { border-color: rgb(var(--c-ink) / 0.5); }
.btn-ghost { color: rgb(var(--c-ink-2)); }
.btn-ghost:hover { background: rgb(var(--c-surface-2)); color: rgb(var(--c-ink)); }
.btn-soft {
  background: rgb(var(--c-primary-soft));
  color: rgb(var(--c-primary));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7);
}
.btn-soft:hover { background: rgb(var(--c-primary)); color: rgb(var(--c-primary-ink)); }
.btn-danger { background: rgb(var(--c-danger)); color: #fff; }
.btn-danger:hover { background: rgb(var(--c-danger) / 0.9); }
/* WhatsApp actions use the brand blue (client: one colour family). */
.btn-whatsapp {
  background: rgb(var(--c-surface));
  color: rgb(var(--c-ink));
  box-shadow: var(--shadow-clay-sm);
}
.btn-whatsapp > .icon { color: rgb(var(--c-primary)); }
.btn-whatsapp:hover { background: rgb(var(--c-primary)); color: #fff; box-shadow: var(--shadow-clay); }
.btn-whatsapp:hover > .icon { color: #fff; }
.btn-whatsapp:active { box-shadow: var(--shadow-well); }
.btn-inverse { background: #fff; color: rgb(var(--c-primary-strong)); box-shadow: var(--shadow-clay-sm); }
.btn-inverse:hover { background: rgb(255 255 255 / 0.9); }
.btn.is-busy > .icon:not(.btn-spinner) { display: none; }
.btn-danger-text { color: rgb(var(--c-danger)); }

.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: rgb(var(--c-ink-2));
  transition: background-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.icon-btn:hover {
  background: rgb(var(--c-surface));
  color: rgb(var(--c-ink));
  box-shadow: var(--shadow-clay-sm);
}

/* Form fields */
.label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--c-ink));
}
.label-opt {
  font-weight: 400;
  color: rgb(var(--c-ink-3));
}
.input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgb(var(--c-line-strong) / 0.6);
  border-radius: 12px;
  background: rgb(var(--c-surface));
  color: rgb(var(--c-ink));
  font-size: 15px;
  box-shadow: inset 0 1px 2px rgb(var(--c-clay) / 0.08);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder {
  color: rgb(var(--c-ink-3) / 0.8);
}
.input:focus {
  outline: none;
  border-color: rgb(var(--c-primary));
  box-shadow: 0 0 0 1px rgb(var(--c-primary));
}
.input:disabled {
  cursor: not-allowed;
  background: rgb(var(--c-surface-2));
}
.input[readonly] {
  background: rgb(var(--c-surface-2) / 0.6);
}
textarea.input {
  height: auto;
  min-height: 88px;
  padding-block: 12px;
  resize: vertical;
}
select.input {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23808593' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
}
.input.is-error,
.input[aria-invalid='true'] {
  border-color: rgb(var(--c-danger));
}
.input.is-error:focus,
.input[aria-invalid='true']:focus {
  box-shadow: 0 0 0 1px rgb(var(--c-danger));
}
.input-pill {
  height: 44px;
  border-radius: 999px;
}
.input-sm {
  height: 40px;
}
.field-error {
  margin-top: 6px;
  font-size: 14px;
  color: rgb(var(--c-danger));
}
.field-hint {
  margin-top: 6px;
  font-size: 12px;
  color: rgb(var(--c-ink-3));
}
.input-icon-wrap {
  position: relative;
  display: block;
}
.input-icon-wrap > .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgb(var(--c-ink-3));
  pointer-events: none;
}
.input-icon-wrap > .input {
  padding-left: 36px;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgb(var(--c-ink-2));
  cursor: pointer;
}
.checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: rgb(var(--c-primary));
}

/* On/off switch */
.toggle-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.toggle-text {
  min-width: 0;
}
.toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: rgb(var(--c-ink));
}
.toggle-desc {
  margin-top: 2px;
  font-size: 12px;
  color: rgb(var(--c-ink-3));
}
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgb(var(--c-ink) / 0.2);
  transition: background-color 0.2s;
}
.switch[aria-checked='true'] {
  background: rgb(var(--c-primary));
}
.switch:disabled {
  opacity: 0.5;
}
.switch-knob {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.2);
  transform: translateX(2px);
  transition: transform 0.2s;
}
.switch[aria-checked='true'] .switch-knob {
  transform: translateX(22px);
}

/* Segmented choice buttons (radio-like) */
.choice {
  border: 1px solid rgb(var(--c-line));
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgb(var(--c-ink-2));
}
.choice[aria-pressed='true'] {
  border-color: rgb(var(--c-primary));
  background: rgb(var(--c-primary-soft));
  color: rgb(var(--c-primary));
}

/* 5. Feedback ----------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.5;
  white-space: nowrap;
}
.tone-neutral { background: rgb(var(--c-surface-2)); color: rgb(var(--c-ink-2)); }
.tone-primary { background: rgb(var(--c-primary-soft)); color: rgb(var(--c-primary)); }
.tone-accent { background: rgb(var(--c-accent-soft)); color: rgb(var(--c-accent-ink)); }
.tone-leaf { background: rgb(var(--c-leaf-soft)); color: rgb(var(--c-leaf)); }
.tone-danger { background: rgb(var(--c-danger-soft)); color: rgb(var(--c-danger)); }
.tone-warn { background: rgb(var(--c-warn-soft)); color: rgb(var(--c-warn)); }

.notice {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.625;
}
.notice-title {
  font-weight: 600;
}
.notice-body {
  margin-top: 2px;
  opacity: 0.95;
}

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 24px;
  text-align: center;
}
@media (min-width: 640px) {
  .empty { padding-block: 80px; }
}
.empty-icon {
  margin-bottom: 20px;
  color: rgb(var(--c-ink-3));
}
.empty-title {
  font-size: var(--display-sm);
  line-height: 1.15;
  color: rgb(var(--c-ink));
}
.empty-body {
  margin-top: 12px;
  max-width: 28rem;
  font-size: 15px;
  color: rgb(var(--c-ink-2));
}
.empty-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.spinner-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 96px;
}
.spinner {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgb(var(--c-ink) / 0.15);
  border-top-color: rgb(var(--c-primary));
  animation: spin 0.8s linear infinite;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: rgb(var(--c-surface-2));
}
.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.5), transparent);
  animation: shimmer 1.4s infinite;
}
.skeleton-media { aspect-ratio: 4 / 5; border-radius: calc(var(--radius-card) - 8px); }
.skeleton-lines { padding: 16px 6px 6px; }
.skeleton-lines > * + * { margin-top: 8px; }
.skeleton-line { height: 20px; border-radius: 4px; }
.skeleton-line.w-3-4 { width: 75%; }
.skeleton-line.w-1-3 { width: 33%; height: 12px; }
.skeleton-pill { height: 40px; margin-top: 16px !important; border-radius: 999px; }

/* Toasts */
.toasts {
  position: fixed;
  inset-inline: 0;
  top: 12px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-inline: 16px;
  pointer-events: none;
}
@media (min-width: 640px) {
  .toasts {
    top: auto;
    bottom: 24px;
    left: 24px;
    right: auto;
    align-items: flex-start;
  }
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 24rem;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgb(var(--c-ink));
  color: #fff;
  font-size: 13px;
  box-shadow: var(--shadow-clay-lg);
  animation: toast-in 220ms var(--ease);
}
.toast-error {
  background: rgb(var(--c-danger));
}
.toast-icon {
  margin-top: 2px;
  color: rgb(255 255 255 / 0.8);
}
.toast-icon.is-success {
  color: rgb(var(--c-primary-soft));
}
.toast-text {
  flex: 1;
  line-height: 1.625;
}
.toast-action {
  flex-shrink: 0;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.toast-close {
  flex-shrink: 0;
  color: rgb(255 255 255 / 0.6);
}
.toast-close:hover {
  color: #fff;
}

/* 6. Dialogs (native <dialog>: modal and drawers) ------------------------------- */

dialog.modal,
dialog.drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  overflow: hidden;
}
dialog.modal[open] {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
dialog.modal::backdrop,
dialog.drawer::backdrop {
  background: rgb(var(--c-ink) / 0.35);
  backdrop-filter: blur(2px);
  animation: fade-in 200ms ease-out;
}
dialog.is-closing::backdrop {
  animation: fade-out 200ms ease-in forwards;
}
.modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 92vh;
  border-radius: 20px 20px 0 0;
  background: rgb(var(--c-surface));
  box-shadow: var(--shadow-clay-lg);
  animation: rise-in 280ms var(--ease);
}
.is-closing .modal-panel {
  animation: rise-out 200ms ease-in forwards;
}
@media (min-width: 640px) {
  dialog.modal[open] { align-items: center; padding: 24px; }
  .modal-panel { max-width: 36rem; border-radius: 14px; }
  .modal-sm .modal-panel { max-width: 28rem; }
  .modal-lg .modal-panel { max-width: 48rem; }
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 12px;
}
.modal-title {
  font-size: 1.75rem;
  line-height: 1.25;
  color: rgb(var(--c-ink));
}
.modal-desc {
  margin-top: 6px;
  font-size: 14px;
  color: rgb(var(--c-ink-2));
}
.dialog-close {
  margin: -4px -8px 0 0;
  padding: 8px;
  border-radius: 999px;
  color: rgb(var(--c-ink-3));
  transition: background-color 0.2s, color 0.2s;
}
.dialog-close:hover {
  background: rgb(var(--c-surface-2));
  color: rgb(var(--c-ink));
}
.modal-body {
  overflow-y: auto;
  padding: 8px 24px 24px;
}
.modal-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 24px;
  border-top: 1px solid rgb(var(--c-line));
}

.drawer-panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: rgb(var(--c-bg));
  box-shadow: var(--shadow-clay-lg);
}
.drawer-right .drawer-panel,
.drawer-left .drawer-panel {
  top: 0;
  height: 100%;
  width: 90vw;
  max-width: 440px;
}
.drawer-right .drawer-panel { right: 0; animation: slide-in-right 340ms var(--ease); }
.drawer-left .drawer-panel { left: 0; animation: slide-in-left 340ms var(--ease); }
.drawer-top .drawer-panel { inset-inline: 0; top: 0; max-height: 92vh; animation: slide-in-top 340ms var(--ease); }
.drawer-right.is-closing .drawer-panel { animation: slide-out-right 200ms ease-in forwards; }
.drawer-left.is-closing .drawer-panel { animation: slide-out-left 200ms ease-in forwards; }
.drawer-top.is-closing .drawer-panel { animation: slide-out-top 200ms ease-in forwards; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgb(var(--c-line));
}
.drawer-title {
  font-size: 1.5rem;
  line-height: 1;
  color: rgb(var(--c-ink));
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
}
.drawer-foot {
  padding: 20px 24px calc(env(safe-area-inset-bottom, 0px) + 20px);
  border-top: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface));
}
.drawer-pad {
  padding-inline: 24px;
}

/* WhatsApp "number not configured" dialog */
.wa-config-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgb(var(--c-leaf-soft));
  color: rgb(var(--c-leaf));
  font-size: 14px;
}
.wa-config-note > .icon {
  margin-top: 2px;
}
.wa-preview {
  max-height: 18rem;
  overflow: auto;
  white-space: pre-wrap;
  padding: 12px;
  border: 1px solid rgb(var(--c-line));
  border-radius: 12px;
  background: rgb(var(--c-surface-2));
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgb(var(--c-ink));
}

/* 7. Header & footer ----------------------------------------------------------- */

/* Reserve space while the header and footer are drawn (prevents a jump). */
[data-layout='header']:empty { min-height: 168px; }
@media (min-width: 1024px) { [data-layout='header']:empty { min-height: 168px; } }

.topbar {
  background: rgb(var(--c-primary-strong));
  color: rgb(255 255 255 / 0.9);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  padding-block: 4px;
  font-size: 12px;
}
@media (min-width: 640px) {
  .topbar-inner { height: 36px; padding-block: 0; }
}
.topbar-social {
  display: flex;
  align-items: center;
  gap: 4px;
}
.topbar-social a {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding-inline: 6px;
  border-radius: 999px;
  color: rgb(255 255 255 / 0.85);
  transition: color 0.2s;
}
.topbar-social a:hover { color: #fff; }
.topbar-social span { display: none; font-weight: 500; }
@media (min-width: 768px) {
  .topbar-social span { display: inline; }
}
.topbar-announce {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-weight: 500;
  line-height: 1.375;
  letter-spacing: 0.02em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
@media (min-width: 640px) {
  .topbar-announce { display: block; white-space: nowrap; text-overflow: ellipsis; }
}
.call-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.4);
  text-underline-offset: 3px;
}
.call-link:hover { text-decoration-color: #fff; }
.call-link .icon { display: inline-block; }
.topbar-nav {
  display: none;
  align-items: center;
  gap: 20px;
  font-weight: 500;
}
.topbar-nav a { color: rgb(255 255 255 / 0.85); transition: color 0.2s; }
.topbar-nav a:hover { color: #fff; }
@media (min-width: 640px) {
  .topbar-nav { display: flex; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgb(var(--c-line) / 0.8);
  background: rgb(var(--c-bg) / 0.95);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgb(var(--c-bg) / 0.85); backdrop-filter: blur(8px); }
}
.header-main {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 72px;
}
@media (min-width: 640px) {
  .header-main { gap: 16px; }
}
@media (min-width: 1024px) {
  .header-main { height: 100px; }
  .header-menu-btn { display: none; }
}
.header-menu-btn {
  margin-left: -8px;
}
.brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  /* The link hugs the logo, so on a small phone the artwork's height became the whole tap
     target. Hold it at a thumb-sized minimum without scaling the artwork up. */
  min-height: 44px;
}
.brand-logo {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 4px 6px rgb(var(--c-clay) / 0.18));
}
@media (min-width: 640px) { .brand-logo { height: 56px; } }
@media (min-width: 1024px) { .brand-logo { height: 66px; } }
.brand-text {
  display: none;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  color: rgb(var(--c-primary-strong));
}
.brand-text span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgb(var(--c-ink-3));
}
@media (min-width: 1280px) {
  .brand-text { display: block; }
}
.search-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgb(var(--c-surface-2) / 0.8);
  box-shadow: var(--shadow-well);
  font-size: 14px;
  text-align: left;
  color: rgb(var(--c-ink-3));
  transition: background-color 0.2s, color 0.2s;
}
.search-trigger:hover { background: rgb(var(--c-surface-2)); color: rgb(var(--c-ink-2)); }
.search-trigger > .icon { color: rgb(var(--c-ink-2)); }
.search-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-trigger-desktop {
  display: none;
  max-width: 36rem;
  margin-inline: auto;
}
.header-search-mobile {
  padding-bottom: 12px;
}
@media (min-width: 1024px) {
  .search-trigger-desktop { display: flex; }
  .header-search-mobile { display: none; }
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
@media (min-width: 640px) {
  .header-actions { gap: 4px; }
}
.header-track {
  display: none;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: rgb(var(--c-ink-2));
  transition: background-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.header-track:hover { background: rgb(var(--c-surface)); color: rgb(var(--c-ink)); box-shadow: var(--shadow-clay-sm); }
@media (min-width: 768px) {
  .header-track { display: flex; }
}
.header-wish { display: none; }
@media (min-width: 400px) {
  .header-wish { display: flex; }
}
.count-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgb(var(--c-primary));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  margin-left: 4px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgb(var(--c-surface));
  color: rgb(var(--c-ink));
  box-shadow: var(--shadow-clay-sm);
  transition: box-shadow 0.2s;
}
.cart-btn:hover { box-shadow: var(--shadow-clay); }
.cart-btn-label { display: none; font-size: 14px; font-weight: 600; }
@media (min-width: 640px) {
  .cart-btn { padding-right: 16px; }
  .cart-btn-label { display: inline; }
}
.cart-count {
  position: absolute;
  top: -4px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgb(var(--c-ink-3));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgb(var(--c-bg));
  transition: background-color 0.2s;
}
.cart-count.has-items { background: rgb(var(--c-primary)); }

.header-cats {
  display: none;
  border-top: 1px solid rgb(var(--c-line) / 0.8);
}
@media (min-width: 1024px) {
  .header-cats { display: block; }
}
.header-cats-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
}
.header-cats-spacer { margin-left: auto; }
.nav-pill {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: rgb(var(--c-ink-2));
  transition: background-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.nav-pill:hover { background: rgb(var(--c-surface) / 0.7); color: rgb(var(--c-ink)); }
.nav-pill.is-active { background: rgb(var(--c-surface)); color: rgb(var(--c-primary)); box-shadow: var(--shadow-clay-sm); }

/* Mobile menu */
.menu-nav {
  padding: 12px 8px;
}
.menu-heading {
  padding: 4px 12px 8px;
}
.menu-heading + .menu-link {
  margin-top: 0;
}
.menu-link + .menu-heading {
  padding-top: 20px;
}

/* Section heading row with brand logo */
.menu-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 12px 6px;
  margin-top: 20px;
}
.menu-nav > .menu-heading-row:first-of-type,
.menu-link + .menu-heading-row:first-of-type {
  margin-top: 8px;
}
.menu-heading-row .menu-heading {
  padding: 0;
  margin: 0;
  flex: 1;
  min-width: 0;
}
.menu-heading-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  text-decoration: none;
  border-radius: 6px;
  padding: 2px 4px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.menu-heading-logo-link:hover,
.menu-heading-logo-link:active {
  transform: scale(1.05);
}
.menu-heading-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  vertical-align: middle;
}
.menu-heading-logo.menu-heading-logo-food-products,
.menu-heading-logo.menu-heading-logo-sec_food {
  height: 30px;
  max-width: 54px;
}
.menu-heading-logo.menu-heading-logo-handicrafts,
.menu-heading-logo.menu-heading-logo-sec_handicrafts {
  height: 24px;
  max-width: 84px;
}
.menu-heading-row + .menu-link {
  margin-top: 2px;
}
.menu-sub + .menu-heading-row {
  margin-top: 20px;
}
.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgb(var(--c-ink));
}
.menu-link:hover { background: rgb(var(--c-surface-2)); }
.menu-link.is-active { background: rgb(var(--c-primary-soft)); color: rgb(var(--c-primary)); }
.menu-meta {
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--c-ink-3));
}
.menu-social {
  padding: 20px;
  border-top: 1px solid rgb(var(--c-line));
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--c-ink-2));
  transition: color 0.2s;
}
.social-links a:hover { color: rgb(var(--c-ink)); }
.social-links.is-light a { color: rgb(255 255 255 / 0.8); }
.social-links.is-light a:hover { color: #fff; }

/* Search overlay */
.search-panel {
  max-width: 56rem;
  padding-top: 8px;
  padding-bottom: 32px;
}
@media (min-width: 640px) {
  .search-panel { padding-bottom: 48px; }
}
.search-cat {
  margin-bottom: 8px;
}
.search-cat-select {
  height: 36px;
  padding: 0 16px;
  border: 1px solid rgb(var(--c-line-strong) / 0.7);
  border-radius: 999px;
  background: rgb(var(--c-surface));
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--c-ink));
  cursor: pointer;
}
.search-cat-select:focus { border-color: rgb(var(--c-primary)); outline: none; }
.search-form {
  position: relative;
  border-bottom: 1px solid rgb(var(--c-ink) / 0.8);
}
.search-form-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: rgb(var(--c-ink-3));
  pointer-events: none;
}
.search-input {
  width: 100%;
  height: 64px;
  padding: 0 40px;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: rgb(var(--c-ink));
}
.search-input::placeholder { color: rgb(var(--c-ink-3) / 0.7); }
.search-input:focus { outline: none; }
.search-input::-webkit-search-cancel-button { display: none; }
@media (min-width: 640px) {
  .search-input { height: 80px; font-size: 2.25rem; }
}
.search-clear {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px;
  border-radius: 999px;
  color: rgb(var(--c-ink-3));
}
.search-clear:hover { background: rgb(var(--c-surface-2)); color: rgb(var(--c-ink)); }
.search-results { margin-top: 24px; }
.search-browse { margin-top: 32px; }
.search-browse .kicker { margin-bottom: 16px; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgb(var(--c-surface));
  box-shadow: var(--shadow-clay-sm);
  font-size: 14px;
  font-weight: 500;
  color: rgb(var(--c-ink));
  transition: box-shadow 0.2s, color 0.2s;
}
.search-chip:hover { color: rgb(var(--c-primary)); box-shadow: var(--shadow-clay); }
.search-chip span { font-size: 12px; color: rgb(var(--c-ink-3)); }
.search-list { display: grid; column-gap: 32px; }
@media (min-width: 640px) {
  .search-list { grid-template-columns: 1fr 1fr; }
}
.search-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgb(var(--c-line));
  cursor: pointer;
  transition: background-color 0.15s;
}
.search-option.is-active { background: rgb(var(--c-surface-2) / 0.6); }
.search-option .search-option-img { width: 56px; flex-shrink: 0; border-radius: 3px; }
.search-option-text { flex: 1; min-width: 0; }
.search-option-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: rgb(var(--c-ink));
}
.search-option-cat { display: block; font-size: 12px; color: rgb(var(--c-ink-3)); }
.search-option-price { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.search-none { padding-block: 16px; font-size: 15px; color: rgb(var(--c-ink-2)); }
.search-all { margin-top: 24px; }

/* Footer */
.site-footer {
  margin-top: 96px;
  border-radius: 32px 32px 0 0;
  background: rgb(var(--c-primary-strong));
  color: rgb(255 255 255 / 0.8);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12);
}
@media (min-width: 640px) {
  .site-footer { margin-top: 128px; border-radius: 48px 48px 0 0; }
}
.footer-grid {
  display: grid;
  gap: 48px;
  padding-block: 64px;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  /* brand · Food Products · Handicrafts · Help · Visit & call */
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 80px; }
}
.footer-logo {
  height: 72px;
  width: auto;
  padding: 8px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.95);
  box-shadow: var(--shadow-clay);
}
.footer-tagline {
  margin-top: 28px;
  max-width: 20rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
}
.footer-tamil {
  margin-top: 12px;
  font-size: 14px;
  color: rgb(255 255 255 / 0.55);
}
.footer-heading {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgb(255 255 255 / 0.5);
}
.footer-list {
  margin-top: 20px;
  font-size: 14px;
}
.footer-list > li + li { margin-top: 12px; }
.footer-list a { color: rgb(255 255 255 / 0.8); transition: color 0.2s; }
.footer-list a:hover { color: #fff; }
.footer-address { line-height: 1.625; }
.footer-note { display: block; font-size: 13px; color: rgb(255 255 255 / 0.5); }
.footer-social { padding-top: 8px; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 0.1); }
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  padding-bottom: 96px;
  font-size: 12px;
  color: rgb(255 255 255 / 0.5);
}
.footer-bottom-inner a { text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom-inner a:hover { color: #fff; }
.footer-accepted { color: rgb(255 255 255 / 0.7); }
@media (min-width: 640px) {
  .footer-bottom-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .footer-bottom-inner { padding-bottom: 24px; }
}

/* Floating WhatsApp button + Theme A / B review switch */
.floating-wa {
  position: fixed;
  right: 16px;
  bottom: var(--floating-bottom);
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background-color: rgb(var(--c-primary));
  background-image: linear-gradient(to bottom, rgb(255 255 255 / 0.15), transparent);
  color: #fff;
  box-shadow: var(--shadow-clay-primary);
  transition: bottom 0.2s, background-color 0.2s, transform 0.2s;
}
.floating-wa:hover { transform: translateY(-2px); background-color: rgb(var(--c-primary-strong)); }
.floating-wa:active { transform: translateY(0); }
.floating-wa-tip {
  position: absolute;
  right: 100%;
  margin-right: 12px;
  display: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(var(--c-ink));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.floating-wa:hover .floating-wa-tip { opacity: 1; }
@media (min-width: 640px) {
  .floating-wa { right: 24px; }
}
@media (min-width: 1024px) {
  .floating-wa-tip { display: block; }
}
.theme-switch {
  position: fixed;
  left: 16px;
  bottom: var(--floating-bottom);
  z-index: 45;
  display: none;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgb(var(--c-surface) / 0.95);
  font-size: 11px;
  box-shadow: var(--shadow-clay);
  backdrop-filter: blur(8px);
}
.theme-switch span {
  padding: 0 4px 0 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgb(var(--c-ink-3));
}
.theme-switch button {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-weight: 700;
  color: rgb(var(--c-ink-2));
  transition: background-color 0.2s, color 0.2s;
}
.theme-switch button:hover { background: rgb(var(--c-surface-2)); }
.theme-switch button.is-active { background: rgb(var(--c-primary)); color: rgb(var(--c-primary-ink)); box-shadow: var(--shadow-clay-primary); }
@media (min-width: 640px) {
  .theme-switch { display: flex; left: 24px; }
}

/* 8. Products ----------------------------------------------------------------- */

/* Every product photo sits in the same rounded, pressed-in well. */
.mount {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 8px);
  background: rgb(var(--c-surface-2));
  box-shadow: var(--shadow-well);
}
.mount-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.pimg-bleed {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
  background: rgb(var(--c-surface-2));
}
.pimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}
.pimg-contain,
.mount.is-packshot .pimg,
.pimg-bleed.is-packshot .pimg {
  object-fit: contain;
  padding: 8px;
}
.mount.is-packshot .mount-inner,
.pimg-bleed.is-packshot {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pimg-alt {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.pcard:hover .pimg-zoom,
.zoom-group:hover .pimg-zoom {
  transform: scale(1.035);
}
.pcard:hover .pimg-main { opacity: 0; }
.pcard:hover .pimg-alt { opacity: 1; }

/* Raised clay card that lifts on hover (product cards, tiles). */
.clay-lift {
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s var(--ease-bounce);
}
.clay-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-clay-lg);
}
.clay-1 { background: rgb(var(--c-clay-1)); }
.clay-2 { background: rgb(var(--c-clay-2)); }
.clay-3 { background: rgb(var(--c-clay-3)); }
/* Puffy icon "blob": a small inflated clay disc. */
.clay-blob {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgb(var(--c-surface));
  color: rgb(var(--c-primary));
  box-shadow: var(--shadow-blob);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px) {
  .product-grid { gap: 20px; }
}
@media (min-width: 768px) {
  .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: 24px; }
}
.product-grid > li { min-width: 0; }

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 8px;
  border-radius: var(--radius-card);
  background: rgb(var(--c-surface));
  box-shadow: var(--shadow-clay);
}
@media (min-width: 640px) {
  .pcard { padding: 10px; }
}
.pcard-media { position: relative; }
.pcard-img-link { display: block; }
.pcard-wish {
  position: absolute;
  top: 10px;
  right: 10px;
}
.pcard-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(var(--c-surface) / 0.95);
  box-shadow: var(--shadow-clay-sm);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.pcard-flag.is-out { color: rgb(var(--c-danger)); }
.pcard-flag.is-low { color: rgb(var(--c-warn)); }
.pcard-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 6px 6px;
}
@media (min-width: 640px) {
  .pcard-body { padding: 14px 8px 8px; }
}
.pcard-title {
  font-size: 1.2rem;
  line-height: 1.15;
  color: rgb(var(--c-ink));
}
@media (min-width: 640px) {
  .pcard-title { font-size: 1.35rem; }
}
.pcard-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  transition: color 0.2s;
}
.pcard-title a:hover { color: rgb(var(--c-primary)); }
.pcard-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 6px;
  min-height: 18px;
  margin-top: 6px;
  font-size: 12.5px;
  color: rgb(var(--c-ink-3));
}
.pcard-variants { margin-top: 10px; }
.pcard-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  margin-top: auto;
  padding-top: 14px;
}
.pcard-control {
  margin-left: auto;
  animation: pop-in 180ms var(--ease);
}
@media (max-width: 480px) {
  .product-grid {
    gap: 10px;
  }
  .pcard {
    padding: 6px;
    border-radius: 14px;
  }
  .pcard-body {
    padding: 8px 4px 4px;
  }
  .pcard-title {
    font-size: 1.05rem;
    line-height: 1.2;
  }
  .pcard-foot {
    gap: 8px;
    padding-top: 10px;
  }
  .pcard-control {
    width: 100%;
  }
  .pcard-control .btn {
    width: 100%;
    height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }
  .pcard-control .stepper {
    width: 100%;
    justify-content: space-between;
  }
}

.price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.price-now {
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgb(var(--c-ink));
}
.price-was {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: rgb(var(--c-ink-3));
  text-decoration: line-through;
}
.price-lg .price-now { font-size: 1.6rem; letter-spacing: -0.025em; }
.price-lg .price-was { font-size: 16px; }
.price-request {
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--c-ink-2));
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
}
.availability-dot { width: 4px; height: 4px; border-radius: 999px; background: currentColor; }
.availability.is-in-stock { color: rgb(var(--c-leaf)); }
.availability.is-low { color: rgb(var(--c-warn)); }
.availability.is-out { color: rgb(var(--c-danger)); }
.availability.is-enquire { color: rgb(var(--c-ink-2)); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  height: 28px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgb(var(--c-surface-2) / 0.8);
  box-shadow: var(--shadow-well);
  font-size: 12px;
  font-weight: 500;
  color: rgb(var(--c-ink-2));
  transition: background-color 0.2s, color 0.2s;
}
.chip:hover { color: rgb(var(--c-ink)); }
.chip[aria-checked='true'] {
  background: rgb(var(--c-primary));
  color: rgb(var(--c-primary-ink));
  box-shadow: var(--shadow-clay-primary);
}
.chip:disabled { opacity: 0.5; text-decoration: line-through; }
.chips-md .chip { height: 44px; padding: 0 20px; font-size: 14px; }

.stepper {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  background: rgb(var(--c-surface));
  color: rgb(var(--c-ink));
  box-shadow: var(--shadow-clay-sm);
}
.stepper-solid {
  background-color: rgb(var(--c-primary));
  background-image: linear-gradient(to bottom, rgb(255 255 255 / 0.12), transparent);
  color: rgb(var(--c-primary-ink));
  box-shadow: var(--shadow-clay-primary);
}
.stepper-btn {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  transition: background-color 0.2s;
}
.stepper-btn:hover { background: rgb(var(--c-surface-2)); }
.stepper-solid .stepper-btn:hover { background: rgb(255 255 255 / 0.15); }
.stepper-btn:disabled { opacity: 0.4; }
.stepper-sm .stepper-btn { width: 40px; height: 40px; }
.stepper-value {
  min-width: 2ch;
  padding: 0 6px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stepper-sm .stepper-value { padding: 0 4px; font-size: 13px; }

.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgb(var(--c-primary-soft));
  color: rgb(var(--c-primary));
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7);
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.add-btn:hover { background: rgb(var(--c-primary)); color: rgb(var(--c-primary-ink)); box-shadow: var(--shadow-clay-primary); }
.add-btn:active { transform: translateY(1px); }
.add-btn:disabled { background: rgb(var(--c-surface-2)); color: rgb(var(--c-ink-3)); box-shadow: none; }

.wish-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgb(var(--c-surface) / 0.95);
  color: rgb(var(--c-ink));
  box-shadow: var(--shadow-clay-sm);
  backdrop-filter: blur(8px);
  transition: opacity 0.2s, background-color 0.2s, transform 0.2s;
}
.wish-btn:hover { background: rgb(var(--c-surface)); }
/* Touch screens get a 44px tap target; the drawn circle stays 36px. */
@media (hover: none) {
  .wish-btn::after { content: ''; position: absolute; inset: -4px; border-radius: inherit; }
}
.wish-btn:active { transform: scale(0.95); }
.wish-btn.is-active { color: rgb(var(--c-primary)); }
.wish-btn.is-active .icon { fill: rgb(var(--c-primary)); }
@media (min-width: 1024px) {
  .pcard .wish-btn:not(.is-active) { opacity: 0; }
  .pcard:hover .wish-btn,
  .pcard .wish-btn:focus-visible { opacity: 1; }
}

/* 9. Cart ------------------------------------------------------------------------ */

.lines > li + li { border-top: 1px solid rgb(var(--c-line)); }
.lines-bordered { border-block: 1px solid rgb(var(--c-line)); }
.line {
  display: flex;
  gap: 16px;
  padding-block: 24px;
}
.line-compact { padding-block: 20px; }
@media (min-width: 640px) {
  .line:not(.line-compact) { gap: 24px; }
}
.line-img { flex-shrink: 0; width: 96px; }
.line-compact .line-img { width: 72px; }
@media (min-width: 640px) {
  .line:not(.line-compact) .line-img { width: 112px; }
}
.line-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}
.line-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.line-text { min-width: 0; }
.line-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: rgb(var(--c-ink));
  transition: color 0.2s;
}
.line-compact .line-name { font-size: 18px; }
.line-name:hover { color: rgb(var(--c-primary)); }
.line-meta {
  margin-top: 4px;
  font-size: 12.5px;
  color: rgb(var(--c-ink-3));
}
.line-total {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.line-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}
.line-remove {
  font-size: 12.5px;
  font-weight: 600;
  color: rgb(var(--c-ink-3));
  text-underline-offset: 4px;
  transition: color 0.2s;
}
.line-remove:hover { color: rgb(var(--c-danger)); text-decoration: underline; }
.line-error {
  margin-top: 8px;
  font-size: 12px;
  color: rgb(var(--c-danger));
}

.unavailable {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-card);
  background: rgb(var(--c-warn-soft));
  color: rgb(var(--c-warn));
  font-size: 13px;
}
.unavailable > .icon { margin-top: 2px; }
.unavailable-btn {
  margin-top: 4px;
  font-weight: 600;
  text-decoration: underline;
}

.totals { font-size: 14px; }
.totals > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.totals > div + div { margin-top: 10px; }
.totals-grand {
  align-items: baseline;
  padding-top: 16px;
  border-top: 1px solid rgb(var(--c-line));
}
.totals-grand dt { font-weight: 600; color: rgb(var(--c-ink)); }
.totals-grand dd {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  color: rgb(var(--c-ink));
}

.coupon-row { display: flex; gap: 8px; }
.coupon-row .btn { flex-shrink: 0; }
.coupon-msg { margin-top: 8px; font-size: 13px; }
.coupon-applied {
  padding: 12px 16px;
  border: 1px solid;
  border-radius: 8px;
  font-size: 13px;
}
.coupon-applied.is-ok { border-color: rgb(var(--c-leaf) / 0.3); background: rgb(var(--c-leaf-soft) / 0.6); color: rgb(var(--c-leaf)); }
.coupon-applied.is-warn { border-color: rgb(var(--c-warn) / 0.3); background: rgb(var(--c-warn-soft)); color: rgb(var(--c-warn)); }
.coupon-applied-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.coupon-code { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: 0.025em; }
.coupon-remove { font-size: 12px; font-weight: 600; color: rgb(var(--c-ink-2)); text-decoration: underline; text-underline-offset: 2px; }
.coupon-remove:hover { color: rgb(var(--c-ink)); }
.coupon-note { margin-top: 4px; font-size: 12px; }

.pincode-box {
  padding: 20px;
  border-radius: var(--radius-card);
  background: rgb(var(--c-surface-2) / 0.7);
}
.pincode-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--c-ink));
}
.pincode-label > .icon { color: rgb(var(--c-ink-2)); }
.pincode-row { display: flex; gap: 8px; }
.pincode-box .pincode-row { margin-top: 12px; }
.pincode-row .btn { flex-shrink: 0; }
.pincode-locate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgb(var(--c-primary));
}
.pincode-locate:hover { text-decoration: underline; }
.pincode-locate:disabled { opacity: 0.6; }
.pincode-result { margin-top: 12px; font-size: 14px; }
.pincode-ok,
.pincode-bad {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pincode-ok { color: rgb(var(--c-leaf)); }
.pincode-bad { color: rgb(var(--c-danger)); }
.pincode-ok > .icon,
.pincode-bad > .icon { margin-top: 2px; }

/* Sticky mobile action bar (product, cart, checkout) */
.sticky-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  padding: 12px 16px calc(env(safe-area-inset-bottom, 0px) + 12px);
  border-top: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-bg) / 0.95);
  backdrop-filter: blur(8px);
}
.sticky-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sticky-bar-inner > .btn { flex: 1; }
.sticky-total-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgb(var(--c-ink-3));
}
.sticky-total {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 1024px) {
  .sticky-bar { display: none; }
}

/* Orders */
.order-items > li + li { border-top: 1px solid rgb(var(--c-line)); }
.order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 12px;
}
.order-item-img {
  width: 48px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
}
.order-item-img .mount { border-radius: 6px; }
.order-item-text { flex: 1; min-width: 0; font-size: 14px; }
.order-item-name { font-weight: 500; color: rgb(var(--c-ink)); }
.order-item-meta { font-size: 12px; color: rgb(var(--c-ink-3)); }
.order-totals {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgb(var(--c-line));
  font-size: 14px;
}
.order-totals > div { display: flex; justify-content: space-between; }
.order-totals > div + div { margin-top: 6px; }
.order-totals-grand { font-size: 16px; font-weight: 700; }

.timeline { position: relative; }
.timeline-step {
  position: relative;
  display: flex;
  gap: 12px;
  padding-bottom: 20px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 28px;
  width: 2px;
  height: calc(100% - 20px);
  background: rgb(var(--c-line));
}
.timeline-step.is-passed::before { background: rgb(var(--c-primary)); }
.timeline-dot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 2px solid rgb(var(--c-line));
  border-radius: 999px;
  background: rgb(var(--c-surface));
  color: rgb(var(--c-ink-3));
}
.timeline-step.is-done .timeline-dot { border-color: rgb(var(--c-primary)); background: rgb(var(--c-primary)); color: rgb(var(--c-primary-ink)); }
.timeline-step.is-current .timeline-dot { box-shadow: 0 0 0 4px rgb(var(--c-primary) / 0.2); }
.timeline-step.is-cancelled.is-done .timeline-dot { border-color: rgb(var(--c-ink-3)); background: rgb(var(--c-ink-3)); }
.timeline-pip { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.timeline-text { min-width: 0; padding-top: 2px; }
.timeline-status { font-size: 14px; font-weight: 600; color: rgb(var(--c-ink-3)); }
.timeline-step.is-done .timeline-status { color: rgb(var(--c-ink)); }
.timeline-time { font-size: 12px; color: rgb(var(--c-ink-3)); }
.timeline-cancelled {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 12px;
  background: rgb(var(--c-danger-soft));
  color: rgb(var(--c-danger));
  font-size: 14px;
}
.timeline-cancelled > .icon { margin-top: 2px; }

/* 10. Pages ------------------------------------------------------------------- */

/* Shared page pieces */
.page-header {
  border-bottom: 1px solid rgb(var(--c-line));
}
.page-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 32px;
}
@media (min-width: 640px) {
  .page-header-inner { padding-top: 48px; padding-bottom: 48px; }
}
.page-header h1 { color: rgb(var(--c-ink)); }
.page-sub {
  margin-top: 12px;
  max-width: 42rem;
  font-size: 15px;
  color: rgb(var(--c-ink-2));
}
@media (min-width: 640px) {
  .page-sub { font-size: 16px; }
}
.page-body { padding-block: 32px; }
.page-body-sm { padding-block: 24px; }
@media (min-width: 640px) {
  .page-body { padding-block: 48px; }
  .page-body-sm { padding-block: 32px; }
}
.breadcrumbs {
  margin-bottom: 16px;
  font-size: 12px;
  color: rgb(var(--c-ink-3));
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs a { transition: color 0.2s; }
.breadcrumbs a:hover { color: rgb(var(--c-ink)); }
.breadcrumbs [aria-current] { color: rgb(var(--c-ink-2)); }

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: 32px;
}
@media (min-width: 640px) {
  .section-heading { margin-bottom: 40px; }
}
.section-heading.is-center { flex-direction: column; align-items: center; text-align: center; }
.section-heading-text { min-width: 0; }
.section-heading .kicker { margin-bottom: 12px; }
.section-title {
  font-size: var(--display-md);
  line-height: 1.08;
  letter-spacing: -0.008em;
  color: rgb(var(--c-ink));
}
.section-desc {
  margin-top: 12px;
  max-width: 36rem;
  font-size: 15px;
  color: rgb(var(--c-ink-2));
}
.section-heading-action { flex-shrink: 0; padding-bottom: 6px; }
.round-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgb(var(--c-surface));
  color: rgb(var(--c-ink));
  box-shadow: var(--shadow-clay-sm);
  transition: box-shadow 0.2s;
}
.round-btn:hover { box-shadow: var(--shadow-clay); }
.round-btn:active { box-shadow: var(--shadow-well); }
/* Soft grey panel (forms, summaries) and a hairline card. */
.soft-card,
.summary-card {
  padding: 24px;
  border-radius: var(--radius-card);
  background: rgb(var(--c-surface-2) / 0.7);
}
@media (min-width: 640px) {
  .soft-card { padding: 32px; }
  .summary-card { padding: 28px; }
}
.line-card {
  padding: 24px;
  border: 1px solid rgb(var(--c-line));
  border-radius: var(--radius-card);
  background: rgb(var(--c-surface));
}
@media (min-width: 640px) {
  .line-card { padding: 32px; }
}
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.align-start { align-items: flex-start; }
.inline-block { display: inline-block; }
.i-40 { width: 40px; height: 40px; }
.link-btn {
  font-size: 14px;
  color: rgb(var(--c-primary));
}
.link-btn:hover { text-decoration: underline; }
.frame-card {
  padding: 8px;
  border-radius: var(--radius-card);
  background: rgb(var(--c-surface));
  box-shadow: var(--shadow-clay-lg);
}
@media (min-width: 640px) {
  .frame-card { padding: 10px; }
}
.frame-inner {
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 8px);
  background: rgb(var(--c-surface-2));
}
.frame-inner img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }

/* Home: hero slider */
.hero {
  position: relative;
  overflow: hidden;
  background: rgb(var(--c-surface-2));
}
.hero-frame {
  position: relative;
  aspect-ratio: 1240 / 500;
  width: 100%;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  transition: transform 0.8s var(--ease);
}
.hero-link { display: block; width: 100%; height: 100%; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; }
.hero-dim {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 33%;
  background: linear-gradient(to top, rgb(var(--c-ink) / 0.25), transparent);
  pointer-events: none;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgb(var(--c-surface) / 0.9);
  color: rgb(var(--c-ink));
  box-shadow: var(--shadow-clay);
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  transition: background-color 0.2s, transform 0.2s;
}
.hero-arrow:hover { background: rgb(var(--c-surface)); }
.hero-arrow:active { transform: translateY(-50%) scale(0.95); }
.hero-arrow.is-prev { left: 12px; }
.hero-arrow.is-next { right: 12px; }
@media (min-width: 640px) {
  .hero-arrow { display: flex; }
}
@media (min-width: 1024px) {
  .hero-arrow.is-prev { left: 20px; }
  .hero-arrow.is-next { right: 20px; }
}

/* Home: intro and trust points */
.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 16px;
  text-align: center;
}
@media (min-width: 640px) {
  .intro-inner { padding-top: 64px; }
}
.intro-lead { margin-top: 16px; max-width: 36rem; }
.intro-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.promises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 48px;
  text-align: left;
}
@media (min-width: 640px) {
  .promises { gap: 16px; }
}
@media (min-width: 1024px) {
  .promises { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .promises.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.promise {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-clay);
}
@media (min-width: 640px) {
  .promise { flex-direction: row; align-items: center; padding: 20px; }
}
.promise-icon { width: 44px; height: 44px; }
@media (min-width: 640px) {
  .promise-icon { width: 48px; height: 48px; }
}
.promise-text { min-width: 0; }
.promise-title { display: block; font-size: 13.5px; font-weight: 600; color: rgb(var(--c-ink)); }
.promise-sub { display: block; font-size: 12px; line-height: 1.375; color: rgb(var(--c-ink-3)); }
@media (min-width: 640px) {
  .promise-title { font-size: 14px; }
  .promise-sub { font-size: 13px; }
}
.home-tiles { padding-top: 56px; }
@media (min-width: 640px) {
  .home-tiles { padding-top: 64px; }
}
@media (min-width: 1024px) {
  .home-tiles { padding-top: 80px; }
}

/* Home: category tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px) {
  .tiles { gap: 20px; }
}
@media (min-width: 1024px) {
  .tiles { grid-template-columns: repeat(var(--tile-cols, 4), minmax(0, 1fr)); gap: 24px; }
}
.tile {
  display: block;
  padding: 8px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-clay);
}
@media (min-width: 640px) {
  .tile { padding: 10px; }
}
.tile-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 8px);
  background: rgb(var(--c-surface-2));
  box-shadow: var(--shadow-well);
}
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-letter {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 600;
  color: rgb(var(--c-primary) / 0.15);
}
.tile-soon {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(var(--c-surface) / 0.95);
  box-shadow: var(--shadow-clay-sm);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgb(var(--c-accent-ink));
}
.tile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 6px 4px;
}
@media (min-width: 640px) {
  .tile-foot { padding-inline: 8px; }
}
.tile-text { min-width: 0; }
.tile-title { font-size: 1.3rem; line-height: 1.1; color: rgb(var(--c-ink)); }
.tile-count { margin-top: 2px; font-size: 12px; font-weight: 500; color: rgb(var(--c-ink-3)); }
@media (min-width: 640px) {
  .tile-title { font-size: 1.6rem; }
  .tile-count { font-size: 13px; }
}
.tile-arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.tile:hover .tile-arrow { background: rgb(var(--c-primary)); color: rgb(var(--c-primary-ink)); box-shadow: var(--shadow-clay-primary); }
@media (min-width: 640px) {
  .tile-arrow { width: 44px; height: 44px; }
}

/* Home: featured tabs */
.tabs-scroll {
  margin: 0 -20px 32px;
  padding: 4px 20px;
  overflow-x: auto;
}
@media (min-width: 640px) {
  .tabs-scroll { margin-inline: -32px; padding-inline: 32px; }
}
@media (min-width: 1024px) {
  .tabs-scroll { margin-inline: 0; padding-inline: 0; }
}
.seg-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgb(var(--c-surface-2) / 0.8);
  box-shadow: var(--shadow-well);
}
.seg-tab {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--c-ink-2));
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.2s;
}
.seg-tab:hover { color: rgb(var(--c-ink)); }
.seg-tab.is-active { background: rgb(var(--c-surface)); color: rgb(var(--c-primary)); box-shadow: var(--shadow-clay-sm); }
.tab-panel { animation: rise-in 280ms var(--ease); }

/* Horizontal, scroll-snapping rail on phones; a four-column row on desktop. */
.rail {
  display: flex;
  gap: 12px;
  margin-inline: -20px;
  padding: 4px 20px 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.rail > li {
  flex-shrink: 0;
  width: 46%;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .rail { gap: 20px; margin-inline: -32px; padding-inline: 32px; }
  .rail > li { width: 31%; }
}
@media (min-width: 1024px) {
  .rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-inline: 0; padding: 0; overflow: visible; }
  .rail > li { width: auto; }
}

/* Home: podi split with a menu-style list */
.split {
  display: grid;
  align-items: center;
  gap: 40px;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.split-text {
  margin-top: 20px;
  max-width: 28rem;
  font-size: 15px;
  color: rgb(var(--c-ink-2));
}
@media (min-width: 640px) {
  .split-text { font-size: 16px; }
}
.menu-list {
  margin-top: 32px;
  padding: 8px;
  border-radius: var(--radius-card);
  background: rgb(var(--c-surface));
  box-shadow: var(--shadow-clay);
}
.menu-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  transition: background-color 0.2s;
}
.menu-item:hover { background: rgb(var(--c-surface-2) / 0.7); }
.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
  color: rgb(var(--c-ink));
  transition: color 0.2s;
}
.menu-item:hover .menu-item-name { color: rgb(var(--c-primary)); }
.menu-item-dots {
  flex: 1;
  min-width: 24px;
  transform: translateY(-4px);
  border-bottom: 1px dotted rgb(var(--c-ink) / 0.25);
}
.menu-item-price {
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgb(var(--c-ink-2));
}

/* Home: delivery + WhatsApp cards */
.cta-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .cta-grid { gap: 24px; }
}
@media (min-width: 1024px) {
  .cta-grid { grid-template-columns: 1fr 1fr; }
}
.cta-card {
  padding: 28px;
  border-radius: 32px;
  box-shadow: var(--shadow-clay-lg);
}
@media (min-width: 640px) {
  .cta-card { padding: 40px; }
}
.cta-text {
  margin-top: 8px;
  max-width: 28rem;
  font-size: 15px;
  color: rgb(var(--c-ink-2));
}
.cta-pincode { margin-top: 24px; max-width: 28rem; }
.offers {
  margin-top: 24px;
  font-size: 13px;
  color: rgb(var(--c-ink-2));
}
.offers > li + li { margin-top: 4px; }
.offer-code { font-weight: 600; letter-spacing: 0.025em; color: rgb(var(--c-primary)); }

/* Home: promo tiles */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px) {
  .promo-grid { gap: 20px; }
}
@media (min-width: 1024px) {
  .promo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}
.promo-card {
  padding: 8px;
  border-radius: var(--radius-card);
  background: rgb(var(--c-surface));
  box-shadow: var(--shadow-clay);
}
@media (min-width: 640px) {
  .promo-card { padding: 10px; }
}
.promo-img {
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 8px);
  background: rgb(var(--c-surface-2));
}
.promo-img img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.promo-caption { padding: 12px 6px 6px; font-size: 13px; }
.promo-sub { display: block; color: rgb(var(--c-ink-3)); }

/* Home: testimonials marquee */
.reviews { margin-inline: -20px; }
@media (min-width: 640px) {
  .reviews { margin-inline: -32px; }
}
@media (min-width: 1024px) {
  .reviews { margin-inline: 0; }
}
.marquee {
  overflow: hidden;
  padding: 8px 0 32px 20px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
@media (min-width: 640px) {
  .marquee { padding-left: 32px; }
}
@media (min-width: 1024px) {
  .marquee { padding-left: 4px; }
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: marquee 40s linear infinite;
}
.reviews:hover .marquee-track,
.reviews:focus-within .marquee-track,
.reviews.is-paused .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  to { transform: translateX(calc(-50% - 10px)); }
}
.reviews-scroll {
  display: flex;
  gap: 20px;
  padding: 8px 20px 32px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
@media (min-width: 640px) {
  .reviews-scroll { padding-inline: 32px; }
}
@media (min-width: 1024px) {
  .reviews-scroll { padding-inline: 4px; }
}
.review {
  display: flex;
  flex-shrink: 0;
  width: 290px;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .review { width: 380px; }
}
.review-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 24px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-clay);
}
@media (min-width: 640px) {
  .review-card { padding: 28px; }
}
.review-mark {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.5;
  color: rgb(var(--c-accent) / 0.6);
}
.review-quote {
  flex: 1;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.375;
  color: rgb(var(--c-ink));
}
@media (min-width: 640px) {
  .review-quote { font-size: 1.4rem; }
}
.review-by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgb(var(--c-ink) / 0.1);
}
.review-logo { width: 56px; height: 44px; border-radius: 16px; }
.review-logo img { width: auto; height: 28px; }
.review-who { min-width: 0; font-size: 12px; line-height: 1.375; }
.review-author { display: block; font-weight: 600; color: rgb(var(--c-ink)); }
.review-source { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgb(var(--c-ink-3)); }

/* Home: brand story band */
.brand-story-wrap { padding-bottom: 16px; }
.brand-story {
  display: grid;
  align-items: center;
  gap: 32px;
  padding: 48px 24px;
  border-radius: 28px;
  background: rgb(var(--c-primary-strong));
  color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), inset 0 -4px 12px rgb(0 0 0 / 0.25), 0 30px 60px -30px rgb(var(--c-primary) / 0.6);
}
@media (min-width: 640px) {
  .brand-story { padding-inline: 48px; }
}
@media (min-width: 1024px) {
  .brand-story { grid-template-columns: 1.2fr 1fr; gap: 64px; padding-block: 64px; }
}
.brand-story-kicker {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgb(255 255 255 / 0.6);
}
.brand-story-title { margin-top: 16px; color: #fff; }
.brand-story-text {
  margin-top: 16px;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.625;
  color: rgb(255 255 255 / 0.75);
}
@media (min-width: 640px) {
  .brand-story-text { font-size: 16px; }
}
.brand-story-quote {
  padding: 24px;
  border-radius: var(--radius-card);
  background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1);
}
@media (min-width: 640px) {
  .brand-story-quote { padding: 32px; }
}
.brand-story-tamil {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.375;
  color: #fff;
}
.brand-story-source { margin-top: 12px; font-size: 13px; color: rgb(255 255 255 / 0.6); }

/* Home: video */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 8px);
  background: rgb(var(--c-ink));
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-poster { position: absolute; inset: 0; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: opacity 0.2s; }
.video-poster:hover img { opacity: 1; }
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding-left: 4px;
  border-radius: 999px;
  background: rgb(var(--c-surface));
  color: rgb(var(--c-ink));
  box-shadow: var(--shadow-clay-lg);
  transform: translate(-50%, -50%);
  transition: transform 0.2s;
}
.video-poster:hover .video-play { transform: translate(-50%, -50%) scale(1.05); }

/* Shop */
.shop-head { padding-top: 20px; padding-bottom: 16px; }
@media (min-width: 640px) {
  .shop-head { padding-top: 48px; padding-bottom: 24px; }
}
.shop-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 24px;
}
.shop-title-text { min-width: 0; }
.shop-count { padding-bottom: 4px; font-size: 13px; color: rgb(var(--c-ink-3)); }
@media (max-width: 639px) {
  .shop-count { padding-bottom: 0; font-size: 12px; }
}
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgb(var(--c-surface));
  box-shadow: var(--shadow-clay);
  border: 1px solid rgb(var(--c-line) / 0.5);
  transition: box-shadow 0.2s ease;
}
@media (min-width: 640px) {
  .filter-bar {
    padding: 14px 18px;
    gap: 14px;
    border-radius: 24px;
  }
}
@media (min-width: 1024px) {
  .filter-bar {
    padding: 16px 22px;
    gap: 14px;
  }
}
.filter-cats {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
}
@media (min-width: 640px) {
  .filter-cats {
    gap: 12px;
  }
}
.filter-label {
  display: none;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px 0 2px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgb(var(--c-ink-3));
  border-right: 1px solid rgb(var(--c-line) / 0.8);
}
@media (min-width: 640px) {
  .filter-label {
    display: inline-flex;
  }
}
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 2px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-padding: 0 8px;
}
.filter-tabs::-webkit-scrollbar {
  display: none;
}
.filter-tabs > li {
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .filter-tabs {
    gap: 8px;
  }
}
@media (min-width: 1024px) {
  .filter-tabs {
    flex-wrap: wrap;
    overflow: visible;
  }
}
.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgb(var(--c-surface-2) / 0.65);
  box-shadow: var(--shadow-well);
  border: 1px solid transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: rgb(var(--c-ink-2));
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 640px) {
  .filter-tab {
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }
}
.filter-tab:hover {
  color: rgb(var(--c-ink));
  background: rgb(var(--c-surface-2));
  box-shadow: 0 2px 6px rgb(var(--c-ink) / 0.08);
  transform: translateY(-1px);
}
.filter-tab.is-active {
  background: rgb(var(--c-primary));
  color: rgb(var(--c-primary-ink));
  box-shadow: var(--shadow-clay-primary), 0 4px 14px rgb(var(--c-primary) / 0.28);
  border-color: rgb(var(--c-primary));
  transform: none;
}
.filter-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgb(var(--c-surface));
  font-size: 10.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgb(var(--c-ink-3));
  transition: all 0.2s ease;
}
@media (min-width: 640px) {
  .filter-tab-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 11px;
  }
}
.filter-tab.is-active .filter-tab-count {
  background: rgb(255 255 255 / 0.22);
  color: #fff;
}
.filter-tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding-top: 8px;
  border-top: 1px solid rgb(var(--c-line) / 0.5);
}
@media (min-width: 540px) {
  .filter-tools {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
  }
}
.filter-search {
  position: relative;
  width: 100%;
}
@media (min-width: 540px) {
  .filter-search {
    flex: 1;
    max-width: 24rem;
  }
}
.filter-search > .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgb(var(--c-ink-3));
  pointer-events: none;
}
.filter-search input {
  width: 100%;
  height: 38px;
  padding: 0 36px 0 38px;
  border-radius: 999px;
  background: rgb(var(--c-surface-2) / 0.65);
  box-shadow: var(--shadow-well);
  border: 1px solid transparent;
  font-size: 13px;
  color: rgb(var(--c-ink));
  transition: all 0.2s ease;
}
@media (min-width: 640px) {
  .filter-search input {
    height: 40px;
    padding: 0 36px 0 40px;
  }
}
.filter-search input::placeholder {
  color: rgb(var(--c-ink-3));
}
.filter-search input:focus {
  outline: none;
  background: #fff;
  border-color: rgb(var(--c-primary) / 0.4);
  box-shadow: var(--shadow-well), 0 0 0 3px rgb(var(--c-primary) / 0.15);
}
.filter-search input::-webkit-search-cancel-button {
  display: none;
}
.filter-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  padding: 6px;
  border-radius: 999px;
  color: rgb(var(--c-ink-3));
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.filter-search-clear:hover {
  color: rgb(var(--c-ink));
  background: rgb(var(--c-ink) / 0.05);
}
.filter-sort {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 34px 0 16px;
  border-radius: 999px;
  background-color: rgb(var(--c-surface-2) / 0.65);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 13px;
  box-shadow: var(--shadow-well);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--c-ink));
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.2s ease;
}
@media (min-width: 540px) {
  .filter-sort {
    width: auto;
    min-width: 140px;
    flex-shrink: 0;
  }
}
@media (min-width: 640px) {
  .filter-sort {
    height: 40px;
  }
}
.filter-sort:hover {
  background-color: rgb(var(--c-surface-2));
}
.filter-sort:focus {
  outline: none;
  background-color: #fff;
  border-color: rgb(var(--c-primary) / 0.4);
  box-shadow: var(--shadow-well), 0 0 0 3px rgb(var(--c-primary) / 0.15);
}
.shop-results { padding-top: 32px; }
@media (min-width: 640px) {
  .shop-results { padding-top: 40px; }
}

/* Product page */
.pdp { padding-bottom: 96px; }
@media (min-width: 1024px) {
  .pdp { padding-bottom: 0; }
}
.pdp-top { padding-top: 24px; }
@media (min-width: 640px) {
  .pdp-top { padding-top: 40px; }
}
.pdp-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) {
  .pdp-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .pdp-gallery { position: sticky; top: 144px; align-self: start; }
  .pdp-details { padding-top: 16px; }
}
.pdp-main-img { position: relative; overflow: hidden; border-radius: var(--radius-card); }
/* The fixed buy bar runs up to 1023px, so the photo is capped across that whole range -
   otherwise the weight selector sits under the bar on a tablet exactly as it did on a
   phone. Phones tighten this further in the small-screen block below. */
@media (max-width: 1023px) {
  .pdp-main-img { max-height: 40vh; }
  .pdp-main-img .pimg-bleed, .pdp-main-img img { max-height: 40vh; object-fit: contain; }
}
.pdp-wish { position: absolute; top: 16px; right: 16px; }
.pdp-thumbs { display: flex; gap: 12px; margin-top: 12px; }
.pdp-thumb {
  width: 80px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 0 0 2px rgb(var(--c-bg)), 0 0 0 3px transparent;
  transition: box-shadow 0.2s;
}
.pdp-thumb:hover { box-shadow: 0 0 0 2px rgb(var(--c-bg)), 0 0 0 3px rgb(var(--c-line-strong)); }
.pdp-thumb.is-active { box-shadow: 0 0 0 2px rgb(var(--c-bg)), 0 0 0 3px rgb(var(--c-ink)); }
.pdp-cat {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  color: rgb(var(--c-ink-2));
  transition: color 0.2s;
}
.pdp-cat:hover { color: rgb(var(--c-primary)); }
.pdp-title { margin-top: 8px; color: rgb(var(--c-ink)); }
.pdp-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 20px; }
.pdp-short { margin-top: 16px; font-size: 15px; color: rgb(var(--c-ink-2)); }
.pdp-enquire-box {
  margin-top: 32px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: rgb(var(--c-surface-2) / 0.7);
  font-size: 15px;
  color: rgb(var(--c-ink-2));
}
.pdp-buy { display: none; align-items: center; gap: 12px; margin-top: 32px; }
.pdp-add { flex: 1; }
@media (min-width: 1024px) {
  .pdp-buy { display: flex; }
}
.pdp-incart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid rgb(var(--c-leaf) / 0.25);
  border-radius: var(--radius-card);
  background: rgb(var(--c-leaf-soft) / 0.6);
  font-size: 13px;
  color: rgb(var(--c-leaf));
}
.pdp-incart-view { margin-left: auto; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.pdp-info { margin-top: 40px; }
.info-row {
  display: grid;
  gap: 12px;
  padding-block: 24px;
  border-top: 1px solid rgb(var(--c-line));
  font-size: 15px;
  color: rgb(var(--c-ink-2));
}
@media (min-width: 640px) {
  .info-row { grid-template-columns: 140px 1fr; gap: 24px; }
}
.info-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgb(var(--c-ink-3));
}
/* Ingredient lists are long comma-separated strings; let them wrap and breathe so they
   stay readable on a phone. */
.pdp-ingredients {
  margin: 0;
  max-width: 62ch;
  line-height: 1.6;
  overflow-wrap: break-word;
  color: rgb(var(--c-ink-2));
}

.pdp-description { margin-bottom: 16px; white-space: pre-line; line-height: 1.625; }
.pdp-facts { display: grid; grid-template-columns: 110px 1fr; row-gap: 8px; font-size: 14px; }
.pdp-facts dt { color: rgb(var(--c-ink-3)); }
.pdp-facts dd { color: rgb(var(--c-ink)); }
.pdp-related { margin-top: 80px; padding-top: 64px; border-top: 1px solid rgb(var(--c-line)); }
@media (min-width: 640px) {
  .pdp-related { margin-top: 112px; padding-top: 80px; }
}

/* Cart page */
.cart-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .cart-grid { grid-template-columns: 1fr 400px; gap: 64px; }
  .cart-aside { position: sticky; top: 144px; align-self: start; }
}
.cart-aside > * + * { margin-top: 16px; }
.back-link { margin-left: -16px; }
.secure-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: rgb(var(--c-ink-3));
}
.secure-note > .icon { margin-top: 2px; }

/* Checkout */
.checkout-guest {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  font-size: 13px;
  color: rgb(var(--c-ink-3));
}
.checkout-grid { display: grid; gap: 48px; padding-block: 32px 112px; }
@media (min-width: 1024px) {
  .checkout-grid { grid-template-columns: 1fr 420px; gap: 64px; padding-block: 48px; }
  .checkout-aside { position: sticky; top: 144px; align-self: start; }
}
.checkout-form > .checkout-section + .checkout-section { margin-top: 40px; padding-top: 40px; border-top: 1px solid rgb(var(--c-line)); }
.checkout-section > * + * { margin-top: 20px; }
.step-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.75rem;
  color: rgb(var(--c-ink));
}
.step-title span {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgb(var(--c-ink-3));
}
.saved-applied { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgb(var(--c-leaf)); }
.saved-prompt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgb(var(--c-primary) / 0.3);
  border-radius: 12px;
  background: rgb(var(--c-primary-soft) / 0.5);
}
.saved-prompt-icon { margin-top: 2px; color: rgb(var(--c-primary)); }
.saved-prompt-body { flex: 1; min-width: 0; }
.saved-options { margin-top: 12px; }
.saved-options > * + * { margin-top: 8px; }
.saved-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgb(var(--c-line));
  border-radius: 8px;
  background: rgb(var(--c-surface));
  font-size: 14px;
  cursor: pointer;
}
.saved-option:has(input:checked) { border-color: rgb(var(--c-primary)); }
.saved-option input { margin-top: 4px; accent-color: rgb(var(--c-primary)); }
.saved-option > .icon { margin-top: 2px; }
.saved-option-label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; color: rgb(var(--c-ink-3)); }
.delivery-bad { padding: 12px; border-radius: 12px; background: rgb(var(--c-danger-soft)); font-size: 14px; }
.pay-methods {
  overflow: hidden;
  border: 1px solid rgb(var(--c-line-strong) / 0.7);
  border-radius: var(--radius-card);
  background: rgb(var(--c-surface));
}
.pay-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.pay-method + .pay-method { border-top: 1px solid rgb(var(--c-line)); }
.pay-method:hover { background: rgb(var(--c-surface-2) / 0.6); }
.pay-method.is-active { background: rgb(var(--c-primary-soft) / 0.5); }
.pay-method:has(input:focus-visible) { box-shadow: inset 0 0 0 2px rgb(var(--c-primary)); }
.pay-radio {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgb(var(--c-line-strong));
  border-radius: 999px;
}
.pay-method.is-active .pay-radio { border-color: rgb(var(--c-primary)); }
.pay-method.is-active .pay-radio::after { content: ''; width: 10px; height: 10px; border-radius: 999px; background: rgb(var(--c-primary)); }
.pay-text { flex: 1; min-width: 0; }
.pay-label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: rgb(var(--c-ink)); }
.pay-desc { display: block; font-size: 12.5px; color: rgb(var(--c-ink-3)); }
.pay-icon { color: rgb(var(--c-ink-3)); }
.pay-method.is-active .pay-icon { color: rgb(var(--c-primary)); }
.co-items { max-height: 18rem; overflow-y: auto; padding-right: 4px; }
.co-items > li + li { margin-top: 12px; }
.co-item { display: flex; align-items: center; gap: 12px; }
.co-item-img { position: relative; flex-shrink: 0; width: 56px; padding: 6px 6px 0 0; }
.co-item-qty {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgb(var(--c-ink));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.co-item-text { flex: 1; min-width: 0; font-size: 14px; }
.co-item-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  color: rgb(var(--c-ink));
}
.co-pay-desktop { display: none; }
@media (min-width: 1024px) {
  .co-pay-desktop { display: flex; }
}
.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgb(var(--c-ink-3));
}
.or-divider span { flex: 1; height: 1px; background: rgb(var(--c-line)); }
.payment-failure {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  background: rgb(var(--c-danger-soft));
  font-size: 14px;
  color: rgb(var(--c-danger));
}
.payment-failure > .icon { margin-top: 2px; }
.demo-qr { width: 192px; height: 192px; margin-inline: auto; border: 1px solid rgb(var(--c-line)); border-radius: 8px; object-fit: contain; }
.upi-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 240px;
  margin-inline: auto;
  padding: 12px;
  border: 1px solid rgb(var(--c-line));
  border-radius: var(--radius-card);
  background: #fff;
}
.upi-qr svg { width: 100%; height: 100%; }
@media (min-width: 640px) {
  .upi-open { display: none; }
}
.pay-later {
  display: block;
  width: 100%;
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--c-ink-3));
}
.pay-later:hover { color: rgb(var(--c-ink)); }

/* Order confirmation and tracking */
.order-page { max-width: 48rem; padding-block: 48px; }
@media (min-width: 640px) {
  .order-page { padding-block: 80px; }
}
.order-check { margin-inline: auto; color: rgb(var(--c-leaf)); }
.order-id-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 8px 8px 8px 20px;
  border: 1px solid rgb(var(--c-line-strong) / 0.7);
  border-radius: 999px;
  background: rgb(var(--c-surface));
}
.order-id-pill strong { font-size: 18px; letter-spacing: 0.025em; color: rgb(var(--c-ink)); }
.order-id-pill .dialog-close { margin: 0; }
.order-note { max-width: 28rem; margin: 12px auto 0; }
.order-info {
  display: grid;
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgb(var(--c-line));
}
@media (min-width: 640px) {
  .order-info { grid-template-columns: 1fr 1fr; }
}
.order-address { margin-top: 8px; font-size: 14px; line-height: 1.625; color: rgb(var(--c-ink-2)); }
.order-items-section { margin-top: 40px; padding-top: 40px; border-top: 1px solid rgb(var(--c-line)); }
.track-grid { display: grid; gap: 24px; padding-block: 32px; }
@media (min-width: 1024px) {
  .track-grid { grid-template-columns: 380px 1fr; }
  .track-grid > form { align-self: start; }
}
.track-placeholder { display: none; }
@media (min-width: 1024px) {
  .track-placeholder { display: block; }
}
.order-track-id { font-family: var(--font-mono); font-size: 24px; font-weight: 600; letter-spacing: 0.025em; color: rgb(var(--c-ink)); }

/* Account */
.account-signin { display: grid; gap: 24px; padding-block: 32px; }
@media (min-width: 1024px) {
  .account-signin { grid-template-columns: 420px 1fr; }
  .account-signin > form { align-self: start; }
}
.why-list { margin-top: 12px; font-size: 14px; color: rgb(var(--c-ink-2)); }
.why-list li { display: flex; gap: 8px; }
.why-list li + li { margin-top: 8px; }
.why-list .icon { margin-top: 2px; color: rgb(var(--c-primary)); }
.account-head .page-header-inner { padding-block: 24px; }
@media (min-width: 640px) {
  .account-head .page-header-inner { padding-block: 32px; }
}
.line-tabs { display: flex; gap: 24px; margin-bottom: -1px; overflow-x: auto; }
.line-tab {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: rgb(var(--c-ink-2));
}
.line-tab:hover { color: rgb(var(--c-ink)); }
.line-tab.is-active { border-bottom-color: rgb(var(--c-primary)); color: rgb(var(--c-primary)); }
.order-row { overflow: hidden; border: 1px solid rgb(var(--c-line)); border-radius: var(--radius-card); background: rgb(var(--c-surface)); }
.order-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  width: 100%;
  padding: 16px;
  text-align: left;
}
@media (min-width: 640px) {
  .order-row-head { padding: 20px; }
}
.order-row-id { flex: 1; min-width: 0; }
.order-row-id > span { display: block; }
.chevron { transition: transform 0.2s; }
.chevron.is-open { transform: rotate(180deg); }
.order-row-body { display: grid; gap: 24px; padding: 16px; border-top: 1px solid rgb(var(--c-line)); }
@media (min-width: 640px) {
  .order-row-body { padding: 20px; }
}
@media (min-width: 768px) {
  .order-row-body { grid-template-columns: 1fr 1fr; }
}
.address-grid { display: grid; gap: 16px; }
@media (min-width: 640px) {
  .address-grid { grid-template-columns: 1fr 1fr; }
}
.address-card { display: flex; flex-direction: column; padding: 24px; }
.address-text { flex: 1; margin-top: 8px; font-size: 14px; color: rgb(var(--c-ink-2)); }
.profile-form { max-width: 32rem; }

/* Returns, terms and contact */
.content-grid { display: grid; gap: 48px; padding-block: 48px; }
@media (min-width: 1024px) {
  .content-grid { grid-template-columns: 1.4fr 1fr; gap: 80px; padding-block: 64px; }
  .content-grid-contact { grid-template-columns: 1fr 1.3fr; }
}
.steps { margin-top: 32px; }
.steps li { display: flex; gap: 20px; }
.steps li + li { margin-top: 24px; }
.step-num { font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; line-height: 1; color: rgb(var(--c-ink-3)); }
.steps p { padding-top: 4px; font-size: 15px; line-height: 1.625; color: rgb(var(--c-ink-2)); }
@media (min-width: 640px) {
  .steps p { font-size: 16px; }
}
.contact-row { padding-block: 20px; border-top: 1px solid rgb(var(--c-line)); }
.contact-value { margin-top: 8px; font-size: 15px; line-height: 1.625; color: rgb(var(--c-ink)); }
.contact-note { display: block; font-size: 13px; color: rgb(var(--c-ink-3)); }
.prose-page { max-width: 48rem; padding-block: 48px; }
@media (min-width: 1024px) {
  .prose-page { padding-block: 64px; }
}
.prose-text { margin-top: 16px; font-size: 15px; line-height: 1.625; color: rgb(var(--c-ink-2)); }
@media (min-width: 640px) {
  .prose-text { font-size: 16px; }
}
.prose-section { margin-top: 48px; padding-top: 48px; border-top: 1px solid rgb(var(--c-line)); }

/* 11. Motion ------------------------------------------------------------------- */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 100% { transform: translateX(100%); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rise-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(16px); } }
@keyframes slide-in-right { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes slide-out-right { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes slide-in-left { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes slide-out-left { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes slide-in-top { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes slide-out-top { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@keyframes reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* Subtle fade-up when a section first scrolls into view (js adds .is-visible). */
.reveal {
  opacity: 1;
}
.reveal.is-visible {
  animation: reveal 0.46s var(--ease) both;
  animation-delay: var(--reveal-delay, 0s);
}
/* Phones get the fade without the stagger: a queue of delays reads as sluggishness on a
   small screen, where far less is on show at once. */
@media (max-width: 639px) {
  .reveal.is-visible { animation-delay: 0s; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; }
}

/* ==========================================================================
   Two shops: Temple City Food Products and Blossom Handicrafts
   ========================================================================== */

/* Home: the two shop panels, side by side from tablet landscape up */
.shop-panels {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
@media (min-width: 900px) {
  .shop-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
}
.shop-panel {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-clay);
  text-align: left;
}
.shop-panel-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 10px);
  background: rgb(var(--c-surface-2));
  box-shadow: var(--shadow-well);
}
.shop-panel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.shop-panel-media:hover img { transform: scale(1.03); }
.shop-panel-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 10px 10px;
}
@media (min-width: 640px) {
  .shop-panel-body { padding: 24px 18px 14px; }
}
.shop-panel-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgb(var(--c-ink-3));
}
.shop-panel-title { margin-top: 8px; color: rgb(var(--c-ink)); }
.shop-panel-text { margin-top: 10px; max-width: 34rem; font-size: 15px; color: rgb(var(--c-ink-2)); }
.shop-panel-cta { margin-top: 20px; gap: 8px; }
.shop-panel-cats {
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
}
.shop-panel-cats ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 640px) {
  .shop-panel-cats ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) and (max-width: 1179px) {
  .shop-panel-cats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.shop-cat {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 8px;
  border-radius: 16px;
  background: rgb(var(--c-surface) / 0.85);
  box-shadow: var(--shadow-clay-sm);
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.shop-cat:hover { background: rgb(var(--c-surface)); transform: translateY(-1px); }
.shop-cat:focus-visible { outline: 2px solid rgb(var(--c-primary)); outline-offset: 2px; }
.shop-cat-img {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 12px;
  background: rgb(var(--c-surface-2));
}
.shop-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-cat-name { font-size: 13.5px; font-weight: 600; line-height: 1.2; color: rgb(var(--c-ink)); }
.shop-cat-count { font-size: 12px; color: rgb(var(--c-ink-3)); }
.intro + .container .promises,
.shop-panels + .promises { margin-top: 32px; }

/* Demo markers: sample products and sample prices that must be replaced before launch */
.demo-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgb(var(--c-warn-soft));
  color: rgb(var(--c-warn));
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pcard-demo { position: absolute; bottom: 10px; left: 10px; }
.price-demo {
  align-self: center;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgb(var(--c-warn-soft));
  color: rgb(var(--c-warn));
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

/* Shop pages: category tiles, demo notice, link to the other shop */
.section-demo-notice { margin-bottom: 24px; }
.section-cats { margin-bottom: 24px; }
/* Compact tiles here so the products stay close to the top of the page. */
.section-cats .tile-media {
  aspect-ratio: 1 / 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.section-cats .tile-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 639px) {
  .section-cats {
    margin-bottom: 16px;
  }
  .section-cats .tiles {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .section-cats .tiles::-webkit-scrollbar {
    display: none;
  }
  .section-cats .tiles > li {
    flex: 0 0 132px;
    width: 132px;
    scroll-snap-align: start;
  }
  .section-cats .tile {
    padding: 6px;
    border-radius: 14px;
  }
  .section-cats .tile-media {
    border-radius: 10px;
    padding: 6px;
  }
  .section-cats .tile-title {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .section-cats .tile-count {
    font-size: 11px;
  }
  .section-cats .tile-arrow {
    display: none;
  }
  .section-cats .tile-foot {
    padding: 6px 4px 2px;
  }
}
@media (min-width: 640px) {
  .section-cats .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .section-cats .tile-title { font-size: 1.1rem; }
}
@media (min-width: 1024px) {
  .section-cats .tiles { grid-template-columns: repeat(var(--tile-cols, 5), minmax(0, 1fr)); gap: 18px; }
  .section-cats .tile-title { font-size: 1.15rem; }
}
.shop-other { margin-top: 40px; text-align: center; }

/* Product page: options, quantity and total */
.pdp-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pdp-demo-notice { margin-top: 16px; }
.pdp-option-chosen { font-weight: 400; color: rgb(var(--c-ink-2)); }
.pdp-option-single {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border: 1px solid rgb(var(--c-line-strong));
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: rgb(var(--c-ink));
}
.pdp-qty-label { display: none; margin-top: 32px; }
.pdp-qty-label + .pdp-buy { margin-top: 0; }
@media (min-width: 1024px) {
  .pdp-qty-label { display: block; }
}
.pdp-total { margin-top: 16px; font-size: 15px; color: rgb(var(--c-ink-2)); font-variant-numeric: tabular-nums; }
.pdp-total strong { font-size: 17px; color: rgb(var(--c-ink)); }
.pdp-total span { font-size: 13px; color: rgb(var(--c-ink-3)); }

/* Mobile menu: categories indented under their shop */
.menu-sub { display: block; }
.menu-sub .menu-link { padding-left: 28px; }
.menu-sub + .menu-heading { padding-top: 20px; }

/* ==========================================================================
   Theme H, "Heritage" (default, October 2026 mockup): cream paper, deep temple
   green for actions, terracotta for ornament, a touch of brass gold. Flatter,
   softer surfaces than the clay themes; Playfair Display headings.
   ========================================================================== */

[data-theme='H'] {
  --c-bg: 251 246 236; /* #FBF6EC cream */
  --c-surface: 255 252 246;
  --c-surface-2: 245 237 222;
  --c-surface-3: 237 226 206;
  --c-ink: 31 42 34; /* #1F2A22 green-black */
  --c-ink-2: 78 82 70;
  --c-ink-3: 104 102 88; /* 5:1 on cream */
  --c-line: 233 222 201;
  --c-line-strong: 212 196 168;
  --c-primary: 30 74 51; /* #1E4A33 temple green */
  --c-primary-strong: 21 56 38; /* #153826 */
  --c-primary-soft: 228 238 229;
  --c-primary-ink: 255 255 255;
  --c-accent: 181 83 47; /* #B5532F terracotta */
  --c-accent-soft: 247 230 218;
  --c-accent-ink: 150 64 34;
  --c-leaf: 40 105 66;
  --c-leaf-soft: 228 241 231;
  --c-danger: 163 58 50;
  --c-danger-soft: 246 227 224;
  --c-warn: 138 96 40;
  --c-warn-soft: 246 236 216;
  --c-sky: 214 196 160;
  --c-gold: 184 137 58; /* #B8893A brass */
  --c-clay: 96 72 40; /* warm brown shadow tint */
  --c-clay-1: 250 243 230;
  --c-clay-2: 247 239 224;
  --c-clay-3: 244 234 216;
  --c-gift: 160 78 44; /* gift-box band */
  --radius-card: 10px;

  --shadow-clay-sm: 0 1px 2px rgb(var(--c-clay) / 0.08);
  --shadow-clay: 0 1px 2px rgb(var(--c-clay) / 0.06), 0 10px 24px -14px rgb(var(--c-clay) / 0.35);
  --shadow-clay-lg: 0 2px 4px rgb(var(--c-clay) / 0.06), 0 22px 40px -18px rgb(var(--c-clay) / 0.4);
  --shadow-well: inset 0 0 0 1px rgb(var(--c-line));
  --shadow-clay-primary: 0 8px 18px -10px rgb(var(--c-primary) / 0.7);
  --shadow-blob: 0 1px 2px rgb(var(--c-clay) / 0.1), 0 4px 10px -4px rgb(var(--c-clay) / 0.25);
  --font-display: 'Playfair Display', 'Hind Madurai', Georgia, serif;
  --font-brand: Cinzel, 'Playfair Display', Georgia, serif;
}
/* Flat, bordered cards instead of inflated clay. */
[data-theme='H'] .pcard,
[data-theme='H'] .tile,
[data-theme='H'] .filter-bar,
[data-theme='H'] .cta-card {
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface));
}
[data-theme='H'] .filter-bar {
  box-shadow: 0 4px 16px -4px rgb(var(--c-clay) / 0.15);
}
[data-theme='H'] .filter-tab {
  background: rgb(var(--c-surface-2) / 0.55);
  border: 1px solid rgb(var(--c-line) / 0.65);
  box-shadow: none;
}
[data-theme='H'] .filter-tab:hover {
  background: rgb(var(--c-surface));
  border-color: rgb(var(--c-ink-3) / 0.4);
  box-shadow: 0 2px 8px -2px rgb(var(--c-clay) / 0.18);
}
[data-theme='H'] .filter-tab.is-active {
  background: rgb(var(--c-primary));
  color: #fff;
  border-color: rgb(var(--c-primary));
  box-shadow: 0 4px 14px rgb(var(--c-primary) / 0.28);
}
[data-theme='H'] .filter-search input,
[data-theme='H'] .filter-sort {
  background-color: rgb(var(--c-surface-2) / 0.55);
  border: 1px solid rgb(var(--c-line) / 0.65);
  box-shadow: none;
}
[data-theme='H'] .filter-search input:focus,
[data-theme='H'] .filter-sort:focus {
  background-color: #fff;
  border-color: rgb(var(--c-primary));
  box-shadow: 0 0 0 3px rgb(var(--c-primary) / 0.15);
}
[data-theme='H'] .btn-primary { box-shadow: none; }
[data-theme='H'] .btn-primary:hover { box-shadow: var(--shadow-clay-primary); }

/* Hover glow on image cards: the temple green of the brand, as a soft halo and thin ring
   on top of the existing lift. Pointer devices only, so touch screens never hold it. */
@media (hover: hover) and (pointer: fine) {
  [data-theme='H'] .pcard:hover,
  [data-theme='H'] .hh-product:hover,
  [data-theme='H'] .tile:hover {
    box-shadow:
      0 0 0 2px rgb(var(--c-primary) / 0.6),
      0 0 20px -1px rgb(var(--c-primary) / 0.38),
      0 14px 34px -8px rgb(var(--c-primary) / 0.45),
      0 22px 44px -20px rgb(var(--c-clay) / 0.35);
  }
}

/*
 * Shared sticky navbar. The mount itself sticks: a sticky .site-header could
 * never outlive its wrapper, which is exactly its own height. The reserved
 * height matches the drawn header (bar + 1px border), so nothing jumps.
 */
[data-layout='header'] {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: box-shadow 0.25s var(--ease);
}
[data-layout='header'].is-scrolled { box-shadow: 0 8px 20px -12px rgb(var(--c-clay) / 0.45); }
/* Solid ivory: content scrolling underneath must not show through. */
[data-layout='header'] .site-header { position: relative; top: auto; background: rgb(var(--c-bg)); backdrop-filter: none; }
[data-layout='header']:empty { min-height: 73px; }
@media (min-width: 1024px) { [data-layout='header']:empty { min-height: 101px; } }
/* In-page links (#two-worlds) land below the navbar, not under it. */
html { scroll-padding-top: 88px; }
@media (min-width: 1024px) { html { scroll-padding-top: 116px; } }

/* Header: logo · centred nav · search, account, cart */
.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  height: 72px;
}
@media (min-width: 1024px) {
  .header-main { grid-template-columns: auto 1fr auto; gap: 32px; height: 100px; }
}
.header-main .header-menu-btn { justify-self: start; }
@media (max-width: 1023px) {
  .header-main { grid-template-columns: 44px 1fr auto; }
  .header-main .brand { justify-self: center; }
}
/* The logo laid out sideways: gopuram, then the name beside it. Each half is sized by
   height so the two keep a common centre line as the bar narrows, and the width/height
   attributes on each <img> hold the aspect ratio and reserve the space before they load. */
.brand-lockup { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { width: auto; height: 38px; }
.brand-word { width: auto; height: 27px; }
@media (min-width: 640px) {
  .brand-lockup { gap: 11px; }
  .brand-mark { height: 46px; }
  .brand-word { height: 33px; }
}
.header-nav { display: none; justify-content: center; align-items: flex-start; gap: 36px; }
@media (min-width: 1024px) { .header-nav { display: flex; } }
.nav-link {
  position: relative;
  padding-block: 6px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 500;
  color: rgb(var(--c-ink));
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: rgb(var(--c-accent));
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.nav-link:hover { color: rgb(var(--c-accent-ink)); }
.nav-link.is-active::after,
.nav-link:hover::after { transform: scaleX(1); }
/* Each shop in the nav: its own logo beside its name, the name over two lines. The two
   logos are different shapes, so each is sized by height to a similar optical weight. */
.nav-shop { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.nav-shop-logo { flex-shrink: 0; display: block; width: auto; height: 30px; object-fit: contain; }
.nav-shop-logo-handicrafts,
.nav-shop-logo-sec_handicrafts { height: 22px; }
.nav-shop-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(var(--c-ink-2));
}
/* The second line is the destination, so it keeps the weight the nav had before. */
.nav-shop-name > span {
  margin-top: 1px;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: rgb(var(--c-ink));
}
.nav-shop:hover .nav-shop-name,
.nav-shop:hover .nav-shop-name > span { color: rgb(var(--c-accent-ink)); }

/* The nav carries the shops' full names, so an item must never break across two lines.
   Between 1024 and 1279 the bar tightens instead, which is where the four items are
   closest to outgrowing the space between the logo and the cart. */
.nav-link { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .header-main { gap: 16px; }
  .header-nav { gap: 20px; }
  .nav-link { font-size: 14.5px; }
}

.header-actions { display: flex; align-items: center; gap: 2px; margin-left: 0; }
.header-account { display: none; }
@media (min-width: 640px) { .header-account { display: inline-flex; } }
.cart-btn.icon-btn { margin-left: 0; padding: 0; border-radius: 999px; background: transparent; box-shadow: none; }
.cart-btn.icon-btn:hover { background: rgb(var(--c-surface-2)); box-shadow: none; }
.cart-btn .cart-count { top: 4px; right: 2px; left: auto; }
.cart-btn .cart-count:not(.has-items) { display: none; }

/* Ornament: line · flame · line */
.ornament { display: inline-flex; align-items: center; gap: 10px; color: rgb(var(--c-accent)); }
.ornament-line { width: 56px; height: 1px; background: currentColor; opacity: 0.55; }
.ornament.is-light { color: rgb(var(--c-gold)); }
.ornament.is-start .ornament-line:first-child { display: none; }

/* Home sections */
.home-heritage .btn.hh-btn { gap: 8px; height: 46px; padding: 0 24px; font-size: 14.5px; }
.hh-section { padding-block: 56px 8px; }
@media (min-width: 1024px) { .hh-section { padding-block: 72px 8px; } }
.hh-title { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 32px; text-align: center; }
.hh-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: rgb(var(--c-ink));
}

/* Hero: title and button on cream, the full-width scene below fading in at its top edge */
.hh-hero { position: relative; overflow: hidden; background: linear-gradient(rgb(var(--c-bg)), rgb(var(--c-surface-2))); }
.hh-hero-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: clamp(28px, 4vw, 48px) 8px;
  text-align: center;
}
.hh-hero-media { margin-top: clamp(-40px, -3vw, -16px); aspect-ratio: 2400 / 1010; }
.hh-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(transparent 0%, #000 22%);
  mask-image: linear-gradient(transparent 0%, #000 22%);
}
@media (max-width: 639px) { .hh-hero-media { aspect-ratio: 4 / 3; } }
.hh-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: rgb(var(--c-primary-strong));
}
.hh-hero-sub {
  margin-top: 12px;
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.12em;
  color: rgb(var(--c-ink));
}
.hh-hero .hh-btn { margin-top: 22px; }

/* "What are you looking for today?" */
.hh-circles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 12px;
}
@media (min-width: 900px) { .hh-circles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; } }
.hh-circle { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.hh-circle-img {
  display: block;
  width: 100%;
  max-width: 150px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid rgb(var(--c-gold) / 0.45);
  border-radius: 50%;
  background: rgb(var(--c-surface));
  box-shadow: 0 0 0 5px rgb(var(--c-bg)), 0 0 0 6px rgb(var(--c-line));
  transition: transform 0.35s var(--ease), border-color 0.2s;
}
.hh-circle-img img { width: 100%; height: 100%; object-fit: cover; }
/* The client's circle photos come with their own round frame and leaves: show them unframed. */
.hh-circle-img:has(img:not([data-fell-back])) { overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
.hh-circle-img:has(img:not([data-fell-back])) img { object-fit: contain; }
.hh-circle:hover .hh-circle-img { transform: translateY(-3px); border-color: rgb(var(--c-accent)); }
.hh-circle-label { font-family: var(--font-display); font-size: 15px; font-weight: 500; color: rgb(var(--c-ink)); }

/* "Two worlds. One tradition." */
.hh-worlds { display: grid; gap: 20px; }
@media (min-width: 768px) { .hh-worlds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.hh-world { position: relative; isolation: isolate; overflow: hidden; border-radius: 6px; background: rgb(var(--c-surface-2)); }
.hh-world-media { display: block; aspect-ratio: 4 / 3; }
.hh-world-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.hh-world:hover .hh-world-media img { transform: scale(1.03); }
.hh-world::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, rgb(var(--c-bg) / 0.92) 0%, rgb(var(--c-bg) / 0.6) 38%, rgb(var(--c-bg) / 0) 62%);
}
.hh-world-text { position: absolute; top: 0; left: 0; z-index: 2; max-width: 62%; padding: clamp(20px, 3vw, 32px); }
.hh-world-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.08;
  color: rgb(var(--c-primary-strong));
}
.hh-world-sub { margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: rgb(var(--c-ink-2)); }
.hh-world .hh-btn { margin-top: 18px; }
@media (max-width: 639px) {
  .hh-world-media { aspect-ratio: 1 / 1; }
  .hh-world-text { max-width: 78%; }
  .hh-world::before { background: linear-gradient(180deg, rgb(var(--c-bg) / 0.92) 0%, rgb(var(--c-bg) / 0.55) 45%, rgb(var(--c-bg) / 0) 70%); }
}

/* "Discover our collection" */
.hh-collection { position: relative; }
.hh-leaf { position: absolute; top: 24px; width: clamp(110px, 16vw, 220px); height: auto; pointer-events: none; opacity: 0.9; }
.hh-leaf.is-left { left: 0; }
.hh-leaf.is-right { right: 0; transform: scaleX(-1); }
@media (max-width: 639px) { .hh-leaf { display: none; } }
.hh-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 900px) { .hh-products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.hh-product {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 10px 16px;
  border: 1px solid rgb(var(--c-line));
  border-radius: 6px;
  background: rgb(var(--c-surface));
  transition: box-shadow 0.25s, transform 0.25s var(--ease);
}
.hh-product:hover { box-shadow: var(--shadow-clay); transform: translateY(-2px); }
.hh-product-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: rgb(var(--c-surface-2)); }
.hh-product-img img { width: 100%; height: 100%; object-fit: cover; }
.hh-product-name { margin-top: 14px; padding-inline: 4px; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: rgb(var(--c-ink)); }
.hh-product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin: 8px 4px 0;
  padding-bottom: 2px;
  border-bottom: 1px solid rgb(var(--c-accent));
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--c-accent-ink));
}

/* Gift boxes band */
.hh-gifting { margin-top: 72px; background: rgb(var(--c-gift)); color: rgb(var(--c-bg)); overflow: hidden; }
.hh-gifting-inner { display: grid; align-items: center; }
@media (min-width: 900px) { .hh-gifting-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); min-height: 420px; } }
.hh-gifting-text { padding: 48px max(16px, calc((100vw - 1280px) / 2 + 32px)); }
@media (min-width: 900px) { .hh-gifting-text { padding-right: 40px; } }
.hh-gifting-title { font-family: var(--font-display); font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 600; line-height: 1.05; color: rgb(var(--c-bg)); }
.hh-gifting-sub { margin-top: 14px; font-size: 17px; color: rgb(var(--c-bg) / 0.9); }
.hh-gifting .hh-btn { margin-top: 26px; }
.hh-gifting-media { height: 100%; min-height: 260px; }
.hh-gifting-media img { width: 100%; height: 100%; object-fit: cover; }

/* Heritage band */
.hh-heritage { position: relative; isolation: isolate; overflow: hidden; }
.hh-heritage-media { position: absolute; inset: 0; z-index: -1; }
.hh-heritage-media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hh-heritage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(var(--c-bg) / 0.95) 0%, rgb(var(--c-bg) / 0.8) 42%, rgb(var(--c-bg) / 0) 70%);
}
.hh-heritage-inner { display: flex; align-items: center; min-height: clamp(400px, 38vw, 520px); padding-block: 56px; }
.hh-heritage-text { max-width: 30rem; }
.hh-heritage-text .ornament { margin-top: 14px; }
.hh-heritage-text p { margin-top: 14px; font-size: 16px; font-weight: 600; line-height: 1.6; color: rgb(var(--c-primary-strong)); text-shadow: 0 0 6px rgb(var(--c-bg)), 0 0 14px rgb(var(--c-bg) / 0.9); }
.hh-heritage .hh-btn { margin-top: 22px; }
/* Phones and tablets: text on cream first, then the whole photo below it (uncropped, fading in at the top),
   so the heading never sits on the temple tower. */
@media (max-width: 899px) {
  .hh-heritage { display: flex; flex-direction: column-reverse; background: rgb(var(--c-bg)); }
  .hh-heritage::before { display: none; }
  .hh-heritage-media { position: static; z-index: auto; aspect-ratio: 2132 / 738; }
  .hh-heritage-media img {
    object-position: center;
    -webkit-mask-image: linear-gradient(transparent 0%, #000 22%);
    mask-image: linear-gradient(transparent 0%, #000 22%);
  }
  .hh-heritage-inner { min-height: 0; padding-block: 48px 0; }
}
/* Desktop: the band takes the photo's proportions and the text starts right of the palm, as in the mockup. */
@media (min-width: 900px) {
  .hh-heritage { aspect-ratio: 725 / 250; }
  .hh-heritage-media img { object-position: center; }
  .hh-heritage::before { background: radial-gradient(ellipse 34% 62% at 37% 50%, rgb(var(--c-bg) / 0.82) 0%, rgb(var(--c-bg) / 0.5) 55%, rgb(var(--c-bg) / 0) 100%); }
  .hh-heritage-inner { height: 100%; min-height: 0; max-width: none; padding: 0 0 0 21.5%; }
}

/* Footer: deep green, leaf corners, kolam border */
.site-footer {
  /* The kolam artwork's own deep green (measured from its edge), so footer and band read as one surface. */
  --footer-green: 14 60 28;
  position: relative;
  overflow: hidden;
  margin-top: 96px;
  border-radius: 0;
  background: rgb(var(--footer-green));
  color: rgb(var(--c-bg) / 0.85);
  box-shadow: none;
}
/* The homepage ends on the full-bleed heritage band, straight into the footer. */
body[data-page='home'] .site-footer { margin-top: 0; }
.footer-leaf { position: absolute; top: 12px; width: clamp(120px, 15vw, 210px); height: auto; opacity: 0.22; filter: brightness(2) saturate(0.3); pointer-events: none; }
.footer-leaf.is-left { left: -10px; }
.footer-leaf.is-right { right: -10px; transform: scaleX(-1); }
.footer-main {
  position: relative;
  display: grid;
  gap: 32px;
  padding-block: 56px 32px;
}
@media (min-width: 768px) {
  .footer-main { grid-template-columns: auto 1fr; align-items: center; gap: 56px; }
  .footer-cols { padding-left: 56px; border-left: 1px solid rgb(var(--c-bg) / 0.25); }
}
.footer-brand .brand-mark { height: 66px; }
.footer-brand .brand-word { height: 44px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 520px; }
.footer-heading { margin-bottom: 12px; font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; color: rgb(var(--c-bg)); }
.footer-list { display: grid; gap: 6px; font-size: 14px; }
.footer-list > li + li { margin-top: 0; }
.footer-list a { color: rgb(var(--c-bg) / 0.8); transition: color 0.2s; }
.footer-list a:hover { color: rgb(var(--c-bg)); }
/* "Got questions? Call us" block: the brand gold for the icon and the line above, cream
   for the number itself, so it carries the footer's own palette rather than the orange of
   the reference screenshot. */
.footer-support { grid-column: 1 / -1; }
.footer-support-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
  color: rgb(var(--c-bg));
  transition: opacity 0.2s;
}
.footer-support-link:hover { opacity: 0.82; }
.footer-support-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: rgb(var(--c-gold));
}
.footer-support-icon .icon { width: 34px; height: 34px; stroke-width: 1.6; }
.footer-support-text { display: flex; flex-direction: column; line-height: 1.25; }
.footer-support-kicker { font-size: 13px; color: rgb(var(--c-gold)); }
.footer-support-number {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.4vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.footer-social { display: flex; gap: 10px; padding-top: 0; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgb(var(--c-bg) / 0.6);
  border-radius: 50%;
  color: rgb(var(--c-bg));
  transition: background-color 0.2s, color 0.2s;
}
.footer-social a:hover { background: rgb(var(--c-bg)); color: rgb(var(--c-primary)); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-bottom: 28px;
  border-top: 0;
  font-size: 13px;
  text-align: center;
  color: rgb(var(--c-bg) / 0.75);
}
.footer-fine { font-size: 12px; color: rgb(var(--c-bg) / 0.55); }
.footer-fine a { text-decoration: underline; text-underline-offset: 2px; }
/* The client's kolam band, shown whole at full width, seamless with the footer above it. */
.footer-kolam { background: rgb(var(--footer-green)); }
.footer-kolam img {
  display: block;
  width: 100%;
  height: auto;
  /* Fade the artwork's mottled texture in from the flat footer green, so the two read as one surface. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
}

/* Our Story and Shipping pages */
.story-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(360px, 36vw, 460px);
}
.story-hero img {
  position: absolute;
  inset: 0;
  z-index: -2; /* below the cream wash (::before, z -1), which would otherwise be painted over */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.story-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* A focused cream wash behind the centred text; the scenery stays vivid around it. */
    radial-gradient(ellipse 38% 50% at 50% 44%, rgb(var(--c-bg) / 0.94) 0%, rgb(var(--c-bg) / 0.86) 55%, rgb(var(--c-bg) / 0) 100%),
    linear-gradient(180deg, rgb(var(--c-bg) / 0.55) 0%, transparent 35%, transparent 65%, rgb(var(--c-bg) / 0.65) 100%);
}
.story-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 10px;
  max-width: 760px;
  padding-top: 24px;
  padding-bottom: 72px;
  padding-inline: 20px;
  margin-inline: auto;
  transform: translateY(-14px);
}
.story-hero .kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgb(var(--c-primary-strong));
}
.story-hero h1 {
  max-width: 38rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: rgb(var(--c-primary-strong));
  text-wrap: balance;
}
.story-hero p {
  max-width: 34rem;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.6;
  color: rgb(var(--c-primary-strong));
}
.story-body { display: grid; gap: 40px; padding-top: 64px; }
/* Phones and tablets: the heading and subtitle on cream, then the whole photo below (as on the homepage),
   so the bold text never runs over the palm treeline. */
@media (max-width: 899px) {
  .story-hero { flex-direction: column; min-height: 0; background: rgb(var(--c-bg)); }
  .story-hero::before { display: none; }
  .story-hero img {
    position: static;
    order: 2;
    height: auto;
    aspect-ratio: 2132 / 738;
    -webkit-mask-image: linear-gradient(transparent 0%, #000 22%);
    mask-image: linear-gradient(transparent 0%, #000 22%);
  }
  .story-hero-inner { order: 1; transform: none; padding-top: 40px; padding-bottom: 0; }
}
/* Two columns only from 1000px: at 900-999 the half-column left the shop name
   overlapping its logo. */
@media (min-width: 1000px) { .story-body { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; } }
.story-body h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; color: rgb(var(--c-ink)); }
/* Each shop's logo sits in the space the wrapped heading leaves beside it. */
.story-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.story-head h2 { min-width: 0; }
.story-logo { flex-shrink: 0; width: auto; height: 76px; object-fit: contain; }
.story-logo-blossomz { height: 46px; }
/* On a phone the logo beside the heading leaves too little room for the shop's name to
   stay on one line, so it drops below the heading and takes the full width back. */
@media (max-width: 639px) {
  .story-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .story-logo { height: 54px; }
  .story-logo-blossomz { height: 34px; }
}
.story-body p { margin-top: 12px; color: rgb(var(--c-ink-2)); text-align: justify; hyphens: auto; }
.story-quote { margin-top: 56px; padding: 40px 24px; border-block: 1px solid rgb(var(--c-line)); text-align: center; }
.story-quote .ornament { margin-bottom: 16px; }
.story-quote p { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: rgb(var(--c-primary-strong)); }
/* The group's logo above the quote attribution. Decorative: the line below already
   names Hotel Temple City, so a screen reader would otherwise hear it twice. */
.story-quote-logo { display: block; width: auto; height: 64px; margin: 20px auto 0; }
@media (max-width: 639px) { .story-quote-logo { height: 52px; } }
.story-quote-by { display: block; margin-top: 10px; font-size: 13px; color: rgb(var(--c-ink-3)); }
.story-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* ==========================================================================
   Product photo lightbox (ui.openGallery)
   ========================================================================== */

dialog.lightbox::backdrop { background: rgb(18 24 20 / 0.86); backdrop-filter: blur(3px); }
dialog.lightbox[open] { align-items: center; padding: 0; }
.lightbox .modal-panel {
  width: 100%;
  max-width: min(1100px, 100vw);
  max-height: 100vh;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
@media (min-width: 640px) {
  dialog.lightbox[open] { padding: 20px; }
  .lightbox .modal-panel { max-height: 94vh; border-radius: 0; }
}
/* The product name labels the dialog for screen readers; on screen it would collide with
   the page header behind, and the product page already shows it. */
.lightbox .modal-head { padding: 10px 12px; border: 0; justify-content: flex-end; }
.lightbox .modal-title,
.lightbox .modal-desc {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.lightbox .dialog-close {
  flex: none;
  color: rgb(var(--c-bg));
  background: rgb(255 255 255 / 0.12);
  border-radius: 999px;
}
.lightbox .dialog-close:hover { background: rgb(255 255 255 / 0.24); }
.lightbox .modal-body { padding: 0 12px 12px; overflow: hidden; }

.lb { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.lb-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  /* Hug the photo so the arrows sit beside it, not at the far panel edges. */
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
/* The whole photo is always visible: it is fitted, never cropped or stretched. */
.lb-img {
  display: block;
  max-width: 100%;
  max-height: min(70vh, 680px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  background: rgb(var(--c-surface-2));
}
.lb-nav {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.9);
  color: rgb(var(--c-ink));
  box-shadow: 0 6px 18px -6px rgb(0 0 0 / 0.5);
  transform: translateY(-50%);
  transition: background-color 0.2s, transform 0.2s;
}
.lb-nav:hover { background: #fff; }
.lb-nav:active { transform: translateY(-50%) scale(0.94); }
.lb-nav.is-prev { left: 6px; }
.lb-nav.is-next { right: 6px; }
@media (min-width: 900px) {
  .lb-nav.is-prev { left: -8px; }
  .lb-nav.is-next { right: -8px; }
}
.lb-count {
  text-align: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: rgb(var(--c-bg) / 0.8);
}
.lb-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.lb-thumb {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgb(var(--c-surface-2));
  opacity: 0.55;
  box-shadow: 0 0 0 2px transparent;
  transition: opacity 0.2s, box-shadow 0.2s;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumb:hover { opacity: 0.85; }
.lb-thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px rgb(var(--c-noor, 245 200 80)); }
[data-theme='H'] .lb-thumb.is-active { box-shadow: 0 0 0 2px rgb(var(--c-gold)); }
@media (min-width: 640px) { .lb-thumb { width: 72px; height: 72px; } }

/* The product page main photo becomes the button that opens the lightbox. */
.pdp-open-gallery {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
}
.pdp-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgb(var(--c-surface) / 0.92);
  color: rgb(var(--c-ink));
  box-shadow: var(--shadow-clay-sm);
  opacity: 0;
  transition: opacity 0.2s;
}
@media (hover: none) { .pdp-zoom-hint { opacity: 1; } }
.pdp-open-gallery:hover .pdp-zoom-hint,
.pdp-open-gallery:focus-visible .pdp-zoom-hint { opacity: 1; }

/* ==========================================================================
   Mobile layout (audited at 320/360/390/430/768 px and 844x390 landscape)
   Width-based so it applies in a narrowed desktop window too, not only on a
   real touch device.
   ========================================================================== */

@media (max-width: 639px) {
  /* --- Type and rhythm: the desktop scale left very little on screen at once. --- */
  .hh-section { padding-block: 36px 4px; }
  .hh-title { margin-bottom: 20px; }
  .hh-heading { font-size: 1.45rem; }
  .hh-hero-title { font-size: 2rem; }
  .hh-hero-sub { font-size: 13.5px; }
  .hh-hero-text { padding-block: 20px 6px; }
  .hh-gifting { margin-top: 40px; }
  .hh-gifting-text { padding-block: 32px; }
  .hh-gifting-title { font-size: 1.7rem; }
  .hh-gifting-sub { font-size: 15px; }
  .hh-heritage-inner { padding-block: 32px; }
  .section { padding-block: 36px; }
  .page-header { padding-block: 24px 16px; }
  .shop-head { padding-top: 20px; padding-bottom: 14px; }
  .display-lg, .display-md { font-size: 1.75rem; }

  /* --- Filter bar was 165px tall before a single product appeared. --- */
  .filter-bar { padding: 10px; gap: 10px; }
  .filter-tabs { gap: 6px; }
  .filter-tab { height: 36px; font-size: 13px; }
  .filter-search { height: 42px; }
  .filter-sort { height: 42px; flex: 0 1 auto; width: auto; min-width: 104px; max-width: 132px; }
  /* Search and sort side by side instead of stacked: the bar was 173px tall before
     a single product appeared. */
  .filter-tools { flex-direction: row; align-items: center; gap: 8px; padding-top: 8px; }
  .filter-search { flex: 1 1 auto; min-width: 0; }

  /* --- Product cards: 494px tall each made browsing slow. --- */
  .product-grid { gap: 10px; }
  .pcard { padding: 6px; }
  .pcard-body { padding: 10px 4px 4px; }
  .pcard-title { font-size: 1rem; line-height: 1.2; }
  .pcard-meta { font-size: 11.5px; }
  .pcard-variants { margin-top: 6px; }
  .pcard-foot { margin-top: 8px; }

  /* --- Product page: the photo filled the screen and the name landed under the buy bar. --- */
  .pdp-top { padding-top: 10px; }
  /* 36vh, not 46vh: at 46vh the weight selector landed under the fixed buy bar on a
     390px phone, so a tap meant for "250 g" hit the bar's Add button. The photo is still
     fitted rather than cropped, and the gallery shows it full size. */
  .pdp-main-img { max-height: 36vh; }
  .pdp-main-img .pimg-bleed, .pdp-main-img img { max-height: 36vh; object-fit: contain; }
  .pdp-thumbs { gap: 6px; margin-top: 8px; }
  .pdp-thumb { width: 56px; height: 56px; }
  .pdp-title { font-size: 1.75rem; }
  .pdp-price-row { margin-top: 12px; }
  .pdp-short { font-size: 14px; margin-top: 10px; }
  .pdp-info { margin-top: 24px; }
  .info-row { padding-block: 16px; }

  /* Nothing should sit under the fixed buy/pay bar at the foot of the page. */
  body.has-sticky-bar main { padding-bottom: 84px; }
}

/* Form fields under 16px make iOS Safari zoom the page on focus. */
@media (max-width: 1023px) {
  .input,
  input[type='text'], input[type='tel'], input[type='email'],
  input[type='search'], input[type='number'], input[type='password'],
  select, textarea {
    font-size: 16px;
  }
}

/* --- Smallest phones (iPhone SE and similar, 320-380px) --- */
@media (max-width: 380px) {
  /* Long product names were cut after two lines. */
  .pcard-title a { -webkit-line-clamp: 3; }
  /* The lockup crowded the cart and menu buttons on a 320px bar. */
  .brand-lockup { gap: 6px; }
  .brand-mark { height: 32px; }
  .brand-word { height: 23px; }
  /* Weight chips were one per row on a 135px card; two now fit. */
  .pcard .chip { padding: 0 9px; font-size: 12px; }
  .pcard-variants .chips { gap: 5px; }
  /* The floating chat button clipped a product link on a 320px grid. */
  .floating-wa { width: 48px; height: 48px; }
  .floating-wa .icon { width: 20px; height: 20px; }
}

/* Comfortable tap targets. Size chips on cards were 28px tall. */
@media (max-width: 1023px) {
  .chip { height: 36px; padding: 0 14px; font-size: 12.5px; }
  .chips-md .chip { height: 44px; }
}

/* Grow the tap area of small text controls without moving anything on screen. */
.line-remove, .pdp-cat, .pdp-details .text-link { position: relative; }
@media (max-width: 1023px) {
  .line-remove::after { content: ''; position: absolute; inset: -12px -10px; }
  .pdp-cat::after, .pdp-details .text-link::after { content: ''; position: absolute; inset: -10px -6px; }
}
.filter-search-clear::after { content: ''; position: absolute; inset: -8px; border-radius: inherit; }

/* Landscape phones are only ~390px tall: keep the whole gallery on screen. */
@media (max-height: 520px) {
  .lightbox .modal-head { padding: 6px 10px; }
  .lightbox .modal-body { padding: 0 10px 8px; }
  .lb { gap: 6px; }
  .lb-img { max-height: 54vh; }
  .lb-thumb { width: 44px; height: 44px; }
  .lb-nav { width: 38px; height: 38px; }
  .lb-count { font-size: 12px; }
}

