* { box-sizing: border-box; }
:root { color-scheme: dark; }
body { margin: 0; background: #090e14; }
.booking-shell {
  --bg: #090e14;
  --surface: #131a23;
  --border: #2b3541;
  --text: #f2f4f7;
  --muted: #9ba4b1;
  --accent: #ff8900;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse 55% 32% at 4% 0%, #12365a 0%, transparent 100%), radial-gradient(ellipse 55% 34% at 105% 0%, #3a2415 0%, transparent 100%), var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}
.booking-glow { position: absolute; z-index: -1; width: 48rem; height: 34rem; border-radius: 50%; filter: blur(100px); opacity: .09; pointer-events: none; }
.booking-glow-blue { top: -26rem; left: -13rem; background: #1675c8; }
.booking-glow-amber { top: -27rem; right: -25rem; background: #ab4810; }
.booking-container { width: min(100% - 48px, 1240px); margin-inline: auto; }
.site-header { position: relative; display: grid; width: 100vw; justify-items: center; margin-left: calc(50% - 50vw); padding: 20px 0; background: #000; }
.brand-mark { display: flex; width: min(calc(100% - 32px), 960px); justify-content: center; text-decoration: none; }
.brand-image { display: block; width: 100%; height: auto; object-fit: contain; }
.barber-link { position: absolute; z-index: 1; top: clamp(12px, 2vw, 24px); right: max(12px, calc((100vw - 1240px) / 2)); display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid #c79c46; border-radius: 999px; background: #000d; color: #fff; font-size: 14px; font-weight: 650; text-decoration: none; }
.barber-link:hover { border-color: #e6bd67; background: #17130b; color: #e6bd67; }
.barber-link:focus-visible { outline: 2px solid #e6bd67; outline-offset: 3px; }
.booking-alert { margin-top: 12px; border-radius: 14px; }
.intro { max-width: 760px; padding-top: 23px; }
.live-badge { display: inline-flex; min-height: 28px; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid color-mix(in srgb, var(--accent), transparent 48%); border-radius: 999px; background: color-mix(in srgb, var(--accent), transparent 92%); color: var(--accent); font-size: 13px; font-weight: 650; }
.intro h1 { margin: 22px 0 12px; font-size: clamp(2.2rem, 5vw, 2.95rem); font-weight: 750; letter-spacing: -.055em; line-height: 1.11; }
.intro h1 span { color: #91a9d0; }
.intro p { max-width: 700px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.service-section, .calendar-section { margin-top: 39px; }
.barber-picker { display: grid; max-width: 360px; gap: 8px; margin: 0 0 22px; color: var(--muted); font-size: 13px; font-weight: 650; }
.barber-picker select { min-height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 13px; background: #111821; color: var(--text); font: inherit; }
.barber-picker select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.eyebrow { display: block; margin-bottom: 5px; color: #858f9d; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.section-heading-row h2 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.025em; }
.section-step { color: var(--accent); font-size: 12px; font-weight: 700; white-space: nowrap; }
.section-step span { color: #717a86; font-weight: 500; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.service-option { display: flex; min-height: 88px; flex-direction: column; justify-content: space-between; padding: 15px 19px; border: 1px solid var(--border); border-radius: 34px; background: #141a22e8; color: var(--text); text-align: left; cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.service-option:hover { border-color: #8f5b26; transform: translateY(-1px); }
.service-option.is-selected { border-color: var(--accent); background: linear-gradient(105deg, #20232a, #171a20); box-shadow: inset 0 0 0 1px #ff890014; }
.service-option:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.service-card-top, .service-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-name { font-size: 15px; font-weight: 700; }
.selected-check { display: grid; width: 20px; height: 20px; flex: 0 0 auto; place-items: center; border: 1px solid #66707d; border-radius: 50%; color: transparent; }
.service-option.is-selected .selected-check { border-color: var(--accent); background: var(--accent); color: #131313; }
.service-duration { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; }
.service-price { color: var(--accent); font-size: 15px; font-weight: 700; }
.calendar-section { margin-top: 32px; }
.date-scroller { display: flex; gap: 9px; overflow-x: auto; padding: 3px 0 10px; scrollbar-color: #73777b #1a1f25; scrollbar-width: thin; scroll-snap-type: x mandatory; }
.date-chip { display: flex; width: 72px; height: 79px; flex: 0 0 72px; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); text-decoration: none; scroll-snap-align: start; transition: border-color .16s ease, color .16s ease, background .16s ease; }
.date-chip:hover { border-color: #8f5b26; color: var(--text); }
.date-chip.is-selected { border-color: var(--accent); background: #261e15; color: var(--accent); }
.date-weekday, .date-month { font-size: 11px; text-transform: uppercase; }
.date-number { font-size: 21px; font-weight: 700; line-height: 1.15; }
.date-picker-form { display: flex; align-items: center; gap: 10px; margin: 4px 0 10px; }
.date-picker-label { color: #8993a0; font-size: 12px; }
.date-input { width: auto; min-height: 36px; padding: 5px 10px; border-color: var(--border); border-radius: 10px; background-color: #111821; color: var(--text); font-size: 12px; }
.date-input:focus { border-color: var(--accent); box-shadow: 0 0 0 .2rem #ff890026; }
.availability-card { margin-top: 9px; padding: 22px 24px 18px; border: 1px solid var(--border); border-radius: 34px; background: #12171e; }
.availability-title { display: flex; min-height: 23px; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; text-transform: capitalize; }
.availability-clock { color: var(--accent); font-size: 21px; line-height: 1; }
.timezone-note { margin-left: auto; color: #707b88; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.time-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; margin-top: 15px; }
.time-slot { display: grid; min-height: 47px; place-items: center; border: 1px solid var(--border); border-radius: 999px; background: #151b23; color: var(--text); font-size: 14px; font-weight: 700; cursor: pointer; transition: border-color .16s ease, background .16s ease, color .16s ease; }
.time-option input:focus-visible + .time-slot { outline: 2px solid var(--accent); outline-offset: 3px; }
.time-slot:hover:not(.is-unavailable) { border-color: var(--accent); }
.time-slot.is-selected { border-color: var(--accent); background: var(--accent); color: #101318; }
.time-slot.is-unavailable { border-color: #242b33; background: #10151b; color: #626c77; text-decoration: line-through; cursor: not-allowed; opacity: .65; }
.availability-legend { display: flex; align-items: center; gap: 7px; margin-top: 13px; color: #7e8895; font-size: 11px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; background: #555e68; }
.booking-actions { display: grid; justify-items: center; gap: 10px; margin: 22px auto 0; }
.booking-actions > .confirm-button { width: min(100%, 440px); }
.confirm-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 11px 22px; border: 0; border-radius: 999px; background: var(--accent); color: #11151a; font-size: 15px; font-weight: 750; cursor: pointer; transition: filter .16s ease, transform .16s ease; }
.confirm-button:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.confirm-button:disabled { background: #47566a; color: #d1d6dd; cursor: not-allowed; }
.booking-actions .form-note { margin: 0; color: #9da7b3; font-size: 12px; text-align: center; }
.booking-inline-error { width: min(100%, 640px); margin: 0; }
.field-label { display: grid; gap: 8px; margin-bottom: 17px; color: #e2e5e9; font-size: 14px; font-weight: 650; }
.field-label .form-control { width: 100%; min-height: 47px; padding: 0 15px; border: 1px solid var(--border); border-radius: 15px; outline: none; background: #090e14; color: var(--text); font: inherit; font-weight: 400; }
.field-label .form-control::placeholder { color: #7f8996; }
.field-label .form-control:focus { border-color: #2188ff; box-shadow: 0 0 0 .2rem #2188ff2b; }
.field-label .modal-textarea { min-height: 75px; padding: 12px 15px; resize: vertical; }
.optional-label { color: #8b95a2; font-size: 12px; font-weight: 400; }
.booking-modal { --border: #2b3541; --text: #f2f4f7; }
.booking-modal .modal-dialog { max-width: 640px; margin-inline: auto; }
.booking-modal .modal-content { overflow: hidden; border: 1px solid #2d3743; border-radius: 20px; background: #090e14; color: var(--text); box-shadow: 0 25px 90px #0009; }
.booking-modal .modal-header { padding: 24px 30px 8px; border-bottom: 0; }
.modal-title-wrap { display: flex; align-items: center; gap: 11px; }
.modal-calendar-icon { color: var(--accent); font-size: 21px; line-height: 1; }
.booking-modal .modal-title { margin: 0; color: var(--text); font-size: 20px; font-weight: 750; letter-spacing: -.03em; }
.booking-modal .btn-close { opacity: .8; }
.booking-modal .modal-body { padding: 6px 30px 5px; }
.modal-booking-summary { margin: 0 0 24px; color: #a0a9b5; font-size: 15px; line-height: 1.65; }
.modal-booking-summary strong:last-child { color: var(--accent); white-space: nowrap; }
.modal-form-error { margin-bottom: 16px; padding: 10px 13px; font-size: 13px; }
.booking-modal .modal-footer { display: grid; gap: 10px; padding: 8px 30px 28px; border-top: 0; }
.whatsapp-confirm-button { width: 100%; min-height: 48px; border-radius: 999px; background: var(--accent); color: #11151a; font-size: 15px; }
.whatsapp-confirm-button:hover:not(:disabled) { filter: brightness(1.08); color: #11151a; }
.whatsapp-confirm-button:disabled { background: #47566a; color: #d1d6dd; }
.modal-privacy-note { margin: 0; color: #87919e; font-size: 11px; line-height: 1.5; text-align: center; }
.form-note { grid-column: 1 / -1; margin: 0; color: #9da7b3; font-size: 12px; text-align: center; }
.empty-note { padding: 18px; border: 1px solid var(--border); border-radius: 18px; color: #bdc4ce; }
.empty-note code { color: var(--accent); }
.site-footer { display: flex; justify-content: space-between; gap: 16px; padding: 28px 0 32px; margin-top: 32px; border-top: 1px solid #242b33; color: #7e8895; font-size: 11px; }
.site-footer span:first-child { color: #c8a75a; font-weight: 700; letter-spacing: .08em; }
.booking-shell :focus-visible { outline-color: var(--accent); outline-offset: 3px; }
@media (max-width: 760px) {
  .booking-container { width: min(100% - 32px, 560px); }
  .brand-mark { width: min(calc(100% - 24px), 960px); }
  .barber-link { padding: 8px 11px; font-size: 13px; }
  .intro { padding-top: 22px; }
  .intro h1 { max-width: 540px; font-size: clamp(2rem, 8vw, 2.7rem); }
  .intro p { font-size: 14px; }
  .service-section, .calendar-section { margin-top: 30px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-option { min-height: 76px; border-radius: 25px; }
  .date-scroller { margin-right: -16px; padding-right: 16px; }
  .availability-card { padding: 18px 16px 15px; border-radius: 25px; }
  .time-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .time-slot { min-height: 45px; }
  .booking-actions { margin-top: 18px; }
  .booking-modal .modal-dialog { margin: 12px; }
  .booking-modal .modal-content { border-radius: 18px; }
  .booking-modal .modal-header { padding: 20px 18px 8px; }
  .booking-modal .modal-title { font-size: 18px; }
  .booking-modal .modal-body { padding: 6px 18px 4px; }
  .booking-modal .modal-footer { padding: 8px 18px 20px; }
  .modal-booking-summary { margin-bottom: 20px; font-size: 14px; }
  .whatsapp-confirm-button { font-size: 13px; }
}
@media (max-width: 760px) {
  .booking-modal .modal-content { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
  .booking-modal .modal-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 420px) {
  .booking-container { width: min(100% - 24px, 560px); }
  .barber-link { gap: 3px; padding: 7px 9px; font-size: 12px; }
  .intro h1 { font-size: 2.12rem; }
  .section-heading-row h2 { font-size: 15px; }
  .date-chip { width: 66px; height: 73px; flex-basis: 66px; }
  .date-scroller { margin-right: -12px; padding-right: 12px; }
  .availability-title { align-items: flex-start; font-size: 13px; }
  .timezone-note { display: none; }
  .time-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { flex-direction: column; gap: 7px; }
  .booking-modal .modal-dialog { margin: 8px; }
  .modal-booking-summary { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
