/* Sai Sangeetha — styles
   Palette from the brand colour code: FDFFFC · 80A4ED · 06279A · 081D6E · 048A81 */
:root {
  color-scheme: light;
  --tint: #EEF3FD;
  --tint-line: #D3DDF5;
  --paper: #FDFFFC;
  --paper-2: #F2F6FE;
  --sky-soft: #E2EAFB;
  --sky: #80A4ED;
  --royal: #06279A;
  --ink: #081D6E;
  --ink-soft: #46538A;
  --teal: #047068; /* brand teal #048A81, darkened so text and white-on-teal pass 4.5:1 */
  --teal-soft: #DDF2EF;
  --line: #D6DEF3;
  --white: #FFFFFF;

  --serif: "SS Serif", "Iowan Old Style", Georgia, serif;
  --sans: "SS Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 2px rgba(8, 29, 110, .06), 0 12px 32px -12px rgba(8, 29, 110, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h2 { font: 400 clamp(2.3rem, 4.6vw, 3.9rem)/1.02 var(--serif); letter-spacing: -.01em; }
h3 { font: 600 1.05rem/1.3 var(--sans); }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--royal); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
kbd { font: 600 .78em/1 var(--sans); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: .2em .45em; background: var(--white); }

.eyebrow {
  font: 700 .74rem/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
section { padding-inline: var(--gutter); }
.section-head { max-width: var(--maxw); margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 .98rem/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.btn-primary { background: var(--royal); color: #fff; box-shadow: 0 10px 24px -12px rgba(6, 39, 154, .7); }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-soft); }
.btn-wa { background: var(--teal); color: #fff; width: 100%; }
.btn-wa:hover { background: #037169; }
.btn-wa[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.link { background: none; border: 0; padding: 0; font: 600 .92rem/1.4 var(--sans); color: var(--royal); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sky); cursor: pointer; }
.link:hover { color: var(--teal); text-decoration-color: currentColor; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; transition: transform .3s var(--ease), border-color .2s; }
.icon-btn:hover { transform: rotate(90deg); border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }

/* Staff lines (five-line stave used as a divider motif) */
.staff { display: block; width: 100%; pointer-events: none; }
.staff path { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; gap: 24px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter) 14px;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease);
}
.nav.is-solid { background: rgba(253, 255, 252, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-24deg) scale(1.06); }
.brand span { font: 400 1.55rem/1 var(--serif); letter-spacing: .01em; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { position: relative; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--ink-soft); border-radius: 999px; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1.5px; background: var(--royal); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a.is-current { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 14px; border-radius: 999px; background: var(--ink); color: #fff; border: 0; cursor: pointer; font-weight: 600; font-size: .93rem; transition: background-color .2s; }
.cart-btn:hover { background: var(--royal); }
.cart-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--sky); color: var(--ink); display: grid; place-items: center; font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 420px) { .cart-label { display: none; } .brand span { font-size: 1.35rem; } }

/* HERO */
.hero {
  position: relative;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin: 0 auto;
  min-height: min(100svh, 900px);
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 110px);
  padding-bottom: 60px;
}
.staff-hero { position: absolute; left: 46%; right: 0; top: 50%; width: auto; height: 120px; transform: translateY(-40%); z-index: 0; }
.hero-copy { position: relative; z-index: 2; }
.hero-title { font: 400 clamp(3.1rem, 6.9vw, 6.6rem)/.96 var(--serif); letter-spacing: -.02em; margin-bottom: 26px; }
.hero-title em { font-style: italic; color: var(--royal); }
.hero-sub { max-width: 34rem; font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 34px; margin: 0; }
.hero-facts dt { font: 400 1.7rem/1.1 var(--serif); }
.hero-facts dd { margin: 4px 0 0; font-size: .84rem; color: var(--ink-soft); }
.hero-stage { position: relative; z-index: 1; aspect-ratio: 1 / 1.08; width: 100%; max-height: 78vh; justify-self: center; }
.hero-stage::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, var(--sky-soft), rgba(226, 234, 251, 0)); }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hero-fallback { position: absolute; inset: 14%; width: 72%; opacity: 0; transition: opacity .6s; }
.hero-stage.no-webgl .hero-fallback { opacity: 1; }
.hero-hint { position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); font-size: .78rem; letter-spacing: .08em; color: var(--ink-soft); white-space: nowrap; opacity: .8; }
.hero-stage.no-webgl .hero-hint { display: none; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: calc(env(safe-area-inset-top, 0px) + 96px); gap: 0; }
  .hero-stage { width: min(100%, 400px); aspect-ratio: 1 / 1; max-height: none; margin-top: 18px; }
  .staff-hero { display: none; }
  .hero-cta { margin-bottom: 34px; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .hero-facts dt { font-size: 1.35rem; }
  .hero-hint { display: none; }
}
@media (max-width: 420px) { .hero-cta .btn { width: 100%; } }

/* MARQUEE */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--ink); color: var(--paper); padding: 20px 0; }
.marquee-track { display: flex; width: max-content; gap: 34px; align-items: center; will-change: transform; }
.marquee-track span { font: italic 400 clamp(1.7rem, 3.4vw, 2.6rem)/1 var(--serif); white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--sky); font-size: 1.5rem; }

/* SHOP */
.shop { padding-block: clamp(60px, 9vw, 120px); max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; }
.shop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: 34px; max-width: none; }
.shop-note { max-width: 27rem; color: var(--ink-soft); font-size: .95rem; }
.shop-tools { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 18px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 74px); z-index: 5; padding-block: 10px; background: var(--tint); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; max-width: 100%; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; transition: all .25s var(--ease); }
.chip small { font-weight: 700; font-size: .72rem; color: var(--sky); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-on small { color: var(--sky); }
.shop-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 14px; width: 18px; height: 18px; stroke: var(--ink-soft); stroke-width: 2; fill: none; pointer-events: none; }
.search input, .sort select { height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: 500 .9rem var(--sans); color: var(--ink); }
.search input { width: 220px; padding: 0 16px 0 40px; }
.sort select { padding: 0 36px 0 16px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 18px, calc(100% - 15px) 18px; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.search input:focus, .sort select:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px var(--sky-soft); }
@media (max-width: 640px) {
  .shop-tools { top: calc(env(safe-area-inset-top, 0px) + 70px); }
  .shop-controls { width: 100%; }
  .search { flex: 1; } .search input { width: 100%; }
}
.result-line { font-size: .85rem; color: var(--ink-soft); margin-bottom: 18px; font-variant-numeric: tabular-nums; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transform-style: preserve-3d;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { box-shadow: var(--shadow); border-color: #C3D0F0; }
.card-visual { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; cursor: pointer; border: 0; padding: 0; width: 100%; }
.card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card-visual svg { width: 70%; height: 70%; fill: none; stroke: var(--royal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease); }
.card-visual .model { position: absolute; left: 14px; bottom: 10px; font: 700 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.card:hover .card-visual img, .card:hover .card-visual svg { transform: scale(1.06); }
.badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: .72rem; font-weight: 700; box-shadow: 0 1px 0 var(--line); }
.badge.sale { background: var(--teal); color: #fff; }
.badge.out { background: var(--ink); color: #fff; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.card-brand { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); min-height: 1em; }
.card-name { font: 400 1.5rem/1.1 var(--serif); margin-bottom: 10px; }
.card-name button { all: unset; cursor: pointer; }
.card-name button:focus-visible { outline: 2.5px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; font-size: .98rem; white-space: nowrap; }
.price s { font-weight: 500; color: var(--ink-soft); font-size: .82rem; margin-left: 6px; }
.add { position: relative; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; font-weight: 700; font-size: .85rem; cursor: pointer; overflow: hidden; transition: color .3s var(--ease); isolation: isolate; }
.add::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .35s var(--ease); z-index: -1; }
.add:hover { color: #fff; }
.add:hover::before { transform: translateY(0); }
.add.is-added { border-color: var(--teal); color: #fff; }
.add.is-added::before { background: var(--teal); transform: translateY(0); }
.add[disabled] { opacity: .4; cursor: not-allowed; }
@media (max-width: 560px) {
  .card-body { padding: 12px; }
  .card-brand { font-size: .64rem; letter-spacing: .08em; }
  .card-name { font-size: 1.2rem; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .price { font-size: .88rem; }
  .add { height: 38px; }
}
.skeleton { min-height: 340px; background: linear-gradient(100deg, var(--paper-2) 30%, #fff 50%, var(--paper-2) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius); display: grid; gap: 18px; justify-items: center; color: var(--ink-soft); }

/* STORY */
.story { background: var(--paper-2); padding-block: clamp(90px, 12vw, 160px); border-block: 1px solid var(--line); }
.story-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.story-year { font: 400 clamp(5rem, 15vw, 13rem)/.85 var(--serif); color: var(--royal); font-variant-numeric: tabular-nums; letter-spacing: -.03em; position: sticky; top: 120px; }
.story-text { font: 400 clamp(1.7rem, 3.1vw, 2.7rem)/1.22 var(--serif); margin-bottom: 44px; }
.story-text .w { transition: color .2s; }
.story-badges { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.story-badges img { width: 110px; }
.story-badges ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.story-badges li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.story-badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
@media (max-width: 800px) { .story-inner { grid-template-columns: 1fr; gap: 20px; } .story-year { position: static; } }

/* HOW */
.how { padding-block: clamp(80px, 10vw, 130px); max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; }
.how .section-head { margin: 0 0 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 28px 28px 10px 0; display: grid; gap: 10px; align-content: start; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { font: 400 3.4rem/1 var(--serif); color: var(--sky); }
.steps p { color: var(--ink-soft); font-size: .95rem; max-width: 22rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); grid-template-columns: 56px 1fr; } .steps li .step-n { grid-row: span 2; font-size: 2.6rem; } }

/* VISIT */
.visit { padding-block: 20px clamp(90px, 12vw, 150px); max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.visit-card { background: var(--royal); color: #fff; border-radius: 26px; padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; }
.visit-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(128, 164, 237, .35); box-shadow: 0 0 0 40px rgba(128, 164, 237, .06), 0 0 0 80px rgba(128, 164, 237, .04); pointer-events: none; }
.visit-card .eyebrow { color: var(--sky); }
.visit-card h2 { margin-bottom: 18px; }
.visit-card address { font-style: normal; font-size: 1.1rem; line-height: 1.55; margin-bottom: 10px; }
.hours { color: var(--sky-soft); margin-bottom: 10px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; }
.visit-card .btn-primary { background: #fff; color: var(--royal); box-shadow: none; }
.visit-card .btn-primary:hover { background: var(--sky-soft); }
.visit-card .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.visit-card .btn-ghost:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.contact-list { margin: 0; display: grid; gap: 12px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 22px; }
.contact-list div { display: grid; grid-template-columns: 70px 1fr; align-items: center; }
.contact-list dt { font-size: .9rem; color: var(--sky); font-weight: 600; }
.contact-list dd { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.contact-list a { text-decoration: none; }
.copy { background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.copy:hover { background: rgba(255,255,255,.24); }
.faq-title { font: 400 2rem/1.1 var(--serif); margin: 6px 0 16px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.02rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--royal); border-bottom: 2px solid var(--royal); transform: rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); max-width: 34rem; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* FOOTER */
.foot { padding: 0 var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 40px); }
.staff-foot { height: 60px; margin-bottom: 40px; }
.foot-inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand strong { display: block; font: 400 1.6rem/1 var(--serif); }
.foot-brand span { font-size: .85rem; color: var(--ink-soft); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.foot-links a:hover { color: var(--royal); }
.foot-copy { font-size: .82rem; color: var(--ink-soft); width: 100%; }

/* FLOATING WHATSAPP */
.fab { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(4, 138, 129, .8); transition: transform .3s var(--ease); }
.fab:hover { transform: scale(1.08) rotate(-8deg); }
.fab svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }

/* DRAWER */
.scrim { position: fixed; inset: 0; background: rgba(8, 29, 110, .35); z-index: 50; backdrop-filter: blur(2px); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(105%); visibility: hidden; box-shadow: -20px 0 60px -20px rgba(8, 29, 110, .35); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 2rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-visual { width: 56px; height: 56px; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; }
.line-visual svg { width: 80%; fill: none; stroke: var(--royal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.line-visual img { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.line-price { font-size: .85rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 38px; background: var(--white); }
.qty button { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; font-weight: 700; color: var(--ink); border-radius: 50%; }
.qty button:hover { background: var(--paper-2); }
.qty output { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.drawer-empty { padding: 30px 0; color: var(--ink-soft); }
.drawer-foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; background: var(--white); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; }
.total-row strong { font: 400 1.9rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.fields { display: grid; gap: 6px; }
.fields label { font-size: .82rem; font-weight: 700; }
.fields .opt { font-weight: 500; color: var(--ink-soft); }
.fields input { height: 44px; border-radius: 12px; border: 1px solid var(--line); padding: 0 14px; font: 500 .95rem var(--sans); color: var(--ink); background: var(--paper); margin-bottom: 6px; }
.fields input:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px var(--sky-soft); }
.fine { font-size: .78rem; color: var(--ink-soft); text-align: center; }

/* PRODUCT DIALOG */
.pd { width: min(920px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 26px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(8, 29, 110, .5); overflow: auto; }
.pd[open] { display: grid; grid-template-columns: 1fr 1fr; }
.pd::backdrop { background: rgba(8, 29, 110, .4); backdrop-filter: blur(3px); }
.pd-close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.pd-visual { background: var(--paper-2); display: grid; place-items: center; min-height: 360px; position: relative; }
.pd-visual svg { width: 72%; fill: none; stroke: var(--royal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pd-visual img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { padding: 48px 36px 36px; display: flex; flex-direction: column; gap: 6px; }
.pd-info h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 8px; }
.pd-price { font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.pd-price s { font-weight: 500; color: var(--ink-soft); font-size: 1rem; margin-left: 8px; }
.pd-desc { color: var(--ink-soft); margin-bottom: 26px; }
.pd-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.pd-actions .qty { height: 52px; }
.pd-actions .btn { flex: 1; }
.pd-more { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .pd[open] { grid-template-columns: 1fr; }
  .pd-visual { min-height: 220px; aspect-ratio: 16 / 10; }
  .pd-info { padding: 24px 22px 26px; }
}

/* TOAST */
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); z-index: 80; transform: translate(-50%, calc(100% + 60px)); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow); pointer-events: none; max-width: calc(100% - 32px); transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.toast.is-on { transform: translate(-50%, 0); }

/* fly-to-cart dot */
.fly { position: fixed; z-index: 90; width: 18px; height: 18px; border-radius: 50%; background: var(--royal); pointer-events: none; box-shadow: 0 0 0 4px rgba(128, 164, 237, .45); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* FOOTER legal row */
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; width: 100%; padding-top: 18px; border-top: 1px solid var(--line); }
.foot-legal a { font-size: .85rem; color: var(--ink-soft); text-decoration: none; }
.foot-legal a:hover { color: var(--royal); text-decoration: underline; }
a.cart-btn { text-decoration: none; }

/* SECONDARY PAGES: legal and guides */
.page .nav { background: rgba(253, 255, 252, .92); }
.doc { max-width: 46rem; margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 130px) var(--gutter) 90px; }
.doc h1 { font: 400 clamp(2.8rem, 6vw, 4.6rem)/1 var(--serif); letter-spacing: -.015em; margin-bottom: 14px; text-wrap: balance; }
.doc .eyebrow a { color: inherit; text-decoration: none; }
.doc-meta { color: var(--ink-soft); font-size: .88rem; margin-bottom: 30px; }
.doc-lede, .doc-intro p { font-size: 1.16rem; color: var(--ink-soft); line-height: 1.6; }
.doc-intro { margin-bottom: 34px; }
.doc-toc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); padding: 20px 24px; margin-bottom: 48px; }
.doc-toc p { font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.doc-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.doc-toc li { margin-bottom: 6px; break-inside: avoid; }
.doc-toc a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.doc-toc a:hover { color: var(--royal); text-decoration: underline; }
.doc-body section { padding-top: 12px; margin-bottom: 30px; scroll-margin-top: 100px; }
.doc-body h2 { font: 400 clamp(1.8rem, 3.2vw, 2.3rem)/1.1 var(--serif); margin: 26px 0 14px; }
.doc-body section > h2:first-child { margin-top: 0; }
.doc-body h3 { font: 700 1.02rem/1.35 var(--sans); margin: 22px 0 8px; }
.doc-body p, .doc-body li { color: #25346E; line-height: 1.7; }
.doc-body p + p { margin-top: 12px; }
.doc-body ul, .doc-body ol { padding-left: 22px; margin: 10px 0 14px; display: grid; gap: 8px; }
.doc-body a, .doc-intro a { color: var(--royal); text-decoration-color: var(--sky); text-underline-offset: 3px; }
.doc-body code { font-size: .88em; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.doc-contact { list-style: none; padding: 18px 20px !important; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); }
.doc-table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.doc-table th, .doc-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table th { background: var(--paper-2); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.doc-table tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .doc-toc ol { columns: 1; } .doc { padding-top: calc(env(safe-area-inset-top, 0px) + 104px); } }

.guide-art { aspect-ratio: 16 / 9; background: var(--paper-2); border: 1px solid var(--line); border-radius: 24px; margin: 30px 0 40px; display: grid; place-items: center; color: var(--royal); }
.guide-art svg, .guide-card-art svg { width: 56%; height: 90%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.guide-cta { margin-top: 50px; padding: clamp(24px, 4vw, 36px); border-radius: 24px; background: var(--royal); color: #fff; }
.guide-cta h2 { font: 400 2rem/1.1 var(--serif); margin-bottom: 10px; }
.guide-cta p { color: var(--sky-soft); margin-bottom: 20px; max-width: 32rem; }
.guide-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.guide-cta .btn-wa { width: auto; }
.guide-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.guide-cta .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.guide-more { margin-top: 30px; }
.guide-next { display: block; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; font: 400 1.6rem/1.2 var(--serif); transition: border-color .3s, background-color .3s; }
.guide-next span { display: block; font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.guide-next:hover { border-color: var(--royal); background: var(--paper-2); }
.guides-index { max-width: var(--maxw); }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.guide-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.guide-card-art { aspect-ratio: 4 / 3; background: var(--paper-2); border-radius: 12px; display: grid; place-items: center; color: var(--royal); margin-bottom: 6px; }
.guide-card h2, .guide-card h3 { font: 400 1.6rem/1.1 var(--serif); }
.guide-card p { color: var(--ink-soft); font-size: .93rem; flex: 1; }

/* BRANDS */
.brands { padding-block: 30px 10px; }
.brands-inner { max-width: var(--maxw); margin: 0 auto; border-block: 1px solid var(--line); padding-block: 34px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 48px; }
.brands .eyebrow { margin: 0; }
.brand-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 56px; align-items: baseline; }
.brand-list li { display: flex; align-items: baseline; gap: 12px; }
.brand-name { font: 400 clamp(2rem, 3.6vw, 3rem)/1 var(--serif); letter-spacing: .01em; }
.brand-note { font: 700 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.brands-note { font-size: .9rem; color: var(--ink-soft); max-width: 16rem; }
@media (max-width: 900px) { .brands-inner { grid-template-columns: 1fr; } .brands-note { max-width: none; } }

/* SERVICES */
.services { padding-block: clamp(90px, 12vw, 140px) 20px; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; }
.services .section-head { margin: 0 0 40px; max-width: 44rem; }
.services-intro { margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.service-art { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: var(--paper-2); display: grid; place-items: center; color: var(--royal); margin-bottom: 8px; }
.service-art svg { width: 40%; height: 90%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font: 400 2.2rem/1 var(--serif); }
.service p { color: var(--ink-soft); max-width: 32rem; margin-bottom: 8px; }
.service .btn { margin-top: auto; }
@media (max-width: 760px) { .service-grid { grid-template-columns: 1fr; } .service .btn { width: 100%; } }

/* GUIDES on the home page */
.guides { padding-block: clamp(80px, 10vw, 120px) 10px; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; }
.guides-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; max-width: none; margin: 0; }
.guides .guide-grid { margin-top: 32px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guides .guide-card h3 { font-size: 1.45rem; }
@media (max-width: 1000px) { .guides .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .guides .guide-grid { grid-template-columns: 1fr; } }
.faq details p a { color: var(--royal); }
.doc-body section, .doc section { padding-inline: 0; }

/* LANGUAGE SWITCH */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-weight: 700; font-size: .85rem; color: var(--ink); transition: border-color .2s; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--ink); }
.lang-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; min-width: 160px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); z-index: 45; }
.lang-menu a { display: block; padding: 10px 12px; border-radius: 9px; text-decoration: none; font-weight: 600; }
.lang-menu a:hover { background: var(--paper-2); }
.lang-menu a[aria-current="true"] { color: var(--royal); background: var(--sky-soft); }
@media (max-width: 420px) { .lang-btn { padding: 0 11px; } .lang-btn svg { display: none; } }

/* SINHALA AND TAMIL: these scripts need more line height and a little less size */
:root[data-lang="si"], :root[data-lang="ta"] { --serif: "SS Serif", "Noto Serif Sinhala", "Noto Serif Tamil", "Iskoola Pota", "Latha", serif; }
:root[data-lang="si"] .hero-title, :root[data-lang="ta"] .hero-title { font-size: clamp(2.5rem, 5.2vw, 5rem); line-height: 1.18; }
:root[data-lang="si"] h2, :root[data-lang="ta"] h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.25; }
:root[data-lang="si"] .fam h3, :root[data-lang="ta"] .fam h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.2; }
:root[data-lang="si"] .story-text, :root[data-lang="ta"] .story-text { font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.5; }
:root[data-lang="si"] .marquee-track span, :root[data-lang="ta"] .marquee-track span { font-style: normal; font-size: clamp(1.4rem, 2.8vw, 2.1rem); }
:root[data-lang="si"] body, :root[data-lang="ta"] body { line-height: 1.75; }
:root[data-lang="si"] .eyebrow, :root[data-lang="ta"] .eyebrow, :root[data-lang="si"] .fam-count, :root[data-lang="ta"] .fam-count { letter-spacing: .04em; line-height: 1.5; font-size: .82rem; }
:root[data-lang="ta"] .hero-title { font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
:root[data-lang="ta"] .nav-links a { font-size: .85rem; padding: 10px 10px; }
:root[data-lang="si"] .hero-title em, :root[data-lang="ta"] .hero-title em { font-style: normal; }
@media (max-width: 420px) {
  .nav { gap: 10px; }
  .brand { min-width: 0; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 1.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lang-btn, .cart-btn { height: 42px; }
}
.hero-facts > div { min-width: 0; }
@media (max-width: 560px) {
  :root[data-lang="si"] .hero-facts dt, :root[data-lang="ta"] .hero-facts dt { font-size: 1.05rem; overflow-wrap: anywhere; }
  :root[data-lang="si"] .hero-facts dd, :root[data-lang="ta"] .hero-facts dd { font-size: .78rem; overflow-wrap: anywhere; }
}
.contact-list div { grid-template-columns: minmax(70px, max-content) 1fr; gap: 14px; }
:root[data-lang="si"] h1, :root[data-lang="si"] h2, :root[data-lang="si"] h3,
:root[data-lang="ta"] h1, :root[data-lang="ta"] h2, :root[data-lang="ta"] h3 { overflow-wrap: break-word; }
@media (max-width: 560px) {
  :root[data-lang="ta"] h2 { font-size: clamp(1.5rem, 6.4vw, 2.2rem); }
  :root[data-lang="ta"] .hero-title { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
  :root[data-lang="ta"] .fam h3, :root[data-lang="ta"] .service h3 { font-size: 1.7rem; }
  :root[data-lang="si"] h2 { font-size: clamp(1.6rem, 7vw, 2.3rem); }
  :root[data-lang="si"] .hero-title { font-size: clamp(2.1rem, 9.5vw, 2.8rem); }
}


/* COLOUR RHYTHM: full-width bands behind constrained sections */
.bleed { position: relative; isolation: isolate; }
.bleed::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: var(--band); }
.bleed-tint { --band: var(--tint); }
.bleed-navy { --band: var(--ink); color: var(--paper); }
.foot { background: var(--tint); padding-top: 1px; }
.staff-foot path { stroke: var(--tint-line); }
.shop .card { border-color: var(--tint-line); }
.shop .card-visual { background: #F6F9FF; }

/* Brands on a navy band */
.brands.bleed-navy { padding-block: 0; }
.bleed-navy .brands-inner { border: 0; padding-block: clamp(40px, 6vw, 64px); }
.bleed-navy .eyebrow { color: var(--sky); }
.bleed-navy .brand-name { color: #fff; }
.bleed-navy .brand-note { color: #7FD3CB; }
.bleed-navy .brands-note { color: #B9C7EE; }
.bleed-navy .brands-note .link { color: #fff; text-decoration-color: var(--sky); }

/* FAMILY TILES (filter the shop) */
.shop-tools { flex-direction: column; align-items: stretch; }
.tiles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; overflow: visible; padding: 0; }
.tile.chip { height: auto; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 12px 12px; border-radius: 16px; border: 1px solid var(--tint-line); background: var(--white); color: var(--ink); text-align: left; }
.tile-art { display: block; width: 100%; aspect-ratio: 16 / 10; margin-bottom: 6px; border-radius: 10px; background: #F6F9FF; color: var(--royal); transition: background-color .3s var(--ease), color .3s var(--ease); }
.tile-art svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tile-name { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.tile small { font-size: .74rem; font-weight: 600; color: var(--ink-soft); }
.tile.chip:hover { border-color: var(--royal); transform: translateY(-2px); }
.tile.chip.is-on { background: var(--royal); border-color: var(--royal); color: #fff; }
.tile.chip.is-on .tile-art { background: rgba(255, 255, 255, .12); color: #fff; }
.tile.chip.is-on small { color: var(--sky-soft); }
.shop-controls { justify-content: flex-end; }
@media (max-width: 1000px) {
  .tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .tiles::-webkit-scrollbar { display: none; }
  .tile.chip { flex: 0 0 116px; scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .shop-tools { position: static; }
  .tile.chip { flex-basis: 104px; padding: 10px; }
}

/* INSTRUMENT PATTERN behind the hero and the shop */
.pattern { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; z-index: -1; pointer-events: none; overflow: hidden; }
.hero { isolation: isolate; }
.pat { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); transform: rotate(var(--r)); color: var(--sky); opacity: .32; }
.pat svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.shop .pat { opacity: .45; color: #A9C0F2; }
@media (max-width: 900px) {
  .pat { width: calc(var(--s) * .62); height: calc(var(--s) * .62); margin: calc(var(--s) * -.31) 0 0 calc(var(--s) * -.31); opacity: .22; }
  .shop .pat { opacity: .3; }
}
.shop-tools { position: static; }


/* ACCESSIBILITY PASS: 44px touch targets, nothing under 12px */
.eyebrow, .fam-count { font-size: .78rem; }
.badge { font-size: .75rem; }
.tile small { font-size: .78rem; }
.add { min-height: 44px; height: auto; }
.search input, .sort select { height: 44px; }
.copy { min-height: 36px; padding: 0 14px; display: inline-flex; align-items: center; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; }
.guides-head .link { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 560px) {
  .card-brand { font-size: .75rem; letter-spacing: .06em; }
  .add { height: auto; }
}
@media (max-width: 420px) { .lang-btn, .cart-btn { height: 44px; } }
.card-brand { font-size: .75rem; }
.brand-note { font-size: .75rem; }

/* POLISH PASS: sentence-case labels, one headline colour, quieter hovers */
.eyebrow { text-transform: none; letter-spacing: 0; font: 600 .95rem/1.4 var(--sans); }
.hero-eyebrow { font: 600 1rem/1.4 var(--sans); color: var(--teal); margin-bottom: 18px; }
.hero-title em { font-style: normal; color: inherit; }
.story-label { font: 600 1.05rem/1.4 var(--sans); color: var(--teal); margin-bottom: 18px; }
.brands-title { font: 600 1rem/1.4 var(--sans); color: var(--sky); margin: 0; }
.bleed-navy .brand-note { text-transform: none; letter-spacing: 0; font: 500 .85rem/1.3 var(--sans); }
.pd-brand { font: 600 .95rem/1.4 var(--sans); color: var(--ink-soft); }
.card-brand { text-transform: none; letter-spacing: 0; font: 600 .85rem/1.3 var(--sans); color: var(--ink-soft); }
.guides-intro { margin-top: 12px; color: var(--ink-soft); }
.doc-toc p, .guide-next span { text-transform: none; letter-spacing: 0; font: 600 .9rem/1.3 var(--sans); }
.tile.chip:hover { transform: none; }
.guide-card:hover { transform: none; border-color: var(--royal); }
.card:hover { box-shadow: none; border-color: var(--royal); }
@media (max-width: 560px) { .card-brand { font-size: .8rem; } }

/* PRODUCT PHOTOS: shown whole on white, never cropped */
.card-visual img, .pd-visual img, .line-visual img { object-fit: contain; background: #fff; }
.card-visual img { padding: 7%; }
.pd-visual img { padding: 6%; max-height: 70svh; }
.line-visual img { padding: 4px; }
.card:hover .card-visual img { transform: none; }
.more { display: flex; justify-content: center; margin-top: 28px; }
.more .btn { background: var(--white); min-width: 220px; }

/* ---------- Product and family pages (generated by tools/build_products.py) ---------- */
.prod { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 110px) var(--gutter) 90px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0 0 26px; font-size: .88rem; color: var(--ink-soft); }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--sky); }
.crumbs a { color: var(--ink-soft); text-underline-offset: 3px; display: inline-block; padding: 12px 0; }
.crumbs li[aria-current] { padding: 12px 0; color: var(--ink); font-weight: 600; }
.prod-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 70px); align-items: start; }
.prod-visual { position: relative; margin: 0; aspect-ratio: 707 / 1000; max-height: 78svh; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.prod-visual img, .prod-visual .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.prod-visual .art { background: var(--paper-2); }
.prod-visual .art svg, .card-visual .art svg { width: 70%; height: 70%; fill: none; stroke: var(--royal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prod-visual .art, .card-visual .art { display: grid; place-items: center; width: 100%; height: 100%; }
.prod-info { padding-top: 6px; }
.prod-info h1 { font: 400 clamp(2.3rem, 5vw, 3.8rem)/1.02 var(--serif); letter-spacing: -.015em; margin: 8px 0 18px; text-wrap: balance; }
.prod-price { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.prod-price s { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.prod-price .badge { position: static; }
.prod-stock { color: var(--teal); font-weight: 600; margin-bottom: 20px; }
.prod-stock.is-out { color: var(--ink-soft); }
.prod-desc { color: var(--ink-soft); margin-bottom: 26px; max-width: 36rem; }
.prod-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.prod-actions .btn { flex: 1 1 200px; }
.prod-points { list-style: none; padding: 22px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 12px; color: var(--ink-soft); font-size: .95rem; }
.prod-points strong { color: var(--ink); }
.prod-points a { color: var(--royal); text-underline-offset: 3px; }
.prod-related { margin-top: clamp(60px, 9vw, 110px); }
.prod-related h2, .cat h1 { font: 400 clamp(2rem, 4vw, 3rem)/1.05 var(--serif); margin-bottom: 22px; }
.prod-related > .link { display: inline-block; margin-top: 22px; padding: 12px 0; }
.cat h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 12px; }
.cat .doc-lede { max-width: 40rem; margin-bottom: 24px; }
.cat-count { color: var(--ink); font-weight: 600; }
.fam-nav { margin-bottom: 28px; flex-wrap: nowrap; }
.fam-nav .chip { text-decoration: none; min-height: 44px; }
.cat .guide-cta { margin-top: 60px; }
a.card-visual { text-decoration: none; }
.card-name a { color: inherit; text-decoration: none; }
.card-name a::after { content: ""; position: absolute; inset: 0; }
.card-foot a.add { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); position: relative; z-index: 1; }
.card-foot a.add:hover { color: #fff; }
@media (max-width: 760px) {
  .prod { padding-top: calc(env(safe-area-inset-top, 0px) + 86px); }
  .prod-grid { grid-template-columns: 1fr; }
  .prod-visual { aspect-ratio: 1 / 1; max-height: none; }
  .prod-visual img { padding: 0; }
}
/* ---------- Light mode: phones, tablets, low-power devices ----------
   Set by the script in the page head. Swaps the three.js hero for a still
   render, and drops effects that are costly on mobile GPUs (backdrop blur). */
.hero-still { display: none; }
.lite .hero-still { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lite .hero-still img { width: 92%; height: auto; animation: clef-float 7s ease-in-out infinite; }
.lite #heroCanvas, .lite .hero-fallback, .lite .hero-hint { display: none; }
@keyframes clef-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(1.6deg); } }
@media (max-width: 900px), (pointer: coarse) {
  .nav.is-solid { background: rgba(253, 255, 252, .97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .scrim, .pd::backdrop { backdrop-filter: none; }
}
.marquee-track.is-css { animation: marquee-loop 38s linear infinite; }
@keyframes marquee-loop { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .lite .hero-still img, .marquee-track.is-css { animation: none; } }

/* =================================================================
   November 2026 improvements (see the improvement brief IDs)
   ================================================================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header search button (B1) */
.qs-btn { flex: none; color: var(--ink); }
.qs-btn:hover { transform: none; border-color: var(--ink); }
.qs-btn svg { width: 20px; height: 20px; stroke-width: 2; }
@media (max-width: 380px) { .brand span { font-size: 1.15rem; } .nav { gap: 10px; } }

/* Header search dialog */
.qs { width: min(640px, calc(100% - 24px)); max-height: min(78svh, 680px); margin: calc(env(safe-area-inset-top, 0px) + 12px) auto auto; padding: 0; border: 0; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(8, 29, 110, .5); overflow: hidden; }
.qs[open] { display: flex; flex-direction: column; }
.qs::backdrop { background: rgba(8, 29, 110, .4); }
.qs-bar { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); }
.qs-bar > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink-soft); stroke-width: 2; }
.qs-bar input { flex: 1; min-width: 0; height: 46px; border: 0; background: none; font: 500 1.05rem var(--sans); color: var(--ink); }
.qs-bar input:focus { outline: none; }
.qs-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.qs-list a { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 8px 10px; border-radius: 14px; text-decoration: none; color: inherit; min-height: 64px; }
.qs-list [aria-selected="true"] a, .qs-list a:hover { background: var(--tint); }
.qs-img { width: 52px; height: 52px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.qs-img img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.qs-img svg { width: 80%; fill: none; stroke: var(--royal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.qs-text { min-width: 0; display: grid; }
.qs-text strong { font-weight: 700; font-size: .98rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qs-text small { color: var(--ink-soft); font-size: .82rem; }
.qs-price { font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qs-empty { padding: 18px 20px 22px; display: grid; gap: 14px; }
.qs-fams { flex-wrap: wrap; }
.qs-fams .chip { text-decoration: none; min-height: 44px; }
@media (max-width: 480px) { .qs-list a { grid-template-columns: 48px 1fr; row-gap: 0; } .qs-img { grid-row: span 2; width: 48px; height: 48px; } .qs-price { grid-column: 2; font-size: .85rem; } }

/* Trust points under the hero (A1): each links to what backs it up */
.hero-facts { grid-template-columns: repeat(4, auto); gap: 28px; }
.hero-facts > div { position: relative; }
.hero-facts dt a { color: inherit; text-decoration: none; }
.hero-facts dt a::after { content: ""; position: absolute; inset: -6px; border-radius: 10px; }
.hero-facts > div:hover dt a { text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 4px; }
@media (max-width: 1100px) { .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; } }

/* Cards: save heart, dealer line, honest badges (A2, B10, B12) */
.heart { position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink-soft); cursor: pointer; }
.heart svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.heart:hover { color: var(--royal); }
.heart[aria-pressed="true"] { color: var(--royal); }
.heart[aria-pressed="true"] svg { fill: currentColor; }
.card-auth { font-size: .78rem; font-weight: 600; color: var(--teal); margin-top: -2px; }
.badge.new { background: var(--royal); color: #fff; }
.save { display: inline-block; font-size: .82rem; font-weight: 700; color: var(--teal); background: var(--teal-soft); padding: 3px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }

/* Filters (B2): one row of chips with small drop-downs */
.filters { width: 100%; }
.shop.bleed { z-index: 3; }
@media (max-width: 760px) { .shop-tools { position: static; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.fchip { position: relative; }
.fchip summary { list-style: none; height: 44px; padding: 0 36px 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: .88rem; color: var(--ink); display: inline-flex; align-items: center; cursor: pointer; white-space: nowrap; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 19px, calc(100% - 15px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.fchip summary::-webkit-details-marker { display: none; }
.fchip.is-on summary { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.fchip[open] summary { border-color: var(--royal); }
.fpop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 240px; max-width: min(320px, calc(100vw - 32px)); max-height: 340px; overflow-y: auto; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 6px; }
#fPrice .fpop { left: auto; }
.fopt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; cursor: pointer; font-size: .92rem; }
.fopt:hover { background: var(--tint); }
.fopt input { width: 18px; height: 18px; accent-color: var(--royal); flex: none; }
.fopt span { flex: 1; }
.fopt small { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.fopt.is-zero { color: var(--ink-soft); }
.fnone { padding: 12px; color: var(--ink-soft); font-size: .9rem; }
.ftoggle { min-height: 44px; }
.ftoggle[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.applied { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 0; }
.applied .chip { min-height: 40px; }
.applied .link { padding: 10px 6px; }
@media (max-width: 560px) {
  .fchip[open] { flex-basis: 100%; }
  .fpop { position: static; margin-top: 6px; max-width: none; max-height: 50svh; box-shadow: none; }
}

/* Product dialog: buy box, gallery, media, specs, sets (A3, B6, B7, B8, B9) */
.buybox { list-style: none; margin: 0 0 18px; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: .9rem; color: var(--ink-soft); }
.buybox li { position: relative; padding-left: 24px; line-height: 1.45; }
.buybox li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }
.buybox .ok { color: var(--teal); font-weight: 600; }
.buybox .out { color: var(--ink); font-weight: 600; }
.buybox a { color: var(--royal); text-underline-offset: 3px; white-space: nowrap; }
.pd-desc { margin-bottom: 18px; }
.gal-wrap { position: relative; width: 100%; height: 100%; }
.gal { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal::-webkit-scrollbar { display: none; }
.gal img { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: center; object-fit: contain; background: #fff; }
.gal-dots { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; gap: 2px; }
.gal-dots button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.gal-dots button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .2s, transform .2s; }
.gal-dots button[aria-current="true"]::after { background: var(--royal); transform: scale(1.25); }
[data-zoom] { cursor: zoom-in; }
@media (min-width: 721px) { .pd-visual > img, .pd-visual .gal-wrap { min-height: 360px; } }
.pd-visual .gal-wrap { position: absolute; inset: 0; }
.zoom { position: fixed; inset: 0; z-index: 100; background: #fff; display: grid; place-items: center; overflow: auto; touch-action: pinch-zoom; }
.zoom img { max-width: 100%; max-height: 100svh; object-fit: contain; cursor: zoom-out; }
.zoom .icon-btn { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 14px); right: 14px; }
.pd-media { display: grid; gap: 10px; margin-bottom: 20px; }
.video-facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: var(--ink); cursor: pointer; }
.video-facade img { width: 100%; height: 100%; object-fit: contain; background: #fff; opacity: .55; }
.video-facade .play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: var(--royal); box-shadow: 0 10px 30px -8px rgba(6, 39, 154, .8); }
.video-facade .play::after { content: ""; position: absolute; left: 27px; top: 21px; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.video-note { position: absolute; left: 12px; bottom: 10px; font-size: .78rem; font-weight: 600; color: var(--ink); background: #fff; padding: 3px 10px; border-radius: 999px; }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; }
.hear { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 700; color: var(--ink); cursor: pointer; justify-self: start; }
.hear-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); position: relative; }
.hear-ico::after { content: ""; position: absolute; left: 11px; top: 9px; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.hear.is-playing .hear-ico::after { left: 10px; top: 9px; width: 10px; height: 12px; border: 0; border-left: 3px solid #fff; border-right: 3px solid #fff; box-sizing: border-box; }
.pd-specs h3, .pd-set h3, .drawer-body h3 { font: 700 .95rem/1.3 var(--sans); margin: 4px 0 10px; }
.specs { margin: 0 0 18px; display: grid; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.specs dt { color: var(--ink-soft); }
.specs dd { margin: 0; font-weight: 600; }
.inbox { margin: 0 0 18px; padding-left: 20px; font-size: .9rem; color: var(--ink-soft); }
.pd-set { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mini { display: grid; grid-template-columns: 48px 1fr auto auto; gap: 12px; align-items: center; padding: 6px 0; }
.mini-img { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.mini-img img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.mini-img svg { width: 80%; fill: none; stroke: var(--royal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mini-text { min-width: 0; display: grid; }
.mini-text button { all: unset; cursor: pointer; font-weight: 700; font-size: .9rem; line-height: 1.3; }
.mini-text button:hover { text-decoration: underline; }
.mini-text button:focus-visible { outline: 2.5px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.mini-text small { color: var(--ink-soft); font-size: .82rem; font-variant-numeric: tabular-nums; }
.mini .add { height: 40px; padding: 0 14px; }
.mini-x { width: 44px; height: 44px; border: 0; background: none; font-size: 1.3rem; color: var(--ink-soft); cursor: pointer; border-radius: 50%; }
.mini-x:hover { background: var(--tint); color: var(--ink); }
.pd-more { align-items: center; }
.pd-more .link { padding: 10px 0; }
.save-btn[aria-pressed="true"] { color: var(--teal); }

/* Drawer: also, saved, order form (B6, B10, F1) */
.also, .saved { padding: 18px 0 8px; border-bottom: 1px solid var(--line); }
.saved .link { display: inline-block; padding: 12px 0 4px; }
.how-get { border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.how-get legend { font-size: .82rem; font-weight: 700; margin-bottom: 4px; padding: 0; }
.how-get label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: .92rem; font-weight: 500; cursor: pointer; }
.how-get input { width: 18px; height: 18px; accent-color: var(--royal); margin: 0; }
.order-code { font-size: .85rem; color: var(--ink-soft); }
.order-code strong { color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.toast a { color: var(--sky); font-weight: 700; margin-left: 6px; pointer-events: auto; }
.toast.is-on { pointer-events: auto; }

/* Visit (C4) */
.notice { background: var(--teal-soft); color: var(--teal); font-weight: 600; padding: 10px 14px; border-radius: 12px; margin-bottom: 16px; }
.open-now { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin: 14px 0 6px; }
.open-now::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sky); }
.open-now.is-open::before { background: #3BD1A3; box-shadow: 0 0 0 4px rgba(59, 209, 163, .2); }
.hours-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font-size: .92rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; max-width: 26rem; }
.visit-reviews { display: inline-block; padding: 6px 0 20px; }

/* Collections and reviews (B5, A5) */
.collections, .reviews { padding-block: clamp(70px, 9vw, 110px) 10px; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.coll-grid, .rev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 26px; }
.coll { display: grid; gap: 6px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); text-decoration: none; color: inherit; }
.coll strong { font: 400 1.6rem/1.1 var(--serif); }
.coll span { color: var(--ink-soft); font-size: .92rem; }
.coll small { color: var(--teal); font-weight: 700; }
.coll:hover { border-color: var(--royal); }
.rev { margin: 0; padding: 22px; border-radius: var(--radius); background: var(--tint); display: grid; gap: 12px; }
.rev blockquote { margin: 0; font: 400 1.2rem/1.4 var(--serif); }
.rev figcaption { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.rev time { font-weight: 500; margin-left: 6px; }
.rev-rating { color: var(--ink-soft); margin-top: 6px; }
.reviews > .link { display: inline-block; margin-top: 18px; padding: 10px 0; }

/* Announcement line (C7) */
:root { --ann-h: 0px; }
.ann { position: fixed; top: 0; left: 0; right: 0; z-index: 45; min-height: 36px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: calc(env(safe-area-inset-top, 0px) + 4px) 52px 4px; background: var(--ink); color: #fff; font-size: .86rem; font-weight: 600; text-align: center; }
.ann a { color: #fff; text-underline-offset: 3px; }
.ann button { position: absolute; right: 4px; bottom: 0; width: 44px; height: 36px; border: 0; background: none; color: #fff; cursor: pointer; }
.ann svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.nav { top: var(--ann-h); }
body { padding-top: var(--ann-h); }

/* Product pages: buy box, save, sets, FAQ, sticky order bar (A3, A4, A6, B6) */
.prod-info .buybox { margin-top: 6px; }
.prod-actions .btn-wa { width: auto; }
.prod-save { margin: -18px 0 22px; }
.prod-save .link { padding: 10px 0; }
.prod-visual .gal-wrap { position: absolute; inset: 0; }
.prod-visual .gal img { padding: 4%; }
.prod-specs h2, .prod-set h2 { font: 700 1rem/1.3 var(--sans); margin: 22px 0 10px; }
.prod-set { margin-top: 26px; }
.mini-text a { font-weight: 700; font-size: .9rem; color: inherit; text-decoration: none; }
.mini-text a:hover { text-decoration: underline; }
.prod-faq { max-width: 46rem; margin-top: clamp(60px, 8vw, 100px); }
.prod-faq h2 { font: 400 clamp(2rem, 4vw, 3rem)/1.05 var(--serif); margin-bottom: 14px; }
.prod-faq details { border-bottom: 1px solid var(--line); }
.prod-faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style-position: outside; min-height: 44px; }
.prod-faq details p { padding: 0 0 16px; color: var(--ink-soft); margin: 0; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 10px); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(8, 29, 110, .4); }
.sticky-buy > div { flex: 1; min-width: 0; display: grid; }
.sticky-buy strong { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-buy span { font-size: .85rem; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.sticky-buy .btn { width: auto; flex: none; min-height: 46px; padding: 0 20px; }
@media (min-width: 761px) { .sticky-buy { display: none; } }
.prod-seen { margin-top: clamp(50px, 7vw, 90px); }

/* Forms that become WhatsApp messages (C1, C6) */
.wa-form { max-width: 34rem; gap: 6px; margin-top: 10px; }
.wa-form select, .wa-form textarea { border-radius: 12px; border: 1px solid var(--line); padding: 10px 14px; font: 500 .95rem var(--sans); color: var(--ink); background: var(--white); margin-bottom: 6px; min-height: 44px; }
.wa-form input { background: var(--white); }
.wa-form textarea { resize: vertical; }
.wa-form select:focus, .wa-form textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px var(--sky-soft); }
.wa-form .btn { margin-top: 10px; }
.wa-form .fine { font-size: .82rem; color: var(--ink-soft); }
.form-title { font: 400 clamp(1.8rem, 3.6vw, 2.4rem)/1.1 var(--serif); margin: 40px 0 6px; }
.doc-wide { max-width: 70rem; }
.doc-wide .guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 28px; }
.svc-more { display: inline-block; margin-top: 12px; padding: 8px 0; }

/* Help me choose (C5) */
.chooser { margin-top: 30px; }
.chooser h2 { font: 400 clamp(1.9rem, 4vw, 2.6rem)/1.1 var(--serif); margin: 6px 0 18px; }
.chooser h2:focus { outline: none; }
.chooser-step { font-size: .85rem; font-weight: 700; color: var(--teal); }
.chooser-options { display: grid; gap: 10px; }
.chooser-opt { min-height: 56px; padding: 12px 18px; text-align: left; border-radius: 14px; border: 1px solid var(--line); background: var(--white); font: 600 1rem/1.3 var(--sans); color: var(--ink); cursor: pointer; }
.chooser-opt:hover { border-color: var(--royal); background: var(--tint); }
.chooser-back { margin-top: 16px; padding: 10px 0; }
.chooser-sum { color: var(--ink-soft); margin-bottom: 20px; }
.chooser .grid { margin-bottom: 26px; }
.chooser-actions .btn-wa { width: auto; }

/* Footer contact line (A8), 404 search (H3) */
.foot-contact { font-size: .88rem; color: var(--ink-soft); }
.foot-contact a { color: inherit; }
.search-404 { gap: 10px; margin: 24px 0 18px; max-width: 34rem; }
.search-404 input { flex: 1; width: auto; height: 48px; }
.search-404 .btn { min-height: 48px; }
.fam-404 { flex-wrap: wrap; margin-bottom: 26px; }
.foot-contact { width: 100%; margin: 0; }
.wa-form { grid-template-columns: minmax(0, 1fr); }
.wa-form select, .wa-form input, .wa-form textarea { width: 100%; min-width: 0; }
.prod-visual .gal img { position: static; flex: 0 0 100%; width: 100%; height: 100%; }
.pd[open] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 720px) { .pd[open] { grid-template-columns: minmax(0, 1fr); } }
.buybox a { white-space: normal; }
.visit-card .visit-reviews { color: #fff; text-decoration-color: var(--sky); }
.pd-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; }

/* Fixes, 13 Nov: photos fill their frame without being cut off, whatever their shape */
.card-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.card-visual { isolation: isolate; }
.card-visual .badge { z-index: 1; }
/* Header always fits: tighter on narrow phones */
.nav { max-width: 100vw; }
.nav .brand { min-width: 0; }
.nav .brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 400px) {
  .nav { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; }
}
@media (max-width: 340px) { .brand span { display: none; } }
.nav .qs-btn, .nav .lang, .nav .cart-btn { flex: none; }
.guide-card, .contact-list div, .contact-list dd { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Menu for phones and tablets ---------- */
.menu-btn { display: none; flex: none; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: 700 .85rem var(--sans); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav .lang { display: none; }
}
@media (max-width: 420px) {
  .menu-btn span { display: none; }
  .menu-btn { width: 44px; padding: 0; justify-content: center; }
  .cart-btn { padding: 0 12px 0 11px; gap: 6px; }
}
.menu { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(380px, 100%); max-width: 100%; height: 100%; max-height: none; padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: -20px 0 60px -20px rgba(8, 29, 110, .35); }
.menu[open] { display: flex; flex-direction: column; animation: menu-in .35s var(--ease); }
.menu::backdrop { background: rgba(8, 29, 110, .35); }
@keyframes menu-in { from { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .menu[open] { animation: none; } }
.menu-head { display: flex; justify-content: space-between; align-items: center; padding: calc(env(safe-area-inset-top, 0px) + 14px) 18px 14px 22px; border-bottom: 1px solid var(--line); }
.menu-head strong { font: 400 1.8rem/1 var(--serif); }
.menu-body { flex: 1; overflow-y: auto; padding: 8px 18px 18px; }
.menu-label { font-size: .85rem; font-weight: 700; color: var(--ink-soft); margin: 14px 4px 8px; }
.menu-fams, .menu-links { list-style: none; margin: 0; padding: 0; }
.menu-fams { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.menu-fam { display: grid; gap: 4px; padding: 10px; border-radius: 14px; border: 1px solid var(--tint-line); background: var(--white); text-decoration: none; color: var(--ink); min-height: 44px; }
.menu-fam:hover { border-color: var(--royal); }
.menu-fam-art { display: block; aspect-ratio: 16 / 9; border-radius: 9px; background: #F6F9FF; color: var(--royal); }
.menu-fam-art svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.menu-fam-name { font-weight: 700; font-size: .88rem; line-height: 1.25; overflow-wrap: anywhere; }
.menu-fam small { font-size: .78rem; color: var(--ink-soft); font-weight: 600; }
.menu-all { display: block; margin: 10px 4px 6px; padding: 10px 0; font-weight: 700; color: var(--royal); text-underline-offset: 3px; }
.menu-links { margin-top: 8px; border-top: 1px solid var(--line); }
.menu-links a { display: flex; align-items: center; min-height: 50px; padding: 0 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.menu-links a::after { content: "›"; margin-left: auto; color: var(--sky); font-size: 1.4rem; line-height: 1; }
.menu-langs { display: flex; gap: 8px; margin-top: 18px; }
.menu-langs button { flex: 1; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: 700 .9rem var(--sans); color: var(--ink); cursor: pointer; }
.menu-langs button[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.menu-foot { display: grid; gap: 8px; padding: 14px 18px calc(env(safe-area-inset-bottom, 0px) + 16px); border-top: 1px solid var(--line); background: var(--white); }
.menu-foot .btn { width: 100%; }

/* ---------- Family tiles: a grid on phones and tablets, no sideways scrolling ---------- */
@media (max-width: 1000px) {
  .tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; }
  .tile.chip { flex: none; min-width: 0; padding: 8px; scroll-snap-align: none; }
  .tile-name { font-size: .82rem; overflow-wrap: anywhere; }
  .tile small { font-size: .72rem; }
}
@media (max-width: 640px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tile.chip { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 0; align-items: center; padding: 8px 10px 8px 8px; min-height: 56px; }
  .tile.chip[data-cat="all"] { grid-column: 1 / -1; }
  .tile-art { grid-row: 1 / 3; width: 52px; aspect-ratio: 4 / 3; margin: 0; }
  .tile-name { font-size: .9rem; overflow-wrap: normal; align-self: end; }
  .tile small { align-self: start; }
}
:root[data-lang="si"] .tile-name, :root[data-lang="ta"] .tile-name { overflow-wrap: anywhere; }
@media (min-width: 641px) and (max-width: 1000px) { .tile-art { aspect-ratio: 2 / 1; } }

/* Phones: the shop name always shows in full. The order button becomes a round
   icon with its count as a badge, which frees the room the name needs. */
@media (max-width: 420px) {
  .nav .brand span { overflow: visible; text-overflow: clip; display: inline; }
  .nav .cart-btn { width: 44px; height: 44px; padding: 0; justify-content: center; gap: 0; }
  .nav .cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; font-size: .72rem; box-shadow: 0 0 0 2px var(--paper); }
}
@media (max-width: 360px) { .brand span { font-size: 1.2rem; } .brand img { width: 32px; height: 32px; } }
@media (max-width: 340px) { .nav .brand span { display: inline; font-size: 1.05rem; } .nav { gap: 6px; padding-left: 10px; padding-right: 10px; } .brand { gap: 6px; } .brand img { width: 28px; height: 28px; } }
@media (max-width: 560px) {
  .cart-label, .menu-btn span { display: none; }
  .menu-btn { width: 44px; padding: 0; justify-content: center; }
  .nav .brand span { overflow: visible; text-overflow: clip; }
  .nav .cart-btn { position: relative; width: 44px; height: 44px; padding: 0; justify-content: center; gap: 0; }
  .nav .cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; font-size: .72rem; box-shadow: 0 0 0 2px var(--paper); }
}
