/* Single-page booking flow (v2). Builds on booking.css, booking_schedule.css
   and booking_confirm.css; only adds what the v2 shell needs. */

.booking-v2-page :focus-visible {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 2px;
}

/* Hero */
.booking-v2-hero {
  margin-bottom: 16px;
}

.booking-v2-hero-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 20px var(--shadow-overlay);
  background: var(--color-white);
}

.booking-v2-hero-banner {
  display: block;
  width: 100%;
  height: clamp(180px, 28vw, 260px);
  object-fit: cover;
}

.booking-v2-hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: -40px;
  padding: 0 4px;
}

.booking-v2-hero-identity {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  min-width: 0;
}

.booking-v2-hero-logo {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-white);
  box-shadow: 0 4px 12px var(--shadow-medium);
  background: var(--color-white);
}

.booking-v2-hero-heading {
  min-width: 0;
  padding-bottom: 2px;
}

.booking-v2-hero-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text-primary);
  overflow-wrap: anywhere;
}

.booking-v2-hero-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 18px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.booking-v2-hero-links a,
.booking-v2-hero-links button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking-v2-hero-links img {
  opacity: 0.8;
}

.booking-v2-hero-links a:hover,
.booking-v2-hero-links button:hover {
  color: var(--color-base-primary);
}


@media (max-width: 991.98px) {
  .booking-v2-page.py-5 {
    padding-top: 0 !important;
  }

  body:has(.booking-v2-page) {
    overflow-x: clip;
  }

  .booking-v2-page .booking-preview-notice {
    margin-top: 12px;
  }

  .booking-v2-panel:not([data-v2-panel="services"]) {
    padding-top: 16px;
  }

  .booking-v2-hero-media {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .booking-v2-hero-banner {
    height: 230px;
  }

  .booking-v2-hero-content {
    margin-top: -96px;
  }

  .booking-v2-hero-media::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(to bottom, transparent, var(--color-base-bg-light) 92%);
    pointer-events: none;
  }
}

/* Panels */
.booking-v2-panel[hidden] {
  display: none !important;
}

.booking-v2-panel-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin: 0 0 1rem;
}

.booking-v2-panel-title:focus,
.booking-v2-success-title:focus,
.booking-v2-panel h2:focus {
  outline: none;
}

.booking-v2-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 0.75rem;
}

.booking-v2-alert {
  margin-bottom: 1rem;
}

.booking-v2-empty {
  border: 1px dashed var(--color-border);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  background: var(--color-base-bg-light);
}

.booking-v2-empty-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.booking-v2-empty-text {
  margin: 0;
  color: var(--color-text-secondary);
}

.booking-v2-link {
  background: none;
  border: none;
  padding: 10px 4px;
  min-height: 44px;
  color: var(--color-base-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking-v2-link:hover {
  color: var(--color-primary-hover);
}

.booking-v2-link--danger {
  color: var(--color-error);
}

.booking-v2-link--danger:hover {
  color: var(--color-error);
  opacity: 0.85;
}

.booking-v2-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--color-bg-accent);
  background: var(--color-white);
  color: var(--color-base-primary);
  font-weight: 700;
}

.booking-v2-btn-secondary:hover,
.booking-v2-btn-secondary:focus {
  background: var(--color-base-bg-light);
  border-color: var(--color-base-primary);
  color: var(--color-base-primary);
}

/* Footer actions */
.booking-v2-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.booking-v2-actions .btn-booking-continue {
  flex: 1 1 auto;
}

.booking-v2-actions .btn-booking-continue.booking-v2-continue--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-left: 20px;
  padding-right: 20px;
}

.booking-v2-continue-selection {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-v2-continue-label {
  flex: 0 0 auto;
}

.booking-v2-page .mobile-sticky-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 8px;
}

.booking-v2-page .mobile-sticky-summary-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
}

.booking-v2-page .mobile-sticky-summary-value {
  flex: 0 0 auto;
  font-size: 1.15rem;
}

.booking-v2-page--success [data-v2-footer] {
  display: none !important;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .booking-v2-page .booking-v2-actions {
    width: min(460px, 100%);
  }

  .booking-v2-page .booking-v2-actions .btn-booking-continue {
    width: auto;
  }
}

/* Service catalog */
.booking-v2-toolbar {
  position: sticky;
  top: var(--booking-v2-sticky-top, 0px);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
  margin-bottom: 8px;
  background: var(--color-base-bg-light);
}

.booking-v2-toolbar.is-stuck {
  box-shadow: 0 8px 12px -10px var(--shadow-medium);
}

.booking-v2-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 4px 0 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-white);
}

.booking-v2-search:focus-within {
  border-color: var(--color-base-primary);
  box-shadow: 0 0 0 3px var(--color-focus-ring);
}

.booking-v2-search img {
  opacity: 0.6;
}

.booking-v2-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  color: var(--color-text-primary);
}

.booking-v2-page .booking-v2-search-input:focus-visible {
  outline: none;
}

.booking-v2-search-input::-webkit-search-cancel-button {
  display: none;
}

.booking-v2-search-clear {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
}

.booking-v2-search-clear[hidden] {
  display: none;
}

.booking-v2-chips {
  display: flex;
  gap: 8px;
}

.booking-v2-chips li[hidden] {
  display: none;
}

.booking-v2-chips .category-pill {
  min-height: 40px;
  padding: 6px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-white);
}

.booking-v2-chips .category-pill.active-category {
  border-color: var(--color-base-primary);
  background: var(--color-base-primary);
  color: var(--color-white);
}

.booking-v2-chips-wrapper::before {
  background: linear-gradient(90deg, var(--color-base-bg-light), transparent);
}

.booking-v2-chips-wrapper::after {
  background: linear-gradient(270deg, var(--color-base-bg-light), transparent);
}

.booking-v2-category {
  scroll-margin-top: var(--booking-v2-toolbar-height, 120px);
  margin-bottom: 20px;
}

.booking-v2-category-title {
  margin: 8px 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

.booking-v2-service-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.booking-v2-service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "toggle photo"
    "more photo";
  column-gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-white);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.booking-v2-service[hidden],
.booking-v2-service-more[hidden] {
  display: none !important;
}

.booking-v2-service.is-selected {
  border-color: var(--color-base-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.booking-v2-service-toggle {
  grid-area: toggle;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 44px;
  width: 100%;
  padding: 0 38px 0 0;
  border: none;
  background: none;
  color: inherit;
  text-align: left;
}

.booking-v2-service-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-primary);
}

.booking-v2-service-meta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-secondary-dark);
}

.booking-v2-service-description {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

.booking-v2-service-check {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-white) url("../img/icon-plus.66efeaa83712.svg") center / 14px no-repeat;
}

.booking-v2-service.is-selected .booking-v2-service-check {
  border-color: var(--color-base-primary);
  background: var(--color-base-primary) url("../img/icon-check-white.33761395d1cc.svg") center / 14px no-repeat;
}

.booking-v2-service-photo {
  grid-area: photo;
  position: relative;
  align-self: start;
  width: 72px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: none;
  border-radius: 12px;
  background: var(--color-bg-light);
}

.booking-v2-service-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-v2-service-photo-count {
  position: absolute;
  right: 4px;
  bottom: 4px;
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--shadow-text-dark);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
}

.booking-v2-service-more {
  grid-area: more;
  justify-self: start;
  min-height: 44px;
  margin-bottom: -10px;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-base-primary);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking-v2-search-empty {
  padding: 24px 16px;
  text-align: center;
}

.booking-v2-search-empty[hidden] {
  display: none;
}

.booking-v2-search-empty-title {
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--color-text-primary);
  overflow-wrap: anywhere;
}

.booking-v2-search-empty-text {
  margin: 0 0 12px;
  color: var(--color-text-secondary);
}

.booking-v2-detail-sheet.offcanvas-bottom {
  height: auto;
  max-height: 88vh;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.booking-v2-detail-gallery {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.booking-v2-detail-gallery[hidden] {
  display: none;
}

.booking-v2-detail-photo {
  flex: 0 0 85%;
  max-width: 320px;
  height: 240px;
  border-radius: 14px;
  object-fit: cover;
  scroll-snap-align: start;
}

.booking-v2-detail-meta {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--color-text-secondary-dark);
}

.booking-v2-detail-description {
  margin: 0;
  white-space: pre-line;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

/* Guests */
.booking-v2-guests {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
  margin-bottom: 1rem;
}

.booking-v2-guests[hidden] {
  display: none;
}

.booking-v2-guests .booking-v2-guest-list {
  flex: 1 0 100%;
}

.booking-v2-guests-hint {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.booking-v2-guest-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.booking-v2-guest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
  margin-top: 12px;
}

.booking-v2-guest-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.booking-v2-guest-name {
  font-weight: 700;
}

.booking-v2-guest-services {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.booking-v2-guest-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.booking-v2-guest-sheet.offcanvas-bottom {
  height: min(85vh, 680px);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.booking-v2-guest-sheet-hint {
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.booking-v2-guest-sheet-footer {
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--color-border);
}

.booking-v2-guest-category {
  margin-bottom: 16px;
}

.booking-v2-guest-category-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.booking-v2-guest-option {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 8px;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-white);
  text-align: left;
}

.booking-v2-guest-option.is-selected {
  border-color: var(--color-base-primary);
  background: var(--color-base-bg-light);
}

.booking-v2-guest-option-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.booking-v2-guest-option-name {
  font-weight: 600;
  color: var(--color-text-primary);
}

.booking-v2-guest-option-meta {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.booking-v2-guest-option-price {
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--color-base-primary);
}

/* Schedule blocks */
.booking-v2-block:not(:last-child) {
  margin-bottom: 28px;
}

.booking-v2-block .booking-v2-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 12px;
}

/* Professionals */
.booking-v2-pro-row + .booking-v2-pro-row {
  margin-top: 16px;
}

.booking-v2-pro-service {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin: -4px 0 8px;
}

.booking-v2-pro-duration {
  margin-left: 6px;
}

.booking-v2-pro-duration::before {
  content: "·";
  margin-right: 6px;
}

.booking-v2-pro-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -4px;
  padding: 4px;
  scrollbar-width: none;
}

.booking-v2-pro-chips::-webkit-scrollbar {
  display: none;
}

.booking-v2-pro-chip {
  flex: 1 0 96px;
  max-width: 140px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-white);
  color: var(--color-text-primary);
  font-weight: 500;
  font-size: 0.82rem;
  transition: border-color 0.2s, background-color 0.2s;
}

.booking-v2-pro-chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--color-focus-ring);
}

.booking-v2-pro-avatar {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-bg-light);
}

.booking-v2-pro-avatar.is-any {
  padding: 13px;
  object-fit: contain;
}

.booking-v2-pro-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.booking-v2-pro-initials.is-tone-0 {
  background: var(--color-bg-accent);
  color: var(--color-calendar-confirmed-end);
}

.booking-v2-pro-initials.is-tone-1 {
  background: var(--color-info-bg);
  color: var(--color-info-dark);
}

.booking-v2-pro-initials.is-tone-2 {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.booking-v2-pro-initials.is-tone-3 {
  background: var(--color-warning-bg);
  color: var(--color-warning-text);
}

.booking-v2-pro-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.booking-v2-pro-chip.is-selected {
  border-color: var(--color-base-primary);
  background: var(--color-primary-light);
  box-shadow: inset 0 0 0 1px var(--color-base-primary);
}

.booking-v2-pro-chip.is-selected:focus-visible {
  box-shadow: inset 0 0 0 1px var(--color-base-primary), 0 0 0 3px var(--color-focus-ring);
}

.booking-v2-pro-chip.is-selected .booking-v2-pro-name {
  color: var(--color-base-primary);
  font-weight: 700;
}

/* Week and slots */
.booking-v2-week-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.booking-v2-week-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 10px;
  min-width: 0;
}

.booking-v2-week-heading .booking-v2-section-title {
  margin: 0;
}

.booking-v2-month {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.booking-v2-week-nav {
  display: flex;
  gap: 8px;
}

.booking-v2-week-nav .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.booking-v2-week-nav .btn-arrow img {
  width: 20px;
  height: 20px;
}

.booking-v2-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  justify-items: center;
}

.booking-v2-day.day-btn {
  width: 100%;
  max-width: 56px;
  height: auto;
  aspect-ratio: 1 / 1;
  min-height: 44px;
}

.booking-v2-day .day-label {
  color: var(--color-text-secondary);
}

.booking-v2-day.selected .day-label {
  color: var(--color-white);
}

.booking-v2-day.day-btn.unavailable {
  background: transparent;
  color: var(--color-text-secondary);
  text-decoration: none;
  opacity: 0.45;
}

.booking-v2-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--color-info-bg);
  border: 1px solid var(--color-info-border);
  color: var(--color-info-dark);
  font-size: 0.92rem;
}

.booking-v2-slot-group + .booking-v2-slot-group {
  margin-top: 16px;
}

.booking-v2-slot-group-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin: 0 0 6px;
}

.booking-v2-slots .time-slots {
  margin-top: 0;
}

.booking-v2-slots .time-btn {
  min-height: 44px;
  border: 1px solid var(--color-border);
  font-weight: 600;
}

.booking-v2-slots .time-btn:hover {
  border-color: var(--color-base-primary);
}

.booking-v2-slots .time-btn.selected {
  border-color: var(--color-base-primary);
  background: var(--color-base-primary);
  color: var(--color-white);
  box-shadow: 0 2px 8px var(--shadow-primary-medium);
}

.booking-v2-slots-empty {
  margin: 0 auto;
}

/* Confirm */
.booking-v2-form {
  margin-top: 1.5rem;
}

.booking-v2-form .form-control,
.booking-v2-form .form-select {
  min-height: 48px;
}

.booking-v2-phone {
  display: flex;
  gap: 8px;
}

.booking-v2-phone .form-select {
  flex: 0 0 auto;
  width: auto;
  max-width: 45%;
}

.booking-v2-phone .form-control {
  flex: 1 1 auto;
  min-width: 0;
}

.booking-v2-phone .phone-country-dropdown {
  flex: 0 0 auto;
  display: flex;
}

.booking-v2-phone .phone-country-dropdown-trigger {
  min-height: 48px;
  padding: 0 12px;
}

/* Halloween */
.booking-v2-service--halloween,
.booking-v2-review--halloween {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.booking-v2-service--halloween > *,
.booking-v2-review--halloween > * {
  position: relative;
  z-index: 1;
}

.booking-v2-service--halloween::after,
.booking-v2-review--halloween::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.booking-v2-service--halloween::after {
  width: 260px;
  height: 260px;
  background-image: url("../img/halloween/arañas.54d71491f912.svg");
  transform: translate(calc(32% - 40px), -32%);
}

.booking-v2-review--halloween::after {
  width: 130px;
  height: 130px;
  background-image: url("../img/halloween/telaraña.6ded9891554f.svg");
  transform: translate(32%, -32%);
}

/* Confirm review */
.booking-v2-review {
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-white);
}

.booking-v2-review-when {
  display: flex;
  flex-wrap: wrap;
  column-gap: 6px;
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.booking-v2-review .confirmation-participant-section {
  margin-bottom: 0 !important;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
}

.booking-v2-review .confirmation-participant-section + .confirmation-participant-section {
  margin-top: 8px;
}

.booking-v2-review .confirmation-service-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.booking-v2-review .confirmation-service-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.booking-v2-review .service-name {
  font-size: 0.95rem;
}

.booking-v2-review .service-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.booking-v2-review-place {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.booking-v2-review-place img {
  flex: 0 0 auto;
  margin-top: 2px;
}

@media (min-width: 992px) {
  .booking-v2-review {
    display: none;
  }

  .booking-v2-review + .booking-v2-form {
    margin-top: 0;
  }
}

/* Payment */
.booking-v2-payment {
  margin-top: 28px;
}

.booking-v2-payment .booking-v2-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.booking-v2-payment-intro {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--color-text-secondary);
}

.booking-v2-bank {
  margin: 0;
  padding: 4px 16px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-white);
}

.booking-v2-bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 0;
}

.booking-v2-bank-row + .booking-v2-bank-row {
  border-top: 1px solid var(--color-border);
}

.booking-v2-bank dt {
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.booking-v2-bank dd {
  margin: 0;
  min-width: 0;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.booking-v2-bank-row--account {
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  padding: 8px 0;
}

.booking-v2-bank .booking-v2-bank-account {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-align: left;
}

.booking-v2-copy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 4px 10px;
  border: 1px solid var(--color-bg-accent);
  border-radius: 10px;
  background: var(--color-base-bg-light);
  color: var(--color-base-primary);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.booking-v2-copy:hover {
  border-color: var(--color-base-primary);
}

.booking-v2-copy.is-copied {
  border-color: var(--color-success-border);
  background: var(--color-success-bg);
  color: var(--color-success);
}

.booking-v2-payment-policy {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.booking-v2-upload-field {
  position: relative;
  margin-top: 16px;
}

.booking-v2-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.booking-v2-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 16px;
  border: 1.5px dashed var(--color-base-primary);
  border-radius: 14px;
  background: var(--color-white);
  cursor: pointer;
  transition: background 0.2s;
}

.booking-v2-upload:hover {
  background: var(--color-base-bg-light);
}

.booking-v2-upload-input:focus-visible + .booking-v2-upload {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 2px;
}

.booking-v2-upload-input.is-invalid + .booking-v2-upload {
  border-color: var(--color-error);
}

.booking-v2-upload-icon,
.booking-v2-upload-preview {
  flex: 0 0 auto;
}

.booking-v2-upload-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--color-base-bg-light);
}

.booking-v2-upload-preview {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.booking-v2-upload-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.booking-v2-upload-title {
  font-weight: 700;
  color: var(--color-text-primary);
}

.booking-v2-upload-hint {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Success */
.booking-v2-success {
  text-align: center;
  padding: 1.5rem 0 1rem;
}

.booking-v2-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-success);
  box-shadow: 0 0 0 8px var(--color-success-bg);
}

.booking-v2-success-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.booking-v2-success-when {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-base-primary);
  margin-bottom: 0.5rem;
}

.booking-v2-success-text {
  color: var(--color-text-secondary);
  max-width: 420px;
  margin: 0 auto 1.25rem;
}

.booking-v2-success-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 1rem;
}

.booking-v2-success-actions > :first-child:nth-last-child(odd) {
  grid-column: 1 / -1;
}

@media (prefers-reduced-motion: no-preference) {
  .booking-v2-success-icon {
    animation: booking-v2-pop 0.45s ease-out;
  }
}

@keyframes booking-v2-pop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Summary */
.booking-v2-summary-when {
  font-weight: 700;
  color: var(--color-base-primary);
  margin-bottom: 12px;
}

.booking-v2-summary-empty {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  margin: 0;
}

.booking-v2-summary-participant {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  margin: 8px 0 4px;
}

.booking-v2-page .summary-title {
  font-size: 1.25rem;
}

@media (max-width: 600px) {
  .booking-v2-days {
    gap: 4px;
  }

  .booking-v2-success-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-v2-guests-header .booking-v2-btn-secondary {
    width: 100%;
  }
}

.booking-v2-page .business-card-desktop .business-content {
  justify-content: center;
}
