/* Modern header. All presentation is scoped to the selected header style. */
body.gv-modern-header #page.site { display: flow-root; overflow: clip; }
@supports not (overflow: clip) { body.gv-modern-header #page.site { overflow: visible; } }
body #masthead.gv-header {
    position: sticky !important; top: 0; left: auto; width: 100%; z-index: 90;
    padding: 0; background: #fff; color: #252c32;
    border-bottom: 1px solid rgba(37,44,50,.07);
    box-shadow: 0 4px 20px rgba(25,35,42,.035);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 16px; line-height: 1.5;
}
body.admin-bar #masthead.gv-header { top: 32px; }
#masthead.gv-header::before, #masthead.gv-header::after { display: none; }
body.gv-modern-header .gv-icon { display: block; width: 24px; height: 24px; flex-shrink: 0; }
#masthead.gv-header a { color: inherit; text-decoration: none; }
#masthead.gv-header button { font-family: inherit; cursor: pointer; touch-action: manipulation; }
#masthead.gv-header a:focus-visible, #masthead.gv-header button:focus-visible, .gv-cart a:focus-visible, .gv-cart button:focus-visible {
    outline: 3px solid var(--themeColor, #f59c00); outline-offset: 4px;
}
#masthead.gv-header .gv-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 1640px; min-height: 88px; padding: 0 15px; margin: auto; box-sizing: border-box; }
#masthead.gv-header .gv-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
#masthead.gv-header .gv-brand img { display: block; width: auto; height: auto; max-width: none; min-width: 0; padding: 0; }
#masthead.gv-header .gv-brand span { max-width: 190px; font-size: 20px; font-weight: 650; line-height: 1.2; color: var(--themeColor, #f59c00); }
#masthead.gv-header .gv-desktop-nav { min-width: 0; }
#masthead.gv-header .gv-menu, #masthead.gv-header .sub-menu { margin: 0; padding: 0; list-style: none; }
#masthead.gv-header .gv-desktop-nav > .gv-menu { display: flex; align-items: center; gap: 22px; }
#masthead.gv-header .gv-menu li { position: relative; float: none; margin: 0; padding: 0; border: 0; }
#masthead.gv-header .gv-desktop-nav > .gv-menu > li { display: flex; align-items: center; }
#masthead.gv-header .gv-desktop-nav > .gv-menu > li > a { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0; background: transparent; color: #41484e; font-size: 15px; font-weight: 500; white-space: nowrap; line-height: 1.5; transition: color .18s ease; }
#masthead.gv-header .gv-desktop-nav > .gv-menu > li > a::after { content: ""; position: absolute; bottom: 3px; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--themeColor, #f59c00); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
#masthead.gv-header .gv-desktop-nav > .gv-menu > .current-menu-item > a::after,
#masthead.gv-header .gv-desktop-nav > .gv-menu > .current-menu-ancestor > a::after,
#masthead.gv-header .gv-desktop-nav > .gv-menu > li:hover > a::after { transform: scaleX(1); }
#masthead.gv-header .gv-desktop-nav > .gv-menu > .current-menu-item > a { color: #20282e; font-weight: 600; }
#masthead.gv-header .gv-desktop-nav > .gv-menu > li > a > .menu-subname { display: none; }
#masthead.gv-header .gv-submenu-toggle { display: grid; place-items: center; width: 24px; height: 44px; margin: 0 0 0 2px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #636d74; }
#masthead.gv-header .gv-submenu-toggle::after { content: ""; display: block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .18s ease; }
#masthead.gv-header .is-submenu-open > .gv-submenu-toggle::after { transform: rotate(225deg) translate(-1px,-1px); }
#masthead.gv-header .gv-desktop-nav .sub-menu { display: none; position: absolute; top: 100%; left: -18px; width: 280px; padding: 12px; border: 1px solid #e8ebed; border-radius: 14px; background: #fff; box-shadow: 0 14px 45px rgba(20,35,40,.13); z-index: 2; }
#masthead.gv-header .gv-desktop-nav .is-submenu-open > .sub-menu { display: block; }
#masthead.gv-header .gv-desktop-nav .sub-menu .sub-menu { top: 0; left: 100%; }
#masthead.gv-header .gv-desktop-nav .sub-menu li { display: flex; align-items: center; }
#masthead.gv-header .gv-desktop-nav .sub-menu a { display: block; flex: 1; padding: 12px; border-radius: 8px; color: #283138; font-size: 14px; font-weight: 500; line-height: 1.5; }
#masthead.gv-header .gv-desktop-nav .sub-menu a:hover { background: #f5f7f7; }
#masthead.gv-header .sub-menu .menu-subname { display: block; margin-top: 4px; color: #6e767d; font-size: 12px; font-weight: 400; white-space: normal; }
#masthead.gv-header .gv-header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
#masthead.gv-header .gv-header-actions > [data-pushbar-target="sidebarCart"] { display: block; }
#masthead.gv-header a.gv-cart-trigger { position: relative; display: flex !important; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; margin: 0; border: 1px solid #e8ebed; border-radius: 13px; background: #fff; color: #374148; line-height: 1; transition: background .18s ease, border-color .18s ease; }
#masthead.gv-header a.gv-cart-trigger:hover { background: #f6f7f8; border-color: #d8dee2; }
#masthead.gv-header a.gv-cart-trigger .gv-icon { width: 23px; height: 23px; margin: 3px 3px 0 0; }
#masthead.gv-header a.gv-cart-trigger .count { position: absolute; top: 4px; right: 4px; display: flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 3px; margin: 0; border: 2px solid #fff; border-radius: 10px; background: var(--themeColor, #f59c00); color: #222; font-size: 9px; font-weight: 700; line-height: 1; }
#masthead.gv-header a.gv-trip-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 11px; color: #fff; background: var(--themeColor, #f59c00); font-size: 14px; font-weight: 650; line-height: 1.4; white-space: nowrap; transition: filter .18s ease, box-shadow .18s ease; }
#masthead.gv-header .gv-trip-button .gv-icon { width: 18px; height: 18px; }
#masthead.gv-header a.gv-trip-button:hover { filter: brightness(1.07); box-shadow: 0 4px 14px rgba(245,156,0,.22); }
#masthead.gv-header .gv-legacy-mobile { display: none; }

/* Existing optional header tools stay independent of the primary navigation. */
#masthead.gv-header .gv-top { border-bottom: 1px solid #edf0ee; background: #f7f9f7; }
#masthead.gv-header .gv-top-inner, #masthead.gv-header .gv-utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1640px; padding: 8px 15px; margin: auto; font-size: 13px; }
#masthead.gv-header .gv-top-promotion { min-width: 0; }
#masthead.gv-header .gv-top-promotion .widget, #masthead.gv-header .gv-top-promotion p { margin: 0; }
#masthead.gv-header .gv-top-contact { display: flex; align-items: center; justify-content: flex-end; gap: 20px; flex-wrap: wrap; }
#masthead.gv-header .gv-utility { border-bottom: 1px solid #edf0ee; }
#masthead.gv-header .gv-utility-inner { justify-content: flex-end; gap: 18px; padding-top: 2px; padding-bottom: 2px; }
#masthead.gv-header .gv-tool-button { display: grid; place-items: center; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; border-radius: 8px; background: #fff; color: #41484e; }
#masthead.gv-header .gv-tool-button .gv-icon { width: 19px; height: 19px; }
#masthead.gv-header .gv-tool-button:hover { background: #f3f5f5; }
#masthead.gv-header .gv-utility-link { display: flex; align-items: center; gap: 6px; }
#masthead.gv-header .gv-utility-link i { font-size: 17px; }
#masthead.gv-header .woocs-style-3-du-dialog-starter { min-width: 70px; height: 36px; padding: 5px !important; border: 0 !important; border-radius: 8px; background-color: #fff !important; color: #41484e !important; font-size: 13px !important; line-height: 1.4; }

/* WooCommerce keeps its native widget and Ajax fragments. */
body .gv-cart.pushbar { width: min(410px,100vw) !important; height: 100vh; height: 100dvh; min-height: 0; max-height: 100dvh; padding: 28px; box-sizing: border-box; z-index: 10030 !important; background: #fff; color: #252c32; box-shadow: -8px 0 40px rgba(20,30,35,.12); overflow-y: auto; font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.5; }
body.admin-bar .gv-cart.pushbar { top: 32px; height: calc(100dvh - 32px); }
html.pushbar_locked[pushbar="sidebarCart"] .pushbar_overlay { z-index: 10020 !important; background: rgba(17,29,25,.35); backdrop-filter: blur(3px); }
body .gv-cart .gv-cart-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid #e8ebed; }
body .gv-cart .gv-cart-heading h2 { margin: 0; color: #252c32; font-size: 23px !important; font-weight: 600 !important; line-height: 1.3; text-transform: none; }
body .gv-cart button.gv-cart-close { display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; float: none; border: 1px solid #e8ebed; border-radius: 12px; background: #fff !important; color: #252c32; cursor: pointer; }
body .gv-cart .gv-cart-content { padding: 0; float: none; width: 100%; }
body .gv-cart .widget { margin: 0; }
body .gv-cart .widgettitle { display: none; }
body .gv-cart .gv-cart-empty-intro, body .gv-cart .gv-cart-continue { display: none; }
body .gv-cart.is-empty .gv-cart-empty-intro { display: block; padding-top: 58px; text-align: center; }
body .gv-cart .gv-cart-empty-icon { display: flex; align-items: center; justify-content: center; width: 78px; height: 78px; margin: 0 auto 26px; border-radius: 50%; background: #f5f6f4; }
body .gv-cart .gv-cart-empty-icon .gv-icon { width: 33px; height: 33px; }
body .gv-cart .gv-cart-empty-intro h3 { margin: 0 0 18px; font-size: 21px !important; font-weight: 550 !important; line-height: 1.4; }
body .gv-cart .woocommerce-mini-cart__empty-message { margin: 0; color: #6e767d; font-size: 15px; text-align: center; }
body .gv-cart.is-empty .gv-cart-continue { display: flex; align-items: center; justify-content: center; gap: 15px; width: fit-content; min-height: 46px; margin: 30px auto 0; padding: 12px 22px !important; border-radius: 10px; background: var(--themeColor, #f59c00); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
body .gv-cart .gv-cart-continue .gv-icon { width: 18px; height: 18px; }
body .gv-cart .woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; }
body .gv-cart .woocommerce-mini-cart-item { position: relative; margin: 0; padding: 20px 30px 20px 0 !important; border-bottom: 1px solid #e8ebed; font-size: 15px; line-height: 1.5; }
body .gv-cart .woocommerce-mini-cart-item:first-child { padding-top: 0 !important; }
body .gv-cart .woocommerce-mini-cart-item a:not(.remove) { display: block; color: #283138; font-size: 15px; font-weight: 600; text-decoration: none; }
body .gv-cart .woocommerce-mini-cart-item img { float: left; width: 64px; height: 64px; object-fit: cover; border-radius: 9px; margin: 0 14px 8px 0; }
body .gv-cart .woocommerce-mini-cart-item .quantity { display: block; margin-top: 7px; color: #6e767d; font-size: 14px; }
body .gv-cart .woocommerce-mini-cart-item .variation { margin: 7px 0 0; padding: 0; border: 0; font-size: 12px; color: #6e767d; }
body .gv-cart .woocommerce-mini-cart-item .variation p { margin-bottom: 4px; }
body .gv-cart .woocommerce-mini-cart-item::after { content: ""; display: block; clear: both; }
body .gv-cart a.remove { position: absolute; top: 20px; right: 0; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: #f2f4f5 !important; color: #6e767d !important; font-size: 19px; font-weight: 400; line-height: 1; text-decoration: none; }
body .gv-cart .woocommerce-mini-cart-item:first-child a.remove { top: 0; }
body .gv-cart a.remove:hover { background: #eceff1 !important; color: #283138 !important; }
body .gv-cart .woocommerce-mini-cart__total { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; padding: 24px 0; border: 0; font-size: 16px; }
body .gv-cart .woocommerce-mini-cart__total .amount { color: #252c32; font-size: 20px; font-weight: 600; }
body .gv-cart .woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 0; }
body .gv-cart .woocommerce-mini-cart__buttons a.button { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; margin: 0; border: 1px solid #e0e5e6; border-radius: 10px; background: #fff !important; color: #344047 !important; font-size: 15px; font-weight: 600; line-height: 1.5; text-decoration: none; }
body .gv-cart .woocommerce-mini-cart__buttons a.checkout { border-color: transparent; background: var(--themeColor, #f59c00) !important; color: #252414 !important; }
body.gv-modern-header .mobile_bottom_bar .gv-icon { width: 23px; height: 23px; }

@media (min-width: 992px) and (max-width: 1320px) {
    #masthead.gv-header .gv-header-inner { gap: 16px; }
    #masthead.gv-header .gv-desktop-nav > .gv-menu { gap: 14px; }
    #masthead.gv-header .gv-desktop-nav > .gv-menu > li > a { font-size: 14px; }
    #masthead.gv-header .gv-header-actions { gap: 10px; }
    #masthead.gv-header a.gv-trip-button { padding: 0 16px; gap: 12px; }
}
/* Mobile uses the theme's original Style 2 markup and existing Mmenu styling. */
#masthead.gv-header.gv-compact .gv-desktop-header { display: none; }
#masthead.gv-header.gv-compact .gv-legacy-mobile { display: block; }
body #masthead.gv-header.gv-compact { font-family: inherit !important; color: #333; border-bottom: 0; box-shadow: 3px 0 15px #0003; }
@media (max-width: 991px) {
    #masthead.gv-header .gv-desktop-header { display: none; }
    #masthead.gv-header .gv-legacy-mobile { display: block; }
}
/* The same mobile controls are available if a larger logo or menu needs more room. */
@media (min-width: 992px) {
    #masthead.gv-header.gv-compact .header-bottom { width: 100%; float: none; box-shadow: none; border-top: none; }
    #masthead.gv-header.gv-compact .header-bottom .container.row { justify-content: space-between; }
    #masthead.gv-header.gv-compact .header-bottom .right { display: none; }
    #masthead.gv-header.gv-compact .header-bottom .middle .main-navigation { display: flex; align-items: center; justify-content: flex-end; }
    #masthead.gv-header.gv-compact .header-bottom .middle .cart { display: block; }
    #masthead.gv-header.gv-compact #mobile-nav-open { display: block; }
    #masthead.gv-header.gv-compact .logo { padding: 12px 0; }
}
/* Aligned mobile header controls; the existing Mmenu drawer stays in use. */
body #masthead.gv-header.gv-compact { border-bottom: 1px solid #edf0f2; box-shadow: 0 4px 18px rgba(25,35,42,.055); }
#masthead.gv-header .gv-legacy-mobile .header-bottom { float: none; width: 100%; border-top: 0; box-shadow: none; background: #fff; }
#masthead.gv-header .gv-legacy-mobile .header-bottom .container.row { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 12px; width: 100%; min-height: 72px; margin: 0 auto; padding: 12px 15px; }
#masthead.gv-header .gv-legacy-mobile .header-bottom .left { flex: 1 1 auto; min-width: 0; width: auto; max-width: none; padding: 0; }
#masthead.gv-header .gv-legacy-mobile .header-bottom .left > a { display: flex; align-items: center; width: 240px; max-width: 100%; }
#masthead.gv-header .gv-legacy-mobile .logo { display: block; width: 85%; max-width: 100%; min-width: 0; height: auto; padding: 0; }
#masthead.gv-header .gv-legacy-mobile .header-bottom .middle { flex: 0 0 auto; width: auto; max-width: none; padding: 0; }
#masthead.gv-header .gv-legacy-mobile .header-bottom .right { display: none; }
#masthead.gv-header .gv-legacy-mobile .main-navigation { display: flex; align-items: center; justify-content: flex-end; gap: 8px; clear: none; float: none; width: auto; }
#masthead.gv-header .gv-legacy-mobile .main-navigation > a.cart,
#masthead.gv-header .gv-legacy-mobile #mobile-nav-open { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; float: none; margin: 0; padding: 0; border: 1px solid #e8ebed; border-radius: 11px; background: #fff; color: #374148; line-height: 1; box-sizing: border-box; cursor: pointer; }
#masthead.gv-header .gv-legacy-mobile .main-navigation > a.cart:hover,
#masthead.gv-header .gv-legacy-mobile #mobile-nav-open:hover { background: #f6f8f9; border-color: #d8dee2; }
#masthead.gv-header .gv-legacy-mobile .main-navigation > a .gv-icon { display: block; width: 28px; height: 28px; margin: 0; }

@media (max-width: 991px) {
    /* Match the mobile navigation drawer and keep the page visible beside the cart. */
    body .gv-cart.pushbar { width: 80vw !important; left: 0; right: auto; transform: translateX(-100%); box-shadow: 8px 0 40px rgba(20,30,35,.12); }
    body .gv-cart.pushbar.opened { transform: translateX(0); }
}
@media (max-width: 782px) {
    body.admin-bar #masthead.gv-header { top: 46px; }
    body.admin-bar .gv-cart.pushbar { top: 46px; height: calc(100dvh - 46px); }
}
@media (max-width: 600px) {
    /* Mmenu positions the body; keep WordPress's absolute mobile toolbar above it. */
    body.admin-bar.gv-modern-header.mm-wrapper #wpadminbar { top: -46px; }
}
@media (max-width: 560px) {
    body .gv-cart.pushbar { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    #masthead.gv-header *, #masthead.gv-header *::after, body .gv-cart.pushbar { transition: none !important; }
}
