/**
 * Booking — עיצוב חדשני בסגנון אפליקציות הזמנת מוניות (Uber / Bolt)
 * נטען אחרי patch + booking.css
 */

/* ── Hero הזמנה ── */
.booking-page .booking-page-header {
    position: relative;
    overflow: hidden;
    margin: 0 calc(50% - 50vw) 28px;
    width: 100vw;
    max-width: 100vw;
    padding: 48px 0 52px;
    border-bottom: none;
    background: transparent !important;
}

.booking-page .booking-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 80% at 80% 20%, rgba(74, 124, 89, 0.45) 0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 15% 85%, rgba(196, 154, 108, 0.22) 0%, transparent 50%),
        linear-gradient(155deg, #0a0e12 0%, #141c26 35%, #1a2e22 100%);
    z-index: 0;
}

.booking-page .booking-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-H4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.9;
    pointer-events: none;
}

.booking-page .booking-page-header-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.booking-page .booking-page-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #daf78a;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(223, 255, 154, 0.28);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.booking-page .booking-page-title {
    font-size: clamp(1.85rem, 5vw, 2.65rem) !important;
    font-weight: 900 !important;
    color: #fff !important;
    line-height: 1.15 !important;
    margin-bottom: 14px !important;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.booking-page .booking-page-sub {
    font-size: clamp(1rem, 2.2vw, 1.12rem) !important;
    color: rgba(255, 255, 255, 0.82) !important;
    line-height: 1.75 !important;
    margin: 0 auto 22px !important;
    max-width: 560px;
}

.booking-page .booking-hero-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin: 0;
    padding: 0;
}

.booking-page .booking-hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.booking-page .booking-hero-points li i {
    color: #e8ff9a;
    font-size: 0.95rem;
    opacity: 0.95;
}

/* ── תיקון תצוגת בחירת משך (חייב להישאר מוסתר עד בחירת סוג) ── */
.booking-page .duration-selector:not(.visible) {
    display: none !important;
}

.booking-page .duration-selector.visible {
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 8px 40px 12px !important;
    animation: bookingStepFade 0.4s ease;
}

@keyframes bookingStepFade {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-page .duration-heading {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dark);
    margin: 12px 0 14px;
    letter-spacing: -0.02em;
}

/* כרטיס הזמנה ראשי */
.booking-page .booking-card {
    border-radius: 20px;
    border: 1px solid rgba(26, 35, 50, 0.08);
    box-shadow:
        0 24px 48px rgba(15, 20, 28, 0.08),
        0 2px 0 rgba(196, 154, 108, 0.15) inset;
    overflow: hidden;
}

.booking-page .booking-card-header--step1 .booking-card-title {
    letter-spacing: -0.03em;
}

/* כרטיסי סוג עיסוי */
.booking-page #massage-type-grid {
    padding-top: 4px;
}

.booking-page .massage-type-card {
    position: relative;
    background: linear-gradient(165deg, #f8faf9 0%, #ffffff 50%, #f4f7f5 100%);
    border: 2px solid #e2e8e3;
    border-radius: 16px;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.booking-page .massage-type-card:hover {
    border-color: rgba(74, 124, 89, 0.45);
    box-shadow: 0 12px 28px rgba(26, 35, 50, 0.09);
    transform: translateY(-3px);
}

.booking-page .massage-type-card.selected {
    border-color: var(--primary);
    background: linear-gradient(165deg, #e8f5eb 0%, #f0faf2 100%);
    box-shadow:
        0 16px 36px rgba(74, 124, 89, 0.2),
        0 0 0 1px rgba(196, 154, 108, 0.55),
        -4px 0 0 0 #c8ff5a inset;
}

.booking-page .massage-type-card.selected .type-card-name {
    color: var(--primary-dark);
}

.booking-page .type-card-price strong {
    font-size: 1.05rem;
    color: #1a3d24;
}

/* משך טיפול — כרטיסיות */
.booking-page .duration-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.booking-page .duration-pill {
    border-radius: 14px !important;
    min-width: 118px;
    border-width: 2px !important;
}

.booking-page .duration-pill.selected {
    box-shadow: 0 8px 24px rgba(74, 124, 89, 0.35) !important;
}

/* מחיר חי */
.booking-page .booking-price-display.visible {
    margin: 16px 40px 8px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #1a2332 0%, #243028 100%) !important;
    border: 1px solid rgba(223, 255, 154, 0.2) !important;
    color: #fff !important;
}

.booking-page .booking-price-display.visible .price-display-label {
    color: rgba(255, 255, 255, 0.75) !important;
}

.booking-page .booking-price-display.visible .price-display-amount {
    color: #e8ff8f !important;
    font-size: 1.75rem !important;
    font-weight: 900 !important;
}

.booking-page .booking-card-footer .btn-primary {
    border-radius: 14px;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow: 0 8px 24px rgba(74, 124, 89, 0.35);
}

.booking-page .booking-card-footer .btn-primary:disabled {
    opacity: 0.45;
    box-shadow: none;
}

/* Progress */
.booking-page .booking-progress {
    margin-bottom: 8px;
}

.booking-page .progress-step.active .progress-circle {
    box-shadow: 0 0 0 4px rgba(200, 255, 90, 0.25);
}

@media (max-width: 768px) {
    .booking-page .duration-selector.visible {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .booking-page .booking-price-display.visible {
        margin-right: 20px !important;
        margin-left: 20px !important;
    }

    .booking-page .booking-page-header {
        padding: 36px 0 40px;
        margin-bottom: 20px;
    }

    .booking-page .booking-hero-points {
        flex-direction: column;
        align-items: stretch;
    }

    .booking-page .booking-hero-points li {
        justify-content: center;
    }
}
