/* Palette taken from the clinic logo: the linen background of the logo card,
   fine gilt line work, bronze for headings, espresso for reading text. */
:root {
  color-scheme: light;
  --linen: #ebe3d9;
  --porcelain: #faf7f2;
  --skin: #fdfbf8;
  --gilt: #a9824a;
  --gilt-deep: #86652f;
  --bronze: #6e5330;
  --ink: #2f2721;
  --muted: #574b40;
  --alert: #a3221b;
  --deal: #5c3a0e;
  --hair-ink: #4a3826;
  --hair: rgba(169, 130, 74, 0.38);
  --hair-soft: rgba(169, 130, 74, 0.2);
  --glow-core: rgba(214, 172, 102, 0.75);
  --glow-edge: rgba(190, 150, 86, 0.32);
  --display: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --text: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

/* Text scales with the screen: 22px on phones up to 26px on large screens */
html { font-size: clamp(22px, 1vw + 9px, 26px); }
/* No pull-to-refresh on phones: a reload would wipe the chosen areas */
html, body { overscroll-behavior-y: none; }

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--bronze); margin: 0; line-height: 1.2; }
h2:focus { outline: none; }

button { font: inherit; color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--gilt-deep); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.probe { position: absolute; width: 0; height: 0; overflow: hidden; visibility: hidden; }

/* ---------- Header ---------- */
.hero { position: relative; text-align: center; padding: 44px 16px 4px; }
.lang { position: absolute; top: 14px; inset-inline-end: 12px; display: flex; align-items: center; gap: 0; direction: ltr; }
.lang > span { color: var(--gilt); font-size: 0.85rem; }
.lang button {
  background: none; border: 0; padding: 6px 8px; cursor: pointer;
  color: var(--muted); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.06em; border-bottom: 1px solid transparent;
}
.lang button[aria-pressed="true"] { color: var(--bronze); border-bottom-color: var(--gilt); }
.back {
  position: absolute; top: 10px; inset-inline-start: 8px;
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--bronze);
}
[dir="ltr"] .back span[aria-hidden] { display: inline-block; transform: scaleX(-1); }
/* The logo sits in a round porcelain medallion with a fine double gilt ring. */
.logo-wrap {
  width: 216px; aspect-ratio: 1; margin: 0 auto 10px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 38%, #fffefb 0%, var(--porcelain) 55%, #f2ebe1 100%);
  box-shadow: 0 0 0 1px var(--hair), 0 0 0 6px rgba(250, 247, 242, 0.6), 0 0 0 7px var(--hair-soft),
    0 20px 40px -22px rgba(110, 83, 48, 0.45);
  transition: width 0.3s ease;
}
.logo { width: 84%; height: auto; display: block; }
.hero h1 { font-size: clamp(2rem, 5.6vw, 2.9rem); max-width: 24ch; margin: 0 auto; text-wrap: balance; }
.hero .sub { margin: 10px auto 0; color: var(--muted); max-width: 40ch; }

/* After the first step the header shrinks to a small logo. */
/* After the first step the header is a slim row: back arrow and a small logo in the corner. */
body:not([data-step="intro"]) .hero { padding: 0; height: 60px; }
body:not([data-step="intro"]) .logo-wrap {
  position: absolute; top: 8px; inset-inline-start: 52px; width: 44px; margin: 0;
  box-shadow: 0 0 0 1px var(--hair), 0 6px 14px -10px rgba(110, 83, 48, 0.45);
}
body:not([data-step="intro"]) .hero h1,
body:not([data-step="intro"]) .hero .sub { display: none; }

/* ---------- Layout ---------- */
main { max-width: 720px; margin: 0 auto; padding: 20px 16px 120px; }
.screen h2 { font-size: 1.9rem; text-align: center; }
.lead { text-align: center; color: var(--muted); margin: 8px auto 26px; max-width: 42ch; }
.lead .alert { display: block; color: var(--alert); font-weight: 700; }
.field-label { font-family: var(--display); font-size: 1.25rem; color: var(--bronze); margin: 0 0 10px; text-align: center; }
.note { font-size: 0.9rem; color: var(--muted); margin: 10px 0 0; }
.note-box {
  border: 1px solid var(--hair); border-radius: var(--radius); background: var(--porcelain);
  padding: 12px 16px; margin: 0 0 18px; font-size: 0.95rem; text-align: center;
}

/* ---------- Step 1 ---------- */
.gender-options { display: flex; justify-content: center; gap: 36px; margin-bottom: 26px; }
.gender-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: none; border: 0; padding: 4px 0; cursor: pointer; font: inherit;
}
/* Each figure sits in a round medallion, like the logo. */
.gender-card svg {
  width: 136px; height: 136px; padding: 10px 14px 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #fffefb 0%, var(--porcelain) 55%, #f2ebe1 100%);
  box-shadow: 0 0 0 1px var(--hair), 0 0 0 5px rgba(250, 247, 242, 0.6), 0 0 0 6px var(--hair-soft),
    0 16px 30px -20px rgba(110, 83, 48, 0.45);
  transition: box-shadow 0.25s ease;
}
.gender-card:hover svg { box-shadow: 0 0 0 1px var(--gilt), 0 0 0 5px rgba(250, 247, 242, 0.6), 0 0 0 6px var(--hair), 0 16px 30px -20px rgba(110, 83, 48, 0.45); }
.gender-card span { font-family: var(--display); font-size: 1.35rem; color: var(--bronze); }
.gender-card[aria-pressed="true"] svg {
  box-shadow: 0 0 0 1.5px var(--gilt-deep), 0 0 0 5px rgba(250, 247, 242, 0.85), 0 0 0 6.5px var(--gilt),
    0 0 26px 4px rgba(214, 172, 102, 0.35);
}
.gender-card[aria-pressed="true"] span { color: var(--gilt-deep); }
.gender-card[aria-pressed="true"] .fig-fill path { fill: #fbf1df; }
.gender-card:focus-visible { outline: none; }
.gender-card:focus-visible svg { outline: 2px solid var(--gilt-deep); outline-offset: 8px; }

.age { display: block; text-align: center; margin-bottom: 24px; }
.age input {
  display: block; margin: 0 auto; width: 120px; text-align: center;
  font-family: var(--display); font-size: 2.2rem; color: var(--bronze);
  margin-top: 8px; background: var(--porcelain); border: 1px solid var(--gilt); border-radius: 999px;
  padding: 2px 0 4px; line-height: 1.2; -moz-appearance: textfield;
  box-shadow: 0 8px 18px -14px rgba(110, 83, 48, 0.45);
}
.age input::-webkit-outer-spin-button, .age input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Step 2 ---------- */
.privacy-note {
  display: flex; align-items: center; gap: 14px; margin: 14px 0 6px;
  padding: 16px 20px; border-radius: var(--radius);
  background: #f6eedf; border: 1px solid var(--gilt);
  color: var(--bronze); font-size: 1.08rem; font-weight: 600; line-height: 1.5;
}
.privacy-note svg {
  flex: none; width: 30px; height: 30px;
  fill: none; stroke: var(--gilt-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.health-list { display: grid; gap: 10px; margin: 0 0 22px; }
.health-list ul { list-style: none; margin: 0; padding: 0 20px 8px; }
.health-group {
  background: var(--porcelain); border: 1px solid var(--hair); border-radius: var(--radius);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.health-group[open] { border-color: var(--gilt); box-shadow: 0 14px 30px -24px rgba(110, 83, 48, 0.55); }
.health-group summary, .doctor-box summary {
  display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none;
  min-height: 56px; padding: 10px 20px; border-radius: var(--radius);
  font-family: var(--display); font-size: 1.22rem; color: var(--bronze);
}
.health-group summary::-webkit-details-marker, .doctor-box summary::-webkit-details-marker { display: none; }
.health-group summary:focus-visible, .doctor-box summary:focus-visible { outline: 2px solid var(--gilt-deep); outline-offset: 2px; }
.g-title { flex: 1; }
.g-count {
  flex: none; display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px;
  border-radius: 13px; border: 1px solid var(--hair); color: var(--muted);
  font-family: var(--text); font-size: 0.82rem; font-weight: 600;
}
.chev {
  flex: none; width: 10px; height: 10px; margin-inline-start: 4px;
  border-right: 1.5px solid var(--gilt); border-bottom: 1.5px solid var(--gilt);
  transform: translateY(-3px) rotate(45deg); transition: transform 0.25s ease;
}
details[open] > summary .chev { transform: translateY(2px) rotate(-135deg); }
.health-list li { position: relative; padding: 10px 0; padding-inline-start: 20px; border-top: 1px solid var(--hair-soft); }
.health-list li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 1.15em; width: 6px; height: 6px; border-radius: 50%; background: var(--gilt); opacity: 0.7; }
.declare { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 600; margin-bottom: 6px; }
.declare input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--gilt-deep); }
.doctor-box {
  margin: 20px 0 24px; font-size: 0.95rem;
  border: 1px dashed var(--gilt); border-radius: var(--radius); background: var(--porcelain);
}
.doctor-box summary { font-size: 1.12rem; }
.doctor-list { margin: 0 0 10px; padding: 0 20px; padding-inline-start: 38px; color: var(--muted); columns: 2 14ch; column-gap: 28px; }
.doctor-list li { break-inside: avoid; padding: 2px 0; }
.doctor-box > p { margin: 0; padding: 0 20px 16px; }

/* ---------- Step 3: tabs and stage ---------- */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--hair); margin-bottom: 10px; }
.tab {
  position: relative; background: none; border: 0; cursor: pointer;
  padding: 10px 4px 12px; min-height: 48px; color: var(--muted);
  font-family: var(--display); font-size: 1.12rem; line-height: 1.2;
}
.tab[aria-current="step"] { color: var(--bronze); }
.tab[aria-current="step"]::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -1px; height: 3px; border-radius: 3px; background: var(--gilt); }
.tab .count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-inline-start: 6px;
  border-radius: 10px; background: var(--gilt-deep); color: #fff;
  font-family: var(--text); font-size: 0.75rem; font-weight: 600; vertical-align: 2px;
}

.stage { position: relative; }
.view-toggle {
  position: absolute; top: 4px; inset-inline-end: 0; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
}
.view-toggle button {
  background: none; border: 0; cursor: pointer; padding: 6px 4px;
  color: var(--muted); font-family: var(--display); font-size: 1.05rem;
  border-inline-end: 1px solid transparent; text-align: end;
}
.view-toggle button[aria-pressed="true"] { color: var(--bronze); border-inline-end-color: var(--gilt); padding-inline-end: 8px; }
#fig { display: block; overflow: hidden; width: 100%; height: min(54vh, 500px); min-height: 300px; transition: transform 0.22s ease-in, opacity 0.22s ease-in; }
#fig {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 88%, transparent);
}
#fig.turning { transform: scaleX(0.04); opacity: 0.3; }
.hint { text-align: center; color: var(--muted); font-size: 0.95rem; margin: 6px 0 4px; }

/* ---------- Figures ---------- */
.fig { overflow: visible; }
/* Thick stroke under a fill = one clean outline around the merged shapes. */
.fig-line path { fill: none; stroke: var(--gilt); stroke-width: 2.4; stroke-linejoin: round; }
.fig-fill path { fill: var(--skin); stroke: none; }

.region {
  fill: transparent;
  stroke: var(--bronze); stroke-width: 0.9; stroke-linecap: round; stroke-dasharray: 0.1 2.2;
  cursor: pointer;
  transition: fill 0.5s ease 0.2s;
}
.region:hover { fill: rgba(169, 130, 74, 0.12); }
.region.on { fill: var(--glow); }
/* Only the body part on screen is clickable and marked. */
.fig[data-section="0"] .region:not([data-section="0"]),
.fig[data-section="1"] .region:not([data-section="1"]),
.fig[data-section="2"] .region:not([data-section="2"]) { pointer-events: none; stroke: none; }
#map-front .region, #map-back .region, #map-face .region { stroke: none; cursor: default; }
.glow-core { stop-color: var(--glow-core); }
.glow-edge { stop-color: var(--glow-edge); }
/* RF ("glow": "pulse" in clinic.json): a chosen area glows pink and pulses 3 times,
   like the device's warmth (under 5 seconds, for accessibility). */
.glow-pulse { --glow-core: rgba(232, 120, 150, 0.72); --glow-edge: rgba(240, 160, 185, 0.25); }
@media (prefers-reduced-motion: no-preference) {
  .glow-pulse .region.on { animation: rf-pulse 1.1s ease-in-out 3; }
}
@keyframes rf-pulse {
  0%, 100% { fill-opacity: 1; filter: drop-shadow(0 0 0 rgba(232, 120, 150, 0)); }
  50% { fill-opacity: 0.45; filter: drop-shadow(0 0 3px rgba(232, 120, 150, 0.9)); }
}

.hairs path {
  fill: none; stroke: var(--hair-ink); stroke-linecap: round; pointer-events: none;
  vector-effect: non-scaling-stroke; /* hairline at every zoom level */
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.hairs-f path { stroke-width: 0.95px; opacity: 0.8; }
.hairs-m path { stroke-width: 1.1px; opacity: 0.9; }
/* Women's facial hair: finer and lighter, so it reads as fuzz, not a beard. */
.hairs-f.hairs-face path { stroke: #8f6f4a; stroke-width: 0.8px; opacity: 0.7; }
.fig[data-section="0"] .hairs:not([data-section="0"]),
.fig[data-section="1"] .hairs:not([data-section="1"]),
.fig[data-section="2"] .hairs:not([data-section="2"]) { display: none; }
.hairs.gone path { opacity: 0; transform: translateY(-1.2px); }
.beam { pointer-events: none; }
.beam-core { stop-color: #fff8e6; stop-opacity: 1; }
.beam-edge { stop-color: #f3d9a4; stop-opacity: 0; }

/* Fine lines stay hairline-thin at every zoom (face features are tiny). */
.detail { fill: none; stroke: var(--gilt); stroke-width: 1.3px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; pointer-events: none; }
.ear { fill: var(--skin); stroke: var(--gilt); stroke-width: 1.4px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.head-hair { fill: #e4d2b2; stroke: var(--gilt); stroke-width: 1.1; stroke-linejoin: round; pointer-events: none; }

/* The figure draws itself once, like the logo's line work. */
@media (prefers-reduced-motion: no-preference) {
  .draw-in .fig-line path, .draw-in .detail, .draw-in .head-hair { stroke-dasharray: 1.05 1.05; stroke-dashoffset: 1.05; animation: draw 2.2s cubic-bezier(.6, .1, .3, 1) forwards; }
  .draw-in .detail { animation-delay: 1s; animation-duration: 1.3s; }
  .draw-in .region, .draw-in .hairs { animation: appear 0.9s ease 1.6s both; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } }

/* ---------- Area list (price-list style) ---------- */
.list { margin-top: 8px; }
/* Heading over the price list: area | price for one treatment */
.list-head {
  display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 6px 2px;
  border-bottom: 1px solid var(--gold); color: var(--bronze); font-size: 0.82rem; font-weight: 600;
}
.chip {
  display: flex; align-items: baseline; gap: 10px; width: 100%;
  background: none; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0;
  padding: 12px 4px; min-height: 50px; cursor: pointer; text-align: start;
  transition: background-color 0.4s ease;
}
.chip .mark {
  flex: none; width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid var(--gilt); align-self: center;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.chip .label { flex: none; max-width: 70%; }
.chip .leader { flex: 1; min-width: 16px; border-bottom: 1.5px dotted var(--bronze); opacity: 0.85; transform: translateY(-5px); }
.chip .price { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip:hover .label { color: var(--bronze); }
.chip[aria-pressed="true"] .mark { background: var(--gilt); box-shadow: inset 0 0 0 2.5px var(--linen); }
.chip .label { flex: 0 1 auto; min-width: 0; max-width: 70%; }
.chip.flash { background: rgba(169, 130, 74, 0.14); }

/* ---------- Quote ---------- */
#s-summary {
  background: var(--porcelain);
  border: 1px solid var(--hair);
  outline: 1px solid var(--hair-soft); outline-offset: -9px;
  border-radius: var(--radius);
  padding: 32px 28px 28px;
}
#s-summary h2 { margin-bottom: 10px; }
.map { display: flex; justify-content: center; gap: 18px; margin: 0 auto 18px; }
.map { align-items: center; }
.map svg { width: 104px; height: 326px; }
.map #map-face { overflow: hidden; clip-path: ellipse(50% 50%); width: 150px; height: 196px; border: 1px solid var(--gilt); border-radius: 50%; background: #fffdf9; }
@media (max-width: 400px) { .map { gap: 10px; } .map svg { width: 86px; height: 270px; } .map #map-face { width: 112px; height: 146px; } }
.empty { color: var(--muted); text-align: center; margin: 0 0 8px; }
#summary-body .empty {
  margin: 6px auto 16px; padding: 12px 20px; max-width: 30rem; border: 1.5px solid var(--gilt); border-radius: var(--radius);
  background: #f6e6c8; color: var(--bronze); font-weight: 600; font-size: 1.05rem;
}
.lines { list-style: none; padding: 0; margin: 0 0 18px; }
.lines li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--hair-soft); }
.lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.lines li.pkg { color: var(--bronze); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total span { font-size: 1.05rem; }
.total strong { font-family: var(--display); font-weight: 400; font-size: 2.5rem; line-height: 1; color: var(--bronze); white-space: nowrap; }

/* The series offer: a soft gold card that carries the strongest emphasis on the page */
.series {
  position: relative; margin: 28px 0 18px; padding: 22px 20px 20px;
  border: 1px solid var(--gilt); border-radius: var(--radius);
  background: radial-gradient(120% 90% at 100% 0%, #fffaf1 0%, #f6ecdc 55%, #efe0c6 100%);
  box-shadow: 0 14px 34px -22px rgba(110, 83, 48, 0.6), inset 0 0 0 4px rgba(255, 250, 241, 0.7);
}
.series h3 { font-size: 1.3rem; margin-bottom: 14px; }
.series .prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.series .prices s {
  position: relative; text-decoration: none; font-family: var(--display); font-size: 1.6rem;
  color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.series .prices s::after {
  content: ""; position: absolute; inset-inline: -4px; top: 50%; height: 2px;
  background: var(--gilt-deep); border-radius: 2px; transform: rotate(-8deg);
}
.series .big {
  /* shrinks on narrow phones, and wraps rather than overflow */
  font-family: var(--text); font-weight: 700; font-size: clamp(1.6rem, 6.8vw, 2.5rem); line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
/* Glittering gold on the series prices: a deep metallic gold that stays, and a bright glint
   that sweeps across 3 times (under 5 seconds) once the box is on screen (.shine, set in app.js) */
.series .big, .series .in-series strong {
  color: var(--deal); font-weight: 800;
  background-image:
    linear-gradient(100deg, transparent 42%, rgba(255, 244, 200, 0.95) 50%, transparent 58%),
    linear-gradient(180deg, #a87528 0%, #6e470f 48%, #4f3009 62%, #8a5d1c 100%);
  background-size: 300% 100%, 100% 100%; background-position: 100% 0, 0 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 250, 241, 0.9)) drop-shadow(0 0 6px rgba(214, 172, 102, 0.45));
}
@media (prefers-reduced-motion: no-preference) {
  .series.shine .big, .series.shine .in-series strong { animation: glitter 1.5s ease-in-out 0.2s 3 both; }
}
@keyframes glitter { from { background-position: 100% 0, 0 0; } to { background-position: 0 0, 0 0; } }
.series .in-series { margin: 10px 0 0; color: var(--muted); }
.series .in-series { font-size: 1.1rem; }
.series .in-series strong { font-weight: 800; font-size: 1.2em; font-variant-numeric: tabular-nums; }
.series .save {
  display: inline-block; margin-top: 14px; padding: 6px 16px; border-radius: 999px;
  background: var(--gilt-deep); color: #fffaf1; font-weight: 600; font-size: 1rem;
}
.series ul { margin: 14px 0 0; padding-inline-start: 18px; font-size: 0.95rem; color: var(--muted); }
.series li::marker { color: var(--gilt); }

.consult { margin: 22px 0 16px; padding: 14px 18px 12px; border: 1.5px solid var(--gilt); border-radius: var(--radius); background: #fffaf1; }
.consult-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 6px; }
.consult-head strong { font-family: var(--display); font-size: 1.2rem; font-weight: 700; color: var(--bronze); }
.consult .fee { padding: 4px 14px; border-radius: 999px; background: var(--gilt-deep); color: #fffaf1; font-weight: 700; font-size: 0.95rem; }
.consult p { margin: 0; font-size: 0.92rem; color: var(--muted); }

.btn {
  display: flex; align-items: center; justify-content: center; width: 100%;
  background: var(--gilt-deep); color: #fff; text-decoration: none; border: 1px solid var(--gilt-deep);
  border-radius: 999px; padding: 14px 20px; min-height: 52px; cursor: pointer;
  font-size: 1.02rem; font-weight: 600; letter-spacing: 0.01em; text-align: center;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.btn:hover { background: var(--bronze); border-color: var(--bronze); }
.btn:disabled { opacity: 0.38; cursor: not-allowed; background: var(--gilt-deep); }
.btn + .btn { margin-top: 10px; }
.btn.outline { background: transparent; color: var(--bronze); border-color: var(--gilt); }
.btn.outline:hover { background: rgba(169, 130, 74, 0.1); }
/* Deal banner: gold-framed, bold, glows a few times when it appears (under 5 s, so no pause control is needed) */
.promo {
  position: relative; overflow: hidden;
  font-family: var(--display); font-size: 1.15rem; font-weight: 700; color: var(--bronze); text-align: center; line-height: 1.45;
  margin: 20px 0 0; padding: 12px 18px;
  border: 1.5px solid var(--gilt); border-radius: var(--radius);
  background: linear-gradient(135deg, #fbf3e4, #f1e2c6 50%, #fbf3e4);
  box-shadow: 0 0 0 0 rgba(169, 130, 74, 0);
  animation: promo-glow 1.5s ease-in-out 3;
}
.promo-main { display: block; }
.promo-main::before { content: "✦ "; color: var(--gilt); }
.promo-main::after { content: " ✦"; color: var(--gilt); }
.promo-note { display: block; margin-top: 2px; font-family: var(--text); font-size: 0.82em; font-weight: 500; }
@keyframes promo-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(169, 130, 74, 0); transform: scale(1); }
  50% { box-shadow: 0 0 18px 4px rgba(169, 130, 74, 0.55); transform: scale(1.025); }
}
.text-btn {
  display: block; margin: 22px auto 0; background: none; border: 0; cursor: pointer;
  color: var(--bronze); text-decoration: underline; text-decoration-color: var(--gilt); text-underline-offset: 4px;
  min-height: 44px;
}

/* ---------- Choice sheet ---------- */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(47, 39, 33, 0.38); z-index: 20; }
.sheet {
  position: fixed; z-index: 21; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(460px, 100%); background: var(--porcelain);
  border-radius: 28px 28px 0 0; border-top: 1px solid var(--hair);
  padding: 24px 20px calc(20px + env(safe-area-inset-bottom));
}
.sheet h3 { font-size: 1.5rem; margin-bottom: 8px; }
.sheet .chip[aria-pressed="true"] .mark { box-shadow: inset 0 0 0 2.5px var(--porcelain); }
.btn-ghost {
  width: 100%; margin-top: 14px; min-height: 48px; cursor: pointer;
  background: var(--gilt-deep); color: #fff; border: 0; border-radius: 999px; font-weight: 600;
}

/* ---------- Bottom bar (step 3) ---------- */
.bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--porcelain); border-top: 1px solid var(--hair);
  border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -10px 30px -20px rgba(110, 83, 48, 0.35);
  padding: 10px max(16px, calc((100% - 568px) / 2)) calc(10px + env(safe-area-inset-bottom));
}
.bar span { font-family: var(--display); font-size: 1.25rem; color: var(--bronze); }
.btn-small {
  background: var(--gilt-deep); color: #fff; border: 0; cursor: pointer;
  border-radius: 999px; padding: 10px 24px; min-height: 44px; font-weight: 600;
  margin-inline-start: auto;
}

footer { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 0 16px 96px; max-width: 70ch; margin: 0 auto; }
footer p { margin: 4px 0; }
footer a { color: var(--bronze); text-underline-offset: 3px; }
footer .legal-links { margin-top: 10px; }

/* ---------- Legal pages (accessibility, privacy) ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 20px 20px 64px; }
.legal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.legal-head a { color: var(--bronze); }
.legal-head img { width: 56px; height: 56px; border-radius: 50%; background: var(--porcelain); box-shadow: 0 0 0 1px var(--hair); padding: 4px; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin: 6px 0 4px; }
.legal .updated { color: var(--muted); margin: 0 0 22px; font-size: 0.92rem; }
.legal h2 { font-size: 1.45rem; margin: 28px 0 8px; color: var(--bronze); font-weight: 400; }
.legal a { color: var(--bronze); text-underline-offset: 3px; }
.legal p, .legal li { line-height: 1.7; }
.legal ul { padding-inline-start: 22px; }
.legal .draft { border: 1px dashed var(--gilt-deep); border-radius: var(--radius); background: #f6e6c8; padding: 12px 16px; font-weight: 600; }
.legal .todo { background: #f6e6c8; color: var(--bronze); padding: 0 6px; border-radius: 6px; font-weight: 600; }

@media (max-width: 480px) {
  body { font-size: 1rem; }
  #s-summary { padding: 26px 12px 22px; }
  .tab { font-size: 1.02rem; }
  body[data-step="intro"] .logo-wrap { width: 168px; }
  .gender-options { gap: 22px; }
  .gender-card svg { width: 124px; height: 124px; }
  /* Front/back becomes a small pill switch above the drawing */
  .view-toggle {
    position: static; flex-direction: row; justify-content: center; gap: 0;
    width: max-content; margin: 0 auto 6px; padding: 3px;
    border: 1px solid var(--hair); border-radius: 999px; background: var(--porcelain);
  }
  .view-toggle button { border: 0; border-radius: 999px; padding: 5px 18px; font-size: 1rem; text-align: center; }
  .view-toggle button[aria-pressed="true"] { background: var(--gilt-deep); color: #fff; padding-inline-end: 18px; }
}

/* A missed field shakes and flashes gold */
.note-box.warn { border-color: var(--gilt-deep); color: var(--bronze); }
.nudge { animation: nudge-shake 0.5s ease, nudge-flash 1.2s ease; }
.age input.nudge { animation: nudge-shake 0.5s ease, nudge-line 1.2s ease; }
@keyframes nudge-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}
@keyframes nudge-flash {
  0%, 50%, 100% { box-shadow: 0 0 0 0 rgba(169, 130, 74, 0); }
  25%, 75% { box-shadow: 0 0 0 6px rgba(169, 130, 74, 0.35); border-radius: var(--radius); }
}
@keyframes nudge-line {
  0%, 50%, 100% { border-color: var(--gilt); background: var(--porcelain); }
  25%, 75% { border-color: var(--gilt-deep); background: #f6e6c8; box-shadow: 0 0 0 5px rgba(169, 130, 74, 0.25); }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Areas screen: drawing and list fit one screen where possible ---------- */
body[data-step="areas"] main { padding-top: 0; padding-bottom: 0; }
body[data-step="areas"] footer { padding-top: 96px; }
#s-areas:not([hidden]) {
  display: flex; flex-direction: column;
  min-height: calc(100vh - 60px - 72px);
  min-height: calc(100svh - 60px - 72px);
}
#s-areas .tabs { margin-bottom: 6px; }
#s-areas .tab { font-size: 1.02rem; min-height: 38px; padding: 5px 4px 8px; }
#s-areas .stage { flex: 1 0 auto; display: flex; flex-direction: column; }
#s-areas #fig { flex: 1 0 186px; height: auto; min-height: 186px; }
#s-areas .hint { font-size: 0.88rem; margin: 2px 0; }
#s-areas .chip { padding: 6px 4px; min-height: 36px; font-size: 0.97rem; }
/* On the areas screen the banner sits above the list and glows only when app.js adds .glow */
#s-areas .promo { font-size: 1.05rem; margin: 2px 0 10px; padding: 9px 14px; animation: none; }
#s-areas .promo.glow { animation: promo-glow 1.5s ease-in-out 3; }

/* Wide screens: the drawing beside the list */
@media (min-width: 860px) {
  body[data-step="areas"] main { max-width: 1120px; }
  #s-areas:not([hidden]) {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px;
    grid-template-rows: auto auto 1fr; align-content: start;
  }
  #s-areas .tabs { grid-column: 1 / -1; }
  #s-areas .stage { grid-column: 1; grid-row: 2 / 4; height: calc(100vh - 60px - 72px - 64px); min-height: 380px; }
  #s-areas .hint { grid-column: 2; grid-row: 2; margin-top: 10px; }
  #s-areas .list { grid-column: 2; grid-row: 3; }
  body[data-step="areas"] .bar { padding-inline: max(16px, calc((100% - 1088px) / 2)); }
}
/* Phones: the front/back switch sits in the empty top corner of the drawing */
@media (max-width: 859px) {
  #s-areas .view-toggle { position: absolute; top: 2px; inset-inline-end: 0; margin: 0; }
  #s-areas .view-toggle button { padding: 4px 12px; font-size: 0.9rem; }
  #s-areas .view-toggle button[aria-pressed="true"] { padding-inline-end: 12px; }
  /* Compact deal banner above the list */
  #s-areas .promo { font-size: 0.98rem; line-height: 1.3; margin: 2px 0 6px; padding: 6px 12px; }
  #s-areas .chip { min-height: 44px; padding-block: 6px; }
  #s-areas .tab { font-size: 0.86rem; white-space: nowrap; padding-inline: 2px; }
  /* Russian tab names are long: let them wrap to two lines instead of widening the page */
  :lang(ru) #s-areas .tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :lang(ru) #s-areas .tab { white-space: normal; font-size: 0.8rem; line-height: 1.15; }

  /* Phones: the drawing fills the screen so areas are easy to tap; the list follows below, by scrolling */
  #s-areas #fig { flex: 0 0 auto; height: calc(100vh - 60px - 56px - 80px); height: calc(100svh - 60px - 56px - 80px); min-height: 340px; max-height: 640px; }
}

/* ---------- Accessibility button and panel (a11y.js) ---------- */
.a11y-btn {
  position: fixed; z-index: 30; bottom: 16px; inset-inline-end: 14px;
  width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 38%, #fffefb 0%, var(--porcelain) 55%, #f2ebe1 100%);
  box-shadow: 0 0 0 1px var(--gilt), 0 0 0 4px rgba(250, 247, 242, 0.85), 0 0 0 5px var(--hair),
    0 12px 24px -12px rgba(110, 83, 48, 0.55);
  transition: bottom 0.25s ease, box-shadow 0.2s ease;
}
.a11y-btn svg { width: 28px; height: 28px; fill: none; stroke: var(--gilt-deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.a11y-btn svg circle { fill: var(--gilt-deep); stroke: none; }
.a11y-btn:hover, .a11y-btn[aria-expanded="true"] {
  box-shadow: 0 0 0 1.5px var(--gilt-deep), 0 0 0 4px rgba(250, 247, 242, 0.9), 0 0 0 5.5px var(--gilt),
    0 0 20px 2px rgba(214, 172, 102, 0.35);
}
.a11y-btn:focus-visible { outline: 2px solid var(--gilt-deep); outline-offset: 6px; }

.a11y-panel {
  position: fixed; z-index: 31; bottom: 78px; inset-inline-end: 14px;
  width: min(360px, calc(100vw - 28px));
  background: var(--porcelain); color: var(--ink);
  border: 1px solid var(--gilt); border-radius: var(--radius);
  outline: 1px solid var(--hair-soft); outline-offset: -7px;
  box-shadow: 0 22px 44px -22px rgba(110, 83, 48, 0.6);
  padding: 14px 18px 12px; font-size: 1rem;
}
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.a11y-head h2 { font-size: 1.45rem; }
.a11y-x {
  width: 40px; height: 40px; margin-inline-end: -8px; border: 0; background: none; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: var(--bronze); border-radius: 50%;
}
.a11y-size { padding: 6px 0 12px; border-bottom: 1px solid var(--hair-soft); }
.a11y-size p { margin: 0 0 8px; }
.a11y-size div { display: flex; gap: 8px; }
.a11y-size button {
  flex: 1; height: 46px; cursor: pointer; border-radius: 999px;
  border: 1px solid var(--hair); background: none; color: var(--bronze);
  font-family: var(--display); line-height: 1;
}
.a11y-size button[aria-pressed="true"] { background: var(--gilt-deep); border-color: var(--gilt-deep); color: #fff; }
.a11y-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  min-height: 52px; padding: 6px 0; border: 0; border-bottom: 1px solid var(--hair-soft);
  background: none; cursor: pointer; text-align: start;
}
.a11y-switch {
  flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px;
  border: 1px solid var(--hair); background: var(--porcelain); transition: background-color 0.2s ease;
}
.a11y-switch::after {
  content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: #c9b79c; transition: inset-inline-start 0.2s ease, background-color 0.2s ease;
}
.a11y-row[aria-checked="true"] .a11y-switch { background: var(--gilt-deep); border-color: var(--gilt-deep); }
.a11y-row[aria-checked="true"] .a11y-switch::after { inset-inline-start: 21px; background: #fff; }
.a11y-row[aria-checked="true"] > span:first-child { color: var(--bronze); font-weight: 600; }
.a11y-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; }
.a11y-foot button {
  min-height: 40px; border: 0; background: none; cursor: pointer; padding: 0;
  color: var(--muted); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 4px;
}
.a11y-foot a { color: var(--bronze); text-underline-offset: 4px; min-height: 40px; display: inline-flex; align-items: center; }
.a11y-panel button:focus-visible, .a11y-panel a:focus-visible { outline: 2px solid var(--gilt-deep); outline-offset: 2px; }

/* Settings applied to the whole page */
html.a11y-text-1 { font-size: calc(clamp(22px, 1vw + 9px, 26px) * 1.15); }
html.a11y-text-2 { font-size: calc(clamp(22px, 1vw + 9px, 26px) * 1.3); }

html.a11y-contrast {
  --linen: #ffffff; --porcelain: #ffffff; --skin: #ffffff;
  --gilt: #6e5330; --gilt-deep: #4f3a1f; --bronze: #3e2d17;
  --ink: #000000; --muted: #2f2721;
  --hair: rgba(62, 45, 23, 0.75); --hair-soft: rgba(62, 45, 23, 0.45);
}
html.a11y-contrast body { background: #fff; }
html.a11y-contrast .series .big, html.a11y-contrast .series .in-series strong { -webkit-text-fill-color: #3e2d17; background: none; filter: none; }
html.a11y-contrast .privacy-note, html.a11y-contrast .series { background: #fff; }
html.a11y-contrast .chip .leader { opacity: 1; }

html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 4px; font-weight: 600; }
html.a11y-links .btn, html.a11y-links .text-btn { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { transition: none !important; animation: none !important; }
/* Without its animation the line drawing must show at once */
html.a11y-still .draw-in .fig-line path, html.a11y-still .draw-in .detail, html.a11y-still .draw-in .head-hair { stroke-dasharray: none; stroke-dashoffset: 0; }
/* On the areas screen the list fills the view, so the button moves up into the slim header, beside the small logo */
body[data-step="areas"] .a11y-btn {
  position: absolute; top: 8px; bottom: auto; inset-inline-end: auto; inset-inline-start: 108px;
  width: 44px; height: 44px;
}
body[data-step="areas"] .a11y-btn svg { width: 24px; height: 24px; }
body[data-step="areas"] .a11y-panel { position: absolute; top: 62px; bottom: auto; inset-inline-end: auto; inset-inline-start: 12px; }
footer .credit { margin-top: 14px; font-size: 0.8rem; opacity: 0.85; }
.series a { color: var(--bronze); text-decoration-color: var(--gilt); text-underline-offset: 3px; }

/* Quote split by body part */
#s-summary .group-title {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 1.25rem; margin: 18px 0 2px; padding-bottom: 4px;
  border-bottom: 1px solid var(--gilt);
}
.lines li.subtotal { border-bottom: 0; padding-top: 7px; font-weight: 600; color: var(--bronze); }
/* Body part with free areas: full price, gifts struck through, saving, price after it */
.lines li.sum-full { padding-top: 10px; padding-bottom: 4px; border-bottom: 0; font-weight: 600; }
.lines li.sum-gift { padding-block: 2px; border-bottom: 0; font-size: 0.93rem; color: var(--muted); }
.lines li.sum-gift s { text-decoration-color: var(--gilt); text-decoration-thickness: 1.5px; }
.lines li.sum-save { padding-block: 4px 6px; font-size: 0.93rem; font-weight: 600; color: var(--gilt-deep); }
#s-summary .deal-hint {
  margin: 4px 0 16px; padding: 12px 16px; border: 1px dashed var(--gilt); border-radius: var(--radius);
  color: var(--bronze); font-size: 0.95rem; line-height: 1.5;
}
#s-summary .deal-hint p { margin: 0 0 6px; }
#s-summary .deal-hint .link {
  background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--bronze); cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--gilt); text-underline-offset: 3px;
}
#s-summary .total { border-top: 1px solid var(--gilt); padding-top: 14px; }
#s-summary .group-title + .lines { margin-bottom: 6px; }
#s-summary .lines:last-of-type { margin-bottom: 18px; }

/* Deal terms: the line the banner's asterisk points to */
.promo .star { font-size: 0.75em; color: var(--gilt-deep); margin-inline-start: 1px; }
.deal-terms { margin: 8px 2px 4px; font-size: 0.8rem; line-height: 1.55; color: var(--muted); }
.deal-terms a { font-weight: 700; color: var(--bronze); text-decoration: underline; text-decoration-color: var(--gilt); text-underline-offset: 3px; }

/* Series card under a body part's summary on the areas screen */
.sec-series {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px;
  margin: 6px 0 10px; padding: 10px 16px;
  border: 1px solid var(--gilt); border-radius: var(--radius);
  background: radial-gradient(120% 120% at 100% 0%, #fffaf1 0%, #f6ecdc 55%, #efe0c6 100%);
  box-shadow: 0 10px 24px -18px rgba(110, 83, 48, 0.6), inset 0 0 0 3px rgba(255, 250, 241, 0.7);
}
.sec-series .label { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-weight: 600; color: var(--bronze); }
.sec-series .pill {
  padding: 2px 12px; border-radius: 999px; background: var(--gilt-deep); color: #fffaf1;
  font-size: 0.85rem; font-weight: 600; white-space: nowrap;
}
.sec-series .note { font-size: 0.82rem; font-weight: 500; color: var(--muted); }
/* May wrap on a narrow phone (long Russian text, "per treatment only"); the price keeps its ₪ (no-break space). */
.sec-series .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.sec-series .price s {
  position: relative; text-decoration: none; font-family: var(--display); font-size: 1.15rem; color: var(--muted); font-variant-numeric: tabular-nums;
}
.sec-series .price s::after {
  content: ""; position: absolute; inset-inline: -3px; top: 50%; height: 1.5px;
  background: var(--gilt-deep); border-radius: 2px; transform: rotate(-8deg);
}
.sec-series .price strong { font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1.1; color: var(--bronze); font-variant-numeric: tabular-nums; }

/* Section summary under the list on the areas screen */
#s-areas .sec-sum { margin: 4px 0 8px; padding-top: 2px; border-top: 1px solid var(--gilt); }
#s-areas .sec-sum li { font-size: 0.95rem; }

/* Deal note that pops up above the bottom bar on the areas screen */
.deal-toast {
  position: fixed; z-index: 25; inset-inline: 16px; bottom: 92px; margin-inline: auto; max-width: 460px;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px;
  border: 1.5px solid var(--gilt); border-radius: var(--radius);
  background: linear-gradient(135deg, #fbf3e4, #f1e2c6 50%, #fbf3e4); color: var(--bronze);
  box-shadow: 0 16px 36px -14px rgba(110, 83, 48, 0.65), 0 0 18px 2px rgba(169, 130, 74, 0.35);
  opacity: 0; transform: translateY(14px) scale(0.98); transition: opacity 0.3s ease, transform 0.3s ease;
}
.deal-toast.on { opacity: 1; transform: none; }
.deal-toast > div { flex: 1; display: flex; flex-direction: column; gap: 2px; text-align: center; }
.deal-toast strong { font-family: var(--display); font-size: 1.1rem; font-weight: 700; }
.deal-toast strong::before { content: "✦ "; color: var(--gilt); }
.deal-toast span { font-size: 0.85rem; }
.deal-toast button {
  flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gilt);
  background: rgba(255, 250, 241, 0.8); color: var(--bronze); font-size: 1.2rem; line-height: 1; cursor: pointer;
}
body:not([data-step="areas"]) .deal-toast { display: none; }
@media (max-width: 480px) { .deal-toast strong { font-size: 1rem; } .deal-toast span { font-size: 0.8rem; } }

/* ---------- Quote table on the summary: full price, single treatment, series ---------- */
.quote-wrap { margin: 18px 0 6px; border: 1px solid var(--gilt); border-radius: var(--radius); overflow: hidden; background: #fffdf9; }
.quote { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.quote th, .quote td { padding: 9px 10px; text-align: start; font-weight: 400; vertical-align: middle; }
.quote td { text-align: center; white-space: nowrap; }
.quote thead th { font-size: 0.8rem; line-height: 1.25; color: var(--muted); border-bottom: 1px solid var(--gilt); vertical-align: bottom; }
.quote thead th:not(:first-child) { text-align: center; }
.quote tbody tr:not(.grp) + tr:not(.grp) > * { border-top: 1px solid var(--hair-soft); }
.quote tr.grp th { padding: 14px 10px 4px; font-family: var(--display); font-size: 1.08rem; color: var(--bronze); }
.quote tr.sub > * { font-weight: 600; color: var(--bronze); }
.quote .c-full { color: var(--muted); }
.quote td.c-full { text-decoration: none; }
.quote td.off { color: var(--bronze); font-weight: 600; }
.quote .gift { display: inline-block; padding: 1px 9px; border-radius: 999px; background: var(--gilt-deep); color: #fffaf1; font-size: 0.78rem; font-weight: 600; }
/* the series column: the best deal, in gold */
.quote .c-series { background: linear-gradient(180deg, #f7ecd8, #f1e0c2); }
.quote td.c-series { color: var(--bronze); font-weight: 700; }
.quote thead .c-series { color: var(--bronze); font-weight: 700; padding-top: 6px; }
.quote .best { display: block; width: max-content; margin: 0 auto 4px; padding: 1px 8px; border-radius: 999px; background: var(--gilt-deep); color: #fffaf1; font-size: 0.68rem; font-weight: 600; }
.quote tfoot tr > * { border-top: 1.5px solid var(--gilt); padding-block: 12px; font-weight: 700; }
.quote tfoot th { color: var(--bronze); }
.quote tfoot td.c-series { font-family: var(--display); font-size: 1.35rem; font-weight: 400; }
.saves { display: grid; gap: 8px; margin: 12px 0 4px; }
.saves p { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--gilt); color: var(--bronze); font-size: 0.95rem; }
.saves strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.saves p.hi { background: var(--gilt-deep); border-color: var(--gilt-deep); color: #fffaf1; font-weight: 600; }
.saves p.hi strong { font-size: 1.1rem; }
@media (max-width: 480px) {
  .quote th, .quote td { padding: 8px 4px; font-size: 0.86rem; }
  .quote tr.sub .sub-deal { font-size: 0.72rem; font-weight: 400; line-height: 1.3; }
  .quote thead th { font-size: 0.72rem; }
  .quote tr.grp th { font-size: 1rem; }
  .quote tfoot td.c-series { font-size: 1.15rem; }
  .quote .gift { padding: 1px 6px; font-size: 0.7rem; }
  .quote .best { font-size: 0.62rem; padding: 1px 6px; }
  .quote th[scope="row"] { hyphens: auto; }
}

/* Totals stand out: each body part's subtotal and the treatment total */
.quote tr.grp th { background: rgba(169, 130, 74, 0.1); border-top: 1px solid var(--gilt); padding-block: 10px 8px; font-weight: 700; }
.quote tbody tr.grp:first-child th { border-top: 0; }
.quote tr.sub > * { background: rgba(169, 130, 74, 0.16); font-weight: 700; font-size: 1rem; border-top: 1px solid var(--gilt) !important; }
.quote tr.sub td.c-series { background: #e9d4ad; }
.quote tfoot tr > * { background: var(--gilt-deep); color: #fffaf1 !important; border-top: 0; font-size: 1.05rem; }
.quote tfoot th { color: #fffaf1; }
.quote tfoot td.c-full { color: #ead9bb !important; }
.quote tfoot td.c-series { background: #5e4422; font-family: var(--display); font-size: 1.5rem; font-weight: 400; }
@media (max-width: 480px) {
  .quote tr.sub > * { font-size: 0.9rem; }
  .quote tfoot tr > * { font-size: 0.92rem; }
  .quote tfoot td.c-series { font-size: 1.2rem; }
}
/* Russian words are longer: tighter numbers so the table fits a 360px phone */
@media (max-width: 480px) {
  :lang(ru) .quote th, :lang(ru) .quote td { padding-inline: 3px; }
  :lang(ru) .quote td, :lang(ru) .quote tr.sub > td { font-size: 0.8rem; }
  :lang(ru) .quote tfoot td { font-size: 0.85rem; }
  :lang(ru) .quote tfoot td.c-series { font-size: 1.08rem; }
  :lang(ru) .quote .gift { padding: 1px 5px; font-size: 0.64rem; }
}

/* ---------- Quote date, and the quote saved as PDF (print) ---------- */
.quote-date { margin: -4px 0 6px; text-align: center; font-size: 0.88rem; color: var(--muted); }
.print-head { display: none; }
@media print {
  .series .big, .series .in-series strong { -webkit-text-fill-color: var(--deal); background: none; filter: none; }
  @page { margin: 12mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; box-shadow: none !important; animation: none !important; }
  html, body { background: #fff !important; }
  html { font-size: 16px !important; }
  .hero, .bar, .a11y-btn, .a11y-panel, .sheet, .sheet-backdrop, .deal-toast, #edit,
  #summary-body .btn, .deal-hint, footer #t-privacy, footer .legal-links, footer .credit, #s-summary > h2 { display: none !important; }
  main { max-width: none; padding: 0; }
  #s-summary { border: 0 !important; background: none !important; padding: 0 !important; }
  .print-head { display: flex; align-items: center; gap: 14px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1.5px solid var(--gilt); }
  .print-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: contain; }
  .print-head div { display: flex; flex-direction: column; gap: 2px; }
  .print-head strong { font-family: var(--display); font-size: 1.4rem; color: var(--bronze); }
  .print-head span { font-size: 0.9rem; color: var(--muted); }
  .quote-date { text-align: start; margin: 0 0 4px; color: var(--ink); font-weight: 600; }
  .quote-wrap, .saves, .series, .consult, .map { break-inside: avoid; }
  /* the chosen areas on the figure, front and back, kept small */
  #s-summary .map { margin: 4px 0 6px; }
  #s-summary .map svg { height: 230px !important; width: 74px !important; }
  #s-summary .map #map-face { height: 160px !important; width: 122px !important; }
  footer { padding: 10px 0 0 !important; margin: 0; }
}
.quote .sub-deal { display: block; margin-top: 2px; font-size: 0.78rem; font-weight: 600; color: var(--gilt-deep); }
/* A part where the 2+1 single price beats the series: the single cell is the highlight */
/* The cheaper option in each total row: framed */
.quote tr.sub td.best-cell { background: #e9d4ad; color: var(--bronze); font-weight: 700; box-shadow: inset 0 0 0 2px var(--gilt-deep); }
.quote tr.sub td:not(.best-cell):not(.c-full) { color: var(--muted); font-weight: 400; }
.quote tr.sub td.c-series:not(.best-cell) { background: rgba(169, 130, 74, 0.08); }
.quote tfoot td.best-cell { box-shadow: inset 0 0 0 2px #f3e3c3; }
.quote thead .c-single .best { margin-bottom: 4px; }
.series li.deal-best { color: var(--bronze); font-weight: 600; }
/* The whole series' saving, under a body part's series card */
.sec-series .sec-save { flex-basis: 100%; font-size: 0.85rem; font-weight: 600; color: var(--deal); }

/* ---------- Massage quiz (quiz.js) ---------- */
/* Which step of four: small gilt beads, the current one a ring */
.q-progress { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0 0 14px; color: var(--muted); font-size: 0.82rem; }
.q-dots { display: flex; gap: 8px; }
.q-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--hair); }
.q-dots i.done { background: var(--gilt); }
.q-dots i.now { background: var(--porcelain); box-shadow: 0 0 0 1.5px var(--gilt-deep); }
#s-where h2, #s-touch h2 { margin-bottom: 20px; text-wrap: balance; }

/* Goals: a spa-menu list, each line with a small medallion icon */
.q-options { margin: 0 0 22px; }
.q-goal {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 72px;
  padding: 10px 6px; background: none; border: 0; border-bottom: 1px solid var(--hair);
  cursor: pointer; text-align: start; transition: background-color 0.25s ease;
}
.q-goal:first-child { border-top: 1px solid var(--hair); }
.q-medal {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #fffefb 0%, var(--porcelain) 55%, #f2ebe1 100%);
  box-shadow: 0 0 0 1px var(--hair), 0 0 0 4px rgba(250, 247, 242, 0.6), 0 0 0 5px var(--hair-soft);
  transition: box-shadow 0.25s ease;
}
.q-medal svg { width: 26px; height: 26px; fill: none; stroke: var(--gilt-deep); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.q-label { flex: 1; font-size: 1.08rem; color: var(--ink); line-height: 1.35; }
.q-mark {
  flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--gilt);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.q-goal:hover .q-label { color: var(--bronze); }
.q-goal[aria-checked="true"] { background: linear-gradient(90deg, transparent, rgba(214, 172, 102, 0.16), transparent); }
.q-goal[aria-checked="true"] .q-label { color: var(--bronze); font-weight: 600; }
.q-goal[aria-checked="true"] .q-medal, .q-touch[aria-checked="true"] .q-medal {
  box-shadow: 0 0 0 1.5px var(--gilt-deep), 0 0 0 4px rgba(250, 247, 242, 0.85), 0 0 0 5.5px var(--gilt), 0 0 20px 3px rgba(214, 172, 102, 0.35);
}
.q-goal[aria-checked="true"] .q-mark, .q-place[aria-pressed="true"] .q-mark { background: var(--gilt-deep); box-shadow: inset 0 0 0 3.5px var(--linen); }

/* Touch: three medallions, pressure drawn as rings */
#q-touches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.q-touch { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 2px 10px; background: none; border: 0; cursor: pointer; }
.q-touch .q-medal { width: 104px; height: 104px; }
.q-touch .q-medal svg { width: 74px; height: 74px; stroke-width: 1; }
.q-touch .core { fill: var(--gilt); stroke: none; }
.q-touch .ring { stroke: var(--hair); stroke-dasharray: 0.1 2.6; stroke-width: 1.2; }
.q-touch .ring.on { stroke: var(--gilt-deep); stroke-dasharray: none; stroke-width: 1.3; }
.q-touch .q-label { flex: none; font-size: 1.3rem; color: var(--bronze); text-align: center; }
.q-touch .q-sub { font-size: 0.85rem; color: var(--muted); text-align: center; line-height: 1.35; }
.q-touch[aria-checked="true"] .q-label { color: var(--gilt-deep); font-weight: 600; }
.q-touch[aria-checked="true"] .q-medal { background: radial-gradient(circle, #fbf1df 0%, #f6ead4 100%); }

/* Where: the figure from behind, with the list as the written alternative */
.q-where { display: grid; gap: 8px; margin-bottom: 18px; }
#q-fig { display: block; width: 100%; height: min(58vh, 520px); min-height: 330px; }
.q-places { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.q-place {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 18px 8px 16px;
  border: 1px solid var(--hair); border-radius: 999px; background: var(--porcelain); cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.q-place .q-mark { width: 16px; height: 16px; }
.q-place:hover { border-color: var(--gilt); }
.q-place[aria-pressed="true"] { border-color: var(--gilt-deep); background: #f6ead4; color: var(--bronze); font-weight: 600; }
@media (min-width: 860px) {
  body[data-step="where"] main { max-width: 980px; }
  .q-where { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: 40px; }
  .q-places { flex-direction: column; align-items: stretch; }
  #s-where .btn { max-width: 440px; margin-inline: auto; }
}

/* A flat health list (no groups) sits on one porcelain card */
.health-list > ul { background: var(--porcelain); border: 1px solid var(--hair); border-radius: var(--radius); padding: 6px 20px; }
.health-list > ul li:first-child { border-top: 0; }

/* Result */
.q-recap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; margin: 10px 0 20px; color: var(--muted); font-size: 0.9rem; }
.q-chip { padding: 2px 12px; border: 1px solid var(--hair); border-radius: 999px; background: var(--porcelain); color: var(--bronze); }
.q-recs { display: grid; gap: 12px; }
.q-rec {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%;
  padding: 18px 20px 16px; text-align: start; cursor: pointer;
  border: 1px solid var(--hair); border-radius: var(--radius); background: var(--porcelain);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.q-rec.main { padding-block: 24px 20px; }
.q-rec[aria-checked="true"] {
  border-color: var(--gilt);
  background: radial-gradient(120% 90% at 100% 0%, #fffaf1 0%, #f6ecdc 55%, #efe0c6 100%);
  box-shadow: 0 14px 34px -22px rgba(110, 83, 48, 0.6), inset 0 0 0 4px rgba(255, 250, 241, 0.7);
}
.q-rec-tag { padding: 2px 12px; border-radius: 999px; border: 1px solid var(--gilt); color: var(--bronze); font-size: 0.8rem; font-weight: 600; }
.q-rec.main .q-rec-tag { background: var(--gilt-deep); border-color: var(--gilt-deep); color: #fffaf1; }
.q-rec-name { font-family: var(--display); font-size: 1.3rem; color: var(--bronze); line-height: 1.25; }
.q-rec.main .q-rec-name { font-size: 1.65rem; font-weight: 500; }
.q-rec-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.q-rec-prices { display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: 0.92rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.q-rec-prices b { color: var(--bronze); white-space: nowrap; }
.q-rec-pick { position: absolute; top: 16px; inset-inline-end: 16px; font-size: 0.8rem; color: var(--muted); }
.q-rec[aria-checked="true"] .q-rec-pick { color: var(--gilt-deep); font-weight: 600; }
.q-rec[aria-checked="true"] .q-rec-pick::before { content: "\2713  "; }

.q-book { margin: 24px 0 8px; }
.q-book .field-label { margin-bottom: 8px; }
.q-durs { display: flex; width: max-content; margin: 0 auto 16px; padding: 4px; border: 1px solid var(--gilt); border-radius: 999px; background: var(--porcelain); }
.q-durs button { min-height: 44px; padding: 6px 22px; border: 0; border-radius: 999px; background: none; cursor: pointer; color: var(--bronze); }
.q-durs button[aria-checked="true"] { background: var(--gilt-deep); color: #fff; font-weight: 600; }
.q-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin: 0 0 16px; padding: 12px 4px; border-block: 1px solid var(--gilt); }
.q-total span { color: var(--bronze); }
.q-total strong {
  font-size: 2.1rem; line-height: 1.1; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums;
  color: var(--deal);
  background-image:
    linear-gradient(100deg, transparent 42%, rgba(255, 244, 200, 0.95) 50%, transparent 58%),
    linear-gradient(180deg, #a87528 0%, #6e470f 48%, #4f3009 62%, #8a5d1c 100%);
  background-size: 300% 100%, 100% 100%; background-position: 100% 0, 0 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 250, 241, 0.9)) drop-shadow(0 0 6px rgba(214, 172, 102, 0.45));
}
@media (prefers-reduced-motion: no-preference) { .q-book.shine .q-total strong { animation: glitter 1.5s ease-in-out 0.2s 3 both; } }
html.a11y-contrast .q-total strong { -webkit-text-fill-color: #3e2d17; background: none; filter: none; }
html.a11y-contrast .q-rec[aria-checked="true"] { background: #fff; }

.q-pricelist { margin-top: 26px; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--porcelain); }
.q-pricelist summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 10px 20px;
  cursor: pointer; list-style: none; font-family: var(--display); font-size: 1.15rem; color: var(--bronze); border-radius: var(--radius);
}
.q-pricelist summary::-webkit-details-marker { display: none; }
.q-pricelist summary:focus-visible { outline: 2px solid var(--gilt-deep); outline-offset: 2px; }
.q-pricelist h4 { margin: 10px 20px 2px; font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--gilt-deep); }
.q-pricelist ul { list-style: none; margin: 0 0 8px; padding: 0 20px; }
.q-pricelist li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; padding: 8px 0; border-bottom: 1px solid var(--hair-soft); font-size: 0.92rem; }
.q-pricelist li:last-child { border-bottom: 0; }
.q-pl-prices { display: flex; gap: 14px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 480px) {
  .q-touch .q-medal { width: 88px; height: 88px; }
  .q-touch .q-medal svg { width: 62px; height: 62px; }
  #q-touches { gap: 6px; }
  .q-rec { padding-inline: 16px; }
  .q-total strong { font-size: 1.8rem; }
}

/* After the first step the small logo sits in the right corner (Hebrew), so the language switch moves to the left
   (.lang is direction:ltr, so its inline-end is always the right) */
[dir="rtl"] body:not([data-step="intro"]) .lang { right: auto; left: 12px; }

/* Clothes on the figures: soft linen, edged with the gilt line */
.clothes { fill: #eadcc4; stroke: var(--gilt); stroke-width: 1.1px; vector-effect: non-scaling-stroke; stroke-linejoin: round; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .draw-in .clothes { animation: appear 0.9s ease 1.4s both; } }

/* Massage quiz opening icons: a white spa towel and gold gel eye patches (quiz.js) */
.spa-towel { fill: #fffdf9; stroke: var(--gilt); stroke-width: 1.2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.spa-fold { fill: none; stroke: var(--gilt); stroke-width: 0.9px; vector-effect: non-scaling-stroke; stroke-linecap: round; opacity: 0.7; }
.spa-patch { fill: #f3dcae; stroke: var(--gilt); stroke-width: 0.8px; vector-effect: non-scaling-stroke; opacity: 0.95; }
@media (prefers-reduced-motion: no-preference) { .draw-in .spa { animation: appear 0.9s ease 1.4s both; } }
.spa-earring { fill: none; stroke: var(--gilt-deep); stroke-width: 1px; vector-effect: non-scaling-stroke; stroke-linecap: round; }
/* The wink (quiz.js adds .winking for 2 seconds), in order: both eyes open gradually like eyelids,
   one eye winks (closes and opens, with laugh lines and a sparkle, the head tilting a little), then both close */
.eye-wink, .wink-star, .eye-open { opacity: 0; }
.eye-open { transform-box: fill-box; transform-origin: center; }
.eye-white { fill: #fff; stroke: var(--gilt-deep); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.eye-iris { fill: #a87a3f; }
.eye-pupil { fill: var(--ink); }
.eye-glint { fill: #fff; }
.wink-star { fill: var(--gilt); }
.wink-star { transform-box: fill-box; transform-origin: center; }
.gender-card svg.winking { animation: wink-tilt 2s ease-in-out; transform-origin: 50% 70%; }
.winking .eye-l, .winking .eye-r { animation: wink-hide 2s linear; }
.winking .eye-open-l { animation: wink-open 2s ease-in-out; }
.winking .eye-open-r { animation: wink-open-wink 2s ease-in-out; }
.winking .eye-wink, .winking .wink-star { animation: wink-lines 2s ease; }
@keyframes wink-tilt { 0%, 34%, 72%, 100% { transform: rotate(0); } 46%, 60% { transform: rotate(-7deg); } }
@keyframes wink-hide { 0%, 11%, 96%, 100% { opacity: 1; } 12%, 95% { opacity: 0; } }
@keyframes wink-open { 0%, 11% { opacity: 0; transform: scaleY(0.08); } 12% { opacity: 1; transform: scaleY(0.08); } 26%, 80% { opacity: 1; transform: scaleY(1); } 94% { opacity: 1; transform: scaleY(0.08); } 96%, 100% { opacity: 0; transform: scaleY(0.08); } }
@keyframes wink-open-wink { 0%, 11% { opacity: 0; transform: scaleY(0.08); } 12% { opacity: 1; transform: scaleY(0.08); } 26%, 40% { opacity: 1; transform: scaleY(1); } 48%, 58% { opacity: 1; transform: scaleY(0.08); } 66%, 80% { opacity: 1; transform: scaleY(1); } 94% { opacity: 1; transform: scaleY(0.08); } 96%, 100% { opacity: 0; transform: scaleY(0.08); } }
@keyframes wink-lines { 0%, 42%, 66%, 100% { opacity: 0; } 48%, 58% { opacity: 1; } }
#s-goal h2 { margin-bottom: 4px; text-wrap: balance; }
#q-goal-sub { margin: 0 0 14px; }
/* goals can be ticked (up to 2): a square-ish tick box instead of a radio dot */
.q-goal .q-mark { border-radius: 7px; }
.q-goal[aria-checked="true"] .q-mark { box-shadow: none; background: var(--gilt-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
/* Full price list: a table with a heading per length (45 / 60 minutes), prices in their own columns */
.q-pl { width: calc(100% - 32px); margin: 0 16px 12px; border-collapse: collapse; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.q-pl thead th { padding: 6px 4px 8px; border-bottom: 1.5px solid var(--gilt); color: var(--bronze); font-size: 0.82rem; font-weight: 600; text-align: center; white-space: nowrap; }
.q-pl thead th:first-child { text-align: start; }
.q-pl .q-pl-group th { padding: 14px 4px 4px; text-align: start; font-family: var(--display); font-size: 0.95rem; font-weight: 600; color: var(--gilt-deep); }
.q-pl tbody th[scope="row"] { padding: 8px 4px; text-align: start; font-weight: 400; line-height: 1.35; }
.q-pl td { padding: 8px 4px; text-align: center; white-space: nowrap; color: var(--bronze); font-weight: 600; width: 22%; }
.q-pl tbody tr:not(.q-pl-group) > * { border-bottom: 1px solid var(--hair-soft); }
.q-pl tbody tr:not(.q-pl-group) td + td { border-inline-start: 1px solid var(--hair-soft); }
@media (max-width: 480px) { .q-pl { width: calc(100% - 20px); margin-inline: 10px; font-size: 0.86rem; } .q-pl td { width: 24%; } }
/* long Russian words (Глубокотканный) break instead of widening the page */
.q-pl tbody th[scope="row"] { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) { :lang(ru) .q-pl thead th { white-space: normal; } :lang(ru) .q-pl { font-size: 0.8rem; } }
/* Price list under the suggestions: names open a few lines about the massage, with a button to choose it */
.q-recs + .q-pricelist { margin: 16px 0 0; }
.q-pricelist[open] { border-color: var(--gilt); }
.q-pl-hint { margin: 0 20px 6px; font-size: 0.85rem; color: var(--muted); }
.q-pl-name {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 2px 0; border: 0; background: none; cursor: pointer;
  text-align: start; color: var(--ink); font: inherit; line-height: 1.35;
  text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 4px;
}
.q-pl-name:hover { color: var(--bronze); text-decoration-color: var(--gilt); }
.q-pl-name .chev { width: 8px; height: 8px; margin-inline-start: auto; }
.q-pl-name[aria-expanded="true"] { color: var(--bronze); font-weight: 600; text-decoration: none; }
.q-pl-name[aria-expanded="true"] .chev { transform: translateY(2px) rotate(-135deg); }
.q-pl tbody tr.q-pl-row:has(+ .q-pl-about:not([hidden])) > * { border-bottom: 0; }
.q-pl-about td { padding: 2px 4px 14px; text-align: start; white-space: normal; width: auto; color: var(--ink); font-weight: 400; border-bottom: 1px solid var(--hair-soft); border-inline-start: 0 !important; }
.q-pl-about p { margin: 0 0 10px; padding: 10px 14px; border-inline-start: 2px solid var(--gilt); background: rgba(214, 172, 102, 0.1); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; line-height: 1.6; font-size: 0.92rem; }
[dir="rtl"] .q-pl-about p { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.q-pl-pick { width: auto; min-height: 44px; padding: 8px 20px; font-size: 0.9rem; margin: 0; }
.q-pl-chosen { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--gilt-deep); color: #fffaf1; font-size: 0.88rem; font-weight: 600; }
.q-pl-row.is-chosen th, .q-pl-row.is-chosen td { background: rgba(214, 172, 102, 0.14); }
.q-rec:nth-child(3) .q-rec-tag { border-style: dashed; }
/* "Choose this massage" in the price list: metallic gold like the price, a bright glint sweeps across it
   3 times when the few lines open (under 5 seconds, accessibility) */
.btn.q-pl-pick {
  position: relative; overflow: hidden; color: #fffaf1; font-weight: 700; border: 1px solid #6e470f;
  background: linear-gradient(180deg, #c49446 0%, #8a5d1c 52%, #6e470f 70%, #9a6a24 100%);
  box-shadow: 0 0 0 1px rgba(255, 244, 200, 0.35) inset, 0 6px 16px -8px rgba(110, 71, 15, 0.7), 0 0 10px rgba(214, 172, 102, 0.45);
  text-shadow: 0 1px 0 rgba(79, 48, 9, 0.6);
}
.btn.q-pl-pick::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 244, 200, 0.85) 50%, transparent 62%);
  background-size: 300% 100%; background-position: 100% 0; background-repeat: no-repeat;
}
.btn.q-pl-pick:hover { background: linear-gradient(180deg, #d1a557 0%, #956726 52%, #774e14 70%, #a7742b 100%); border-color: #6e470f; }
@media (prefers-reduced-motion: no-preference) { .btn.q-pl-pick::after { animation: glitter 1.5s ease-in-out 0.2s 3 both; } }
html.a11y-contrast .btn.q-pl-pick { background: var(--gilt-deep); text-shadow: none; }
html.a11y-contrast .btn.q-pl-pick::after { display: none; }
/* chosen: the check mark shows, a light ring marks it as pressed */
.btn.q-pl-pick[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff8e6, 0 0 0 3.5px var(--gilt-deep), 0 0 14px rgba(214, 172, 102, 0.6); }
