/**
 * destinations.php — mobile UI only (max-width: 1023px)
 * Matches homepage/booking mobile chrome: footer grid, FABs, bottom nav.
 */
@media (max-width: 1023px) {
    /* ── Page chrome ── */
    body.page-destinations {
        background: #f4f6fa;
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    body.page-destinations .mob-only {
        display: block;
    }

    body.page-destinations a.mob-only,
    body.page-destinations .mob-booking-header {
        display: flex !important;
    }

    body.page-destinations nav.mob-only {
        display: flex !important;
    }

    body.page-destinations a.site-mob-fab {
        display: flex !important;
    }

    /* Hide default vip bar — use centered brand header (image 2) */
    body.page-destinations header > .vip-header-outer {
        display: none !important;
    }

    body.page-destinations header {
        position: static;
    }

    /* ── Logo / header (image 2) — fixed on scroll ── */
    body.page-destinations .mob-booking-header {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 10060;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        min-height: 44px;
        padding: calc(env(safe-area-inset-top, 0px) + 0.45rem) 1rem 0.55rem;
        background: #0f2d6a;
        box-shadow: none;
    }

    body.page-destinations .mob-booking-bell,
    body.page-destinations .mob-booking-menu {
        width: 34px;
        height: 34px;
        color: #fff;
        flex: 0 0 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    body.page-destinations .mob-booking-bell .ico {
        width: 1rem;
        height: 1rem;
        color: #fff;
    }

    body.page-destinations .mob-booking-logo {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        text-decoration: none;
        min-width: 0;
    }

    body.page-destinations .mob-booking-logo-text {
        min-width: 0;
    }

    body.page-destinations .mob-booking-logo-name {
        display: block;
        font-size: 0.82rem;
        font-weight: 700;
        color: #fff;
        line-height: 1.2;
        white-space: nowrap;
    }

    body.page-destinations .mob-booking-logo-sub {
        display: block;
        font-size: 0.48rem;
        letter-spacing: 0.14em;
        color: rgba(255, 255, 255, 0.75);
        text-transform: uppercase;
        margin-top: 0.08rem;
    }

    body.page-destinations .mob-booking-menu {
        flex-direction: column;
        gap: 5px;
    }

    body.page-destinations .mob-booking-menu span {
        display: block;
        background: #fff;
        height: 2px;
        width: 22px;
        border-radius: 1px;
        transition: 0.3s;
    }

    body.page-destinations.menu-open {
        overflow: hidden;
    }

    body.page-destinations.menu-open .mob-booking-header {
        position: fixed !important;
        top: 0 !important;
        z-index: 10060 !important;
    }

    body.page-destinations.menu-open .site-mob-fab {
        z-index: 10070 !important;
    }

    body.page-destinations.menu-open .mob-bottom-nav {
        z-index: 10065 !important;
    }

    body.page-destinations .mob-booking-menu.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.page-destinations .mob-booking-menu.open span:nth-child(2) {
        opacity: 0;
    }

    body.page-destinations .mob-booking-menu.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* ── Menu drawer (image 2) ── */
    body.page-destinations .vip-mobile-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(15, 45, 106, 0.45) !important;
        z-index: 10050;
        display: none !important;
        pointer-events: none !important;
    }

    body.page-destinations .vip-mobile-nav.open {
        display: flex !important;
        justify-content: flex-end;
        align-items: stretch;
        pointer-events: auto !important;
    }

    body.page-destinations .vip-mobile-nav-sheet {
        position: relative;
        width: min(86vw, 320px);
        max-width: 320px;
        height: 100%;
        min-height: 100%;
        max-height: none;
        align-self: stretch;
        margin: 0 0 0 auto;
        border-radius: 0;
        padding: calc(env(safe-area-inset-top, 0px) + 4.6rem) 1.15rem calc(64px + 1.15rem + env(safe-area-inset-bottom, 0px));
        display: flex;
        flex-direction: column;
        gap: 0;
        background: #fff !important;
        box-shadow: -12px 0 44px rgba(15, 45, 106, 0.22);
        transform: translateX(100%);
        transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
        animation: none !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex-shrink: 0;
        isolation: isolate;
    }

    body.page-destinations .vip-mobile-nav.open .vip-mobile-nav-sheet {
        transform: translateX(0);
    }

    body.page-destinations .mob-menu-support {
        display: flex;
        align-items: flex-start;
        gap: 0.7rem;
        padding: 0.95rem 0.85rem;
        background: #fff !important;
        border: 1px solid #bfdbfe;
        border-radius: 14px;
        margin-bottom: 1.15rem;
        position: relative;
        z-index: 2;
    }

    body.page-destinations .mob-menu-support-icon {
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #2563eb;
    }

    body.page-destinations .mob-menu-support-icon .ico {
        width: 1.6rem;
        height: 1.6rem;
    }

    body.page-destinations .mob-menu-support-body strong {
        display: block;
        font-size: 0.88rem;
        font-weight: 700;
        color: #1e3a6b;
        line-height: 1.3;
        margin-bottom: 0.2rem;
    }

    body.page-destinations .mob-menu-support-body p {
        margin: 0 0 0.4rem;
        font-size: 0.7rem;
        color: #64748b;
        line-height: 1.45;
    }

    body.page-destinations .mob-menu-phone {
        font-size: 0.88rem;
        font-weight: 700;
        color: #2563eb;
        text-decoration: none;
    }

    body.page-destinations .mob-menu-links {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
        flex: none;
    }

    body.page-destinations .mob-menu-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.65rem 0;
        text-decoration: none;
        color: #1e293b !important;
        border-bottom: none !important;
        min-height: auto !important;
    }

    body.page-destinations .mob-menu-link-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: #eef4ff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        color: #1d4ed8;
    }

    body.page-destinations .mob-menu-link-icon .ico {
        width: 1rem;
        height: 1rem;
    }

    body.page-destinations .mob-menu-link-label {
        flex: 1;
        font-size: 0.88rem;
        font-weight: 600;
        color: #1e293b;
    }

    body.page-destinations .mob-menu-link-chevron {
        display: flex;
        color: #94a3b8;
    }

    body.page-destinations .mob-menu-link-chevron .ico {
        width: 0.8rem;
        height: 0.8rem;
    }

    body.page-destinations .mob-menu-auth {
        flex: none;
        margin-top: 0.85rem;
        padding-top: 0.85rem !important;
        border-top: 1px solid #e8ecf2 !important;
        gap: 0.6rem !important;
        display: flex;
        flex-direction: row;
    }

    body.page-destinations .mob-menu-auth .btn-login,
    body.page-destinations .mob-menu-auth .btn-register {
        flex: 1;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 10px !important;
        font-size: 0.82rem !important;
        padding: 0.55rem 0.75rem !important;
        gap: 0.35rem !important;
        text-decoration: none;
        font-weight: 600;
        min-height: 44px;
    }

    body.page-destinations .mob-menu-auth .btn-login .ico,
    body.page-destinations .mob-menu-auth .btn-register .ico {
        width: 0.9rem;
        height: 0.9rem;
    }

    body.page-destinations .mob-menu-auth .btn-login {
        background: #fff !important;
        color: #1e3a6b !important;
        border: 1.5px solid #cbd5e1 !important;
    }

    body.page-destinations .mob-menu-auth .btn-register {
        background: #1d4ed8 !important;
        color: #fff !important;
        border: none !important;
    }

    body.page-destinations .mob-menu-auth .btn-register .ico {
        color: #fff;
    }

    body.page-destinations main {
        padding-bottom: 0.5rem;
    }

    /* ── Hero ── */
    body.page-destinations .page-hero-sm {
        padding: 1.35rem 0 1.1rem;
        border-radius: 0 0 18px 18px;
    }

    body.page-destinations .page-hero-sm .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    body.page-destinations .page-hero-sm h1 {
        font-size: 1.35rem;
        font-weight: 800;
        margin-bottom: 0.25rem;
        line-height: 1.25;
    }

    body.page-destinations .page-hero-sm p {
        font-size: 0.82rem;
        opacity: 0.85;
        margin: 0;
        line-height: 1.4;
    }

    body.page-destinations .breadcrumb-dark {
        margin-bottom: 0.55rem;
        font-size: 0.72rem;
    }

    /* ── Sections ── */
    body.page-destinations .py-6 {
        padding-top: 1.75rem;
        padding-bottom: 1.75rem;
    }

    body.page-destinations .section-header {
        margin-bottom: 1.1rem !important;
        text-align: left !important;
    }

    body.page-destinations .section-header h2,
    body.page-destinations .bg-light h2,
    body.page-destinations .py-6 h2 {
        font-size: 1.2rem;
        font-weight: 800;
        margin-bottom: 0.35rem;
        text-align: left !important;
    }

    body.page-destinations .section-header p,
    body.page-destinations .bg-light > .container > p.text-center,
    body.page-destinations .py-6 .text-muted {
        font-size: 0.8rem;
        text-align: left !important;
        margin-bottom: 1rem !important;
        line-height: 1.45;
    }

    body.page-destinations .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* ── Destination cards ── */
    body.page-destinations .dest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    body.page-destinations .dest-card {
        border-radius: 12px;
        box-shadow: 0 1px 6px rgba(15, 45, 106, 0.06);
        position: relative;
        z-index: 2;
        pointer-events: auto;
        -webkit-tap-highlight-color: rgba(37, 99, 235, 0.15);
        cursor: pointer;
    }

    body.page-destinations .dest-card:hover {
        transform: none;
        box-shadow: 0 1px 6px rgba(15, 45, 106, 0.06);
    }

    body.page-destinations .dest-img-wrap {
        height: 100px;
    }

    body.page-destinations .dest-body {
        padding: 0.65rem 0.7rem;
    }

    body.page-destinations .dest-name {
        font-size: 0.78rem;
        font-weight: 700;
        line-height: 1.3;
    }

    /* ── Price table → card rows ── */
    body.page-destinations .table-responsive {
        border-radius: 12px;
        border: 1px solid #e8ecf2;
        background: #fff;
        overflow: hidden;
        -webkit-overflow-scrolling: touch;
    }

    body.page-destinations .pricing-table {
        margin: 0;
        font-size: 0.72rem;
        min-width: 560px;
    }

    body.page-destinations .pricing-table thead th {
        font-size: 0.65rem;
        padding: 0.55rem 0.45rem;
        white-space: nowrap;
    }

    body.page-destinations .pricing-table td {
        padding: 0.55rem 0.45rem;
        white-space: nowrap;
    }

    body.page-destinations .pricing-table .btn-sm {
        font-size: 0.68rem;
        padding: 0.28rem 0.55rem;
        border-radius: 7px;
        pointer-events: auto;
        position: relative;
        z-index: 2;
    }

    body.page-destinations .bg-light .small {
        font-size: 0.7rem !important;
        line-height: 1.45;
        text-align: left !important;
        margin-top: 0.75rem !important;
    }

    /* ── CTA ── */
    body.page-destinations .cta-section {
        padding: 2rem 1rem;
        border-radius: 16px;
        margin: 0 1rem 1.25rem;
    }

    body.page-destinations .cta-section h2 {
        font-size: 1.15rem;
        text-align: center !important;
    }

    body.page-destinations .cta-section p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        text-align: center !important;
    }

    body.page-destinations .cta-section .btn-lg {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
        border-radius: 10px;
    }

    /* ── Footer (reference: navy + 2×2 link grid + social) ── */
    body.page-destinations .site-footer {
        background: #0b1528;
        padding: 1.5rem 1rem calc(5.5rem + env(safe-area-inset-bottom, 0px));
        font-size: 0.8rem;
        margin-bottom: 0;
    }

    body.page-destinations .site-footer .footer-container {
        max-width: none;
        padding: 0;
    }

    body.page-destinations .site-footer .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem 1.5rem;
        padding-bottom: 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    body.page-destinations .site-footer .footer-brand-col {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 0.15rem;
    }

    body.page-destinations .site-footer .footer-desc,
    body.page-destinations .site-footer .footer-contact-list {
        display: none !important;
    }

    body.page-destinations .site-footer .footer-logo {
        margin-bottom: 0;
        gap: 0.6rem;
    }

    body.page-destinations .site-footer .footer-logo-icon {
        width: 36px;
        height: 36px;
        border-radius: 9px;
        background: #1d4ed8;
    }

    body.page-destinations .site-footer .footer-logo-name {
        font-size: 0.88rem;
        font-weight: 700;
        color: #fff;
        line-height: 1.15;
    }

    body.page-destinations .site-footer .footer-logo-name::after {
        content: ' Transfers';
    }

    body.page-destinations .site-footer .footer-logo-sub {
        font-size: 0;
        letter-spacing: 0;
        line-height: 0;
    }

    body.page-destinations .site-footer .footer-logo-sub::after {
        content: 'HERTFORDSHIRE, UK';
        display: block;
        font-size: 0.5rem;
        letter-spacing: 0.14em;
        color: rgba(255, 255, 255, 0.45);
        line-height: 1.3;
        margin-top: 0.15rem;
    }

    body.page-destinations .site-footer .footer-social {
        gap: 0.45rem;
    }

    body.page-destinations .site-footer .footer-social a {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        font-size: 0.78rem;
        color: rgba(255, 255, 255, 0.65);
    }

    body.page-destinations .site-footer .footer-links-col h5 {
        margin-bottom: 0.55rem;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        color: #fff;
    }

    body.page-destinations .site-footer .footer-links-col ul {
        gap: 0.35rem;
    }

    body.page-destinations .site-footer .footer-links-col a {
        font-size: 0.78rem;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.55);
    }

    body.page-destinations .site-footer .footer-bottom {
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        padding: 0.9rem 0 0.25rem;
        font-size: 0.62rem;
        text-align: left !important;
        gap: 0.5rem;
    }

    body.page-destinations .site-footer .footer-bottom p {
        max-width: 58%;
        margin: 0;
        color: rgba(255, 255, 255, 0.35);
        line-height: 1.35;
    }

    body.page-destinations .site-footer .footer-bottom-links {
        justify-content: flex-end;
        gap: 0.65rem;
        flex-shrink: 0;
    }

    body.page-destinations .site-footer .footer-bottom-links a {
        font-size: 0.62rem;
        color: rgba(255, 255, 255, 0.35);
    }

    /* One FAB pair only */
    body.page-destinations .fab-float.desk-only {
        display: none !important;
    }
}

@media (max-width: 380px) {
    body.page-destinations .dest-grid {
        gap: 0.55rem;
    }

    body.page-destinations .dest-img-wrap {
        height: 88px;
    }

    body.page-destinations .dest-name {
        font-size: 0.72rem;
    }
}
