/* Shared components for the three example groomer sites. Each site sets the variables below in its own stylesheet. */
:root { --x-accent: #222; --x-on-accent: #fff; --x-ink: #111; --x-paper: #fff; --x-soft: #f3f3f3; --x-line: rgba(0,0,0,.12); --x-radius: 14px; --x-display: Georgia, serif; }
html.in-frame .demo-ribbon { display: none; }
.demo-ribbon { position: relative; z-index: 60; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: center; padding: 9px 16px; background: #1c1a15; color: #f4f1e8; font: 500 13px/1.35 system-ui, -apple-system, Segoe UI, sans-serif; text-align: center; }
.demo-ribbon b { color: #bfff3a; }
.demo-ribbon a { color: #1c1a15; background: #bfff3a; padding: 5px 12px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.demo-ribbon a:hover { filter: brightness(1.06); }

.demo-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(10,10,12,.55); backdrop-filter: blur(3px); }
.demo-modal[hidden] { display: none; }
.demo-modal-card { width: min(460px, 100%); background: #fff; color: #1c1a15; border-radius: 18px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.35); font-family: system-ui, -apple-system, Segoe UI, sans-serif; }
.demo-modal-kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #6b6355; }
.demo-modal-card h2 { margin: 6px 0 10px; font-size: 26px; line-height: 1.15; }
.demo-modal-body { margin: 0 0 20px; font-size: 15.5px; line-height: 1.55; color: #3d3a33; }
.demo-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.demo-modal-go { background: #1c1a15; color: #bfff3a; padding: 12px 18px; border-radius: 12px; font-weight: 800; text-decoration: none; }
.demo-modal-close { background: none; border: 1.5px solid #d8d2c2; color: #1c1a15; padding: 11px 16px; border-radius: 12px; font-weight: 700; cursor: pointer; font: inherit; }

.lb { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgba(8,8,10,.92); }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: min(1100px, 86vw); text-align: center; }
.lb img { max-width: 100%; max-height: 80vh; border-radius: 10px; display: block; margin: 0 auto; }
.lb figcaption { color: #e9e6df; font: 500 14px/1.4 system-ui, sans-serif; margin-top: 12px; }
.lb button { background: rgba(255,255,255,.12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; flex: none; }
.lb button:hover, .lb button:focus-visible { background: rgba(255,255,255,.24); }
.lb .lb-x { position: absolute; top: 18px; right: 18px; }
[data-lightbox] { cursor: zoom-in; }
[data-lightbox]:focus-visible { outline: 3px solid var(--x-accent); outline-offset: 3px; }

/* Booking */
.bk-steps { display: grid; gap: 34px; }
.bk-h { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--x-display); font-size: 24px; line-height: 1.2; color: var(--x-ink); }
.bk-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--x-accent); color: var(--x-on-accent); font: 800 15px/1 system-ui, sans-serif; flex: none; }
.bk-sub { margin: 18px 0 10px; font-size: 15px; font-weight: 700; color: var(--x-ink); }
.bk-services { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.bk-svc { text-align: left; display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--x-radius); border: 1.5px solid var(--x-line); background: var(--x-paper); color: var(--x-ink); cursor: pointer; font: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.bk-svc:hover { border-color: var(--x-accent); transform: translateY(-1px); }
.bk-svc[aria-pressed="true"] { border-color: var(--x-accent); box-shadow: 0 0 0 2px var(--x-accent) inset; }
.bk-svc-name { font-weight: 800; font-size: 16.5px; }
.bk-svc-meta { font-size: 14px; font-weight: 700; color: var(--x-accent); }
.bk-svc-desc { font-size: 14px; line-height: 1.45; opacity: .78; }
.bk-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bk-chip { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--x-line); background: var(--x-paper); color: var(--x-ink); font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; transition: border-color .15s, background .15s; }
.bk-chip small { font-weight: 600; opacity: .7; }
.bk-chip:hover { border-color: var(--x-accent); }
.bk-chip[aria-pressed="true"] { background: var(--x-accent); border-color: var(--x-accent); color: var(--x-on-accent); }
.bk-chip[aria-pressed="true"] small { opacity: .9; }
.bk-days { display: grid; grid-auto-flow: column; grid-auto-columns: 74px; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.bk-day { display: grid; gap: 2px; justify-items: center; padding: 10px 0; border-radius: var(--x-radius); border: 1.5px solid var(--x-line); background: var(--x-paper); color: var(--x-ink); font: inherit; font-size: 12.5px; cursor: pointer; scroll-snap-align: start; }
.bk-day b { font-size: 22px; line-height: 1.1; }
.bk-day:hover { border-color: var(--x-accent); }
.bk-day[aria-pressed="true"] { background: var(--x-accent); border-color: var(--x-accent); color: var(--x-on-accent); }
.bk-form { display: grid; gap: 18px; }
.bk-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.bk-grid label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--x-ink); }
.bk-grid .bk-wide { grid-column: 1 / -1; }
.bk-grid input, .bk-grid textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border-radius: calc(var(--x-radius) * .7); border: 1.5px solid var(--x-line); background: var(--x-paper); color: var(--x-ink); }
.bk-grid input:focus, .bk-grid textarea:focus { outline: none; border-color: var(--x-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--x-accent) 22%, transparent); }
.bk-check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; line-height: 1.45; }
.bk-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--x-accent); }
.bk-sum { padding: 18px 20px; border-radius: var(--x-radius); background: var(--x-soft); color: var(--x-ink); }
.bk-sum p { margin: 0; }
.bk-sum-what { font-weight: 800; }
.bk-sum-when { margin-top: 4px !important; opacity: .8; }
.bk-sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px !important; padding-top: 12px; border-top: 1px solid var(--x-line); }
.bk-sum-total b { font-size: 24px; }
.bk-sum-note { margin-top: 8px !important; font-size: 13px; opacity: .7; }
.bk-go { justify-self: start; padding: 15px 26px; border-radius: var(--x-radius); border: 0; background: var(--x-accent); color: var(--x-on-accent); font: inherit; font-weight: 800; font-size: 16.5px; cursor: pointer; transition: transform .15s, filter .15s; }
.bk-go:hover:not([disabled]) { transform: translateY(-1px); filter: brightness(1.05); }
.bk-go[disabled] { opacity: .45; cursor: not-allowed; }
.bk-hint { margin: -8px 0 0; font-size: 13.5px; opacity: .7; }
@media (max-width: 640px) { .bk-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.booking, #booking { min-width: 0; } .bk-steps > * { min-width: 0; }
/* Inside the landing page's preview frames: no scrollbar eating the right edge. */
html.in-frame { scrollbar-width: none; }
html.in-frame::-webkit-scrollbar { display: none; }
.bk-svc.is-off { opacity: .45; cursor: not-allowed; transform: none !important; }
.bk-grid select { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border-radius: calc(var(--x-radius) * .7); border: 1.5px solid var(--x-line); background: var(--x-paper); color: var(--x-ink); }

/* Estimator and status lookup */
.est-num { display: flex; align-items: center; gap: 8px; max-width: 360px; padding: 4px 14px; border-radius: calc(var(--x-radius) * .7); border: 1.5px solid var(--x-line); background: var(--x-paper); color: var(--x-ink); font-size: 18px; font-weight: 700; }
.est-num input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 22px; font-weight: 800; padding: 10px 0; color: var(--x-ink); }
.est-num input:focus { outline: none; }
.est-num:focus-within { border-color: var(--x-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--x-accent) 22%, transparent); }
.est-range { margin-top: 6px !important; font-family: var(--x-display); font-size: clamp(30px, 5vw, 44px); line-height: 1.1; font-weight: 800; color: var(--x-ink); }
.est-go { display: inline-block; text-decoration: none; text-align: center; }
.est-go[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.st-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; }
.st-steps li { position: relative; display: grid; gap: 2px; padding: 0 0 18px 30px; }
.st-steps li::before { content: ""; position: absolute; left: 6px; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--x-accent); background: var(--x-paper); }
.st-steps li::after { content: ""; position: absolute; left: 11px; top: 18px; bottom: 0; width: 2px; background: var(--x-line); }
.st-steps li:last-child::after { display: none; }
.st-steps li.st-done::before { background: var(--x-accent); }
.st-steps li.st-now::before { background: var(--x-accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--x-accent) 25%, transparent); }
.st-steps li.st-next { opacity: .55; }
.st-steps b { font-size: 15.5px; }
.st-steps span { font-size: 14px; opacity: .8; }
.st-miss { margin: 12px 0 0; font-weight: 700; }
