/* ========================================
   ALPY DESIGN SYSTEM ALIGNMENT
   Re-aligns buttons and form elements with
   the canonical button voice & input focus
   state defined in colors_and_type.css +
   preview/10-buttons.html / 11-inputs.html.
   Loaded after styles.css and pages.css so
   it wins the cascade for shared selectors.
   ======================================== */

/* ---- shared mixins via repeated declarations ---- */

/* Primary CTAs — Alpy Blue, black text. Voice: "Book Now"
   Foco Black Italic • ALL CAPS • 0.08em tracking
   (Shape kept at original radius per design review.) */
.search-card .search-btn,
.summary-next {
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-black);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.search-card .search-btn {
  /* keep horizontal padding from base, slightly raise letter contrast */
  font-size: 14px;
}
.summary-next {
  font-size: 14px;
}

/* Secondary CTAs — Alpy Red, white text. Voice: "Learn More" / "Add to cart"
   Foco Black Italic • ALL CAPS • 0.08em tracking
   (Shape kept at original radius per design review.) */
.header-cta-desktop,
.product-card .price-row .cart-btn,
.add-person,
.pay-cta,
.mob-sheet-apply,
.insurance-card .add-btn,
.product-banner .change-btn {
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-black);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.header-cta-desktop {
  font-size: 13px;
  padding: 12px 22px;
}
.product-card .price-row .cart-btn {
  font-size: 13px;
  padding: 14px 22px;
}
.add-person {
  font-size: 13px;
  padding: 14px;
}
.pay-cta {
  font-size: 15px;
}
.mob-sheet-apply {
  font-size: 14px;
}
.insurance-card .add-btn {
  font-size: 12px;
}
.product-banner .change-btn {
  font-size: 12px;
  padding: 10px 18px;
}

/* Outline button (red border on white). Voice: "Edit", "Clear all" */
.search-collapsed .sc-edit,
.mob-sheet-clear {
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-black);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  background: transparent;
  border: 1.5px solid var(--color-primary-red);
  color: var(--color-primary-red);
}
.search-collapsed .sc-edit:hover,
.mob-sheet-clear:hover {
  background: var(--color-primary-red);
  color: #fff;
  border-color: var(--color-primary-red);
}

/* "Load more shops" — outline pill on white */
.town-layout .shop-list + div > button,
.town-layout button[style] {
  /* fallback — handled by inline style. CSS-driven version below */
}

/* Shop-card price CTA: keep complex two-line layout. Original radius retained. */
.shop-card .price-cta {
  padding-left: 18px;
  padding-right: 14px;
}
.shop-card .price-cta .cta-text small {
  letter-spacing: 0.1em;
}

/* Header CTA inherits its original radius from styles.css */

/* Carousel arrows: circular by default, leave alone */

/* ===============================================
   FORM INPUTS — canonical focus state
   Border becomes Alpy Blue + soft 3px halo.
   Replaces the hard outline rings in person-card,
   binding-grid and field-group.
   =============================================== */

/* Re-declare default style so the focus override targets the same elements */
.person-card .input-pair input,
.person-card .input-pair select,
.binding-grid input,
.binding-grid select,
.field-group input,
.field-group select,
.card-form input,
.card-form select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.person-card .input-pair input:focus,
.person-card .input-pair select:focus,
.binding-grid input:focus,
.binding-grid select:focus,
.field-group input:focus,
.field-group select:focus,
.card-form input:focus,
.card-form select:focus {
  outline: none;
  border-color: var(--color-primary-blue);
  box-shadow: 0 0 0 3px rgba(113, 226, 235, 0.25);
}

/* Error state on form group — matches preview/11-inputs.html */
.field-group.error input,
.field-group.error select,
.field-group.error textarea {
  border-color: var(--color-error);
}
.field-group.error input:focus,
.field-group.error select:focus {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.18);
}
.field-group .error-message {
  font-size: 12px;
  color: var(--color-error);
  font-weight: 500;
}

/* ===============================================
   CHECKOUT — Brand background + payment layout
   =============================================== */
.checkout-bg {
  position: relative;
  padding-top: 32px;
  padding-bottom: 80px;
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
    radial-gradient(80% 60% at 95% 100%, rgba(255, 218, 195, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, var(--color-primary-red) 0%, #d35433 70%, #c0432a 100%);
  min-height: 100vh;
}
/* Soften the orange product-summary card so it sits over red */
.checkout-bg .checkout-section,
.checkout-bg .summary-side {
  background: var(--color-neutral-white);
}

/* Two-column layout inside payment section:
   Left = always-visible card form (primary path)
   Right = stack of alternative methods */
.payment-card-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
}
.payment-card-layout .card-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.payment-card-layout .card-form .full {
  grid-column: 1 / -1;
}

.card-brand-strip {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  align-items: center;
}
.card-brand-strip .badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--color-neutral-off-white);
  border: 1px solid var(--color-border);
  color: var(--color-fg-secondary);
  letter-spacing: 0.04em;
}

.other-methods-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px dashed var(--color-border);
}
.other-methods-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-fg-secondary);
  margin: 0 0 4px;
}
.other-methods-side .payment-method {
  padding: 12px 14px;
}
.other-methods-side .payment-method .label {
  font-size: 14px;
}
.other-methods-side .payment-method .sub {
  font-size: 12px;
}

@media (max-width: 1024px) {
  .payment-card-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .other-methods-side {
    padding-left: 0;
    border-left: 0;
    padding-top: 16px;
    border-top: 1px dashed var(--color-border);
  }
}
@media (max-width: 640px) {
  .payment-card-layout .card-form {
    grid-template-columns: 1fr;
  }
}

/* ===============================================
   CHECKOUT — Consent + final actions band
   Sits below the payment section: red panel with
   two consent checkboxes + promo note on the
   right, and Check-your-booking + Book buttons.
   =============================================== */
.confirm-band {
  background: var(--color-neutral-white);
  color: var(--color-fg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.confirm-band .confirm-consents {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  text-align: right;
}
.confirm-band .consent {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  color: var(--color-fg-primary);
}
.confirm-band .consent input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: var(--transition-fast);
}
.confirm-band .consent input[type='checkbox']:hover {
  border-color: var(--color-primary-red);
}
.confirm-band .consent input[type='checkbox']:checked {
  background: var(--color-primary-red);
  border-color: var(--color-primary-red);
}
.confirm-band .consent input[type='checkbox']:checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'><path d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>")
    no-repeat center / 14px 14px;
  mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'><path d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>")
    no-repeat center / 14px 14px;
}
.confirm-band .consent-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-fg-secondary);
  max-width: 520px;
  margin: 0;
}
.confirm-band .consent-note a {
  color: var(--color-primary-red);
  font-weight: 700;
  text-decoration: underline;
}

.confirm-band .confirm-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}
.confirm-band .check-booking-btn,
.confirm-band .book-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-md);
  padding: 14px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 0;
}
.confirm-band .check-booking-btn {
  background: transparent;
  color: var(--color-primary-red);
  border: 1.5px solid var(--color-primary-red);
  padding: 12.5px 20px;
}
.confirm-band .check-booking-btn:hover {
  background: var(--color-bg-warm);
}
.confirm-band .book-btn {
  background: var(--color-primary-blue);
  color: var(--color-fg-primary);
  font-family: var(--font-family-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-right: 16px;
}
.confirm-band .book-btn:hover {
  background: var(--color-action-secondary-hover);
}

@media (max-width: 768px) {
  .confirm-band {
    padding: 20px;
    border-radius: var(--radius-lg);
  }
  .confirm-band .confirm-consents {
    align-items: stretch;
    text-align: left;
  }
  .confirm-band .consent {
    justify-content: space-between;
  }
  .confirm-band .consent-note {
    max-width: none;
  }
  .confirm-band .confirm-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .confirm-band .check-booking-btn,
  .confirm-band .book-btn {
    justify-content: center;
    padding: 14px;
  }
}

/* ===============================================
   PRODUCT CARD V2 — Stacked layout
   Row 1: landscape thumbnail + title/meta
   Row 2: additional services (full-width grid)
   Row 3: prices + Add-to-cart
   =============================================== */
.product-card.v2 {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* Card head: image bleeds to the left/top/bottom edges (no padding), meta keeps its own padding */
.product-card.v2 .card-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 0;
  align-items: stretch;
}
.product-card.v2 .thumb {
  position: relative;
  /* fill the full head height; flush to the card's left/top/bottom edges */
  min-height: 200px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--color-bg-secondary);
  border-radius: 0;
  overflow: hidden;
}
.product-card.v2 .head-meta {
  padding: 22px 22px 22px 0;
}
.product-card.v2 .tier-chip {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: var(--color-bg-warm);
  font-family: var(--font-family-display);
}
.product-card.v2 .tier-chip .tier {
  font-size: 11px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--color-fg-primary);
  text-transform: uppercase;
}
.product-card.v2 .tier-chip .stars {
  font-size: 12px;
  color: var(--color-primary-red);
  letter-spacing: 1px;
  line-height: 1;
}

.product-card.v2 .head-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.product-card.v2 .head-meta h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: var(--color-fg-primary);
}
.product-card.v2 .head-meta .alt {
  font-size: 12px;
  color: var(--color-fg-tertiary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.product-card.v2 .head-meta .desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-fg-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card.v2 .head-includes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-success);
  margin-top: 2px;
}
.product-card.v2 .head-includes svg {
  color: var(--color-success);
}

/* Services row */
.product-card.v2 .services-section {
  padding: 14px 22px;
  border-top: 1px solid var(--color-border);
  background: var(--color-neutral-off-white);
}
.product-card.v2 .services-section h5 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-fg-secondary);
  margin: 0 0 8px;
}
.product-card.v2 .addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.product-card.v2 .addons-grid .addon-row {
  background: #fff;
  padding: 7px 10px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}
.product-card.v2 .addons-grid .addon-row .lbl {
  gap: 8px;
}
.product-card.v2 .addons-grid .addon-row .lbl .ic {
  color: var(--color-fg-secondary);
}
.product-card.v2 .addons-grid .addon-row .right {
  gap: 10px;
}
.product-card.v2 .addons-grid .addon-row .right .price {
  font-size: 12px;
  font-weight: 700;
}
.product-card.v2 .addons-grid .addon-row .toggle {
  width: 34px;
  height: 20px;
}
.product-card.v2 .addons-grid .addon-row .toggle::after {
  width: 16px;
  height: 16px;
}
.product-card.v2 .addons-grid .addon-row .toggle.on::after {
  transform: translateX(14px);
}

/* Price strip */
.product-card.v2 .price-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-top: 1px solid var(--color-border);
}
.product-card.v2 .prices {
  display: flex;
  gap: 24px;
  align-items: baseline;
}
.product-card.v2 .prices .col small {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-fg-secondary);
  display: block;
}
.product-card.v2 .prices .col .price {
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  font-family: var(--font-family-display);
  color: var(--color-fg-primary);
}
.product-card.v2 .prices .col.online .price {
  color: var(--color-primary-red);
}
.product-card.v2 .prices .col.store .price {
  font-size: 16px;
  text-decoration: line-through;
  color: var(--color-fg-tertiary);
}
.product-card.v2 .price-strip .cart-btn {
  background: var(--color-primary-red);
  color: #fff;
  border: 0;
  border-radius: var(--radius-md);
  padding: 14px 22px;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition-fast);
  white-space: nowrap;
}
.product-card.v2 .price-strip .cart-btn.added {
  background: var(--color-success);
}
.product-card.v2 .price-strip .cart-btn:hover {
  background: var(--color-action-primary-hover);
}

@media (max-width: 1100px) {
  .product-card.v2 .card-head {
    grid-template-columns: 170px 1fr;
    gap: 18px;
  }
  .product-card.v2 .head-meta {
    padding: 16px 16px 16px 0;
  }
  .product-card.v2 .head-meta h3 {
    font-size: 18px;
  }
  .product-card.v2 .addons-grid {
    grid-template-columns: 1fr;
  }
}
/* Mobile per-person selection screen: image spans the full card width */
.mob-product-screen .product-card.v2 .card-head {
  grid-template-columns: 1fr;
  gap: 0;
}
.mob-product-screen .product-card.v2 .thumb {
  width: 100%;
  aspect-ratio: 5 / 2; /* shorter banner — the ski is wide */
  min-height: 0;
}
.mob-product-screen .product-card.v2 .head-meta {
  padding: 16px;
}
@media (max-width: 640px) {
  .product-card.v2 .card-head {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .product-card.v2 .thumb {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .product-card.v2 .head-meta {
    padding: 16px;
  }
  .product-card.v2 .price-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .product-card.v2 .prices {
    justify-content: space-between;
  }
  .product-card.v2 .price-strip .cart-btn {
    justify-content: center;
  }
}

/* ===============================================
   PRODUCT PAGE — Inline category tabs
   Tabs live at the top of the middle column.
   =============================================== */
.product-tabs-inline {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 18px;
}
.product-tab-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-fg-secondary);
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
  font-family: inherit;
}
.product-tab-inline:hover {
  color: var(--color-fg-primary);
}
.product-tab-inline.active {
  color: var(--color-primary-red);
}
.product-tab-inline.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: var(--color-primary-red);
}
@media (max-width: 1024px) {
  .product-tabs-inline {
    overflow-x: auto;
  }
  .product-tab-inline {
    white-space: nowrap;
    padding: 10px 14px;
  }
}

/* Hide the old full-width sticky tabs (no longer rendered, but defensive) */
.product-tabs {
  display: none;
}

/* Cards live inside a [data-group] wrapper, so the inter-card gap must sit on
   the wrapper (the .product-list gap only spaces the group divs themselves). */
.product-desktop .product-list > [data-group] {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===============================================
   PRODUCT PAGE — Person card collapse/expand
   Only the active person shows the name/age inputs.
   Inactive cards collapse to header-only.
   Palette: neutral grey + Gletscher (cool) for CTA.
   =============================================== */
.product-layout .col-left {
  background: var(--color-neutral-off-white);
  border-radius: var(--radius-xl);
  padding: 10px;
}
.product-layout .col-left .person-list {
  gap: 6px;
}
.person-card {
  border-radius: var(--radius-md);
  padding: 10px 12px;
  background: var(--color-neutral-white);
  border-color: var(--color-border);
}
.person-card:hover {
  border-color: var(--color-fg-tertiary);
}
.person-card.active {
  border-color: var(--color-fg-primary);
  box-shadow: none;
}
.person-card .head {
  gap: 10px;
  margin-bottom: 0;
}
.person-card .head .ic {
  width: 28px;
  height: 28px;
  background: var(--color-neutral-off-white);
  color: var(--color-fg-secondary);
}
.person-card .head .ic svg {
  width: 14px;
  height: 14px;
}
.person-card .head .lbl small {
  font-size: 10px;
}
.person-card .head .lbl strong {
  font-size: 13px;
}
.person-card.active .head .ic {
  background: var(--color-primary-blue);
  color: var(--color-fg-primary);
}
.person-card .input-pair {
  display: none;
}
.person-card.active .input-pair {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.person-card.active .input-pair input,
.person-card.active .input-pair select {
  padding: 8px 10px;
  font-size: 13px;
}
.person-card.active .head {
  margin-bottom: 2px;
}

/* Add person — utility button (white, not a primary CTA) */
.add-person {
  background: var(--color-neutral-white);
  color: var(--color-fg-primary);
  border: 1px dashed var(--color-border);
  padding: 8px;
  font-size: 12px;
  margin-top: 6px !important;
}
.add-person:hover {
  background: var(--color-neutral-white);
  border-color: var(--color-fg-primary);
  color: var(--color-fg-primary);
}

/* ===============================================
   PRODUCT PAGE — Mobile header condensation
   Shrink global header, banner, and "Your booking"
   intro so users see content sooner.
   =============================================== */
@media (max-width: 1024px) {
  /* Only condense the global header when used on the product mobile flow */
  body .header-inner {
    min-height: 56px;
    gap: 16px;
  }
  body .brand img {
    height: 28px;
  }
  .header-cta-mobile {
    padding: 8px 10px !important;
  }

  /* Tighter banner */
  .product-banner.mob {
    padding: 10px 0;
  }
  .mob-shop-bar {
    padding: 10px 12px;
    gap: 10px;
  }
  .mob-shop-bar .ic {
    width: 32px;
    height: 32px;
  }
  .mob-shop-bar .title small {
    font-size: 10px;
  }
  .mob-shop-bar .title strong {
    font-size: 13px;
    line-height: 1.15;
  }
  .mob-shop-bar .title .loc {
    display: none;
  }

  /* Booking card title row — compact, left-aligned, no extra margin */
  .mob-summary {
    padding-top: 10px;
  }
  .mob-card {
    padding: 12px 14px;
    margin-bottom: 12px;
  }
  .mob-card h3 {
    text-align: left;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 8px;
  }
  .mob-card h3 + .mob-dates,
  .mob-card h3 + .mob-persons-list {
    margin-bottom: 14px;
  }
  .mob-dates {
    padding: 10px 0;
    margin-bottom: 10px;
  }
  .mob-dates .mob-date .ic {
    width: 18px;
    height: 18px;
  }
  .mob-dates .mob-date strong {
    font-size: 14px;
  }
}
Screen 1: Summary (booking dates + persons + totals)
   Screen 2: Per-person product selection
   Both only render on ≤1024px via React isMobile branch.
   =============================================== */

/* Compact shop bar replacing the expanded shop info card */
.product-banner.mob {
  padding: 14px 0;
}
.product-banner.mob .mob-shop-bar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-neutral-white);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  color: var(--color-fg-primary);
}
.mob-shop-bar .ic {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-bg-warm);
  color: var(--color-primary-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mob-shop-bar .title {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mob-shop-bar .title small {
  font-size: 11px;
  color: var(--color-fg-tertiary);
}
.mob-shop-bar .title strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.mob-shop-bar .title .loc {
  font-size: 12px;
  color: var(--color-fg-secondary);
}
.mob-shop-bar .chev {
  color: var(--color-fg-secondary);
  flex-shrink: 0;
}

/* Summary screen */
.mob-summary {
  padding-top: 14px;
  padding-bottom: 100px; /* space for sticky CTA */
}

.mob-card {
  background: var(--color-neutral-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.mob-card h3 {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary-red);
  margin: 0 0 12px;
}
.mob-card h3 + .mob-dates,
.mob-card h3 + .mob-persons-list {
  margin-bottom: 18px;
}

/* Dates row */
.mob-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
  margin-bottom: 12px;
}
.mob-dates .mob-date {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
}
.mob-dates .mob-date:first-child {
  border-right: 1px solid var(--color-primary-red);
}
.mob-dates .mob-date:last-child {
  justify-content: flex-end;
}
.mob-dates .mob-date .ic {
  color: var(--color-primary-red);
  flex-shrink: 0;
}
.mob-dates .mob-date small {
  display: block;
  font-size: 11px;
  color: var(--color-fg-secondary);
  margin-bottom: 1px;
}
.mob-dates .mob-date strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-fg-primary);
}
.mob-dates .mob-date .right {
  text-align: right;
}

/* Persons list inside summary */
.mob-persons-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mob-person-row {
  background: var(--color-bg-cool);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.mob-person-row:hover {
  background: rgba(113, 226, 235, 0.22);
}
.mob-person-row .ic-person {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--color-primary-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-primary-red);
  flex-shrink: 0;
}
.mob-person-row .info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mob-person-row .info strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mob-person-row .info .item-line,
.mob-person-row .info .select-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-fg-primary);
}
.mob-person-row .info .select-cta {
  color: var(--color-fg-secondary);
  font-weight: 500;
}
.mob-person-row .info .item-line svg,
.mob-person-row .info .select-cta svg {
  color: var(--color-primary-red);
}
.mob-person-row .actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.mob-person-row .actions .trash {
  background: transparent;
  border: 0;
  padding: 4px;
  cursor: pointer;
  color: var(--color-fg-secondary);
}
.mob-person-row .actions .trash:hover {
  color: var(--color-primary-red);
}
.mob-person-row .actions .amt {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-fg-primary);
}

/* Add person button (mobile) */
.mob-add-person-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--color-primary-red);
  color: var(--color-fg-primary);
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-bottom: 14px;
}
.mob-add-person-btn:hover {
  background: var(--color-primary-red);
  color: #fff;
}
.mob-add-person-btn svg {
  color: inherit;
}

/* Fee + promo rows */
.mob-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  font-size: 15px;
  border-top: 1px solid var(--color-border);
}
.mob-fee-row strong {
  font-weight: 700;
}

.mob-promo-row {
  padding: 12px 4px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.mob-promo-row strong {
  display: block;
  color: var(--color-primary-red);
  font-size: 15px;
}
.mob-promo-row div {
  color: var(--color-primary-red);
  font-size: 14px;
}
.mob-promo-row::after {
  content: '';
  position: absolute;
  right: -8px;
  top: -20px;
  width: 60px;
  height: 70px;
  background-image: url('assets/mascot.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  opacity: 0.95;
}

/* Coupon code */
.mob-coupon {
  margin: 14px -16px 0;
  background: var(--color-neutral-off-white);
  padding: 14px 16px;
}
.mob-coupon h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-fg-primary);
  margin: 0 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mob-coupon-row {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.mob-coupon-row input {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
}
.mob-coupon-row button {
  background: var(--color-primary-red);
  color: #fff;
  border: 0;
  padding: 0 22px;
  font-family: var(--font-family-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  cursor: pointer;
}
.mob-applied {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mob-applied small {
  font-style: italic;
  font-weight: 400;
  color: var(--color-fg-secondary);
  margin-left: 4px;
}
.mob-applied button {
  background: transparent;
  border: 0;
  padding: 4px;
  cursor: pointer;
  color: var(--color-fg-secondary);
}
.mob-applied button:hover {
  color: var(--color-primary-red);
}

/* Totals lines */
.mob-totals {
  padding: 14px 4px;
}
.mob-totals .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  font-size: 15px;
}
.mob-totals .row .strike {
  text-decoration: line-through;
  color: var(--color-fg-tertiary);
}
.mob-totals .row strong.pct {
  color: var(--color-primary-red);
  font-weight: 700;
  margin-left: 4px;
}
.mob-totals .row strong {
  font-weight: 700;
}

/* Currency row */
.mob-currency-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  border-top: 1px solid var(--color-border);
  font-size: 15px;
}
.mob-currency-row .currency-pick {
  background: transparent;
  border: 1px solid var(--color-primary-red);
  color: var(--color-primary-red);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* Sticky next-step CTA at bottom */
.mob-cta-bar {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-neutral-white);
  border-top: 1px solid var(--color-border);
  padding: 10px 16px;
  z-index: 80;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}
.mob-next-cta {
  width: 100%;
  background: var(--color-primary-blue);
  color: var(--color-fg-primary);
  border: 0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.mob-next-cta:hover {
  background: var(--color-action-secondary-hover);
}
.mob-next-cta .saving {
  color: var(--color-fg-primary);
  font-family: var(--font-family-display);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ─── Mobile Screen 2: Product selection ─── */
.mob-product-header {
  background: var(--color-primary-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 60;
}
.mob-product-header .mob-back {
  background: transparent;
  border: 0;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 4px 4px 4px 0;
}
.mob-product-header h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}
.mob-product-header-spacer {
  width: 60px;
}

.mob-product-screen {
  background: var(--color-neutral-white);
  padding: 14px 16px 32px;
}
.mob-name-field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--color-primary-red);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 14px;
}
.mob-name-field input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-fg-primary);
}
.mob-name-field input::placeholder {
  color: var(--color-fg-tertiary);
  font-weight: 500;
}
.mob-name-field svg {
  color: var(--color-fg-secondary);
}

.mob-age-block {
  margin-bottom: 10px;
}
.mob-age-block label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-fg-primary);
  display: block;
  margin-bottom: 5px;
}
.mob-age-segmented {
  display: flex;
  gap: 4px;
  background: var(--color-neutral-off-white);
  padding: 3px;
  border-radius: var(--radius-md);
}
.mob-age-btn {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 7px 4px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-fg-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}
.mob-age-btn.active {
  background: var(--color-primary-red);
  color: #fff;
}

.mob-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 10px -16px;
}
.mob-cat-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--color-primary-red);
  color: #fff;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}
.mob-cat-tab.active {
  background: var(--color-neutral-off-white);
  color: var(--color-primary-red);
}
.mob-cat-tab .ic svg {
  color: inherit;
}

.mob-product-screen .product-list {
  margin: 0 -16px;
  display: flex;
  flex-direction: column;
  /* grey behind the cards so the inter-card gap is actually visible */
  background: var(--color-bg-secondary);
}
/* the gap lives on the [data-group] wrapper (cards are its children) */
.mob-product-screen .product-list > [data-group] {
  display: flex;
  flex-direction: column;
  gap: 10px; /* small vertical distance between cards */
}
.mob-product-screen .product-list > [data-group] > .product-card.v2 {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  /* keep each card's own top + bottom border so the gap reads as a separation */
}
.mob-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--color-fg-secondary);
}

/* ===============================================
   PRODUCT PAGE — Shop info card (expandable)
   White card sitting inside the orange banner,
   with a clickable head row and an expanded body
   showing photo + address + opening hours.
   =============================================== */
.product-banner {
  /* override default vertical padding to make room for the card */
  padding: 20px 0 32px;
}
.shop-info-card {
  background: var(--color-neutral-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  color: var(--color-fg-primary);
  transition: box-shadow var(--transition-base);
}
.shop-info-card.open {
  box-shadow: var(--shadow-lg);
}

.shop-info-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: background var(--transition-fast);
}
.shop-info-head:hover {
  background: var(--color-bg-secondary);
}
.shop-info-head .ic {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-bg-warm);
  color: var(--color-primary-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.shop-info-head .title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.shop-info-head .title small {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-fg-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.shop-info-head .title strong {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-fg-primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
}
.shop-info-head .status-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-success);
  background: rgba(76, 175, 80, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}
.shop-info-head .title .loc {
  font-size: 13px;
  color: var(--color-fg-secondary);
}
.shop-info-head .change-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary-red);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #fff;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.shop-info-head .change-link:hover {
  background: var(--color-primary-red);
  color: #fff;
  border-color: var(--color-primary-red);
}
.shop-info-head .toggle-icon {
  color: var(--color-fg-secondary);
  flex-shrink: 0;
  margin-left: 4px;
}

.shop-info-body {
  display: grid;
  grid-template-columns: 320px 1fr 1fr;
  gap: 28px;
  padding: 0 22px 22px;
  border-top: 1px solid var(--color-border);
  padding-top: 22px;
  margin: 0 0 0;
}
.shop-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-secondary);
}
.shop-block h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-fg-primary);
  margin: 0 0 14px;
}
.shop-block .shop-addr {
  font-size: 15px;
  color: var(--color-fg-primary);
  margin: 0 0 14px;
  line-height: 1.5;
}
.shop-block .shop-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-fg-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.shop-block .shop-link:hover {
  color: var(--color-primary-red);
}
.shop-block .shop-link.strong {
  font-weight: 700;
  color: var(--color-primary-red);
}
.shop-block .shop-link.strong:hover {
  color: var(--color-action-primary-hover);
}
.shop-block .shop-link svg {
  color: var(--color-primary-red);
  flex-shrink: 0;
}

.shop-block .shop-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  margin: 0;
  padding: 6px 0;
  border-bottom: 1px dashed var(--color-border);
  color: var(--color-fg-secondary);
}
.shop-block .shop-row:last-of-type {
  border-bottom: 0;
}
.shop-block .shop-row strong {
  font-weight: 700;
  color: var(--color-fg-primary);
  font-size: 14px;
}
.shop-block .shop-note {
  font-size: 12px;
  color: var(--color-fg-secondary);
  margin: 14px 0 0;
  line-height: 1.55;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 1024px) {
  .shop-info-body {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 18px;
  }
  .shop-photo {
    aspect-ratio: 16 / 9;
    max-height: 200px;
  }
  .shop-info-head .change-link span,
  .shop-info-head .change-link {
    display: inline-flex;
  }
  .shop-info-head .title strong {
    font-size: 17px;
    gap: 6px;
  }
  .shop-info-head {
    padding: 14px 16px;
    gap: 12px;
  }
  .shop-info-body {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 640px) {
  .shop-info-head .change-link {
    display: none;
  }
  .shop-info-head .title .loc {
    display: none;
  }
}

/* Town-page mobile: collapse "Edit" label inside search collapsed button to icon-only */
@media (max-width: 1024px) {
  .search-collapsed .sc-edit-label {
    display: none;
  }
  .search-collapsed .sc-edit {
    padding: 8px 10px;
    gap: 0;
  }
}

/* Filter count badge in the sidebar Filters header */
.sb-filters h3 .filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 0 7px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--color-primary-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-left: 6px;
}

/* Search card fields (hero) — focus halo when typing */
.search-card .field:focus-within {
  background: var(--color-neutral-off-white);
  box-shadow: 0 0 0 2px rgba(113, 226, 235, 0.45) inset;
}

/* ===============================================
   TOWN PAGE — Mobile shop-card compaction
   Goal: one full card + a peek of the next on a
   typical 390px wide phone viewport (~700px tall
   content area).
   =============================================== */
@media (max-width: 1024px) {
  /* Bleed the shop list to the viewport edges */
  .town-layout main .shop-list {
    margin-left: -24px;
    margin-right: -24px;
    gap: 12px;
  }
  .shop-card {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .shop-card .photo {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .shop-card .price-col {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .shop-card .photo {
    min-height: 120px;
  }
  .shop-card .body {
    padding: 12px 14px 8px;
    gap: 6px;
  }
  .shop-card .body h3 {
    font-size: 15px;
    line-height: 1.25;
  }
  .shop-card .rating-inline {
    font-size: 12px;
    gap: 4px;
  }
  .shop-card .rating-inline strong {
    font-size: 13px;
  }
  .shop-card .distance {
    font-size: 11px;
    padding: 3px 8px;
  }
  .shop-card .price-col {
    padding: 10px 14px 12px;
    gap: 6px;
  }
  .shop-card .price-block {
    padding-top: 6px;
  }
  .shop-card .price-block .row {
    font-size: 11px;
  }
  .shop-card .price-cta {
    padding: 10px 14px;
    font-size: 12px;
    margin-top: 6px;
  }
  .shop-card .price-cta .amt {
    font-size: 16px;
  }
  .shop-card .price-cta .cta-text small {
    font-size: 9px;
  }
  .shop-card .photo .corner-badge {
    font-size: 11px;
    padding: 4px 12px 4px 10px;
    top: 10px;
  }
  .shop-card .photo .photo-count {
    font-size: 10px;
    padding: 3px 8px;
    top: 10px;
    right: 10px;
  }
  .details-toggle {
    padding: 4px 0;
    font-size: 12px;
    margin-top: 0;
  }
}
@media (max-width: 640px) {
  .town-layout main .shop-list {
    margin-left: -20px;
    margin-right: -20px;
  }
}
.town-headline-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 16px;
}
.town-headline {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-fg-primary);
  margin: 0;
  text-wrap: balance;
  flex: 1;
  text-align: left;
}
.town-headline-row .result-bar {
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--color-fg-secondary);
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}
.town-headline .accent {
  color: var(--color-primary-red);
}
@media (max-width: 1024px) {
  .town-headline-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .town-headline {
    font-size: 18px;
  }
  .town-headline-row .result-bar {
    text-align: left;
  }
}

/* ===============================================
   TOWN PAGE — Desktop restoration
   On desktop the sidebar already exposes search +
   filters, so the red top searchbar (breadcrumbs +
   collapsed search button) is hidden. It stays
   visible on mobile (≤1024px) where the sidebar
   is hidden.
   =============================================== */
@media (min-width: 1025px) {
  .town-searchbar {
    display: none;
  }
  /* Sidebar widens slightly without the top bar competing for attention */
  .town-layout {
    padding-top: 24px;
  }
  /* Reposition the sticky sidebar to the top of the page since no searchbar above */
  .town-sidebar {
    top: 92px;
  }
}

/* Town-page expanded "Load more" button — typography aligned, radius stays at original */
.town-layout main > div[style*='text-align: center'] > button {
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-black);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

/* ===============================================
   PRODUCT PAGE — Phase 2.5.0 interactivity polish
   =============================================== */

/* --- Shop-info card: collapsed by default, chevron flips on open --- */
.shop-info-card:not(.open) .shop-info-body {
  display: none;
}
.shop-info-head .toggle-icon {
  transition: transform var(--transition-base);
}
.shop-info-card:not(.open) .shop-info-head .toggle-icon {
  transform: rotate(180deg); /* chevron-up -> points down when collapsed */
}

/* --- Person card: delete button (only when more than one person) --- */
.person-card .head {
  position: relative;
}
.person-card .person-del {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-fg-tertiary);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition-fast);
}
.person-list.multi .person-card .person-del {
  display: inline-flex;
}
.person-card .person-del:hover {
  color: var(--color-primary-red);
  border-color: var(--color-primary-red);
  background: var(--color-bg-warm);
}

/* --- Summary: "Your products" person rows --- */
.summary-card .sum-products-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-red);
  text-align: center;
}
.summary-card .sum-person {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.summary-card .sum-person .sp-ic {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-bg-warm);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-red);
}
.summary-card .sum-person .sp-body {
  flex: 1;
  min-width: 0;
}
.summary-card .sum-person .sp-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-fg-primary);
  display: block;
  margin-bottom: 2px;
}
.summary-card .sum-person .sp-empty {
  font-size: 13px;
  color: var(--color-fg-secondary);
}
.summary-card .sum-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--color-fg-primary);
  margin-top: 4px;
}
.summary-card .sum-item .si-name {
  font-weight: 600;
}
.summary-card .sum-item .si-price {
  font-weight: 700;
  white-space: nowrap;
}
.summary-card .sum-addon {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--color-fg-secondary);
  margin-top: 2px;
  padding-left: 12px;
}

/* --- Voucher box (always open) --- */
.voucher-box {
  padding: 16px 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.voucher-box .vb-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-fg-tertiary);
}
.voucher-box .vb-row {
  display: flex;
  gap: 8px;
}
/* element selectors above out-rank the UA [hidden] rule — restore it */
.voucher-box .vb-row[hidden],
.voucher-box .vb-applied[hidden],
.summary-card .totals .line[hidden] {
  display: none;
}
.voucher-box .vb-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: inherit;
  text-transform: uppercase;
}
.voucher-box .vb-input:focus {
  outline: 2px solid var(--color-primary-blue);
  outline-offset: 0;
  border-color: transparent;
}
.voucher-box .vb-apply {
  padding: 10px 16px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--color-primary-red);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--transition-fast);
  flex-shrink: 0;
}
.voucher-box .vb-apply:hover {
  background: var(--color-action-primary-hover);
}
.voucher-box .vb-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.voucher-box .vb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-success);
  background: rgba(76, 175, 80, 0.12);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}
.voucher-box .vb-chip small {
  font-weight: 700;
  opacity: 0.85;
}
.voucher-box .vb-remove {
  border: 0;
  background: transparent;
  color: var(--color-fg-tertiary);
  cursor: pointer;
  display: inline-flex;
  padding: 4px;
}
.voucher-box .vb-remove:hover {
  color: var(--color-primary-red);
}

/* --- Currency select inside totals --- */
.summary-card .totals .t-voucher {
  color: var(--color-success);
  font-weight: 700;
}
.summary-card .currency-line .currency-pick {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--color-fg-primary);
}
.summary-card .currency-line .currency-select {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  color: var(--color-fg-primary);
  cursor: pointer;
  padding: 2px 2px 2px 6px;
  -webkit-appearance: none;
  appearance: none;
  text-align: right;
}
.summary-card .currency-line .currency-select:focus {
  outline: 2px solid var(--color-primary-blue);
  border-radius: var(--radius-sm);
}

/* ===============================================
   PRODUCT PAGE — Phase 2.5.1 overlays
   =============================================== */

/* ---- Model overlay ---- */
.model-dialog {
  width: min(1000px, calc(100vw - 32px));
}
.model-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.model-head .model-title {
  flex: 1;
  text-align: center;
  margin: 0;
  font-family: var(--font-family-display);
  font-weight: 900;
  font-size: 24px;
  color: var(--color-primary-red);
}
.model-head .model-back {
  position: absolute;
  border: 0;
  background: transparent;
  color: var(--color-primary-red);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.model-body {
  padding: 20px 22px 24px;
}

/* person / price bar */
.model-person {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 18px;
}
.model-person .mp-ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-primary-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.model-person .mp-name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--color-fg-primary);
}
.model-person .mp-person {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.model-person .mp-product {
  color: var(--color-fg-secondary);
}
.model-person .mp-price {
  display: flex;
  gap: 18px;
  font-size: 14px;
  white-space: nowrap;
}
.model-person .mp-store {
  color: var(--color-fg-secondary);
  font-weight: 700;
}
.model-person .mp-store s {
  color: var(--color-fg-tertiary);
}
.model-person .mp-online {
  color: var(--color-primary-red);
  font-weight: 700;
}

/* model cards grid */
.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
/* element-level display above out-ranks the UA [hidden] rule — restore it */
.model-grid[hidden],
.model-detail[hidden],
.model-head .model-back[hidden] {
  display: none;
}
.model-card {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: visible; /* let the tilted label hang off the corner */
  display: flex;
  flex-direction: column;
}
.model-label {
  align-self: flex-start;
  transform: rotate(-3deg);
  background: var(--color-primary-red);
  color: #fff;
  font-family: var(--font-family-display);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.1;
  padding: 8px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
}
/* grid card: banner hangs slightly off the top-left, like .shop-title-banner */
.model-card .model-label {
  position: absolute;
  top: 16px;
  left: -6px;
  z-index: 3;
  transform: rotate(-4deg);
}
.model-img {
  height: 90px;
  /* leave room at the top so the hanging banner sits above the ski, not over it */
  margin: 72px 0 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.model-details-btn,
.mn-btn {
  border: 1px solid var(--color-primary-red);
  background: #fff;
  color: var(--color-primary-red);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-md);
  padding: 11px 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.model-details-btn {
  width: 60%;
  margin: 14px auto 18px;
}
.model-details-btn:hover,
.mn-btn:hover {
  background: var(--color-primary-red);
  color: #fff;
}

/* single-model detail */
.model-detail-item {
  text-align: left;
}
.model-label-lg {
  display: inline-flex;       /* shrink to content instead of full-width band */
  align-self: flex-start;
  font-size: 18px;
  padding: 9px 16px;
}
.model-img-lg {
  height: 130px;
  margin: 18px 0;
  background-position: center;
}
.model-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-fg-secondary);
  margin: 0 0 18px;
}
.model-chars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  margin-bottom: 18px;
}
.char .char-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-fg-primary);
  margin-bottom: 6px;
}
.char .char-bar {
  height: 8px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.char .char-bar span {
  display: block;
  height: 100%;
  background: var(--color-fg-primary);
}
.model-page {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-fg-secondary);
  margin-bottom: 14px;
}
.model-nav {
  display: flex;
  gap: 10px;
}
.model-nav .mn-all {
  flex: 1;
}
.model-hint {
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-fg-tertiary);
  margin: 18px 0 0;
}
.model-hint strong {
  color: var(--color-fg-secondary);
}

/* ---- Insurance upselling ---- */
.ins-dialog {
  width: min(900px, calc(100vw - 32px));
  position: relative;
}
.ins-close.alpy-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: #fff;
  color: var(--color-primary-red);
  box-shadow: var(--shadow-sm);
}
.ins-banner {
  position: relative;
  padding: 26px;
  /* real torn-paper hero (contained) over a slight gradient backdrop */
  background-image: url('insurance/damage-theft-protection_1.webp'),
    linear-gradient(160deg, #3f6c7e 0%, #21333c 100%);
  background-size: contain, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: right center, center;
}
.ins-mascot {
  position: absolute;
  right: 150px;
  bottom: 0;
  height: 150px;
  width: auto;
  z-index: 2;
  pointer-events: none;
}
.ins-tag {
  display: inline-flex;
  flex-direction: column;
  transform: rotate(-3deg);
  background: var(--color-primary-red);
  color: #fff;
  padding: 8px 16px;
  box-shadow: var(--shadow-md);
  margin-bottom: 18px;
}
.ins-tag strong {
  font-family: var(--font-family-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.03em;
}
.ins-tag span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.95;
}
.ins-panel {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  max-width: 620px;
}
.ins-panel h3 {
  color: var(--color-primary-red);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
}
.ins-panel .ins-sub {
  font-size: 14px;
  color: var(--color-fg-primary);
  line-height: 1.5;
  margin: 0 0 16px;
}
.ins-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ins-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-fg-primary);
  line-height: 1.4;
}
.ins-list li alpy-icon {
  color: var(--color-primary-red);
  flex-shrink: 0;
  margin-top: 2px;
}
.ins-important {
  font-weight: 700;
  color: var(--color-primary-red);
}
.ins-price-tag {
  position: absolute;
  right: 22px;
  bottom: 22px;
  transform: rotate(-4deg);
  background: var(--color-primary-red);
  color: #fff;
  padding: 10px 16px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 180px;
}
.ins-price-tag strong {
  display: block;
  font-family: var(--font-family-display);
  font-weight: 900;
  font-size: 20px;
}
.ins-price-tag span {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}
.ins-buttons {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  padding: 20px 24px 24px;
}
.ins-btn {
  flex: 1;
  border: 0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
}
.ins-btn-ghost {
  background: #fff;
  color: var(--color-fg-primary);
  border: 1px solid var(--color-primary-red);
}
.ins-btn-ghost:hover {
  background: var(--color-bg-warm);
}
.ins-btn-add {
  background: var(--color-primary-blue);
  color: #06343a;
}
.ins-btn-add:hover {
  background: var(--color-action-secondary-active);
}

/* ---- Mobile: both overlays go full-screen sheets ---- */
@media (max-width: 640px) {
  .alpy-modal--sheet .alpy-modal-dialog {
    margin: 0;
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
  .model-grid {
    grid-template-columns: 1fr;
  }
  .model-chars {
    grid-template-columns: 1fr;
  }
  .model-person {
    flex-wrap: wrap;
  }
  .model-person .mp-price {
    flex-basis: 100%;
    justify-content: flex-start;
  }
  .model-nav {
    flex-wrap: wrap;
  }
  .model-nav .mn-btn {
    flex: 1;
    font-size: 13px;
    padding: 10px 8px;
  }
  .ins-buttons {
    flex-direction: column;
  }
  .ins-mascot {
    display: none; /* overlaps the inline price tag on narrow sheets */
  }
  .ins-banner {
    /* drop the photo on phones, keep just the gradient backdrop */
    background-image: linear-gradient(160deg, #3f6c7e 0%, #21333c 100%);
  }
  .ins-price-tag {
    position: static;
    transform: none;
    max-width: none;
    margin-top: 16px;
    align-self: flex-start;
  }
}

/* ===============================================
   CHECKOUT — Phase 2.6 booking-details modal
   ("Check your booking" -> Your products + Book)
   =============================================== */
.booking-dialog {
  width: min(560px, calc(100vw - 32px));
}
.booking-body {
  padding: 20px 24px 8px;
}
.bm-shop {
  font-size: 13px;
  color: var(--color-fg-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}
.bm-shop strong {
  display: block;
  font-size: 14px;
  color: var(--color-fg-primary);
  font-weight: 700;
}
.bm-shop .bm-shop-name {
  color: var(--color-primary-red);
  font-weight: 700;
  margin: 2px 0;
}
.bm-shop .bm-period {
  margin-top: 6px;
}
.bm-av {
  width: 32px;
  height: 32px;
  background: var(--color-bg-warm);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-red);
  flex-shrink: 0;
}
/* per-person group header inside a products summary table */
.summary-table .stripe-row.person-row {
  font-weight: 800;
  font-size: 13px;
  background: var(--color-bg-cool);
  color: var(--color-fg-primary);
}
.summary-table .stripe-row.person-row .bm-av {
  background: var(--color-action-secondary-active);
  color: #fff;
}
/* indent the line items that belong to a person */
.summary-table .stripe-row.item-row {
  padding-left: 28px;
}
.booking-foot {
  flex-shrink: 0;
  padding: 16px 24px 22px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--color-border);
}
.booking-foot .book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 160px;
  border: 0;
  border-radius: var(--radius-md);
  padding: 14px 22px;
  cursor: pointer;
  background: var(--color-primary-blue);
  color: var(--color-fg-primary);
  font-family: var(--font-family-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  transition: var(--transition-fast);
}
.booking-foot .book-btn:hover {
  background: var(--color-action-secondary-hover);
}

/* ===============================================
   CHECKOUT — Phase 2.6 validation states
   =============================================== */
.field-group.invalid input,
.field-group.invalid select,
.field-stack.invalid input,
.field-stack.invalid select {
  border-color: var(--color-error);
  background: #fff6f5;
}
.field-error {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-error);
  font-size: 11px;
  font-weight: 600;
  /* float below the field so it never grows the grid row's height */
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 3px;
}
/* disabled-looking Book until the form is valid (still clickable to reveal errors) */
.book-btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* highlight unchecked consents after a failed Book */
.confirm-band.consent-missing .consent input[type='checkbox']:not(:checked) {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.15);
}
.confirm-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-error);
}
.confirm-hint[hidden] {
  display: none;
}
.confirm-hint alpy-icon {
  flex-shrink: 0;
}

/* ===============================================
   CHECKOUT — Phase 2.6 payment polish
   =============================================== */
/* brand logos at the end of the card-number field */
.card-num-wrap {
  position: relative;
}
.card-num-wrap input {
  width: 100%;
  padding-right: 104px;
}
.card-num-wrap .card-brands {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.card-num-wrap .card-brands img {
  height: 24px;
  width: auto;
  display: block;
}
/* Visa is a full-bleed wordmark with no internal padding, so it reads much
   taller than the Mastercard mark at the same px height — shrink it to match */
.card-num-wrap .card-brands img.brand-visa {
  height: 14px;
}

/* selected alternative payment method -> blue (was orange) */
.other-methods-side .payment-method.active {
  border-color: var(--color-action-secondary-active);
  background: var(--color-bg-cool);
}
.other-methods-side .payment-method.active .radio {
  border-color: var(--color-action-secondary-active);
}
.other-methods-side .payment-method.active .radio::after {
  background: var(--color-action-secondary-active);
}
.other-methods-side .payment-method:hover {
  border-color: var(--color-action-secondary-active);
}

/* ===============================================
   CONFIRMATION (2.7) — thank-you card, wallet, promos
   =============================================== */
.confirm-thanks .body {
  padding: 32px;
}
.ty-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}
.ty-title {
  font-family: var(--font-family-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 34px;
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}
.ty-title span {
  color: var(--color-primary-red);
}
.ty-customer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  color: var(--color-fg-secondary);
}
.ty-customer strong:first-child {
  font-size: 15px;
  color: var(--color-fg-primary);
}
.ty-customer .ty-ref {
  margin-top: 6px;
  font-size: 13px;
}
.ty-customer .ty-ref strong {
  color: var(--color-primary-red);
  font-family: var(--font-family-display);
  font-style: italic;
  letter-spacing: 0.04em;
}
.ty-take {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--color-fg-primary);
}

/* PRINT band + wallet buttons */
.ty-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 20px 0 24px;
}
.print-band {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 320px;
  padding: 12px 18px;
  background: var(--color-primary-blue);
  color: var(--color-fg-primary);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition-fast);
}
.print-band:hover {
  background: var(--color-action-secondary-active);
  color: #fff;
}
.print-band .pb-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.print-band .pb-text small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.print-band .pb-text strong {
  font-size: 14px;
  font-weight: 700;
}
.print-band .pb-icons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.wallet-buttons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.wallet-btn {
  display: inline-flex;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-fast);
}
.wallet-btn img {
  height: 48px;
  width: auto;
  display: block;
}
.wallet-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Additional confirmations */
.ty-additional {
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
}
.ty-additional h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
}
.ty-additional h3 small {
  font-weight: 500;
  color: var(--color-fg-secondary);
  font-size: 13px;
}
.ty-additional ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.ty-additional li a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-action-secondary-active);
  text-decoration: none;
}
.ty-additional li a:hover {
  text-decoration: underline;
}
.ty-additional li a .ic {
  color: var(--color-action-secondary-active);
}

/* celebratory brand mascot */
.ty-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 4px;
}
.ty-mascot {
  width: 190px;
  height: auto;
  display: block;
}
.ty-badge-cap {
  font-family: var(--font-family-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 16px;
  color: var(--color-action-secondary-active);
  letter-spacing: 0.04em;
}

/* extra summary rows used on the confirmation page */
.summary-table .stripe-row.item-row.sub-item {
  padding-left: 44px;
  font-size: 13px;
  color: var(--color-fg-secondary);
}
.summary-table .stripe-row.subtotal-row {
  font-weight: 700;
  font-size: 13px;
  border-bottom: 1px dashed var(--color-border);
}
.summary-table .stripe-row.subtotal-row .amt {
  font-weight: 800;
}
.summary-table .stripe-row.grand-subtotal {
  font-weight: 700;
  border-top: 1px solid var(--color-border);
}
.summary-table .stripe-row.promo {
  background: rgba(76, 175, 80, 0.12);
  color: #2e7d32;
  font-weight: 700;
  font-size: 13px;
}
.summary-table .stripe-row.promo .ic {
  color: #2e7d32;
}
.summary-table .stripe-row.promo .amt {
  color: #2e7d32;
  font-weight: 800;
}

/* partner promo cards */
.promo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.promo-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-fg-primary);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.promo-card .pc-label {
  text-align: center;
  font-family: var(--font-family-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #fff;
  padding: 10px;
}
.promo-card .pc-pic {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
}
.promo-card .pc-cap {
  padding: 14px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 860px) {
  .promo-cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .confirm-thanks .body {
    padding: 16px;
  }
  .ty-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ty-side {
    order: -1;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }
  .ty-mascot {
    width: 110px;
  }
  .ty-title {
    font-size: 26px;
  }
  .ty-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .print-band {
    min-width: 0;
  }
  .wallet-buttons {
    justify-content: center;
  }
}
@media (max-width: 520px) {
  .promo-cards {
    grid-template-columns: 1fr;
  }
}

/* ===============================================
   CONFIRMATION — paid/unpaid state switch (2.7)
   =============================================== */
#confpage[data-state='paid'] .only-unpaid { display: none !important; }
#confpage[data-state='unpaid'] .only-paid { display: none !important; }

.confirm-thanks { position: relative; }

/* unpaid status copy */
.ty-title-unpaid { color: var(--color-fg-primary); }
.ty-title-unpaid span { color: var(--color-action-secondary-active); }
.ty-hold {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-fg-primary);
  margin: 0 0 16px;
}
.ty-hold strong { color: var(--color-error); }

/* expiration countdown — brand band pinned top-right of the card */
.booking-countdown {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-red);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 var(--radius-xl) 0 var(--radius-lg);
  font-family: var(--font-family-display);
}
.booking-countdown .bc-label {
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
}
.booking-countdown alpy-icon { animation: bc-wiggle 6s ease-in-out infinite; }
@keyframes bc-wiggle { 82%{transform:scale(1)} 85%{transform:scale(.85)} 88%{transform:scale(1.15)} 90%{transform:scale(1)} }
.booking-countdown .bc-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
}
.booking-countdown .bc-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  min-width: 28px;
}
.booking-countdown .bc-block i {
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  opacity: 0.85;
}
.booking-countdown .bc-sep { opacity: 0.7; }

/* need-help (unpaid) — sits in the left column where Print/Wallet are when paid */
.ty-help {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-fg-secondary);
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
}
.ty-help-btn {
  background: var(--color-primary-red);
  color: #fff;
  border: 0;
  border-radius: var(--radius-md);
  padding: 12px 20px;
  font-family: var(--font-family-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  cursor: pointer;
}
.ty-help-btn:hover { background: var(--color-action-primary-hover); }

/* pay-now bar under the payment block */
.pay-now-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}
.pay-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  background: var(--color-primary-blue);
  color: var(--color-fg-primary);
  border: 0;
  border-radius: var(--radius-md);
  padding: 14px 22px;
  font-family: var(--font-family-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.pay-now-btn:hover { background: var(--color-action-secondary-active); color: #fff; }
.pay-now-action {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.pay-now-action .pay-now-btn { margin-left: 0; }
.pay-now-action .pn-save {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-fg-secondary);
}
.pay-now-action .pn-save strong { color: var(--color-success); }

/* floating demo state switcher (prototype only) */
.demo-switch {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 600;
  background: rgba(20,24,28,0.92);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 7px 8px 7px 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(6px);
}
.demo-switch .ds-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}
.demo-switch .ds-options {
  display: inline-flex;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  padding: 3px;
}
.demo-switch .ds-opt {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}
.demo-switch .ds-opt.is-active {
  background: #fff;
  color: var(--color-fg-primary);
}

@media (max-width: 768px) {
  .booking-countdown {
    position: static;
    width: 100%;
    justify-content: center;
    border-radius: 0;
    margin: -16px -16px 0;
    width: auto;
  }
  .pay-now-bar { flex-direction: column; align-items: stretch; }
  .pay-now-action { margin-left: 0; align-items: stretch; }
  .pay-now-action .pn-save { text-align: center; }
  .pay-now-btn { margin-left: 0; justify-content: center; }
  .demo-switch { left: 12px; right: 12px; bottom: 12px; justify-content: center; }
}
