/* Salon sites and admin panels — design tokens.
   Each salon picks a look (data-preset on <html>): noir (default, below), ivory, blush, garage, meadow. Each look has a
   dark and a light palette. A salon's own accent colour overrides --oxblood / --on-accent (see src/look.js).
   The names describe the dark theme; the light theme redefines the same roles:
   --ink = page background, --lather = main text, --steel = secondary text, --panel/--panel-2 = surfaces,
   --brass = selection / links / focus (brass on black, barber-pole blue on white), --oxblood = main buttons,
   --pole-* = the barber-pole stripe. Text placed on --brass or --lather uses --ink, so it flips with the theme. */
:root {
  color-scheme: dark;
  --ink: #000000;
  --panel: #15120F;
  --panel-2: #1D1915;
  --line: #2E2822;
  --line-strong: #4A423A;
  --lather: #EFE8DC;
  --steel: #9C958B;
  --oxblood: #8C2F28;
  --oxblood-hi: #A9392F;
  --brass: #C9A66B;
  --brass-wash: rgba(201, 166, 107, .08);
  --brass-wash-2: rgba(201, 166, 107, .2);
  --pole-red: #8C2F28;
  --pole-white: #EFE8DC;
  --pole-blue: #3C5A7A;
  --danger: #E07A6F;
  --ok: #8DB48A;
  --header-bg: rgba(0, 0, 0, .86);
  --nonbusiness: rgba(255, 255, 255, .035);
  --promo-bg: #1B1210;
  --sale: #E2685B;        /* discounted price — 5.6:1 on black */
  --on-accent: #FFFFFF;   /* text on --oxblood buttons */

  --display: 'Forum', 'Times New Roman', serif;
  --body: 'Manrope', system-ui, sans-serif;
  --radius: 2px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
}

/* Light: white tile, oxblood buttons, barber-pole blue for selection. All text pairs meet WCAG AA. */
:root[data-theme="light"] {
  color-scheme: light;
  --ink: #F6F6F3;
  --panel: #FFFFFF;
  --panel-2: #ECECE7;
  --line: #D6D5CD;
  --line-strong: #A7A59B;
  --lather: #16130F;
  --steel: #5C5850;
  --oxblood: #8C2F28;
  --oxblood-hi: #A3372E;
  --brass: #24456B;
  --brass-wash: rgba(36, 69, 107, .06);
  --brass-wash-2: rgba(36, 69, 107, .16);
  --pole-red: #A3372E;
  --pole-white: #FFFFFF;
  --pole-blue: #24456B;
  --danger: #B3261E;
  --ok: #2D6A31;
  --header-bg: rgba(246, 246, 243, .9);
  --nonbusiness: rgba(0, 0, 0, .035);
  --promo-bg: #F7E9E6;
  --sale: #8C2F28;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--lather);
  font: 400 16px/1.6 var(--body); letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20; background: var(--header-bg);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.mark { font-family: var(--display); font-size: 26px; text-decoration: none; letter-spacing: .04em; line-height: 1; }
.mark small { font-family: var(--body); font-size: 12px; color: var(--steel); letter-spacing: .02em; margin-left: 8px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.lang {
  background: none; border: 1px solid var(--line); color: var(--steel); padding: 6px 10px; border-radius: var(--radius);
  cursor: pointer; font-size: 13px;
}
.lang:hover { color: var(--lather); border-color: var(--steel); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--oxblood); color: var(--on-accent); border: 0; border-radius: var(--radius);
  padding: 13px 22px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--oxblood-hi); }
.btn:disabled { background: var(--panel-2); color: var(--steel); cursor: not-allowed; }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--lather); }
.btn.ghost:hover { border-color: var(--steel); background: var(--panel); }
.link { color: var(--brass); text-underline-offset: 3px; }

/* ---------- The barber pole ---------- */
.pole {
  height: 10px;
  background: repeating-linear-gradient(-45deg,
    var(--pole-red) 0 12px, var(--pole-white) 12px 24px, var(--pole-blue) 24px 36px, var(--pole-white) 36px 48px);
  background-size: 68px 68px;
}

/* ---------- Home: hero ---------- */
.hero { padding: clamp(40px, 9vw, 110px) 0 clamp(28px, 6vw, 64px); }
.hero h1 {
  font-family: var(--display); font-weight: 400; margin: 0;
  font-size: clamp(60px, 14.6vw, 196px); line-height: .82; letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero .sub {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 40px;
  margin-top: clamp(14px, 2vw, 22px);
}
.hero .sub .kind { font-family: var(--display); font-size: clamp(24px, 3.4vw, 40px); color: var(--brass); }
.hero p.tag { max-width: 38ch; color: var(--steel); margin: 0; font-size: 17px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 34px; }
.hero .cta .meta { color: var(--steel); font-size: 14px; }

/* ---------- Home: sections ---------- */
.section { padding: clamp(48px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.section h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 56px); line-height: 1; margin: 0 0 8px; }
.section .lead { color: var(--steel); margin: 0 0 32px; max-width: 60ch; }
.cols { display: grid; gap: 40px; }
@media (min-width: 860px) { .cols { grid-template-columns: 1fr 2fr; gap: 64px; } }

/* Price board */
.board { list-style: none; margin: 0; padding: 0; }
.board li a {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; text-decoration: none;
  padding: 18px 0; border-bottom: 1px dashed var(--line);
}
.board li:first-child a { border-top: 1px dashed var(--line); }
.board .n { font-size: 19px; font-weight: 600; display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.board .n::after { content: ''; flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-5px); min-width: 20px; }
.board .p { font-family: var(--display); font-size: 26px; line-height: 1.1; color: var(--lather); }
.board .d { color: var(--steel); font-size: 14px; grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; }
.board .d .t { color: var(--brass); white-space: nowrap; }
.board li a:hover .n { color: var(--brass); }

/* Team */
.team { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .team { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.member { background: var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.member .ph { width: 72px; height: 72px; border-radius: 50%; background: var(--panel-2); object-fit: cover; display: grid; place-items: center;
  font-family: var(--display); font-size: 30px; color: var(--brass); }
.member h3 { font-family: var(--display); font-weight: 400; font-size: 30px; margin: 6px 0 0; }
.member p { color: var(--steel); margin: 0; flex: 1; }

/* Hours */
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { color: var(--brass); }
.hours tr.closed td:last-child { color: var(--steel); }
.contact { display: grid; gap: 14px; align-content: start; }
.contact .k { color: var(--steel); font-size: 14px; display: block; }
.contact a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact a:hover { border-color: var(--brass); }

footer.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--steel); font-size: 14px; }
footer.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- Booking flow ---------- */
.flow-head { padding: 28px 0 0; }
.flow-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 6vw, 60px); margin: 0; line-height: 1; }
.progress { margin: 22px 0 6px; height: 10px; background: var(--panel-2); position: relative; overflow: hidden; }
.progress .pole { height: 100%; width: 0; transition: width .45s cubic-bezier(.2,.7,.2,1); animation: pole-move 2.2s linear infinite; }
@keyframes pole-move { to { background-position: 68px 0; } }
@media (prefers-reduced-motion: reduce) { .progress .pole { animation: none; transition: none; } }
.steps { display: flex; gap: 6px 18px; flex-wrap: wrap; list-style: none; padding: 0; margin: 10px 0 0; font-size: 14px; color: var(--steel); }
.steps li.step-cur { color: var(--lather); }
.steps li.step-past button { color: var(--brass); }
.steps button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.steps button:disabled { cursor: default; }

.flow { display: grid; gap: 32px; padding: 28px 0 120px; }
@media (min-width: 900px) { .flow { grid-template-columns: 1fr 320px; gap: 56px; padding-bottom: 80px; } }
.flow > * { min-width: 0; }
.panel h2 { font-family: var(--display); font-weight: 400; font-size: 30px; margin: 0 0 18px; }

.choice { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.choice > li > button {
  width: 100%; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: baseline;
}
.choice > li > button:hover { border-color: var(--line-strong); }
.choice > li > button[aria-pressed="true"] { border-color: var(--brass); box-shadow: inset 3px 0 0 var(--brass); }
.choice .n { font-weight: 600; font-size: 17px; }
.choice .p { font-family: var(--display); font-size: 22px; }
.choice .d { color: var(--steel); font-size: 14px; grid-column: 1 / -1; }
.choice .av { width: 44px; height: 44px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center;
  font-family: var(--display); font-size: 22px; color: var(--brass); object-fit: cover; }
.choice .row { display: flex; align-items: center; gap: 14px; }

/* Days strip */
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; scroll-snap-type: x proximity; }
.days button {
  flex: 0 0 auto; width: 66px; padding: 10px 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; display: grid; gap: 2px; justify-items: center; scroll-snap-align: start;
}
.days .w { font-size: 12px; color: var(--steel); }
.days .dn { font-family: var(--display); font-size: 26px; line-height: 1; }
.days .m { font-size: 12px; color: var(--steel); }
.days button[aria-pressed="true"] { border-color: var(--brass); background: var(--panel-2); }
.days button[aria-pressed="true"] .w, .days button[aria-pressed="true"] .m { color: var(--brass); }
.days button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.days .more { width: 90px; color: var(--steel); font-size: 13px; }
.month-label { color: var(--steel); font-size: 14px; margin: 0 0 8px; }

.slots-group { margin-top: 18px; }
.slots-group h3 { font-size: 14px; font-weight: 600; color: var(--steel); margin: 0 0 8px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slots button {
  padding: 11px 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  font-variant-numeric: tabular-nums; font-weight: 600;
}
.slots button:hover { border-color: var(--line-strong); }
.slots button[aria-pressed="true"] { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.empty { color: var(--steel); padding: 18px; border: 1px dashed var(--line); }

/* Form */
.form { display: grid; gap: 18px; max-width: 520px; }
.field label { display: block; font-size: 14px; color: var(--steel); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px;
}
.field input:focus, .field textarea:focus { border-color: var(--brass); outline: none; }
.field .hint { font-size: 13px; color: var(--steel); margin-top: 6px; }
.field .err { font-size: 13px; color: var(--danger); margin-top: 6px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.seg button { background: var(--panel); border: 0; padding: 12px 6px; cursor: pointer; font-weight: 600; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--lather); color: var(--ink); }
.hp { position: absolute; left: -9999px; }

/* Summary */
.summary { border: 1px solid var(--line); padding: 22px; align-self: start; position: sticky; top: 84px; }
.summary h2 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 0 0 14px; }
.summary dl { margin: 0; display: grid; gap: 12px; }
.summary dt { font-size: 13px; color: var(--steel); }
.summary dd { margin: 0; }
.summary .total { border-top: 1px solid var(--line); padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; }
.summary .total b { font-family: var(--display); font-size: 28px; font-weight: 400; }
.summary .pay { font-size: 13px; color: var(--steel); margin: 10px 0 0; }
.summary .btn { width: 100%; margin-top: 18px; }
@media (max-width: 899px) {
  .summary { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 30; background: var(--ink);
    border-width: 1px 0 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px; }
  .summary h2, .summary dl { display: none; }
  .summary .mobile-line { display: block; flex: 1; min-width: 0; font-size: 14px; }
  .summary .mobile-line b { display: block; font-family: var(--display); font-size: 22px; font-weight: 400; }
  .summary .btn { width: auto; margin: 0; flex: 0 0 auto; }
  .summary .pay, .summary .saving { display: none; }
}
@media (min-width: 900px) { .summary .mobile-line { display: none; } }

.alert { border-left: 3px solid var(--danger); background: var(--panel); padding: 12px 14px; margin: 0 0 18px; }
.alert.ok { border-color: var(--ok); }

/* Done / manage */
.done { padding: 40px 0 80px; max-width: 640px; }
.done .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--brass); color: var(--ink); display: grid; place-items: center; font-size: 28px; }
.done h1 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 6vw, 60px); line-height: 1; margin: 22px 0 12px; }
.done p { color: var(--steel); }
.ticket { border: 1px solid var(--line); margin: 28px 0; }
.ticket .pole { height: 6px; }
.ticket dl { margin: 0; padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; }
.ticket dt { color: var(--steel); font-size: 14px; }
.ticket dd { margin: 0; }
.ticket .big { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.status-cancelled .ticket { opacity: .6; }
.status-cancelled .ticket .pole { filter: grayscale(1); }

dialog { background: var(--panel); color: var(--lather); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 420px; width: calc(100% - 32px); }
dialog::backdrop { background: rgba(0,0,0,.7); }
dialog h3 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 0 0 10px; }
dialog p { color: var(--steel); margin: 0 0 18px; }

.loading { color: var(--steel); padding: 18px 0; }

/* ===================== v2 components ===================== */

/* Barber-pole strip on top of every header (both themes) */
.top::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: repeating-linear-gradient(-45deg, var(--pole-red) 0 6px, var(--pole-white) 6px 12px, var(--pole-blue) 12px 18px, var(--pole-white) 18px 24px);
}
.top { position: sticky; }

/* Theme button */
.icon-btn {
  display: inline-grid; place-items: center; width: 34px; height: 32px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--steel); cursor: pointer;
}
.icon-btn:hover { color: var(--brass); border-color: var(--brass); }
.icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.icon-btn .i-moon { fill: currentColor; stroke: none; }
:root[data-theme="light"] .icon-btn .i-sun, :root:not([data-theme="light"]) .icon-btn .i-moon { display: none; }

/* Prices with the online discount */
.was { color: var(--steel); text-decoration: line-through; text-decoration-thickness: 1px; font-size: .78em; }
.now { color: var(--sale); }
.summary .total b .was { font-size: 18px; }

/* Promo band (home + booking flow) */
.promo {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--promo-bg); border: 1px solid var(--line); border-left: 4px solid var(--oxblood);
  padding: 12px 16px; margin: 0 0 18px;
}
.promo .amount { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--sale); }
.promo .txt { flex: 1; min-width: 180px; }
.promo .txt b { display: block; }
.promo .txt span { color: var(--steel); font-size: 14px; }
.hero .promo { margin: 26px 0 0; max-width: 560px; }

/* "You have an appointment" (home, booking page) */
.mine { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 14px; margin: 0 0 18px;
  border: 1px solid var(--brass); background: var(--brass-wash); font-size: 15px; }
.mine a { color: var(--brass); font-weight: 600; }

/* Thumbnail rows (portfolio) */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.shot { position: relative; padding: 0; border: 0; background: var(--panel-2); cursor: zoom-in; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.shot:hover img { transform: scale(1.04); }
.shot .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff;
  font-family: var(--display); font-size: 24px; }
@media (prefers-reduced-motion: reduce) { .shot img { transition: none; } }
.member .shots { margin-top: 4px; }
.choice .shots { margin: 8px 0 4px 18px; grid-template-columns: repeat(4, 56px); }

/* Photo viewer */
dialog.lightbox { max-width: none; max-height: none; width: 100vw; height: 100dvh; margin: 0; padding: 0; border: 0; border-radius: 0;
  background: rgba(0,0,0,.94); color: #F2EEE7; display: none; }
dialog.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
dialog.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lb-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; font-size: 14px; color: #BDB6AB; }
.lb-title { font-family: var(--display); font-size: 22px; color: #F2EEE7; }
.lb-count { margin-left: auto; }
.lb-x { background: none; border: 1px solid #3A342E; color: #F2EEE7; width: 40px; height: 40px; font-size: 26px; line-height: 1; cursor: pointer; border-radius: var(--radius); }
.lightbox figure { margin: 0; min-height: 0; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 0 56px 18px; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 130px); object-fit: contain; }
.lb-cap { padding-top: 10px; color: #BDB6AB; font-size: 15px; text-align: center; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; background: rgba(0,0,0,.35);
  border: 1px solid #3A342E; color: #F2EEE7; font-size: 34px; cursor: pointer; border-radius: var(--radius); }
.lb-nav:hover, .lb-x:hover { border-color: #C9A66B; color: #C9A66B; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
@media (max-width: 600px) { .lightbox figure { padding: 0 8px 14px; } .lb-nav { top: auto; bottom: 14px; transform: none; } }

/* Products */
.products { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.product { border: 1px solid var(--line); background: var(--panel); display: grid; grid-template-rows: auto 1fr; }
.product .pimg { aspect-ratio: 1; background: var(--panel-2); padding: 0; border: 0; cursor: zoom-in; overflow: hidden; }
.product .pimg img { width: 100%; height: 100%; object-fit: cover; }
.product .pimg.none { cursor: default; display: grid; place-items: center; font-family: var(--display); font-size: 40px; color: var(--steel); }
.product .pb { padding: 14px 16px 16px; display: grid; gap: 6px; align-content: start; }
.product h3 { margin: 0; font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; }
.product h3 .p { font-family: var(--display); font-weight: 400; font-size: 22px; white-space: nowrap; }
.product p { margin: 0; color: var(--steel); font-size: 14px; }
.product .by { font-size: 13px; color: var(--steel); }
.member .prods { font-size: 14px; color: var(--steel); }
.member .prods b { color: var(--lather); font-weight: 600; }

/* Booking link box */
.linkbox { border: 1px solid var(--brass); background: var(--brass-wash); padding: 16px; margin: 22px 0; }
.linkbox h2 { font-family: var(--body); font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.linkbox p { margin: 0 0 12px; font-size: 14px; color: var(--steel); }
.linkbox .row { display: flex; gap: 8px; flex-wrap: wrap; }
.linkbox input { flex: 1 1 260px; min-width: 0; background: var(--ink); border: 1px solid var(--line); padding: 10px 12px; border-radius: var(--radius);
  font-size: 14px; font-variant-numeric: tabular-nums; }
.linkbox.small { padding: 12px 14px; }
.linkbox.small p { margin-bottom: 8px; }

/* Booking flow: barber price + summary discount line */
.choice .barber-price { margin-left: auto; font-family: var(--display); font-size: 20px; white-space: nowrap; }
.summary .saving { font-size: 13px; color: var(--ok); margin: 6px 0 0; }

::placeholder { color: var(--steel); opacity: .75; }

/* ===================== Looks (salon presets) ===================== */
:root { --on-accent: #FFFFFF; }

/* Ivory — light, elegant (women's and unisex hair) */
:root[data-preset="ivory"] {
  color-scheme: dark;
  --ink: #141210; --panel: #1C1916; --panel-2: #25211D; --line: #34302A; --line-strong: #514A41;
  --lather: #F2EDE6; --steel: #A39A8E; --oxblood: #E8DFD2; --oxblood-hi: #FFFFFF; --on-accent: #141210;
  --brass: #D4B483; --brass-wash: rgba(212,180,131,.08); --brass-wash-2: rgba(212,180,131,.2);
  --danger: #E88A7F; --ok: #8DB48A; --header-bg: rgba(20,18,16,.86); --nonbusiness: rgba(255,255,255,.035);
  --promo-bg: #221C17; --sale: #F08A7E;
  --display: 'Cormorant Garamond', 'Times New Roman', serif; --body: 'Manrope', system-ui, sans-serif;
}
:root[data-preset="ivory"][data-theme="light"] {
  color-scheme: light;
  --ink: #F7F4EF; --panel: #FFFFFF; --panel-2: #EFEAE2; --line: #DED7CC; --line-strong: #B5AC9E;
  --lather: #1F1A17; --steel: #6A6157; --oxblood: #1F1A17; --oxblood-hi: #3A322C; --on-accent: #FFFFFF;
  --brass: #7A5C30; --brass-wash: rgba(122,92,48,.07); --brass-wash-2: rgba(122,92,48,.18);
  --danger: #B3261E; --ok: #2D6A31; --header-bg: rgba(247,244,239,.9); --nonbusiness: rgba(0,0,0,.035);
  --promo-bg: #F3EADF; --sale: #A3372E;
}

/* Blush — soft rose (nails, lashes, beauty) */
:root[data-preset="blush"] {
  color-scheme: dark;
  --ink: #1A1315; --panel: #231A1D; --panel-2: #2D2226; --line: #3D2F34; --line-strong: #5C4850;
  --lather: #F6ECEE; --steel: #B9A3A9; --oxblood: #D97A90; --oxblood-hi: #E590A3; --on-accent: #1A1315;
  --brass: #E8A3B3; --brass-wash: rgba(232,163,179,.08); --brass-wash-2: rgba(232,163,179,.2);
  --danger: #F08A8A; --ok: #9CC79A; --header-bg: rgba(26,19,21,.86); --nonbusiness: rgba(255,255,255,.035);
  --promo-bg: #2A1A1F; --sale: #F08A9B;
  --display: 'Playfair Display', Georgia, serif; --body: 'Manrope', system-ui, sans-serif; --radius: 10px;
}
:root[data-preset="blush"][data-theme="light"] {
  color-scheme: light;
  --ink: #FBF6F5; --panel: #FFFFFF; --panel-2: #F4E9E8; --line: #EBD9D7; --line-strong: #C9AFAC;
  --lather: #2B1D20; --steel: #7A6268; --oxblood: #B4536A; --oxblood-hi: #9E4459; --on-accent: #FFFFFF;
  --brass: #9E4459; --brass-wash: rgba(180,83,106,.07); --brass-wash-2: rgba(180,83,106,.18);
  --danger: #B3261E; --ok: #2D6A31; --header-bg: rgba(251,246,245,.9); --nonbusiness: rgba(0,0,0,.03);
  --promo-bg: #F9E6EA; --sale: #B4364F;
}

/* Meadow — warm and playful (pet grooming) */
:root[data-preset="meadow"] {
  color-scheme: dark;
  --ink: #121A15; --panel: #18231C; --panel-2: #1F2D24; --line: #2C3D32; --line-strong: #46604F;
  --lather: #EEF3EC; --steel: #A3B3A6; --oxblood: #6CC497; --oxblood-hi: #85D2AA; --on-accent: #121A15;
  --brass: #F0A36B; --brass-wash: rgba(240,163,107,.08); --brass-wash-2: rgba(240,163,107,.2);
  --danger: #F08A7E; --ok: #8DD4A8; --header-bg: rgba(18,26,21,.86); --nonbusiness: rgba(255,255,255,.035);
  --promo-bg: #1F2A1F; --sale: #F08A6B;
  --display: 'Comfortaa', 'Trebuchet MS', sans-serif; --body: 'Nunito', system-ui, sans-serif; --radius: 14px;
}
:root[data-preset="meadow"][data-theme="light"] {
  color-scheme: light;
  --ink: #F6F4EC; --panel: #FFFFFF; --panel-2: #ECE8DA; --line: #DDD7C3; --line-strong: #B3AB90;
  --lather: #1E2A22; --steel: #5E6A60; --oxblood: #2F6E4F; --oxblood-hi: #255A40; --on-accent: #FFFFFF;
  --brass: #A04B18; --brass-wash: rgba(160,75,24,.07); --brass-wash-2: rgba(160,75,24,.18);
  --danger: #B3261E; --ok: #2D6A31; --header-bg: rgba(246,244,236,.9); --nonbusiness: rgba(0,0,0,.035);
  --promo-bg: #FBEBDD; --sale: #B33A1E;
}
:root[data-preset="meadow"] .section h2, :root[data-preset="meadow"] .hero h1 { letter-spacing: -.01em; font-weight: 700; }

/* Garage — graphite and signal yellow (detailing, tyres, car service) */
:root[data-preset="garage"] {
  color-scheme: dark;
  --ink: #111315; --panel: #191C1F; --panel-2: #212529; --line: #30353A; --line-strong: #4C535A;
  --lather: #ECEEF0; --steel: #9DA4AB; --oxblood: #F2B230; --oxblood-hi: #F7C454; --on-accent: #111315;
  --brass: #7FB3DE; --brass-wash: rgba(127,179,222,.08); --brass-wash-2: rgba(127,179,222,.2);
  --danger: #F08A7E; --ok: #8DCB9A; --header-bg: rgba(17,19,21,.88); --nonbusiness: rgba(255,255,255,.035);
  --promo-bg: #22201A; --sale: #F7A35C;
  --display: 'Oswald', 'Arial Narrow', sans-serif; --body: 'Exo 2', system-ui, sans-serif; --radius: 4px;
}
:root[data-preset="garage"][data-theme="light"] {
  color-scheme: light;
  --ink: #F3F4F5; --panel: #FFFFFF; --panel-2: #E7E9EC; --line: #D6DADF; --line-strong: #A9B0B8;
  --lather: #16191C; --steel: #5A626B; --oxblood: #C2410C; --oxblood-hi: #A5370A; --on-accent: #FFFFFF;
  --brass: #1E5A8A; --brass-wash: rgba(30,90,138,.07); --brass-wash-2: rgba(30,90,138,.18);
  --danger: #B3261E; --ok: #2D6A31; --header-bg: rgba(243,244,245,.92); --nonbusiness: rgba(0,0,0,.035);
  --promo-bg: #FBEBDD; --sale: #B33A1E;
}
:root[data-preset="garage"] .section h2, :root[data-preset="garage"] .hero h1 { text-transform: uppercase; letter-spacing: .02em; font-weight: 600; }

/* Decorative strip: barber pole (noir), a plain accent line, dots, or hazard tape (garage) */
:root[data-stripe="line"] .pole { height: 3px; background: var(--oxblood); animation: none; }
:root[data-stripe="line"] .top::before { background: var(--oxblood); height: 2px; }
:root[data-stripe="dots"] .pole { height: 10px; background: radial-gradient(circle, var(--oxblood) 3px, transparent 3.5px) 0 0 / 18px 10px; animation: none; }
:root[data-stripe="dots"] .top::before { background: var(--oxblood); height: 3px; }
:root[data-stripe="hazard"] .pole { height: 8px; background: repeating-linear-gradient(-45deg, var(--oxblood) 0 10px, var(--ink) 10px 20px); animation: none; }
:root[data-stripe="hazard"] .top::before { background: repeating-linear-gradient(-45deg, var(--oxblood) 0 6px, transparent 6px 12px); height: 4px; }
:root[data-stripe="line"] .progress .pole, :root[data-stripe="dots"] .progress .pole, :root[data-stripe="hazard"] .progress .pole { height: 100%; background: var(--oxblood); }

/* Salon logo and cover photo */
.mark img { height: 34px; width: auto; display: block; }
.hero .logo-big { width: clamp(84px, 14vw, 140px); height: auto; margin-bottom: 18px; border-radius: var(--radius); }
.hero .cover { margin-top: clamp(24px, 5vw, 48px); width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 640px) { .hero .cover { aspect-ratio: 4 / 3; } }

/* Paused salon notice */
.paused-note { background: var(--promo-bg); border: 1px solid var(--line); border-left: 4px solid var(--oxblood); padding: 14px 16px; margin: 18px 0 0; max-width: 620px; }

/* Extra booking-form fields */
.xf-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.xf-opts label { position: relative; }
.xf-opts input { position: absolute; opacity: 0; inset: 0; }
.xf-opts span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); cursor: pointer; }
.xf-opts input:checked + span { border-color: var(--brass); background: var(--brass-wash-2); color: var(--lather); box-shadow: inset 0 0 0 1px var(--brass); }
.xf-opts input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.xf-opts small { color: var(--steel); margin-left: 4px; }
/* Long salon names: smaller hero title so it fits in two or three lines */
.hero h1.long { font-size: clamp(44px, 8.6vw, 124px); line-height: .9; }
.hero h1.xlong { font-size: clamp(38px, 6.4vw, 92px); line-height: .95; }
