/* Service Menu builder, scoped to services.html */
.wizard-shell { max-width: 720px; margin: 0 auto; padding: var(--space-10) var(--space-12) var(--space-20); }

.step-dots { display: flex; gap: var(--space-2); justify-content: center; margin-bottom: var(--space-8); }
.step-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-default); transition: background var(--duration-base) var(--ease-standard), transform var(--duration-base); }
.step-dot.active { background: var(--brand-primary); transform: scale(1.3); }
.step-dot.done { background: var(--rust-300); }

.step-label { text-align: center; color: var(--text-secondary); font-size: var(--text-sm); font-weight: var(--weight-bold); margin-bottom: var(--space-2); }
.step-title { text-align: center; margin-bottom: var(--space-8); }

.wizard-step { display: none; }
.wizard-step.active { display: block; }

.travel-teaser-map-wrap { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-subtle); margin-top: var(--space-3); }
.travel-teaser-map-wrap img { display: block; width: 100%; height: auto; }

/* Step 4 (review + booking request form) */
.booking-recap { color: var(--text-secondary); font-size: var(--text-md); margin: -8px 0 var(--space-6); text-align: center; }
.short-notice-note { color: var(--status-warning, var(--text-secondary)); font-size: var(--text-xs); margin: -8px 0 var(--space-4); }
.travel-map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); margin: -8px 0 var(--space-4); }
.travel-map-wrap img { display: block; width: 100%; height: auto; min-height: 200px; background: var(--surface-muted, var(--surface-card)); }
.travel-map-wrap img:not([src]), .travel-map-wrap img[src=""] { visibility: hidden; }
.travel-map-caption { color: var(--text-secondary); font-size: var(--text-xs); padding: var(--space-2) var(--space-3); margin: 0; }

.address-autocomplete-wrap { position: relative; }
.address-suggestions {
  list-style: none; margin: 0; padding: var(--space-1) 0; position: absolute; left: 0; right: 0; top: 100%;
  z-index: 20; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.12)); max-height: 260px; overflow-y: auto;
}
.address-suggestions li { padding: var(--space-2) var(--space-3); font-size: var(--text-sm); cursor: pointer; }
.address-suggestions li:hover, .address-suggestions li.active { background: var(--rust-100); }

.stepper-row { display: flex; align-items: center; justify-content: space-between; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); margin-bottom: var(--space-6); }
.stepper-controls { display: flex; align-items: center; gap: var(--space-4); }
.stepper-btn { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--brand-primary); background: var(--surface-card); color: var(--brand-primary); font-size: var(--text-lg); font-weight: var(--weight-bold); cursor: pointer; line-height: 1; }
.stepper-btn:hover { background: var(--rust-100); }
.stepper-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper-btn:disabled:hover { background: var(--surface-card); }
.stepper-btn-sm { width: 26px; height: 26px; font-size: var(--text-sm); }
.stepper-count { font-size: var(--text-lg); font-weight: var(--weight-extrabold); min-width: 24px; text-align: center; }

.wizard-date-row { flex-direction: column; align-items: stretch; gap: var(--space-3); }
.wizard-clear-dates { align-self: flex-start; padding: 4px 12px; font-size: var(--text-xs); }
.wizard-visits-row { margin: var(--space-2) 0 0; }
.wizard-surcharge-display { color: var(--text-secondary); font-size: var(--text-sm); background: var(--surface-sunken); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); margin: var(--space-3) 0 0; }
.wizard-surcharge-display strong { color: var(--text-primary); }

/* Two inline calendar-grid pickers (start/end), replacing native date inputs */
.wizard-calendars { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.wizard-calendar { flex: 1 1 220px; min-width: 220px; background: var(--surface-sunken); border-radius: var(--radius-md); padding: var(--space-3); }
.wizard-calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-2); font-weight: var(--weight-bold); font-size: var(--text-sm); }
.wizard-calendar-nav { border: none; background: none; cursor: pointer; color: var(--brand-primary); font-size: var(--text-md); line-height: 1; padding: 4px 8px; }
.wizard-calendar-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.wizard-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.wizard-calendar-dow { text-align: center; font-size: 10px; font-weight: var(--weight-bold); color: var(--text-muted); padding: 2px 0; }
.wizard-calendar-day { text-align: center; font-size: var(--text-xs); padding: 6px 0; border-radius: var(--radius-sm); cursor: pointer; background: var(--surface-card); }
.wizard-calendar-day:hover:not(.disabled) { background: var(--rust-100); }
.wizard-calendar-day.empty { visibility: hidden; cursor: default; }
.wizard-calendar-day.disabled { opacity: 0.3; cursor: not-allowed; }
.wizard-calendar-day.selected { background: var(--brand-primary); color: var(--text-on-rust); font-weight: var(--weight-bold); }
.wizard-calendar-day.in-range { background: var(--rust-100); }
/* Light color-coding so weekend/holiday days clearly read as premium
   days; holiday wins when a date is both (declared after .is-weekend so
   it takes priority at equal specificity). */
.wizard-calendar-day.is-weekend { background: var(--amber-100, #fdf0d5); }
.wizard-calendar-day.is-holiday { background: var(--rust-100); box-shadow: inset 0 0 0 1px var(--brand-primary); }
.wizard-calendar-day.selected.is-weekend,
.wizard-calendar-day.selected.is-holiday { background: var(--brand-primary); }
/* Next N days: booking that starts here triggers the short-notice fee */
.wizard-calendar-day.short-notice { box-shadow: inset 0 0 0 2px var(--status-error); }
.wizard-calendar-day.short-notice:not(.selected) { color: var(--status-error); font-weight: var(--weight-bold); }
.wizard-short-notice-note { color: var(--status-error); font-size: var(--text-xs); margin-top: var(--space-2); }
.wizard-calendar-legend { display: flex; flex-wrap: wrap; gap: var(--space-3); font-size: var(--text-xs); color: var(--text-secondary); margin-top: var(--space-3); }
.wizard-calendar-legend span { display: inline-flex; align-items: center; gap: 4px; }
.wizard-calendar-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* Required per-cat name/age cards on step 2 and the fuller cat-info cards
   on step 4 */
.cat-detail-card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); margin-bottom: var(--space-3); }
.cat-detail-card-title { font-weight: var(--weight-bold); margin-bottom: var(--space-3); display: flex; align-items: center; justify-content: space-between; }
.cat-detail-row { display: flex; gap: var(--space-3); align-items: flex-end; }
.cat-detail-row .field { flex: 1; }
.cat-compact-row { display: flex; gap: var(--space-3); align-items: flex-end; padding: var(--space-3) 0; border-bottom: 1px solid var(--border-subtle); }
.cat-compact-row:last-child { border-bottom: none; padding-bottom: 0; }
.cat-compact-name { flex: 1; }
.cat-compact-age { display: flex; flex-direction: column; gap: 4px; }
.cat-age-input { width: 40px; text-align: center; font-size: var(--text-lg); font-weight: var(--weight-extrabold); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: var(--surface-card); color: var(--text-primary); padding: 4px 2px; -moz-appearance: textfield; }
.cat-age-input::-webkit-outer-spin-button,
.cat-age-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cat-remove-btn { border: none; background: none; color: var(--text-muted); font-size: var(--text-xs); font-weight: var(--weight-bold); cursor: pointer; text-decoration: underline; }
.cat-remove-btn:hover { color: var(--status-error); }
.cat-info-card { margin-bottom: var(--space-4); }

/* Bubble-select: multi-pick chip buttons standing in for a free-text
   field (Step 4 personality/likes/dislikes), simple to tap and skim. */
.bubble-select { margin: var(--space-3) 0; }
.bubble-select-options { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: 6px; }
.bubble-btn { border: 1px solid var(--border-default); background: var(--surface-card); border-radius: var(--radius-pill); padding: 6px 14px; font-size: var(--text-xs); font-weight: var(--weight-bold); cursor: pointer; color: var(--text-secondary); }
.bubble-btn:hover { border-color: var(--rust-300); }
.bubble-btn.selected { background: var(--brand-primary); border-color: var(--brand-primary); color: var(--text-on-rust); }

/* Step 2's running total, shown at the bottom of the unified card */
.step2-live-price { display: flex; align-items: center; justify-content: space-between; background: var(--surface-sunken); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); margin-top: var(--space-2); }
.step2-live-price-label { font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--text-secondary); }
.step2-live-price-amt { font-size: var(--text-lg); font-weight: var(--weight-extrabold); color: var(--brand-primary); }

.suggest-label { font-size: var(--text-xs); font-weight: var(--weight-extrabold); color: var(--text-muted); text-transform: uppercase; letter-spacing: var(--tracking-wide); margin: var(--space-6) 0 var(--space-3); }
.step-section-title { font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--weight-bold); color: var(--text-primary); margin: var(--space-8) 0 var(--space-3); }
.step-section-title:first-child { margin-top: 0; }

/* --- Shared portrait card grid, used for packages, add-ons, and the review screen --- */
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: var(--space-3); }
/* Package tiles share the add-on grid's column tracks; each package card
   spans two tracks + the gap between them so it lines up exactly with a
   pair of add-on cards below it. */
.pick-grid.main-packages { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: var(--space-3); }

.pick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--surface-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-3) var(--space-3);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  height: 192px;
  overflow: hidden;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast), background var(--duration-fast), filter var(--duration-fast);
  font-family: var(--font-body);
}
.pick-card:hover { border-color: var(--rust-300); box-shadow: var(--shadow-md); }
.pick-card.selected { border-color: var(--brand-primary); box-shadow: 0 0 0 3px var(--rust-100); }
.pick-card.locked { opacity: 0.45; cursor: not-allowed; }

/* Landscape, double-width card: package tiles (main + specialty) and the
   review screen's package card. Always reads as a wide row that lines up
   with a pair of add-on cards beside/below it. */
.pick-card.main-pkg {
  grid-column: span 2;
  height: 130px;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
}
@media (max-width: 640px) {
  .pick-card.main-pkg { grid-column: 1 / -1; }
}
.pick-card.main-pkg .pick-card-icon { width: 54px; height: 54px; font-size: 30px; margin-bottom: 0; flex-shrink: 0; }
.pick-card.main-pkg .pick-card-body { flex: 1; min-width: 0; }
.pick-card.main-pkg .pick-card-title { font-size: var(--text-base); }
.pick-card.main-pkg .pick-card-desc { -webkit-line-clamp: 2; }
/* A landscape card's ribbon sits above the icon/title row; top-align and
   add clearance instead of letting the centered content run under it. */
.pick-card.main-pkg:has(.pick-card-ribbon) { align-items: flex-start; padding-top: 30px; height: auto; min-height: 130px; }

/* Package picker cards (step 1): tall vertical layout with a feature-icon
   row and a large package icon beside the description, distinct from the
   compact landscape card the review screen reuses this same markup for. */
#packageTiles .pick-card.main-pkg,
#specialtyTiles .pick-card.main-pkg,
#subPackagesSection .pick-card.main-pkg {
  flex-direction: column;
  align-items: stretch;
  height: auto;
  min-height: 0;
  padding: var(--space-6) var(--space-6) var(--space-5);
  gap: 0;
}
#packageTiles .pick-card.main-pkg .pick-card-title,
#specialtyTiles .pick-card.main-pkg .pick-card-title,
#subPackagesSection .pick-card.main-pkg .pick-card-title {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  padding-right: 40px;
  margin-bottom: var(--space-3);
}
#packageTiles .pick-card.main-pkg .pick-card-feature-icons,
#specialtyTiles .pick-card.main-pkg .pick-card-feature-icons,
#subPackagesSection .pick-card.main-pkg .pick-card-feature-icons {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
#packageTiles .pick-card.main-pkg .pick-card-feature-icon,
#specialtyTiles .pick-card.main-pkg .pick-card-feature-icon,
#subPackagesSection .pick-card.main-pkg .pick-card-feature-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
/* Tap-friendly tooltip for feature icons (touchscreens ignore `title` on
   tap); mouse hover uses the native `title` attribute already on the
   element, this covers touch via a toggled class (see
   bindFeatureIconTooltips in services-wizard-cards.js). */
.pick-card-feature-icon::after {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: var(--text-primary); color: var(--surface-card); font-size: 10px; font-weight: var(--weight-bold);
  white-space: nowrap; padding: 4px 8px; border-radius: var(--radius-sm); z-index: 5;
  opacity: 0; pointer-events: none; transition: opacity var(--duration-fast);
}
.pick-card-feature-icon:hover::after,
.pick-card-feature-icon:focus::after,
.pick-card-feature-icon.tooltip-open::after { opacity: 1; }
#packageTiles .pick-card.main-pkg .pick-card-main-row,
#specialtyTiles .pick-card.main-pkg .pick-card-main-row,
#subPackagesSection .pick-card.main-pkg .pick-card-main-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  flex: 1;
}
#packageTiles .pick-card.main-pkg .pick-card-icon,
#specialtyTiles .pick-card.main-pkg .pick-card-icon,
#subPackagesSection .pick-card.main-pkg .pick-card-icon {
  width: 76px;
  height: 76px;
  font-size: 34px;
  background: var(--teal-100);
  border-radius: var(--radius-lg);
  margin-bottom: 0;
}
#packageTiles .pick-card.main-pkg .pick-card-desc,
#specialtyTiles .pick-card.main-pkg .pick-card-desc,
#subPackagesSection .pick-card.main-pkg .pick-card-desc {
  -webkit-line-clamp: unset;
  font-size: var(--text-sm);
  flex: 1;
}
#packageTiles .pick-card.main-pkg .pick-card-price,
#specialtyTiles .pick-card.main-pkg .pick-card-price,
#subPackagesSection .pick-card.main-pkg .pick-card-price {
  font-size: var(--text-xl);
  padding-right: 36px;
  -webkit-line-clamp: unset;
}
#packageTiles .pick-card.main-pkg .pick-card-check,
#specialtyTiles .pick-card.main-pkg .pick-card-check,
#subPackagesSection .pick-card.main-pkg .pick-card-check {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
#packageTiles .pick-card.main-pkg .pick-card-info,
#specialtyTiles .pick-card.main-pkg .pick-card-info,
#subPackagesSection .pick-card.main-pkg .pick-card-info {
  width: 30px;
  height: 30px;
}

.pick-card-ribbon { position: absolute; top: 8px; left: 8px; background: var(--brand-primary); color: var(--text-on-rust); font-size: 10px; font-weight: var(--weight-extrabold); text-transform: uppercase; letter-spacing: var(--tracking-wide); padding: 2px 8px; border-radius: var(--radius-pill); z-index: 1; }
.pick-card.suggested .pick-card-ribbon { background: var(--amber-600); }
.pick-card.included .pick-card-ribbon { background: var(--status-success); color: #fff; }

/* Suggested add-on packages and suggested add-ons: also landscape,
   double-width, so the description and price never get clipped like
   they do in the narrow portrait tiles. */
.pick-card.suggested {
  grid-column: span 2;
  height: auto;
  min-height: 130px;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  padding-top: 30px;
}
@media (max-width: 640px) {
  .pick-card.suggested { grid-column: 1 / -1; }
}
.pick-card.suggested .pick-card-icon { width: 54px; height: 54px; font-size: 30px; margin-bottom: 0; flex-shrink: 0; }
.pick-card.suggested .pick-card-body { flex: 1; min-width: 0; }
.pick-card.suggested .pick-card-desc { -webkit-line-clamp: 2; }
.pick-card.suggested .pick-card-price { -webkit-line-clamp: 1; }
.pick-card-check { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border-strong); background: var(--surface-card); display: flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1; }
.pick-card-check.checked { background: var(--brand-primary); border-color: var(--brand-primary); color: var(--text-on-rust); }
.pick-card-info {
  position: absolute; bottom: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: var(--surface-card); color: var(--text-muted);
  font-size: 12px; font-style: italic; font-weight: var(--weight-bold); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-family: Georgia, serif;
  z-index: 2;
}
.pick-card-info:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.pick-card-icon { font-size: 26px; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: var(--surface-sunken); border-radius: var(--radius-md); margin-bottom: var(--space-2); flex-shrink: 0; }
.pick-card-body { display: flex; flex-direction: column; min-width: 0; width: 100%; flex: 1; }
.pick-card-title { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-sm); line-height: 1.2; margin-bottom: 4px; }
.pick-card-desc { color: var(--text-secondary); font-size: 11px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
/* Right padding reserves room so the price can never run under the (i) button.
   Line-clamped so a long note (e.g. "$5 per 10 min, ask at booking") can't
   push past the card's fixed height. */
.pick-card-price { font-weight: var(--weight-extrabold); color: var(--brand-primary); font-size: var(--text-sm); margin-top: var(--space-2); padding-right: 28px; box-sizing: border-box; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick-card-price .price-strike { text-decoration: line-through; opacity: 0.65; font-weight: var(--weight-bold); margin-right: 4px; }
.pick-card-price .included-tag { color: var(--status-success); }
.pick-card-price .removed-tag { color: var(--text-muted); }

/* Included with package: light green, greys out once removed */
.pick-card.included { background: var(--status-success-bg); border-color: var(--status-success); }
.pick-card.included.removed { background: var(--surface-sunken); border-color: var(--border-default); filter: grayscale(1); opacity: 0.65; }

/* "All Add-ons": category entry points shown as a grid of square cards
   (icon + category name); clicking one expands its add-on grid below
   the card row. */
.addon-group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: var(--space-3); margin-bottom: var(--space-4); }
.addon-category-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2);
  aspect-ratio: 1; background: var(--surface-card); border: 2px solid var(--border-subtle); border-radius: var(--radius-lg);
  cursor: pointer; text-align: center; padding: var(--space-3); font-family: var(--font-body);
}
.addon-category-card:hover { border-color: var(--rust-300); }
.addon-category-card.open { border-color: var(--brand-primary); box-shadow: 0 0 0 3px var(--rust-100); }
.addon-category-card-icon { font-size: 22px; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: var(--surface-sunken); border-radius: var(--radius-md); }
.addon-category-card-name { font-size: var(--text-xs); font-weight: var(--weight-bold); line-height: 1.2; }
details.addon-group { grid-column: 1 / -1; margin-bottom: var(--space-3); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: var(--space-4); background: var(--surface-card); }
details.addon-group .pick-grid { margin-top: var(--space-2); }

/* Selected add-ons: a persistent side panel on wide screens (enough
   room to overlay beside the content), collapsing behind a floating
   cart-icon button on narrow screens that opens the same panel. */
.addon-cart { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; padding: var(--space-3) var(--space-4); background: var(--surface-sunken); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); }
.addon-cart-label { font-size: var(--text-xs); font-weight: var(--weight-extrabold); color: var(--text-muted); text-transform: uppercase; letter-spacing: var(--tracking-wide); margin-right: var(--space-1); }
.addon-cart-total { font-weight: var(--weight-extrabold); color: var(--brand-primary); margin-left: auto; }
.addon-chip { display: flex; align-items: center; gap: 6px; background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-pill); padding: 4px 8px 4px 10px; font-size: var(--text-xs); font-weight: var(--weight-bold); }
.addon-chip button { border: none; background: none; cursor: pointer; color: var(--text-muted); font-size: 15px; line-height: 1; padding: 2px; }
.addon-chip button:hover { color: var(--brand-primary); }

.addon-cart-toggle {
  display: none; position: fixed; bottom: var(--space-6); right: var(--space-6); z-index: 150;
  width: 52px; height: 52px; border-radius: 50%; border: none; background: var(--brand-primary);
  color: var(--text-on-rust); font-size: 20px; box-shadow: var(--shadow-lg); cursor: pointer;
  align-items: center; justify-content: center; gap: 2px;
}
.addon-cart-toggle span { font-size: 11px; font-weight: var(--weight-extrabold); }
.addon-cart-panel { margin-bottom: var(--space-6); }
.addon-cart-panel .addon-cart:not(.has-items) { display: none; }
@media (max-width: 760px) {
  .addon-cart-panel { display: none; }
  .addon-cart-toggle.has-items { display: flex; }
  .addon-cart-panel.open {
    display: block; position: fixed; inset: auto var(--space-4) 84px var(--space-4); z-index: 150;
    max-height: 50vh; overflow-y: auto; box-shadow: var(--shadow-lg); border-radius: var(--radius-lg);
  }
  .addon-cart-panel.open .addon-cart { display: flex; margin-bottom: 0; }
}

/* Specialty package expander: centered, larger label, shaded so it reads
   as expandable rather than a plain link/button. */
.specialty-wrap { margin-top: var(--space-6); }
.specialty-expand-card {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  background: var(--surface-sunken); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5); cursor: pointer; font-family: var(--font-body);
  text-align: center;
}
.specialty-expand-card:hover { border-color: var(--rust-300); background: var(--rust-100); }
.specialty-expand-title { font-size: calc(var(--text-sm) + 2pt); font-weight: var(--weight-extrabold); color: var(--text-primary); }
.specialty-expand-chevron { color: var(--brand-primary); transition: transform var(--duration-fast); }
.specialty-expand-card[aria-expanded="true"] .specialty-expand-chevron { transform: rotate(180deg); }

.custom-care-note { color: var(--text-secondary); font-size: var(--text-sm); margin: -6px 0 var(--space-3); }
.custom-care-notes {
  width: 100%; font-family: var(--font-body); font-size: var(--text-sm);
  padding: 12px 14px; border-radius: var(--radius-md); border: 1px solid var(--border-default);
  background: var(--surface-card); color: var(--text-primary); color-scheme: light;
  resize: vertical;
}
.custom-care-notes::placeholder { color: var(--text-muted); opacity: 1; }

.promo-callout {
  display: flex; align-items: center; gap: var(--space-3);
  background: var(--status-success-bg); border: 1px dashed var(--status-success);
  border-radius: var(--radius-md); padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6); font-size: var(--text-sm);
}
.promo-callout strong { color: var(--status-success); }
.promo-badge { background: var(--status-success); color: #fff; font-size: 11px; font-weight: var(--weight-extrabold); text-transform: uppercase; letter-spacing: var(--tracking-wide); padding: 3px 9px; border-radius: var(--radius-pill); flex-shrink: 0; }

.review-line { display: flex; justify-content: space-between; padding: var(--space-3) 0; border-bottom: 1px solid var(--border-subtle); font-size: var(--text-sm); gap: var(--space-4); }
.review-line.total { font-size: var(--text-md); font-weight: var(--weight-extrabold); border-bottom: none; padding-top: var(--space-4); }
.review-line.total .amt { color: var(--brand-primary); }
.review-note { color: var(--text-secondary); font-size: var(--text-xs); margin-top: 2px; }
.review-line.discount { color: var(--status-success); font-weight: var(--weight-bold); }
.review-line.discount .amt { color: var(--status-success); }

/* Step 4 cart card: styled after an FDA Nutrition Facts label (thick black
   rules, condensed bold header, heavy divider above the subtotal/total)
   since that blunt, no-nonsense itemization reads as more trustworthy for
   a price breakdown than a soft rounded card. */
.cart-card { background: var(--surface-card); border: 3px solid var(--text-primary); border-radius: 2px; padding: var(--space-6); margin: var(--space-4) 0 var(--space-6); font-variant-numeric: tabular-nums; }
.cart-card-title { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: var(--weight-extrabold); letter-spacing: -0.01em; margin: 0 0 var(--space-3); padding-bottom: var(--space-2); border-bottom: 8px solid var(--text-primary); }
.cart-card .step-section-title { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); font-weight: var(--weight-extrabold); margin: var(--space-5) 0 var(--space-1); padding-bottom: var(--space-1); border-bottom: 4px solid var(--text-primary); }
.cart-card .step-section-title:first-child { margin-top: 0; }
.cart-card .review-line { border-bottom: 1px solid var(--border-subtle); }
.cart-card .review-line.subtotal { font-weight: var(--weight-extrabold); border-top: 4px solid var(--text-primary); border-bottom: none; margin-top: 2px; padding-top: var(--space-3); }
.cart-card .review-line.total { border-top: 8px solid var(--text-primary); border-bottom: 3px solid var(--text-primary); margin-top: var(--space-3); padding: var(--space-3) 0; font-size: var(--text-xl); }

/* Review screen: package card is 2 columns + gap wide, same height as an add-on card */
.review-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin-bottom: var(--space-6); }
.review-pkg-card { cursor: default; }
.review-pkg-card .pick-card-title { font-size: var(--text-md); }
.review-addon-card { height: 130px; justify-content: center; cursor: default; }
.review-addon-card .pick-card-desc { display: none; }

/* --- Info overlay: anchored near the clicked card (positioned via JS in
   services-wizard-cards.js) instead of a generic centered modal, so
   opening it reads as "this card, expanded" rather than a separate
   dialog. --- */
.info-modal-backdrop {
  position: fixed; inset: 0; background: transparent;
  display: none; z-index: 200;
}
.info-modal-backdrop.open { display: block; }
.info-modal {
  background: var(--surface-card); border-radius: var(--radius-lg);
  padding: var(--space-6); box-shadow: var(--shadow-lg); text-align: center;
  max-height: 70vh; overflow-y: auto;
}
.info-modal-close {
  position: absolute; top: var(--space-3); right: var(--space-3); width: 30px; height: 30px;
  border-radius: 50%; border: none; background: var(--surface-sunken); color: var(--text-secondary);
  font-size: var(--text-lg); cursor: pointer; line-height: 1;
}
.info-modal-icon { font-size: 40px; width: 72px; height: 72px; margin: 0 auto var(--space-3); background: var(--surface-sunken); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; }
.info-modal h3 { margin: 0 0 var(--space-3); }
.info-modal p { color: var(--text-secondary); line-height: 1.5; }
.info-modal-price { color: var(--brand-primary); font-weight: var(--weight-bold); }

/* Always-visible submit button, disabled with a tooltip until required
   fields are filled (see checkStep4Ready in services-wizard-step4.js). */
.wizard-submit-row { display: flex; justify-content: center; margin-top: var(--space-6); }
#bookingSubmitBtn { font-size: var(--text-md); padding: var(--space-4) var(--space-10); }
#bookingSubmitBtn:disabled { opacity: 0.5; cursor: not-allowed; }
.wizard-submit-note { color: var(--text-secondary); font-size: var(--text-sm); margin-top: var(--space-4); text-align: center; }
.wizard-submit-note div { margin-bottom: 4px; }

.wizard-nav { display: flex; justify-content: space-between; margin-top: var(--space-8); gap: var(--space-4); }
.wizard-nav .btn-outline { flex: 0 0 auto; }
