/* SCC Booking — inherits the theme's fonts; colors can be tuned via the variables below. */
.sccb {
  --sccb-accent: var(--scc-accent, #9748bf);
  --sccb-accent-ink: #fff;
  --sccb-line: rgba(0, 0, 0, .12);
  --sccb-soft: rgba(0, 0, 0, .04);
  --sccb-muted: rgba(0, 0, 0, .6);
  --sccb-radius: 12px;
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 0 32px;
  font: inherit;
  color: inherit;
}
.sccb [hidden] { display: none !important; }
.sccb *, .sccb *::before, .sccb *::after { box-sizing: border-box; }
.sccb h2 { margin: 8px 0 20px; font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.2; outline: none; }
.sccb h3 { margin: 24px 0 10px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sccb-muted); }
.sccb button { font: inherit; color: inherit; cursor: pointer; }

.sccb-steps { display: flex; gap: 6px; list-style: none; margin: 0 0 20px; padding: 0; counter-reset: s; }
.sccb-steps li { flex: 1; font-size: .78rem; color: var(--sccb-muted); padding-top: 8px; border-top: 3px solid var(--sccb-line); counter-increment: s; }
.sccb-steps li::before { content: counter(s) ". "; }
.sccb-steps li.is-active, .sccb-steps li.is-done { border-color: var(--sccb-accent); color: inherit; }
.sccb-steps li.is-active { font-weight: 700; }

.sccb-summary { display: grid; gap: 6px; padding: 12px 14px; margin-bottom: 18px; background: var(--sccb-soft); border-radius: var(--sccb-radius); }
.sccb-sum-item { display: flex; gap: 10px; align-items: baseline; font-size: .92rem; }
.sccb-sum-k { width: 64px; color: var(--sccb-muted); flex: none; }
.sccb-sum-v { flex: 1; font-weight: 600; min-width: 0; }
.sccb-link { background: none; border: 0; padding: 0; text-decoration: underline; font-size: .85rem; }

.sccb-list { display: grid; gap: 8px; }
.sccb-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sccb-card {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 16px; background: #fff; border: 1px solid var(--sccb-line); border-radius: var(--sccb-radius);
  transition: border-color .15s, box-shadow .15s, transform .05s;
}
.sccb-card:hover { border-color: var(--sccb-accent); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.sccb-card:active { transform: scale(.995); }
.sccb-card.is-selected { border-color: var(--sccb-accent); box-shadow: inset 0 0 0 1px var(--sccb-accent); }
.sccb-card-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.sccb-card-title { font-weight: 700; }
.sccb-card-desc { font-size: .87rem; color: var(--sccb-muted); line-height: 1.35; }
.sccb-card-meta { display: grid; justify-items: end; gap: 2px; flex: none; }
.sccb-price { font-weight: 700; white-space: nowrap; }
.sccb-dur { font-size: .82rem; color: var(--sccb-muted); white-space: nowrap; }
.sccb-avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--sccb-accent); color: var(--sccb-accent-ink); font-weight: 700; font-size: 1.1rem; }

.sccb-back { background: none; border: 0; padding: 4px 0; font-size: .9rem; color: var(--sccb-muted); }
.sccb-back:hover { color: inherit; }

.sccb-days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.sccb-day {
  flex: 0 0 64px; display: grid; justify-items: center; gap: 1px; padding: 10px 4px;
  background: #fff; border: 1px solid var(--sccb-line); border-radius: var(--sccb-radius); scroll-snap-align: start;
}
.sccb-day:hover:not(:disabled) { border-color: var(--sccb-accent); }
.sccb-day:disabled { opacity: .35; cursor: not-allowed; background: var(--sccb-soft); }
.sccb-day.is-selected { background: var(--sccb-accent); border-color: var(--sccb-accent); color: var(--sccb-accent-ink); }
.sccb-day-w, .sccb-day-m { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.sccb-day-n { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.sccb-later { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9rem; color: var(--sccb-muted); margin: 6px 0 4px; }
.sccb .sccb-date { width: auto; max-width: 200px; padding: 6px 10px; }

.sccb-slotgroup { margin-bottom: 14px; }
.sccb-slotlabel { font-size: .85rem; color: var(--sccb-muted); margin-bottom: 6px; }
.sccb-slots { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.sccb-slot { padding: 11px 6px; background: #fff; border: 1px solid var(--sccb-line); border-radius: 10px; font-weight: 600; }
.sccb-slot:hover { border-color: var(--sccb-accent); background: var(--sccb-accent); color: var(--sccb-accent-ink); }

.sccb-form { display: grid; gap: 14px; max-width: 520px; }
.sccb-field { display: grid; gap: 6px; }
.sccb-label { font-weight: 600; font-size: .95rem; }
.sccb-hint { font-size: .82rem; color: var(--sccb-muted); }
.sccb-input { width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; color: inherit; background: #fff; border: 1px solid rgba(0,0,0,.25); border-radius: 10px; }
.sccb-input:focus { outline: 2px solid var(--sccb-accent); outline-offset: 1px; border-color: var(--sccb-accent); }
.sccb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sccb-policy { font-size: .85rem; color: var(--sccb-muted); line-height: 1.45; margin: 0; }

.sccb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid var(--sccb-accent);
  background: var(--sccb-accent); color: var(--sccb-accent-ink) !important; font-weight: 700; text-decoration: none !important;
}
.sccb-btn:hover { filter: brightness(1.1); }
.sccb-btn:disabled { opacity: .6; cursor: wait; }
.sccb-btn-lg { padding: 15px 26px; font-size: 1.05rem; width: 100%; }
.sccb-btn-ghost { background: transparent; color: var(--sccb-accent) !important; }
.sccb-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }

.sccb-muted { color: var(--sccb-muted); }
.sccb-error { color: #b42318; font-weight: 600; margin: 0; min-height: 1em; }
.sccb-msg { font-weight: 600; }
.sccb-help { margin-top: 28px; font-size: .9rem; color: var(--sccb-muted); }

.sccb-dl { display: grid; grid-template-columns: 90px 1fr; gap: 8px 12px; margin: 0 0 20px; padding: 16px; background: var(--sccb-soft); border-radius: var(--sccb-radius); }
.sccb-dl dt { color: var(--sccb-muted); margin: 0; }
.sccb-dl dd { margin: 0; font-weight: 600; }
.sccb-done { text-align: center; }
.sccb-done .sccb-dl { text-align: left; max-width: 460px; margin: 0 auto 20px; }
.sccb-check { width: 64px; height: 64px; margin: 8px auto 6px; border-radius: 50%; display: grid; place-items: center; background: var(--sccb-accent); color: var(--sccb-accent-ink); font-size: 2rem; }

@media (max-width: 520px) {
  .sccb-card { padding: 12px 14px; }
  .sccb-steps li { font-size: .7rem; }
  .sccb-btn { width: 100%; }
}
