/* ==============================================================
   VISIONBOT MODERN HEADER & MEGA MENU STYLES
   ============================================================== */

/* --- Top Bar (Dark Navy #0a1c38) --- */
.vb-topbar-wrap {
    background-color: var(--global-palette1);
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 10001;
    font-family: inherit;
}
.vb-topbar-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 7px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.vb-topbar-left,
.vb-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.vb-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
    font-weight: 500;
}
.vb-topbar-item:hover {
    color: var(--global-palette2);
    text-decoration: none;
}
.vb-topbar-item svg {
    flex-shrink: 0;
    stroke: currentColor;
}
.vb-topbar-item strong {
    color: #ffffff;
    font-weight: 600;
}
.vb-topbar-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 11px;
    user-select: none;
}
.vb-wishlist-badge-count {
    background: #0284c7;
    color: #ffffff !important;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 2px;
    display: inline-block;
}
.vb-topbar-select-item {
    font-size: 12px;
    user-select: none;
}
.vb-chevron-down {
    transition: transform 0.2s ease;
}

/* --- Topbar Social Media Links (matches visionbot.com) --- */
.vb-topbar-social-wrap {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.vb-topbar-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.15s ease;
}
.vb-topbar-social-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    transform: translateY(-1px);
}
.vb-topbar-social-btn svg {
    display: block;
    fill: currentColor;
    flex-shrink: 0;
}

/* --- Main Navigation Header Bar (White) --- */
.vb-main-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10000;
    font-family: inherit;
}
.vb-header-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* --- Brand Logo --- */
.vb-header-logo-wrap {
    flex-shrink: 0;
}
.vb-header-logo {
    text-decoration: none !important;
    display: block;
}
.vb-header-custom-logo {
    max-height: 70px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    display: block;
}
.vb-drawer-custom-logo {
    max-height: 38px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;
}
.vb-logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.vb-logo-icon {
    flex-shrink: 0;
    display: block;
}
.vb-logo-text-group {
    display: flex;
    flex-direction: column;
}
.vb-logo-title {
    font-size: 25px;
    font-weight: 800;
    color: #0b1a30;
    letter-spacing: -0.5px;
    line-height: 1.1;
    font-family: inherit;
}
.vb-logo-tagline {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* --- Primary Desktop Navigation --- */
.vb-desktop-nav {
    display: flex;
    align-items: center;
}
.vb-nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.vb-nav-item {
    position: relative;
    margin: 0;
    padding: 0;
}
.vb-nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    padding: 10px 4px;
    position: relative;
    transition: color 0.2s ease;
}
.vb-nav-item > a svg {
    stroke: currentColor;
    color: inherit;
}
.vb-nav-item:hover > a,
.vb-nav-item.vb-item-active > a {
    color: #0284c7;
    text-decoration: none;
}
.vb-nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 4px;
    right: 4px;
    height: 2px;
    background: #0284c7;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}
.vb-nav-item:hover > a::after,
.vb-nav-item.vb-item-active > a::after {
    transform: scaleX(1);
}
.loginregister_btn a {
    box-sizing: border-box;
    height: 44px;
    color: rgb(255, 255, 255);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0px 24px;
    background: var(--global-palette1);
    border-radius: 8px;
    border: 1px solid var(--global-palette1);
}
.loginregister_btn a:hover {
    background: transparent;
    color: var(--global-palette1);
}
.loginregister_btn a::after {
    display:none;
}

/* Sub-menus for Backend Menus */
.vb-has-dropdown {
    position: relative;
}
.vb-nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid #e2e8f0;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 99999;
}
.vb-has-dropdown:hover > .vb-nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.vb-has-dropdown:hover > a .vb-chevron-down {
    transform: rotate(180deg);
}
.vb-nav-submenu li {
    margin: 0;
}
.vb-nav-submenu li a {
    display: block;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease;
}
.vb-nav-submenu li a:hover {
    background: #f8fafc;
    color: #0284c7;
}

/* --- Shop Mega Menu Dropdown --- */
.vb-has-megamenu {
    position: static;
}
.vb-megamenu-panel {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: 100%;
    max-width: 1120px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.16);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 99999;
}
.vb-has-megamenu:hover .vb-megamenu-panel,
.vb-has-megamenu.vb-megamenu-open .vb-megamenu-panel,
.vb-megamenu-panel:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.vb-has-megamenu:hover .vb-chevron-down,
.vb-has-megamenu.vb-megamenu-open .vb-chevron-down {
    transform: rotate(180deg);
}
.vb-megamenu-inner {
    display: grid;
    grid-template-columns: 220px 1fr 270px;
    gap: 24px;
    align-items: stretch;
}

/* Col 1: Categories List */
.vb-mega-col-cats {
    border-right: 1px solid #f1f5f9;
    padding-right: 18px;
}
.vb-mega-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.vb-mega-cat-item {
    margin: 0;
}
.vb-mega-cat-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.18s ease;
}
.vb-mega-cat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    flex-shrink: 0;
}
.vb-mega-cat-icon svg {
    stroke: currentColor;
}
.vb-mega-arrow {
    margin-left: auto;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.18s ease;
}
.vb-mega-cat-item:hover a,
.vb-mega-cat-item.active a {
    background: #0284c7;
    color: #ffffff;
    text-decoration: none;
}
.vb-mega-cat-item:hover .vb-mega-arrow,
.vb-mega-cat-item.active .vb-mega-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Col 2: Popular Categories */
.vb-mega-col-popular {
    padding: 0 4px;
}
.vb-mega-col-title {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #0f172a;
    margin: 0 0 14px 0;
}
.vb-mega-pop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.vb-mega-pop-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.vb-mega-pop-card:hover {
    background: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.12);
    transform: translateY(-2px);
}
.vb-mega-pop-thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}
.vb-mega-pop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.vb-mega-pop-card:hover .vb-mega-pop-thumb img {
    transform: scale(1.08);
}
.vb-mega-pop-info {
    flex: 1;
    min-width: 0;
}
.vb-mega-pop-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}
.vb-mega-pop-count {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 3px;
    font-weight: 500;
}

/* Col 3: Smart Solutions Promo Card */
.vb-mega-col-promo {
    display: flex;
}
.vb-mega-promo-card {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border-radius: 14px;
    padding: 22px 18px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}
.vb-promo-robot-img {
    margin-bottom: 12px;
    filter: drop-shadow(0 6px 12px rgba(0, 229, 255, 0.25));
}
.vb-promo-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin: 0 0 8px 0;
}
.vb-promo-desc {
    font-size: 11px;
    line-height: 1.45;
    color: #94a3b8;
    margin: 0 0 16px 0;
}
.vb-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 20px;
    background: #0284c7;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
    margin-top: auto;
}
.vb-promo-btn:hover {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

/* --- Search & Cart Button --- */
.vb-header-right-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.vb-header-search-form {
    margin: 0;
}
.vb-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.vb-search-field {
    width: 220px;
    height: 40px;
    padding: 0 38px 0 14px;
    border-radius: 22px !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #f8fafc !important;
    font-size: 12.5px;
    color: #1e293b !important;
    transition: all 0.25s ease !important;
}
.vb-search-field:focus {
    outline: none !important;
    border-color: #0284c7 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
    width: 250px;
}
.vb-search-submit {
    position: absolute;
    right: 8px;
    background: none !important;
    border: none !important;
    padding: 6px !important;
    color: #64748b !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}
.vb-search-submit:hover {
    color: #0284c7 !important;
}

/* Cart Pill Button */
.vb-cart-pill-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px 5px 7px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}
.vb-cart-pill-btn:hover {
    border-color: #0284c7;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
}
.vb-cart-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0284c7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}
.vb-cart-icon-box svg {
    stroke: #ffffff;
}
.vb-cart-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    line-height: 1;
}
.vb-cart-label-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}
.vb-cart-label {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.vb-cart-total-amount {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}
.vb-cart-total-amount span.woocommerce-Price-amount {
    color: inherit;
    font-weight: inherit;
}

/* --- Floating Dropdown Menus (Cart, Wishlist, Account) --- */
.vb-header-dropdown-wrap {
    position: relative;
}
.vb-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.15);
    border: 1px solid #e2e8f0;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    color: #1e293b;
}
.vb-header-dropdown-wrap:hover > .vb-dropdown-menu,
.vb-dropdown-menu.vb-dropdown-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Panel Header & Close */
.vb-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
}
.vb-panel-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}
.vb-panel-close {
    background: none !important;
    border: none !important;
    font-size: 20px !important;
    line-height: 1 !important;
    color: #94a3b8 !important;
    cursor: pointer;
    padding: 0 !important;
}
.vb-panel-close:hover {
    color: #0f172a !important;
}

/* Mini Cart Dropdown Panel */
.vb-cart-dropdown-panel {
    width: 340px;
    padding: 16px;
}
.vb-cart-items-list,
.vb-wishlist-items-list {
    max-height: 250px;
    overflow-y: auto;
    margin: 8px 0;
    padding-right: 4px;
}
.vb-cart-item-row,
.vb-wishlist-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}
.vb-cart-item-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}
.vb-cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vb-cart-item-info {
    flex: 1;
    min-width: 0;
}
.vb-cart-item-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vb-cart-item-title:hover {
    color: #0284c7;
}
.vb-cart-item-price {
    font-size: 12px;
    color: #64748b;
    margin-top: 3px;
}
.vb-cart-item-remove,
.vb-wishlist-remove-btn {
    background: none !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    cursor: pointer;
    padding: 4px !important;
    text-decoration: none !important;
}
.vb-cart-item-remove:hover,
.vb-wishlist-remove-btn:hover {
    color: #ef4444 !important;
}
.vb-empty-dropdown-msg {
    padding: 24px 12px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}
.vb-cart-panel-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 14px 0;
    border-top: 1px solid #f1f5f9;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}
.vb-cart-panel-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.vb-panel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
}
.vb-panel-btn-primary {
    background: #0284c7 !important;
    color: #ffffff !important;
    border: 1px solid #0284c7 !important;
}
.vb-panel-btn-primary:hover {
    background: #0369a1 !important;
    border-color: #0369a1 !important;
}
.vb-panel-btn-outline {
    background: #ffffff !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
}
.vb-panel-btn-outline:hover {
    border-color: #0284c7 !important;
    color: #0284c7 !important;
}

/* Wishlist Dropdown Panel */
.vb-wishlist-dropdown-panel {
    width: 320px;
    padding: 14px;
}
.vb-panel-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

/* My Account Dropdown Panel */
.vb-account-dropdown-panel {
    width: 270px;
    padding: 0;
    overflow: hidden;
}
.vb-account-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
}
.vb-account-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    background: #0284c7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}
.vb-account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vb-account-user-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.vb-account-user-meta strong {
    font-size: 13px;
    color: #0f172a;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vb-account-user-meta span {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vb-account-menu-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}
.vb-account-menu-list li {
    margin: 0;
}
.vb-account-menu-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 18px;
    font-size: 13px;
    color: #334155;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.vb-account-menu-list li a:hover {
    background: #f1f5f9;
    color: #0284c7;
}
.vb-account-logout-item a {
    color: #ef4444 !important;
    border-top: 1px solid #f1f5f9;
    margin-top: 4px;
    padding-top: 11px !important;
}
.vb-account-guest-card {
    padding: 20px 18px;
    text-align: center;
}
.vb-account-guest-card p {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 14px;
}

/* --- Mobile Menu Trigger & Off-Canvas Drawer --- */
.vb-mobile-menu-toggle {
    display: none;
    background: none !important;
    border: none !important;
    color: #0f172a !important;
    padding: 6px !important;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.vb-mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}
.vb-mobile-drawer-backdrop.vb-drawer-open {
    opacity: 1;
    visibility: visible;
}
.vb-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 999999;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.vb-mobile-drawer.vb-drawer-open {
    transform: translateX(0);
}
.vb-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
}
.vb-drawer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}
.vb-drawer-title {
    font-size: 20px;
    font-weight: 800;
    color: #0b1a30;
}
.vb-drawer-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.vb-drawer-cart-link {
    position: relative;
    color: #0f172a;
    display: inline-flex;
}
.vb-drawer-close-btn {
    background: none !important;
    border: none !important;
    font-size: 26px !important;
    line-height: 1 !important;
    color: #64748b !important;
    cursor: pointer;
    padding: 0 !important;
}
.vb-drawer-nav {
    flex: 1;
    padding: 12px 0;
}
.vb-drawer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.vb-drawer-menu-list > li > a,
.vb-drawer-link-wrap > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none !important;
    transition: background 0.15s ease;
}
.vb-drawer-menu-list > li > a:hover,
.vb-drawer-link-wrap > a:hover {
    background: #f8fafc;
    color: #0284c7;
}
.vb-drawer-badge {
    margin-left: auto;
    background: #0284c7;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}
.vb-drawer-link-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.vb-drawer-link-wrap a {
    flex: 1;
}
.vb-drawer-sub-toggle {
    background: none !important;
    border: none !important;
    padding: 12px 20px !important;
    color: #64748b !important;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.vb-drawer-has-submenu.vb-sub-open .vb-drawer-sub-toggle svg {
    transform: rotate(90deg);
}
.vb-drawer-submenu {
    list-style: none;
    margin: 0;
    padding: 4px 0 8px 38px;
    display: none;
    background: #f8fafc;
}
.vb-drawer-has-submenu.vb-sub-open .vb-drawer-submenu {
    display: block;
}
.vb-drawer-submenu li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: #475569;
    text-decoration: none !important;
}
.vb-drawer-submenu li a:hover {
    color: #0284c7;
}
.vb-drawer-search-wrap {
    padding: 16px 20px;
    border-top: 1px solid #f1f5f9;
}
.vb-drawer-search-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    font-size: 13px;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1100px) {
    .vb-desktop-nav .vb-nav-list {
        gap: 12px;
    }
    .vb-nav-item > a {
        font-size: 12.5px;
        gap: 4px;
    }
    .vb-search-field {
        width: 160px;
    }
    .vb-search-field:focus {
        width: 190px;
    }
}

@media (max-width: 992px) {
    .vb-mobile-menu-toggle {
        display: flex;
        flex-shrink: 0;
    }
    .vb-desktop-nav,
    .vb-header-search-form,
    .vb-topbar-left,
    .vb-topbar-select-item {
        display: none !important;
    }
    .vb-topbar-inner {
        justify-content: center;
        padding: 5px 14px;
    }
    .vb-topbar-right {
        gap: 14px;
        justify-content: center;
    }
    .vb-header-inner {
        padding: 10px 14px;
        gap: 10px;
        flex-wrap: nowrap;
        flex-direction: row-reverse;
    }
    .vb-header-logo-wrap {
        flex: 1;
        min-width: 0;
    }
    .vb-header-right-group {
        flex-shrink: 0;
    }
    .vb-logo-brand svg {
        width: 32px;
        height: 32px;
    }
    .vb-logo-title {
        font-size: 20px;
    }
    .vb-logo-tagline {
        font-size: 8px;
    }
    .vb-cart-label-group {
        display: none !important;
    }
    .vb-cart-pill-btn {
        padding: 2px !important;
        border-radius: 50% !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    .vb-cart-icon-box {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 540px) {
    .vb-header-custom-logo {
       max-height: 60px;
    }
    .vb-logo-tagline {
        display: none !important;
    }
    .vb-logo-title {
        font-size: 18px;
    }
    .vb-topbar-right {
        gap: 10px;
        font-size: 11px;
    }
    .vb-topbar-item {
        font-size: 11px;
        gap: 4px;
    }
    .vb-topbar-item svg {
        width: 12px;
        height: 12px;
    }
    .home.page-id-12180 .entry-hero.page-hero-section, .page-id-12180 .entry-hero.page-hero-section, .post-type-archive-product .entry-hero.page-hero-section, .tax-product_cat .entry-hero.page-hero-section, .single-product .entry-hero.page-hero-section, .woocommerce-cart .entry-hero.page-hero-section, .woocommerce-checkout .entry-hero.page-hero-section, .woocommerce-account .entry-hero.page-hero-section, .dokan-dashboard .entry-hero.page-hero-section, .page-id-11006 .entry-hero.page-hero-section, .page-id-11844 .entry-hero.page-hero-section, .vb-unified-hero {
    padding: 30px 10px !important;
}
}



