/* Houston event checkout additions on top of the shared service checkout layout.
   The page reuses the princess_makeover.css layout primitives, then re-themes
   them here to match the dark Houston site palette (houston_landing.css). All
   overrides are scoped to .houston-site-body so other venues are unaffected. */

.houston-site-body .event-checkout-main {
    padding-bottom: 64px;
}

/* Hero header matches the Houston VIP Experiences / Field Trips pages. */
.houston-site-body .event-checkout-hero {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    gap: 14px;
    justify-items: center;
    min-height: 0;
    overflow: visible;
    padding: 0;
    text-align: center;
}

.houston-site-body .event-checkout-hero::after {
    display: none;
}

.houston-site-body .event-checkout-hero .event-hero-image {
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(246, 241, 231, 0.14);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
    max-width: 560px;
}

.houston-site-body .event-checkout-hero .houston-events-eyebrow {
    margin-bottom: 0 !important;
}

.houston-site-body .event-checkout-hero h1 {
    color: #fffaf0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.15rem, 7vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 0.98;
    margin: 0;
    max-width: 720px;
    text-align: center;
    text-transform: none;
    overflow-wrap: anywhere;
}

.houston-site-body .event-checkout-hero p:not(.houston-events-eyebrow) {
    color: rgba(246, 241, 231, 0.7);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
    max-width: 320px;
    text-align: center;
}

/* Hero attribute pills (mirror the mobile .cp-fact pills, but shown at every
   breakpoint — used by the Princess Makeover hero). */
.houston-site-body .event-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 10px;
    justify-content: center;
    margin-top: 8px;
    max-width: 360px;
}

.houston-site-body .event-hero-fact {
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--houston-line);
    border-radius: 999px;
    color: rgba(246, 241, 231, 0.86);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 500;
    gap: 6px;
    padding: 8px 13px;
}

.houston-site-body .event-hero-fact svg {
    color: var(--houston-teal);
    height: 15px;
    width: 15px;
}

/* Small per-service icon on each makeover tile (artwork from the makeover
   image set). The source art is thin colored line-work on a transparent
   background; recolor it to a soft light tone so it reads on the dark cards
   without needing a backing chip. Sits between the checkbox and the body. */
.houston-site-body .event-checkout-item .makeover-item-icon {
    /* brightness(0) → solid black, invert(1) → solid white, regardless of the
       art's source color; opacity softens it to match the cream body text. */
    filter: brightness(0) invert(1);
    flex: none;
    height: 32px;
    margin-top: 1px;
    object-fit: contain;
    opacity: 0.82;
    width: 32px;
}

/* Checkout layout grid (two columns on desktop, sticky summary). */
.houston-site-body .event-checkout-layout {
    margin-top: 36px;
}

@media (min-width: 820px) {
    .houston-site-body .event-checkout-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}

/* Section titles & hints on the dark theme. */
.houston-site-body .event-checkout-main .makeover-section-title {
    color: var(--houston-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.houston-site-body .event-checkout-main .makeover-section-hint {
    color: var(--houston-muted);
}

.houston-site-body .event-checkout-main .makeover-intro label {
    color: rgba(246, 241, 231, 0.72);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.houston-site-body .event-checkout-main .makeover-guest-name {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    color: var(--houston-text);
    font-weight: 600;
    min-height: 48px;
}

.houston-site-body .event-checkout-main .makeover-guest-name::placeholder {
    color: rgba(246, 241, 231, 0.4);
}

.houston-site-body .event-checkout-main .makeover-guest-name:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--houston-teal);
}

/* Product cards. */
.houston-site-body .event-checkout-item {
    background: var(--houston-card);
    border: 1px solid var(--houston-line);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
    color: var(--houston-text);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.houston-site-body .event-checkout-item:hover {
    border-color: var(--houston-line-strong);
}

.houston-site-body .event-checkout-item.selected {
    background: rgba(24, 185, 145, 0.08);
    border-color: rgba(24, 185, 145, 0.55);
    box-shadow: 0 0 0 1px rgba(24, 185, 145, 0.28), 0 10px 30px rgba(0, 0, 0, 0.2);
}

.houston-site-body .event-checkout-item input[type="checkbox"] {
    accent-color: var(--houston-teal);
}

.houston-site-body .event-checkout-item .makeover-item-name {
    color: var(--houston-text);
}

.houston-site-body .event-checkout-item .makeover-item-price {
    color: var(--houston-teal);
}

.houston-site-body .event-checkout-item .makeover-item-desc {
    color: var(--houston-muted-2);
}

.houston-site-body .event-checkout-item .makeover-qty {
    border-top-color: var(--houston-line);
}

.houston-site-body .event-checkout-item .makeover-qty-label {
    color: var(--houston-muted);
}

.houston-site-body .event-checkout-item .quantity-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--houston-line);
    color: var(--houston-text);
}

.houston-site-body .event-checkout-item .quantity-btn:hover:not(:disabled) {
    background: rgba(24, 185, 145, 0.18);
    border-color: var(--houston-teal);
}

.houston-site-body .event-checkout-item .quantity-display {
    color: var(--houston-teal);
    font-weight: 900;
}

.event-checkout-header {
    display: grid;
    gap: 10px;
    justify-items: center;
    margin-bottom: 28px;
}

.event-checkout-header img {
    aspect-ratio: 5 / 1;
    border-radius: 14px;
    display: block;
    height: auto;
    max-width: 760px;
    object-fit: cover;
    width: 100%;
}

.event-required-badge,
.event-upsell-badge,
.event-included-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    padding: 4px 9px;
    text-transform: uppercase;
}

.event-required-badge {
    background: rgba(239, 159, 39, 0.18);
    color: #f5b54a;
    margin-bottom: 6px;
}

.event-upsell-badge {
    background: rgba(24, 185, 145, 0.16);
    color: #50d0b8;
    margin-bottom: 6px;
}

.event-included-badge {
    background: rgba(80, 208, 184, 0.16);
    color: #6fe0c9;
    margin-bottom: 6px;
}

.event-checkout-item--required {
    border-width: 2px;
}

.event-checkout-item--required input[type="checkbox"] {
    cursor: default;
}

.houston-site-body .event-checkout-item--highlight {
    border-color: rgba(239, 159, 39, 0.6);
    box-shadow: 0 0 0 2px rgba(239, 159, 39, 0.22), 0 14px 34px rgba(0, 0, 0, 0.24);
}

.event-product-image {
    aspect-ratio: 5 / 4;
    border-radius: 10px;
    display: block;
    height: auto;
    margin-bottom: 12px;
    object-fit: cover;
    width: 100%;
}

.event-checkout-item--required .event-product-image {
    aspect-ratio: 5 / 4;
    max-width: 360px;
}

.event-checkout-item[data-locked="true"] .quantity-btn {
    cursor: not-allowed;
    opacity: 0.45;
}

/* Order summary panel. */
.houston-site-body .event-checkout-panel {
    background: var(--houston-card);
    border: 1px solid var(--houston-line);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
    padding: 26px 28px;
}

@media (min-width: 820px) {
    .houston-site-body .event-checkout-panel {
        top: 96px;
    }
}

.houston-site-body .event-checkout-panel .makeover-summary-title {
    color: var(--houston-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.houston-site-body .event-checkout-panel .makeover-summary-row {
    color: rgba(246, 241, 231, 0.78);
    font-weight: 720;
}

.houston-site-body .event-checkout-panel .makeover-summary-row--total {
    border-top-color: var(--houston-line);
    color: var(--houston-text);
}

.houston-site-body .event-checkout-panel #total-display {
    color: var(--houston-teal);
}

.houston-site-body .event-checkout-panel .makeover-summary-note {
    color: var(--houston-muted);
}

.event-date-field .makeover-section-hint {
    margin: 6px 0 0;
}

.houston-site-body .event-checkout-panel .event-date-field {
    border-top: 1px solid var(--houston-line);
    margin: 14px 0 16px;
    padding-top: 14px;
}

.houston-site-body .event-date-field label,
.houston-site-body .event-choice-field label {
    color: rgba(246, 241, 231, 0.72);
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Department picker (Morning Rounds) — matches the dark panel date field. */
.houston-site-body .event-checkout-panel .event-choice-field {
    border-top: 1px solid var(--houston-line);
    margin: 14px 0 16px;
    padding-top: 14px;
}

.event-choice-field .makeover-section-hint {
    margin: 6px 0 0;
}

.houston-site-body .event-choice-select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--houston-line);
    border-radius: 10px;
    color: var(--houston-cream, #f6f1e7);
    color-scheme: dark;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 11px 14px;
    width: 100%;
}

.houston-site-body .event-choice-select:focus {
    border-color: rgba(246, 241, 231, 0.55);
    outline: none;
}

.houston-site-body .event-choice-field.is-invalid label {
    color: #f5b54a;
}

.houston-site-body .event-choice-field.is-invalid .event-choice-select {
    background: rgba(239, 159, 39, 0.12);
    border-color: #f5b54a;
    box-shadow: 0 0 0 3px rgba(239, 159, 39, 0.18);
}

.houston-site-body .event-choice-select option {
    background: #24231f;
    color: var(--houston-cream, #f6f1e7);
}

/* Court time picker (Pickleball) — hourly slots with remaining court spaces. */
.houston-site-body .event-checkout-panel .event-time-field {
    border-top: 1px solid var(--houston-line);
    margin: 14px 0 16px;
    padding-top: 14px;
}

.houston-site-body .event-time-field label {
    color: rgba(246, 241, 231, 0.72);
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.event-time-field .makeover-section-hint {
    margin: 8px 0 0;
}

.event-time-slots {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
}

.houston-site-body .event-time-slot {
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--houston-line);
    border-radius: 10px;
    color: var(--houston-cream, #f6f1e7);
    cursor: pointer;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 11px 14px;
    text-align: left;
    transition: border-color 0.15s ease, background 0.15s ease;
    width: 100%;
}

.houston-site-body .event-time-slot:hover:not(:disabled) {
    border-color: rgba(246, 241, 231, 0.55);
}

.event-time-slot-time {
    font-size: 0.98rem;
    font-weight: 800;
}

.event-time-slot-detail {
    color: rgba(246, 241, 231, 0.62);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.houston-site-body .event-time-slot.is-selected {
    background: rgba(42, 164, 196, 0.18);
    border-color: #2aa4c4;
    box-shadow: 0 0 0 2px rgba(42, 164, 196, 0.28);
}

.houston-site-body .event-time-slot.is-unavailable,
.houston-site-body .event-time-slot:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.houston-site-body .event-time-slot.is-unavailable .event-time-slot-detail {
    color: #e9a23b;
}

/* Inline calendar re-themed for the dark panel. */
.houston-site-body .event-inline-calendar {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--houston-line);
    border-radius: 10px;
    margin-top: 8px;
    max-width: 270px;
    padding: 10px;
}

.houston-site-body .event-checkout-panel .event-inline-calendar {
    margin-left: auto;
    margin-right: auto;
}

.event-calendar-header {
    align-items: center;
    display: grid;
    gap: 6px;
    grid-template-columns: 28px 1fr 28px;
    margin-bottom: 8px;
}

.houston-site-body .event-calendar-month {
    color: var(--houston-text);
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
}

.houston-site-body .event-calendar-nav {
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--houston-line);
    border-radius: 6px;
    color: var(--houston-text);
    cursor: pointer;
    display: inline-flex;
    font-size: 1.05rem;
    font-weight: 800;
    height: 28px;
    justify-content: center;
    line-height: 1;
    width: 28px;
}

.houston-site-body .event-calendar-nav:hover:not(:disabled) {
    background: rgba(24, 185, 145, 0.2);
    border-color: var(--houston-teal);
}

.event-calendar-nav:disabled {
    cursor: not-allowed;
    opacity: 0.38;
}

.event-calendar-weekdays,
.event-calendar-grid {
    display: grid;
    gap: 3px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.houston-site-body .event-calendar-weekdays {
    color: var(--houston-muted);
    font-size: 0.58rem;
    font-weight: 800;
    margin-bottom: 4px;
    text-align: center;
    text-transform: uppercase;
}

.event-calendar-empty {
    min-height: 28px;
}

.houston-site-body .event-calendar-day {
    align-items: center;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--houston-line);
    border-radius: 6px;
    color: var(--houston-text);
    cursor: pointer;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    justify-content: center;
    min-height: 28px;
    min-width: 0;
}

.houston-site-body .event-calendar-day:hover,
.houston-site-body .event-calendar-day:focus-visible {
    border-color: var(--houston-teal);
    outline: none;
}

.houston-site-body .event-calendar-day.is-today {
    border-color: var(--houston-teal);
}

.houston-site-body .event-calendar-day.is-selected {
    background: var(--houston-teal);
    border-color: var(--houston-teal);
    color: #08231c;
}

.houston-site-body .event-calendar-day.is-disabled {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(246, 241, 231, 0.32);
    cursor: not-allowed;
    text-decoration: line-through;
}

.houston-site-body .event-fixed-quantity {
    border-top: 1px solid var(--houston-line);
    color: var(--houston-muted-2);
    font-size: 0.86rem;
    font-weight: 700;
    margin: 10px 0 0;
    padding-top: 10px;
}

.houston-site-body #event-checkout-btn {
    width: 100%;
    font-size: 1rem;
    justify-content: center;
    margin-top: 4px;
    padding: 14px 20px;
}

.houston-site-body #event-checkout-btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

@media (max-width: 819px) {
    .houston-site-body .event-checkout-hero {
        margin-bottom: 4px;
    }
}
