/* Elegance Boutique design preview */
:root {
  --rani: #3a1430;        /* deep plum, primary */
  --rani-2: #5c2350;
  --kesar: #c98a2b;       /* saffron gold, accents */
  --kesar-soft: #f0d49a;
  --kesar-text: #8a5a10;  /* gold that passes 4.5:1 on light backgrounds */
  --gulabi: #f5e8eb;      /* blush panel */
  --paper: #fcfafb;
  --white: #ffffff;
  --ink: #26141f;
  --muted: #66555f;
  --line: #eadde2;
  --panna: #1e5c4b;       /* emerald, success and stock */
  --alert: #a3372c;

  /* Type pairings, switchable from the page guide */
  --display: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --display-weight: 600;
  --display-scale: 1.12;
  --display-track: -0.005em;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  --measure: 75ch;       /* comfortable reading line for body copy */
}
:root[data-font="modern"] {
  --display: 'DM Serif Display', Georgia, serif;
  --display-weight: 400;
  --display-scale: 0.94;
  --display-track: -0.01em;
  --sans: 'DM Sans', system-ui, sans-serif;
}
:root[data-font="couture"] {
  --display: 'Marcellus', Georgia, serif;
  --display-weight: 400;
  --display-scale: 0.9;
  --display-track: 0.01em;
  --sans: 'Jost', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 clamp(1rem, 0.96rem + 0.18vw, 1.0625rem)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--kesar); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--rani); color: #fff;
  padding: 12px 18px; text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: var(--display-weight); line-height: 1.08; margin: 0; letter-spacing: var(--display-track); }
h1 { font-size: calc(clamp(2.4rem, 1.4rem + 4vw, 4.5rem) * var(--display-scale)); }
h2 { font-size: calc(clamp(1.85rem, 1.2rem + 2vw, 2.75rem) * var(--display-scale)); }
h3 { font-size: calc(1.35rem * var(--display-scale)); }
.page-title { font-size: calc(clamp(2.1rem, 1.4rem + 2.4vw, 3.1rem) * var(--display-scale)); color: var(--rani); }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--muted); max-width: var(--measure); }
.page-sub { color: var(--muted); margin: 10px 0 0; max-width: var(--measure); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* ---------- Preview ribbon and page guide ---------- */
.preview-bar {
  background: var(--ink); color: #f3e9ee; font-size: 0.8125rem;
  display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap;
  padding: 6px var(--gutter); text-align: center;
}
.preview-bar button {
  background: none; border: 1px solid #ffffff66; color: inherit; border-radius: 99px;
  min-height: 32px; padding: 2px 14px; cursor: pointer; font-size: 0.8125rem;
}
.preview-bar button:hover { background: #ffffff1a; }
.pv-short { display: none; }
@media (max-width: 600px) { .pv-long { display: none; } .pv-short { display: inline; } }

.dialog {
  position: fixed; inset: 0; z-index: 150; background: #26141fa6; display: flex;
  align-items: flex-start; justify-content: center; padding: 48px 16px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s;
}
.dialog.open { opacity: 1; visibility: visible; transition: opacity .25s; }
.dialog-card {
  background: var(--white); max-width: 480px; width: 100%; padding: 28px; border-radius: var(--radius);
  transform: translateY(16px) scale(.98); transition: transform .35s var(--ease);
}
.dialog.open .dialog-card { transform: none; }
.dialog-card h2 { font-size: calc(1.7rem * var(--display-scale)); margin-bottom: 8px; }
.tour-list { padding-left: 1.2em; margin: 16px 0 20px; }
.tour-list li { margin: 8px 0; }
.tour-list li span { display: block; color: var(--muted); font-size: 0.875rem; }
.font-picker { border: 0; padding: 16px 0 0; margin: 0 0 18px; border-top: 1px solid var(--line); }
.font-picker legend { font-weight: 700; padding: 0; margin-bottom: 10px; }
.font-picker .choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.font-choice { display: block; cursor: pointer; }
.font-choice input { position: absolute; opacity: 0; }
.font-choice span {
  display: block; border: 1px solid var(--line); padding: 10px 8px; text-align: center; border-radius: var(--radius);
  transition: border-color .2s, background .2s;
}
.font-choice b { display: block; font-size: 1.35rem; line-height: 1.1; font-weight: 400; color: var(--rani); }
.font-choice small { font-size: 0.75rem; color: var(--muted); }
.font-choice input:checked + span { border-color: var(--rani); background: var(--gulabi); }
.font-choice input:focus-visible + span { outline: 2px solid var(--kesar); outline-offset: 2px; }

/* ---------- Announcement ---------- */
.announce { background: var(--gulabi); color: var(--rani); font-size: 0.875rem; text-align: center; padding: 9px var(--gutter); min-height: 40px; position: relative; }
.announce-msg { display: block; transition: opacity .45s, transform .45s var(--ease); }
.announce-msg.out { opacity: 0; transform: translateY(-6px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: #fffffff2; backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px #3a143040; }
.header-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; height: var(--header-h); gap: 24px; }
.header-row .wordmark { order: -1; text-align: left; }
.wordmark { text-decoration: none; line-height: 1; display: inline-flex; align-items: center; gap: 12px; }
.wm-text { display: block; text-align: left; white-space: nowrap; }
.logo-badge {
  width: 50px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #0d0b0c; flex: none; display: block;
  box-shadow: 0 0 0 1px #c98a2b59, 0 6px 16px -8px #26141f80; transition: transform .5s var(--ease);
}
.logo-badge img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }
.wordmark:hover .logo-badge { transform: rotate(-8deg); }
.site-footer .logo-badge { width: 84px; }
.site-footer .wordmark { gap: 16px; }
.admin-side .logo-badge { width: 42px; }
.wordmark b { font: var(--display-weight) calc(2rem * var(--display-scale))/1 var(--display); color: var(--rani); letter-spacing: 0.01em; display: block; }
.wordmark small { font-size: 0.6875rem; letter-spacing: 0.22em; color: var(--muted); font-weight: 600; }
.main-nav { display: flex; justify-content: center; gap: clamp(14px, 1.6vw, 26px); font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
.main-nav a { text-decoration: none; padding: 8px 0; position: relative; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--rani);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-tools { display: flex; justify-content: flex-end; gap: 4px; align-items: center; }
.icon-btn {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; text-decoration: none; border-radius: 50%; transition: background .2s;
}
.icon-btn:hover { background: var(--gulabi); }
.icon-btn svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.bag-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--rani); color: #fff; border-radius: 99px; font-size: 0.6875rem; font-weight: 700;
  display: grid; place-items: center;
}
.bag-count:empty { display: none; }
.bag-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }
.menu-btn { display: none; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; transition: visibility 0s .35s; }
.drawer.open { visibility: visible; transition: none; }
.drawer-backdrop { position: absolute; inset: 0; background: #26141f80; opacity: 0; transition: opacity .35s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; left: 0; top: 0; bottom: 0; width: min(86vw, 360px); background: var(--white);
  padding: 16px 0 32px; overflow-y: auto; transform: translateX(-100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 0 12px 12px 24px; border-bottom: 1px solid var(--line); }
.drawer nav a { display: block; padding: 14px 24px; text-decoration: none; font: var(--display-weight) calc(1.5rem * var(--display-scale))/1.2 var(--display); color: var(--rani); }
.drawer nav a:hover { background: var(--paper); }
.drawer-foot { margin-top: auto; padding: 20px 24px 0; font-size: 0.9375rem; display: grid; gap: 10px; }
.drawer-foot a { text-decoration: none; color: var(--muted); }

@media (max-width: 1180px) {
  .header-row { grid-template-columns: 1fr auto 1fr; }
  .header-row .wordmark { order: 0; }
  .main-nav { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .wordmark b { font-size: calc(1.6rem * var(--display-scale)); }
  .header-row .logo-badge, .drawer .logo-badge { width: 40px; }
  .header-row .wordmark { gap: 9px; }
  .wordmark small { font-size: 0.625rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: var(--radius); cursor: pointer;
  font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.01em; text-decoration: none; text-align: center;
  border: 1px solid var(--rani); background: var(--rani); color: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .3s, border-color .3s, transform .15s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--rani-2);
  transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--rani); }
.btn.ghost::before { background: var(--gulabi); }
.btn.wa { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn.wa::before { background: #eaf7ee; }
.btn.wa svg { width: 20px; height: 20px; fill: #1f8f3b; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { color: var(--rani); text-underline-offset: 4px; text-decoration-thickness: 1px; font-weight: 600; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Hero ---------- */
.hero { background: var(--paper); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; min-height: min(calc(100vh - 150px), 780px); padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 56px); }
.hero h1 { color: var(--rani); font-size: calc(clamp(2.6rem, 1.5rem + 3.6vw, 4.6rem) * var(--display-scale)); line-height: 1.04; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: block; }
.js .hero h1 .line > span { white-space: nowrap; }  /* size is fitted by script */
.hero .lede { margin: 24px 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 480px) { .hero-actions .btn { flex: 1 1 100%; } }
.hero-note { margin: 36px 0 0; padding: 0; list-style: none; font-size: 0.875rem; color: var(--muted); display: flex; gap: 10px 28px; flex-wrap: wrap; }
.hero-note b { color: var(--ink); font-weight: 700; display: block; font-size: 1rem; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 0 0 40px; }
.hero-arch {
  margin: 0; position: relative; width: min(100%, 440px, calc((100svh - 230px) * 0.64)); min-width: 280px; aspect-ratio: 736 / 1150;
  border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--gulabi);
  box-shadow: 0 30px 60px -30px #3a143066;
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-arch::after { content: ''; position: absolute; inset: 10px; border: 1px solid #ffffff99; border-radius: inherit; pointer-events: none; }
.hero-inset {
  margin: 0; position: absolute; left: max(0px, calc(50% - 330px)); bottom: 0; width: clamp(130px, 15vw, 200px);
  aspect-ratio: 3 / 4; overflow: hidden; border: 6px solid var(--white); box-shadow: 0 20px 40px -20px #3a143080; background: var(--gulabi);
}
.hero-inset img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hero-tag {
  position: absolute; right: max(0px, calc(50% - 300px)); bottom: 70px; background: var(--white); padding: 12px 16px;
  font-size: 0.875rem; box-shadow: 0 12px 30px -16px #3a143066; max-width: 220px; line-height: 1.4;
}
.hero-tag a { font-weight: 700; color: var(--rani); }
.hero-tag small { display: block; color: var(--muted); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 8px; }
  .hero-visual { order: -1; padding-bottom: 28px; }
  .hero-arch { width: min(78vw, 360px); }
  .hero-inset { width: 110px; left: max(0px, calc(50% - 200px)); }
  .hero-tag { right: max(0px, calc(50% - 190px)); bottom: 40px; max-width: 180px; }
  .hero-copy { text-align: left; }
}
@media (max-width: 420px) {
  .hero-inset { display: none; }
  .hero-tag { right: 0; bottom: 20px; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--rani); color: #f6e7ef; overflow: hidden; padding: 16px 0; font-size: 1rem; position: relative; }

.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font-family: var(--display); font-size: calc(1.3rem * var(--display-scale)); }
.marquee li::after { content: ''; width: 7px; height: 7px; background: var(--kesar); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tint { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: var(--measure); }

/* Occasion rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; list-style: none; margin: 0; padding-left: 0; }
.rail::-webkit-scrollbar { height: 4px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); }
.occ { scroll-snap-align: start; text-decoration: none; display: block; }
.occ figure { margin: 0; aspect-ratio: 3 / 4.2; overflow: hidden; background: var(--gulabi); border-radius: 999px 999px 0 0; }
.occ img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.occ:hover img, .occ:focus-visible img { transform: scale(1.06); }
.occ span { display: inline-block; font: var(--display-weight) calc(1.3rem * var(--display-scale))/1.2 var(--display); margin-top: 12px; background: linear-gradient(var(--rani), var(--rani)) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease); }
.occ:hover span, .occ:focus-visible span { background-size: 100% 1.5px; }
@media (max-width: 700px) { .rail { grid-auto-columns: 44%; } }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; list-style: none; margin: 0; padding: 0; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid, .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } }
.card { position: relative; }
.card > a { text-decoration: none; display: block; }
.card-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--gulabi); }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1s var(--ease); }
.card:hover .card-media img, .card > a:focus-visible .card-media img { transform: scale(1.05); }
.card-cta {
  position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fffffff0; color: var(--rani); text-align: center;
  font-size: 0.875rem; font-weight: 700; padding: 10px; transform: translateY(calc(100% + 12px)); transition: transform .4s var(--ease);
}
.card:hover .card-cta, .card > a:focus-visible .card-cta { transform: none; }
@media (hover: none) { .card-cta { display: none; } }
.card-tag { position: absolute; left: 10px; top: 10px; background: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 8px; }
.card-tag.low { color: var(--alert); }
.card-fav { position: absolute; right: 6px; top: 6px; background: #ffffffe6; }
.card-fav svg { transition: transform .3s var(--ease), fill .2s; }
.card-fav.on svg { fill: var(--rani); stroke: var(--rani); animation: bump .45s var(--ease); }
.card h3 { font: 600 1rem/1.35 var(--sans); margin: 14px 0 2px; letter-spacing: 0; }
.card .price { font-weight: 700; }
.card .fitline { font-size: 0.8125rem; color: var(--panna); margin-top: 2px; font-weight: 500; }

/* Fit band */
.fit-band { background: var(--rani); color: #f6ecf1; position: relative; overflow: hidden; }
.fit-band h2 { color: #fff; }
.fit-band .fit-intro { margin: 18px 0 28px; max-width: var(--measure); }
.fit-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; position: relative; }
.fit-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.fit-steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid #ffffff26; }
.fit-steps li::before { content: counter(step); font: var(--display-weight) calc(2.4rem * var(--display-scale))/1 var(--display); color: var(--kesar-soft); }
.fit-steps h3 { color: #fff; margin-bottom: 6px; }
.fit-steps p { margin: 0; color: #e8d6e0; }
.fit-band p { color: #e8d6e0; }
.fit-band .btn { background: var(--kesar-soft); color: var(--ink); border-color: var(--kesar-soft); }
.fit-band .btn::before { background: #f7e4bb; }
.fit-band .btn.ghost { background: transparent; color: #fff; border-color: #ffffff8c; }
.fit-band .btn.ghost::before { background: #ffffff1a; }
@media (max-width: 900px) { .fit-grid { grid-template-columns: 1fr; } }

/* Editorial split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.split-media { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; align-items: end; }
.split-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--gulabi); }
.split-media img:first-child { border-radius: 999px 999px 0 0; }
.split-media img:last-child { aspect-ratio: 3 / 3.6; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border: 1px solid var(--line); padding: 26px; margin: 0; }
.review blockquote { margin: 0 0 16px; font: var(--display-weight) calc(1.2rem * var(--display-scale))/1.5 var(--display); }
.review .who { font-size: 0.875rem; color: var(--muted); }
.stars { color: var(--kesar-text); letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 10px; }
.sample-flag { display: inline-block; font: 600 0.75rem/1.5 var(--sans); background: var(--gulabi); color: var(--rani); padding: 2px 8px; margin-left: 8px; vertical-align: middle; letter-spacing: 0; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* Instagram strip */
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; }
.insta a { display: block; overflow: hidden; }
.insta img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .8s var(--ease), filter .4s; }
.insta a:hover img, .insta a:focus-visible img { transform: scale(1.07); filter: saturate(1.15); }
@media (max-width: 700px) { .insta { grid-template-columns: repeat(3, 1fr); } }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; background: var(--gulabi); }
.visit > img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; contain: size; }
.visit-copy { padding: clamp(32px, 6vw, 72px) var(--gutter); }
.visit-copy dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 24px 0 28px; }
.visit-copy dt { color: var(--muted); }
.visit-copy dd { margin: 0; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .visit > img { contain: none; height: auto; min-height: 0; aspect-ratio: 4 / 3; } }

/* Footer */
.site-footer { background: var(--ink); color: #dccbd5; padding: 64px 0 28px; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h2 { color: #fff; font: 700 0.9375rem/1.4 var(--sans); margin-bottom: 14px; letter-spacing: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 4px 0; }
.site-footer li a { display: inline-block; padding: 4px 0; }
.site-footer .wordmark { margin-bottom: 14px; }
.site-footer .wordmark b { color: #fff; }
.site-footer .wordmark small { color: #c3aebb; }
.site-footer .btn.ghost { color: #fff; border-color: #ffffff66; }
.site-footer .btn.ghost::before { background: #ffffff1a; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.pay-row li { border: 1px solid #ffffff40; padding: 3px 10px; font-size: 0.8125rem; border-radius: 99px; margin: 0; }
.footer-base { border-top: 1px solid #ffffff1f; margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.8125rem; color: #b8a3b0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-head { padding: 40px 0 28px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 0.8125rem; color: var(--muted); margin-bottom: 10px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: '/'; margin-right: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Shop */
.shop-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 32px 0 80px; }
.filters fieldset { border: 0; padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.filters legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.filters label { display: flex; gap: 10px; align-items: center; min-height: 36px; cursor: pointer; font-size: 0.9375rem; }
.filters input[type="checkbox"], .filters input[type="radio"] { accent-color: var(--rani); width: 18px; height: 18px; flex: none; }
.filters-head { display: none; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.select { border: 1px solid var(--line); background: #fff; padding: 0 12px; min-height: 44px; border-radius: var(--radius); }
.filter-toggle { display: none; }
.chips { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.empty { padding: 60px 0; text-align: center; }
.grid-anim .card { animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .filter-toggle { display: inline-flex; }
  .filters {
    position: fixed; inset: 0 0 0 auto; width: min(90vw, 380px); z-index: 130; background: var(--white);
    padding: 0 20px 100px; overflow-y: auto; transform: translateX(100%); visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s .4s; box-shadow: -20px 0 40px -20px #26141f59;
  }
  .filters.open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
  .filters-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--white); padding: 14px 0; margin-bottom: 8px; border-bottom: 1px solid var(--line); z-index: 1; }
  .filters-head h2 { font-size: calc(1.6rem * var(--display-scale)); }
  .filters-apply { position: fixed; bottom: 0; right: 0; width: min(90vw, 380px); padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
  .scrim { position: fixed; inset: 0; background: #26141f80; z-index: 125; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
  .scrim.open { opacity: 1; visibility: visible; transition: opacity .3s; }
}
@media (min-width: 901px) { .filters-apply, .scrim { display: none; } }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 64px); padding: 28px 0 72px; }
.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-self: start; position: sticky; top: calc(var(--header-h) + 18px); }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs button { padding: 0; border: 1px solid transparent; background: var(--gulabi); cursor: pointer; aspect-ratio: 3/4; overflow: hidden; width: 100%; transition: border-color .2s, opacity .2s; opacity: .7; }
.thumbs button[aria-current="true"], .thumbs button:hover { border-color: var(--rani); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.main-img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--gulabi); }
.main-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s var(--ease); }
.main-img img.swap { opacity: 0; }
.pdp-info h1 { font-size: calc(clamp(2rem, 1.3rem + 2vw, 2.75rem) * var(--display-scale)); color: var(--rani); }
.pdp-price { font-size: 1.4rem; font-weight: 700; margin: 14px 0 2px; }
.stock { font-size: 0.875rem; margin: 10px 0 0; color: var(--panna); font-weight: 600; }
.stock.low { color: var(--alert); }
.opt-block { margin-top: 28px; border: 0; padding: 0; min-width: 0; }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; width: 100%; padding: 0; }
.opt-head b, legend.opt-head { font-weight: 700; }
fieldset.opt-block > legend { float: left; }
fieldset.opt-block > legend + * { clear: both; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
  min-width: 52px; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s;
}
.size:hover { border-color: var(--rani); }
.size[aria-pressed="true"] { border-color: var(--rani); background: var(--rani); color: #fff; }
.fit-options { display: grid; gap: 10px; }
.fit-opt { display: grid; grid-template-columns: 20px 1fr; gap: 12px; border: 1px solid var(--line); padding: 14px 16px; cursor: pointer; border-radius: var(--radius); transition: border-color .2s, background .2s; }
.fit-opt:hover { border-color: #cdb7c3; }
.fit-opt:has(input:checked) { border-color: var(--rani); background: var(--paper); }
.fit-opt input { accent-color: var(--rani); margin-top: 4px; width: 18px; height: 18px; }
.fit-opt b { display: block; font-weight: 700; }
.fit-opt span { font-size: 0.875rem; color: var(--muted); }
.measure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.measure[hidden] { display: none !important; }
.measure:not([hidden]) { animation: cardIn .4s var(--ease); }
.field { display: flex; flex-direction: column; gap: 5px; font-size: 0.8125rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  border: 1px solid #d9c9d1; background: #fff; padding: 0 12px; min-height: 46px; border-radius: var(--radius); color: var(--ink); font-size: 1rem; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { padding: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rani); box-shadow: 0 0 0 3px #3a14301f; }
.field input[aria-invalid="true"] { border-color: var(--alert); }
.field-error { color: var(--alert); font-size: 0.8125rem; font-weight: 600; margin: 8px 0 0; }
.pincode { display: flex; flex-wrap: wrap; gap: 8px; }
.pincode input { flex: 1 1 160px; min-width: 0; border: 1px solid #d9c9d1; padding: 0 12px; min-height: 46px; border-radius: var(--radius); font-size: 1rem; }
.pincode input:focus { outline: none; border-color: var(--rani); box-shadow: 0 0 0 3px #3a14301f; }
.pincode .btn { min-height: 46px; }
.pin-result { font-size: 0.875rem; margin-top: 10px; }
.pin-result ul { list-style: none; padding: 0; margin: 6px 0; }
.pin-result li { padding: 3px 0; }
.pin-result .ok { color: var(--panna); font-weight: 600; }
.pdp-actions { display: grid; gap: 10px; margin-top: 28px; }
.assure { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 0.875rem; color: var(--muted); }
.assure b { color: var(--ink); display: block; font-weight: 700; }
details.acc { border-top: 1px solid var(--line); }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: '+'; font-weight: 400; font-size: 1.3rem; line-height: 1; transition: transform .3s var(--ease); }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc p { margin: 0 0 16px; color: var(--muted); font-size: 0.9375rem; }
details.acc[open] p { animation: cardIn .35s var(--ease); }
.accs { margin-top: 32px; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1fr); padding-top: 12px; }
  .gallery { position: static; grid-template-columns: minmax(0, 1fr); }
  .thumbs { flex-direction: row; order: 2; }
  .thumbs button { width: 64px; }
}
@media (max-width: 480px) { .measure { grid-template-columns: repeat(2, minmax(0, 1fr)); } .assure { grid-template-columns: 1fr; } }

/* Sticky mobile buy bar */
.buy-bar { display: none; }
@media (max-width: 900px) {
  .buy-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: #fffffff5; backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .buy-bar.show { transform: none; }
  .buy-bar .btn { min-height: 46px; padding: 0 12px; }
  body.has-buy-bar { padding-bottom: 76px; }
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 160;
  background: var(--ink); color: #fff; padding: 12px 18px; font-size: 0.9375rem; transition: opacity .3s, transform .35s var(--ease); pointer-events: none; max-width: calc(100vw - 32px);
  box-shadow: 0 16px 30px -16px #000a;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--kesar-soft); margin-left: 10px; font-weight: 700; }
@media (max-width: 900px) { body.has-buy-bar .toast { bottom: 92px; } }

/* Bag and checkout */
.two-col { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 64px); padding: 32px 0 88px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.line-items { list-style: none; margin: 0; padding: 0; }
.line-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line-item:first-child { border-top: 1px solid var(--line); }
.line-item img { width: 96px; aspect-ratio: 3/4; object-fit: cover; background: var(--gulabi); }
.line-item h3 { font: 700 1rem/1.35 var(--sans); letter-spacing: 0; }
.line-item .meta { font-size: 0.875rem; color: var(--muted); margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 12px; }
.qty button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.qty button:hover { background: var(--paper); }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 0.875rem; margin-left: 8px; min-height: 44px; padding: 0 8px; }
@media (max-width: 480px) { .line-item { grid-template-columns: 76px minmax(0, 1fr); } .line-item img { width: 76px; } .line-item > :last-child { grid-column: 2; } }
.summary { background: var(--paper); border: 1px solid var(--line); padding: 26px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary h2 { font-size: calc(1.7rem * var(--display-scale)); margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 0.9375rem; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; font-size: 1.1rem; font-weight: 800; }
.sum-row .save { color: var(--panna); font-weight: 600; }
@media (max-width: 900px) { .summary { position: static; } }
.ship-progress { margin: 0 0 24px; }
.ship-progress p { margin: 0 0 10px; font-size: 0.9375rem; }
.progress { height: 6px; background: var(--gulabi); border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rani), var(--kesar)); border-radius: inherit; transition: width .8s var(--ease); }
.upsell { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border: 1px dashed var(--kesar); margin-top: 24px; background: #fff; }
.upsell img { width: 64px; aspect-ratio: 3/4; object-fit: cover; }
.upsell .btn { min-height: 44px; padding: 0 18px; font-size: 0.875rem; }

.co-section { padding: 26px 0; border-bottom: 1px solid var(--line); margin: 0; border-left: 0; border-right: 0; border-top: 0; min-width: 0; }
fieldset.co-section { padding: 26px 0; }
.co-section h2, .co-section legend { font-family: var(--display); font-weight: var(--display-weight); font-size: calc(1.6rem * var(--display-scale)); margin-bottom: 16px; padding: 0; color: var(--ink); }
fieldset.co-section > legend { float: left; width: 100%; }
fieldset.co-section > legend + * { clear: both; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.options { display: grid; gap: 10px; }
.option { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: start; border: 1px solid var(--line); padding: 14px 16px; cursor: pointer; background: #fff; border-radius: var(--radius); transition: border-color .2s, background .2s; }
.option:hover { border-color: #cdb7c3; }
.option:has(input:checked) { border-color: var(--rani); background: var(--paper); }
.option input { accent-color: var(--rani); margin-top: 4px; width: 18px; height: 18px; }
.option b { font-weight: 700; display: block; }
.option span { font-size: 0.875rem; color: var(--muted); }
.option .amt { font-weight: 700; white-space: nowrap; color: var(--ink); }
.option.disabled { opacity: .55; cursor: not-allowed; }
.powered { font-size: 0.8125rem; color: var(--muted); margin: 10px 0 0; }
.powered b { color: var(--ink); }
.notice { background: var(--gulabi); padding: 12px 14px; font-size: 0.875rem; margin: 12px 0 0; color: var(--rani); }
.mini-items { display: grid; gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; }
.mini-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 0.875rem; }
.mini-item img { width: 52px; aspect-ratio: 3/4; object-fit: cover; }

/* Order tracking */
.timeline { list-style: none; padding: 0; margin: 20px 0 0; }
.timeline li { position: relative; padding: 0 0 26px 36px; }
.timeline li::before { content: ''; position: absolute; left: 7px; top: 22px; bottom: -2px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ''; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #cdb7c3; background: #fff; }
.timeline li.done::after { background: var(--panna); border-color: var(--panna); }
.timeline li.done::before { background: var(--panna); }
.timeline li.now::after { border-color: var(--rani); background: var(--kesar-soft); box-shadow: 0 0 0 0 #c98a2b80; animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px #c98a2b00; } 100% { box-shadow: 0 0 0 0 #c98a2b00; } }
.timeline b { display: block; }
.timeline span { font-size: 0.875rem; color: var(--muted); }
.track-card { border: 1px solid var(--line); padding: 24px; background: #fff; }
.track-card h2 { font-size: calc(1.7rem * var(--display-scale)); }
.track-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; margin: 0; }
.track-meta dt { font-size: 0.8125rem; color: var(--muted); }
.track-meta dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 560px) { .track-meta { grid-template-columns: 1fr 1fr; } }
.wa-bubble { background: #e7f6ea; padding: 14px 16px; font-size: 0.9375rem; border-radius: 10px 10px 10px 0; margin-top: 14px; }

/* Stitching */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.dates { display: grid; grid-auto-flow: column; grid-auto-columns: 74px; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; }
.date, .slot { border: 1px solid var(--line); background: #fff; cursor: pointer; border-radius: var(--radius); transition: background .2s, color .2s, border-color .2s; }
.date:hover:not(:disabled), .slot:hover:not(:disabled) { border-color: var(--rani); }
.date { padding: 10px 0; text-align: center; line-height: 1.2; min-height: 80px; }
.date small { display: block; font-size: 0.75rem; color: var(--muted); }
.date b { font-size: 1.35rem; font-family: var(--display); font-weight: var(--display-weight); }
.date[aria-pressed="true"], .slot[aria-pressed="true"] { background: var(--rani); color: #fff; border-color: var(--rani); }
.date[aria-pressed="true"] small { color: #ecdbe5; }
.date:disabled, .slot:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { padding: 0 16px; min-height: 44px; }

/* ---------- Admin ---------- */
.admin { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 100vh; background: var(--paper); }
.admin-side { background: var(--ink); color: #dccbd5; padding: 24px 0; }
.admin-side .wordmark { display: block; text-align: left; padding: 0 22px 20px; }
.admin-side .wordmark b { color: #fff; font-size: calc(1.6rem * var(--display-scale)); }
.admin-side .wordmark small { color: #c3aebb; }
.admin-side nav a { display: block; padding: 11px 22px; text-decoration: none; font-size: 0.9375rem; }
.admin-side nav a:hover { background: #ffffff0f; }
.admin-side nav a[aria-current="page"] { background: #ffffff14; color: #fff; border-left: 3px solid var(--kesar); padding-left: 19px; }
.admin-main { padding: 32px clamp(16px, 4vw, 48px) 80px; max-width: 1100px; }
.admin-main h1 { font-size: calc(2.3rem * var(--display-scale)); color: var(--rani); }
.admin-main > p { color: var(--muted); max-width: var(--measure); }
.panel { background: #fff; border: 1px solid var(--line); padding: 24px; margin-top: 24px; }
.panel h2 { font-size: calc(1.5rem * var(--display-scale)); margin-bottom: 4px; }
.panel > p { color: var(--muted); margin-bottom: 18px; }
.providers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 800px) { .providers { grid-template-columns: 1fr; } }
.provider { border: 1px solid var(--line); padding: 18px; display: grid; gap: 10px; align-content: start; transition: border-color .3s, box-shadow .3s; }
.provider.connected { border-color: var(--panna); box-shadow: inset 3px 0 0 var(--panna); }
.provider-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.provider-logo { font: 700 1.05rem/1.2 var(--sans); display: flex; align-items: center; gap: 10px; }
.provider-logo i { width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 0.875rem; flex: none; }
.provider p { margin: 0; font-size: 0.875rem; color: var(--muted); }
.pill { font-size: 0.75rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--gulabi); color: var(--rani); white-space: nowrap; }
.pill.ok { background: #e3f1ec; color: var(--panna); }
.provider .btn { min-height: 44px; font-size: 0.875rem; justify-self: start; }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: #b9a6b0; border-radius: 99px; transition: background .2s; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--panna); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--kesar); outline-offset: 2px; }
.rule { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.rule:first-of-type { border-top: 0; }
.rule b { display: block; font-weight: 700; }
.rule span { font-size: 0.875rem; color: var(--muted); }
.rule input[type="number"] { width: 110px; border: 1px solid #d9c9d1; padding: 0 10px; min-height: 44px; flex: none; }
@media (max-width: 480px) { .rule { flex-wrap: wrap; } }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 8px 0 0; counter-reset: f; }
.flow li { counter-increment: f; padding: 14px 14px 0 0; border-top: 3px solid var(--kesar-soft); font-size: 0.875rem; color: var(--muted); }
.flow li b { display: block; color: var(--ink); margin-bottom: 4px; }
.flow li b::before { content: counter(f) '. '; color: var(--kesar-text); }
@media (max-width: 800px) { .flow { grid-template-columns: 1fr; gap: 12px; } }
table.rates { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 560px; }
table.rates th, table.rates td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
table.rates th { font-size: 0.8125rem; color: var(--muted); font-weight: 700; }
.table-scroll { overflow-x: auto; }
.table-scroll:focus-visible { outline-offset: 2px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
@media (max-width: 800px) {
  .admin { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .admin-side { padding: 12px 0 0; }
  .admin-side nav { display: flex; overflow-x: auto; }
  .admin-side nav a { white-space: nowrap; }
  .admin-side nav a[aria-current="page"] { border-left: 0; border-bottom: 3px solid var(--kesar); padding-left: 22px; }
}

/* ---------- Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.js .hero h1 .line > span { transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(.15s + var(--d, 0s)); }
.js .hero-fade { opacity: 0; animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, .6s); }
.js .hero-arch { animation: unveil 1.4s var(--ease) both .1s; }
.js .hero-arch img { animation: settle 2s var(--ease) both .1s; }
.js .hero-inset { animation: fadeUp 1s var(--ease) both .9s; }
.js .hero-tag { animation: fadeUp 1s var(--ease) both 1.15s; }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.15); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .hero-fade { opacity: 1; transform: none; }
  .js .hero h1 .line > span { transform: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track ul[aria-hidden="true"] { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
}
/* Narrow phones: header keeps only the menu and icons; logo and name live in the menu drawer. */
@media (max-width: 374px) {
  .header-row { grid-template-columns: auto 1fr auto; gap: 4px; }
  .header-row .wordmark { display: none; }
  .header-tools { grid-column: 3; }
}
