/* ═══════════════════════════════════════════════════════════════
   VB Responsive Header, frontend stylesheet
   Author: Victor Busayo | v2.0.0

   Layout map
     Row 1 .vbh-topbar   announcement + secondary links
     Row 2 .vbh-main     burger + logo + product search + account/cart
     Row 3 .vbh-navbar   shop categories + primary menu + deal link
     Off canvas .vbh-drawer

   Breakpoints
     1200  search shrinks, tighter gutters
      991  desktop rows collapse into burger + drawer (configurable
           from the settings screen, which re-emits these switches)
      600  compact single line, icon only actions
═══════════════════════════════════════════════════════════════ */

/* ── RESET ── */
.vbh-header *,
.vbh-header *::before,
.vbh-header *::after { box-sizing: border-box; }

.vbh-header p,
.vbh-header ul,
.vbh-header h2 { margin: 0; padding: 0; }

.vbh-header ul,
.vbh-header ol,
.vbh-header li {
    list-style: none !important;
    list-style-type: none !important;
}

/* Themes set markers on the item as well as the list, and some do it
   further down the cascade than this file. */
.vbh-header li::marker { content: none; }

/* ── SHELL ── */
.vbh-header {
    width: 100%;
    background-color: var(--vbh-bg, #ffffff);
    color: var(--vbh-text, #111111);
    box-shadow: var(--vbh-shadow, 0 1px 4px rgba(0,0,0,0.06));
    border-radius: var(--vbh-radius, 0);
    z-index: var(--vbh-z-index, 9999);
    font-family: var(--vbh-font-family, inherit);
    line-height: 1.35;
}

.vbh-position-relative { position: relative; }
.vbh-position-sticky   { position: sticky; top: 0; }
.vbh-position-fixed    { position: fixed; top: 0; left: 0; right: 0; }

.vbh-container {
    width: 100%;
    max-width: var(--vbh-max-width, 1320px);
    margin: 0 auto;
    padding: 0 24px;
}

.vbh-header a { text-decoration: none; color: inherit; }

.vbh-header a:focus-visible,
.vbh-header button:focus-visible,
.vbh-header input:focus-visible,
.vbh-header select:focus-visible {
    outline: 2px solid var(--vbh-accent, #c1272d);
    outline-offset: 2px;
}

.vbh-icon { display: inline-flex; }
.vbh-icon svg { width: 100%; height: 100%; display: block; }


/* ── MENU ITEM NORMALISATION ──
   Themes commonly target li:first-child and li:last-child inside menus
   with uneven vertical padding, and set their own line-height. In a
   flex row that shifts individual items off the shared baseline by a
   few pixels. Reset both so every item aligns on one line. */
.vbh-header .vbh-topnav-list > li,
.vbh-header .vbh-primary-list > li {
    padding: 0 !important;
    margin: 0 !important;
    align-items: center;
    line-height: normal;
}

.vbh-header .vbh-topnav-list > li > a,
.vbh-header .vbh-primary-list > li > a {
    line-height: 1.4;
    align-items: center;
}

/* ═══════════════════════════════════════════
   ROW 1  ANNOUNCEMENT BAR
═══════════════════════════════════════════ */
.vbh-topbar {
    background: var(--vbh-topbar-bg, #111111);
    color: var(--vbh-topbar-text, #ffffff);
    font-size: var(--vbh-topbar-font-size, 13px);
}

.vbh-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: var(--vbh-topbar-height, 38px);
}

.vbh-announce {
    font-size: inherit;
    letter-spacing: 0.01em;
}

.vbh-topnav { display: flex; }

.vbh-topnav-list {
    display: flex;
    align-items: center;
    gap: 22px;
}

.vbh-topnav-list a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    color: var(--vbh-topbar-text, #ffffff);
    opacity: 0.92;
    transition: opacity 0.18s ease, color 0.18s ease;
}

.vbh-topnav-list a:hover { opacity: 1; color: var(--vbh-highlight, #f5a623); }

/* Give any top bar menu item the CSS class "vbh-flash" in Appearance > Menus
   to render it in the highlight colour with the bolt mark. */
.vbh-topnav-list .vbh-flash > a,
.vbh-topnav-list .vbh-flash > a:hover {
    color: var(--vbh-highlight, #f5a623);
    font-weight: 600;
}

.vbh-topnav-list .vbh-flash > a::before {
    content: "";
    width: 12px;
    height: 12px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ═══════════════════════════════════════════
   ROW 2  LOGO, SEARCH, ACCOUNT, CART
═══════════════════════════════════════════ */
.vbh-main { background: var(--vbh-bg, #ffffff); }

.vbh-main-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: var(--vbh-height-desktop, 96px);
}

/* ── Burger (mobile only) ── */
.vbh-burger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    margin-left: -8px;
    flex-shrink: 0;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
}

.vbh-burger:hover { background: rgba(0,0,0,0.05); }

.vbh-bar {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--vbh-hamburger, #111111);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.2s linear;
}

.vbh-burger[aria-expanded="true"] .vbh-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vbh-burger[aria-expanded="true"] .vbh-bar:nth-child(2) { opacity: 0; }
.vbh-burger[aria-expanded="true"] .vbh-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Logo ── */
.vbh-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.vbh-logo img,
.vbh-logo-widget img,
.vbh-logo .custom-logo {
    max-width: var(--vbh-logo-max-width, 180px);
    max-height: var(--vbh-logo-max-height, 64px);
    width: auto;
    height: auto;
    display: block;
}

.vbh-logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--vbh-text, #111111);
}

/* ── Search ── */
.vbh-search {
    flex: 1 1 auto;
    min-width: 0;
    max-width: var(--vbh-search-max, 720px);
}

.vbh-search-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: var(--vbh-search-height, 48px);
    border: 2px solid var(--vbh-accent, #c1272d);
    border-radius: var(--vbh-search-radius, 4px);
    background: #ffffff;
    overflow: hidden;
}

.vbh-search-cats {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border-right: 1px solid var(--vbh-border, #e6e6e6);
}

.vbh-search-cats select {
    height: 100%;
    max-width: 190px;
    padding: 0 34px 0 18px;
    border: 0;
    background: transparent;
    color: var(--vbh-text, #111111);
    font-size: var(--vbh-font-size, 15px);
    font-family: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    text-overflow: ellipsis;
}

.vbh-search-cats .vbh-icon {
    position: absolute;
    right: 12px;
    width: 16px;
    height: 16px;
    pointer-events: none;
    color: var(--vbh-text, #111111);
}

.vbh-search-field {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 18px;
    border: 0;
    background: #ffffff;
    font-size: var(--vbh-font-size, 15px);
    font-family: inherit;
    color: var(--vbh-text, #111111);
    -webkit-appearance: none;
    appearance: none;
}

.vbh-search-field::placeholder { color: var(--vbh-muted, #6b7280); opacity: 1; }
.vbh-search-field::-webkit-search-cancel-button { -webkit-appearance: none; }

.vbh-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 72px;
    padding: 0;
    border: 0;
    background: var(--vbh-accent, #c1272d);
    color: var(--vbh-search-icon, #ffffff);
    font-family: inherit;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.vbh-search-btn .vbh-icon {
    width: 22px;
    height: 22px;
    transition: transform 0.18s ease;
}

/* Hover, keyboard focus and press all move the icon to the brand orange */
.vbh-search-btn:hover,
.vbh-search-btn:focus-visible,
.vbh-search-btn:active {
    background: var(--vbh-accent-hover, #a11f24);
    color: var(--vbh-search-icon-hover, #f26522);
}

.vbh-search-btn:active .vbh-icon { transform: scale(0.92); }

/* ── Shortcode slots (currency, language, anything else) ── */
.vbh-slots-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    padding-right: 4px;
}

.vbh-slots-bar .vbh-slot {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.2;
    color: var(--vbh-text, #111111);
}

/* Keep third party switcher markup from inheriting odd block spacing */
.vbh-slots .vbh-slot > * { margin: 0; }
.vbh-slots .vbh-slot ul { list-style: none; margin: 0; padding: 0; }
.vbh-slots .vbh-slot select {
    max-width: 150px;
    padding: 6px 8px;
    border: 1px solid var(--vbh-border, #e6e6e6);
    border-radius: 4px;
    background: #ffffff;
    font-family: inherit;
    font-size: 14px;
    color: inherit;
}
.vbh-slots .vbh-slot a { color: inherit; }
.vbh-slots .vbh-slot a:hover { color: var(--vbh-accent, #c1272d); }
.vbh-slots .vbh-slot img { max-height: 18px; width: auto; display: inline-block; vertical-align: middle; }

.vbh-slots-drawer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 12px 0 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--vbh-border, #e6e6e6);
}

.vbh-slots-drawer .vbh-slot { font-size: 14px; }

/* ── Account and cart ── */
.vbh-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
    flex-shrink: 0;
}

.vbh-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--vbh-text, #111111);
    transition: color 0.18s ease;
}

.vbh-action:hover { color: var(--vbh-accent, #c1272d); }

.vbh-action > .vbh-icon,
.vbh-cart-icon .vbh-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.vbh-action-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    white-space: nowrap;
}

.vbh-action-label {
    font-size: 12px;
    font-weight: 400;
    color: var(--vbh-muted, #6b7280);
}

.vbh-action-value,
.vbh-cart-total {
    font-size: 14px;
    font-weight: 700;
    color: var(--vbh-text, #111111);
}

.vbh-cart-total .amount,
.vbh-cart-total bdi { font-weight: 700; }

.vbh-cart-icon { position: relative; display: inline-flex; }

.vbh-cart-count {
    position: absolute;
    top: -7px;
    left: -9px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--vbh-accent, #c1272d);
    color: var(--vbh-accent-text, #ffffff);
    font-size: 11px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
}

/* CTA widget slot beside the cart */
.vbh-cta-desktop {
    display: flex;
    align-items: var(--vbh-cta-align, center);
    flex-wrap: wrap;
    gap: var(--vbh-cta-gap, 8px);
    min-width: var(--vbh-cta-min-width, auto);
    min-height: var(--vbh-cta-min-height, auto);
    padding: var(--vbh-cta-padding-y, 0) var(--vbh-cta-padding-x, 0);
}

.vbh-cta-desktop .vbh-cta-widget,
.vbh-cta-desktop .wp-block-buttons,
.vbh-cta-desktop .elementor-widget-container {
    display: flex;
    align-items: var(--vbh-cta-align, center);
    flex-wrap: wrap;
    gap: var(--vbh-cta-gap, 8px);
}

.vbh-cta-desktop a,
.vbh-cta-desktop button { white-space: nowrap; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   ROW 3  CATEGORY NAV
═══════════════════════════════════════════ */
.vbh-navbar {
    background: var(--vbh-navbar-bg, #ffffff);
    border-top: 1px solid var(--vbh-border, #e6e6e6);
}

.vbh-navbar-inner {
    display: flex;
    align-items: stretch;
    gap: 28px;
    min-height: var(--vbh-navbar-height, 56px);
}

/* ── Shop categories ── */
.vbh-cats { position: relative; display: flex; align-items: center; flex-shrink: 0; }

.vbh-cats-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 0 26px 0 0;
    background: transparent;
    border: 0;
    border-right: 1px solid var(--vbh-border, #e6e6e6);
    color: var(--vbh-text, #111111);
    font-family: inherit;
    font-size: var(--vbh-font-size, 15px);
    font-weight: 700;
    cursor: pointer;
}

.vbh-cats-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
}

.vbh-cats-icon span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.vbh-cats-toggle .vbh-icon {
    width: 16px;
    height: 16px;
    margin-left: 22px;
    transition: transform 0.22s ease;
}

.vbh-cats-toggle[aria-expanded="true"] .vbh-icon { transform: rotate(180deg); }

.vbh-cats-panel {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 40;
    display: none;
    min-width: var(--vbh-cats-panel-width, 300px);
    max-height: min(70vh, 640px);
    overflow-y: auto;
    padding: 8px 0;
    background: var(--vbh-bg, #ffffff);
    border: 1px solid var(--vbh-border, #e6e6e6);
    border-top: 0;
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.vbh-cats-open .vbh-cats-panel { display: block; }

/* Themes often re-add list markers further down the cascade, so the
   panel resets them on the list and the items, not just the list. */
.vbh-header .vbh-cats-panel ul,
.vbh-header .vbh-cats-panel ol,
.vbh-header .vbh-cats-panel li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding-left: 0;
}

.vbh-header .vbh-cats-panel li::marker { content: none; }

.vbh-cats-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    font-size: var(--vbh-font-size, 15px);
    color: var(--vbh-text, #111111);
    transition: background 0.16s ease, color 0.16s ease;
}

/* Menu item icons: icon fonts, inline SVG, and image icons all sit
   beside the label rather than stacking above it. */
.vbh-cats-list a > i,
.vbh-cats-list a > span[class*="icon"],
.vbh-cats-list a > svg,
.vbh-cats-list a > img {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
}

.vbh-cats-list a:hover {
    background: rgba(0,0,0,0.03);
    color: var(--vbh-accent, #c1272d);
}

/* Nested categories fly out to the right */
.vbh-cats-list li { position: relative; }

.vbh-cats-list .sub-menu {
    position: absolute;
    top: -8px;
    left: 100%;
    display: none;
    min-width: 240px;
    padding: 8px 0;
    background: var(--vbh-bg, #ffffff);
    border: 1px solid var(--vbh-border, #e6e6e6);
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.vbh-cats-list li:hover > .sub-menu,
.vbh-cats-list li:focus-within > .sub-menu { display: block; }

.vbh-cats-list .menu-item-has-children > a::after {
    content: "";
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-left: auto;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Panel fed by a theme shortcode or widget: hand layout back to the
   theme and only provide the positioning shell. */
.vbh-cats-panel:has(.vbh-cats-embed) { padding: 0; min-width: 0; overflow: visible; }
.vbh-cats-embed { min-width: var(--vbh-cats-panel-width, 300px); }
.vbh-cats-embed .vbh-cats-widget-title { display: none; }

/* ── Primary menu ── */
.vbh-primary { display: flex; align-items: stretch; flex: 1 1 auto; min-width: 0; }

.vbh-primary-list {
    display: flex;
    align-items: stretch;
    gap: 6px;
}

.vbh-primary-list > li { position: relative; display: flex; align-items: center; }

.vbh-primary-list > li > a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: var(--vbh-font-size, 15px);
    font-weight: var(--vbh-font-weight, 500);
    color: var(--vbh-text, #111111);
    white-space: nowrap;
    transition: color 0.18s ease;
}

.vbh-primary-list > li > a:hover,
.vbh-primary-list .current-menu-item > a,
.vbh-primary-list .current_page_item > a,
.vbh-primary-list .current-menu-ancestor > a {
    color: var(--vbh-link-hover, #c1272d);
}

.vbh-primary-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 40;
    display: none;
    min-width: 220px;
    padding: 6px 0;
    background: var(--vbh-bg, #ffffff);
    border: 1px solid var(--vbh-border, #e6e6e6);
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.vbh-primary-list li:hover > .sub-menu,
.vbh-primary-list li:focus-within > .sub-menu { display: block; }

.vbh-primary-list .sub-menu a {
    display: block;
    padding: 10px 18px;
    font-size: calc(var(--vbh-font-size, 15px) - 1px);
    color: var(--vbh-text, #111111);
}

.vbh-primary-list .sub-menu a:hover { color: var(--vbh-accent, #c1272d); background: rgba(0,0,0,0.03); }

/* ── Deal link ── */
.vbh-deal {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
    padding-left: 28px;
    border-left: 1px solid var(--vbh-border, #e6e6e6);
}

.vbh-deal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--vbh-font-size, 15px);
    font-weight: 600;
    color: var(--vbh-text, #111111);
    white-space: nowrap;
}

.vbh-deal-link:hover { color: var(--vbh-accent, #c1272d); }

.vbh-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 3px;
    background: var(--vbh-accent, #c1272d);
    color: var(--vbh-accent-text, #ffffff);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════
   MOBILE DRAWER
═══════════════════════════════════════════ */
.vbh-overlay {
    position: fixed;
    inset: 0;
    z-index: calc(var(--vbh-z-index, 9999) + 1);
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.vbh-overlay[hidden] { display: none; }
.vbh-overlay.vbh-visible { opacity: 1; }

.vbh-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: calc(var(--vbh-z-index, 9999) + 2);
    width: min(var(--vbh-drawer-width, 320px), 86vw);
    display: flex;
    flex-direction: column;
    background: var(--vbh-drawer-bg, #ffffff);
    box-shadow: 4px 0 24px rgba(0,0,0,0.16);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0.3s;
    overscroll-behavior: contain;
}

.vbh-drawer.vbh-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), visibility 0s;
}

.vbh-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--vbh-border, #e6e6e6);
    flex-shrink: 0;
}

.vbh-drawer-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vbh-muted, #6b7280);
}

.vbh-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: -8px;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--vbh-text, #111111);
    cursor: pointer;
    padding: 0;
}

.vbh-drawer-close .vbh-icon { width: 22px; height: 22px; }
.vbh-drawer-close:hover { background: rgba(0,0,0,0.05); }

.vbh-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 20px 28px;
}

.vbh-drawer-account {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0 8px;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(0,0,0,0.04);
    color: var(--vbh-text, #111111);
}

.vbh-drawer-account .vbh-icon { width: 26px; height: 26px; }
.vbh-drawer-account span { display: flex; flex-direction: column; }
.vbh-drawer-account strong { font-size: 15px; }
.vbh-drawer-account small { font-size: 12px; color: var(--vbh-muted, #6b7280); }

.vbh-drawer-section { margin-top: 18px; }

.vbh-drawer-heading {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vbh-muted, #6b7280);
    padding: 8px 0;
    border-bottom: 1px solid var(--vbh-border, #e6e6e6);
}

/* Menu items carrying a theme icon class render the icon as a ::before
   on the item itself, so the item is the flex row, not the link. */
.vbh-drawer-list li[class*="icon-"] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vbh-drawer-list li[class*="icon-"] > a { flex: 1 1 auto; }

.vbh-drawer-list li[class*="icon-"]::before {
    flex: 0 0 auto;
    display: inline-block;
    font-size: 18px;
    line-height: 1;
}

.vbh-drawer-list li { border-bottom: 1px solid var(--vbh-border, #eeeeee); }
.vbh-drawer-list li:last-child { border-bottom: 0; }

.vbh-drawer-list > li > a,
.vbh-drawer-list .sub-menu a {
    display: block;
    padding: 13px 0;
    font-size: 15px;
    color: var(--vbh-text, #111111);
}

.vbh-drawer-list a:hover { color: var(--vbh-accent, #c1272d); }

.vbh-drawer-list-small > li > a { font-size: 14px; color: var(--vbh-muted, #6b7280); }

/* Accordion rows are built by the JS for items that have children */
.vbh-drawer-list .menu-item-has-children > a { padding-right: 46px; }
.vbh-drawer-list .menu-item-has-children { position: relative; }

.vbh-sub-toggle {
    position: absolute;
    top: 4px;
    right: -8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 0;
    color: var(--vbh-text, #111111);
    cursor: pointer;
    padding: 0;
}

.vbh-sub-toggle svg { width: 18px; height: 18px; transition: transform 0.22s ease; }
.vbh-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.vbh-drawer-list .sub-menu {
    display: none;
    padding: 0 0 6px 14px;
    border-top: 1px solid var(--vbh-border, #eeeeee);
}

.vbh-drawer-list .sub-menu.vbh-open { display: block; }
.vbh-drawer-list .sub-menu a { padding: 11px 0; font-size: 14px; color: var(--vbh-muted, #6b7280); }

.vbh-drawer-deal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    padding: 13px 16px;
    border-radius: 6px;
    background: var(--vbh-accent, #c1272d);
    color: var(--vbh-accent-text, #ffffff);
    font-weight: 700;
}

.vbh-drawer-deal .vbh-badge { background: rgba(255,255,255,0.22); }

.vbh-cta-mobile {
    display: flex;
    flex-direction: column;
    gap: var(--vbh-cta-gap, 8px);
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--vbh-border, #e6e6e6);
}

.vbh-cta-mobile .vbh-cta-widget,
.vbh-cta-mobile .wp-block-buttons,
.vbh-cta-mobile .elementor-widget-container {
    display: flex;
    flex-direction: column;
    gap: var(--vbh-cta-gap, 8px);
    width: 100%;
}

.vbh-cta-mobile a,
.vbh-cta-mobile button {
    display: block;
    width: 100%;
    text-align: center;
}

/* Body scroll lock while the drawer is open */
.vbh-scroll-lock { overflow: hidden !important; }

/* ── SCREEN READER TEXT ── */
.vbh-header .screen-reader-text,
.screen-reader-text.vbh-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Placeholder menus before real menus are assigned */
.vbh-nav-placeholder { opacity: 0.75; }

/* ═══════════════════════════════════════════
   BREAKPOINT 1200
═══════════════════════════════════════════ */
@media (max-width: 1200px) {
    .vbh-container   { padding: 0 18px; }
    .vbh-main-inner  { gap: 20px; }
    .vbh-actions     { gap: 18px; }
    .vbh-navbar-inner{ gap: 20px; }
    .vbh-search-cats select { max-width: 168px; padding-left: 14px; }
    .vbh-search-btn  { width: 60px; }
    .vbh-primary-list > li > a { padding: 8px 10px; }
}

/* ═══════════════════════════════════════════
   BREAKPOINT 991  rows collapse into the drawer
   The settings screen re-emits these switches at a custom width.
═══════════════════════════════════════════ */
@media (max-width: 991px) {

    .vbh-topnav  { display: none; }
    .vbh-navbar  { display: none; }
    .vbh-burger  { display: inline-flex; }

    .vbh-topbar-inner { justify-content: center; }
    .vbh-announce     { text-align: center; width: 100%; }

    .vbh-main-inner {
        height: auto;
        flex-wrap: wrap;
        gap: 14px;
        row-gap: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .vbh-logo { margin-right: auto; }

    .vbh-logo img,
    .vbh-logo-widget img,
    .vbh-logo .custom-logo { max-height: var(--vbh-height-mobile, 64px); }

    .vbh-search {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        max-width: none;
    }

    .vbh-search-form { height: 44px; }
    .vbh-action-text { display: none; }
    .vbh-actions     { gap: 24px; }
    .vbh-slots-bar   { display: none; }
}

/* ═══════════════════════════════════════════
   BREAKPOINT 600  compact phone layout
═══════════════════════════════════════════ */
@media (max-width: 600px) {

    .vbh-container { padding: 0 14px; }

    .vbh-topbar { font-size: 12px; }
    .vbh-topbar-inner { min-height: 34px; padding-top: 6px; padding-bottom: 6px; }

    .vbh-main-inner { gap: 10px; }

    .vbh-logo img,
    .vbh-logo-widget img,
    .vbh-logo .custom-logo { max-height: 46px; }

    .vbh-search-form { height: 42px; }
    .vbh-search-cats { display: none; }

    .vbh-search-btn {
        width: 52px;
    }

    .vbh-action > .vbh-icon,
    .vbh-cart-icon .vbh-icon { width: 24px; height: 24px; }
}

/* ═══════════════════════════════════════════
   PREFERENCES AND PRINT
═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .vbh-header *,
    .vbh-drawer,
    .vbh-overlay {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

@media print {
    .vbh-topbar,
    .vbh-navbar,
    .vbh-search,
    .vbh-actions,
    .vbh-burger,
    .vbh-drawer,
    .vbh-overlay { display: none !important; }
}

/* Elementor full width containers */
.elementor-section-full_width .vbh-container,
.e-con-full .vbh-container { max-width: var(--vbh-max-width, 1320px); }
