/* Reference-inspired storefront header, scoped to preserve the page styles. */
body.category-drawer-open { overflow: hidden !important; }
body .mobile-menu { font-family: "Poppins", "Hind Siliguri", sans-serif; }
.mobile-menu [hidden] { display: none !important; }
.mobile-menu .drawer-search { display: flex; height: 42px; margin: 0; border-bottom: 1px solid #ddd; }
.mobile-menu .drawer-search input { flex: 1; min-width: 0; width: 0; border: 0; border-radius: 0; padding: 0 12px; background: #fff; font: inherit; font-size: 14px; text-align: center; }
.mobile-menu .drawer-search button { width: 40px; flex-shrink: 0; border: 0; border-radius: 0; background: #850c09; color: #fff; }
.mobile-menu .drawer-tabs { display: flex; height: 48px; border-bottom: 1px solid #ddd; }
.mobile-menu .drawer-tabs button { flex: 1; border: 0; border-radius: 0; background: #fff; color: #111; font: inherit; font-size: 14px; }
.mobile-menu .drawer-tabs button + button { border-left: 1px solid #ddd; }
.mobile-menu .drawer-tabs button[aria-selected="true"] { color: #850c09; }
.mobile-menu .drawer-tabs i { margin-right: 4px; }
.mobile-menu .drawer-links, .mobile-menu .drawer-links ul { padding: 0; margin: 0; list-style: none; }
.mobile-menu .drawer-links li { display: block; margin: 0; padding: 0; }
.mobile-menu .drawer-links a { display: block; padding: 8px 13px; color: #111; font-size: 14px; font-weight: 400; line-height: 21px; text-transform: none; border-bottom: 1px solid #ddd; }
.mobile-menu .drawer-category-row { display: flex; border-bottom: 1px solid #ddd; }
.mobile-menu .drawer-category-row > a { flex: 1; min-width: 0; border: 0; }
.mobile-menu .drawer-expand { width: 38px; flex-shrink: 0; border: 0; background: #fff; color: #777; }
.mobile-menu .drawer-expand[aria-expanded="true"] i { transform: rotate(180deg); }
.mobile-menu .drawer-subcategories a { padding-left: 26px; background: #fafafa; }
.mobile-menu .drawer-subcategories ul a { padding-left: 39px; }
.mobile-menu .drawer-links a:hover { color: #850c09; background: #faf2f2; }
.mobile-menu .drawer-close { display: block; width: 100%; margin-top: auto; padding: 12px; border: 0; background: #fff; color: #777; font: inherit; font-size: 13px; }
.mobile-menu :focus-visible { outline: 2px solid #850c09; outline-offset: -2px; }
@media (max-width: 767px) {
    body .mobile-menu { display: flex; flex-direction: column; width: min(310px, 85vw); left: 0; top: 0; height: 100vh; height: 100dvh; transform: translateX(-100%); visibility: hidden; transition: transform .25s ease, visibility .25s; background: #fff; }
    body .mobile-menu.active { transform: translateX(0); visibility: visible; }
    .mobile-menu .drawer-search, .mobile-menu .drawer-tabs { flex-shrink: 0; }
    #navbar_top .menu-bar button.toggle { border: 0; padding: 0; background: transparent; color: #111; }
}
@media (prefers-reduced-motion: reduce) { body .mobile-menu { transition: none; } }
:root {
    --primary-color: #850c09;
    --secondary-color: #850c09;
    --secondary-color-extra: #285777;
}
#navbar_top { --header-green: #850c09; background: #fff; }
.store-topbar { background: var(--header-green); color: #fff; font-size: 14px; }
.store-topbar__inner { min-height: 33px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.store-topbar a { color: #fff; white-space: nowrap; }
.store-topbar__contact, .store-topbar__social { display: flex; align-items: center; gap: 12px; }
.store-topbar__social { border-left: 1px solid rgba(255,255,255,.8); padding-left: 20px; margin-left: 8px; gap: 10px; }
.store-topbar i { font-size: 13px; }
#navbar_top .logo-header { grid-template-columns: 210px minmax(0, 1fr) auto; gap: 36px; min-height: 76px; padding: 12px 0; }
#navbar_top .main-logo { height: 48px; text-align: left; }
#navbar_top .main-logo img { max-width: 100%; height: 100%; object-position: left center; }
#navbar_top .main-header .main-search { padding: 0; margin: 0; min-width: 0; }
#navbar_top .main-header .main-search form { height: 44px; border: 2px solid #dedede; border-radius: 4px; background: #fff; }
#navbar_top .main-header .main-search select { width: 132px; flex: 0 0 132px; padding: 0 12px; border: 0; border-right: 1px solid #e5e5e5; background: #fff; color: #222; font-size: 13px; cursor: pointer; }
#navbar_top .main-header .main-search input { flex: 1; min-width: 0; width: auto; background: #fff; font-size: 14px !important; }
#navbar_top .main-header .main-search button { width: 45px; flex: 0 0 45px; background: var(--header-green); }
#navbar_top .main-header .main-search button svg { width: 17px; height: 17px; }
#navbar_top .header-list-items { margin: 0; }
#navbar_top .header-list-items > ul { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; }
#navbar_top .header-list-items > ul > li { margin: 0; }
#navbar_top .header-list-items > ul > li > a, #navbar_top .for_order a { font-size: 14px; color: #111; white-space: nowrap; }
#navbar_top .header-list-items > ul > li p { margin-bottom: 0; }
#navbar_top .header-list-items > ul > li i { font-size: 22px; }
#navbar_top .store-order-track svg { width: 23px; height: 23px; stroke-width: 1.7; }
#navbar_top .header-list-items .margin-shopping span { background: var(--header-green); }
#navbar_top .store-cart-total { font-size: 14px; font-weight: 400; }
#navbar_top .main-search .search_result { position: absolute; top: 100%; left: 0; width: 100%; z-index: 1005; }
#navbar_top a:focus-visible, #navbar_top button:focus-visible, #navbar_top select:focus-visible, #navbar_top input:focus-visible { outline: 2px solid #650907; outline-offset: 2px; }
#navbar_top .cart-dialog:focus-within .cshort-summary { opacity: 1; visibility: visible; top: 45px; }
/* Light navigation and clean category rows from the reference. */
body .site-category-nav { background: #f1f1f1; border-top: 0; box-shadow: none; }
body .site-category-nav__inner { min-height: 42px; }
body .site-category-nav__browse { height: 42px; background: #850c09; gap: 7px; padding: 0 12px; }
body .site-category-nav__browse span { font-size: 14px; }
body .site-category-nav__browse i:first-child { font-size: 14px; }
body .site-category-nav__links { flex: 1; justify-content: flex-end; gap: 24px; }
body .site-category-nav__links a { color: #777; font-size: 13px; font-weight: 500; }
body .site-category-nav__links a:hover { color: #850c09; }
body .global-category-menu, body .market-category-menu { background: #fff; border-color: #ddd; box-shadow: none; }
body .global-category-menu__link, body .market-category-menu__link {
    background: #fff; color: #111; border-bottom: 1px solid #ddd;
    font-size: 14px; font-weight: 400; text-transform: none;
}
body .global-category-menu li:hover > .global-category-menu__link,
body .market-category-menu li:hover > .market-category-menu__link { background: #faf2f2; color: #850c09; }
body .global-category-menu__more, body .market-category-menu__more { background: #fff; color: #850c09; text-transform: none; font-weight: 600; }
body .global-category-menu__more i, body .market-category-menu__more i { color: #850c09; }
#navbar_top .main-header .main-search input::placeholder { color: #888; font-family: inherit; font-size: 14px; }
#navbar_top, body .site-category-nav { font-family: "Poppins", "Hind Siliguri", sans-serif; }
.store-topbar__inner { min-height: 30px; }
body .global-category-menu { min-height: 0; border-radius: 0; }
body .global-category-menu__link, body .site-category-nav .market-category-menu__link {
    min-height: 39px; grid-template-columns: 20px minmax(0, 1fr) 14px; gap: 4px; padding: 0 10px;
}
body .global-category-menu__icon, body .global-category-menu__icon img { width: 16px; height: 16px; }
body .site-category-nav .market-category-menu__icon { width: 16px; height: 16px; }
@media (min-width: 992px) {
    #navbar_top .container, body .site-category-nav .container, body .market-hero .container { max-width: 1200px; }
    #navbar_top .logo-header { grid-template-columns: 210px minmax(0, 1fr) auto; gap: 36px; }
    body .site-category-nav__browse-wrap { width: 276px; flex-basis: 276px; }
    body .global-category-menu { width: 276px; }
    body .market-hero__grid { grid-template-columns: 276px minmax(0, 1fr); gap: 12px; }
    body .market-hero__content { padding-top: 12px; }
    body .market-hero .market-category-menu { visibility: hidden; min-height: 0; }
    body .market-hero__slider .slider-item { height: 340px !important; }
}
@media (min-width: 768px) and (max-width: 1199px) {
    #navbar_top .logo-header { grid-template-columns: 155px minmax(0, 1fr) auto; gap: 18px; }
    #navbar_top .header-list-items > ul { gap: 14px; }
    #navbar_top .main-header .main-search select { width: 110px; flex-basis: 110px; padding: 0 6px; }
}
@media (max-width: 767px) {
    .store-topbar { font-size: 12px; }
    .store-topbar__inner { min-height: 32px; gap: 8px; }
    .store-topbar__social { display: none; }
    #navbar_top .mobile-header { background: #fff; }
    /* Anchor the search dropdown below the mobile header, including when sticky. */
    #navbar_top .mobile-search { top: 100%; }
    #navbar_top .mobile-logo { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 8px; }
    #navbar_top .menu-logo { min-width: 0; }
    #navbar_top .menu-bag { flex-shrink: 0; gap: 8px; }
    #navbar_top .mobile-search-toggle { margin-right: 0; }
    #navbar_top .mobilecart-qty, #navbar_top .mobile-search button { background: var(--header-green); }
}
