/* hairplay · parent website styles. brand: Ping AR + LT, cream paper, crayon doodles, the hair-type lines. */
@font-face { font-family: "Ping AR LT"; src: url("/assets/fonts/ping-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ping AR LT"; src: url("/assets/fonts/ping-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Ping AR LT"; src: url("/assets/fonts/ping-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Ping AR LT"; src: url("/assets/fonts/ping-800.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  --cream: #FFFAF6; --paper: #FFFEFC; --white: #FFFFFF; --edge: #EEE2D9; --edge2: #E2D3C9;
  --ink: #5A4843; --cocoa: #76625C; --muted: #806C66;
  --aqua: #97D6DD; --pink: #F9C5C9; --yellow: #FDC158; --lavender: #BFA5CE; --sage: #7CB38C; --blue: #3D90C9; --orange: #FCAA72; --mint: #DDEBC4;
  --hero: #4A8DCA; --band-sage: #89B18E; --band-aqua: #A7DCE1; --band-pink: #F4A3C1;
  --ok: #4C8A5D; --bad: #BC4A3C; --warn-bg: #FFEEE3;
  --font: "Ping AR LT", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --r: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: 640px; }
.pad { padding-block: 34px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row.nowrap { flex-wrap: nowrap; }
.row.center { justify-content: center; margin-top: 22px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center-col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }

/* header */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(255, 250, 246, .96); backdrop-filter: blur(6px); border-bottom: 1.5px solid var(--edge);
  display: flex; align-items: center; gap: 12px; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); padding-top: calc(8px + env(safe-area-inset-top, 0px)); }
.brand { display: block; line-height: 0; margin-inline-end: auto; border-radius: 10px; }
.brand img { height: 46px; width: auto; display: block; }
.hnav { display: flex; align-items: center; gap: 6px; }
.hlink { color: var(--ink); text-decoration: none; font-weight: 700; padding: 8px 10px; border-radius: 99px; }
.hlink:hover { background: var(--white); }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 99px; background: var(--orange); color: var(--ink); font-size: .75rem; padding: 0 6px; }
.lang { border: 1.5px solid var(--edge2); background: transparent; border-radius: 99px; padding: 6px 12px; font-weight: 700; cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px solid var(--edge2); background: var(--white); color: var(--ink);
  border-radius: 99px; padding: 10px 18px; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center; }
.btn:hover { border-color: var(--cocoa); }
.btn.sun { background: var(--yellow); border-color: var(--yellow); }
.btn.sun:hover { background: #F7B640; border-color: #F7B640; }
.btn.white { background: var(--white); border-color: var(--white); }
.btn.primary { background: var(--cocoa); border-color: var(--cocoa); color: var(--cream); }
.btn.primary:hover { background: var(--ink); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.danger { color: var(--bad); border-color: #F0C9C2; }
.btn.sm { padding: 6px 14px; font-size: .9rem; }
.btn.big { padding: 14px 26px; font-size: 1.05rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn:focus-visible, .choice:focus-visible, .day:focus-visible, .time:focus-visible, .lang:focus-visible, .chip-btn:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 2px; }

/* hero: the blue grid post */
.hero { background-color: var(--hero); color: var(--white); position: relative; overflow: hidden;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px),
                    linear-gradient(rgba(249,197,201,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(191,165,206,.22) 1px, transparent 1px);
  background-size: 34px 34px, 34px 34px, 170px 170px, 170px 170px; }
.hero-in { position: relative; min-height: 460px; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-block: 64px 70px; }
.hero h1 { font-size: clamp(2.3rem, 6.4vw, 4.4rem); max-width: 13ch; letter-spacing: -.01em; position: relative; z-index: 2; }
.hero-ar { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: var(--mint); position: relative; z-index: 2; line-height: 1.1; }
.hero-sub { font-size: 1.2rem; font-weight: 700; max-width: 30ch; position: relative; z-index: 2; }
.hero-cta { margin-top: 10px; position: relative; z-index: 2; }
.dd { position: absolute; pointer-events: none; user-select: none; z-index: 1; height: auto; }
.d-strokes { width: 300px; top: 40px; inset-inline-end: 16%; opacity: .95; }
.d-sun { width: 118px; top: 22px; inset-inline-end: calc(16% - 62px); }
.d-arch { width: 150px; bottom: -34px; inset-inline-end: 34%; }
.d-loop { width: 150px; bottom: -40px; inset-inline-end: 7%; }
.d-star1 { width: 42px; top: 46%; inset-inline-end: 38%; }
.d-star2 { width: 36px; bottom: 22%; inset-inline-end: 24%; }
.d-waves { width: 240px; height: 110px; top: 38%; inset-inline-end: -20px; background-image: url("/assets/img/ln_lavender.webp"), url("/assets/img/ln_lavender.webp"), url("/assets/img/ln_lavender.webp"), url("/assets/img/ln_lavender.webp");
  background-size: 480px 16px; background-repeat: no-repeat; background-position: 0 0, 0 30px, 0 60px, 0 90px; }

/* the menu card */
.menu-band { background: var(--cream); position: relative; }
.title-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.title-row h1, .title-row h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
.alt-title { font-size: 1.4rem; font-weight: 700; color: var(--yellow); }
.cat { font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; margin: 22px 0 10px; }
.menu-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.menu-item { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1.5px solid var(--edge); border-radius: 18px; padding: 14px 16px; }
.mi-text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.mi-text b { font-size: 1.05rem; }
.mi-alt { color: var(--muted); font-size: .92rem; }
.mi-desc { font-size: .9rem; color: var(--muted); }
.mi-meta { font-size: .82rem; color: var(--muted); font-weight: 500; }
.mi-end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.price { font-weight: 800; white-space: nowrap; }
.line-row { height: 34px; margin: 0 auto; max-width: 1120px; background: url("/assets/img/ln_yellow.webp") center / 100% 100% no-repeat; }

/* timings: the sage post with the sun */
.hours-band { background: var(--band-sage); color: var(--white); }
.hours-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.sun-card { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 330px; width: 100%; margin: 0 auto; }
.sun-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sun-text { position: relative; text-align: center; color: var(--white); display: flex; flex-direction: column; align-items: center; }
.sun-text h2 { font-size: 2.2rem; }
.sun-text .alt-title { color: var(--white); font-size: 1.3rem; }
.hours { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-radius: 14px; font-weight: 700; }
.hours li.is-today { background: rgba(255,255,255,.2); }
.hours li span:last-child { font-variant-numeric: tabular-nums; }

/* shop */
.shop-band { background: var(--band-aqua); }
.muted.dark { color: #3F5F62; }
.pgrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); margin-top: 18px; }
.pcard { background: var(--paper); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; border: 1.5px solid var(--edge); }
.pimg { position: relative; aspect-ratio: 1; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.pimg img.ph { width: 42%; height: auto; object-fit: contain; opacity: .85; margin-bottom: 14px; }
.ph-t { position: absolute; bottom: 10px; inset-inline: 6px; text-align: center; font-size: .74rem; color: var(--muted); font-weight: 700; }
.badge { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--white); border-radius: 99px; padding: 3px 10px; font-size: .78rem; font-weight: 700; }
.badge.few { background: var(--yellow); }
.badge.out { background: var(--ink); color: var(--white); }
.pbody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pdesc { font-size: .88rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pfoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.shop-page { min-height: 70vh; background: var(--cream); padding-bottom: 90px; }
.chips.scroll { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 4px; scrollbar-width: none; }
.chip-btn { border: 1.5px solid var(--edge2); background: var(--white); border-radius: 99px; padding: 7px 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.chip-btn.on { background: var(--cocoa); border-color: var(--cocoa); color: var(--cream); }
.sticky-bag { position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: linear-gradient(transparent, rgba(255,250,246,.95) 30%); display: flex; justify-content: center; }
.sticky-bag .btn { width: min(100%, 520px); box-shadow: 0 8px 22px rgba(90,72,67,.18); }

/* visit */
.visit-band { background: var(--band-pink); position: relative; overflow: hidden; }
.visit-in { display: flex; flex-direction: column; gap: 14px; position: relative; }
.visit-in h2 { font-size: clamp(2rem, 5vw, 2.8rem); color: var(--ink); }
.addr { font-weight: 700; color: var(--ink); }
.d-star3 { width: 70px; top: 18px; inset-inline-end: 6%; }

/* footer */
.foot { background: var(--cream); padding-block: 26px calc(30px + env(safe-area-inset-bottom, 0px)); text-align: center; color: var(--muted); font-size: .9rem; }
.foot .line { height: 26px; max-width: 1120px; margin: 0 auto 18px; background: url("/assets/img/ln_aqua.webp") center / 100% 100% no-repeat; }
.foot img { height: 40px; width: auto; display: block; margin: 0 auto 8px; }
.foot a { color: var(--muted); }

/* booking flow */
.flow { background-color: var(--cream); background-image: linear-gradient(rgba(191,168,229,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(191,168,229,.16) 1px, transparent 1px);
  background-size: 26px 26px; min-height: 76vh; padding-bottom: 40px; }
.flow-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.back { color: var(--ink); text-decoration: none; font-weight: 700; padding: 6px 0; }
.stepno { font-size: .85rem; color: var(--muted); font-weight: 700; }
.progress { height: 6px; background: var(--edge); border-radius: 99px; overflow: hidden; margin-bottom: 18px; }
.progress span { display: block; height: 100%; background: var(--aqua); border-radius: 99px; }
.flow-title { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.chip { display: inline-flex; gap: 8px; align-items: baseline; background: var(--white); border: 1.5px solid var(--edge); border-radius: 99px; padding: 5px 12px; font-size: .9rem; font-weight: 700; }
.chip a { font-weight: 500; font-size: .82rem; }
.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.choice { text-align: start; border: 1.5px solid var(--edge); background: var(--white); border-radius: 18px; padding: 14px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.choice:hover { border-color: var(--blue); }
.choice.on { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: #F1F8FC; }
.choice b { font-size: 1.05rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex: none; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day { flex: none; width: 74px; border: 1.5px solid var(--edge); background: var(--white); border-radius: 18px; padding: 9px 4px; display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; scroll-snap-align: start; }
.day .dname { font-size: .78rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.day .dnum { font-size: 1.4rem; font-weight: 800; line-height: 1.1; }
.day .dmon { font-size: .75rem; color: var(--muted); }
.day.on { background: var(--cocoa); border-color: var(--cocoa); color: var(--cream); }
.day.on .dname, .day.on .dmon { color: var(--cream); }
.day:disabled { opacity: .45; cursor: default; background: transparent; }
.times { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.time { border: 1.5px solid var(--edge); background: var(--white); border-radius: 99px; padding: 10px 6px; font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; }
.time:hover { border-color: var(--blue); }
.time.on { background: var(--cocoa); border-color: var(--cocoa); color: var(--cream); }
.form { display: flex; flex-direction: column; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .92rem; }
.fld input, .fld textarea { font-weight: 500; font-size: 1rem; border: 1.5px solid var(--edge2); background: var(--white); border-radius: 14px; padding: 12px 14px; width: 100%; }
.fld textarea { resize: vertical; }
.fld small { font-weight: 500; }
input[type="date"] { min-height: 48px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--cocoa); flex: none; margin: 1px 0 0; }
.bar { position: sticky; bottom: 0; padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, var(--cream) 28%); }
.bar .btn { width: 100%; }
.card { background: var(--white); border: 1.5px solid var(--edge); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; width: 100%; text-align: start; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; }
.sum-row.total { font-size: 1.15rem; border-top: 1.5px dashed var(--edge2); padding-top: 10px; margin-top: 4px; }
.card hr { border: 0; border-top: 1.5px dashed var(--edge2); margin: 4px 0; width: 100%; }
.lead { font-size: 1.1rem; }
.done-sun { width: 150px; height: auto; }
.stack-btns { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.stack-btns .btn { width: 100%; }
.linkbox { background: var(--cream); border-radius: 12px; padding: 10px 12px; font-size: .82rem; overflow-wrap: anywhere; color: var(--muted); }
.note { background: #EEF6FB; border-radius: 16px; padding: 12px 16px; margin: 10px 0; font-weight: 500; }
.note.warn { background: var(--warn-bg); color: #8A3D16; }
.preview { background: var(--yellow); text-align: center; font-weight: 700; font-size: .88rem; padding: 7px 16px; }
.loading { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 60px 0; color: var(--muted); }
.loading.small { padding: 24px 0; justify-content: flex-start; }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--edge); border-top-color: var(--blue); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bag-line { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1.5px dashed var(--edge); }
.bl-text { display: flex; flex-direction: column; min-width: 0; }
.qty { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }
.bl-sum { white-space: nowrap; }
.h2s { font-size: 1.3rem; margin-top: 8px; }
.status { display: inline-block; border-radius: 99px; padding: 5px 14px; font-weight: 700; margin-bottom: 14px; background: #EEF6FB; }
.st-cancelled, .st-noshow { background: var(--edge); }
.st-completed, .st-collected { background: #E7F2EA; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 60; background: var(--cocoa); color: var(--cream);
  padding: 11px 20px; border-radius: 99px; font-weight: 700; max-width: calc(100% - 32px); text-align: center; box-shadow: 0 8px 22px rgba(90,72,67,.22); }

/* privacy page */
.doc { max-width: 720px; }
.doc h1 { font-size: 2.2rem; margin-bottom: 10px; }
.doc h2 { font-size: 1.25rem; margin: 26px 0 8px; }
.doc p, .doc li { line-height: 1.65; }
.doc ul { padding-inline-start: 22px; }
.doc .part + .part { border-top: 1.5px dashed var(--edge2); margin-top: 34px; padding-top: 10px; }

@media (max-width: 760px) {
  .hero-in { min-height: 430px; padding-block: 96px 104px; }
  .d-strokes { width: 170px; top: 22px; inset-inline-end: 64px; }
  .d-sun { width: 74px; top: 10px; inset-inline-end: 10px; }
  .d-arch { width: 84px; bottom: -24px; inset-inline-end: 132px; }
  .d-loop { width: 84px; bottom: -30px; inset-inline-end: 18px; }
  .d-waves, .d-star1 { display: none; }
  .d-star2 { width: 30px; bottom: 64px; inset-inline-end: 230px; }
  .hours-in { grid-template-columns: 1fr; }
  .sun-card { max-width: 250px; }
  .hlink:not(.bagl) { display: none; }
  .brand img { height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

/* digital receipt */
.receipt-card { gap: 6px; }
.rc-head { display: flex; justify-content: space-between; gap: 12px; font-size: 1.15rem; }
.rc-title { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; color: var(--muted, #6b5a4e); border-bottom: 1.5px dashed var(--edge2); padding-bottom: 8px; }
.rc-center { text-align: center; margin: 0; }
.rc-row, .rc-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-variant-numeric: tabular-nums; }
.rc-row > span, .rc-item > div { display: flex; flex-direction: column; }
.rc-ar { font-size: .9em; opacity: .8; }
.rc-total { font-size: 1.15rem; border-top: 1.5px dashed var(--edge2); padding-top: 10px; margin-top: 4px; }
.rc-thanks { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 10px 0 0; font-weight: 600; text-align: center; }
@media print {
  body > *:not(main), header, footer, .no-print, .preview { display: none !important; }
  .receipt-card { border: 0; box-shadow: none; }
}
