/* Charley’s Play Barn–styled booking demo */
@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;500;600;700;800&display=swap");

.booking-demo {
    --cpb-bg: #fffbf7;
    --cpb-rose: #f43f5e;
    --cpb-rose-hover: #fb7185;
    --cpb-rose-deep: #e11d48;
    --cpb-rose-50: #fff1f2;
    --cpb-rose-100: #ffe4e6;
    --cpb-violet: #8b5cf6;
    --cpb-ink: #1e293b;
    --cpb-muted: #64748b;
    --cpb-slate-400: #94a3b8;
    --cpb-line: rgba(15, 23, 42, 0.06);
    --cpb-display: "Fredoka", system-ui, sans-serif;
    --cpb-sans: "Nunito", system-ui, sans-serif;
    --cpb-radius: 1.75rem;
    font-family: var(--cpb-sans);
    color: var(--cpb-ink);
    max-width: 820px;
    margin: 0 auto;
}

.booking-demo--compact {
    max-width: 100%;
}

.booking-demo-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
    padding: 0.55rem 1rem;
    margin-bottom: 0.65rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    font-size: 0.82rem;
    color: #9a3412;
}

.booking-demo-banner strong {
    font-family: var(--cpb-display);
    color: #c2410c;
}

.booking-demo-site {
    overflow: hidden;
    border-radius: 1.25rem;
    background: var(--cpb-bg);
    box-shadow:
        0 0 0 1px rgba(244, 63, 94, 0.08),
        0 22px 50px rgba(15, 23, 42, 0.1);
}

.booking-demo-rainbow {
    display: flex;
    height: 4px;
}

.booking-demo-rainbow span { flex: 1; }
.booking-demo-rainbow span:nth-child(1) { background: #fb7185; }
.booking-demo-rainbow span:nth-child(2) { background: #a78bfa; }
.booking-demo-rainbow span:nth-child(3) { background: #fbbf24; }
.booking-demo-rainbow span:nth-child(4) { background: #2dd4bf; }
.booking-demo-rainbow span:nth-child(5) { background: #38bdf8; }

.booking-demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 228, 230, 0.9);
    backdrop-filter: blur(8px);
}

.booking-demo-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.booking-demo-logo-mark {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.9rem;
    background: linear-gradient(145deg, #fb7185, #f43f5e 55%, #e11d48);
    color: #fff;
    font-family: var(--cpb-display);
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 8px 18px rgba(244, 63, 94, 0.28);
}

.booking-demo-brand-text {
    display: grid;
    line-height: 1.1;
}

.booking-demo-brand-text strong {
    font-family: var(--cpb-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
}

.booking-demo-brand-text em {
    font-style: normal;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cpb-rose);
}

.booking-demo-header-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--cpb-rose);
    color: #fff;
    font-family: var(--cpb-display);
    font-size: 0.82rem;
    font-weight: 700;
}

.booking-demo-subnav {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 228, 230, 0.85);
    scrollbar-width: none;
}

.booking-demo-subnav::-webkit-scrollbar { display: none; }

.booking-demo-subnav button {
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    background: transparent;
    color: #475569;
    font-family: var(--cpb-display);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: default;
}

.booking-demo-subnav button.is-active {
    background: var(--cpb-rose);
    color: #fff;
}

.booking-demo-body {
    padding: 1.25rem 1.15rem 1.5rem;
}

.booking-demo-steps {
    margin-bottom: 1.35rem;
}

.booking-demo-steps ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.45rem;
}

.booking-demo-steps li[data-step-indicator] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--cpb-slate-400);
    font-size: 0.88rem;
    font-weight: 600;
}

.booking-demo-steps li[data-step-indicator] span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--cpb-slate-400);
    font-family: var(--cpb-display);
    font-size: 0.75rem;
    font-weight: 700;
}

.booking-demo-steps li[data-step-indicator] em {
    font-style: normal;
    display: none;
}

.booking-demo-steps li.is-active,
.booking-demo-steps li.is-done {
    color: #1e293b;
}

.booking-demo-steps li.is-active span,
.booking-demo-steps li.is-done span {
    background: var(--cpb-rose);
    color: #fff;
}

.booking-demo-step-line {
    width: 1.5rem;
    height: 1px;
    background: #e2e8f0;
}

@media (min-width: 520px) {
    .booking-demo-steps li[data-step-indicator] em {
        display: inline;
    }

    .booking-demo-step-line {
        width: 2.5rem;
    }
}

.booking-demo-panel-title {
    font-family: var(--cpb-display);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
    text-align: center;
}

.booking-demo-panel-lead {
    margin: 0 auto 1.25rem;
    max-width: 28rem;
    text-align: center;
    color: var(--cpb-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* Category cards — Charley’s grid */
.booking-demo-cats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .booking-demo-cats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.15rem;
    }
}

.booking-demo-cat {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 0;
    border-radius: var(--cpb-radius);
    background: #fff;
    box-shadow: 0 0 0 1px var(--cpb-line);
    cursor: pointer;
    text-align: left;
    padding: 0;
    font: inherit;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.booking-demo-cat:hover {
    box-shadow: 0 0 0 1px rgba(251, 113, 133, 0.45), 0 14px 30px rgba(244, 63, 94, 0.1);
    transform: translateY(-2px);
}

.booking-demo-cat-media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.booking-demo-cat-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 45%),
        linear-gradient(160deg, var(--cat-a), var(--cat-b));
    transition: transform 0.7s ease;
}

.booking-demo-cat:hover .booking-demo-cat-media::before {
    transform: scale(1.04);
}

.booking-demo-cat-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.12) 45%, transparent);
}

.booking-demo-cat[data-cat="soft-play"] {
    --cat-a: #fb7185;
    --cat-b: #8b5cf6;
}

.booking-demo-cat[data-cat="play-and-eat"] {
    --cat-a: #fbbf24;
    --cat-b: #f43f5e;
}

.booking-demo-cat[data-cat="sen-session"] {
    --cat-a: #38bdf8;
    --cat-b: #8b5cf6;
}

.booking-demo-cat-media strong {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.9rem;
    z-index: 1;
    font-family: var(--cpb-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
}

.booking-demo-cat-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem 1.15rem 1.15rem;
}

.booking-demo-cat-body p {
    margin: 0 0 1rem;
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.booking-demo-cat-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--cpb-rose);
    color: #fff;
    font-family: var(--cpb-display);
    font-size: 0.85rem;
    font-weight: 700;
    transition: background 0.15s ease;
}

.booking-demo-cat:hover .booking-demo-cat-cta {
    background: var(--cpb-rose-hover);
}

/* Calendar — Charley’s DatePicker card */
.booking-demo-cal-card {
    border-radius: var(--cpb-radius);
    background: #fff;
    padding: 1.15rem 1.2rem 1.25rem;
    box-shadow: 0 0 0 1px var(--cpb-line);
}

.booking-demo-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.booking-demo-cal-head strong {
    font-family: var(--cpb-display);
    font-size: 1rem;
    font-weight: 700;
}

.booking-demo-cal-nav button {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--cpb-muted);
    font-size: 1.15rem;
    cursor: pointer;
}

.booking-demo-cal-nav button:hover:not(:disabled) {
    background: var(--cpb-rose-50);
    color: var(--cpb-rose);
}

.booking-demo-cal-nav button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.booking-demo-weekdays,
.booking-demo-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem;
}

.booking-demo-weekdays span {
    text-align: center;
    padding-bottom: 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cpb-slate-400);
}

.booking-demo-day {
    position: relative;
    height: 2.75rem;
    border: 0;
    border-radius: 0.75rem;
    background: transparent;
    font-family: var(--cpb-sans);
    font-size: 0.88rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
}

.booking-demo-day.is-empty {
    visibility: hidden;
    pointer-events: none;
}

.booking-demo-day.is-past,
.booking-demo-day.is-sold {
    color: #cbd5e1;
    cursor: not-allowed;
}

.booking-demo-day.is-available {
    background: var(--cpb-rose-50);
    color: #334155;
}

.booking-demo-day.is-available:hover {
    background: var(--cpb-rose-100);
}

.booking-demo-day.is-limited {
    background: var(--cpb-rose-100);
    color: #9f1239;
}

.booking-demo-day.is-limited:hover {
    background: #fecdd3;
}

.booking-demo-day.is-selected {
    background: var(--cpb-rose) !important;
    color: #fff !important;
}

.booking-demo-day.is-available::after,
.booking-demo-day.is-limited::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.35rem;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 999px;
    background: #fb7185;
    transform: translateX(-50%);
}

.booking-demo-day.is-selected::after {
    display: none;
}

.booking-demo-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin: 1rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.75rem;
    color: var(--cpb-muted);
}

.booking-demo-legend i {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    margin-right: 0.35rem;
    vertical-align: middle;
}

/* Tickets */
.booking-demo-tickets-card {
    border-radius: var(--cpb-radius);
    background: #fff;
    padding: 1.15rem 1.2rem;
    box-shadow: 0 0 0 1px var(--cpb-line);
}

.booking-demo-session-label {
    font-family: var(--cpb-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.booking-demo-session-meta {
    margin: 0 0 1rem;
    color: var(--cpb-muted);
    font-size: 0.88rem;
}

.booking-demo-tickets {
    display: grid;
    gap: 0.65rem;
}

.booking-demo-ticket {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0.95rem;
    border-radius: 1.15rem;
    background: #fffbf7;
    border: 1px solid #ffe4e6;
}

.booking-demo-ticket strong {
    display: block;
    font-family: var(--cpb-display);
    font-size: 0.95rem;
}

.booking-demo-ticket span {
    font-size: 0.82rem;
    color: var(--cpb-muted);
    font-weight: 700;
}

.booking-demo-qty {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.booking-demo-qty button {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: var(--cpb-rose-50);
    color: var(--cpb-rose-deep);
    font-weight: 800;
    cursor: pointer;
}

.booking-demo-qty button:hover {
    background: var(--cpb-rose-100);
}

.booking-demo-qty output {
    min-width: 1.4rem;
    text-align: center;
    font-family: var(--cpb-display);
    font-weight: 700;
}

.booking-demo-summary {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1.15rem;
    background: var(--cpb-rose-50);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--cpb-display);
    font-weight: 700;
}

/* Checkout */
.booking-demo-checkout-card {
    border-radius: var(--cpb-radius);
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 0 0 1px var(--cpb-line);
}

.booking-demo-receipt {
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 1.15rem;
    background: var(--cpb-bg);
    border: 1px solid #ffe4e6;
    font-size: 0.9rem;
}

.booking-demo-receipt dl {
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.booking-demo-receipt dt {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cpb-slate-400);
}

.booking-demo-receipt dd {
    margin: 0;
    font-weight: 700;
}

.booking-demo-form {
    display: grid;
    gap: 0.75rem;
}

.booking-demo-form label {
    display: grid;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.booking-demo-form input {
    padding: 0.75rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    font: inherit;
    background: #fff;
}

.booking-demo-form input:focus {
    outline: 2px solid rgba(244, 63, 94, 0.2);
    border-color: #fda4af;
}

.booking-demo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.15rem;
    justify-content: center;
}

.booking-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    border: 0;
    font-family: var(--cpb-display);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.booking-demo-btn-primary {
    background: var(--cpb-rose);
    color: #fff;
    box-shadow: 0 10px 22px rgba(244, 63, 94, 0.28);
}

.booking-demo-btn-primary:hover {
    background: var(--cpb-rose-hover);
}

.booking-demo-btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.booking-demo-btn-ghost {
    background: #fff;
    color: #475569;
    box-shadow: 0 0 0 1px #e2e8f0;
}

.booking-demo-btn-ghost:hover {
    color: var(--cpb-rose);
    background: var(--cpb-rose-50);
}

.booking-demo-success {
    text-align: center;
    padding: 0.5rem 0.25rem;
}

.booking-demo-success-icon {
    width: 3.75rem;
    height: 3.75rem;
    margin: 0 auto 1rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #dcfce7;
    color: #16a34a;
    font-size: 1.5rem;
    font-weight: 800;
}

.booking-demo-success h3 {
    font-family: var(--cpb-display);
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.booking-demo-success p {
    color: var(--cpb-muted);
    max-width: 26rem;
    margin: 0 auto 1rem;
    line-height: 1.55;
}

.booking-demo-ref {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--cpb-rose-50);
    color: var(--cpb-rose-deep);
    font-family: var(--cpb-display);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
}

@media (max-width: 520px) {
    .booking-demo-header-cta {
        display: none;
    }
}
