/*
* Header New Style - Style halalvlees.nl
*/

/* Top Announcement Bar */
.top-announcement-bar {
    background: #4A3228;
    padding: 10px 20px;
}

.announcement-container {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-bar-left {
    display: flex;
    align-items: center;
}

.top-address {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 13px;
    font-family: 'Work Sans', sans-serif;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.top-address:hover {
    opacity: 0.9;
    color: #fff;
}

.top-address svg {
    flex-shrink: 0;
}

.top-address strong {
    font-weight: 600;
}

.top-bar-right {
    display: flex;
    align-items: center;
}

.top-promo {
    color: #fff;
    font-size: 13px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
}

/* Header New */
.header-new {
    background: var(--bg-cream);
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.header-container {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */
.header-logo a {
    display: block;
}

.header-logo img {
    height: 55px;
    width: auto;
    filter: url(#logo-color);
}

/* Navigation */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-menu li {
    position: relative;
}

.header-menu li a {
    display: block;
    padding: 8px 15px;
    color: #0F0F0F;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Work Sans', sans-serif;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.header-menu li a:hover,
.header-menu li.current-menu-item a {
    background: #4A3228;
    color: #fff;
}

/* Sub-menu */
.header-menu li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.header-menu li:hover ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-menu li ul.sub-menu li a {
    padding: 10px 20px;
    border-radius: 0;
    font-size: 14px;
}

.header-menu li ul.sub-menu li a:hover {
    background: #F5F2EC;
    color: #4A3228;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Search */
.header-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #F5F2EC;
    border: none;
    color: #0F0F0F;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-search:hover {
    background: #4A3228;
    color: #fff;
}

/* Account */
.header-account {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #F5F2EC;
    color: #0F0F0F;
    transition: all 0.3s ease;
}

.header-account:hover {
    background: #4A3228;
    color: #fff;
}

/* Cart */
.header-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: #4A3228;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.header-cart:hover {
    background: #6B4A2F;
    color: #fff;
}

.header-cart svg {
    width: 20px;
    height: 20px;
}

.cart-count {
    position: absolute;
    top: -5px;
    left: 25px;
    background: #fff;
    color: #4A3228;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-total {
    font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 99999;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.mobile-logo img {
    height: 40px;
    width: auto;
    filter: url(#logo-color);
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #0F0F0F;
}

.mobile-nav {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-list li a {
    display: block;
    padding: 15px 20px;
    color: #0F0F0F;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Work Sans', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu-list li a:hover,
.mobile-menu-list li.current-menu-item a {
    background: #F5F2EC;
    color: #4A3228;
}

.mobile-menu-list li ul.sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f9f9f9;
}

.mobile-menu-list li ul.sub-menu li a {
    padding-left: 40px;
    font-size: 14px;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.mobile-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4A3228;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    text-decoration: none;
}

/* Fixed Actions - Floating Phone */
.fixed_actions {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
}

.fixed_actions .telephone {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #4A3228;
    color: #fff;
    padding: 12px 20px 12px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.fixed_actions .telephone:hover {
    background: #6B4A2F;
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.5);
    transform: translateX(-5px);
}

.fixed_actions .telephone svg {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    padding: 6px;
}

.fixed_actions .telephone span {
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-menu li a {
        padding: 8px 14px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .top-announcement-bar {
        padding: 8px 15px;
    }

    .announcement-container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .top-address {
        font-size: 11px;
        justify-content: center;
    }

    .top-address svg {
        display: none;
    }

    .top-promo {
        font-size: 11px;
    }

    .header-new {
        padding: 12px 15px;
    }

    .header-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-logo img {
        height: 45px;
    }

    .header-actions {
        gap: 12px;
    }

    .header-search {
        width: 38px;
        height: 38px;
    }

    .header-search svg {
        width: 18px;
        height: 18px;
    }

    .header-account {
        width: 38px;
        height: 38px;
    }

    .header-account svg {
        width: 20px;
        height: 20px;
    }

    .header-cart {
        padding: 8px 14px;
        font-size: 13px;
    }

    .header-cart svg {
        width: 18px;
        height: 18px;
    }

    .cart-total {
        display: none;
    }

    .cart-count {
        position: static;
        background: #fff;
        margin-left: 5px;
    }
}

@media (max-width: 480px) {
    .header-logo img {
        height: 38px;
    }

    .header-cart {
        padding: 8px 12px;
    }
}

/* Container max-width */
@media(min-width: 960px) {
    .announcement-container, .header-container {
        max-width: 900px;
    }
    .header-container {
        max-width:900px
    }
}

@media(min-width: 1264px) {
    .announcement-container, .header-container {
        max-width: 1185px;
    }
}

@media(min-width: 1904px) {
    .announcement-container, .header-container {
        max-width: 1785px;
    }
}

/* Legacy styles - keep for other pages compatibility */
#secondary {
    display: none;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button {
    background-color: #4A3228 !important;
    color: #fff !important;
    text-align: center;
}

.woocommerce a.button.grey {
    background-color: #dcdcdc !important;
}
