/* =====================================================================
 * BilalBook – client booking app. Shares tokens, buttons, inputs, badges,
 * toast and theming with app.css; this file only adds the client layout.
 * ===================================================================== */

/* ---- shell: fixed to the visible screen, only the middle scrolls ---- */
.bbc-app {
	position: fixed; left: 0; right: 0; top: var(--bb-vt, 0px); height: var(--bb-vh, 100%);
	display: flex; flex-direction: column; overflow: hidden;
	max-width: 640px; margin: 0 auto; background: var(--bb-bg);
}
@media (min-width: 700px) and (max-width: 959.98px) { .bbc-app { border-inline: 1px solid var(--bb-line); box-shadow: var(--bb-shadow); } }
.bbc-top {
	flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
	background: var(--bb-surface); border-bottom: 1px solid var(--bb-line);
}
.bbc-brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--bb-text); text-decoration: none; font-weight: 800; font-size: 17px; }
.bbc-brand img { width: 34px; height: 34px; border-radius: 10px; object-fit: contain; }
.bbc-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bbc-top-actions { display: flex; gap: 8px; }
.bbc-top .bb-lang select { width: 0; padding: 0; position: absolute; inset: 0; width: 100%; opacity: 0; }
.bbc-top .bb-lang { width: 38px; justify-content: center; padding: 0; }
.bbc-scroll {
	flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
.bbc-view { display: block; min-width: 0; padding: 18px 16px 28px; }
.bbc-side { display: none; }
.bbc-row2 { display: grid; gap: 0 12px; }
.bbc-cta { flex: none; padding: 10px 16px; background: var(--bb-surface); border-top: 1px solid var(--bb-line); }
.bbc-cta[hidden] { display: none; }
.bbc-go { height: 52px; font-size: 16px; border-radius: 14px; justify-content: space-between; padding: 0 18px; }
.bbc-go span { font-weight: 800; }
button.bbc-go[type="submit"] { justify-content: center; }
.bbc-nav {
	flex: none; display: flex; padding: 6px 6px max(6px, env(safe-area-inset-bottom));
	background: var(--bb-surface); border-top: 1px solid var(--bb-line);
}
.bbc-nav a {
	flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px;
	font-size: 11px; font-weight: 600; color: var(--bb-muted); text-decoration: none; transition: transform .12s;
}
.bbc-nav a.active { color: var(--bb-primary); }
.bbc-nav a:active { transform: scale(.92); }
html.bb-kb .bbc-nav { display: none; }

/* ---- steps ---- */
.bbc-progress { flex: none; display: flex; gap: 6px; padding: 10px 16px 0; background: var(--bb-bg); }
.bbc-progress[hidden] { display: none; }
.bbc-progress span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.bbc-progress i { display: block; height: 4px; border-radius: 4px; background: var(--bb-line); transition: background .25s; }
.bbc-progress .done i, .bbc-progress .on i { background: var(--bb-primary); }
.bbc-progress b { font-size: 11px; font-weight: 600; color: var(--bb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbc-progress .on b { color: var(--bb-text); }

.bbc-hero {
	padding: 22px 20px; border-radius: 20px; margin-bottom: 18px; color: #fff;
	background: radial-gradient(500px 220px at 0% 0%, rgba(255,255,255,.2), transparent 60%),
		linear-gradient(135deg, var(--bb-primary), color-mix(in srgb, var(--bb-primary) 55%, #0f172a));
}
.bbc-hero h1 { margin: 0 0 6px; font-size: 24px; line-height: 1.2; }
.bbc-hero p { margin: 0; opacity: .9; }
.bbc-title { margin: 4px 0 14px; font-size: 24px; }
.bbc-h { margin: 18px 0 10px; font-size: 15px; font-weight: 800; }
.bbc-h:first-child { margin-top: 0; }
.bbc-sub { margin: 14px 0 8px; font-size: 12px; font-weight: 700; color: var(--bb-muted); text-transform: uppercase; letter-spacing: .05em; }
html[lang="ar"] .bbc-sub { letter-spacing: 0; }
.bbc-list { display: grid; gap: 10px; }

/* service card */
.bbc-svc, .bbc-person {
	display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; text-align: start;
	background: var(--bb-surface); border: 1.5px solid var(--bb-line); border-radius: 16px; box-shadow: var(--bb-shadow);
	color: var(--bb-text); font: inherit; cursor: pointer; transition: transform .12s, border-color .15s;
}
.bbc-svc:active, .bbc-person:active { transform: scale(.98); }
.bbc-svc.on, .bbc-person.on { border-color: var(--bb-primary); box-shadow: 0 0 0 3px rgba(var(--bb-primary-rgb), .15); }
.bbc-svc img, .bbc-svc-dot { flex: none; width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.bbc-svc-dot {
	display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px;
	color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent);
}
.bbc-svc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bbc-svc-main b { font-size: 15px; }
.bbc-svc-main small { color: var(--bb-muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bbc-svc-main em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--bb-muted); }
.bbc-svc-main em .bb-ico { width: 14px; height: 14px; }
.bbc-price { flex: none; font-weight: 800; color: var(--bb-primary); }
.bbc-person span:last-child { display: flex; flex-direction: column; }
.bbc-person small { color: var(--bb-muted); font-size: 13px; }
.bbc-avatar.any { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(var(--bb-primary-rgb), .12); color: var(--bb-primary); }

/* extras (optional add-ons) */
.bbc-lead { margin: -4px 0 14px; color: var(--bb-muted); font-size: 14px; }
.bbc-extra {
	display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; text-align: start;
	background: var(--bb-surface); border: 1.5px solid var(--bb-line); border-radius: 16px; box-shadow: var(--bb-shadow);
	color: var(--bb-text); cursor: pointer; user-select: none; -webkit-user-select: none; transition: transform .12s, border-color .15s, background .15s;
}
.bbc-extra:active { transform: scale(.98); }
.bbc-extra:focus-visible { outline: 2px solid rgba(var(--bb-primary-rgb), .5); outline-offset: 2px; }
.bbc-extra.on { border-color: var(--bb-primary); background: color-mix(in srgb, var(--bb-primary) 6%, var(--bb-surface)); box-shadow: 0 0 0 3px rgba(var(--bb-primary-rgb), .15); }
.bbc-extra-check {
	flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	border: 1.5px solid var(--bb-line-strong); color: var(--bb-muted); transition: background .15s, color .15s, border-color .15s;
}
.bbc-extra-check .bb-ico { width: 16px; height: 16px; stroke-width: 2.5; }
.bbc-extra.on .bbc-extra-check { background: var(--bb-primary); border-color: var(--bb-primary); color: #fff; }
.bbc-extra-end { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.bbc-qty { display: inline-flex; align-items: center; border: 1px solid var(--bb-line); border-radius: 999px; background: var(--bb-surface); overflow: hidden; }
.bbc-qty button { width: 32px; height: 30px; border: 0; background: none; color: var(--bb-primary); font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; }
.bbc-qty button:disabled { color: var(--bb-line-strong); cursor: default; }
.bbc-qty b { min-width: 18px; text-align: center; font-size: 14px; }
.bbc-go.bbc-center { justify-content: center; }
.bbc-bk-main .bbc-bk-extras { color: var(--bb-primary); font-weight: 600; }

/* summary pills */
.bbc-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.bbc-pill {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 600;
	background: var(--bb-surface); border: 1px solid var(--bb-line);
}
.bbc-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--bb-primary)); }
.bbc-pill .bb-ico { width: 15px; height: 15px; color: var(--bb-muted); }
.bbc-change { margin-inline-start: auto; font-size: 13px; font-weight: 700; text-decoration: none; }

/* days strip */
.bbc-days { position: relative; }
.bbc-arrow { display: none; }
.bbc-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -16px; padding-inline: 16px; scroll-snap-type: x proximity; }
.bbc-month {
	flex: none; align-self: stretch; display: flex; align-items: center; writing-mode: vertical-rl; transform: rotate(180deg);
	font-style: normal; font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--bb-muted);
}
.bbc-day {
	flex: none; width: 58px; padding: 10px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 2px;
	border: 1.5px solid var(--bb-line); border-radius: 16px; background: var(--bb-surface); color: var(--bb-text);
	font: inherit; cursor: pointer; scroll-snap-align: center; transition: transform .12s;
}
.bbc-day small { font-size: 11px; color: var(--bb-muted); font-weight: 600; text-transform: capitalize; }
.bbc-day b { font-size: 19px; }
.bbc-day:disabled { opacity: .38; cursor: default; }
.bbc-day:not(:disabled):active { transform: scale(.94); }
.bbc-day.on { background: var(--bb-primary); border-color: var(--bb-primary); color: #fff; }
.bbc-day.on small { color: rgba(255,255,255,.85); }
.bbc-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--bb-ok); }
.bbc-dot.none { background: transparent; }
.bbc-day.on .bbc-dot { background: #fff; }

/* times */
.bbc-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bbc-time {
	height: 44px; border: 1.5px solid var(--bb-line); border-radius: 12px; background: var(--bb-surface);
	color: var(--bb-text); font: inherit; font-weight: 700; cursor: pointer; transition: transform .12s;
}
.bbc-time:active { transform: scale(.94); }
.bbc-time.on { background: var(--bb-primary); border-color: var(--bb-primary); color: #fff; box-shadow: 0 6px 16px rgba(var(--bb-primary-rgb), .3); }
@media (max-width: 360px) { .bbc-times { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* form */
.bbc-form .bb-input { font-size: 16px; min-height: 48px; border-radius: 12px; }
.bbc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* done */
.bbc-done { text-align: center; padding: 12px 8px 18px; }
.bbc-done-ico {
	width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: var(--bb-warn-bg); color: var(--bb-warn-fg); animation: bbc-pop .5s cubic-bezier(.2, 1.6, .4, 1);
}
.bbc-done.ok .bbc-done-ico { background: var(--bb-ok-bg); color: var(--bb-ok); }
.bbc-done-ico .bb-ico { width: 38px; height: 38px; stroke-width: 2.5; }
.bbc-done h1 { margin: 0 0 6px; font-size: 24px; }
.bbc-done p { margin: 0; color: var(--bb-muted); }
@keyframes bbc-pop { from { transform: scale(.3); opacity: 0; } }
.bbc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }

/* booking card */
.bbc-bk {
	display: flex; align-items: center; gap: 14px; padding: 14px; margin-bottom: 10px;
	background: var(--bb-surface); border: 1px solid var(--bb-line); border-inline-start: 4px solid var(--c);
	border-radius: 16px; box-shadow: var(--bb-shadow);
}
.bbc-bk-date { flex: none; width: 52px; text-align: center; padding: 6px 0; border-radius: 12px; background: var(--bb-surface-2); }
.bbc-bk-date b { display: block; font-size: 20px; line-height: 1.1; }
.bbc-bk-date small { font-size: 11px; font-weight: 700; color: var(--bb-muted); text-transform: uppercase; }
.bbc-bk-main { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.bbc-bk-main span { font-size: 13px; color: var(--bb-muted); }
.bbc-bk-main .bb-badge { margin-top: 4px; }
.bbc-bk-act { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.bbc-past .bbc-bk { opacity: .7; }

/* contact */
.bbc-contact { margin-top: 18px; display: grid; gap: 10px; }
.bbc-contact-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bbc-contact-btns .bb-btn:only-child { grid-column: 1 / -1; }
.bbc-wa { background: #25d366; color: #fff; }
.bbc-address {
	display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; text-decoration: none; color: var(--bb-text);
	background: var(--bb-surface); border: 1px solid var(--bb-line);
}
.bbc-address .bb-ico { color: var(--bb-primary); }
.bbc-address span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bbc-address small { color: var(--bb-muted); }
.bbc-address em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--bb-primary); }
.bbc-about { text-align: center; padding: 10px 0; }
.bbc-about img { width: 84px; height: 84px; border-radius: 22px; object-fit: contain; box-shadow: var(--bb-shadow); background: var(--bb-surface); }
.bbc-about h1 { margin: 12px 0 0; font-size: 22px; }
.bbc-get-big { margin-top: 18px; height: 50px; }

/* ---- "Get the app" banner (top, like a store banner) ---- */
.bbc-banner {
	display: flex; align-items: center; gap: 12px; margin: 10px 12px 0; padding: 10px 10px 10px 12px;
	background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: 16px; box-shadow: var(--bb-shadow-lg);
	animation: bbc-drop .35s ease-out;
}
.bbc-banner img { flex: none; width: 44px; height: 44px; border-radius: 11px; object-fit: contain; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.bbc-banner div { flex: 1; min-width: 0; }
.bbc-banner b { display: block; font-size: 14px; }
.bbc-banner small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; color: var(--bb-muted); line-height: 1.35; }
.bbc-banner .bb-btn { border-radius: 999px; padding: 8px 16px; }
.bbc-x { flex: none; border: 0; background: none; color: var(--bb-muted); padding: 4px; cursor: pointer; }
.bbc-x .bb-ico { width: 18px; height: 18px; }
@keyframes bbc-drop { from { transform: translateY(-20px); opacity: 0; } }

/* ---- bottom sheet with install steps ---- */
.bbc-sheet { position: fixed; left: 0; right: 0; top: var(--bb-vt, 0px); height: var(--bb-vh, 100%); z-index: 1000; display: flex; align-items: flex-end; justify-content: center; }
.bbc-sheet[hidden] { display: none; }
.bbc-sheet-bg { position: absolute; inset: 0; background: rgba(2, 6, 23, .55); animation: bb-fade .2s; }
.bbc-sheet-box {
	position: relative; width: 100%; max-width: 640px; max-height: 90%; overflow-y: auto;
	padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); background: var(--bb-surface);
	border-radius: 24px 24px 0 0; animation: bb-sheet .28s ease-out;
}
.bbc-sheet.point .bbc-sheet-box { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
.bbc-grip { display: block; width: 40px; height: 5px; border-radius: 5px; background: var(--bb-line-strong); margin: 0 auto 14px; }
.bbc-sheet-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bbc-sheet-head img { width: 52px; height: 52px; border-radius: 13px; object-fit: contain; box-shadow: var(--bb-shadow); }
.bbc-sheet-head b { display: block; font-size: 17px; }
.bbc-sheet-head small { color: var(--bb-muted); }
.bbc-tabs { display: flex; width: 100%; margin-bottom: 14px; }
.bbc-tabs label { flex: 1; }
.bbc-tabs span { justify-content: center; width: 100%; }
.bbc-how-box[hidden] { display: none; }
.bbc-how { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; }
.bbc-how li { display: flex; gap: 12px; align-items: flex-start; }
.bbc-how p { margin: 3px 0 0; line-height: 1.6; }
.bbc-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bb-primary); color: #fff; font-weight: 800; font-size: 14px; }
.bbc-ico-chip { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: 0 2px; vertical-align: middle; border-radius: 8px; background: var(--bb-surface-2); border: 1px solid var(--bb-line); color: #007aff; }
.bbc-ico-chip .bb-ico { width: 17px; height: 17px; }
.bbc-note { font-size: 13px; color: var(--bb-muted); margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: var(--bb-surface-2); }

/* Arrow pointing at Safari's real Share button (bottom middle of the screen). */
.bbc-pointer {
	position: fixed; z-index: 1001; left: 50%; bottom: calc(8px + env(safe-area-inset-bottom)); transform: translateX(-50%);
	display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; pointer-events: none;
	color: var(--bb-primary); font-weight: 800; font-size: 13px;
	animation: bbc-bounce 1s ease-in-out infinite;
}
.bbc-pointer[hidden] { display: none; }
.bbc-pointer span { padding: 4px 12px; border-radius: 999px; background: var(--bb-primary); color: #fff; box-shadow: 0 4px 12px rgba(var(--bb-primary-rgb), .4); }
.bbc-pointer .bb-ico { width: 32px; height: 32px; stroke-width: 3; }
@keyframes bbc-bounce { 50% { transform: translate(-50%, 8px); } }

/* =====================================================================
 * Computer screens (960px and wider): full-width layout.
 * Header with navigation, steps on the left, "Your booking" panel on the right.
 * ===================================================================== */
@media (min-width: 960px) {
	.bbc-app { --gut: max(32px, calc((100% - 1200px) / 2 + 32px)); max-width: none; }

	/* header: brand · navigation · language and theme */
	.bbc-top { padding: 14px var(--gut); gap: 24px; }
	.bbc-brand { flex: 1 1 0; font-size: 19px; }
	.bbc-brand img { width: 40px; height: 40px; border-radius: 12px; }
	.bbc-top-actions { flex: 1 1 0; justify-content: flex-end; }
	.bbc-top .bb-lang { width: auto; padding-inline-start: 10px; justify-content: flex-start; }
	.bbc-top .bb-lang select { position: static; width: auto; opacity: 1; padding: 0 12px 0 6px; }
	.bbc-top .bbc-nav { flex: none; gap: 4px; padding: 4px; border: 1px solid var(--bb-line); border-radius: 14px; background: var(--bb-surface-2); }
	.bbc-top .bbc-nav a { flex-direction: row; gap: 8px; white-space: nowrap; padding: 8px 16px; border-radius: 10px; font-size: 14px; transition: background .15s, color .15s; }
	.bbc-top .bbc-nav a .bb-ico { width: 18px; height: 18px; }
	.bbc-top .bbc-nav a:hover { color: var(--bb-text); }
	.bbc-top .bbc-nav a.active { background: var(--bb-surface); color: var(--bb-primary); box-shadow: var(--bb-shadow); }
	.bbc-top .bbc-nav a:active { transform: none; }

	/* the panel carries the steps, so the progress bar is not needed */
	.bbc-progress { display: none !important; }
	.bbc-banner { max-width: calc(1200px - 64px); margin: 14px var(--gut) 0; }

	.bbc-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 32px 56px; }
	.bbc-view { padding: 0; }
	.has-side .bbc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
	.has-side .bbc-side { display: grid; gap: 16px; position: sticky; top: 32px; }
	.bbc-app:not(.has-side) .bbc-view { max-width: 760px; margin: 0 auto; }

	/* "Your booking" panel */
	.bbc-aside { padding: 22px; background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: 20px; box-shadow: var(--bb-shadow-lg); }
	.bbc-aside h2 { margin: 0 0 16px; font-size: 18px; }
	.bbc-sum { list-style: none; margin: 0; padding: 0; display: grid; }
	.bbc-sum li { position: relative; display: flex; align-items: flex-start; gap: 12px; padding-bottom: 18px; }
	.bbc-sum li:last-child { padding-bottom: 0; }
	.bbc-sum li:not(:last-child)::before {
		content: ""; position: absolute; inset-inline-start: 13px; top: 30px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--bb-line);
	}
	.bbc-sum li.done:not(:last-child)::before { background: var(--bb-primary); }
	.bbc-sum .bbc-n { background: var(--bb-surface-2); color: var(--bb-muted); border: 1.5px solid var(--bb-line); font-size: 13px; }
	.bbc-sum .on .bbc-n { background: var(--bb-surface); color: var(--bb-primary); border-color: var(--bb-primary); box-shadow: 0 0 0 4px rgba(var(--bb-primary-rgb), .14); }
	.bbc-sum .done .bbc-n { background: var(--bb-primary); color: #fff; border-color: var(--bb-primary); }
	.bbc-sum .bbc-n .bb-ico { width: 15px; height: 15px; stroke-width: 3; }
	.bbc-sum li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; padding-top: 3px; }
	.bbc-sum small { font-size: 12px; font-weight: 700; color: var(--bb-muted); text-transform: uppercase; letter-spacing: .04em; }
	html[lang="ar"] .bbc-sum small { letter-spacing: 0; }
	.bbc-sum b { font-size: 15px; overflow-wrap: anywhere; }
	.bbc-sum em { font-style: normal; font-size: 14px; color: var(--bb-muted); }
	.bbc-sum li > div > span { font-size: 13px; color: var(--bb-muted); }
	.bbc-sum a { flex: none; padding-top: 3px; font-size: 13px; font-weight: 700; text-decoration: none; }
	.bbc-total { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--bb-line-strong); }
	.bbc-total span { color: var(--bb-muted); font-weight: 600; }
	.bbc-total b { font-size: 20px; color: var(--bb-primary); }
	.bbc-aside .bbc-cta { margin-top: 18px; padding: 0; background: none; border: 0; }
	.bbc-aside .bbc-go { height: 50px; font-size: 15px; }
	.bbc-side .bbc-contact { margin: 0; }

	/* pages */
	.bbc-hero { padding: 36px 36px; border-radius: 24px; margin-bottom: 28px; }
	.bbc-hero h1 { font-size: 32px; }
	.bbc-hero p { font-size: 16px; }
	.bbc-title { font-size: 30px; margin: 0 0 20px; }
	.bbc-h { font-size: 17px; margin: 26px 0 12px; }
	.bbc-list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
	.bbc-svc { padding: 16px; height: 100%; }
	.bbc-summary { display: none; } /* shown in the panel instead */
	.bbc-summary + .bbc-h { margin-top: 0; }
	#bbc-times { margin-top: 22px; }

	/* days: arrows on both sides, no edge-to-edge strip */
	.bbc-days { display: flex; align-items: center; gap: 8px; }
	.bbc-strip { flex: 1; min-width: 0; margin: 0; padding: 4px 2px 6px; scroll-behavior: smooth; }
	.bbc-arrow {
		flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
		border: 1px solid var(--bb-line); border-radius: 50%; background: var(--bb-surface); color: var(--bb-text);
		box-shadow: var(--bb-shadow); cursor: pointer; transition: opacity .15s, transform .12s;
	}
	.bbc-arrow:disabled { opacity: .35; cursor: default; box-shadow: none; }
	.bbc-arrow:not(:disabled):active { transform: scale(.92); }
	[dir="rtl"] .bbc-arrow .bb-ico { transform: scaleX(-1); }
	.bbc-day { width: 64px; }
	.bbc-times { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
	.bbc-time { height: 46px; }

	.bbc-row2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.bbc-form .bb-input { font-size: 15px; }

	#bbc-mine { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; align-items: start; }
	#bbc-mine > .bbc-h, #bbc-mine > .bb-empty, #bbc-mine > .bbc-past { grid-column: 1 / -1; }
	.bbc-past { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }

	.bbc-done { padding-top: 24px; }
	.bbc-done h1 { font-size: 30px; }

	/* hover feedback for a mouse */
	.bbc-extra:hover:not(.on) { border-color: rgba(var(--bb-primary-rgb), .5); }
	.bbc-qty button:not(:disabled):hover { background: rgba(var(--bb-primary-rgb), .1); }
	.bbc-svc:hover, .bbc-person:hover { border-color: rgba(var(--bb-primary-rgb), .5); transform: translateY(-1px); }
	.bbc-day:not(:disabled):not(.on):hover, .bbc-time:not(.on):hover { border-color: var(--bb-primary); color: var(--bb-primary); }
	.bbc-day:not(:disabled):not(.on):hover small { color: var(--bb-primary); }
	.bbc-arrow:not(:disabled):hover { border-color: var(--bb-primary); color: var(--bb-primary); }

	/* install steps: a centred window instead of a bottom sheet */
	.bbc-sheet { align-items: center; padding: 24px; }
	.bbc-sheet-box { max-width: 480px; max-height: 100%; padding: 24px; border-radius: 22px; box-shadow: var(--bb-shadow-lg); animation: bb-pop .22s ease-out; }
	.bbc-grip { display: none; }
}
