/* Header, WhatsApp button and mini-cart styles (moved out of header.php so browsers cache them) */
.whatsapp-container {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 99999;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: #ffffff !important;
    height: 44px;
    border-radius: 22px;
    padding: 0 12px 0 14px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.25s ease-in-out;
    box-sizing: border-box;
}
.whatsapp-container:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
    background: linear-gradient(135deg, #20ba5a 0%, #0e7368 100%) !important;
}
.whatsapp-floating-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    color: #ffffff !important;
    height: 100%;
}
.whatsapp-floating-link i {
    font-size: 22px;
    color: #ffffff !important;
    margin-right: 8px;
    transition: transform 0.25s ease;
}
.whatsapp-floating-link:hover i {
    transform: rotate(10deg);
}
.whatsapp-btn-text {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.825rem;
    color: #ffffff !important;
    white-space: nowrap;
    letter-spacing: 0.2px;
}
.whatsapp-divider {
    width: 1px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.35);
    margin: 0 10px;
    display: inline-block;
}
.whatsapp-close-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.75) !important;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}
.whatsapp-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
}
@media (max-width: 991px) {
    .whatsapp-container {
        bottom: 64px;
    }
}
@media (max-width: 768px) {
    .whatsapp-container {
        left: 12px;
        bottom: 64px;
        height: 40px;
        padding: 0 10px 0 10px;
    }
    .whatsapp-floating-link i {
        font-size: 18px;
        margin-right: 6px;
    }
    .whatsapp-divider {
        height: 16px;
        margin: 0 8px;
    }
}

/* Mini Cart Dropdown Styles */
.shopping-cart-wrap {
    position: relative;
}

/* Styled Cart Pill Button */
.cart-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 30px;
    color: #0f172a !important;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}
.cart-trigger:hover {
    background: #e2e8f0;
}
.cart-trigger i {
    font-size: 16px;
    color: #0f172a;
}
.cart-trigger .cart-text {
    color: #0f172a;
}
.cart-trigger .cart-total {
    background: #7f0517 !important; /* Theme Burgundy Badge */
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    min-width: 20px;
    height: 20px;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    position: static !important; /* Remove absolute positioning */
    box-shadow: none !important;
    margin-left: 4px;
}

/* Dropdown Card Container */
.mini-cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    padding: 20px;
    z-index: 1000;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.mini-cart-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Header */
.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 12px;
}
.mini-cart-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}
.mini-cart-count-text {
    font-size: 13px;
    color: #64748b;
}

/* Dynamic Content Area styling */
.mini-cart-body {
    max-height: none !important;
    overflow-y: visible !important;
    display: flex;
    flex-direction: column;
}

/* Only the products list scrolls, keeping subtotal & buttons fixed */
.mini-cart-body ul.max-450 {
    max-height: 240px;
    overflow-y: auto;
    padding-right: 6px;
    margin-bottom: 0;
}

/* Custom Scrollbar for products list */
.mini-cart-body ul.max-450::-webkit-scrollbar {
    width: 5px;
}
.mini-cart-body ul.max-450::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 3px;
}
.mini-cart-body ul.max-450::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
.mini-cart-body ul.max-450::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.mini-cart-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Cart Item Row */
.mini-cart-body .cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}
.mini-cart-body .cart-item:last-child {
    border-bottom: none;
}
.mini-cart-body .cart-item .cart-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    overflow: hidden;
    flex-shrink: 0;
}
.mini-cart-body .cart-item .cart-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.mini-cart-body .cart-item .cart-title {
    flex-grow: 1;
    padding-left: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mini-cart-body .cart-item .cart-title h4 {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.4;
    padding-right: 24px; /* Space for delete button */
}
.mini-cart-body .cart-item .cart-title .quanti-price-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}
.mini-cart-body .cart-item .cart-title .quantity {
    font-size: 12.5px;
    color: #64748b;
}
.mini-cart-body .cart-item .cart-title .price-box {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 400;
}
.mini-cart-body .cart-item .cart-title .new-price {
    color: #64748b;
}

/* Remove button */
.mini-cart-body .cart-item .cart-title .remove_from_cart {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    color: #94a3b8 !important;
    font-size: 14px;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.mini-cart-body .cart-item .cart-title .remove_from_cart:hover {
    color: #ef4444 !important;
}

/* Subtotal box */
.mini-cart-body .subtotal-box {
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    margin-top: 12px;
}
.mini-cart-body .subtotal-box .subtotal-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mini-cart-body .subtotal-box .subtotal-title h3 {
    font-size: 14.5px;
    font-weight: 600;
    color: #475569;
    margin: 0;
}
.mini-cart-body .subtotal-box .subtotal-title span {
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
}

/* Buttons */
.mini-cart-body .mini-cart-btns {
    padding-top: 16px;
}
.mini-cart-body .cart-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mini-cart-body .cart-btns a {
    width: 100%;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s;
    text-decoration: none !important;
}
/* View Cart Button - Theme Burgundy */
.mini-cart-body .cart-btns a:first-child {
    background: #7f0517 !important; 
    color: #ffffff !important;
    border: none !important;
}
.mini-cart-body .cart-btns a:first-child:hover {
    background: #5d0310 !important;
}
/* Checkout Button - Outline/Secondary */
.mini-cart-body .cart-btns a:last-child {
    background: #f8fafc !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
}
.mini-cart-body .cart-btns a:last-child:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

/* Override existing style.css box-cart-wrap style */
.box-cart-wrap .shopping-cart-wrap {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

@media (max-width: 991px) {
    .right-blok-box {
        gap: 6px !important;
        align-items: center !important;
    }
    .cart-trigger {
        padding: 8px 12px !important;
        background: #f1f5f9 !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 50% !important; /* Circle on mobile */
        width: 40px !important;
        height: 40px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        text-decoration: none !important;
    }
    .cart-trigger .cart-text {
        display: none !important;
    }
    .cart-trigger i {
        font-size: 16px !important;
        color: #1e293b !important;
    }
    .cart-trigger .cart-total {
        position: absolute !important;
        top: -6px !important;
        right: -6px !important;
        left: auto !important; /* Override default left: -12px */
        margin: 0 !important;
        background: #dc2626 !important; /* Red badge */
        color: #ffffff !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        width: 18px !important;
        height: 18px !important;
        border: 1.5px solid #ffffff !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.15) !important;
        padding: 0 !important;
        line-height: 1 !important;
        aspect-ratio: 1 / 1 !important;
    }
    .mini-cart-dropdown {
        width: 290px !important;
        right: -45px !important;
        padding: 15px !important;
        margin-top: 8px !important;
        z-index: 999999 !important;
    }
}

/* Clear box wrappers around mobile menu hamburger button */
.mobile-menu-btn,
.off-canvas-btn {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
}

/* Ensure no parent containers clip the dropdown in mobile layout */
@media (max-width: 991px) {
    .right-blok-box, 
    .box-cart-wrap, 
    .shopping-cart-wrap {
        position: relative !important;
        overflow: visible !important;
    }
}

/* Breadcrumb sizing and layout optimizations for mobile */
@media (max-width: 767px) {
    .breadcrumb-list li:nth-child(2) {
        display: none !important; /* Hide redundant "Products" root folder */
    }
    .breadcrumb-item a,
    .breadcrumb-item.active {
        max-width: 90px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        display: inline-block !important;
        vertical-align: middle !important;
    }
}

/* Open mini-cart dropdown on hover on desktop */
@media (min-width: 992px) {
    .shopping-cart-wrap {
        position: relative !important;
    }
    .shopping-cart-wrap:hover .mini-cart-dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
}

/* Desktop/laptop: full header auto-fit */
.header-mid {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 0;
}
.header-mid-bar {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
    min-height: 54px;
}
.header-mid-logo {
    flex: 0 0 auto;
}
.header-mid-logo img {
    width: auto !important;
    max-width: 360px !important;
    max-height: 88px !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
}
.header-mid-phone {
    display: none;
    flex: 0 0 auto;
}
.header-mid-phone .contact-call-wrap-top {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-mid-phone img {
    width: 40px;
    height: 40px;
}
.header-mid-phone-label {
    margin: 0;
    font-size: 0.62rem;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
}
.header-mid-phone-num {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: #0f172a;
}
.header-mid-search {
    flex: 1 1 auto;
    min-width: 280px;
}
.header-mid-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex: 0 0 auto;
    height: 54px;
}
.header-mid .search-box-wrapper {
    max-width: 100% !important;
    padding: 0 !important;
}
.header-mid .search-field-wrap {
    height: 54px !important;
    box-sizing: border-box !important;
    border-width: 1px !important;
    border-radius: 8px !important;
    overflow: hidden;
}
.header-mid .search-box-inner .search-field {
    height: 52px !important;
    padding-right: 58px !important;
    font-size: 15.5px !important;
}
.header-mid .search-field-wrap .search-btn button {
    width: 54px !important;
    height: 52px !important;
    line-height: 52px !important;
    font-size: 18px !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
}
.header-mid .cart-trigger {
    height: 54px !important;
    padding: 0 18px !important;
    border-radius: 8px !important;
    background: #7f0517 !important;
    border-color: #7f0517 !important;
    color: #ffffff !important;
}
.header-mid .cart-trigger i,
.header-mid .cart-trigger .cart-text {
    color: #ffffff !important;
}
.header-mid .cart-trigger .cart-total {
    background: #f59e0b !important;
    color: #111827 !important;
}
.header-mid .curreny-wrap {
    height: 54px !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
    border-width: 1px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    background: #f8fafc;
}
.header-mid .curreny-wrap ul {
    margin: 0;
    height: 100%;
}
.header-mid .curreny-wrap ul li {
    padding: 0 14px !important;
    height: 52px;
    margin: 0;
}
.header-mid .curreny-wrap ul li i {
    margin-left: 4px;
}

/* Mobile/tablet search icon + expandable search bar */
.mobile-search-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    flex-shrink: 0;
}
.mobile-search-trigger i {
    font-size: 15px !important;
    color: #1e293b !important;
}
.mobile-search-trigger.is-open,
.mobile-search-trigger:hover {
    background: #7f0517 !important;
    border-color: #7f0517 !important;
    color: #ffffff !important;
}
.mobile-search-trigger.is-open i,
.mobile-search-trigger:hover i {
    color: #ffffff !important;
}
.mobile-header-search {
    display: none;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 0 10px;
}
.mobile-header-search.is-open {
    display: block;
}
.mobile-header-search-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.mobile-header-search-form input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: none;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
}
.mobile-header-search-form button {
    width: 46px;
    height: 42px;
    border: none;
    background: #7f0517;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .header-bottom > .container > .header-nav-row {
        flex-wrap: nowrap !important;
        align-items: center !important;
        min-height: 56px;
        margin-left: 0;
        margin-right: 0;
    }
    .header-bottom .logo {
        margin-top: 0 !important;
    }
    .header-bottom .logo img {
        max-height: 40px !important;
        max-width: min(170px, 100%) !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
    .header-bottom .right-blok-box {
        gap: 8px !important;
        height: 40px !important;
    }
    .header-mobile-logo,
    .header-mobile-actions {
        display: flex !important;
        align-items: center !important;
    }
    .header-mobile-actions {
        justify-content: flex-end !important;
    }
    .header-bottom .mobile-menu-btn a {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: #f1f5f9 !important;
        border: 1px solid #cbd5e1 !important;
        color: #1e293b !important;
    }
    .mobile-menu-btn .off-canvas-btn {
        border: none !important;
        background: transparent !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        width: auto !important;
        height: auto !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .header-bottom .logo img {
        max-height: 46px !important;
        max-width: min(220px, 100%) !important;
    }
}

@media (min-width: 992px) {
    .mobile-search-trigger,
    .mobile-header-search {
        display: none !important;
    }

    header.cms-header {
        min-height: 0 !important;
    }

    .header-top {
        background: #f8fafc;
        border-bottom: 1px solid #e2e8f0;
        padding: 6px 0;
    }
    .header-top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 12px;
        min-height: 32px;
    }
    .header-top-left,
    .header-top-right,
    .header-top-right .nav {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        min-width: 0;
    }
    .header-top-left {
        flex: 1 1 auto;
    }
    .header-top-tagline {
        color: #475569;
        font-weight: 600;
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        flex-shrink: 1;
    }
    .header-top-tagline i {
        margin-right: 6px;
    }
    .header-top-right {
        flex: 0 0 auto;
    }
    .header-top-right .nav {
        gap: 10px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .header-top-right .nav li {
        margin: 0 !important;
        padding: 0 !important;
    }
    .header-top-right .nav a {
        color: #1e293b !important;
        font-size: 0.8rem;
        font-weight: 700;
        white-space: nowrap;
    }
    .header-top-right .nav a i {
        margin-right: 4px;
    }
    .header-top-sep {
        color: #cbd5e1;
        font-weight: 400;
    }

    .header-bottom > .container > .header-nav-row {
        display: flex !important;
        align-items: stretch !important;
        flex-wrap: nowrap !important;
        min-height: 52px;
        margin: 0;
    }
    .header-bottom .header-nav-cats {
        flex: 0 0 auto !important;
        flex-basis: auto !important;
        width: auto !important;
        max-width: max-content !important;
        padding-left: 0;
        padding-right: 0;
    }
    .header-bottom .header-nav-links {
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: none !important;
        padding-left: 4px;
        padding-right: 0;
        min-width: 0;
    }
    .header-bottom .categories-menu-wrap_box,
    .header-bottom .categories_menu {
        height: 52px;
        width: 100%;
        overflow: visible !important;
    }
    .header-bottom .main-menu,
    .header-bottom .main-menu .main-navigation {
        height: 52px;
        width: 100%;
    }
    .header-bottom .categories_title {
        height: 52px !important;
        line-height: 52px !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 38px 0 16px !important;
        white-space: nowrap;
        overflow: hidden;
        background: #6a0412 !important;
        box-shadow: inset 4px 0 0 #d4a017 !important;
        border-right: 1px solid rgba(232, 184, 74, 0.28) !important;
        cursor: pointer;
        transition: background 0.2s ease;
    }
    .header-bottom .categories_title:hover,
    .header-bottom .categories_title.is-open {
        background: #8a0a1c !important;
    }
    .header-bottom .categori_toggle::before {
        right: 14px !important;
        font-size: 14px !important;
        color: #e8b84a !important;
        content: "\f0c9" !important;
    }
    .header-bottom .categori_toggle {
        height: 52px !important;
        line-height: 52px !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        letter-spacing: 0.08em !important;
        color: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
    }
    .header-bottom .main-menu ul {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: space-between !important;
        width: 100% !important;
        height: 52px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        gap: 0;
    }
    .header-bottom .main-menu ul > li {
        display: flex !important;
        align-items: stretch !important;
        margin: 0 !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
    }
    .header-bottom .main-menu ul > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100%;
        height: 52px !important;
        padding: 0 8px !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        line-height: 1.1 !important;
        letter-spacing: 0.07em;
        white-space: nowrap !important;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.92) !important;
        position: relative;
    }
    .header-bottom .main-menu ul > li > a:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.06);
    }
    .header-bottom .main-menu ul > li > a:before {
        height: 2px !important;
        background: #e8b84a !important;
    }
}

@media (min-width: 1200px) {
    .header-mid-phone {
        display: flex;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .header-top-tagline {
        font-size: 0.72rem;
    }
    .header-top-right .nav a {
        font-size: 0.75rem;
    }
    .header-mid-bar {
        gap: 14px;
    }
    .header-mid-logo img {
        max-width: 280px !important;
        max-height: 72px !important;
    }
    .header-mid-search {
        min-width: 180px;
    }
    .header-bottom .categori_toggle {
        font-size: 11.5px !important;
        letter-spacing: 0.04em !important;
    }
    .header-bottom .main-menu ul > li > a {
        font-size: 11.5px !important;
        letter-spacing: 0.04em;
        padding: 0 8px !important;
        font-weight: 600 !important;
    }
}

@media (min-width: 1200px) and (max-width: 1279px) {
    .header-bottom .main-menu ul > li > a {
        font-size: 12px !important;
        padding: 0 10px !important;
    }
}

@media (min-width: 1280px) and (max-width: 1439px) {
    .header-bottom .main-menu ul > li > a {
        font-size: 12.5px !important;
        padding: 0 12px !important;
    }
}

@media (min-width: 1440px) {
    .header-top-tagline {
        font-size: 0.825rem;
    }
    .header-bottom .main-menu ul > li > a {
        font-size: 13px !important;
        padding: 0 16px !important;
    }
    .header-mid-logo img {
        max-width: 400px !important;
        max-height: 96px !important;
    }
}

/* ==========================================================================
   Desktop main navigation (>= 992px): wide "ALL PRODUCTS" button, links grouped
   left with even spacing, "Contact Us" pinned right as a call-to-action.
   ========================================================================== */
@media (min-width: 992px) {
    .header-bottom .header-nav-cats {
        width: 280px !important;
        max-width: 280px !important;
        flex: 0 0 280px !important;
    }
    .header-bottom .categories_title {
        width: 100%;
        padding: 0 46px 0 22px !important;
    }
    .header-bottom .categori_toggle {
        font-size: 13px !important;
        letter-spacing: 0.1em !important;
    }
    .header-bottom .categori_toggle::before {
        right: 20px !important;
        font-size: 15px !important;
    }
    /* The category panel opens on hover as well as on click */
    .header-bottom .categories_menu:hover .categories_menu_toggle {
        display: block !important;
    }
    .header-bottom .categories_menu_toggle {
        left: 0;
        width: min(720px, 78vw) !important;
        max-width: 720px !important;
    }

    .header-bottom .header-nav-links {
        padding-left: 12px !important;
    }
    .header-bottom .main-menu ul {
        justify-content: flex-start !important;
        gap: 2px !important;
    }
    .header-bottom .main-menu ul > li {
        flex: 0 0 auto !important;
    }
    .header-bottom .main-menu ul > li > a {
        width: auto !important;
        padding: 0 16px !important;
        font-size: 13px !important;
        letter-spacing: 0.06em !important;
    }
    .header-bottom .main-menu ul > li.nav-cta {
        margin-left: auto !important;
        align-items: center !important;
    }
    .header-bottom .main-menu ul > li.nav-cta > a {
        height: 36px !important;
        padding: 0 20px !important;
        background: #e8b84a !important;
        color: #3b0208 !important;
        border-radius: 6px;
        font-weight: 700 !important;
        letter-spacing: 0.05em !important;
    }
    .header-bottom .main-menu ul > li.nav-cta > a:hover {
        background: #f3c85e !important;
        color: #2a0005 !important;
    }
    .header-bottom .main-menu ul > li.nav-cta > a:before {
        display: none !important;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .header-bottom .header-nav-cats {
        width: 232px !important;
        max-width: 232px !important;
        flex-basis: 232px !important;
    }
    .header-bottom .categories_title {
        padding: 0 38px 0 16px !important;
    }
    .header-bottom .categori_toggle {
        font-size: 11.5px !important;
        letter-spacing: 0.06em !important;
    }
    .header-bottom .main-menu ul > li > a {
        padding: 0 10px !important;
        font-size: 11.5px !important;
        letter-spacing: 0.04em !important;
    }
    .header-bottom .main-menu ul > li.nav-cta > a {
        padding: 0 14px !important;
    }
}
@media (min-width: 1440px) {
    .header-bottom .header-nav-cats {
        width: 300px !important;
        max-width: 300px !important;
        flex-basis: 300px !important;
    }
    .header-bottom .main-menu ul > li > a {
        padding: 0 20px !important;
        font-size: 13.5px !important;
    }
}
