.store-mode-services .svc-card,
.store-mode-hybrid .svc-card {
  position: relative;
}

.svc-card .svc-duration {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 68%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.svc-card.is-unavailable { opacity: 0.72; }
.svc-price { color: var(--accent); font-weight: 800; }
.svc-price s { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 500; }
.svc-foot { padding: 0 1rem 1rem; flex-wrap: wrap; }
.svc-cta {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.9rem;
  border: 0;
  border-radius: 0.65rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.svc-cta:disabled { cursor: not-allowed; opacity: 0.5; }
.svc-pros { display: flex; min-height: 2rem; align-items: center; gap: 0.3rem; margin-top: auto; }
.svc-pros img,
.svc-avatar { display: inline-grid; width: 1.9rem; height: 1.9rem; place-items: center; border: 2px solid var(--surface); border-radius: 50%; background: var(--soft); object-fit: cover; font-size: 0.75rem; }
.svc-any,
.svc-more { color: var(--muted); font-size: 0.8rem; }

.mode-switch { display: inline-flex; gap: 0.25rem; margin-bottom: 1rem; padding: 0.25rem; border-radius: 999px; background: var(--soft); }
.mode-switch a { padding: 0.45rem 0.9rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; }
.mode-switch [aria-selected="true"] { background: var(--accent); color: #fff; }
.result-summary { color: var(--muted); font-size: 0.86rem; }

.agenda-public-hero { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin: 0 0 1.5rem; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 1.25rem; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); }
.agenda-public-eyebrow { display:inline-flex; align-items:center; gap:.35rem; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.agenda-public-hero h2 { max-width: 650px; margin: .35rem 0 .65rem; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.agenda-public-hero p { max-width: 650px; margin: 0; color: var(--muted); }
.agenda-public-steps { display: grid; gap: .5rem; min-width: 180px; margin: 0; padding: 0; list-style: none; font-size: .85rem; font-weight: 700; }
.agenda-public-steps li { display: flex; align-items: center; gap: .5rem; }
.agenda-public-steps strong { display: inline-grid; width: 1.75rem; height: 1.75rem; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; }
.agenda-public-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 1.5rem 0 .75rem; }
.agenda-public-toolbar h3 { margin: 0; font-size: 1.2rem; }
.agenda-public-toolbar p { margin: .2rem 0 0; color: var(--muted); font-size: .85rem; }
.agenda-service-list { display: grid; gap: .75rem; }
.agenda-service { display: grid; grid-template-columns: 94px 1fr auto; gap: 1rem; align-items: center; padding: .85rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); transition: border-color .2s, box-shadow .2s, transform .2s; }
.agenda-service:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 8px 24px rgb(0 0 0 / 7%); transform: translateY(-1px); }
.agenda-service__image { display: grid; width: 94px; height: 94px; place-items: center; overflow: hidden; border-radius: .75rem; background: var(--soft); color: var(--accent); font-size: 2rem; }
.agenda-service__image img { width: 100%; height: 100%; object-fit: cover; }
.agenda-service__icon { display:grid; width:3.25rem; height:3.25rem; place-items:center; border-radius:50%; background:color-mix(in srgb, var(--accent) 13%, var(--surface)); }
.agenda-service__icon i { display:block; font-size:2rem; line-height:1; }
.agenda-service__body > span { color: var(--accent); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.agenda-service__body h3 { margin: .25rem 0; font-size: 1.08rem; }
.agenda-service__body p { margin: 0 0 .5rem; color: var(--muted); font-size: .88rem; }
.agenda-service__meta { display: flex; flex-wrap: wrap; gap: .7rem; color: var(--muted); font-size: .8rem; }
.agenda-service__meta i { color: var(--accent); }
.agenda-service__action { display: grid; justify-items: end; gap: .65rem; min-width: 145px; }
.agenda-service__action strong { color: var(--accent); }
.agenda-service__action button { min-height: 42px; padding: .55rem .8rem; border: 0; border-radius: .65rem; background: var(--accent); color: #fff; font-weight: 800; }
.agenda-service__action button:disabled { opacity: .55; cursor: not-allowed; }

.booking-open { overflow: hidden; }
.booking-overlay[hidden] { display: none; }
.booking-overlay { z-index: 100; align-items: end; }
.booking-overlay.open { display: flex; }
.booking-sheet { width: 100%; max-width: none; max-height: min(92dvh, 850px); padding: 0; overflow: hidden; border-radius: 1.25rem 1.25rem 0 0; background: var(--surface); }
.booking-sheet .sheet-head { border-bottom: 1px solid var(--line); }
.booking-content { display: flex; max-height: calc(min(92dvh, 850px) - 64px); flex-direction: column; overflow: auto; overscroll-behavior: contain; }
.booking-step { padding: 1.1rem; }
.booking-step h3 { margin: 0 0 0.75rem; }
.booking-description,
.booking-timezone { color: var(--muted); }
.booking-service-image { width: 100%; max-height: 220px; margin-bottom: 1rem; border-radius: 0.9rem; object-fit: cover; }
.booking-summary-line { color: var(--accent); font-size: 1.05rem; font-weight: 800; }
.booking-modality { display: inline-flex; margin: -.3rem 0 .8rem; padding: .35rem .6rem; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: .82rem; font-weight: 700; }
.booking-equipment{margin:1rem 0;padding:1rem;border:1px solid var(--line);border-radius:.8rem}.booking-equipment h4{margin:0 0 .6rem}.booking-equipment-option{display:grid;grid-template-columns:auto 1fr auto;gap:.6rem;align-items:center;padding:.55rem 0;border-top:1px solid var(--line)}.booking-equipment-option:first-of-type{border-top:0}.booking-equipment-option input{width:1.1rem;height:1.1rem;accent-color:var(--accent)}.booking-equipment-total{margin:.8rem 0 0;color:var(--accent);font-weight:800}

.booking-duration{margin:1rem 0;padding:1rem;border:1px solid var(--line);border-radius:.8rem}.booking-duration h4{margin:0 0 .6rem}.booking-duration small{display:block;margin-top:.45rem;color:var(--muted)}.booking-select{width:100%;padding:.75rem;border:1px solid var(--line);border-radius:.65rem;background:var(--surface);color:var(--ink);font:inherit}
.booking-location{margin-top:1rem;padding:1rem;border:1px solid var(--line);border-radius:.8rem}.booking-location h3{margin:0 0 .4rem}.booking-location-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.8rem}.booking-event-map{margin-top:.7rem;min-height:2.5rem;padding:.65rem;border-radius:.65rem;background:var(--soft);color:var(--muted);font-size:.88rem}.booking-event-map.is-map{height:240px;padding:0}
.booking-policy,
.booking-summary { padding: 0.9rem; border: 1px solid var(--line); border-radius: 0.8rem; background: var(--soft); }
.booking-policy p,
.booking-summary p { margin: 0.35rem 0 0; }
.booking-progress { margin: 0; padding: 0.65rem 1.1rem 0; color: var(--muted); font-size: 0.82rem; font-weight: 700; }
.booking-options { display: grid; gap: 0.65rem; }
.booking-option { display: flex; width: 100%; min-height: 58px; align-items: center; justify-content: space-between; padding: 0.75rem; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--surface); color: var(--ink); text-align: left; }
.booking-option span:first-child { display: grid; }
.booking-option small { color: var(--muted); }
.booking-option[aria-pressed="true"] { border-color: var(--accent); background: var(--soft); }
.booking-check { color: var(--accent); font-size: 1.2rem; }

.booking-status[aria-busy="true"] { min-height: 160px; }
.svc-day-strip { display: flex; gap: 0.5rem; margin: 0.75rem 0 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.4rem; }
.svc-day-chip { display: grid; min-width: 4.7rem; min-height: 74px; place-items: center; scroll-snap-align: start; padding: 0.45rem; border: 1px solid var(--line); border-radius: 0.7rem; background: var(--surface); color: var(--ink); }
.svc-day-chip span { font-size: 1.1rem; font-weight: 800; }
.svc-day-chip small { color: var(--muted); font-size: 0.68rem; }
.svc-day-chip[aria-pressed="true"] { border-color: var(--accent); background: var(--soft); }
.svc-day-chip:disabled { cursor: not-allowed; opacity: 0.45; }
.svc-calendar-wrap { padding: 0.75rem; border: 1px solid var(--line); border-radius: 0.9rem; }
.svc-calendar-head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; margin-bottom: 0.5rem; text-align: center; text-transform: capitalize; }
.svc-calendar-nav { height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 1.4rem; }
.svc-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.25rem; }
.svc-calendar-weekday { padding: 0.35rem; color: var(--muted); text-align: center; font-size: 0.72rem; font-weight: 800; }
.svc-calendar__day { position: relative; display: grid; aspect-ratio: 1; place-items: center; border: 0; border-radius: 0.6rem; background: transparent; color: var(--ink); font-weight: 700; }
.svc-calendar__day small { position: absolute; right: 0.15rem; bottom: 0.08rem; font-size: 0.58rem; }
.svc-calendar__day[data-state="available"]::after { position: absolute; bottom: 0.25rem; left: 50%; width: 0.3rem; height: 0.3rem; translate: -50% 0; border-radius: 50%; background: var(--accent); content: ""; }
.svc-calendar__day[data-state="sold_out"] { opacity: 0.42; text-decoration: line-through; }
.svc-calendar__day[data-state="closed"] { opacity: 0.35; background: repeating-linear-gradient(135deg, transparent 0 4px, var(--line) 4px 5px); }
.svc-calendar__day[aria-selected="true"] { background: var(--accent); color: #fff; }
.svc-calendar__day[aria-selected="true"]::after { background: #fff; }
.svc-calendar-legend { margin: 0.7rem 0 0; color: var(--muted); font-size: 0.72rem; word-spacing: 0.35rem; }

.svc-slot-group { margin-top: 1rem; }
.svc-slot-group h4 { margin: 0 0 0.45rem; }
.svc-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: 0.5rem; }
.svc-slot { min-height: 44px; padding: 0.55rem; border: 1px solid var(--line); border-radius: 0.65rem; background: var(--surface); color: var(--ink); }
.svc-slot:hover { translate: 0 -1px; }
.svc-slot[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }

.booking-field { display: grid; gap: 0.35rem; margin-top: 0.85rem; font-weight: 700; }
.booking-field input,
.booking-field textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--line); border-radius: 0.65rem; background: var(--surface); color: var(--ink); }
.booking-field textarea { min-height: 92px; resize: vertical; }
.booking-consent { display: flex; align-items: flex-start; gap: 0.55rem; margin-top: 1rem; }
.booking-consent input { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; accent-color: var(--accent); }
.booking-actions { position: sticky; z-index: 2; bottom: 0; display: flex; gap: 0.55rem; padding: 0.8rem 1.1rem calc(0.8rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); }
.booking-actions button { min-height: 48px; padding: 0.6rem 0.9rem; border: 1px solid var(--line); border-radius: 0.7rem; background: var(--surface); color: var(--ink); font-weight: 700; }
.booking-actions .primary { display: grid; flex: 1; border-color: var(--accent); background: var(--accent); color: #fff; }
.booking-actions .primary small { opacity: 0.85; font-size: 0.68rem; }
.booking-actions .booking-danger { border-color: #b42318; background: #b42318; color: #fff; }
.booking-actions button:disabled { cursor: not-allowed; opacity: 0.5; }
.booking-message,
.booking-empty { margin: 0.75rem 0; padding: 0.8rem; border-radius: 0.7rem; background: var(--soft); }
.booking-message p,
.booking-empty p { margin: 0.3rem 0; }
.booking-message.is-error { border: 1px solid #f1a9a3; background: #fff1f0; color: #8f1d16; }
.booking-message.is-warning { border: 1px solid #e7c66d; background: #fff8df; color: #684f0b; }
.booking-link-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; margin: 0.25rem; padding: 0.55rem 0.75rem; border: 1px solid var(--accent); border-radius: 0.65rem; background: var(--surface); color: var(--accent); text-decoration: none; font-weight: 700; }
.booking-success-icon { display: grid; width: 64px; height: 64px; place-items: center; margin: 0 auto 1rem; border-radius: 50%; background: var(--soft); color: var(--accent); font-size: 2rem; }
.booking-success-actions { display: grid; gap: 0.35rem; margin-top: 1rem; }
.booking-discard { padding: 1.2rem; }
.booking-skeleton { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; min-height: 150px; }
.booking-skeleton span { height: 48px; border-radius: 0.6rem; background: linear-gradient(90deg, var(--soft), var(--line), var(--soft)); background-size: 200% 100%; animation: booking-shimmer 1.2s infinite; }
.booking-skeleton.is-days { display: flex; min-height: 82px; overflow: hidden; }
.booking-skeleton.is-days span { min-width: 74px; height: 74px; }

.svc-cta:focus-visible,
.svc-slot:focus-visible,
.svc-day-chip:focus-visible,
.svc-calendar__day:focus-visible,
.svc-calendar-nav:focus-visible,
.booking-option:focus-visible,
.booking-actions button:focus-visible,
.booking-link-button:focus-visible,
.booking-field input:focus-visible,
.booking-field textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 40%, white); outline-offset: 2px; }
.booking-select:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 40%, white); outline-offset: 2px; }

@keyframes booking-shimmer { to { background-position: -200% 0; } }

@media (min-width: 681px) {
  .svc-foot { flex-wrap: nowrap; }
  .svc-cta { width: auto; }
}

@media (min-width: 900px) {
  .booking-overlay { align-items: center; justify-content: center; padding: 2rem; }
  .booking-sheet { position: relative; inset: auto; width: min(760px, 100%); height: auto; max-height: min(90dvh, 860px); border-radius: 1.25rem; box-shadow: 0 24px 70px rgb(0 0 0 / 25%); transform: none; }
  .booking-content { max-height: calc(min(90dvh, 860px) - 64px); }
}

@media (max-width: 680px) {
  .agenda-public-hero, .agenda-public-toolbar { align-items: stretch; flex-direction: column; }
  .agenda-public-steps { grid-template-columns: repeat(3, 1fr); min-width: 0; }
  .agenda-public-steps li { align-items: flex-start; font-size: .72rem; }
  .agenda-service { grid-template-columns: 64px 1fr; gap: .75rem; }
  .agenda-service__image { width: 64px; height: 64px; font-size: 1.5rem; }
  .agenda-service__action { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: center; justify-items: stretch; min-width: 0; }
  .agenda-service__action button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-slot,
  .svc-calendar__day,
  .booking-skeleton span { transition: none; animation: none; }
}
