/* ---------- Reset Betheme header styles ---------- */
#Header {
    background: none !important;
}

#Top_bar {
    display: none !important;
}

#Action_bar {
    display: none !important;
}

#Header_wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#Header {
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

#Footer .widgets_wrapper {
    display: none !important;
}

#Footer .footer_copy {
    display: none !important;
}

#Footer {
    background: #1e1410 !important;
}

html {
    overflow-x: hidden;
    background: #1e1410;
}

body {
    background-color: #1e1410 !important;
}

body.single-vb_location #Content,
body.page-template-template-locations #Content,
body.page-template-template-franchise #Content,
body.page-template-template-catering #Content,
body.page-template-page-contact #Content {
    padding-top: 0 !important;
}

/* ---------- Custom Header ---------- */
.vb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    transition: box-shadow 0.3s ease, padding 0.3s ease;
    height: 74px;
}

.vb-header.scrolled {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    height: 56px;
}

.vb-header__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* ---------- Logo ---------- */
.vb-header__logo img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
    transition: height 0.3s ease, width 0.3s ease;
    display: block;
}

.vb-header.scrolled .vb-header__logo img {
    height: 42px;
    width: 42px;
}

/* ---------- Desktop Nav ---------- */
.vb-header__nav {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vb-header__nav li {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.vb-header__nav li {
    position: relative;
}

.vb-header__nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #3a2a1a;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.vb-header__nav a:hover {
    background: #f5f3ef;
    color: #483225;
}

/* Dropdown caret */
.vb-header__nav .has-dropdown>a::after {
    content: '';
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

/* ---------- Dropdown ---------- */
.vb-header__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    min-width: 180px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    list-style: none;
    margin: 0;
}

.vb-header__nav .has-dropdown:hover .vb-header__dropdown,
.vb-header__nav .has-dropdown.open .vb-header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vb-header__dropdown a {
    padding: 10px 18px;
    font-size: 13px;
    border-radius: 0;
}

.vb-header__dropdown a:hover {
    background: #f5f3ef;
}

/* ---------- Order Now CTA ---------- */
.vb-header__cta a {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #483225;
    padding: 9px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    display: inline-block;
    white-space: nowrap;
}

.vb-header__cta a:hover {
    color: #b0b579 !important;
    background: #3a2a1a;
    transform: translateY(-1px);
}

/* ---------- Mobile Hamburger ---------- */
.vb-header__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
    align-self: center;
    margin: auto 0;
}

.vb-header__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #3a2a1a;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.vb-header__burger span+span {
    margin-top: 6px;
}

.vb-header__burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.vb-header__burger.active span:nth-child(2) {
    opacity: 0;
}

.vb-header__burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Mobile Overlay ---------- */
.vb-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vb-mobile-menu.open {
    display: flex;
    opacity: 1;
}

.vb-mobile-menu__nav {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.vb-mobile-menu__nav li+li {
    margin-top: 8px;
}

.vb-mobile-menu__nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #3a2a1a;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.vb-mobile-menu__nav a:hover {
    background: #f5f3ef;
}

.vb-mobile-menu__cta {
    margin-top: 32px;
}

.vb-mobile-menu__cta a {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: #483225;
    padding: 14px 40px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease;
}

.vb-mobile-menu__cta a:hover {
    background: #3a2a1a;
}

/* ---------- Body offset for fixed header ---------- */
body {
    padding-top: 74px !important;
}

.admin-bar .vb-header {
    top: 32px;
}

.admin-bar {
    padding-top: 106px !important;
}

body.vb-menu-open {
    overflow: hidden;
}

.admin-bar .vb-mobile-menu {
    top: 32px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {

    .vb-header__nav {
        display: none;
    }

    .vb-header__cta {
        display: block !important;
    }

    .vb-header__cta a {
        font-size: 12px;
        padding: 7px 14px;
    }

    .vb-header__inner {
        gap: 12px;
    }

    .vb-header__burger {
        display: block;
    }

    body {
        padding-top: 68px !important;
    }

    .admin_bar {
        padding-top: 114px !important;
    }

    .admin-bar .vb-header {
        top: 46px;
    }

    .admin-bar .vb-mobile-menu {
        top: 46px;
    }
}

@media (max-width: 782px) {
    .admin-bar .vb-header {
        top: 46px;
    }

    .admin-bar .vb-mobile-menu {
        top: 46px;
    }
}
