/* online.cy — home page, site header and footer. Loaded after app.css. */

/* Header: a logo mark, section links, and a version for dark backgrounds */
.top { padding: 18px var(--gutter); max-width: 1180px; }
.wrap { max-width: 1180px; }
.brand { display: inline-flex; align-items: center; gap: 0; font-size: 1.35rem; }
.brand::before {
	content: ""; width: 30px; height: 30px; border-radius: 9px; flex: none; margin-inline-end: 9px;
	background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='30' cy='31' r='13' fill='none' stroke='%23fff' stroke-width='7'/%3E%3Ccircle cx='49' cy='47' r='5' fill='%23fff'/%3E%3C/svg%3E") center/100% no-repeat;
}
.top nav { gap: 22px; }
.top nav .link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .8; }
.top nav .link:hover { opacity: 1; }
.top.on-dark .brand, .top.on-dark nav .link, .top.on-dark .lang, .top.on-dark .quiet { color: #fff; }
.top.on-dark .brand span { color: #7fe0d6; }
.top.on-dark .brand::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='30' cy='31' r='13' fill='none' stroke='%230e6b6b' stroke-width='7'/%3E%3Ccircle cx='49' cy='47' r='5' fill='%230e6b6b'/%3E%3C/svg%3E"); }
.top.on-dark .btn.small { background: #fff; color: #0b4a4b; }
@media (max-width: 760px) { .top nav .link { display: none; } }

/* Hero */
.hero-wrap {
	color: #fff; position: relative; overflow: hidden;
	background:
		radial-gradient(900px 500px at 85% 10%, rgba(127, 224, 214, .28), transparent 60%),
		radial-gradient(700px 500px at 0% 100%, rgba(255, 196, 120, .14), transparent 60%),
		linear-gradient(160deg, #06292b 0%, #0b4a4b 55%, #0e6b6b 100%);
}
.hero-wrap::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.hero-wrap > * { position: relative; z-index: 1; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-block: clamp(28px, 5vw, 64px) clamp(56px, 8vw, 110px); }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -.03em; margin-bottom: 18px; }
.hero p.lead { color: rgba(255, 255, 255, .82); font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 32em; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); font-size: .85rem; font-weight: 600; margin-bottom: 20px; }
.hero .claim { margin: 28px 0 0; max-width: 540px; }
.hero .claim label { color: rgba(255, 255, 255, .85); }
.hero .claim-box { background: #fff; border: 0; padding: 6px 6px 6px 18px; border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .28); }
.hero .claim-box input { color: #1b1d1f; min-height: 52px; font-size: 1.05rem; }
.hero .claim-box input::placeholder { color: #8a9096; }
.hero .claim-box .btn { background: #0e6b6b; color: #fff; min-height: 52px; padding: 0 26px; }
.hero .claim-out { color: #fff; font-size: 1.15rem; }
.hero .claim-out b { color: #7fe0d6; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: #7fe0d6; font-weight: 800; }
.ticks.dark { color: var(--ink); flex-direction: column; gap: 10px; margin-top: 18px; }
.ticks.dark li::before { color: var(--accent-text); }

/* The product, drawn in CSS so it is sharp at any size and costs no image download */
.hero-art { position: relative; height: 520px; }
.phone { position: absolute; left: 56%; top: 0; transform: translateX(-50%) rotate(-3deg); width: 290px; background: #faf7f2; color: #1b1d1f; border-radius: 34px; border: 8px solid #10181a; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); overflow: hidden; }
.phone-bar { background: #10181a; color: #cfd6d8; font-size: .72rem; text-align: center; padding: 6px 0 9px; }
.phone-bar span { background: #263033; border-radius: 99px; padding: 3px 14px; }
.phone-cover { height: 96px; background: linear-gradient(135deg, #0e6b6b, #063a3b); }
.phone-card { margin: -26px 14px 0; background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 8px 24px rgba(27, 29, 31, .1); position: relative; }
.phone-card strong { display: block; font-size: 1.05rem; letter-spacing: -.01em; }
.phone-card small { color: #62686e; font-size: .74rem; }
.phone-card em { font-style: normal; color: #1e7b4a; font-weight: 700; }
.phone-btn { display: block; text-align: center; background: #0e6b6b; color: #fff; font-weight: 700; border-radius: 11px; padding: 11px; margin-top: 12px; font-size: .9rem; }
.phone-list { margin: 12px 14px 18px; background: #fff; border-radius: 14px; border: 1px solid #e7e1d8; }
.phone-list div { display: flex; justify-content: space-between; align-items: center; padding: 10px 13px; }
.phone-list div + div { border-top: 1px solid #efeae2; }
.phone-list b { display: block; font-size: .86rem; }
.phone-list small { color: #62686e; font-size: .72rem; }
.phone-list i { font-style: normal; font-weight: 800; font-size: .88rem; }
.float { position: absolute; background: #fff; color: #1b1d1f; border-radius: 16px; padding: 13px 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); font-size: .88rem; }
.float small { display: block; color: #62686e; font-size: .76rem; }
.float-new { left: 0; top: 38px; display: flex; gap: 11px; align-items: center; transform: rotate(-2deg); }
.float-new .dot { width: 34px; height: 34px; border-radius: 50%; background: #1e7b4a; color: #fff; display: grid; place-items: center; font-weight: 800; }
.float-day { right: 0; bottom: 34px; transform: rotate(3deg); min-width: 190px; }
.float-day small { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.float-day div { padding: 5px 0; border-top: 1px solid #efeae2; }
.float-day b { font-variant-numeric: tabular-nums; margin-right: 6px; }
@media (max-width: 900px) {
	.hero { grid-template-columns: 1fr; gap: 36px; }
	.hero-art { height: 470px; max-width: 420px; margin: 0 auto; width: 100%; }
	.float-new { left: -4px; }
	.float-day { right: -4px; }
}

/* "Made for" strip */
.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-block: 16px; font-size: .92rem; }
.strip span { color: var(--muted); font-weight: 600; margin-right: 6px; }
.strip a { padding: 6px 14px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.strip a:hover { border-color: var(--accent-text); color: var(--accent-text); }

/* Sections */
.section { padding-block: clamp(44px, 7vw, 88px); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.025em; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 34px; max-width: 36em; }
.section-title + .grid3, .section-title + .faq-list { margin-top: 36px; }
.grid3 { gap: 22px; }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.benefit .icon { width: 50px; height: 50px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; }
.benefit .icon svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.2rem; margin: 18px 0 8px; }
.kicker { color: var(--accent-text); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.025em; margin: 10px 0 12px; }
.split.flip > :first-child { order: 2; }
.showcase { background: linear-gradient(160deg, var(--accent-soft), var(--surface)); border: 1px solid var(--line); border-radius: 26px; padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow); }
.mini-days { display: flex; gap: 8px; margin-bottom: 14px; }
.mini-days span { flex: 1; background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; text-align: center; padding: 8px 0; }
.mini-days small { display: block; color: var(--muted); font-size: .72rem; }
.mini-days .on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.mini-days .on small { color: inherit; opacity: .85; }
.mini-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mini-times span { background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; text-align: center; padding: 10px 0; font-weight: 650; font-variant-numeric: tabular-nums; font-size: .92rem; }
.mini-times .on { border-color: var(--accent-text); color: var(--accent-text); box-shadow: 0 0 0 3px var(--accent-soft); }
.mini-times .off { opacity: .35; text-decoration: line-through; }
.showcase .phone-btn { background: var(--accent); color: var(--accent-ink); margin-top: 16px; padding: 14px; font-size: 1rem; }
.mini-bk { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; }
.mini-bk + .mini-bk { margin-top: 10px; }
.mini-bk b { font-variant-numeric: tabular-nums; font-weight: 800; }
.mini-bk span { flex: 1; }
.mini-bk strong { display: block; }
.mini-bk small { color: var(--muted); }
.mini-bk i { font-style: normal; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); }
.mini-bk i.came { background: var(--ok); color: #fff; }
.mini-bk.ok { opacity: .7; }
@media (max-width: 820px) {
	.split { grid-template-columns: 1fr; }
	.split.flip > :first-child { order: 0; }
}

/* Numbers band */
.band { background: linear-gradient(160deg, #06292b, #0b4a4b); color: #fff; padding-block: clamp(40px, 6vw, 72px); }
.band .facts { gap: clamp(20px, 4vw, 56px); }
.band .fact b { font-size: clamp(2.6rem, 5vw, 3.6rem); color: #7fe0d6; line-height: 1; margin-bottom: 10px; }
.band .fact p { margin: 0; font-size: 1.05rem; }
.band .fact small { color: rgba(255, 255, 255, .6); }

/* Prices */
.plans { gap: 22px; align-items: stretch; max-width: 1020px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; padding: 28px; border-radius: 22px; }
.plan h3 { font-size: 1.15rem; margin-top: 6px; }
.plan .price { font-size: 2.8rem; margin-bottom: 0; }
.plan .price-year { margin: 2px 0 14px; font-size: .9rem; color: var(--muted); }
.plan ul { flex: 1; margin-bottom: 22px; }
.plan.best { transform: translateY(-8px); }
.btn.light { background: #fff; color: #0b4a4b; }

/* Questions */
.faq-list { max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 6px 24px; }
.faq-list details:first-child { border-top: 0; }
.faq summary { font-size: 1.05rem; padding: 4px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent-text); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }

/* Closing band and footer */
.cta-band { background: linear-gradient(135deg, #0b4a4b, #0e6b6b); color: #fff; border-radius: 28px; padding: clamp(32px, 6vw, 64px); }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.025em; }
.cta-band p { color: rgba(255, 255, 255, .8); margin-bottom: 22px; }
.foot { max-width: none; margin: 72px 0 0; padding: 0; border: 0; background: #0b1416; color: #9aa4a8; }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 48px var(--gutter) 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot .brand { color: #fff; }
.foot .brand span { color: #7fe0d6; }
.foot h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.foot a { color: #c5cdd0; text-decoration: none; display: block; padding: 4px 0; }
.foot a:hover { color: #fff; }
.foot-langs a { display: inline; }
.foot-legal { max-width: 1180px; margin: 0 auto; padding: 18px var(--gutter) 32px; border-top: 1px solid #1c282b; font-size: .82rem; }
@media (max-width: 700px) { .foot-in { grid-template-columns: 1fr; } }
.plan .tag { align-self: flex-start; margin-bottom: 4px; }
@media (max-width: 520px) {
	.top nav { gap: 12px; }
	.top .btn.small { white-space: nowrap; padding: 0 12px; font-size: .82rem; }
	.brand { font-size: 1.15rem; }
	.plan.best { transform: none; }
}

/* Hero builder: what-you-do chips, a photo on the phone, and the shop's own colour */
.kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.kinds button { font: inherit; font-size: .9rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 99px; padding: 7px 15px; cursor: pointer; transition: background .15s, color .15s; }
.kinds button:hover { background: rgba(255, 255, 255, .2); }
.kinds button[aria-pressed=true] { background: #fff; color: #0b4a4b; border-color: #fff; }
.phone { --pa: #0e6b6b; }
.phone-cover { background-color: var(--pa); background-size: cover; background-position: center; height: 118px; transition: background-image .3s; }
.phone .phone-btn { background: var(--pa); transition: background .3s; }
.phone-bar b { font-weight: 600; }
.phone.swap .phone-card, .phone.swap .phone-list { animation: swap .45s ease; }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes pop { 0% { opacity: 0; scale: .8; } 60% { scale: 1.04; } 100% { opacity: 1; scale: 1; } }
.float-new { animation: pop .6s .5s both, bob 6s 1.2s ease-in-out infinite; }
.float-day { animation: pop .6s .9s both, bob 7s 1.6s ease-in-out infinite; }
.phone { animation: rise .8s ease both; }
@keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
.hero-copy > * { animation: rise .7s ease both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.reveal { opacity: 0; translate: 0 28px; transition: opacity .7s ease, translate .7s ease; }
.reveal.in { opacity: 1; translate: 0 0; }

/* Example shops */
.examples { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.example { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.example:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(27, 29, 31, .14); }
.example .shot { display: block; height: 170px; background-size: cover; background-position: center; }
/* Top-aligned, so a name that runs to two lines does not push its card's logo out of line with its neighbours'. */
.ex-body { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px 18px; }
.ex-body .avatar { width: 46px; height: 46px; font-size: 1.25rem; border-radius: 14px; margin-top: -40px; border: 3px solid var(--surface); box-shadow: none; }
.ex-body > span:nth-child(2) { flex: 1; min-width: 0; }
.ex-body strong { display: block; }
.ex-body small { color: var(--muted); }
.ex-body em { font-style: normal; font-weight: 700; font-size: .85rem; color: var(--accent-text); white-space: nowrap; }

/* Comparison */
.compare { max-width: 900px; margin: 34px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-size: .9rem; color: var(--muted); }
.compare tbody th { text-align: left; font-weight: 600; }
.compare .us { background: var(--accent-soft); color: var(--accent-text); font-weight: 800; }
.compare thead .us { font-size: 1.05rem; }
.compare .yes { color: var(--ok); font-weight: 800; font-size: 1.1rem; }
.compare td.us.yes { color: var(--accent-text); }
.compare .no { color: var(--muted); }

/* Example-shop notice */
.demo-bar { background: #10181a; color: #fff; text-align: center; font-size: .9rem; padding: 9px 16px; }
.demo-bar a { color: #7fe0d6; font-weight: 700; margin-inline-start: 8px; text-decoration: none; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
	.float, .phone, .hero-copy > *, .phone.swap .phone-card, .phone.swap .phone-list { animation: none !important; }
	.reveal { opacity: 1; translate: none; transition: none; }
}
.ex-body { flex-wrap: wrap; flex: 1; align-content: space-between; }
.example { display: flex; flex-direction: column; }
.ex-body em { flex-basis: 100%; padding-top: 4px; }

/* Sign-up and login: the form beside a live preview */
body.authp { background: var(--surface); }
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 100vh; min-height: 100dvh; }
.auth-side { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; color: #fff; padding: 28px clamp(24px, 4vw, 56px) 36px; display: flex; flex-direction: column;
	background: radial-gradient(700px 420px at 90% 0%, rgba(127, 224, 214, .28), transparent 60%), linear-gradient(160deg, #06292b 0%, #0b4a4b 55%, #0e6b6b 100%); }
.auth-side .brand { color: #fff; }
.auth-side .brand span { color: #7fe0d6; }
.auth-side .brand::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='30' cy='31' r='13' fill='none' stroke='%230e6b6b' stroke-width='7'/%3E%3Ccircle cx='49' cy='47' r='5' fill='%230e6b6b'/%3E%3C/svg%3E"); }
.auth-art { position: relative; flex: 1; min-height: 420px; }
.auth-art .phone { left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-3deg); }
.auth-quote { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.3; margin: 0; max-width: 22em; }
main.auth { padding: 22px clamp(20px, 5vw, 72px) 48px; max-width: 620px; width: 100%; justify-self: center; align-self: center; }
.auth-top { display: flex; justify-content: flex-end; gap: 18px; margin-bottom: 26px; }
main.auth h1 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); letter-spacing: -.025em; }
@media (max-width: 900px) {
	.auth-wrap { grid-template-columns: 1fr; }
	.auth-side { position: static; height: auto; padding: 18px var(--gutter); }
	.auth-art, .auth-quote { display: none; }
	main.auth { padding-top: 16px; }
}

/* Inner-page title band */
.subhero-in { padding-block: clamp(14px, 3vw, 34px) clamp(34px, 5vw, 60px); }
.subhero h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 12px; }
.subhero p { color: rgba(255, 255, 255, .8); max-width: 42em; margin: 0; font-size: 1.05rem; }
.subhero-actions { margin-top: 26px !important; display: flex; flex-wrap: wrap; gap: 10px; }
.btn.glass { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.filters { margin-top: 26px; display: grid; gap: 10px; }
.filters .chips { margin: 0; }
.filters .chip { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }
.filters .chip:hover { background: rgba(255, 255, 255, .2); }
.filters .chip.on { background: #fff; border-color: #fff; color: #0b4a4b; }
/* The places inside a district that have a shop, each with how many: a quieter row under the towns and trades. */
.filters .chip small { font-weight: 700; margin-inline-start: 3px; opacity: .7; }
.chips-areas .chip { padding: 5px 12px; font-size: .86rem; }

/* Directory cards */
.shopgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.shopcard { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.shopcard:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(27, 29, 31, .14); }
.shopcard .shot { display: block; height: 160px; background: linear-gradient(135deg, var(--accent), var(--accent)) center/cover; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #000)) center/cover; }
.sc-body { display: block; padding: 0 18px 18px; }
.sc-body .avatar { width: 52px; height: 52px; font-size: 1.35rem; border-radius: 16px; margin-top: -26px; border: 3px solid var(--surface); box-shadow: none; position: relative; }
.sc-body strong { display: block; font-size: 1.1rem; margin-top: 8px; }
.sc-body small { color: var(--muted); }
.sc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); min-height: 40px; }
.sc-foot em { font-style: normal; font-weight: 700; }
.empty-state { max-width: 560px; margin: 0 auto; text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: 26px; padding: clamp(28px, 5vw, 52px); }
.empty-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 14px; }
.empty-icon svg { width: 40px; height: 40px; }
.empty-state h2 { font-size: 1.5rem; }
.example .avatar, .ex-body .avatar { object-fit: cover; }

/* Real shops on the home page, and the few lines under a town or trade list */
.find-places { justify-content: center; margin: 0 0 10px; }
.find .shopgrid { margin-top: 30px; }
@media (max-width: 620px) { .find .shopcard:nth-child(n+5) { display: none; } }
.find-places .chip small { color: var(--muted); font-weight: 700; margin-inline-start: 3px; }
.find-places .chip:hover { border-color: var(--accent-text); }
.dir-about { max-width: 46em; margin-top: clamp(40px, 7vw, 72px); }
.dir-about h2 { font-size: 1.35rem; letter-spacing: -.015em; margin-bottom: 12px; }
.dir-about p { color: var(--muted); margin: 0 0 12px; }

/* Terms and privacy */
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding-block: clamp(32px, 5vw, 64px); align-items: start; }
.legal-toc { position: sticky; top: 24px; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.legal-toc a { padding: 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 600; }
.legal-toc a:hover { color: var(--accent-text); border-left-color: var(--accent-text); }
.legal { max-width: 720px; }
.legal section { scroll-margin-top: 24px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal section:last-child { border-bottom: 0; }
.legal h2 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin: 0 0 12px; }
.legal h2 span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); font-size: .9rem; }
.legal p { font-size: 1.02rem; line-height: 1.7; margin: 0; }
@media (max-width: 800px) {
	.legal-grid { grid-template-columns: 1fr; }
	.legal-toc { position: static; display: none; }
}

/* The customer's booking page */
body.managep { background: linear-gradient(180deg, var(--accent-soft) 0, var(--bg) 320px); min-height: 100vh; min-height: 100dvh; }
.manage { max-width: 520px; margin: 0 auto; padding: clamp(20px, 5vw, 48px) var(--gutter) 40px; }
.mg-shop { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-bottom: 18px; }
.mg-shop strong { display: block; }
.mg-shop small { color: var(--muted); }
.mg-shop .avatar { width: 46px; height: 46px; font-size: 1.2rem; border-radius: 14px; box-shadow: none; }
.mg-card { border-radius: 24px; padding: clamp(20px, 4vw, 30px); }
.mg-state { display: inline-block; font-size: .8rem; font-weight: 700; padding: 5px 13px; border-radius: 99px; background: var(--accent-soft); background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.mg-card.cancelled .mg-state { background: var(--accent-soft); background: color-mix(in srgb, var(--danger) 13%, transparent); color: var(--danger); }
.mg-card.past .mg-state { background: var(--line); color: var(--muted); }
/* The booking's code, level with its state: small, and set so that it reads letter by letter. Under the state where both do not fit. */
.mg-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.mg-code { font-size: .82rem; color: var(--muted); }
.mg-code b { color: var(--ink); font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.mg-when { display: flex; gap: 18px; align-items: center; margin: 18px 0; }
.mg-date { flex: none; width: 82px; text-align: center; border-radius: 18px; overflow: hidden; background: var(--accent); color: var(--accent-ink); padding: 8px 0 10px; }
.mg-date small { display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.mg-date b { display: block; font-size: 2.1rem; line-height: 1.1; font-weight: 800; }
.mg-card.cancelled .mg-date, .mg-card.past .mg-date { background: var(--line); color: var(--muted); }
.mg-what strong { display: block; font-size: 1.5rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mg-card.cancelled .mg-what strong { text-decoration: line-through; color: var(--muted); }
.mg-what span { display: block; font-weight: 650; }
.mg-what small { color: var(--muted); }
.mg-line { margin: 0 0 8px; }
.mg-note { background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; margin: 12px 0 0; font-size: .95rem; }
.mg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.mg-actions .btn { flex: 1 1 auto; }
.mg-move { margin: 14px 0 0; }
.mg-cancel { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.link-btn { font: inherit; background: none; border: 0; padding: 0; color: var(--danger); font-weight: 700; cursor: pointer; text-decoration: underline; }

/* A gift voucher bought on a shop's page: the form with its card beside it, and the order's own page */
.gift-buy { max-width: 960px; margin: 0 auto; padding: clamp(20px, 5vw, 48px) var(--gutter) 40px; }
.gb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 36px; align-items: start; }
.gb-h, .gp-h { margin: 0 0 6px; font-size: clamp(1.5rem, 4vw, 1.9rem); letter-spacing: -.02em; }
.gp-h { margin-top: 18px; }
.gb-lead, .gp-lead { margin: 0 0 20px; color: var(--muted); }
.gb-kinds { display: flex; gap: 8px; margin: 0 0 18px; }
.gb-kinds .chip, .gb-quick .chip { font: inherit; font-size: .92rem; font-weight: 650; cursor: pointer; }
.gb-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.gb-sub { margin: 26px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 1.05rem; }
.gb-form .btn.block { margin-top: 6px; }
.gb-how { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.gb-how a { color: inherit; }
.gb-side { position: sticky; top: 24px; }
.gb-pic { aspect-ratio: 4 / 5; border-radius: 18px; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 14px 36px rgba(0, 0, 0, .14); overflow: hidden; }
.gb-pic canvas, .gp-pic canvas { display: block; width: 100%; height: auto; }
.gb-note { margin: 14px 4px 0; font-size: .85rem; color: var(--muted); text-align: center; }
.gb-owner { margin: 18px 4px 0; font-size: .88rem; text-align: center; }
.gb-owner a { color: var(--muted); }
/* The voucher's link, under its card: what is sent on with it */
.gp-link { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
.gp-link span { flex: 1 1 220px; }
.gp-pic { max-width: 330px; margin: 4px auto 0; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 14px 36px rgba(0, 0, 0, .14); }
.gp-pic:empty { aspect-ratio: 4 / 5; background: var(--surface); }
.gp-facts { margin-top: 22px; }
.gp-code { font-size: 1.15rem; font-weight: 800; letter-spacing: .1em; }
.gift-page .mg-code b { letter-spacing: 0; }
.gift-page .dep-box h3 { margin-bottom: 12px; }
.side-gift { margin-top: 16px; }
@media (max-width: 820px) {
	.gb-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.gb-side { position: static; order: -1; width: 100%; max-width: 250px; margin: 0 auto; }
	.gb-note { display: none; }
}

/* The customer's page while the shop has still to answer */
.mg-card.pending .mg-state { background: var(--warn-soft); color: var(--warn); }
.mg-card.pending .mg-date { background: var(--warn-soft); color: var(--warn); }
