/* 
   riyago - Package Details Page Styles
   Externalized to keep main style.css and blade files clean.
*/

/* --- Package Details Layout --- */
.package-details {
    overflow: visible !important;
}

@media (max-width: 1024px) {
    .package-details {
        padding: 20px !important;
    }
}

@media (min-width: 1025px) {
    .package-details {
        padding: 70px !important;
    }
}

/* Modal Stacking & Stability Fixes */
.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1050 !important;
}

/* Prevent sidebar from shifting when body gets modal-open class - Only on Desktop */
@media (min-width: 1200px) {
    body.modal-open .sticky-top {
        position: fixed !important;
        top: 100px !important;
        max-width: inherit;
        /* Help preserve scale */
    }
}

/* Force body stability and show scrollbar */
body.modal-open {
    overflow-y: scroll !important;
    padding-right: 0 !important;
}

.modal {
    background: rgba(0, 0, 0, 0.5);
}

/* Ensure container doesn't jump */
.package-details {
    backface-visibility: hidden;
    transform: none !important;
}

/* --- Modern Asymmetric Mosaic Gallery --- */
.modern-mosaic-gallery {
    display: flex;
    gap: 12px;
    height: 520px;
}

.gallery-main {
    flex: 0 0 calc(70% - 6px);
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-side {
    flex: 0 0 calc(30% - 6px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-side-item {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-main:hover .gallery-img,
.gallery-side-item:hover .gallery-img {
    transform: scale(1.08);
}

/* Glass Overlays */
.gallery-btn-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-btn-overlay:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    color: #fff;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.play-pulse-btn {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
    box-shadow: 0 0 20px rgba(76, 51, 152, 0.4);
    transition: all 0.3s ease;
}

.play-pulse-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.gallery-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

@media (max-width: 991px) {
    .modern-mosaic-gallery {
        height: 400px;
        flex-direction: column;
    }

    .gallery-main,
    .gallery-side {
        flex: 1 0 100%;
        width: 100%;
    }

    .gallery-side {
        flex-direction: row;
        height: 150px;
    }
}

@media (max-width: 576px) {
    .modern-mosaic-gallery {
        height: 300px;
    }

    .gallery-side {
        display: none;
    }
}

/* --- The Experience Section --- */
.experience-section {
    position: relative;
    padding: 2rem 0;
}

.experience-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    display: block;
    margin-bottom: 0.8rem;
}

.experience-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--secondary);
    font-family: inherit;
    font-weight: 800;
}

.highlights-card-wrapper {
    position: relative;
    padding-right: 15px;
    padding-bottom: 15px;
    height: auto;
    /* Allow card to grow based on content */
}

.highlights-card-wrapper::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: calc(100% - 15px);
    height: calc(100% - 15px);
    border: 2px solid #4c3398;
    /* Theme Purple */
    border-radius: 1.5rem;
    z-index: 0;
}

.highlights-card {
    position: relative;
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.75rem 2rem;
    /* Reduced padding from 2.5rem to prevent overflow */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    z-index: 1;
    height: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.highlights-card h4 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--secondary);
    font-weight: 700;
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.highlight-item:last-child {
    margin-bottom: 0;
}

.highlight-icon-box {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.highlight-info-box {
    display: flex;
    flex-direction: column;
}

.highlight-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
}

.highlight-value {
    font-size: 0.85rem;
    color: #777;
    margin-top: 2px;
}

/* Pricing & Tour Type Enhancements */
.highlight-price-card {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #eee;
}

.price-from-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    margin-bottom: 2px;
    display: block;
}

.highlight-price-card .d-flex {
    flex-wrap: wrap;
    /* Allow price to wrap on narrow containers */
    gap: 8px;
    align-items: baseline;
}

.current-price-highlights {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    /* Responsive font size */
    font-weight: 850;
    color: #4c3398;
    line-height: 1;
}

.original-price-highlights {
    font-size: 0.9rem;
    color: #ff5e5e;
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .experience-title {
        font-size: 2rem;
    }

    .highlights-card-wrapper {
        margin-top: 3rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-right: 15px;
        padding-bottom: 15px;
        overflow: visible;
    }
}

/* --- Modern Timeline Itinerary --- */
.itinerary-timeline-modern {
    position: relative;
    padding-left: 60px;
    margin-top: 2rem;
}

.itinerary-timeline-modern::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: #e9ecef;
    z-index: 0;
}

.itinerary-item-modern {
    position: relative;
    margin-bottom: 2rem;
}

.itinerary-node {
    position: absolute;
    left: -60px;
    top: 18px;
    width: 42px;
    height: 32px;
    background: #4c3398;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 850;
    z-index: 2;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(76, 51, 152, 0.2);
}

.itinerary-accordion-modern {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.itinerary-accordion-modern .accordion-item {
    border: none !important;
    border-radius: 0 !important;
    /* Sharp edges */
    margin-bottom: 1.5rem;
    background: #fff;
    border: 1px solid #f1f3f5 !important;
    border-top: 4px solid #4c3398 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.itinerary-accordion-modern .accordion-button {
    background: #fff !important;
    color: #1a202c !important;
    font-weight: 850;
    font-size: 1.05rem;
    padding: 1.5rem;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.itinerary-accordion-modern .accordion-button:not(.collapsed) {
    color: #4c3398 !important;
}

.itinerary-accordion-modern .accordion-button::after {
    display: none !important;
    /* Hide default arrow as we use collapse-indicator */
}

.itinerary-accordion-modern .collapse-indicator {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    font-size: 0.7rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.itinerary-accordion-modern .accordion-button:not(.collapsed) .collapse-indicator {
    background: #4c3398;
    border-color: #4c3398;
    color: #fff;
    /* Removed rotation to allow icon swap to be clear */
}

.itinerary-accordion-modern .accordion-body {
    padding: 2rem;
    color: #4a5568;
    line-height: 1.7;
    background: #fdfdff;
    border-top: 1px solid #f8f9fa;
}

/* New professional itinerary header styles */
.itinerary-header-v2 .header-icon-box {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4c3398;
    font-size: 1.2rem;
    border: 1px solid #e2e8f0;
}

.itinerary-header-v2 h2 {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
}

/* --- Comparison Cards (Includes/Excludes) --- */
.comparison-card {
    background: #fff;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-top: 5px solid;
    position: relative;
    overflow: hidden;
}

.card-included {
    border-top-color: #2ecc71;
}

.card-excluded {
    border-top-color: #e74c3c;
}

.comparison-card h4 {
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.amenity-tag-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
    line-height: 1.4;
}

.amenity-tag-item i {
    font-size: 1.1rem;
    margin-top: 2px;
}

.text-included {
    color: #2ecc71;
}

.text-excluded {
    color: #e74c3c;
}

/* --- Modern Policy Grid & Cards --- */
.policy-card-modern {
    background: #fff;
    border-top: 4px solid #4c3398;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    height: auto;
    transition: transform 0.3s ease;
    border-radius: 0 !important;
}

.policy-card-modern.no-radius,
.policy-card-modern .no-radius {
    border-radius: 0 !important;
}

.policy-card-modern .accordion-item {
    border: none !important;
    border-radius: 0 !important;
    background: transparent;
    overflow: hidden;
}

.policy-card-modern .accordion-button {
    background: #fff !important;
    color: #1a202c !important;
    font-weight: 850;
    font-size: 1.05rem;
    padding: 1.5rem;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.policy-card-modern .accordion-button:not(.collapsed) {
    color: #4c3398 !important;
}

.policy-card-modern .accordion-button i.fa-file-contract,
.policy-card-modern .accordion-button i.fa-user-lock {
    color: #4c3398;
    font-size: 1.1rem;
    width: 20px;
}

.policy-card-modern .accordion-button::after {
    display: none !important;
    /* Hide default arrow */
}

.policy-card-modern .collapse-indicator {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    font-size: 0.7rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.policy-card-modern .accordion-button:not(.collapsed) .collapse-indicator {
    background: #4c3398;
    border-color: #4c3398;
    color: #fff;
}

.policy-card-modern .accordion-body {
    padding: 0 1.5rem -1rem 4.1rem;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}

.itinerary-icon-right {
    position: absolute;
    right: 50px;
    color: #cbd5e0;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .itinerary-timeline-modern {
        padding-left: 0;
    }

    .itinerary-timeline-modern::before {
        display: none;
    }

    .itinerary-node {
        display: none;
    }
}

/* --- Premium Booking Card --- */
.card-premium-luxury {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
    transition: var(--transition);
}

.card-premium-luxury:hover {
    box-shadow: 0 20px 50px -15px rgba(76, 51, 152, 0.12) !important;
}

.booking-header-accent {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.booking-header-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Enhanced Inputs */
.premium-input-group {
    background: #f8f9fa;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.premium-input-group:focus-within {
    background: #fff;
    border-color: #edf2f7;
    /* Keep neutral border */
}

.modern-input {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    font-weight: 600;
    color: var(--secondary);
    box-shadow: none !important;
    outline: none !important;
}

.modern-input:focus {
    color: var(--primary);
}

.input-label-premium {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
}

/* Price Section Refinement */
.price-summary-box {
    background: #fcfcfd;
    border: 1px dashed #ced4da;
    border-radius: 16px;
    padding: 15px;
}

.total-price-display {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

/* Premium Button */
.btn-premium-action {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: #fff !important;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn-premium-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.btn-premium-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(76, 51, 152, 0.25);
}

.btn-premium-action:hover::before {
    opacity: 1;
}

.btn-premium-action.disabled,
.btn-premium-action[disabled] {
    background: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn-premium-action.disabled::before,
.btn-premium-action[disabled]::before {
    display: none !important;
}

/* Trust Badges */
.trust-badges-flow {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f8f9fa;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.trust-item i {
    font-size: 14px;
    color: #27ae60;
}

.trust-item span {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Assistance Standalone Card */
.assistance-card-premium {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
    transition: var(--transition);
}

.assistance-card-premium:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-2px);
}

.assistance-link {
    font-weight: 600;
    transition: color 0.3s ease;
}

.assistance-link:hover {
    color: var(--primary) !important;
}

/* Price Breakdown Visibility */
.price-breakdown {
    display: none;
    animation: premiumFadeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes premiumFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Brochure Download Styles */
.brochure-download-wrapper {
    background: #fff;
    padding: 25px 30px;
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-download-brochure {
    background: var(--primary);
    color: #fff !important;
    padding: 15px 35px;
    border-radius: 0;
    border: 2px solid var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-download-brochure:hover {
    background: transparent;
    color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(76, 51, 152, 0.1);
}

.brochure-text h5 {
    margin-bottom: 5px;
    color: var(--secondary);
}

/* Modal Custom Styles */
.modern-modal-content {
    border-radius: 0;
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modal-header-premium {
    background: var(--primary);
    color: #fff;
    padding: 30px;
    border-bottom: none;
}

.modal-body-premium {
    padding: 40px;
}

.modal-footer-premium {
    border-top: none;
    padding: 0 40px 40px;
}

@media (max-width: 576px) {
    .btn-download-brochure {
        padding: 12px 20px;
        font-size: 0.7rem;
        gap: 8px;
        width: 100%;
        justify-content: center;
    }

    .brochure-download-wrapper {
        padding: 20px;
        text-align: center;
        justify-content: center;
    }
}

/* --- Itinerary & FAQ --- */
.itinerary-item {
    padding-left: 30px;
    position: relative;
    border-left: 2px solid #f1f2f6;
    margin-bottom: 25px;
}

.itinerary-dot {
    position: absolute;
    left: -11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
}

.faq-item {
    border: 1px solid #f1f2f6;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 25px 20px;
    display: none;
}

/* --- Mobile CTA --- */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 15px 25px;
    display: none !important;
    /* Force hide by default */
    /* Controlled by JS scroll */
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    z-index: 2000;
}

.sticky-mobile-cta.hidden {
    display: none !important;
}

@media (max-width: 500px) {
    .sticky-mobile-cta {
        display: flex !important;
        /* Only show on small mobiles */
    }

    /* Move contact toggle higher to avoid blocking the sticky CTA */
    /* .contact-widget-container {
        bottom: 120px !important;
    } */
}

/* Ensure contact toggle is visible on tablets, just moved on mobile */
@media (min-width: 501px) {
    .contact-toggle-btn {
        display: flex !important;
    }
}

/* --- Flatpickr Theme Customization --- */
.flatpickr-calendar {
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #eee !important;
    font-family: inherit !important;
}

.flatpickr-months {
    background: #4c3398 !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 15px 0 !important;
}

.flatpickr-month {
    color: white !important;
    fill: white !important;
}

.flatpickr-current-month {
    color: white !important;
    padding: 0 !important;
}

.flatpickr-monthDropdown-months {
    color: white !important;
    background: #4c3398 !important;
    font-weight: bold !important;
    border: none !important;
    outline: none !important;
}

.flatpickr-weekday {
    background: #4c3398 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: bold !important;
    font-size: 11px !important;
}

.flatpickr-weekdays {
    background: #4c3398 !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: #4c3398 !important;
    border-color: #4c3398 !important;
    color: white !important;
}

.flatpickr-day.today {
    border-color: #4c3398 !important;
}

.flatpickr-day.today:hover {
    background: #4c3398 !important;
    color: white !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    color: white !important;
    fill: white !important;
    padding: 10px !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: rgba(57, 57, 57, 0.1) !important;
}

/* --- Schedule Picker Styles --- */
.schedule-cards-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.schedule-card {
    position: relative;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 50px;
}

.schedule-card:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.schedule-card.selected {
    background: #4c3398;
    border-color: #4c3398;
    color: white !important;
    box-shadow: 0 4px 10px rgba(76, 51, 152, 0.2);
}

.schedule-card-radio,
.schedule-card-check {
    display: none;
    /* Hide for compact view */
}

.schedule-card-info {
    width: 100%;
}

.schedule-card-label {
    display: none;
    /* User requested to hide labels */
}

.schedule-card-time {
    display: block;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 700;
}

.schedule-card.selected .schedule-card-time {
    color: white;
}

/* Disabled Schedule Item */
.schedule-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
    border-color: #cbd5e1;
    pointer-events: none;
    filter: grayscale(1);
}

.schedule-status-badge {
    display: inline-block;
    font-size: 0.65rem;
    padding: 2px 6px;
    background: #ef4444;
    color: white;
    border-radius: 4px;
    margin-top: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Schedule Spinner */
.schedule-spinner,
.spinner-modern {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(76, 51, 152, 0.1);
    border-radius: 50%;
    border-top-color: #4c3398;
    margin: 0 auto;
    animation: schedule-spin 0.8s linear infinite;
}

@keyframes schedule-spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Traveler Counter Styles --- */
.traveler-counters-container {
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #e2e8f0;
}

.traveler-counter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.traveler-counter-row:not(:last-child) {
    border-bottom: 1px dashed #e2e8f0;
}

.counter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.counter-group {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 2px;
}

.counter-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #4c3398;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.counter-btn:hover:not(:disabled) {
    background: #f1f5f9;
}

.counter-btn:disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}

.counter-value {
    width: 30px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service Quantity Box Alignment Fixes */
.qty-counter-group {
    height: 32px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.qty-counter-group button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
}

.qty-counter-group .service-qty-value {
    min-width: 25px;
    text-align: center;
    line-height: 1 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qty-counter-group i {
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#guestLimitNotice {
    color: #ef4444 !important;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Pricing Breakdown Premium --- */
.price-summary-box-premium {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-top: 15px;
}

.price-box-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #475569;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}

.price-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 0.85rem;
    color: #64748b;
}

.price-summary-row span:last-child {
    font-weight: 700;
    color: #475569;
}

.price-summary-row.subtotal {
    margin-top: 5px;
}

.price-summary-row.subtotal span:last-child {
    color: #1e293b;
}

.price-summary-row.vat {
    color: #94a3b8;
    font-size: 0.8rem;
}

.price-breakdown-rows {
    max-height: 150px;
    overflow-y: auto;
}

.price-total-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 10px;
}

.total-label .input-label-premium {
    color: #4c3398;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    display: block;
}

.total-value {
    font-size: 1.6rem;
    font-weight: 850;
    color: #1e293b;
    line-height: 1;
}

.price-breakdown {
    animation: fadeIn 0.4s ease-out;
}

/* --- Modern Accordion Styling --- */
.modern-accordion .accordion-button {
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
}

.modern-accordion .accordion-button:not(.collapsed) {
    background-color: #4c3398 !important;
    color: white !important;
    box-shadow: none;
}

.modern-accordion .accordion-button:not(.collapsed) i {
    color: white !important;
}

.modern-accordion .accordion-button:after {
    transition: all 0.3s ease;
}

.modern-accordion .accordion-button:not(.collapsed):after {
    filter: brightness(0) invert(1);
}

.modern-accordion .accordion-collapse {
    margin-top: 10px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- CKEditor Content List Styles --- */
.ck-content ul {
    list-style: none !important;
    padding-left: 0 !important;
}

.ck-content ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.ck-content ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background-color: #4c3398;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    box-shadow: 0 2px 4px rgba(76, 51, 152, 0.2);
}

/* --- Calendar Price & Popover Styling --- */
.cal-day-v2 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 5px;
    cursor: default;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.cal-day-v2.available {
    cursor: pointer;
    background: #fdfdfd;
}

.cal-day-v2.available:hover {
    background: #f0edff !important;
    border-color: rgba(76, 51, 152, 0.2);
    transform: translateY(-2px);
    z-index: 2;
}

.cal-day-v2.disabled {
    opacity: 0.3 !important;
    background: #f8f9fa !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.cal-day-v2 .day-num {
    font-weight: 700;
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 2px;
}

.cal-day-v2 .day-price {
    font-size: 0.65rem;
    font-weight: 800;
    color: #4c3398;
    background: rgba(76, 51, 152, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.cal-day-v2.selected {
    background: #4c3398 !important;
    border-color: #4c3398 !important;
    box-shadow: 0 4px 12px rgba(76, 51, 152, 0.3);
}

.cal-day-v2.selected .day-num,
.cal-day-v2.selected .day-price {
    color: #fff !important;
}

.cal-day-v2.selected .day-price {
    background: rgba(255, 255, 255, 0.2);
}

/* Tippy Popover Customization */
.tippy-box[data-theme~='riyago-premium'] {
    background-color: #ffffff;
    color: #1e293b;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(76, 51, 152, 0.15);
    padding: 12px;
    min-width: 280px;
    max-width: 350px !important;
}

.tippy-box[data-theme~='riyago-premium'] .tippy-arrow {
    color: #ffffff;
}

.tippy-box[data-theme~='riyago-premium'] .tippy-content {
    padding: 0;
}

/* Pricing Popover Utility Classes */
.xx-small {
    font-size: 0.75rem;
}

.xxx-small {
    font-size: 0.65rem;
}

.price-popover-content table thead th {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.price-popover-content .condition-item {
    background: #f8fafc;
    border-left: 3px solid #4c3398;
}

.calendar-key-premium .key-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.calendar-key-premium .key-dot.available {
    background: #4c3398;
    opacity: 0.1;
    box-shadow: 0 0 0 2px #4c3398;
}

.calendar-key-premium .key-dot.selected {
    background: #4c3398;
}

.calendar-key-premium .key-dot.unavailable {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}

.calendar-weekday-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1px;
}

.calendar-grid-v2 {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #f1f5f9;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
}


.cal-day-v2 {
    background: #fff;
}

/* --- Premium Calendar Popover (Modern White Theme) --- */
.tippy-box[data-theme~='riyago-premium'] {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12) !important;
    color: #1e293b !important;
    border-radius: 18px !important;
    animation: tippyPopIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes tippyPopIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(5px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.tippy-box[data-theme~='riyago-premium'] .tippy-content {
    padding: 0 !important;
}

.tippy-box[data-theme~='riyago-premium'] .tippy-arrow {
    color: rgba(255, 255, 255, 0.98);
}

.pricing-popover-refined {
    padding: 18px 20px;
    min-width: 250px;
}

.pricing-popover-refined .popover-header {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: #94a3b8;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.pricing-popover-refined .section-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.popover-table {
    border-collapse: separate;
    border-spacing: 0 4px;
}

.popover-table th {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #cbd5e1;
    font-weight: 800;
    padding-bottom: 3px;
}

.popover-table td {
    font-size: 0.9rem;
    padding: 6px 0;
    vertical-align: middle;
    color: #475569;
}

.popover-table tr:not(:last-child) td {
    border-bottom: 1px dashed #f8fafc;
}

.popover-table tr.border-bottom-0 td {
    border-bottom: none !important;
}

.popover-sub-row td {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.xx-small {
    font-size: 0.65rem !important;
    opacity: 0.7;
}

.tracking-wider {
    letter-spacing: 1px;
}

/* --- Modernized FAQ Accordion (Square Style) --- */
.modern-faq-accordion .faq-item-premium {
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 0 !important;
}

.modern-faq-accordion .faq-item-premium:last-child {
    border-bottom: none !important;
}

.modern-faq-accordion .accordion-button {
    padding: 1.5rem 1.75rem;
    font-size: 1.1rem;
    color: #2d3436;
    background: #fff !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transition: all 0.3s ease;
}

.modern-faq-accordion .accordion-button:not(.collapsed) {
    color: #4c3398 !important;
    background: #fdfdff !important;
}

.modern-faq-accordion .faq-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    opacity: 0.4;
}

.modern-faq-accordion .accordion-button::after {
    display: none !important;
}

.modern-faq-accordion .collapse-indicator {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 50%;
    font-size: 0.8rem;
    color: #94a3b8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-faq-accordion .accordion-button:not(.collapsed) .collapse-indicator {
    background: #4c3398;
    color: #fff;
}

.modern-faq-accordion .accordion-button.collapsed .collapse-indicator i::before,
.policy-card-modern .accordion-button.collapsed .collapse-indicator i::before,
.itinerary-accordion-modern .accordion-button.collapsed .collapse-indicator i::before {
    content: "\f067";
    /* Plus */
}

.modern-faq-accordion .accordion-button:not(.collapsed) .collapse-indicator i::before,
.policy-card-modern .accordion-button:not(.collapsed) .collapse-indicator i::before,
.itinerary-accordion-modern .accordion-button:not(.collapsed) .collapse-indicator i::before {
    content: "\f068";
    /* Minus */
}

.modern-faq-accordion .accordion-body {
    padding: 0.5rem 0.75rem 1rem 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #64748b;
}

.no-radius {
    border-radius: 0 !important;
}


/* --- Modern Assistance Banner v3 (Luxury Slate Style) --- */
.assistance-banner-modern-v3 {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 0 !important;
}

.assistance-banner-modern-v3 .text-secondary {
    color: #f8fafc !important;
}

.assistance-banner-modern-v3 .text-muted {
    color: #94a3b8 !important;
}

.assistance-banner-modern-v3 .contact-item-v3 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    min-width: 250px;
    overflow-wrap: break-word;
    /* Ensure long text wraps */
    word-wrap: break-word;
    word-break: break-word;
}

.assistance-banner-modern-v3 .contact-item-v3>div:last-child {
    min-width: 0;
    /* Let flex child shrink below its content size */
}

.assistance-banner-modern-v3 .contact-item-v3 span.fw-bold {
    display: block;
    /* Ensure it stays in block flow for better wrapping */
    word-break: break-all;
    /* Fallback for very long emails without natural breaks */
}

.assistance-banner-modern-v3 .contact-item-v3:hover {
    background: rgba(76, 51, 152, 0.1);
    border-color: rgba(76, 51, 152, 0.3);
    transform: translateY(-5px);
}

.assistance-banner-modern-v3 .icon-wrapper-v3 {
    width: 54px;
    height: 54px;
    background: rgba(76, 51, 152, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.2);
    transition: all 0.3s ease;
}

.assistance-banner-modern-v3 .contact-item-v3:hover .icon-wrapper-v3 {
    background: #4c3398;
    color: #fff;
    box-shadow: 0 0 20px rgba(76, 51, 152, 0.4);
}

.assistance-banner-modern-v3 .banner-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(76, 51, 152, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.assistance-banner-modern-v3 .expert-badge-v3 {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.assistance-banner-modern-v3 .expert-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #a78bfa;
    margin-top: 1rem;
    font-weight: 700;
}

/* Pulse animation for the Expert Label */
.assistance-banner-modern-v3 .pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    position: relative;
}

.assistance-banner-modern-v3 .pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #10b981;
    animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* --- Modern Exclusive Perks (Professional Square Style) --- */
.card-premium-features {
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    background: #fff;
    border-radius: 0 !important;
}

.feature-icon-v2 {
    width: 44px;
    height: 44px;
    background: #f8fafc !important;
    color: #4c3398 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border-radius: 0 !important;
    border: 1px solid rgba(76, 51, 152, 0.1);
    transition: all 0.3s ease;
}

.feature-item-v2:hover .feature-icon-v2 {
    background: #4c3398 !important;
    color: #fff !important;
    transform: scale(1.05);
}

.xx-small {
    font-size: 0.7rem;
    line-height: 1.4;
}

/* --- FAQ Header Refinement (Policy Match) --- */
.modern-faq-accordion .accordion-item {
    border-top: 4px solid #4c3398 !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.modern-faq-accordion .accordion-button {
    border-bottom: 1px solid #f1f5f9;
}

.modern-faq-accordion .accordion-button:not(.collapsed) {
    background: #fdfdff !important;
    border-bottom-color: rgba(76, 51, 152, 0.1);
}

/* --- Modern Tour Amenities (Professional Grid Style) --- */
.amenity-card-v2 {
    background: #fff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 0 !important;
}

.amenity-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(76, 51, 152, 0.08);
    border-color: rgba(76, 51, 152, 0.1);
}

.amenity-icon-box {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #4c3398;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.amenity-card-v2:hover .amenity-icon-box {
    background: #4c3398;
    color: #fff;
    box-shadow: 0 8px 16px rgba(76, 51, 152, 0.2);
    border-color: #4c3398;
}

.amenity-card-v2 h6 {
    color: #1e293b;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* --- Compact Sidebar Layout Optimization --- */
@media (min-width: 1200px) {
    .card-premium-luxury .card-body {
        padding: 1.5rem !important;
        /* Compressed from 2.5rem/4 for better visibility */
    }
}

.premium-input-group {
    margin-bottom: 1rem !important;
    /* Tighter spacing */
}

.input-label-premium {
    font-size: 0.65rem;
    margin-bottom: 0.25rem;
}

.traveler-counters-container {
    gap: 0.5rem;
}

.price-summary-box-premium {
    padding: 1rem;
    background: #fdfdff;
    border: 1px solid #f1f5f9;
}

.price-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.total-label .input-label-premium {
    color: #4c3398 !important;
    margin-bottom: 2px;
}

.total-value {
    font-size: 1.75rem;
    font-weight: 900;
    color: #1e293b;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1px;
    line-height: 1;
}

@media (max-width: 576px) {
    .price-total-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .total-value {
        width: 100%;
        text-align: right;
        font-size: 2rem;
    }
}

/* Service Toggle Animation */
[data-bs-toggle="collapse"][aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
}

.additional-services-list {
    border-radius: 0 !important;
    border-color: #f1f5f9 !important;
}

.service-row {
    padding: 0.75rem !important;
}

/* --- Modern Related Tour Cards (Premium Luxury Style) --- */
.related-tour-card-premium {
    background: #fff;
    border: 1px solid #f1f5f9;
    transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1);
    height: 100%;
    border-radius: 0 !important;
    /* Force sharp edges */
}

.related-tour-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(76, 51, 152, 0.1);
}

.premium-price-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(76, 51, 152, 0.9);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 8px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.premium-price-badge .price-from {
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 4px;
    opacity: 0.8;
}

.premium-price-badge .price-val {
    font-size: 1rem;
    font-weight: 900;
}

.related-card-title {
    font-size: 1.15rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-tour-card-premium:hover .related-card-title {
    color: #4c3398;
}

.explore-link-premium {
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: #4c3398;
    position: relative;
    padding-bottom: 2px;
}

.explore-link-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #4c3398;
    transition: width 0.3s ease;
}

.related-tour-card-premium:hover .explore-link-premium::after {
    width: 100%;
}

.related-tour-card-premium:hover .trending-img-wrapper img {
    transform: scale(1.1);
}

/* --- Related Card Refinements --- */
.related-card-title {
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.price-bottom-box .price-val {
    font-size: 1.1rem;
    color: #4c3398;
}

/* Responsive Grid Tweaks for Mobile */
@media (max-width: 768px) {
    .related-tour-card-premium .trending-img-wrapper {
        height: 160px;
    }

    .related-card-content {
        padding: 1rem !important;
    }

    .related-card-title {
        font-size: 1rem;
    }
}

/* --- Highlights Banner Optimization (Full Width) --- */
.full-width-banner {
    padding-right: 0;
    padding-bottom: 0;
}

.full-width-banner::before {
    top: 10px;
    left: 10px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border-radius: 1rem;
}

.highlights-banner-section .highlights-card {
    border-radius: 1rem;
    padding: 1.5rem !important;
}

.highlight-item-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.highlight-item-horizontal:hover {
    transform: translateY(-5px);
}

.highlight-label-xs {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: #999;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.highlight-value-sm {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
}

.highlight-price-card-horizontal {
    background: #f8f7ff;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px dashed #4c3398;
}

.price-from-label-xs {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: #666;
    font-weight: 700;
    margin-bottom: 2px;
}

.current-price-highlights-sm {
    font-size: 1.15rem;
    font-weight: 800;
    color: #4c3398;
}

@media (max-width: 1199px) {
    .highlights-banner-section .border-end {
        border-end: none !important;
        border-bottom: 1px solid #eee;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
}

/* --- Gallery & Banner Pricing Refinements --- */
@media (max-width: 991px) {
    .modern-mosaic-gallery {
        height: auto !important;
        min-height: 350px;
        flex-direction: column;
        gap: 15px;
    }

    .gallery-main {
        height: 280px !important;
        flex: 0 0 auto !important;
        width: 100% !important;
    }

    .gallery-side {
        display: flex !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        height: 140px !important;
        flex-direction: row !important;
        gap: 15px;
    }

    .gallery-side-item {
        flex: 1 1 50%;
    }
}

@media (max-width: 576px) {
    .gallery-main {
        height: 220px !important;
    }

    .gallery-side {
        height: 110px !important;
    }
}

.original-price-banner-sm {
    font-size: 0.75rem;
    color: #999;
    text-decoration: line-through;
    margin-top: -2px;
}

@media (max-width: 575.98px) {
    .highlights-banner-section {
        padding: 0px 0 !important;
    }
}