/* Menu strip-3 (hamburger) untuk header .gms-header. Pasangannya: customer/assets/js/vp-nav.js.
   Rollback: lepas <link> dan <script> vp-nav di halaman, tampilan kembali ke menu geser lama. */
.vp-panel { display: contents; }
.vp-toggle { display: none; }

/* Ikon strip 3 yang berubah menjadi X; dipakai juga oleh Booking Saya dan E-Ticket */
.vp-bars { position: relative; display: block; width: 22px; height: 16px; }
.vp-bars i { position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.vp-bars i:nth-child(1) { top: 0; } .vp-bars i:nth-child(2) { top: 6.75px; } .vp-bars i:nth-child(3) { top: 13.5px; }
[aria-expanded="true"] > .vp-bars i:nth-child(1) { top: 6.75px; transform: rotate(45deg); }
[aria-expanded="true"] > .vp-bars i:nth-child(2) { opacity: 0; }
[aria-expanded="true"] > .vp-bars i:nth-child(3) { top: 6.75px; transform: rotate(-45deg); }

@media (max-width: 900px) {
    .gms-header .gms-header-inner { position: static; flex-wrap: nowrap; justify-content: space-between; min-height: 68px; padding: 8px 0; gap: 12px; }
    .gms-header { position: sticky; }
    .gms-header .vp-toggle {
        display: inline-flex; align-items: center; justify-content: center; flex: none;
        width: 46px; height: 46px; padding: 0; cursor: pointer; border-radius: 12px;
        color: var(--t-gold3, #f6dfa4); background: rgba(230, 194, 118, .08); border: 1px solid var(--t-line, rgba(230, 194, 118, .25));
    }
    .gms-header .vp-toggle:focus-visible { outline: 2px solid var(--t-gold, #e6c276); outline-offset: 2px; }
    .gms-header .vp-panel {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 8px 16px 20px; max-height: calc(100dvh - 68px); overflow-y: auto;
        background: #07130f; border-bottom: 1px solid var(--t-line, rgba(230, 194, 118, .25));
        box-shadow: 0 24px 50px rgba(0, 0, 0, .55);
        -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    }
    .gms-header.vp-open .vp-panel { display: flex; }
    .gms-header .vp-panel .gms-customer-nav {
        order: 0; width: 100%; overflow: visible; flex-wrap: nowrap; flex-direction: column; align-items: stretch; gap: 0; padding: 0;
    }
    .gms-header .vp-panel .gms-customer-nav a {
        min-height: 52px; padding: 14px 6px; font-size: 16px; border-radius: 0; justify-content: flex-start; gap: 12px;
        border-bottom: 1px solid rgba(230, 194, 118, .12); background: none;
    }
    .gms-header .vp-panel .gms-customer-nav a i { width: 22px; text-align: center; }
    .gms-header .vp-panel .gms-customer-nav a.is-active { color: var(--t-gold3, #f6dfa4); background: rgba(230, 194, 118, .08); border-radius: 10px; border-bottom-color: transparent; padding-left: 12px; }
    .gms-header .vp-panel .gms-customer-nav a.gms-nav-book { margin: 14px 0 4px; justify-content: center; border-radius: 12px; border-bottom: 0; }
    .gms-header .vp-panel .gms-user-pill, .gms-header .vp-panel .gms-logout { display: flex; justify-content: center; margin: 14px 0 0; padding: 14px; min-height: 50px; border-radius: 12px; }
    .gms-header .vp-panel .gms-user-pill, .gms-header .vp-panel .gms-logout { font-size: 15px; font-weight: 700; gap: 8px; align-items: center; }
    body.vp-menu-open { overflow: hidden; }
}
@media (max-width: 380px) { .gms-header .gms-brand small { display: none; } }

/* Tombol .menu-toggle milik Booking Saya dan E-Ticket: ikon strip 3 di tengah tombol */
.menu-toggle .vp-bars { margin: 0 auto; }
@media (max-width: 760px) { .menu-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 0; } }
