/* === RAQUEL TRESSES :: shared styles === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Manrope:wght@300;400;500;600;700;800&family=Sacramento&display=swap');

:root {
  --turquoise: #41BB96;
  --turquoise-700: #2f8e6f;
  --turquoise-50: #ECF8F4;
  --mauve: #B17056;
  --mauve-50: #F7EFEB;
  --ink: #231F20;
  --charcoal: #606161;
  --moss: #B5B8B7;
  --taupe: #E1CBA4;
  --lavender: #C7B8CD;
  --powder: #B0CEE5;
  --cream: #F8F4EE;
  --paper: #FBF8F3;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- type system ---------- */
.font-display { font-family: 'Cormorant Garamond', ui-serif, Georgia, serif; font-weight: 500; letter-spacing: -0.012em; }
.font-script  { font-family: 'Sacramento', cursive; }
.tracking-mag { letter-spacing: 0.32em; }
.tracking-folio { letter-spacing: 0.5em; }

/* hero headline scales generously */
.hed {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.hed em { font-style: italic; color: var(--turquoise); font-weight: 500; }

/* section kickers */
.kicker {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mauve);
  font-weight: 500;
}

/* ---------- ornaments ---------- */
.rule-leaf {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'><g fill='none' stroke='%2341BB96' stroke-width='1.2'><path d='M0 6 H40'/><path d='M80 6 H120'/><path d='M50 6 q5 -5 10 0 q5 5 10 0'/></g></svg>");
  background-repeat: no-repeat;
  background-position: center;
  height: 12px;
}
.leaf-divider {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24'><g fill='none' stroke='%2341BB96' stroke-width='1.4'><path d='M10 12 q10 -10 20 0 q10 10 20 0 q10 -10 20 0 q10 10 20 0 q10 -10 20 0 q10 10 20 0 q10 -10 20 0 q10 10 20 0'/></g></svg>");
  background-repeat: repeat-x;
  background-position: center;
  height: 24px;
  opacity: 0.55;
}
.marble-bg {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400'><g fill='none' stroke='%2341BB96' stroke-width='0.6' opacity='0.18'><path d='M-20 60 C 100 30, 200 110, 320 70 S 560 110, 640 60'/><path d='M-20 110 C 120 80, 220 160, 340 120 S 580 160, 660 110'/><path d='M-20 160 C 140 130, 240 210, 360 170 S 600 210, 680 160'/><path d='M-20 220 C 80 190, 200 270, 320 230 S 540 270, 640 220'/><path d='M-20 280 C 100 250, 220 330, 340 290 S 580 330, 660 280'/><path d='M-20 340 C 120 310, 240 390, 360 350 S 600 390, 680 340'/></g></svg>");
}
.ornament::before { content: "✻"; color: var(--turquoise); opacity: 0.7; margin-right: 0.5em; }
.dot-leader { background-image: radial-gradient(circle, var(--charcoal) 1px, transparent 1px); background-size: 6px 1px; background-repeat: repeat-x; background-position: center; }

/* drop cap */
.dropcap > p:first-of-type::first-letter,
.dropcap::first-letter {
  font-family: 'Cormorant Garamond', serif;
  float: left;
  font-size: 5.5rem;
  line-height: 0.85;
  padding: 0.35rem 0.75rem 0 0;
  color: var(--turquoise);
  font-weight: 600;
}

/* article prose */
.prose-mag p { font-size: 17px; line-height: 1.85; color: #2c2a2b; margin-bottom: 1.4rem; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.prose-mag p:first-of-type { text-align: left; }
.prose-mag h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; line-height: 1.1; margin: 3rem 0 1rem; color: var(--ink); font-weight: 500; }
.prose-mag h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; line-height: 1.2; margin: 2rem 0 .6rem; color: var(--mauve); font-weight: 600; }
.prose-mag blockquote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.9rem; line-height: 1.25; color: var(--turquoise-700); border-left: 2px solid var(--turquoise); padding: .6rem 0 .6rem 1.6rem; margin: 2.5rem 0; }
.prose-mag a { color: var(--turquoise-700); border-bottom: 1px solid currentColor; }
.prose-mag ul { list-style: none; padding: 0; margin: 1rem 0 1.6rem; }
.prose-mag ul li { padding-left: 1.4rem; position: relative; margin-bottom: .5rem; line-height: 1.7; color: #2c2a2b; }
.prose-mag ul li::before { content: "✻"; color: var(--turquoise); position: absolute; left: 0; top: 0; }

/* figure caption */
figcaption { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 13px; color: var(--moss); letter-spacing: 0.04em; margin-top: .6rem; }

/* page folio (italic small grey) */
.folio {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--moss);
  letter-spacing: 0.1em;
}

/* nav */
.nav-link { position: relative; padding-bottom: 4px; transition: color .2s ease; }
.nav-link:hover { color: var(--turquoise); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--turquoise); }

/* button reset */
.btn-mag {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 14px 28px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  border: 1px solid var(--ink); background: var(--ink); color: var(--cream);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-mag:hover { background: var(--turquoise); border-color: var(--turquoise); }
.btn-mag.btn-ghost { background: transparent; color: var(--ink); }
.btn-mag.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-mag.btn-leaf { background: var(--turquoise); border-color: var(--turquoise); color: #fff; }
.btn-mag.btn-leaf:hover { background: var(--turquoise-700); border-color: var(--turquoise-700); }

/* link arrow */
.link-mag { display: inline-flex; align-items: center; gap: .55rem; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid var(--ink); transition: color .2s ease, border-color .2s ease; }
.link-mag:hover { color: var(--turquoise); border-color: var(--turquoise); }

/* product card */
.product-card { display: block; }
.product-card .quick { opacity: 0; transform: translateY(8px); transition: all .35s ease; }
.product-card:hover .quick { opacity: 1; transform: translateY(0); }
.product-card .figure { overflow: hidden; }
.product-card .figure svg { transition: transform .8s ease; will-change: transform; }
.product-card:hover .figure svg { transform: scale(1.04); }

/* marquee */
.marquee-wrap { overflow: hidden; }
.marquee { display: flex; gap: 3rem; animation: marquee 42s linear infinite; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ============================================================
   MOBILE TAB BAR — fixed bottom nav, native-app feel
   ============================================================ */
#rt-tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.96);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-top: 1px solid rgba(35, 31, 32, 0.08);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px -16px rgba(35, 31, 32, 0.18);
}
@media (min-width: 1024px) {
  #rt-tabbar { display: none; }
}
/* secondary row above the main tabs — About / Contact */
#rt-tabbar .tab-secondary {
  display: flex; justify-content: center; align-items: center;
  gap: 16px;
  padding: 9px 16px 8px;
  border-bottom: 1px solid rgba(35, 31, 32, 0.06);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--charcoal);
}
#rt-tabbar .tab-sec-link {
  position: relative;
  padding: 2px 4px;
  letter-spacing: .04em;
  transition: color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
#rt-tabbar .tab-sec-link:hover,
#rt-tabbar .tab-sec-link.is-on { color: var(--ink); }
#rt-tabbar .tab-sec-link.is-on::after {
  content: '';
  position: absolute; left: 4px; right: 4px; bottom: -2px;
  height: 1px;
  background: var(--turquoise);
}
#rt-tabbar .tab-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--turquoise);
  opacity: .55;
}

#rt-tabbar .tab-row {
  display: flex; align-items: stretch;
  max-width: 540px; margin: 0 auto;
}
#rt-tabbar .tab {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  padding: 9px 4px 8px;
  min-height: 60px;
  color: var(--charcoal);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  position: relative;
  transition: color .2s ease, transform .2s ease;
  -webkit-tap-highlight-color: transparent;
}
#rt-tabbar .tab:active { transform: scale(.96); }
#rt-tabbar .tab .tab-icon {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  position: relative;
}
#rt-tabbar .tab.is-active { color: var(--ink); }
#rt-tabbar .tab.is-active::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 2px;
  background: var(--turquoise);
}
#rt-tabbar .tab.is-primary {
  color: var(--turquoise);
}
#rt-tabbar .tab.is-primary .tab-icon {
  background: var(--turquoise);
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 50%;
  margin-top: -14px;
  box-shadow: 0 6px 16px -4px rgba(65, 187, 150, .50),
              0 0 0 4px var(--paper);
  transition: background .2s ease;
}
#rt-tabbar .tab.is-primary.is-active .tab-icon { background: var(--turquoise-700); }
#rt-tabbar .tab.is-primary.is-active::before { display: none; }
#rt-tabbar .tab.is-primary .tab-label { margin-top: 2px; }

/* bag-count inside the tab icon */
#rt-tabbar .tab .tab-icon .bag-count {
  position: absolute; top: -4px; right: -8px;
}

/* body breathing room so content never hides under the tab bar */
body.has-tabbar { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
  body.has-tabbar { padding-bottom: 0; }
}

/* ============================================================
   CART DRAWER
   ============================================================ */
#rt-cart-drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
#rt-cart-drawer.is-hidden { display: none; }
.cart-backdrop {
  position: absolute; inset: 0;
  background: rgba(35,31,32,0.55);
  opacity: 0; transition: opacity .3s ease;
  pointer-events: auto;
}
#rt-cart-drawer.is-open .cart-backdrop { opacity: 1; }
.cart-panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 100%; max-width: 460px;
  background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  pointer-events: auto;
  box-shadow: -12px 0 40px -10px rgba(35,31,32,.25);
}
#rt-cart-drawer.is-open .cart-panel { transform: none; }
.cart-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(35,31,32,.08);
}
.cart-x {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(35,31,32,.15);
  color: var(--ink); transition: all .2s ease;
}
.cart-x:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.cart-rail {
  display: flex; gap: 1.5rem; padding: .85rem 1.25rem;
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid rgba(35,31,32,.06);
}
.cart-rail .cart-step { opacity: .35; transition: opacity .25s, color .25s; }
.cart-rail .cart-step.is-on { opacity: 1; color: var(--ink); }
.cart-scroll {
  flex: 1; overflow-y: auto; padding: 1.25rem;
  -webkit-overflow-scrolling: touch;
}

/* cart lines */
.cart-lines { display: flex; flex-direction: column; gap: 1rem; }
.cart-line {
  display: grid; grid-template-columns: 76px 1fr; gap: 1rem;
  padding-bottom: 1rem; border-bottom: 1px dashed rgba(35,31,32,.10);
}
.cart-line:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-line-fig { aspect-ratio: 76 / 96; overflow: hidden; background: var(--cream); }
.cart-line-fig svg,
.cart-line-fig img { width: 100%; height: 100%; display: block; object-fit: cover; }
.cart-line-body { min-width: 0; }
.cart-line-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: .65rem;
}
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(35,31,32,.15);
}
.qty button {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  font-size: 15px; line-height: 1; color: var(--ink);
}
.qty button:hover { background: var(--ink); color: var(--cream); }
.qty span {
  min-width: 28px; text-align: center; font-variant-numeric: tabular-nums;
  font-size: 13px; padding: 0 4px;
}

/* empty state */
.cart-empty { text-align: center; padding: 2rem 0; }

/* checkout inputs */
.cart-input {
  margin-top: .5rem; width: 100%;
  background: var(--paper);
  border: 1px solid rgba(35,31,32,.15);
  padding: .85rem 1rem;
  outline: none;
  transition: border-color .2s ease;
}
.cart-input:focus { border-color: var(--turquoise); }

/* footer summary */
.cart-foot {
  border-top: 1px solid rgba(35,31,32,.08);
  background: var(--ink); color: var(--cream);
  padding: 1rem 1.25rem 1.1rem;
}
.cart-foot.hidden { display: none; }
.cart-sum {}
.cart-freebar {
  height: 14px;
}
.cart-actions {
  display: flex; gap: .65rem; margin-top: .85rem;
}
.cart-actions .btn-mag { padding: 12px 18px; flex-shrink: 0; }
.cart-actions .btn-mag.btn-ghost {
  background: transparent; color: var(--cream); border-color: rgba(248,244,238,.30);
}
.cart-actions .btn-mag.btn-ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* bag button (in header) */
.bag-btn {
  width: 44px; height: 44px;
  background: var(--paper); color: var(--ink);
}
.bag-btn:hover { background: var(--ink); color: var(--cream); }
.bag-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px;
  background: var(--turquoise); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0;
  display: grid; place-items: center;
  font-variant-numeric: tabular-nums;
  transition: transform .2s ease, opacity .2s ease;
}
.bag-count.is-empty { opacity: 0; transform: scale(.6); }

/* cart toast */
#rt-cart-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px);
  background: var(--mauve); color: #fff;
  padding: .75rem 1.1rem; font-size: 13px;
  z-index: 100; opacity: 0; transition: all .3s ease;
  max-width: 90vw; text-align: center; pointer-events: none;
}
#rt-cart-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* prevent iOS auto-zoom on cart inputs */
@media (max-width: 768px) {
  .cart-input, .cart-panel input, .cart-panel select, .cart-panel textarea {
    font-size: 16px !important;
  }
}

/* booking specifics */
.timeslot { font-variant-numeric: tabular-nums; min-height: 44px; }
.timeslot.selected { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.timeslot:not(:disabled):hover { transform: translateY(-1px); }

/* Floating WhatsApp action — single FAB that expands into Salon + Products pills.
   Sits above the mobile bottom tab bar by adjusting the bottom offset on small screens. */
#rt-wa-fab {
  position: fixed; right: 18px; bottom: 22px; z-index: 60;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
@media (max-width: 1023px) {
  body.has-tabbar #rt-wa-fab { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}
.rt-wa-btn {
  width: 54px; height: 54px; border-radius: 999px;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .55), 0 6px 12px rgba(0,0,0,.15);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.rt-wa-btn:hover { background: #1FB955; transform: translateY(-1px); }
#rt-wa-fab.is-open .rt-wa-btn { background: var(--ink, #231F20); }
.rt-wa-menu {
  display: flex; flex-direction: column; gap: 8px;
  animation: rt-wa-pop .18s ease-out;
}
@keyframes rt-wa-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.rt-wa-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink, #231F20);
  border: 1px solid rgba(35,31,32,.08);
  padding: 8px 14px; box-shadow: 0 8px 18px -6px rgba(0,0,0,.18);
  font-size: 13px; line-height: 1.2;
  transition: transform .15s ease, border-color .15s ease;
}
.rt-wa-pill:hover { transform: translateX(-2px); border-color: rgba(35,31,32,.25); }
.rt-wa-lbl { display: flex; flex-direction: column; gap: 1px; align-items: flex-start; }
.rt-wa-lbl .kicker { font-size: 9px; letter-spacing: .14em; }

/* calendar cells: square-ish, tap-friendly */
.day {
  font-variant-numeric: tabular-nums;
  height: 46px;
  display: grid; place-items: center;
  font-size: 14px;
  background: transparent;
}
.day-spacer { height: 46px; }
.day.selected { background: var(--turquoise); color: #fff; border-color: var(--turquoise); }
.day.selected .day-num { font-weight: 600; }
.day.today { outline: 1px dashed var(--mauve); outline-offset: -2px; }
.day.today:not(.selected)::after {
  content: ""; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--mauve);
}
.day:disabled { color: #cbd5cd; cursor: not-allowed; background: transparent; }
.day:disabled:hover { border-color: rgba(35,31,32,.10); background: transparent; }
.day.is-closed { background: repeating-linear-gradient(45deg, rgba(177,112,86,.06) 0 6px, transparent 6px 12px); }
.day .day-tag {
  position: absolute; bottom: 2px; left: 0; right: 0;
  font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mauve, #B17056); text-align: center; line-height: 1;
}
@media (min-width: 640px) {
  .day, .day-spacer { height: 52px; }
}

/* field hint (reserved for inline errors) */
.field-hint { display: block; font-size: 11px; color: #c44; margin-top: 6px; min-height: 0; }
.field-hint:empty { display: none; }

/* success modal animations */
@keyframes successFade {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes successPop {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes successTick {
  0%   { transform: scale(.4); opacity: 0; }
  60%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes successRing {
  0%   { transform: scale(.7); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.success-fade { animation: successFade .35s ease both; }
.success-pop  { animation: successPop .55s cubic-bezier(.16,1,.3,1) both; }
.success-tick { animation: successTick .6s cubic-bezier(.16,1,.3,1) .15s both; }
.success-ring { animation: successRing 1.4s ease-out .3s both; pointer-events: none; }

/* misc */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }

/* gentle hairline divider */
.hairline { height: 1px; background: var(--ink); opacity: .12; }

/* small caps via tracking helper */
.smallcaps { font-variant: all-small-caps; letter-spacing: 0.18em; }

/* reveal on scroll, lightweight */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* selection */
::selection { background: var(--turquoise); color: #fff; }

/* page-specific overrides for big numerals */
.numeral {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  color: var(--turquoise);
}

/* iOS safe-area helpers */
.pb-safe { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.mb-safe-bar { margin-bottom: calc(80px + env(safe-area-inset-bottom)); }

/* let the rendered chrome stick to the whole page, not its tiny wrapper */
#rt-header, #rt-footer { display: contents; }

/* sticky elevation — soft shadow appears once content scrolls beneath */
.sticky-elev { transition: box-shadow .25s ease, background-color .25s ease; }
.sticky-elev.is-scrolled { box-shadow: 0 8px 22px -10px rgba(35, 31, 32, 0.18); }

/* minimal step ticks (replaces sticky step bar) */
.step-tick {
  display: inline-block;
  width: 24px; height: 2px;
  background: rgba(35,31,32,.15);
  transition: background .25s ease;
}
.step-tick.is-on { background: var(--turquoise); }

/* calendar nav buttons */
.cal-nav {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(35,31,32,.15);
  font-size: 18px; line-height: 1; color: var(--ink);
  transition: all .2s ease;
}
.cal-nav:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* service chip (compact selector) */
.svc-chip { background: var(--paper); }
.svc-chip:hover { background: #fff; }
.svc-chip.is-selected {
  border-color: var(--turquoise);
  background: linear-gradient(180deg, rgba(65,187,150,0.06) 0%, rgba(65,187,150,0.02) 100%);
  box-shadow: 0 0 0 1px var(--turquoise) inset;
}
.svc-chip.is-selected .svc-check { opacity: 1; }

/* bottom sheet (mobile time picker) */
.sheet { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.sheet.is-hidden { display: none; }
.sheet-backdrop {
  position: absolute; inset: 0;
  background: rgba(35,31,32,.60);
  opacity: 0; transition: opacity .3s ease;
  pointer-events: auto;
}
.sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--paper);
  border-radius: 18px 18px 0 0;
  padding: .5rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
  max-height: 82vh;
  overflow-y: auto;
  pointer-events: auto;
  box-shadow: 0 -16px 40px -12px rgba(35,31,32,.30);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  -webkit-overflow-scrolling: touch;
}
.sheet.is-open .sheet-panel { transform: none; }
.sheet-handle {
  width: 38px; height: 4px; border-radius: 2px;
  background: rgba(35,31,32,.22);
  margin: .5rem auto 1rem;
  cursor: pointer;
}

/* generic toast (booking validation) */
#rt-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 12px);
  background: var(--mauve); color: #fff;
  padding: .7rem 1.1rem; font-size: 13px;
  z-index: 70; opacity: 0; transition: all .3s ease;
  max-width: 90vw; text-align: center; pointer-events: none;
}
#rt-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* prevent iOS auto-zoom on input focus by ensuring 16px font on inputs */
@media (max-width: 768px) {
  input, select, textarea { font-size: 16px !important; }
  .timeslot { padding-top: 14px; padding-bottom: 14px; }
}

/* tap-target friendliness */
.tap { min-height: 48px; min-width: 48px; }

/* ============================================================
   PRODUCT QUICK-VIEW MODAL
   ============================================================ */
#rt-product-modal {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
}
#rt-product-modal.is-hidden { display: none; }
.pv-backdrop {
  position: absolute; inset: 0;
  background: rgba(35,31,32,.62);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .32s ease;
}
#rt-product-modal.is-open .pv-backdrop { opacity: 1; }
.pv-panel {
  position: relative;
  width: 100%; max-width: 62rem;
  max-height: calc(100vh - 2.5rem);
  background: var(--paper);
  overflow-y: auto;
  box-shadow: 0 30px 90px -22px rgba(35,31,32,.55);
  opacity: 0; transform: translateY(16px) scale(.97);
  transition: opacity .36s cubic-bezier(.16,1,.3,1), transform .36s cubic-bezier(.16,1,.3,1);
  -webkit-overflow-scrolling: touch;
}
#rt-product-modal.is-open .pv-panel { opacity: 1; transform: none; }
.pv-x {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: rgba(251,248,243,.85); backdrop-filter: blur(4px);
  color: rgba(35,31,32,.55);
  transition: color .2s ease, background .2s ease;
}
.pv-x:hover { color: var(--ink); background: var(--paper); }
.pv-grid { display: grid; grid-template-columns: 1fr; }
.pv-fig {
  position: relative; aspect-ratio: 4 / 5;
  background: var(--cream); overflow: hidden;
}
.pv-fig img, .pv-fig svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--ink); color: var(--cream);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  padding: 5px 9px;
}
.pv-tag:empty { display: none; }
.pv-body {
  padding: 1.9rem 1.6rem 2.1rem;
  display: flex; flex-direction: column;
}
.pv-title { font-size: 30px; line-height: 1.04; margin-top: .45rem; }
.pv-body .rule-leaf { margin-top: .9rem; }
.pv-note {
  color: var(--charcoal); font-size: 14.5px; line-height: 1.82; margin-top: 1rem;
}
.pv-price-row { display: flex; align-items: baseline; gap: .9rem; margin-top: 1.2rem; }
.pv-price {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: 28px; color: var(--ink); letter-spacing: -0.01em;
}
.pv-rating { font-size: 12px; color: var(--mauve); letter-spacing: .04em; }
.pv-qty-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.35rem; padding-top: 1.15rem;
  border-top: 1px solid rgba(35,31,32,.1);
}
.pv-add {
  width: 100%; justify-content: center; margin-top: 1rem;
}
.pv-add.is-added { background: var(--turquoise); border-color: var(--turquoise); }
.pv-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-top: 1.05rem;
}
.pv-free { font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: var(--charcoal); }
.pv-free.is-unlocked { color: var(--turquoise); }
.pv-link {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  border-bottom: 1px solid rgba(35,31,32,.32); padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.pv-link:hover { color: var(--turquoise); border-color: var(--turquoise); }
.pv-guide { margin-top: 1.15rem; }
@media (min-width: 720px) {
  .pv-grid { grid-template-columns: 1.05fr 1fr; }
  .pv-fig { aspect-ratio: auto; height: 100%; min-height: 30rem; }
  .pv-body { padding: 2.7rem 2.5rem; }
  .pv-title { font-size: 40px; }
  .pv-price { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-backdrop, .pv-panel { transition: none; }
}

