/* online.cy — one stylesheet for the site, shop pages, booking steps and dashboard. */

/* The fonts carry a version by hand (v=2), the same one functions.php asks for ahead of time: change both together when a font file changes. */

@font-face {
	font-family: Commissioner;
	src: url(fonts/commissioner-greek.woff2?v=2) format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0370-03FF, U+1F00-1FFF;
}
@font-face {
	font-family: Commissioner;
	src: url(fonts/commissioner-latin.woff2?v=2) format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--bg: #faf7f2;
	--surface: #ffffff;
	--ink: #1b1d1f;
	--muted: #62686e;
	--line: #e7e1d8;
	--accent: #0e6b6b;
	--accent-ink: #ffffff;
	--accent-soft: #e3f0ee;
	/* The colour as letters or a line on the page, not a fill. The built-in colours read as they are. */
	--accent-text: var(--accent);
	--danger: #b3261e;
	--ok: #1e7b4a;
	--warn-soft: #fdf1d8;
	--warn: #8a5a00;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(27, 29, 31, .05), 0 8px 24px rgba(27, 29, 31, .06);
	--gutter: clamp(16px, 4vw, 32px);
	color-scheme: light dark;
}
[data-preset="terracotta"] { --accent: #b4532a; --accent-soft: #f7e7df; }
[data-preset="navy"] { --accent: #1f3a6e; --accent-soft: #e3e9f4; }
[data-preset="olive"] { --accent: #56662a; --accent-soft: #ebefdd; }
[data-preset="plum"] { --accent: #6b2d5c; --accent-soft: #f1e3ed; }
[data-preset="charcoal"] { --accent: #2a2d31; --accent-soft: #e8e9ea; }
[data-preset] { --accent-text: var(--accent); }
/* A colour of the shop's own. Its tones are worked out on the server (OCY_Colour) and come on the element itself,
   four for a light screen and four for a dark one; the screen takes the four that suit it. */
[data-own] { --accent: var(--ol); --accent-ink: var(--ol-ink); --accent-soft: var(--ol-soft); --accent-text: var(--ol-text); }

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #121416;
		--surface: #1b1e21;
		--ink: #f1eee9;
		--muted: #a3a9af;
		--line: #2b3035;
		--accent: #4fb8b3;
		--accent-ink: #06201f;
		--accent-soft: #16302f;
		--danger: #f2877f;
		--ok: #6fcf97;
		--warn-soft: #3a2f14;
		--warn: #e9bf6a;
		--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
	}
	[data-preset="terracotta"] { --accent: #e38a62; --accent-ink: #2a1208; --accent-soft: #3a2218; }
	[data-preset="navy"] { --accent: #86a8ea; --accent-ink: #0b1730; --accent-soft: #1b2740; }
	[data-preset="olive"] { --accent: #a9bc6a; --accent-ink: #1a2008; --accent-soft: #272e16; }
	[data-preset="plum"] { --accent: #cf93c1; --accent-ink: #2a0f23; --accent-soft: #35202f; }
	[data-preset="charcoal"] { --accent: #d5d8dc; --accent-ink: #16181a; --accent-soft: #2a2d31; }
	[data-own] { --accent: var(--od); --accent-ink: var(--od-ink); --accent-soft: var(--od-soft); --accent-text: var(--od-text); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 17px/1.5 Commissioner, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 6.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3.6vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-text); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 460px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.hidden { display: none !important; }

/* Buttons and fields */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px;
	background: var(--accent); color: var(--accent-ink);
	font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
	transition: transform .08s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; cursor: default; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: .9rem; border-radius: 10px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.soft { background: var(--accent-soft); color: var(--accent-text); }
.btn.danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.block { display: flex; width: 100%; }
:focus-visible { outline: 3px solid var(--accent-text); outline: 3px solid color-mix(in srgb, var(--accent-text) 55%, transparent); outline-offset: 2px; }

label { display: block; font-weight: 600; font-size: .9rem; margin: 0 0 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=time], input[type=datetime-local], input[type=url], select, textarea {
	width: 100%; min-height: 48px; padding: 10px 14px;
	border: 1.5px solid var(--line); border-radius: 12px;
	background: var(--surface); color: var(--ink); font: inherit;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px var(--accent-soft); }
.field { margin: 0 0 16px; }
.field .hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { background: var(--warn-soft); border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; }
.alert p { margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }

/* Main-site header and footer */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--gutter); max-width: 1040px; margin: 0 auto; }
.top nav { display: flex; align-items: center; gap: 14px; }
.brand { font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent-text); }
.lang, .quiet { color: var(--muted); text-decoration: none; font-size: .92rem; }
.lang:hover, .quiet:hover { color: var(--ink); }
.foot { max-width: 1040px; margin: 64px auto 0; padding: 28px var(--gutter) 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot p { margin: 6px 0 0; }
.foot a { color: var(--muted); }
.legal { max-width: 720px; }
.legal h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.legal p { color: var(--ink); }

/* Home */
.hero { padding-block: clamp(28px, 7vw, 72px) clamp(28px, 6vw, 56px); }
.hero p.lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 34em; }
.claim { margin: 26px 0 10px; max-width: 520px; }
.claim-box { display: flex; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 4px 4px 4px 14px; box-shadow: var(--shadow); }
.claim-box:focus-within { border-color: var(--accent-text); }
.claim-box input { border: 0; background: transparent; min-height: 46px; padding: 0; box-shadow: none !important; flex: 1; min-width: 0; }
.claim-out { font-weight: 700; font-size: 1.1rem; margin: 12px 2px 0; word-break: break-all; }
.claim-out b { color: var(--accent-text); }
.section { padding-block: clamp(24px, 5vw, 48px); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.benefit h3 { margin-top: 10px; }
.benefit p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 800; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fact b { display: block; font-size: 2.2rem; font-weight: 800; color: var(--accent-text); letter-spacing: -.03em; }
.fact small { display: block; color: var(--muted); margin-top: 6px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: start; }
.plan .price { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; margin: 4px 0 10px; }
.plan .price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan li { padding: 7px 0 7px 26px; position: relative; border-top: 1px solid var(--line); font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent-text); font-weight: 800; }
.plan.best { border-color: var(--accent-text); box-shadow: 0 0 0 1.5px var(--accent), var(--shadow); }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent-text); font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 650; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.cta-band { background: var(--accent-soft); border-radius: 20px; padding: clamp(24px, 5vw, 44px); text-align: center; }

/* Sign-up and login */
.auth { padding-block: 24px 40px; }
.auth h1 { font-size: clamp(1.7rem, 5vw, 2.2rem); }
.addr-preview { background: var(--accent-soft); color: var(--accent-text); border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: .95rem; margin-top: 8px; word-break: break-all; }

/* Shop page */
.shop { padding-bottom: 110px; }
.cover { height: clamp(160px, 34vw, 320px); background: linear-gradient(135deg, var(--accent), var(--accent)); background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000)); position: relative; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.shop-head { margin-top: -34px; position: relative; }
.shop-head .card { padding: 22px; }
.shop-head h1 { font-size: clamp(1.6rem, 5vw, 2.3rem); margin-bottom: 6px; }
.meta { color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .95rem; }
.open { color: var(--ok); font-weight: 650; }
.closed { color: var(--muted); font-weight: 650; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
/* On a phone the buttons under the name fill their rows, so a language with longer words leaves no ragged edge. */
@media (max-width: 480px) { .shop-head .actions .btn { flex: 1 1 auto; text-align: center; } }
.shop h2 { font-size: 1.25rem; margin: 34px 0 12px; }
.services { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.services li + li { border-top: 1px solid var(--line); }
.service { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; background: none; border: 0; font: inherit; color: inherit; text-align: start; cursor: pointer; }
.service:hover { background: var(--accent-soft); }
.service .s-name { font-weight: 650; }
.service .s-sub { color: var(--muted); font-size: .9rem; }
.service .s-main { flex: 1; min-width: 0; }
.service .s-price { font-weight: 700; white-space: nowrap; }
.service .s-go { color: var(--accent-text); font-weight: 700; font-size: .9rem; white-space: nowrap; }
div.service { cursor: default; }
div.service:hover { background: none; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 7px 0; border-top: 1px solid var(--line); vertical-align: top; }
.hours tr:first-child td { border-top: 0; }
.hours td:last-child { text-align: end; font-variant-numeric: tabular-nums; }
.hours .today td { font-weight: 700; }
.about { white-space: pre-line; }
.sticky-book { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--bg); background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); z-index: 5; }
.sticky-book .btn { max-width: 1040px; margin: 0 auto; }
.made { text-align: center; color: var(--muted); font-size: .85rem; margin: 44px 0 0; }
.made a { color: var(--muted); }

/* Booking sheet */
dialog.sheet { border: 0; padding: 0; width: min(560px, 100%); max-width: 100%; max-height: 100vh; max-height: 100dvh; background: var(--bg); color: var(--ink); border-radius: 20px; box-shadow: var(--shadow); }
dialog.sheet::backdrop { background: rgba(10, 12, 14, .5); }
@media (max-width: 600px) {
	dialog.sheet { margin: auto 0 0; border-radius: 20px 20px 0 0; height: 92dvh; }
}
.sheet-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 1; }
.sheet-head h2 { flex: 1; margin: 0; font-size: 1.1rem; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.icon-btn:hover { background: var(--accent-soft); }
.sheet-body { padding: 16px; }
.summary { background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-size: .95rem; }
.summary b { display: block; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; }
.day { flex: 0 0 auto; min-width: 66px; padding: 8px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; text-align: center; cursor: pointer; }
.day small { display: block; color: var(--muted); font-size: .75rem; text-transform: capitalize; }
.day b { font-size: 1.15rem; }
.day[aria-pressed=true] { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.day[aria-pressed=true] small { color: inherit; opacity: .85; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 8px; }
.time { min-height: 46px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 650; font-variant-numeric: tabular-nums; cursor: pointer; }
.time:hover { border-color: var(--accent-text); color: var(--accent-text); }
/* The sessions of a class: the hour, and under it the places still free. */
.times.sessions { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.time.session { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; padding: 8px 6px; }
.time.session b { font-weight: 700; font-size: 1.05rem; }
.time.session small { font-weight: 500; font-size: .8rem; color: var(--muted); }
.time.session.full { cursor: default; opacity: .55; background: var(--bg); }
.time.session.full:hover { border-color: var(--line); color: var(--ink); }
/* A full session that keeps a waiting list can still be pressed: it leads to the list. */
.time.session.listed { cursor: pointer; opacity: 1; border-style: dashed; border-color: var(--accent-text); border-color: color-mix(in srgb, var(--accent-text) 45%, var(--line)); background: var(--surface); }
.time.session.listed b { color: var(--muted); }
.time.session.listed small { color: var(--accent-text); font-weight: 600; }
.time.session.listed:hover { border-color: var(--accent-text); }
.choice { display: flex; align-items: center; width: 100%; padding: 14px 16px; margin-bottom: 8px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 650; text-align: start; cursor: pointer; }
.choice:hover { border-color: var(--accent-text); }
.done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 2rem; margin: 8px auto 16px; }
.spinner { text-align: center; color: var(--muted); padding: 28px 0; }
.err { color: var(--danger); font-weight: 600; margin: 8px 0; }

/* Directory */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.chip { padding: 7px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600; }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.listing { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.listing a { text-decoration: none; color: inherit; display: block; overflow: hidden; padding: 0; }
.listing .thumb { height: 130px; background: linear-gradient(135deg, var(--accent), var(--accent)); background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000)); }
.listing .thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing .body { padding: 14px 16px 16px; }
.listing h3 { margin: 0 0 4px; }

/* Dashboard */
.dash { padding-bottom: 96px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); max-width: 760px; margin: 0 auto; }
.dash main { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); z-index: 5; }
.tab { flex: 1; max-width: 190px; padding: 10px 4px 12px; border: 0; background: none; color: var(--muted); font: inherit; font-size: .8rem; font-weight: 650; cursor: pointer; }
.tab i { display: block; font-style: normal; font-size: 1.3rem; line-height: 1.3; }
.tab[aria-selected=true] { color: var(--accent-text); }
.datebar { display: flex; align-items: center; gap: 8px; margin: 6px 0 16px; }
.datebar h1 { flex: 1; font-size: 1.35rem; margin: 0; text-transform: capitalize; }
.bk { display: flex; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.bk-time { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 52px; }
.bk-time small { display: block; font-weight: 500; color: var(--muted); }
.bk-main { flex: 1; min-width: 0; }
.bk-main b { display: block; }
.bk-main .muted { font-size: .92rem; }
.bk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bk.cancelled, .bk.noshow { opacity: .55; }
.bk.cancelled b { text-decoration: line-through; }
.bk.arrived { border-color: var(--ok); }
.pill { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); vertical-align: middle; }
.empty { text-align: center; color: var(--muted); padding: 36px 12px; }
.share { margin-bottom: 18px; }
.share .addr { font-weight: 800; font-size: 1.15rem; word-break: break-all; margin: 2px 0 12px; }
.todo { list-style: none; padding: 0; margin: 12px 0 0; }
.todo li { padding: 8px 0 8px 30px; position: relative; border-top: 1px solid var(--line); }
.todo li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); }
.todo li.done { color: var(--muted); }
.todo li.done::before { background: var(--ok); border-color: var(--ok); }
.item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; }
.item .grow { flex: 1; min-width: 0; }
.hrow { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.hrow:first-child { border-top: 0; }
.hrow .ranges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hrow input[type=time] { width: 122px; min-height: 42px; padding: 6px 4px 6px 8px; font-size: .95rem; }
.hrow input[type=time]::-webkit-calendar-picker-indicator { margin-left: 2px; padding: 2px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 650; margin: 0; }
.check input { flex: none; width: 20px; height: 20px; accent-color: var(--accent-text); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; }
.swatch[aria-pressed=true] { box-shadow: 0 0 0 3px var(--ink); }
.toast { position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 99px; font-weight: 650; font-size: .92rem; z-index: 20; box-shadow: var(--shadow); }
.dash h2 { font-size: 1.15rem; margin: 26px 0 10px; }
.dash .card { box-shadow: none; }
.banner { background: var(--warn-soft); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: .95rem; }

@media (max-width: 520px) {
	.row { grid-template-columns: 1fr; }
	.top .quiet { display: none; }
	/* Day name above its hours, so two time boxes fit side by side on a phone. */
	.hrow { grid-template-columns: 1fr; gap: 6px; padding: 12px 0; }
	.hrow input[type=time] { width: 132px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}

/* Shop page, second pass: logo tile, patterned cover, two columns on a desktop */
.shop .wrap { max-width: 1080px; }
.cover { height: clamp(150px, 22vw, 250px); background: linear-gradient(135deg, var(--accent), var(--accent)); background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #000)); }
.cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.2px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000); mask-image: linear-gradient(120deg, transparent 20%, #000); }
.cover img { position: relative; z-index: 1; }
.shop-head { margin-top: -54px; }
.shop-head .card { display: flex; gap: 20px; align-items: flex-start; padding: clamp(18px, 3vw, 28px); border-radius: 22px; }
.avatar { flex: none; width: 72px; height: 72px; border-radius: 20px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 2rem; font-weight: 800; box-shadow: 0 8px 20px rgba(27, 29, 31, .14); box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 35%, transparent); }
.shop-id { flex: 1; min-width: 0; }
.shop-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.shop-main > h2:first-child { margin-top: 30px; }
.shop-side { position: sticky; top: 20px; display: grid; gap: 16px; margin-top: 30px; }
.shop-side h2 { margin: 0 0 10px; font-size: 1.05rem; }
.shop-side .card { box-shadow: none; border-radius: 18px; }
.shop-side .side-book { background: var(--accent-soft); border-color: transparent; }
.services { border-radius: 18px; }
.service { padding: 16px 18px; }
.service .s-go { background: var(--accent-soft); padding: 7px 14px; border-radius: 99px; }
@media (min-width: 901px) {
	.sticky-book { display: none; }
	.shop { padding-bottom: 48px; }
}
@media (max-width: 900px) {
	.shop-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.shop-side { position: static; }
	.side-book { display: none; }
}
@media (max-width: 520px) {
	.avatar { width: 54px; height: 54px; font-size: 1.5rem; border-radius: 16px; }
	.shop-head .card { gap: 14px; }
}
.cover img { position: absolute; inset: 0; z-index: 0; }
.cover::after { z-index: 1; }
/* One shade over the whole photo: without its own size it would take the dots' 20px tile and repeat as bands. */
.cover:has(img)::after { background-image: linear-gradient(to top, rgba(0, 0, 0, .35), transparent 60%); background-size: 100% 100%; -webkit-mask-image: none; mask-image: none; }
.shop-head { position: relative; z-index: 2; }
.cover { height: clamp(170px, 26vw, 300px); }

/* Shop page: logo image and photo gallery */
img.avatar { object-fit: cover; padding: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery a { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.05); }

.alert.ok { background: var(--accent-soft); }

/* Reviews: stars drawn as text with a partly filled gradient, so 4.6 shows as 4.6 */
.rv-stars { --v: 5; display: inline-block; font-size: 1.05rem; letter-spacing: 2px; line-height: 1; color: #e0a030; white-space: nowrap; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.rv-stars { background: linear-gradient(90deg, #e0a030 calc(var(--v) / 5 * 100%), var(--line) 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.rate { color: var(--ink); text-decoration: none; white-space: nowrap; }
.rate b { color: #c8861a; }
b.rate { color: #c8861a; }
.rv-sum { display: flex; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.rv-avg { text-align: center; flex: none; }
.rv-avg b { display: block; font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.rv-avg small { display: block; color: var(--muted); margin-top: 6px; }
.rv-avg .rv-stars { margin-top: 6px; font-size: 1.2rem; }
.rv-bars { flex: 1; display: grid; gap: 5px; min-width: 0; }
.rv-bars div { display: grid; grid-template-columns: 14px 1fr 26px; gap: 10px; align-items: center; font-size: .82rem; color: var(--muted); }
.rv-bars i { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.rv-bars u { display: block; height: 100%; background: #e0a030; border-radius: 99px; }
.rv-list { list-style: none; margin: 16px 0 10px; padding: 0; display: grid; gap: 12px; }
.rv-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.rv-head { display: flex; align-items: center; gap: 12px; }
.rv-head > span:nth-child(2) { flex: 1; min-width: 0; }
.rv-head strong { display: block; }
.rv-head small { color: var(--muted); display: block; }
.rv-head .avatar.sm { width: 40px; height: 40px; font-size: 1.05rem; border-radius: 50%; box-shadow: none; background: var(--accent-soft); color: var(--accent-text); }
.rv-list p { margin: 12px 0 0; }
.rv-reply { margin-top: 12px; padding: 12px 14px; border-inline-start: 3px solid var(--accent-text); background: var(--accent-soft); border-radius: 0 12px 12px 0; font-size: .95rem; }
.rv-reply p { margin: 4px 0 0; }
.stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin: 14px 0 16px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 2.9rem; line-height: 1; color: var(--line); cursor: pointer; margin: 0; transition: color .12s, transform .12s; }
.stars label:hover { transform: scale(1.12); }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #e0a030; }
.stars input:focus-visible + label { outline: 3px solid var(--accent-soft); border-radius: 8px; }
.rv-h { font-size: 1.6rem; margin: 0 0 6px; letter-spacing: -.02em; }
@media (max-width: 520px) { .rv-sum { flex-direction: column; align-items: stretch; gap: 14px; } }

/* The team on a shop's page, and faces in the "with whom?" step */
img.avatar { object-fit: cover; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.team li { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 20px 12px 18px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.team .avatar { width: 88px; height: 88px; border-radius: 50%; margin-bottom: 10px; box-shadow: none; }
.team small { color: var(--muted); font-size: .9rem; }
.team small { margin-bottom: 12px; }
.team .s-go { margin-top: auto; border: 0; font: inherit; font-size: .9rem; font-weight: 700; color: var(--accent-text); background: var(--accent-soft); padding: 7px 14px; border-radius: 99px; cursor: pointer; }
.team .s-go:hover { filter: brightness(.96); }
.choice.who { gap: 12px; text-align: start; }
.choice.who .avatar { width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem; box-shadow: none; }
.choice.who small { display: block; color: var(--muted); font-weight: 500; font-size: .88rem; }

/* A request the shop has still to answer */
.done-mark.wait { background: var(--warn-soft); color: var(--warn); letter-spacing: .05em; }
/* A deposit that is owed: how much and where to send it. On the last booking step and on the customer's own booking page. */
.dep-box { text-align: start; border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 16px 0; background: var(--surface); }
.dep-box h3 { margin: 0 0 2px; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dep-state { font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); }
.dep-lead { margin: 0 0 12px; color: var(--muted); font-size: .92rem; }
.dep-bank { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin: 14px 0 0; font-size: .92rem; }
.dep-bank dt { color: var(--muted); }
.dep-bank dd { margin: 0; font-weight: 600; min-width: 0; }
.dep-bank dd span { overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.copy-btn { font: inherit; font-size: .85rem; font-weight: 700; background: none; border: 0; padding: 0; margin-inline-start: 4px; color: var(--accent-text); cursor: pointer; text-decoration: underline; white-space: nowrap; }
.dep-note { margin: 12px 0 0; font-size: .92rem; }
@media (max-width: 480px) {
	.dep-bank { grid-template-columns: minmax(0, 1fr); gap: 1px; }
	.dep-bank dd { margin-bottom: 9px; }
	.dep-bank dd:last-child { margin-bottom: 0; }
}
.dep-small { margin: 12px 0 0; font-size: .8rem; color: var(--muted); }
.dep-done { margin: 12px 0 0; font-size: .95rem; font-weight: 600; color: var(--ok); }
.ask-note + .ask-note { margin-top: -8px; }
.hours-note { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.ask-note { background: var(--warn-soft); color: var(--warn); border-radius: 12px; padding: 10px 14px; margin: -4px 0 16px; font-size: .92rem; }

/* A price list sorted into sections */
/* The way in to a review by the code of a booking: a quiet line under the reviews, and the code shown after booking. */
.rv-cta { margin: 16px 0 0; }
.rv-cta button { background: none; border: 0; padding: 0; font: inherit; font-weight: 650; color: var(--accent-text); cursor: pointer; }
.rv-cta button:hover { text-decoration: underline; }
.code-line { display: inline-flex; align-items: baseline; gap: 8px; margin: 2px 0 20px; padding: 8px 16px; border: 1.5px dashed var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); font-size: .9rem; }
.code-line b { color: var(--ink); font-size: 1.05rem; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.sheet-lead { color: var(--muted); font-size: .95rem; margin: 0 0 18px; }
/* The code sent to a customer's phone: six large digits, spaced out as they are read. */
input.otp { font-size: 1.7rem; font-weight: 700; letter-spacing: .32em; text-align: center; font-variant-numeric: tabular-nums; padding-left: .32em; }
.again { background: none; border: 0; padding: 4px 6px; font: inherit; font-weight: 650; color: var(--accent-text); cursor: pointer; }
.again:disabled { color: var(--muted); font-weight: 500; cursor: default; }
/* A studio's timetable: the coming days in a strip, each day's sessions as rows with the hour in front. */
.tt .days { padding-bottom: 8px; }
.tt .days[hidden] { display: none; }
.tt .svc-group { margin-top: 22px; }
.tt > .tt-day:first-child .svc-group, .tt .days + .tt-day .svc-group, .tt.tt-on .svc-group { margin-top: 6px; }
.service .s-time { flex: none; min-width: 3em; display: flex; flex-direction: column; line-height: 1.3; font-variant-numeric: tabular-nums; }
.service .s-time b { font-weight: 700; font-size: 1.05rem; }
.service .s-time small { color: var(--muted); font-size: .8rem; }
.service .s-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: end; }
.service .s-left { color: var(--muted); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.service .s-left.few { color: var(--warn); }
/* A full session still leads somewhere, its waiting list: the same dashed edge as among the times. */
.service.session.full .s-go { background: none; padding: 5.5px 12.5px; border: 1.5px dashed var(--accent-text); border-color: color-mix(in srgb, var(--accent-text) 45%, var(--line)); }
.service.session.full .s-time b { color: var(--muted); }
.svc-group { margin: 26px 2px 10px; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); scroll-margin-top: 18px; }
.svc-jump { display: flex; gap: 8px; margin: 0 0 4px; padding-bottom: 6px; overflow-x: auto; scrollbar-width: none; }
.svc-jump::-webkit-scrollbar { display: none; }
.svc-jump .chip { flex: none; }
.svc-jump .chip:hover { border-color: var(--accent-text); color: var(--accent-text); }
.sheet .svc-group { margin: 16px 2px 8px; }
.sheet .svc-group:first-child { margin-top: 2px; }

/* Hebrew: a page written from right to left. Rows, grids and lines of text turn round by themselves; what follows is the rest. */
[dir=rtl] .trap { left: auto; right: -9999px; }
[dir=rtl] .rv-reply { border-radius: 12px 0 0 12px; }
/* The stars fill from the side the line starts on. */
[dir=rtl] .rv-stars { transform: scaleX(-1); }
/* A phone number, an email and a code are typed from left to right on any page; on this one they still sit where a line starts. */
[dir=rtl] input[type=tel], [dir=rtl] input[type=email], [dir=rtl] #code, [dir=rtl] #last { direction: ltr; text-align: right; }
input.otp { direction: ltr; }
/* The name online.cy is read from left to right wherever it stands. */
[dir=rtl] .brand { direction: ltr; }
/* The heaviest weight has no Hebrew letters in the fonts a Windows machine carries, and its stand-in is of another family: one step lighter keeps a heading in the page's own letters. */
[dir=rtl] h1, [dir=rtl] .avatar, [dir=rtl] .rv-avg b { font-weight: 700; }
