/* GalloShop Core 16.2.2 — isolated mobile drawer. */
.gshop-mobile-menu-overlay,
.gshop-mobile-drawer-heading { display: none; }

@media (max-width: 780px) {
    html.gshop-menu-open,
    body.gshop-menu-open { overflow: hidden !important; overscroll-behavior: none; }
    body.gshop-menu-open { position: fixed !important; right: 0; left: 0; width: 100%; }

    .gshop-header.is-menu-open {
        position: sticky !important;
        z-index: 2147483000 !important;
        overflow: visible !important; transform: none !important; filter: none !important; backdrop-filter: none !important; contain: none !important;
        isolation: isolate;
    }
    .gshop-header .gshop-mobile-menu-overlay {
        position: fixed !important; z-index: 2147483001 !important; inset: 0 !important;
        display: block !important; width: 100vw !important; height: 100dvh !important; margin: 0 !important;
        padding: 0 !important; border: 0 !important; border-radius: 0 !important;
        background: rgba(5,9,14,.62) !important; opacity: 0; visibility: hidden; pointer-events: none;
        transition: opacity .22s ease, visibility 0s linear .22s; backdrop-filter: none !important;
    }
    .gshop-header.is-menu-open .gshop-mobile-menu-overlay {
        opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s;
    }
    .gshop-header .gshop-category-nav {
        position: fixed !important; z-index: 2147483002 !important; top: 0 !important; bottom: 0 !important; left: 0 !important;
        display: block !important; width: min(88vw,360px) !important; max-width: 360px !important; height: 100dvh !important;
        margin: 0 !important; padding: 0 !important; overflow: hidden !important; border: 0 !important;
        background: #fff !important; box-shadow: 14px 0 38px rgba(0,0,0,.24) !important;
        transform: translate3d(-105%,0,0); visibility: hidden; pointer-events: none;
        transition: transform .24s cubic-bezier(.22,.61,.36,1), visibility 0s linear .24s;
        contain: layout paint; isolation: isolate;
    }
    .gshop-header.is-menu-open .gshop-category-nav {
        transform: translate3d(0,0,0); visibility: visible; pointer-events: auto; transition-delay: 0s;
    }
    .gshop-header .gshop-category-nav > .gshop-container {
        display: flex !important; flex-direction: column; width: 100% !important; max-width: none !important; height: 100% !important;
        min-height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; background: #fff !important;
    }
    .gshop-mobile-drawer-heading {
        flex: 0 0 auto; display: flex !important; align-items: center; justify-content: space-between; gap: 12px;
        min-height: 64px; padding: max(10px,env(safe-area-inset-top)) 14px 10px; border-bottom: 1px solid #e6e8eb; background: #fff;
    }
    .gshop-mobile-drawer-heading > span { display: flex; align-items: center; gap: 9px; color: #15171a; }
    .gshop-mobile-drawer-heading > span b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #d70000; color: #fff; font-size: 18px; }
    .gshop-mobile-drawer-heading > span strong { font-size: 14px; }
    .gshop-mobile-drawer-heading > button {
        display: grid !important; place-items: center; width: 38px !important; height: 38px !important; min-height: 38px !important;
        padding: 0 !important; border: 1px solid #dfe3e7 !important; border-radius: 9px !important;
        background: #fff !important; color: #17191c !important; font-size: 27px !important; line-height: 1 !important; box-shadow: none !important;
    }
    .gshop-header .gshop-category-nav .gshop-all-categories { display: none !important; }
    .gshop-header .gshop-category-nav .gshop-category-links,
    .gshop-header.is-menu-open .gshop-category-nav .gshop-category-links {
        flex: 1 1 auto; display: flex !important; min-width: 0 !important; width: 100% !important; min-height: 0;
        align-items: stretch !important; justify-content: flex-start !important; flex-direction: column !important; gap: 0 !important;
        padding: 5px 14px calc(18px + env(safe-area-inset-bottom)) !important; overflow-x: hidden !important; overflow-y: auto !important;
        background: #fff !important; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    }
    .gshop-header .gshop-category-nav .gshop-category-links a {
        position: relative; flex: 0 0 auto; display: flex !important; align-items: center; min-height: 48px;
        padding: 12px 4px !important; border-bottom: 1px solid #eceef1 !important; background: #fff !important;
        color: #202328 !important; font-size: 13px !important; font-weight: 800 !important; white-space: normal !important;
    }
    .gshop-header .gshop-category-nav .gshop-category-links a::after { content: '›' !important; position: static !important; width: auto !important; height: auto !important; margin-left: auto; transform: none !important; background: transparent !important; color: #9399a2; font-size: 20px; }
    .gshop-header .gshop-category-nav .gshop-category-links .gshop-category-promo { color: #d70000 !important; }

    html.gshop-menu-open .gshop-cart-drawer,
    html.gshop-menu-open .gshop-cart-overlay,
    html.gshop-menu-open .gshop-mobile-cart-bar,
    html.gshop-menu-open .gshop-mobile-buy-bar,
    html.gshop-menu-open .gshop-checkout-sticky-bar,
    html.gshop-menu-open .joinchat,
    html.gshop-menu-open .ht-ctc-chat,
    html.gshop-menu-open #qlwapp,
    html.gshop-menu-open .wpp-float { visibility: hidden !important; pointer-events: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .gshop-header .gshop-category-nav,
    .gshop-header .gshop-mobile-menu-overlay { transition: none !important; }
}
