/* Moved from Code Snippet #8 (2026-09-25). Destination cards, trust ribbon, flight itinerary page, mobile action bar. */
/* --- HOMEPAGE: DESTINATION CARDS --- */
        /* Top-Left Price Badge on Card Image (Brand Royal Blue Gradient) */
        .dhb-destination-card .dhb-price-badge {
            position: absolute !important;
            top: 10px !important;
            left: 10px !important;
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
            color: #ffffff !important;
            padding: 5px 11px !important;
            border-radius: 20px !important;
            font-size: 0.76rem !important;
            font-weight: 800 !important;
            letter-spacing: 0.2px !important;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
            z-index: 5 !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 5px !important;
            border: 1px solid rgba(255, 255, 255, 0.4) !important;
            text-shadow: 0 1px 2px rgba(0,0,0,0.15) !important;
            white-space: nowrap !important;
        }
        .dhb-price-badge .dhb-coin-icon {
            font-size: 0.9rem;
            line-height: 1;
        }

        /* Reposition Hotel Count Badge on Image ONLY */
        .dhb-destination-card > div:first-child > span[style*="right"] {
            top: auto !important;
            bottom: 10px !important;
            right: 10px !important;
            background: rgba(15, 23, 42, 0.82) !important;
            backdrop-filter: blur(4px) !important;
            -webkit-backdrop-filter: blur(4px) !important;
            font-size: 0.72rem !important;
            padding: 3px 9px !important;
            border-radius: 12px !important;
            color: #ffffff !important;
            z-index: 4 !important;
            white-space: nowrap !important;
        }

        /* Clean Destination Card Footer */
        .dhb-destination-card .dhb-card-footer {
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            margin-top: 14px !important;
            padding-top: 12px !important;
            border-top: 1px solid #f1f5f9 !important;
            background: transparent !important;
            gap: 8px !important;
        }
        .dhb-card-footer .dhb-footer-price {
            display: flex !important;
            align-items: baseline !important;
            flex-wrap: nowrap !important;
            gap: 4px !important;
            background: transparent !important;
            box-shadow: none !important;
            padding: 0 !important;
            border-radius: 0 !important;
            white-space: nowrap !important;
        }
        .dhb-card-footer .dhb-footer-value {
            font-size: 0.96rem !important;
            font-weight: 800 !important;
            color: #0f172a !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 3px !important;
            background: transparent !important;
            box-shadow: none !important;
            padding: 0 !important;
            border-radius: 0 !important;
            border: none !important;
        }
        .dhb-card-footer .dhb-footer-sub {
            font-size: 0.74rem !important;
            color: #64748b !important;
            font-weight: 600 !important;
            white-space: nowrap !important;
        }

        /* Proper Vibrant CTA Button */
        .dhb-card-footer .dhb-footer-cta {
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
            color: #ffffff !important;
            font-size: 0.8rem !important;
            font-weight: 700 !important;
            padding: 6px 14px !important;
            border-radius: 8px !important;
            box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28) !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 4px !important;
            transition: all 0.2s ease !important;
            white-space: nowrap !important;
            border: none !important;
            text-decoration: none !important;
            flex-shrink: 0 !important;
        }
        .dhb-destination-card:hover .dhb-footer-cta {
            background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
            box-shadow: 0 5px 14px rgba(37, 99, 235, 0.4) !important;
            transform: translateY(-1px) !important;
        }

        /* Destination Card Elevation & Hover Interaction */
        .dhb-destination-card {
            transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease !important;
            border: 1px solid #e2e8f0 !important;
            background: #ffffff !important;
        }
        .dhb-destination-card:hover {
            transform: translateY(-5px) !important;
            box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.14), 0 0 0 1.5px rgba(37, 99, 235, 0.35) !important;
            border-color: #93c5fd !important;
        }
        .dhb-destination-card img {
            transition: transform 0.4s ease !important;
        }
        .dhb-destination-card:hover img {
            transform: scale(1.04) !important;
        }

        /* Responsive Grid for Popular Destinations */
        @media (max-width: 1200px) {
            .dhb-destinations-grid {
                grid-template-columns: repeat(4, 1fr) !important;
                gap: 16px !important;
            }
        }
        @media (max-width: 992px) {
            .dhb-destinations-grid {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 16px !important;
            }
        }
        @media (max-width: 768px) {
            .dhb-destinations-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 14px !important;
            }
        }
        @media (max-width: 480px) {
            .dhb-destinations-grid {
                grid-template-columns: 1fr !important;
                gap: 16px !important;
            }
        }

        /* Search Form Micro-Trust Ribbon */
        .dhb-trust-ribbon {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 14px 24px;
            margin: 18px auto 0 auto;
            padding: 12px 20px;
            background: rgba(248, 250, 252, 0.95);
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            font-size: 0.82rem;
            color: #334155;
            max-width: 920px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.02);
        }
        .dhb-trust-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-weight: 600;
        }
        .dhb-trust-item span.icon {
            font-size: 1rem;
        }

        /* --- FLIGHT ITINERARY PAGE REDESIGN --- */
        .dhb-fi-page {
            max-width: 1000px;
            margin: 0 auto;
            padding: 10px 16px 40px 16px;
        }
        /* Hero Section */
        .dhb-fi-hero {
            background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%) !important;
            border: 1px solid #bae6fd !important;
            border-radius: 20px !important;
            padding: 44px 28px !important;
            text-align: center !important;
            margin-bottom: 36px !important;
            box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.08) !important;
        }
        .dhb-fi-hero-badges {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 16px;
        }
        .dhb-fi-hero-badge {
            background: #ffffff !important;
            color: #0284c7 !important;
            padding: 5px 14px !important;
            border-radius: 20px !important;
            font-size: 0.8rem !important;
            font-weight: 700 !important;
            border: 1px solid #e0f2fe !important;
            box-shadow: 0 2px 6px rgba(0,0,0,0.03) !important;
        }
        .dhb-fi-hero-price-pill {
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
            color: #ffffff !important;
            padding: 5px 14px !important;
            border-radius: 20px !important;
            font-size: 0.8rem !important;
            font-weight: 800 !important;
            box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3) !important;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .dhb-fi-hero h2 {
            font-size: 2.2rem !important;
            font-weight: 800 !important;
            color: #0f172a !important;
            margin: 0 0 14px 0 !important;
            letter-spacing: -0.5px !important;
        }
        .dhb-fi-hero-sub {
            font-size: 1.05rem !important;
            color: #475569 !important;
            line-height: 1.6 !important;
            max-width: 740px !important;
            margin: 0 auto 24px auto !important;
        }
        .dhb-fi-hero-cta {
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
            color: #ffffff !important;
            padding: 12px 32px !important;
            border-radius: 10px !important;
            font-weight: 700 !important;
            font-size: 1rem !important;
            box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
            text-decoration: none !important;
            display: inline-block !important;
            transition: all 0.2s ease !important;
        }
        .dhb-fi-hero-cta:hover {
            background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45) !important;
        }

        /* Benefits Grid */
        .dhb-fi-benefits-grid {
            display: grid !important;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
            gap: 16px !important;
            margin-top: 20px !important;
        }
        .dhb-fi-benefit-card {
            background: #ffffff !important;
            border: 1px solid #e2e8f0 !important;
            border-radius: 16px !important;
            padding: 22px 18px !important;
            transition: all 0.25s ease !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
        }
        .dhb-fi-benefit-card:hover {
            transform: translateY(-4px) !important;
            box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08) !important;
            border-color: #93c5fd !important;
        }
        .dhb-fi-benefit-card .dhb-fi-icon {
            font-size: 1.8rem !important;
            margin-bottom: 10px !important;
            display: inline-block !important;
        }
        .dhb-fi-benefit-card h3 {
            font-size: 1.05rem !important;
            font-weight: 700 !important;
            color: #0f172a !important;
            margin: 0 0 6px 0 !important;
        }
        .dhb-fi-benefit-card p {
            font-size: 0.85rem !important;
            color: #64748b !important;
            line-height: 1.5 !important;
            margin: 0 !important;
        }

        /* Flight Pricing Card Redesign */
        .dhb-fi-pricing-card {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
            border: 1px solid #334155 !important;
            border-radius: 24px !important;
            padding: 44px 28px !important;
            text-align: center !important;
            color: #ffffff !important;
            box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.35) !important;
            margin: 30px auto !important;
            max-width: 800px !important;
        }
        .dhb-fi-pricing-card h2 {
            color: #ffffff !important;
            font-size: 1.9rem !important;
            font-weight: 800 !important;
            margin: 0 0 16px 0 !important;
            letter-spacing: -0.3px !important;
        }
        .dhb-fi-price {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            gap: 6px !important;
            margin-bottom: 18px !important;
        }
        .dhb-fi-price-from {
            color: #94a3b8 !important;
            font-size: 0.82rem !important;
            text-transform: uppercase !important;
            letter-spacing: 0.8px !important;
            font-weight: 700 !important;
        }
        .dhb-fi-price-amount {
            color: #ffffff !important;
            font-size: 2.8rem !important;
            font-weight: 900 !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 8px !important;
            line-height: 1.1 !important;
        }
        .dhb-fi-price-amount .dhb-coin-icon {
            font-size: 2.2rem !important;
        }
        .dhb-fi-price-unit {
            color: #60a5fa !important;
            font-size: 0.92rem !important;
            font-weight: 700 !important;
            background: rgba(37, 99, 235, 0.25) !important;
            padding: 3px 12px !important;
            border-radius: 20px !important;
            display: inline-block !important;
            border: 1px solid rgba(96, 165, 250, 0.3) !important;
        }
        .dhb-fi-pricing-sub {
            color: #cbd5e1 !important;
            font-size: 0.92rem !important;
            max-width: 600px !important;
            margin: 0 auto 20px auto !important;
            line-height: 1.5 !important;
        }
        .dhb-fi-pricing-features {
            display: grid !important;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
            gap: 12px 20px !important;
            max-width: 620px !important;
            margin: 0 auto 28px auto !important;
            text-align: left !important;
            font-size: 0.88rem !important;
            color: #e2e8f0 !important;
            background: rgba(255, 255, 255, 0.05) !important;
            padding: 16px 22px !important;
            border-radius: 14px !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
        }
        .dhb-fi-pricing-features span {
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
        }
        .dhb-fi-pricing-features .chk {
            color: #10b981 !important;
            font-weight: 800 !important;
        }
        .dhb-fi-pricing-card .dhb-btn-primary {
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
            color: #ffffff !important;
            font-size: 1.05rem !important;
            font-weight: 700 !important;
            padding: 12px 36px !important;
            border-radius: 10px !important;
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45) !important;
            text-decoration: none !important;
            display: inline-block !important;
            transition: all 0.2s ease !important;
        }
        .dhb-fi-pricing-card .dhb-btn-primary:hover {
            background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 10px 25px rgba(37, 99, 235, 0.55) !important;
        }

        /* Sticky Bottom Mobile Bar */
        @media (max-width: 767px) {
            body {
                padding-bottom: 74px !important;
            }
            #dht-mobile-action-bar {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                height: 62px;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(12px);
                -webkit-backdrop-filter: blur(12px);
                border-top: 1px solid #e2e8f0;
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding-left: 10px;
                padding-right: 76px;
                gap: 8px;
                z-index: 99999;
                box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
            }
            .dht-mb-btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                border-radius: 10px;
                text-decoration: none !important;
                font-family: inherit;
                font-weight: 700;
                transition: all 0.2s ease;
                box-sizing: border-box;
            }
            .dht-mb-wa {
                flex: 0 0 auto;
                height: 42px;
                background: #25D366;
                color: #ffffff !important;
                gap: 5px;
                font-size: 0.82rem;
                padding: 0 10px;
                box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
            }
            .dht-mb-cta {
                flex: 1;
                height: 42px;
                background: linear-gradient(135deg, #2563eb, #1d4ed8);
                color: #ffffff !important;
                font-size: 0.82rem;
                gap: 6px;
                box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .dht-mb-cta .dht-badge {
                background: #10b981;
                color: #ffffff;
                padding: 2px 6px;
                border-radius: 12px;
                font-size: 0.7rem;
                font-weight: 800;
            }
        }
        @media (min-width: 768px) {
            #dht-mobile-action-bar {
                display: none !important;
            }
        }

/* Let grid tracks shrink below card content width (prevents horizontal overflow at 5 columns). */
.dhb-destinations-grid > a,
.dhb-destination-card {
    min-width: 0;
}
.dhb-destination-card .dhb-card-footer {
    flex-wrap: wrap !important;
}

/* ---------- Loading state (dhbLoading helper) ---------- */
.dhb-is-loading {
    cursor: progress !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.95 !important;
}
.dhb-spinner {
    display: inline-block;
    flex: none;
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: dhbSpin 0.7s linear infinite;
}
@keyframes dhbSpin {
    to { transform: rotate(360deg); }
}
.dhb-loading-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E3A8A;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}
.dhb-loading-status .dhb-spinner {
    color: #2563EB;
    width: 18px;
    height: 18px;
    border-width: 2.5px;
}
@media (prefers-reduced-motion: reduce) {
    .dhb-spinner {
        animation: dhbPulse 1.6s ease-in-out infinite;
        border-right-color: currentColor;
    }
    @keyframes dhbPulse {
        50% { opacity: 0.35; }
    }
}