.header__top-info-wrap {
    padding: 10px 0;
}

.menu-item {
    border-bottom: 1px solid #444;
}

/* Base Drawer Styles (Hidden on Desktop) */
.mobile-category-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1001;
    transition: 0.3s;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

/* Mobile Specific Overrides */
@media (max-width: 991px) {
    .header__wrap {
        background-color: #fff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    .header__main {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative !important;
        padding: 15px 0 !important;
        width: 100% !important;
        min-height: 60px !important;
    }
    
    .header__logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        display: block !important;
        margin: 0 !important;
        z-index: 10 !important;
        width: auto !important;
        max-width: 150px !important;
    }

    .header__wrap.uk-sticky .header__logo {
        display: block !important;
    }

    .header__logo a {
        display: block !important;
    }

    .header__logo img {
        max-height: 45px !important;
        width: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .hamburger_menu {
        z-index: 20 !important;
        margin: 0 !important;
        display: block !important;
    }

    .header__main-right {
        z-index: 20 !important;
        margin-left: auto !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Mobile Search Styles */
    .header__search-mobile {
        background: #fff;
        padding: 10px 0;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    .header__search-box-mobile {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
    }

    .header__search-box-mobile input {
        width: 100%;
        height: 45px;
        padding: 0 50px 0 20px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 14px;
    }

    .header__search-box-mobile button {
        position: absolute;
        right: 0;
        top: 0;
        width: 45px;
        height: 100%;
        background: none;
        border: none;
        font-size: 18px;
        color: #333;
    }

    /* Mobile Bottom Menu */
    .mobile-bottom-menu {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 999;
        padding: 5px 0;
        border-top: 1px solid #eee;
    }

    .mobile-bottom-menu ul {
        display: flex;
        justify-content: space-around;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-bottom-menu ul li {
        text-align: center;
        flex: 1;
    }

    .mobile-bottom-menu ul li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #333;
        font-size: 11px;
        position: relative;
    }

    .mobile-bottom-menu ul li a i {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .mobile-bottom-menu .count {
        position: absolute;
        top: -5px;
        right: 25%;
        background: #F44336;
        color: #fff;
        font-size: 10px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mobile-category-drawer {
        display: flex; /* Override for mobile */
    }

    .mobile-category-drawer.open {
        left: 0;
    }

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

    .drawer-header h3 {
        margin: 0;
        font-size: 18px;
    }

    .close-drawer {
        background: none;
        border: none;
        font-size: 20px;
    }

    .drawer-body {
        flex: 1;
        overflow-y: auto;
        padding: 10px 0;
    }

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

    .mobile-category-list li {
        border-bottom: 1px solid #f1f1f1;
    }

    .mobile-category-list li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 20px;
        color: #333;
        font-size: 14px;
        text-decoration: none;
    }

    .mobile-category-list .sub-category-list,
    .mobile-category-list .child-category-list {
        list-style: none;
        padding-left: 15px;
        background: #fafafa;
    }

    .drawer-overlay.active {
        display: block;
    }

    .no-scroll {
        overflow: hidden;
    }
}

/* Category Show More Button */
.show-more-categories-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px !important;
    background: #f8f9fa;
    color: #444;
    transition: all 0.3s ease;
    border-top: 1px solid #eee;
}

.show-more-categories-btn:hover {
    background: #f1f1f1;
    color: var(--thm-primary);
}

.show-more-categories-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

/* Category Menu Overlay Fix */
.category-nav {
    position: relative;
    /* height: 470px; Remove fixed height which can break dropdowns */
    }
    
    .category-nav:not(.category-nav-dropdown) {
        height: 470px;
        /* Only apply fixed height on home page main nav */
}

.category-nav__list {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 100 !important;
    box-shadow: 0px 4px 22px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E5E5;
    padding: 10px 0;
    border-radius: 3px;
}

/* Sticky Header logic */
.header__wrap.uk-active .sticky-logo {
    display: block !important;
}

.header__wrap.uk-active .sticky-icons {
    display: flex !important;
}

.header__wrap.uk-active .hamburger_menu {
    margin-right: 15px;
}

.header__wrap.uk-active .main-menu {
    margin-left: 20px;
}

.header__wrap.uk-active .header__category {
    display: none !important;
}

.header__category {
    position: relative;
    /* Ensure the absolute dropdown aligns to this parent */
}

/* Category Dropdown for Non-Home Pages */
.category-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 243px;
    background: #fff;
    z-index: 999;
    box-shadow: 0px 4px 22px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E5E5;
    border-radius: 3px;
    padding: 10px 0;
}

.category-nav-dropdown .category-nav__list {
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

.category-nav-dropdown .menu-item-has-children > a i {
    transition: transform 0.3s ease;
}

/* Accordion Lists */
.sub-category-list-accordion,
.child-category-list-accordion {
    display: none;
    list-style: none;
    padding-left: 20px !important;
    background: #f9f9f9;
}

.category-nav-dropdown li a {
    display: block;
    /* padding: 10px 20px; */
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #f1f1f1;
    text-decoration: none;
}

.category-nav-dropdown li a:hover {
    background: #f1f1f1;
    color: var(--thm-primary);
}

.category-nav-dropdown .menu-item-has-children > ul {
    /* Reset original hover behavior */
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    position: static !important;
    box-shadow: none !important;
}

/* Disable original hover effects for accordion */
.category-nav-dropdown .menu-item-has-children:hover > ul {
    display: none;
    /* We handle it via JS slideToggle */
}

/* Hide template's default menu arrows in the accordion dropdown */
.category-nav-dropdown .menu-item-has-children > a::after,
.category-nav-dropdown .menu-item-has-children > a::before {
    display: none !important;
}

.category-nav > ul > li.menu-item-has-children > a::before {
    right: 0px !important;
}

/* Ensure sub-menus are nested and don't float left */
.category-nav-dropdown ul {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.category-nav__list li {
    position: relative;
    padding: 0 10px !important;
}

.category-nav-dropdown li a i.accordion-chevron {
    float: right;
    margin-top: 10px;
    font-size: 10px;
    color: #999;
}

/* Ensure the parent <a> can clear the float */
.category-nav-dropdown li a {
    overflow: hidden;
}



.product-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    /* margin-bottom: 20px; */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.badge-imported {
    background-color: #FF8717;
    color: white;
    padding: 3px 12px;
    border-radius: 10px;
    font-size: 11px;
    z-index: 10;
    font-weight: 600;
    display: inline-flex;
    position: absolute;
    align-items: center;
    gap: 3px;
    top: 10px;
    left: 10px;
}


.product-image {
    width: 100%;
    height: 290px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}

.product-title a {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50 !important;
    margin-bottom: 10px;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-sku {
    font-size: 12px;
    color: #95a5a6;
    margin-bottom: 10px;
}

.price-section {
    margin-top: auto;
}

.original-price {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 14px;
    margin-right: 8px;
}

.sale-price {
    color: #e74c3c;
    font-size: 20px;
    font-weight: 700;
}

.discount-label {
    background-color: #e74c3c;
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.color-options {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.color-option {
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.color-option:hover {
    border-color: #3498db;
    background-color: #ecf0f1;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
    display: inline-block;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }

    .product-title {
        font-size: 14px;
        min-height: 40px;
    }

    .sale-price {
        font-size: 18px;
    }
}

.btn-light:hover {
    background-color: #b6b6b6;
    color: white;
}

.shop-section .products {
    overflow: hidden;
    margin: 0 -11px;
}