/* Princess Makeover checkout (Houston) */

.makeover-page header {
    margin-bottom: 28px;
}

.makeover-page header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.makeover-subtitle {
    text-align: center;
    color: #718096;
    font-size: 1rem;
    max-width: 36rem;
    margin: 0 auto;
}

.makeover-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

@media (min-width: 820px) {
    .makeover-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
    }
}

.makeover-intro {
    margin-bottom: 8px;
}

.makeover-intro label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 8px;
}

.makeover-guest-name {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
}

.makeover-guest-name:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
}

.makeover-section {
    margin-bottom: 28px;
}

.makeover-section:last-child {
    margin-bottom: 0;
}

.makeover-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 4px;
    letter-spacing: 0.01em;
}

.makeover-section-hint {
    font-size: 0.85rem;
    color: #718096;
    margin: 0 0 12px;
}

.makeover-grid {
    display: grid;
    gap: 10px;
}

.makeover-grid--2 {
    grid-template-columns: 1fr;
}

@media (min-width: 540px) {
    .makeover-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.makeover-grid--henna {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 540px) {
    .makeover-grid--henna {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.makeover-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.makeover-item:hover {
    border-color: #cbd5e0;
}

.makeover-item.selected {
    border-color: #667eea;
    background: #f8f9ff;
    box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.15);
}

.makeover-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #667eea;
    cursor: pointer;
}

.makeover-item-body {
    flex: 1;
    min-width: 0;
}

.makeover-item-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.makeover-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2d3748;
    margin: 0;
    line-height: 1.35;
}

.makeover-item-price {
    color: #667eea;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.makeover-item-desc {
    font-size: 0.85rem;
    color: #718096;
    margin: 6px 0 0;
    line-height: 1.4;
}

.makeover-item--bundle {
    padding: 16px;
    border-width: 2px;
    background: linear-gradient(180deg, #fffaf5 0%, #fff 100%);
}

.makeover-item--bundle.selected {
    border-color: #d69e2e;
    background: linear-gradient(180deg, #fffaf0 0%, #fffef8 100%);
    box-shadow: 0 0 0 1px rgba(214, 158, 46, 0.2);
}

.makeover-item--bundle .makeover-item-price {
    color: #b7791f;
    font-size: 1.15rem;
}

.makeover-item--bundle .makeover-item-name {
    font-size: 1.05rem;
}

.bundle-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #975a16;
    background: #fef3c7;
    border-radius: 999px;
    padding: 3px 8px;
    margin-bottom: 6px;
}

.bundle-note {
    font-size: 0.82rem;
    color: #718096;
    margin-top: 6px;
    line-height: 1.4;
}

.makeover-item--compact {
    padding: 10px 12px;
}

.makeover-item--compact .makeover-item-name {
    font-size: 0.9rem;
}

.makeover-item--compact .makeover-item-price {
    font-size: 0.9rem;
}

.makeover-item--henna {
    text-align: center;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 10px;
}

.makeover-item--henna input[type="checkbox"] {
    align-self: center;
    margin-top: 0;
}

.makeover-item--henna .makeover-item-body {
    width: 100%;
}

.makeover-item--henna .makeover-item-row {
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.makeover-item--henna .makeover-item-name {
    font-size: 0.88rem;
}

.makeover-qty {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #edf2f7;
}

.makeover-item.selected .makeover-qty {
    display: flex;
}

.makeover-item--henna .makeover-qty {
    justify-content: center;
    border-top: none;
    padding-top: 8px;
    margin-top: 6px;
}

.makeover-qty-label {
    font-size: 0.82rem;
    color: #718096;
}

.makeover-item .quantity-btn {
    width: 30px;
    height: 30px;
    font-size: 1rem;
}

.makeover-checkout-panel {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
}

@media (min-width: 820px) {
    .makeover-checkout-panel {
        position: sticky;
        top: 20px;
    }
}

.makeover-summary-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 14px;
}

.makeover-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.92rem;
    color: #4a5568;
}

.makeover-summary-row--total {
    font-weight: 700;
    font-size: 1.05rem;
    color: #2d3748;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.makeover-summary-note {
    font-size: 0.78rem;
    color: #a0aec0;
    margin: 12px 0 16px;
    line-height: 1.4;
}

#makeover-checkout-btn {
    width: 100%;
    font-size: 1rem;
    padding: 14px 20px;
}

@media (max-width: 819px) {
    .makeover-checkout-panel {
        margin-top: 8px;
    }

    .container.makeover-page {
        padding: 24px 18px;
    }
}

/* Balloon Artist menu + dropdown ordering */

.balloon-menu-image {
    margin-bottom: 20px;
}

.balloon-menu-image img {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.balloon-order-section {
    margin-bottom: 0;
}

.balloon-order-rows {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.balloon-order-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}

.balloon-order-row-select {
    min-width: 0;
}

.balloon-design-select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #2d3748;
    background: #fafafa;
}

.balloon-design-select:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
}

.balloon-order-row-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.balloon-order-row-qty .makeover-qty-label {
    display: none;
}

@media (min-width: 540px) {
    .balloon-order-row-qty .makeover-qty-label {
        display: inline;
    }
}

.balloon-line-total {
    min-width: 4.5rem;
    text-align: right;
    font-weight: 700;
    color: #667eea;
    font-size: 0.92rem;
}

.balloon-remove-row {
    width: 34px;
    height: 34px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #718096;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.balloon-remove-row:hover:not(:disabled) {
    border-color: #fc8181;
    color: #e53e3e;
    background: #fff5f5;
}

.balloon-remove-row:disabled {
    cursor: default;
    opacity: 0.35;
}

.balloon-add-row-btn {
    width: 100%;
}

@media (max-width: 639px) {
    .balloon-order-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "select select"
            "qty total"
            "remove remove";
    }

    .balloon-order-row-select {
        grid-area: select;
    }

    .balloon-order-row-qty {
        grid-area: qty;
        justify-self: start;
    }

    .balloon-line-total {
        grid-area: total;
        justify-self: end;
        align-self: center;
    }

    .balloon-remove-row {
        grid-area: remove;
        justify-self: end;
    }
}

/* Service checkout success receipt (Face Paint, Balloon Art, Princess Makeover) */
.service-receipt-card {
    text-align: left;
    max-width: 520px;
    margin: 0 auto 24px;
    padding: 28px 24px;
}

.service-receipt-status {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.service-receipt-heading {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 12px;
}

.service-receipt-guest,
.service-receipt-code {
    margin: 8px 0;
    color: #4a5568;
}

.service-receipt-items-wrap {
    margin: 20px 0;
    overflow-x: auto;
}

.service-receipt-items {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.service-receipt-items th,
.service-receipt-items td {
    padding: 10px 8px;
    border-bottom: 1px solid #e2e8f0;
}

.service-receipt-items th {
    background: #edf2f7;
    font-weight: 600;
    color: #2d3748;
}

.service-receipt-qty,
.service-receipt-line-total {
    text-align: right;
    white-space: nowrap;
}

.service-receipt-total {
    margin: 16px 0 12px;
    font-size: 1rem;
    color: #2d3748;
}

.service-receipt-total-note {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: #718096;
    margin-top: 4px;
}

.service-receipt-instruction {
    text-align: center;
    font-weight: 600;
    color: #2c5282;
    margin: 18px 0 12px;
}

.service-receipt-email-note {
    text-align: center;
    color: #718096;
    font-size: 0.95rem;
    margin: 0;
}

.service-receipt-email-warning {
    text-align: center;
    color: #c53030;
    font-size: 0.95rem;
    margin: 0;
}

/* =========================================================================
   Houston Princess Makeover — polished checkout treatment that mirrors the
   Morning Rounds / event-checkout pages (numbered steps, trust line, tidy
   centered mobile column). Scoped to .princess-makeover-checkout, a class only
   this page sets, so the shared event-checkout templates stay untouched. The
   Houston dark-theme variables come from houston_landing.css.
   ========================================================================= */

/* Trust line under the order summary — mirrors the event checkout's .cp-trust. */
.princess-makeover-checkout .makeover-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 14px 0 0;
    color: var(--houston-muted, #aaa69d);
    font-size: 0.78rem;
    font-weight: 500;
}

.princess-makeover-checkout .makeover-trust svg {
    flex: none;
    width: 14px;
    height: 14px;
    color: var(--houston-teal, #18b991);
}

/* Mobile: present the option sections as the Morning Rounds numbered steps
   (①②③) and keep the whole checkout a tidy, breathable centered column.
   Desktop keeps the plain two-column layout the other event pages use. */
@media (max-width: 819px) {
    .princess-makeover-checkout .makeover-menu {
        counter-reset: pm-step;
    }

    .princess-makeover-checkout .makeover-section {
        margin-bottom: 30px;
    }

    .princess-makeover-checkout .makeover-section-title {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 14px;
    }

    .princess-makeover-checkout .makeover-section-title::before {
        counter-increment: pm-step;
        content: counter(pm-step);
        flex: none;
        width: 27px;
        height: 27px;
        border-radius: 50%;
        border: 1.5px solid var(--houston-teal, #18b991);
        color: var(--houston-teal, #18b991);
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
        font-size: 0.8rem;
        font-weight: 700;
        line-height: 1;
        display: grid;
        place-items: center;
    }

    /* Keep the section hint aligned with the title text (past the number). */
    .princess-makeover-checkout .makeover-section-hint {
        margin: -8px 0 14px 39px;
    }

    /* Add a little more breathing room around the cards + order panel so the
       column reads as polished as the Morning Rounds mobile flow. */
    .princess-makeover-checkout .makeover-grid {
        gap: 12px;
    }

    .princess-makeover-checkout .event-checkout-panel {
        margin-top: 4px;
    }

    /* On event pages this production hero is hidden on mobile and replaced by
       the cp-mock hero; here it stays, so size its title to the narrow viewport
       (it was overflowing/clipping on the right). High specificity to win over
       houston_event_checkout.css, which loads after this file. */
    .houston-site-body .princess-makeover-checkout .event-checkout-hero h1 {
        font-size: clamp(1.7rem, 8vw, 2.4rem);
        line-height: 1.05;
        max-width: 100%;
    }

    .houston-site-body .princess-makeover-checkout .event-checkout-hero p:not(.houston-events-eyebrow) {
        max-width: 30ch;
    }
}
