:root {
  --ink: #20312f;
  --muted: #70807d;
  --surface: #ffffff;
  --canvas: #f6f4ef;
  --line: #e5e7e2;
  --brand: #2BD1C3;
  --brand-dark: #183f39;
  --accent: #AC9633;
  --free: #188653;
  --free-bg: #e8f6ee;
  --busy: #8b9492;
  --busy-bg: #edf0ef;
  --warning-bg: #f7efe4;
  --shadow: 0 18px 48px rgba(31, 49, 46, .10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.site-shell { width: 100%; padding: 0 10px; margin: 0 auto; background: #fff; }
.service-list-page .site-shell,
.service-detail-page .site-shell { width: calc(100% - 48px); max-width: 1200px; padding-inline: 24px; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; letter-spacing: -.02em; }
.brand img { width: 100px; height: 100px; }
.brand-copy small { display: block; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 650; }
.back-link:hover { color: var(--brand); }

.hero { padding: 48px 0 34px; }
.eyebrow { color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 10px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 7vw, 68px); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.hero p { max-width: 620px; margin: 0; color: var(--muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.65; }
.hero-copy { max-width: 620px; margin-top: 22px; }
.hero-copy p + p { margin-top: 20px; }
.hero-copy .hero-lead { color: var(--ink); font-weight: 600; }
.hero-copy .hero-path { padding-left: 16px; border-left: 3px solid var(--brand); color: var(--ink); font-weight: 500; }

.pricing-rules-section { position: relative; margin: 8px 0 34px; padding: 26px; overflow: hidden; border: 2px solid var(--accent); border-radius: var(--radius); background: linear-gradient(135deg, rgba(172, 150, 51, .24) 0%, rgba(172, 150, 51, .08) 58%, #fff 100%);}
.pricing-rules-section::before { position: absolute; top: 0; right: 0; left: 0; height: 6px; background: var(--accent); content: ""; }
.pricing-rules-section .eyebrow { color: #6f5e12; }
.pricing-rules-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.pricing-rules-heading h2 { margin: 6px 0 0; font-family: Georgia, serif; font-size: clamp(27px, 4vw, 38px); font-weight: 500; letter-spacing: -.025em; }
.pricing-rules-heading p { max-width: 370px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.pricing-rule-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pricing-rule-card { display: grid; gap: 4px; min-height: 126px; padding: 18px; border: 1px solid rgba(32, 49, 47, .08); border-radius: 18px; background: rgba(255, 255, 255, .84); }
.pricing-rule-range { color: var(--muted); font-size: 13px; font-weight: 650; }
.pricing-rule-card strong { align-self: end; color: var(--ink); font-size: 22px; line-height: 1; }
.pricing-rule-card small { color: var(--muted); font-size: 12px; }
.pricing-rule-card.is-discount strong, .pricing-rule-card.is-best strong { color: var(--accent); font-size: 32px; }
.pricing-rule-card.is-best { color: #201d10; border-color: var(--accent); background: var(--accent); box-shadow: 0 12px 25px rgba(172, 150, 51, .28); }
.pricing-rule-card.is-best .pricing-rule-range, .pricing-rule-card.is-best strong, .pricing-rule-card.is-best small { color: #201d10; }

.service-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 12px 0 70px; }
.service-card {
  display: grid;
  grid-template-columns: minmax(0, min(32%, 320px)) minmax(0, 1fr);
  min-height: 240px;
  overflow: hidden;
  border: 1px solid rgba(32, 49, 47, .07);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(31, 49, 46, .06);
  cursor: pointer;
  outline: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover, .service-card:focus-visible { transform: translateY(-5px); border-color: rgba(36, 93, 84, .24); box-shadow: var(--shadow); }
.service-cover { position: relative; overflow: hidden; background: linear-gradient(135deg, #dce8e4, #f0dfc7); }
.service-cover img, .service-cover video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-cover img { transform: scale(1.035); }
.service-cover video { background: #dce8e4; }
.media-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--brand); font-family: Georgia, serif; font-size: 52px; }
.media-type { position: absolute; top: 14px; right: 14px; display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 18px; color: #fff; background: rgba(24, 43, 40, .72); backdrop-filter: blur(8px); font-size: 12px; font-weight: 750; }
.service-card-body { min-width: 0; align-self: center; padding: 24px; overflow-wrap: anywhere; }
.service-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.service-price { background: var(--accent); font-size: 18px; font-weight: 800; color: white; padding: 10px; border-radius: 50px; }
.service-card h2 { color: var(--accent); margin: 0 0 9px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; line-height: 1.15; }
.service-description { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.card-action { display: inline-flex; align-items: center; gap: 7px; margin-top: 17px; color: var(--brand); font-size: 14px; font-weight: 750; }

.state-panel { grid-column: 1 / -1; padding: 54px 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: rgba(255,255,255,.65); text-align: center; }
.spinner { width: 34px; height: 34px; margin: 0 auto 14px; border: 3px solid #d8dedc; border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.detail-dialog { width: min(720px, calc(100% - 28px)); max-height: min(880px, calc(100dvh - 28px)); margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 28px; background: var(--surface); box-shadow: 0 30px 100px rgba(19, 35, 32, .28); }
.detail-dialog::backdrop { background: rgba(20, 31, 29, .62); backdrop-filter: blur(5px); }
.dialog-layout { display: flex; flex-direction: column; max-height: inherit; }
.dialog-scroll { overflow-y: auto; overscroll-behavior: contain; }
.dialog-close { position: absolute; z-index: 4; top: 16px; right: 16px; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.92); box-shadow: 0 5px 16px rgba(20,31,29,.15); cursor: pointer; }
.detail-gallery { display: flex; gap: 10px; padding: 0 0 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.detail-gallery::-webkit-scrollbar { display: none; }
.detail-media { flex: 0 0 100%; overflow: hidden; background: #e7ece9; scroll-snap-align: start; }
.detail-media img, .detail-media video { width: 100%; height: 100%; object-fit: cover; }
.detail-content { padding: 25px 26px 32px; }
.detail-content > h1, .detail-content > h2 { margin: 8px 0 12px; font-family: Georgia, serif; font-size: clamp(32px, 7vw, 48px); font-weight: 500; letter-spacing: -.03em; line-height: 1.03; }
.detail-price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-block: 1px solid var(--line); }
.detail-price { color: var(--brand); font-size: 24px; font-weight: 850; }
.detail-duration { color: var(--muted); font-size: 14px; }
.rich-description { padding-top: 15px; color: #4e605d; line-height: 1.7; }
.rich-description > :first-child { margin-top: 0; }
.discount-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.discount-pill { padding: 8px 11px; border-radius: 999px; color: var(--brand-dark); background: #edf5f2; font-size: 12px; font-weight: 750; }
.dialog-cta { flex: none; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 22px; border: 0; border-radius: 16px; color: #fff; background: var(--brand); box-shadow: 0 10px 24px rgba(36, 93, 84, .22); font-weight: 800; cursor: pointer; transition: background .2s, transform .2s; }
.primary-button:hover { background: var(--brand-dark); }
.primary-button:active { transform: scale(.985); }
.primary-button:disabled { opacity: .55; cursor: wait; }

.service-detail-page { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.service-page { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); align-items: start; gap: 28px; padding: 20px 0 62px; }
.service-gallery { position: sticky; top: 18px; min-width: 0; }
.service-page-gallery { gap: 12px; padding-bottom: 10px; border-radius: var(--radius); }
.gallery-controls { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 6px 12px 16px; }
.gallery-arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; font-size: 24px; cursor: pointer; box-shadow: 0 3px 12px rgba(31,49,46,.10); }
.gallery-arrow:hover:enabled { border-color: var(--brand); background: #edf5f2; }
.gallery-arrow:disabled { opacity: .35; cursor: default; }
.gallery-arrow:focus-visible, .service-page-gallery:focus-visible { outline: 2px solid var(--brand-dark); outline-offset: 2px; }
.gallery-count { min-width: 48px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; text-align: center; }
.service-page-gallery .detail-media { border-radius: var(--radius); }
.service-page-content { padding: 28px; border: 1px solid rgba(32, 49, 47, .07); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 28px rgba(31, 49, 46, .06); }
.service-discount-box { margin-top: 30px; padding: 22px; border-radius: 19px; background: #edf5f2; }
.service-discount-box h2 { margin: 5px 0 16px; font-family: Georgia, serif; font-size: 26px; font-weight: 500; }
.service-discount-box ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.service-discount-box li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(36, 93, 84, .13); font-size: 13px; }
.service-discount-box li span { color: var(--muted); }
.service-discount-box li strong { color: var(--brand); white-space: nowrap; }
.service-page-cta { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; width: calc(100% - 48px); max-width: 1200px; margin-inline: auto; padding: 12px 24px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); box-shadow: 0 -12px 35px rgba(31,49,46,.10); backdrop-filter: blur(16px); }
.service-page-cta-inner { display: flex; align-items: center; gap: 18px; }
.service-page-cta-copy { min-width: 0; flex: 1; }
.service-page-cta-copy strong, .service-page-cta-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-page-cta-copy span { margin-top: 3px; color: var(--muted); font-size: 13px; }
.service-page-cta .primary-button {
  width: auto;
  min-width: 230px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: linear-gradient(135deg, #d95d0b 0%, #f08a16 100%);
  box-shadow: 0 12px 28px rgba(217, 93, 11, .32), inset 0 1px 0 rgba(255, 255, 255, .2);
  letter-spacing: .01em;
  animation: booking-cta-pulse 2.8s ease-in-out infinite;
}
.service-page-cta .primary-button:hover {
  background: linear-gradient(135deg, #c94f06 0%, #e97a0d 100%);
  box-shadow: 0 15px 34px rgba(217, 93, 11, .4), inset 0 1px 0 rgba(255, 255, 255, .24);
  animation-play-state: paused;
}
.service-page-cta .primary-button:focus-visible {
  outline: 3px solid rgba(240, 138, 22, .3);
  outline-offset: 3px;
}
@keyframes booking-cta-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 28px rgba(217, 93, 11, .3), 0 0 0 0 rgba(240, 138, 22, .2); }
  50% { transform: scale(1.018); box-shadow: 0 15px 34px rgba(217, 93, 11, .38), 0 0 0 8px rgba(240, 138, 22, 0); }
}
.service-error { max-width: 680px; padding: 80px 0; text-align: center; }
.service-error h1 { margin: 10px 0; font-family: Georgia, serif; font-size: clamp(38px, 7vw, 60px); font-weight: 500; }
.service-error p { margin: 0 auto 24px; color: var(--muted); line-height: 1.6; }
.service-error .primary-button { width: auto; }

.calendar-shell { width: min(760px, 100%); margin: 0 auto; padding: 0 18px 130px; }
.calendar-summary { display: flex; align-items: center; gap: 15px; margin: 10px 0 20px; padding: 15px; border-radius: 20px; background: var(--surface); box-shadow: 0 7px 24px rgba(31,49,46,.06); }
.calendar-summary-media { flex: 0 0 68px; width: 68px; height: 68px; overflow: hidden; border-radius: 15px; background: linear-gradient(135deg, #dce8e4, #f0dfc7); }
.calendar-summary-media img, .calendar-summary-media video { width: 100%; height: 100%; object-fit: cover; }
.calendar-summary h1 { margin: 0 0 5px; font-family: Georgia, serif; font-size: 22px; font-weight: 500; line-height: 1.15; }
.calendar-summary p { margin: 0; color: var(--muted); font-size: 13px; }
.step-label { margin: 27px 0 10px; font-size: 14px; font-weight: 800; }
.days-wrap { position: sticky; z-index: 5; top: 0; margin-inline: -18px; padding: 9px 18px 13px; background: rgba(246,244,239,.94); backdrop-filter: blur(14px); }
.days-list { display: flex; gap: 9px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-top: 10px;}
.days-list::-webkit-scrollbar { display: none; }
.day-button { flex: 0 0 84px; min-height: 88px; padding: 9px 7px; border: 1px solid var(--line); border-radius: 18px; color: var(--muted); background: var(--surface); text-align: center; cursor: pointer; scroll-snap-align: center; transition: .18s ease; position: relative;}
.day-top { display: flex; align-items: center; justify-content: center; gap: 4px; }
.day-button .weekday { display: block; font-size: 11px; font-weight: 750; text-transform: uppercase; }
.day-discount { display:none;}
.day-discount.has-discount { display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 17px;
  padding: 0 3px;
  border-radius: 999px;
  color: #fff; 
  background: #e97913;
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  position: absolute;
  top: -5px;
  right: 50%;
  margin-right: -35px; }
.day-button .day-number { display: block; margin: 3px 0 1px; color: var(--ink); font-size: 24px; font-weight: 850; line-height: 1; }
.day-button .month { display: block; font-size: 11px; }
.day-button.selected { color: #fff; border-color: var(--brand); background: var(--brand); box-shadow: 0 8px 20px rgba(36,93,84,.22); }
.day-button.selected .day-number { color: #fff; }
.day-button.selected .day-discount { color: var(--brand-dark); background: rgba(255,255,255,.84); }
.day-button.selected .day-discount.has-discount { color: #fff; background: #e97913; }
.day-button.closed { opacity: .45; }
.selected-date-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 23px 0 12px; }
.selected-date-heading h2 { margin: 0; font-family: Georgia, serif; font-size: 26px; font-weight: 500; }
.selected-date-heading span { color: var(--muted); font-size: 12px; }
.slots-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: -2px 0 13px; color: var(--muted); font-size: 10px; font-weight: 650; }
.slots-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--busy); }
.legend-dot.free { background: var(--free); }
.legend-dot.free_not_enough_time { background: var(--warning); }
.legend-dot.occupied { background: var(--busy); }
.slots-list { display: grid; gap: 9px; }
.slot-button { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 17px; color: var(--ink); background: var(--surface); text-align: left; }
.slot-time { font-size: 18px; font-weight: 850; font-variant-numeric: tabular-nums; }
.slot-label { font-size: 13px; font-weight: 720; }
.slot-note { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 500; }
.slot-availability { min-width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 850; }
.slot-button.free { border-color: #b8dfc9; background: var(--free-bg); cursor: pointer; }
.slot-button.free .slot-time, .slot-button.free .slot-label { color: var(--free); }
.slot-button.free .slot-availability { color: #fff; background: var(--free); }
.slot-button.free:hover, .slot-button.free:focus-visible, .slot-button.free.selected { outline: 0; border-color: var(--free); box-shadow: 0 0 0 3px rgba(24,134,83,.12); }
.slot-button.free_not_enough_time { color: #817262; border-color: #ead4b5; background: var(--warning-bg); }
.slot-button.free_not_enough_time .slot-time, .slot-button.free_not_enough_time .slot-label { color: var(--warning); }
.slot-button.free_not_enough_time .slot-availability { color: #fff; background: var(--warning); }
.slot-button.occupied { color: var(--busy); border-color: #dfe3e2; background: var(--busy-bg); }
.slot-button.occupied .slot-availability { color: #fff; background: var(--busy); }
.slot-button:disabled { cursor: not-allowed; }
.empty-slots { padding: 34px 20px; border: 1px dashed var(--line); border-radius: 20px; color: var(--muted); background: rgba(255,255,255,.65); text-align: center; }

.booking-bar { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; transform: translateY(110%); padding: 12px max(18px, calc((100vw - 724px) / 2)) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); box-shadow: 0 -12px 35px rgba(31,49,46,.10); backdrop-filter: blur(16px); transition: transform .25s ease; }
.booking-bar.visible { transform: translateY(0); }
.booking-bar-inner { display: flex; align-items: center; gap: 14px; }
.booking-selection { min-width: 0; flex: 1; }
.booking-selection strong, .booking-selection span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.booking-selection span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.booking-bar .primary-button { width: auto; min-width: 145px; }

.sheet.slot-bottom-sheet,
.sheet.booking-bottom-sheet {
  --bs-sheet-box-shadow: 0 -24px 70px rgba(20, 35, 32, .24);
  right: max(0px, calc((100vw - 620px) / 2));
  left: max(0px, calc((100vw - 620px) / 2));
  width: auto;
  height: auto;
  padding-bottom: 0;
  max-height: min(92vh, 760px);
  max-height: min(92dvh, 760px);
  overflow: hidden;
  border: 1px solid rgba(32, 49, 47, .1);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: #fff;
}
.sheet-handle { flex: none; width: 44px; height: 5px; margin: 10px auto 5px; border-radius: 999px; background: #d5dcda; }
.sheet-header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 22px 12px; }
.sheet-header h2 { margin: 5px 0 0; font-family: Georgia, serif; font-size: 29px; font-weight: 500; letter-spacing: -.025em; }
.sheet-close { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; color: var(--ink); background: #f0f3f2; font-size: 24px; line-height: 1; cursor: pointer; }
.sheet-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 5px 22px 16px; }
.sheet-footer { flex: none; padding: 12px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.sheet-summary-card { overflow: hidden; border: 1px solid #dce6e2; border-radius: 20px; background: #f7faf9; }
.sheet-time-card { display: flex; align-items: center; gap: 13px; padding: 16px; background: #f0f7f4; }
.sheet-time-icon { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; background: var(--brand); font-size: 25px; }
.sheet-time-copy { min-width: 0; flex: 1; }
.sheet-time-copy strong, .sheet-time-copy span { display: block; overflow: visible; text-overflow: clip; white-space: normal; }
.sheet-time-copy strong { margin-top: 3px; font-size: 16px; line-height: 1.35; }
.sheet-time-copy .sheet-selected-hour { margin-top: 2px; color: var(--brand); font-size: 15px; font-weight: 800; }
.sheet-field-label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sheet-discount { flex: none; padding: 7px 9px; border-radius: 10px; color: #fff; background: #e97913; font-size: 13px; font-weight: 850; }
.sheet-service-row { padding: 15px 16px; border-top: 1px solid #dce6e2; }
.sheet-service-row strong { display: block; margin-top: 5px; overflow-wrap: anywhere; font-size: 15px; line-height: 1.45; }
.sheet-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px 15px; }
.sheet-facts > div { min-width: 0; padding: 11px 12px; border-radius: 13px; background: #fff; }
.sheet-facts span, .sheet-facts strong { display: block; }
.sheet-facts span { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.sheet-facts strong { margin-top: 4px; overflow-wrap: anywhere; font-size: 12px; line-height: 1.35; }
.sheet-price-summary { padding: 5px 16px 10px; border-top: 1px solid #dce6e2; background: #fff; }
.sheet-price-summary > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 10px 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.sheet-price-summary > div + div { border-top: 1px solid #edf0ef; }
.sheet-price-summary strong { color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.sheet-price-summary .sheet-total { align-items: center; color: var(--ink); font-size: 16px; font-weight: 800; }
.sheet-price-summary .sheet-total strong { color: var(--brand); font-size: 22px; }
.sheet-continue { margin: 0; background: linear-gradient(135deg, #d95d0b, #f08a16); box-shadow: 0 12px 26px rgba(217,93,11,.27); }
.sheet-continue:hover { background: linear-gradient(135deg, #c94f06, #e97a0d); }
.sheet-backdrop { --bs-sheet-backdrop-bg: rgba(21, 35, 31, .52); }

.sheet.booking-bottom-sheet { max-height: min(94vh, 820px); max-height: min(94dvh, 820px); }
.booking-sheet-view { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.booking-sheet-header { position: sticky; z-index: 3; top: 0; padding-top: 10px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(14px); }
.booking-form { padding: 20px 22px calc(24px + env(safe-area-inset-bottom)); overflow: visible; }
.booking-form h2 { margin: 0 0 6px; font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.booking-form-intro { margin: 0 0 22px; color: var(--muted); line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 12px; font-weight: 800; }
.form-field input, .form-field textarea { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #d8ddda; border-radius: 13px; color: var(--ink); background: #fff; outline: none; }
.form-field textarea { min-height: 82px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(36,93,84,.10); }
.privacy-check { display: flex; align-items: flex-start; gap: 9px; margin: 17px 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.privacy-check input { margin-top: 2px; }
.form-error { display: none; margin: 0 0 14px; padding: 11px 13px; border-radius: 12px; color: #8a302e; background: #fae9e8; font-size: 13px; }
.form-error.visible { display: block; }
.success-panel { min-height: 0; overflow-y: auto; padding: 45px 26px; text-align: center; }
.success-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 17px; border-radius: 50%; color: #fff; background: var(--free); font-size: 34px; }
.success-panel h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 34px; font-weight: 500; }
.success-panel p { margin: 0 0 22px; color: var(--muted); line-height: 1.55; }
.payment-submit, .payment-link-button { background: linear-gradient(135deg, #d95d0b, #f08a16); box-shadow: 0 12px 26px rgba(217,93,11,.27); }
.payment-submit:hover, .payment-link-button:hover { background: linear-gradient(135deg, #c94f06, #e97a0d); }
.payment-pending-icon { background: #f08a16; font-weight: 850; }
.payment-deadline { margin: -5px 0 18px; padding: 12px 14px; border-radius: 13px; color: #7c3d06; background: #fff1df; font-size: 14px; }
.payment-deadline strong { font-size: 17px; }
.payment-link-button.disabled { opacity: .55; pointer-events: none; box-shadow: none; }
.success-panel .payment-email-note { margin: 13px 0 12px; font-size: 12px; }
.secondary-link { display: inline-block; padding: 8px; color: var(--brand); font-size: 13px; font-weight: 750; }

@media (max-width: 880px) {
  .service-page { grid-template-columns: 1fr; }
  .service-gallery { position: static; }
}
@media (max-width: 620px) {
  .service-list-page .site-shell,
  .service-detail-page .site-shell { width: 100%; padding-inline: 10px; }
  .site-shell { }
  .site-header { min-height: 68px; }
  .brand-copy { font-size: 14px; }
  .hero { padding: 30px 0 25px; }
  .pricing-rules-section { margin-top: 0; padding: 20px 16px; }
  .pricing-rules-heading { display: block; }
  .pricing-rules-heading p { margin-top: 9px; }
  .pricing-rule-grid { grid-template-columns: 1fr; gap: 8px; }
  .pricing-rule-card { grid-template-columns: 1fr auto; align-items: center; min-height: 0; padding: 15px; }
  .pricing-rule-card strong { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; }
  .pricing-rule-card small { grid-column: 1; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; padding-bottom: 38px; }
  .service-card { grid-template-columns: minmax(0, 32%) minmax(0, 1fr); min-height: 190px; border-radius: 21px; }
  .service-card-body { padding: 16px; }
  .service-card h2 { font-size: 22px; }
  .service-meta { gap: 8px; font-size: 12px; }
  .service-price { padding: 8px 10px; font-size: 16px; }
  .detail-dialog { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .detail-media { }
  .detail-content { padding: 22px 18px 28px; }
  .service-page { width: 100%; gap: 0; padding-top: 0; }
  .service-page-gallery, .service-page-gallery .detail-media { border-radius: 0; }
  .service-page-gallery .detail-media { }
  .service-page-content { border: 0; border-radius: 0; box-shadow: none; }
  .service-page-cta { width: 100%; padding-inline: 12px; }
  .service-page-cta-copy { display: none; }
  .service-page-cta .primary-button { width: 100%; min-width: 0; }
  .dialog-cta { padding-inline: 14px; }
  .calendar-shell { padding-inline: 12px; }
  .days-wrap { margin-inline: -12px; padding-inline: 12px; }
  .slot-button { grid-template-columns: 63px 1fr auto; padding-inline: 12px; }
  .booking-bar { padding-inline: 12px; }
  .booking-bar .primary-button { min-width: 125px; padding-inline: 15px; }
  .slot-bottom-sheet, .booking-bottom-sheet { border-right: 0; border-left: 0; }
  .sheet-header, .sheet-body, .sheet-footer { padding-inline: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .booking-form { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* Codice promozionale: gli elementi esclusi non devono occupare spazio. */
[hidden] { display: none !important; }
.coupon-panel { margin: 20px 0; padding: 18px; border: 1px solid #dedbd3; border-radius: 16px; background: #fff; }
.coupon-panel label { display: block; font-weight: 700; margin-bottom: 10px; }
.coupon-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.coupon-controls input { flex: 1; min-width: 140px; padding: 12px; border: 1px solid #ccc; border-radius: 10px; font: inherit; text-transform: uppercase; }
.coupon-controls .primary-button { width: auto; padding: 12px 20px; }
.coupon-controls .secondary-link { border: 0; background: transparent; cursor: pointer; font: inherit; }
#discount-code-status { margin: 10px 0 0; font-size: 14px; }

.service-booking-unavailable { margin: 12px 0; padding: 10px 14px; border-radius: 10px; background: #f4ede0; color: #765323; font-size: 14px; font-weight: 600; line-height: 1.5; }
