.header-container {
    background: linear-gradient(135deg, #5d5e3e 0%, #4a4b2e 100%) !important;
    width: 100%;
    min-height: 80px;
    padding: 10px 0;
}

.logo-img {
    width: 100%;
    height: 120px;
    max-width: 120px;
    object-fit: contain;
}

/* Navigation alignment */
.main-navigation .primary-navigation {
    display: flex;
    justify-content: flex-end;
}

.main-navigation ul {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul li {
    margin: 0;
}

.main-navigation ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.main-navigation ul li a:hover,
ul.menu li.current-menu-item>a {
    color: #f4a460;
}

/* Account Navigation */
.account-navigation {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.account-navigation .account-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.account-navigation .account-link:hover {
    color: #f4a460;
}

.account-navigation .separator {
    color: rgba(255, 255, 255, 0.5);
}

/* Cart Icon */
.cart-icon-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.cart-icon-link:hover {
    color: #f4a460;
}

.cart-icon {
    font-size: 24px;
}

.cart-count {
    background-color: #f4a460;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Mobile Hamburger Button */
.btn-hamburger {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 36px;
    padding: 5px;
    cursor: pointer;
    line-height: 1;
}

.btn-hamburger:hover {
    opacity: 0.8;
}

/* Mobile Drawer Styles */
.drawer-logo {
    max-width: 80px;
    height: 60px;
}

.drawer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.offcanvas-header {
    background: linear-gradient(135deg, #5d5e3e 0%, #4a4b2e 100%);
    color: #ffffff;
    padding: 1rem;
}

.offcanvas-header .btn-close {
    filter: invert(1);
    width: 24px;
    height: 24px;
    font-size: 24px;
    opacity: 1;
}

.offcanvas-header .btn-close:hover {
    opacity: 0.8;
}

/* Ajustar offcanvas cuando hay admin bar de WordPress */
body.admin-bar .offcanvas {
    margin-top: 32px;
    height: calc(100% - 32px);
}

@media (max-width: 782px) {
    body.admin-bar .offcanvas {
        margin-top: 46px;
        height: calc(100% - 46px);
    }
}

.drawer-section {
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #333333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: background-color 0.3s ease;
}

.drawer-link:hover {
    background-color: rgba(93, 94, 62, 0.1);
    color: #5d5e3e;
}

.drawer-link i {
    font-size: 20px;
}

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

.drawer-nav-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.drawer-nav-menu li:last-child {
    border-bottom: none;
}

.drawer-nav-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333333;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.drawer-nav-menu li a:hover,
.drawer-nav-menu li.current-menu-item a {
    background-color: rgba(93, 94, 62, 0.1);
    color: #5d5e3e;
}

.cart-badge {
    background-color: #f4a460;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
}

.site-branding,
.site-search,
.site-header-cart,
.site-logo-anchor,
.site-logo-link,
.custom-logo-link {
    margin-bottom: 0;
}

.site-header-cart .cart-contents {
    color: #ffffff;
}

.site-header-cart .cart-contents .count {
    padding-right: 2.5px;
}

@media (max-width: 767px) {
    .header-container {
        padding: 5px 0;
    }

    .logo-img {
        max-width: 70px;
        height: auto;
    }

    .main-navigation ul {
        gap: 1rem;
    }

    .main-navigation .primary-navigation {
        display: contents;
        justify-content: flex-end;
    }
}