/*
 * private-excursion-details.css
 * Extracted from pages/private_excursions/details.php lines 435-2246 (Wave 14 / L-02)
 * RTL handled via [dir="rtl"] selectors instead of PHP conditionals.
 */

        .hero-image {
            height: 400px;
            object-fit: cover;
            border-radius: 15px;
        }

        .gallery-thumb {
            height: 80px;
            object-fit: cover;
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .gallery-thumb:hover {
            transform: scale(1.05);
        }

        /* ── Price Summary card — theme-aware ── */
        .price-card {
            background: var(--bg-secondary, #ffffff);
            color: var(--text-primary, #1a1a1a);
            border-radius: 16px;
            padding: 0;
            top: 20px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.12);
            border: 2px solid var(--color-primary, #0d6efd);
            overflow: hidden;
            transition: all 0.3s ease;
            position: relative;
        }

        .price-card::before {
            display: none;
        }

        .price-card::after {
            display: none;
        }

        /* Coloured header strip */
        .price-card-header {
            background: var(--color-primary, #0d6efd);
            padding: 18px 22px;
            position: relative;
        }

        .price-card-header::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0; right: 0;
            height: 3px;
            background: var(--color-accent, rgba(255,255,255,0.35));
        }

        /* Always white — readable on any primary colour */
        .price-card-header h4,
        .price-card-header h5,
        .price-card-header i {
            color: #fff !important;
            margin: 0;
            text-shadow: 0 1px 4px rgba(0,0,0,0.35);
        }

        /* Card body */
        .price-card-body {
            padding: 22px;
        }

        /* All text inside card body readable on light bg */
        .price-card .price-card-body h5,
        .price-card .price-card-body h6,
        .price-card .price-card-body span,
        .price-card .price-card-body label,
        .price-card .price-card-body small,
        .price-card .price-card-body p {
            color: var(--text-primary, #1a1a1a) !important;
        }

        .price-card .price-card-body strong,
        .price-card .price-card-body b {
            color: var(--text-primary, #1a1a1a) !important;
        }

        /* ── Quick-info stat cards ── */
        .quick-info-grid .text-center {
            background: var(--bg-secondary, #fff);
            border: 1.5px solid var(--border-subtle, #e9ecef);
            border-radius: var(--border-radius-card, 14px);
            padding: 18px 10px;
            box-shadow: var(--shadow-card, 0 4px 12px rgba(0,0,0,.07));
            transition: box-shadow .25s, transform .25s;
        }

        .quick-info-grid .text-center:hover {
            box-shadow: var(--shadow-premium, 0 8px 24px rgba(0,0,0,.12));
            transform: translateY(-3px);
        }

        .quick-info-grid h6 {
            color: var(--text-secondary, #6c757d);
            font-size: .75rem;
            text-transform: uppercase;
            letter-spacing: .04em;
            margin-bottom: 4px;
        }

        .quick-info-grid p {
            color: var(--text-primary, #1a1a1a);
            font-weight: 600;
        }

        .feature-icon {
            width: 50px;
            height: 50px;
            background: var(--color-primary, #007bff);
            color: #fff;
            border-radius: clamp(0px, var(--border-radius-btn, 50px), 50px);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px auto;
            box-shadow: 0 4px 14px rgba(0,0,0,.18);
            font-size: 1.1rem;
        }

        .info-card {
            border: 1.5px solid var(--border-subtle, #e9ecef);
            border-radius: var(--border-radius-card, 15px);
            box-shadow: var(--shadow-card, 0 5px 15px rgba(0,0,0,.08));
            margin-bottom: 25px;
            background: var(--bg-secondary, #fff);
        }

        .info-card .card-header {
            background: var(--bg, #f8f9fa);
            border-bottom: 2px solid var(--color-primary, #007bff);
            border-radius: calc(var(--border-radius-card, 15px) - 1px) calc(var(--border-radius-card, 15px) - 1px) 0 0;
            padding: 16px 20px;
        }

        .info-card .card-header h5,
        .info-card .card-header h6 {
            color: var(--text-primary, #1a1a1a);
        }

        .info-card .card-header i {
            color: var(--color-primary, #007bff);
        }

        .tour-card {
            background: #fff;
            border: 1px solid #e9ecef;
            border-radius: 14px;
            overflow: hidden;
            transition: box-shadow .2s, transform .2s;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .tour-card:hover {
            box-shadow: 0 8px 32px rgba(0,0,0,.1);
            transform: translateY(-2px);
        }

        .tour-card-img-wrap {
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
        }

        .tour-card-img {
            width: 100%;
            height: 210px;
            object-fit: cover;
            transition: transform .35s;
        }

        .tour-card:hover .tour-card-img {
            transform: scale(1.04);
        }

        .tour-type-badge {
            position: absolute;
            top: .75rem;
            left: .75rem;
            font-size: .72rem;
            font-weight: 700;
            padding: .25rem .6rem;
            border-radius: 50px;
            backdrop-filter: blur(4px);
            background: rgba(16,161,100,.88);
            color: #fff;
        }
        [dir="rtl"] .tour-type-badge {
            left: auto;
            right: .75rem;
        }

        .tour-card-body {
            padding: 1.05rem 1.1rem .9rem;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .tour-card-title {
            font-size: .95rem;
            font-weight: 700;
            color: #1a1a2e;
            margin-bottom: .5rem;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .tour-card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: .75rem 1.1rem;
            border-top: 1px solid #f1f3f5;
            gap: .5rem;
        }

        .tour-price { font-size: 1rem; font-weight: 800; color: #1a1a2e; }
        .btn-book {
            background: #0066cc;
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: .45rem 1rem;
            font-size: .82rem;
            font-weight: 700;
            white-space: nowrap;
            text-decoration: none;
            transition: background .15s;
            flex-shrink: 0;
        }
        .btn-book:hover { background: #0052a3; color: #fff; }

        .breadcrumb-item a {
            text-decoration: none;
            color: var(--color-primary, #007bff);
        }

        .extra-service {
            border: 1.5px solid var(--border-subtle, #e9ecef);
            border-radius: var(--border-radius-card, 10px);
            padding: 15px;
            margin-bottom: 10px;
            background: var(--bg-secondary, #fff);
            transition: all 0.3s ease;
        }

        .extra-service:hover {
            border-color: var(--color-primary, #007bff);
            background-color: var(--bg, #f8f9fa);
        }

        .swiper-slide img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            border-radius: 15px;
        }

        /* Info Swiper Styles - Mobile Only */
        .info-swiper-container {
            padding: 20px 0;
        }

        .info-swiper {
            padding-bottom: 50px;
        }

        .info-swiper .swiper-slide {
            text-align: center;
            padding: 20px 15px;
            background: var(--bg-secondary, #fff);
            border: 1.5px solid var(--border-subtle, #e9ecef);
            border-radius: var(--border-radius-card, 15px);
            box-shadow: var(--shadow-card, 0 2px 10px rgba(0,0,0,.08));
            transition: all 0.3s ease;
            height: auto;
        }

        .info-swiper .swiper-slide h6 {
            color: var(--text-secondary, #6c757d);
            font-size: .75rem;
            text-transform: uppercase;
            letter-spacing: .04em;
        }

        .info-swiper .swiper-slide p {
            color: var(--text-primary, #1a1a1a);
            font-weight: 600;
        }

        .info-swiper .swiper-slide:hover {
            box-shadow: var(--shadow-premium, 0 5px 20px rgba(0,0,0,.15));
            transform: translateY(-5px);
        }

        .info-swiper .swiper-pagination {
            bottom: 10px;
        }

        .info-swiper .swiper-pagination-bullet {
            width: 10px;
            height: 10px;
            background: var(--color-primary, #007bff);
            opacity: 0.5;
        }

        .info-swiper .swiper-pagination-bullet-active {
            opacity: 1;
            background: var(--color-primary, #007bff);
        }

        .info-swiper-button-next,
        .info-swiper-button-prev {
            color: var(--color-primary, #007bff);
            background: var(--bg-secondary, rgba(255,255,255,.9));
            width: 40px;
            height: 40px;
            border-radius: 50%;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .info-swiper-button-next:after,
        .info-swiper-button-prev:after {
            font-size: 18px;
            font-weight: bold;
        }

        .info-swiper-button-next:hover,
        .info-swiper-button-prev:hover {
            background: var(--color-primary, #007bff);
            color: #fff;
        }

        /* Hide slider on desktop */
        @media (min-width: 768px) {
            .info-swiper-container {
                display: none !important;
            }
        }

        /* Share Button Styles */
        .share-dropdown .dropdown-toggle {
            border-radius: 25px;
            padding: 10px 18px;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
            background-color: rgba(255, 255, 255, 0.95);
            border: 1px solid rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
        }

        .share-dropdown .dropdown-toggle:hover {
            background-color: var(--bg-secondary, #fff);
            border-color: var(--color-primary, #007bff);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0,0,0,.15);
        }

        .share-dropdown .dropdown-menu {
            border-radius: 15px;
            border: none;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            padding: 8px 0;
            min-width: 220px;
            margin-top: 8px;
        }

        .share-dropdown .dropdown-item {
            padding: 14px 20px;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            border-radius: 8px;
            margin: 2px 8px;
        }

        .share-dropdown .dropdown-item:hover {
            background-color: var(--color-primary-light, #f0f4ff);
            color: var(--color-primary, #007bff);
            transform: translateX(4px);
        }

        .share-dropdown .dropdown-item i {
            width: 22px;
            text-align: center;
            font-size: 16px;
        }

        .share-dropdown .dropdown-divider {
            margin: 8px 0;
        }

        /* Floating share button positioning */
        .position-absolute.top-0.end-0 {
            z-index: 10;
        }

        /* Discount Badge Styles */
        .discount-badge {
            position: absolute;
            top: -2px;
            left: 15px;
            background: #dc3545;
            color: white;
            padding: 8px 6px 9px;
            font-weight: bold;
            z-index: 4;
            box-shadow: 0 4px 12px rgba(220, 53, 69, 0.6);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            line-height: 1.2;
            min-width: 80px;
            clip-path: polygon(0 0, 100% 0, 100% 75%, 90% 100%, 10% 100%, 0 75%);
            transform: rotate(0deg);
        }

        .discount-badge::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
            pointer-events: none;
            border-radius: 0;
        }

        .discount-badge::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 10px solid #b91c2c;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
        }

        .discount-badge-label {
            font-size: 0.65rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 3px;
            position: relative;
            z-index: 1;
        }

        .discount-badge-value {
            font-size: 1.4rem;
            font-weight: 900;
            line-height: 1;
            position: relative;
            z-index: 1;
        }

        /* Smaller discount badge for attractions and extra services */
        .discount-badge-small {
            position: absolute;
            top: 1px;
            right: 10px;
            background: #dc3545;
            color: white;
            padding: 6px 5px 7px;
            font-weight: bold;
            z-index: 4;
            box-shadow: 0 3px 8px rgba(220, 53, 69, 0.5);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            line-height: 1.1;
            min-width: 60px;
            clip-path: polygon(0 0, 100% 0, 100% 75%, 90% 100%, 10% 100%, 0 75%);
        }

        .discount-badge-small::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
            pointer-events: none;
        }

        .discount-badge-small::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid #b91c2c;
            filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
        }

        .discount-badge-small .discount-badge-label {
            font-size: 0.55rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            margin-bottom: 2px;
            position: relative;
            z-index: 1;
        }

        .discount-badge-small .discount-badge-value {
            font-size: 1.1rem;
            font-weight: 900;
            line-height: 1;
            position: relative;
            z-index: 1;
        }

        .attraction-item {
            background: white;
            border-radius: 15px;
            margin-bottom: 20px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .attraction-item:hover {
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
        }

        .attraction-header {
            background: var(--bg, #f8f9fa);
            padding: 20px;
            cursor: default;
            border: none;
            width: 100%;
            text-align: left;
            font-weight: 600;
            font-size: 16px;
            color: var(--text-primary, #1a1a1a);
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
            position: relative;
        }
        [dir="rtl"] .attraction-header {
            text-align: right;
        }

        .attraction-header:hover {
            background: var(--color-primary-light, #e9ecef);
        }

        /* Override Bootstrap text-primary / text-dark inside attraction-header */
        .attraction-header .text-primary,
        .attraction-header i.text-primary {
            color: var(--color-primary, #0d6efd) !important;
        }

        .attraction-header .text-dark,
        .attraction-header span.text-dark {
            color: var(--text-primary, #1a1a1a) !important;
        }

        .attraction-content {
            padding: 0;
            display: block;
            border-top: 1px solid var(--border-subtle, #dee2e6);
            line-height: 1.6;
        }

        .attraction-content-wrapper {
            display: flex;
            gap: 20px;
            padding: 20px;
            align-items: flex-start;
            background: var(--bg, #f8f9fa);
            border-radius: 0 0 15px 15px;
        }

        .attraction-image-container {
            flex: 0 0 200px;
            min-width: 200px;
        }

        .attraction-main-image {
            width: 100%;
            height: 150px;
            border-radius: 12px;
            object-fit: cover;
            border: 3px solid var(--border-subtle, #e9ecef);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .attraction-main-image:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        .attraction-text-content {
            flex: 1;
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-primary, #1a1a1a);
        }

        .attraction-description {
            margin-bottom: 20px;
        }

        .attraction-description p {
            margin-bottom: 15px;
            text-align: justify;
        }

        .attraction-description .text-center {
            text-align: center !important;
        }

        .attraction-description span[style*="color"] {
            font-weight: 500;
        }

        .attraction-icon {
            transition: transform 0.3s;
            transform: rotate(180deg);
        }

        .pricing-info {
            background: var(--bg-secondary, #fff);
            border-radius: 8px;
            padding: 15px;
            margin-top: 15px;
            border: 1px solid var(--border-subtle, #e9ecef);
        }

        /* Mobile responsive styles for attractions */
        @media (max-width: 768px) {
            .attraction-content-wrapper {
                flex-direction: column;
                gap: 15px;
                padding: 15px;
            }

            .attraction-image-container {
                flex: none;
                min-width: auto;
                width: 100%;
                display: flex;
                justify-content: center;
            }

            .attraction-main-image {
                width: 80%;
                max-width: 250px;
                height: 120px;
            }

            .attraction-header {
                padding: 15px 40px 15px 15px;
                font-size: 14px;
                flex-wrap: wrap;
                gap: 12px;
            }

            .attraction-header>.d-flex.justify-content-between {
                width: 100%;
                flex-direction: column;
                gap: 12px;
                align-items: flex-start !important;
            }

            .attraction-header .d-flex.align-items-center {
                width: 100%;
                flex-wrap: wrap;
            }

            .attraction-header .d-flex.align-items-center span {
                flex: 1;
                min-width: 0;
                word-wrap: break-word;
                overflow-wrap: break-word;
                font-size: 14px;
                line-height: 1.4;
            }

            .attraction-select-btn {
                width: 100%;
                min-width: auto;
                margin-top: 0;
                justify-content: center;
                font-size: 14px;
                padding: 10px 16px;
            }

            .attraction-icon {
                position: absolute;
                top: 15px;
                right: 15px;
                font-size: 16px;
            }

            .attraction-text-content {
                font-size: 15px;
            }

            .attraction-description p {
                margin-bottom: 12px;
            }

            .alert.alert-info {
                font-size: 14px;
            }

            .alert.alert-info .row {
                flex-direction: column;
                gap: 10px;
            }

            .alert.alert-info .col-md-6 {
                width: 100%;
            }

            .card-header .badge {
                font-size: 0.875rem !important;
                padding: 0.5rem 0.75rem !important;
                margin-top: 0.5rem;
            }

            .card-header .d-flex.justify-content-between {
                flex-direction: column;
                align-items: flex-start !important;
            }
        }

        /* Extra small mobile devices */
        @media (max-width: 576px) {
            .attraction-header {
                padding: 12px 35px 12px 12px;
                font-size: 13px;
            }

            .attraction-header .d-flex.align-items-center span {
                font-size: 13px;
            }

            .attraction-select-btn {
                font-size: 13px;
                padding: 8px 12px;
            }

            .attraction-icon {
                top: 12px;
                right: 12px;
                font-size: 14px;
            }
        }

        /* RTL support for attractions */
        [dir="rtl"] .attraction-content-wrapper {
            flex-direction: row-reverse;
        }

        @media (max-width: 768px) {
            [dir="rtl"] .attraction-content-wrapper {
                flex-direction: column;
            }

            [dir="rtl"] .attraction-image-container {
                justify-content: center;
            }

            [dir="rtl"] .attraction-header {
                padding: 15px 15px 15px 40px;
            }

            [dir="rtl"] .attraction-icon {
                right: auto;
                left: 15px;
            }
        }

        @media (max-width: 576px) {
            [dir="rtl"] .attraction-header {
                padding: 12px 12px 12px 35px;
            }

            [dir="rtl"] .attraction-icon {
                left: 12px;
            }
        }

        .pricing-info h6 {
            color: #28a745;
            font-weight: 600;
        }

        /* ── Interactive Booking Card — theme-aware ── */
        .booking-card {
            border: 2px solid var(--color-primary, #007bff);
            border-radius: var(--border-radius-card, 12px);
            box-shadow: var(--shadow-card, 0 4px 20px rgba(0,0,0,0.10));
            background: var(--bg-secondary, #fff);
            overflow: hidden;
        }

        .booking-card .card-header {
            background: linear-gradient(135deg,
                var(--color-primary, #007bff) 0%,
                var(--color-primary-hover, #0056b3) 100%);
            border-bottom: none;
            padding: 20px;
        }

        .booking-card .card-header h5,
        .booking-card .card-header .h5,
        .booking-card .card-header h6,
        .booking-card .card-header .h6,
        .booking-card .card-header span,
        .booking-card .card-header small,
        .booking-card .card-header i {
            color: #fff !important;
        }

        .booking-card .card-header .text-primary {
            color: rgba(255,255,255,0.85) !important;
        }

        .booking-card .card-header .text-muted {
            color: rgba(255,255,255,0.7) !important;
        }

        .passenger-counter {
            display: flex;
            align-items: center;
            gap: 3px;
        }

        .passenger-counter .btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 1px solid var(--border-subtle, #dee2e6);
            background: var(--bg-secondary, #fff);
            color: var(--text-primary, #1a1a1a);
            font-weight: 600;
            font-size: 16px;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        .passenger-counter .btn:hover {
            background: var(--color-primary-light, #f0f4ff);
            border-color: var(--color-primary, #007bff);
            color: var(--color-primary, #007bff);
            transform: scale(1.05);
        }

        .passenger-counter .btn:active {
            transform: scale(0.95);
        }

        .passenger-counter .form-control {
            width: 60px;
            height: 32px;
            border: 1px solid var(--border-subtle, #dee2e6);
            border-radius: 6px;
            background: var(--bg-secondary, #fff);
            color: var(--text-primary, #1a1a1a);
            font-weight: 600;
            text-align: center;
            font-size: 14px;
            padding: 0;
        }

        .passenger-counter .form-control:focus {
            box-shadow: 0 0 0 2px rgba(var(--color-primary, #007bff), 0.25);
            border-color: var(--color-primary, #007bff);
        }

        .booking-actions .btn {
            border-radius: var(--border-radius-btn, 8px);
            font-weight: 600;
            padding: 12px 24px;
        }

        /* Book Now — uses theme primary, not hardcoded green */
        .booking-actions .btn-success {
            background: var(--color-primary, #007bff) !important;
            border-color: var(--color-primary, #007bff) !important;
            color: #fff !important;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
        }

        .booking-actions .btn-success:hover {
            background: var(--color-primary-hover, #0056b3) !important;
            border-color: var(--color-primary-hover, #0056b3) !important;
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(0,0,0,0.2);
        }

        .booking-actions .btn-outline-primary {
            border: 2px solid var(--color-primary, #007bff);
            color: var(--color-primary, #007bff);
        }

        .booking-actions .btn-outline-primary:hover {
            background: var(--color-primary, #007bff);
            color: #fff;
            transform: translateY(-1px);
        }

        /* Price Summary Styles */
        .price-breakdown {
            background: var(--bg, #f8f9fa);
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 8px;
            border: 1px solid var(--border-subtle, #dee2e6);
            position: relative;
            z-index: 1;
        }

        .price-section {
            background: var(--bg-secondary, #ffffff);
            border-radius: 10px;
            padding: 12px 15px;
            margin-bottom: 10px;
            border: 1px solid var(--border-subtle, #dee2e6);
            transition: all 0.3s ease;
        }

        .price-section:hover {
            border-color: var(--color-primary, #0d6efd);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }

        .price-section h6 {
            color: var(--color-primary, #0d6efd);
            font-weight: 600;
            margin-bottom: 10px;
        }

        .price-item {
            font-size: 0.9rem;
            color: var(--text-primary, #1a1a1a);
            transition: all 0.2s ease;
        }

        .price-item:hover {
            background: var(--bg, #f8f9fa);
            border-radius: 4px;
            padding: 2px 6px;
            margin: 0 -6px;
        }

        .price-total {
            background: var(--color-primary-light, #eff6ff);
            border-radius: 12px;
            padding: 16px 20px;
            margin-top: 10px;
            border: 2px solid var(--color-primary, #0d6efd);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }

        .price-total h4 {
            font-size: 1.6rem;
            color: var(--color-primary, #0d6efd);
        }

        .price-total h5 {
            color: var(--text-primary, #1a1a1a);
        }

        /* Price Card Hover */
        .price-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 40px rgba(0,0,0,0.15);
        }

        /* ── Price breakdown JS-generated items — theme-aware ── */

        /* label: اسم العنصر (attraction / extra / vehicle) */
        .pi-label {
            color: var(--text-secondary, #666);
            font-size: 0.85rem;
        }

        /* value: السعر الفردي */
        .pi-value {
            color: var(--text-primary, #1a1a1a);
            font-weight: 600;
            font-size: 0.85rem;
        }

        /* total: مجموع القسم */
        .pi-total {
            color: var(--color-primary, #0d6efd);
            font-weight: 700;
        }

        /* empty state */
        .pi-empty {
            color: var(--text-secondary, #888);
            font-size: 0.82rem;
            font-style: italic;
        }

        /* divider line بين العناصر والمجموع */
        .pi-divider {
            border-top: 1px solid var(--border-subtle, #dee2e6) !important;
        }

        /* Legacy Bootstrap overrides — fallback لو بقيت أي classes قديمة */
        .price-card-body .text-white-50,
        .price-card-body .text-muted,
        .price-item small.text-white-50 {
            color: var(--text-secondary, #666) !important;
        }
        .price-card-body .text-white,
        .price-item small.text-white {
            color: var(--text-primary, #1a1a1a) !important;
            font-weight: 500;
        }
        .price-card-body strong.text-white,
        .price-card-body .text-white strong {
            color: var(--text-primary, #1a1a1a) !important;
        }
        .price-card-body .text-warning,
        .price-item strong.text-warning,
        .price-card-body span.text-warning {
            color: var(--color-primary, #0d6efd) !important;
            text-shadow: none;
        }
        .price-card-body .price-item[style*="border-top"] {
            border-top-color: var(--border-subtle, #dee2e6) !important;
        }

        /* Section Icons */
        .price-section i {
            color: var(--color-primary, #0d6efd);
        }

        /* ── Price Section heading / divider / total — theme-aware semantic classes ── */
        .ps-heading {
            color: var(--color-primary, #0d6efd);
            font-weight: 600;
            margin-bottom: 10px;
        }
        .ps-heading i {
            color: var(--color-primary, #0d6efd);
        }
        .ps-divider {
            border-color: var(--border-subtle, #dee2e6);
        }
        .ps-total-label {
            color: var(--text-primary, #1a1a1a);
        }
        .ps-total-value {
            color: var(--color-primary, #0d6efd);
            font-size: 1.6rem;
        }

        /* ── Attraction Select button — theme-aware ── */
        .attraction-select-btn {
            min-width: 110px;
            padding: 8px 16px;
            border: 2px solid var(--color-primary, #0d6efd);
            background-color: transparent;
            color: var(--color-primary, #0d6efd);
            font-weight: 600;
            transition: all 0.25s ease;
            cursor: pointer;
            border-radius: var(--border-radius-btn, 6px);
        }

        .attraction-select-btn:hover {
            border-color: var(--color-primary, #0d6efd);
            background-color: var(--color-primary-light, #e7f1ff);
            color: var(--color-primary, #0d6efd);
            transform: translateY(-1px);
        }

        /* When selected → filled with primary */
        .attraction-select-btn.selected {
            border-color: var(--color-primary, #0d6efd);
            background-color: var(--color-primary, #0d6efd);
            color: #fff;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
        }

        .attraction-select-btn.selected:hover {
            background-color: var(--color-primary-hover, #0056b3);
            border-color: var(--color-primary-hover, #0056b3);
        }

        .attraction-select-btn i {
            margin-right: 5px;
        }

        .attraction-item {
            transition: all 0.3s ease;
        }

        .attraction-item.has-selected {
            border-left: 4px solid #28a745;
            background-color: rgba(40, 167, 69, 0.05);
        }

        .attraction-item.has-selected .attraction-header {
            background: linear-gradient(135deg, #d4edda, #c3e6cb);
        }

        /* Extra Services Checkbox Styles */
        .extra-checkbox {
            width: 20px;
            height: 20px;
            margin-right: 10px;
            cursor: pointer;
        }

        .extra-service .form-check-label {
            cursor: pointer;
            display: flex;
            align-items: center;
            margin-bottom: 0;
        }

        .extra-service .form-check {
            margin-bottom: 0;
        }

        .extra-service {
            transition: all 0.3s ease;
        }

        .extra-service:has(.extra-checkbox:checked) {
            border-left: 4px solid #28a745;
            background-color: rgba(40, 167, 69, 0.05);
        }

        .extra-service:has(.extra-checkbox:checked) {
            background: linear-gradient(135deg, #d4edda, #c3e6cb);
            border-radius: 8px;
        }

        /* Booking Form Styles */
        #bookingFormSection {
            animation: fadeIn 0.3s ease-in-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        #bookingFormSection .card {
            border: none;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            border-radius: 15px;
        }

        #bookingFormSection .card-header {
            background: linear-gradient(135deg, #0d6efd 0%, #0d6efd 100%);
            color: white;
            border-radius: 15px 15px 0 0;
            border: none;
        }

        #bookingFormSection .form-label {
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }

        #bookingFormSection .form-control {
            border: 2px solid var(--border-subtle, #e9ecef);
            border-radius: var(--border-radius-btn, 8px);
            padding: 12px 15px;
            background: var(--bg-secondary, #fff);
            color: var(--text-primary, #1a1a1a);
            transition: all 0.3s ease;
        }

        #bookingFormSection .form-control:focus {
            border-color: var(--color-primary, #0d6efd);
            box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
            outline: none;
        }

        #bookingFormSection .btn-success {
            background: var(--color-primary, #0d6efd) !important;
            border-color: var(--color-primary, #0d6efd) !important;
            color: #fff !important;
            padding: 12px 30px;
            font-weight: 600;
            border-radius: var(--border-radius-btn, 8px);
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
        }

        #bookingFormSection .btn-success:hover {
            background: var(--color-primary-hover, #0056b3) !important;
            border-color: var(--color-primary-hover, #0056b3) !important;
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(0,0,0,0.18);
        }

        #bookingFormSection .btn-outline-secondary {
            border: 2px solid var(--border-subtle, #6c757d);
            color: var(--text-secondary, #6c757d);
            padding: 12px 30px;
            font-weight: 600;
            border-radius: var(--border-radius-btn, 8px);
        }

        #bookingFormSection .btn-outline-secondary:hover {
            background: var(--text-secondary, #6c757d);
            color: #fff;
            transform: translateY(-2px);
        }

        #bookingSummary {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            transition: opacity 0.2s ease;
        }

        #bookingSummary h6 {
            color: #0d6efd;
            font-weight: 600;
            margin-bottom: 15px;
        }

        #bookingSummary ul {
            margin-bottom: 0;
            padding-left: 20px;
        }

        #bookingSummary li {
            margin-bottom: 5px;
            color: #555;
        }

        /* ── Cosmic theme overrides for booking summary ── */
        body.theme-cosmic #bookingSummary {
            background: #150E2A !important;
            border: 1px solid rgba(139,92,246,0.25) !important;
            color: #F0EBFF !important;
        }
        body.theme-cosmic #bookingSummary h6 {
            color: #C4B5FD !important;
        }
        body.theme-cosmic #bookingSummary p,
        body.theme-cosmic #bookingSummary li,
        body.theme-cosmic #bookingSummary strong {
            color: #D4C8F8 !important;
        }
        body.theme-cosmic #bookingSummary h5.text-primary,
        body.theme-cosmic #bookingSummary .text-primary {
            color: #C4B5FD !important;
        }
        body.theme-cosmic #bookingSummary #bookingTotalPrice {
            color: #22D3EE !important;
        }
        body.theme-cosmic #bookingSummary hr {
            border-color: rgba(139,92,246,0.25) !important;
            opacity: 1 !important;
        }
        /* Booking Summary card wrapper */
        body.theme-cosmic #bookingFormColumn .card {
            background: #0E0820 !important;
            border: 1px solid rgba(139,92,246,0.25) !important;
        }
        body.theme-cosmic #bookingFormColumn .card-body {
            background: #0E0820 !important;
        }
        body.theme-cosmic #bookingFormColumn .card-header {
            background: linear-gradient(135deg, #2D1B5E 0%, #1A0F3C 100%) !important;
            border-bottom: 1px solid rgba(139,92,246,0.3) !important;
            color: #F0EBFF !important;
        }
        body.theme-cosmic #bookingFormColumn .card-header h4,
        body.theme-cosmic #bookingFormColumn .card-header h5,
        body.theme-cosmic #bookingFormColumn .card-header h6 {
            color: #F0EBFF !important;
        }
        body.theme-cosmic #bookingFormColumn .bg-light {
            background: #150E2A !important;
            border: 1px solid rgba(139,92,246,0.2) !important;
        }
        body.theme-cosmic #bookingFormColumn .form-label,
        body.theme-cosmic #bookingFormSection .form-label {
            color: #A89CC8 !important;
        }
        body.theme-cosmic #bookingFormColumn .form-control,
        body.theme-cosmic #bookingFormColumn .form-select {
            background: #150E2A !important;
            border-color: rgba(139,92,246,0.3) !important;
            color: #F0EBFF !important;
        }
        body.theme-cosmic #bookingFormColumn .form-check-label {
            color: #A89CC8 !important;
        }
        body.theme-cosmic #bookingFormColumn .text-muted {
            color: #7C6EA0 !important;
        }

        /* Validation Animation Styles */
        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.02);
            }

            100% {
                transform: scale(1);
            }
        }

        @keyframes shake {

            0%,
            100% {
                transform: translateX(0);
            }

            10%,
            30%,
            50%,
            70%,
            90% {
                transform: translateX(-5px);
            }

            20%,
            40%,
            60%,
            80% {
                transform: translateX(5px);
            }
        }

        .validation-alert {
            animation: slideInRight 0.3s ease-out;
        }

        .validation-alert .btn-close {
            background: none;
            border: none;
            font-size: 1.2rem;
            opacity: 0.7;
            cursor: pointer;
        }

        .validation-alert .btn-close:hover {
            opacity: 1;
        }

        /* Form Validation Styles */
        .form-control.is-invalid {
            border-color: #dc3545;
            box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
        }

        .form-control.is-invalid:focus {
            border-color: #dc3545;
            box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
        }

        .invalid-feedback {
            display: block;
            width: 100%;
            margin-top: 0.25rem;
            font-size: 0.875em;
            color: #dc3545;
        }

        .form-control:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
        }

        /* Loading state for submit button */
        .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* Mobile button fixes */
        @media (max-width: 768px) {

            /* Booking form buttons */
            .d-grid.gap-2.d-md-flex.justify-content-md-end {
                flex-direction: column !important;
                gap: 12px !important;
            }

            .d-grid.gap-2.d-md-flex.justify-content-md-end .btn {
                width: 100% !important;
                padding: 14px 20px !important;
                font-size: 1rem !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                border-radius: 12px !important;
                margin: 0 !important;
            }

            /* Book Now button */
            .booking-actions {
                width: 100% !important;
            }

            .booking-actions .btn {
                width: 100% !important;
                padding: 14px 20px !important;
                font-size: 1rem !important;
                border-radius: 12px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }

            .booking-actions .btn i {
                margin-right: 8px;
            }

            [dir="rtl"] .booking-actions .btn i,
            [dir="rtl"] .d-grid.gap-2.d-md-flex.justify-content-md-end .btn i {
                margin-right: 0;
                margin-left: 8px;
            }

            /* Ensure button text wraps properly on very small screens */
            .d-grid.gap-2.d-md-flex.justify-content-md-end .btn,
            .booking-actions .btn {
                white-space: normal;
                word-wrap: break-word;
            }
        }

        /* Fixed Mobile Booking Widget */
        /* ── Premium Mobile Booking Widget Design System ── */
        .mobile-booking-widget {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--bg-secondary, #fff);
            box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
            padding: 15px 20px;
            z-index: 2000;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border-top: 1px solid var(--border-subtle, transparent);
        }

        .mobile-booking-widget .widget-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 100%;
        }

        .mobile-booking-widget .price-label {
            font-size: 0.7rem;
            color: var(--text-secondary, #6c757d);
            margin-bottom: 2px;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .mobile-booking-widget .price-value {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--color-primary, #0071C2) !important;
            line-height: 1;
        }

        .mobile-booking-widget .price-original {
            font-size: 0.9rem !important;
            text-decoration: line-through !important;
            color: var(--color-danger, #dc3545) !important;
            margin-right: 8px !important;
            opacity: 0.8 !important;
            font-weight: 500 !important;
        }

        .mobile-booking-widget .book-button {
            flex-shrink: 0;
            padding: 10px 24px;
            font-size: 1rem;
            font-weight: 700;
            border-radius: var(--border-radius-btn, 8px);
            background: var(--color-primary, #0071C2) !important;
            color: #fff !important;
            border: none;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        }

        .mobile-booking-widget .book-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        }

        .mobile-booking-widget .book-button i { margin-right: 8px; font-size: 0.9em; }

        /* ── Theme Specific Enhancements ── */
        
        /* 🏨 Booking Style: Signature Gradient Border */
        .theme-booking-style .mobile-booking-widget {
            border-top: none;
        }
        .theme-booking-style .mobile-booking-widget::before {
            content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
            background: linear-gradient(90deg, #0071C2 60%, #FF5533 100%);
        }

        /* ✨ Luxury Minimal: Elegant Floating Design */
        .theme-luxury-minimal .mobile-booking-widget {
            background: #FAF8F4 !important;
            border-top: 1px solid rgba(184,151,78,.3) !important;
            padding: 18px 25px;
        }
        .theme-luxury-minimal .mobile-booking-widget .price-value {
            font-family: "Cormorant Garamond", serif !important;
            letter-spacing: 0.02em;
            color: #B8974E !important;
        }
        .theme-luxury-minimal .mobile-booking-widget .book-button {
            background: #111 !important;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-size: 0.85rem;
            border-radius: 2px;
        }

        /* 🟦 Neo Brutalism: Bold Borders & Sharp Shadows */
        .theme-neo-brutalism .mobile-booking-widget {
            background: #fff !important;
            border-top: 4px solid #000 !important;
            box-shadow: 0 -4px 0 #000 !important;
        }
        .theme-neo-brutalism .mobile-booking-widget .book-button {
            border: 3px solid #000 !important;
            box-shadow: 4px 4px 0 #000 !important;
            border-radius: 0 !important;
            background: var(--color-primary) !important;
            color: #000 !important;
        }
        .theme-neo-brutalism .mobile-booking-widget .book-button:hover {
            box-shadow: 2px 2px 0 #000 !important;
            transform: translate(2px, 2px);
        }

        /* 🌅 Warm Hospitality: Rounded & Soft Shadows */
        body[class*="theme-"]:not(.theme-neo-brutalism):not(.theme-apple-hig) .mobile-booking-widget {
            border-top: 4px solid var(--color-primary) !important;
            border-radius: 20px 20px 0 0;
            box-shadow: 0 -5px 25px rgba(230, 126, 34, 0.15);
        }
        body[class*="theme-"]:not(.theme-neo-brutalism):not(.theme-apple-hig) .mobile-booking-widget .book-button {
            border-radius: 50px;
        }

        /* 🍎 Apple HIG: Glassmorphism & Blur */
        .theme-apple-hig .mobile-booking-widget {
            background: rgba(255, 255, 255, 0.85) !important;
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-top: 1px solid rgba(0, 0, 0, 0.05);
            box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
        }
        .theme-apple-hig .mobile-booking-widget .book-button {
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
        }

        /* 🏗️ Retro Bauhaus: Geometric & Primary Colors */
        .theme-retro-bauhaus .mobile-booking-widget {
            border-top: 4px solid #E53935;
            background: #fff;
        }
        .theme-retro-bauhaus .mobile-booking-widget::after {
            content: "";
            position: absolute;
            bottom: 0; left: 0; width: 20px; height: 20px;
            background: #FDD835;
            clip-path: polygon(100% 100%, 0 100%, 0 0);
        }
        .theme-retro-bauhaus .mobile-booking-widget .book-button {
            border-radius: 0;
            background: #1E88E5 !important;
            border: 2px solid #000;
            box-shadow: 4px 4px 0 #000;
        }

        /* 🌊 Glass UI Ocean: Deep Blue & Transparency */
        .theme-glass-ui-ocean .mobile-booking-widget {
            background: rgba(255, 255, 255, 0.9) !important;
            backdrop-filter: blur(15px);
            border-top: 1px solid rgba(3, 105, 161, 0.2);
            box-shadow: 0 -10px 30px rgba(3, 105, 161, 0.15);
        }
        .theme-glass-ui-ocean .mobile-booking-widget .book-button {
            background: linear-gradient(135deg, #0ea5e9, #0369a1) !important;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(3, 105, 161, 0.3);
        }

        /* 🛡️ Modern Trust: Clean & Professional */
        .theme-modern-trust .mobile-booking-widget {
            border-top: 3px solid #1B4FD8;
            background: #fff;
            box-shadow: 0 -4px 20px rgba(27, 79, 216, 0.1);
        }
        .theme-modern-trust .mobile-booking-widget .price-value {
            color: #0F172A !important;
        }
        .theme-modern-trust .mobile-booking-widget .book-button {
            background: #1B4FD8 !important;
            border-radius: 6px;
        }

        @media (max-width: 768px) {
            .mobile-booking-widget { display: block; }
            body > .container { padding-bottom: 90px; }
        }
        /* Urgent Sidebar Fix - Corrected */
        @media (min-width: 992px) {
            .main-layout-row {
                display: flex !important;
                flex-wrap: wrap !important;
                margin-right: -10px;
                margin-left: -10px;
            }
            
            .main-layout-row > .col-lg-8 {
                flex: 0 0 66% !important; /* Safety Buffer */
                max-width: 66% !important;
                padding-right: 10px;
                padding-left: 10px;
                overflow: hidden !important; 
            }
            
            .main-layout-row > .col-lg-4 {
                flex: 0 0 33% !important; /* Safety Buffer */
                max-width: 33% !important;
                display: block !important;
                padding-right: 10px;
                padding-left: 10px;
            }
        }

        /* Prevent content overflow */
        #mainContentColumn, #bookingFormColumn {
            overflow: hidden;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }
        
        #mainContentColumn img, #bookingFormColumn img {
            max-width: 100% !important;
            height: auto !important;
        }
        
        #mainContentSection table {
            display: block;
            width: 100%;
            overflow-x: auto;
        }

        /* EMERGENCY CSS FIXES */
        img {
            max-width: 100% !important;
        }
        .swiper-slide img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            max-height: 500px !important; /* Limit height */
        }
        .gallery-thumb {
            width: 80px !important;
            height: 60px !important;
            object-fit: cover !important;
        }
        .row {
            margin-right: 0 !important;
            margin-left: 0 !important;
        }
        /* Select2 Bootstrap 5 Consistency Fixes */
        .select2-container--default .select2-selection--single {
            border: 2px solid #e9ecef !important;
            border-radius: 10px !important;
            height: 50px !important;
            display: flex !important;
            align-items: center !important;
            padding-left: 0.75rem;
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        }
        
        .select2-container--default .select2-selection--single .select2-selection__rendered {
            color: #212529 !important;
            padding-left: 0 !important;
            font-size: 1rem !important;
            line-height: normal !important;
        }
        
        .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 48px !important;
            right: 10px !important;
        }
        
        .select2-dropdown {
            border: 1px solid #dee2e6 !important;
            border-radius: 10px !important;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
            overflow: hidden !important;
            z-index: 10000 !important;
        }
        
        .select2-search--dropdown .select2-search__field {
            border-radius: 5px !important;
            padding: 8px !important;
            border: 1px solid #dee2e6 !important;
        }
        
        .select2-results__option--highlighted[aria-selected] {
            background-color: #007bff !important;
        }
        
        [dir="rtl"] .select2-container {
            direction: rtl;
            text-align: right;
        }
        [dir="rtl"] .select2-container--default .select2-selection--single .select2-selection__arrow {
            left: 10px !important;
            right: auto !important;
        }
        [dir="rtl"] .select2-container--default .select2-selection--single .select2-selection__rendered {
            padding-right: 0.75rem !important;
            padding-left: 20px !important;
        }

        /* ── Global Bootstrap overrides — respect theme colours ── */
        .text-primary { color: var(--color-primary, #0d6efd) !important; }
        .text-success { color: var(--color-success, #198754) !important; }
        .border-primary { border-color: var(--color-primary, #0d6efd) !important; }
        a.text-primary:hover { color: var(--color-primary-hover, #0056b3) !important; }