.category-header {
    background: linear-gradient(135deg, #fff5eb 0%, #ffffff 100%);
    padding: 25px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.category-header-content {
    max-width: 1400px;
    margin: 0 auto;
}

.category-title-section {
    margin-bottom: 20px;
}

.category-main-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.category-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Horizontal Scrollable Navigation */
.subcategory-nav-container {
    position: relative;
    overflow: hidden;
}

.subcategory-nav-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.subcategory-nav-wrapper::-webkit-scrollbar {
    display: none;
}

.subcategory-nav-item {
    flex: 0 0 auto;
    width: 150px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.subcategory-nav-item:hover {
    transform: translateY(-5px);
}

.subcategory-nav-card {
    background: white;
    border-radius: 12px;
    padding: 15px 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.subcategory-nav-item:hover .subcategory-nav-card {
    border-color: #ff9b00;
    box-shadow: 0 4px 16px rgba(255, 155, 0, 0.2);
}

.subcategory-nav-card.active {
    border-color: #ff9b00;
    background: #fff5eb;
}

.subcategory-nav-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subcategory-nav-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subcategory-nav-image i {
    font-size: 36px;
    color: #ff9b00;
}

.subcategory-nav-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Scroll Arrows */
.nav-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #ff9b00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-scroll-arrow:hover {
    background: #ff9b00;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.nav-scroll-arrow.left {
    left: 0;
}

.nav-scroll-arrow.right {
    right: 0;
}

.nav-scroll-arrow i {
    font-size: 16px;
    color: inherit;
}

/* Flex Wrap Navigation (for Level 2) */
.category-nav-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.category-nav-flex .subcategory-nav-item {
    width: 150px;
}

/* Product Count Badge */
.product-count-badge {
    background: linear-gradient(135deg, #ff9b00, #ffb84d);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

/* Section Divider */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff9b00, transparent);
    margin: 30px 0;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    color: #ff9b00;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.pagination .page-link:hover {
    background: #ff9b00;
    color: white;
    border-color: #ff9b00;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: #ff9b00;
    color: white;
    border-color: #ff9b00;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .category-main-title {
        font-size: 22px;
    }
    
    .subcategory-nav-item {
        width: 140px;
    }
    
    .subcategory-nav-image {
        width: 60px;
        height: 60px;
    }
    
    .subcategory-nav-image i {
        font-size: 28px;
    }
    
    .subcategory-nav-label {
        font-size: 12px;
    }
    
    .nav-scroll-arrow {
        width: 35px;
        height: 35px;
    }
    
    .nav-scroll-arrow i {
        font-size: 14px;
    }
}

:root {
    --primary-orange: #ff9b00;
    --secondary-orange: #ffb84d;
    --dark-text: #1a1a1a;
    --light-text: #666;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
}

/* Main Layout Container */
.category-page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5px;
    display: flex;
    align-items: flex-start;
}

/* MODERN SIDEBAR FILTER */
.filter-sidebar {
    /*position: sticky;*/
    top: 20px;
    width: 350px;
    flex-shrink: 0;
    background: white;
    border-radius: 7px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.filter-sidebar-header {
    padding: 20px;
    background: linear-gradient(135deg, #fff5eb 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-sidebar-title i {
    color: var(--primary-orange);
    font-size: 16px;
}

.clear-filters-btn {
    background: none;
    border: none;
    color: var(--primary-orange);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-filters-btn:hover {
    color: #e68a00;
    transform: scale(1.05);
}

/* Filter Sections */
.filter-sections {
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-orange) #f5f5f5;
}

.filter-sections::-webkit-scrollbar {
    width: 6px;
}

.filter-sections::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.filter-sections::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 10px;
}

.filter-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Price Range Filter */
.price-range-container {
    padding: 10px 0;
}

.price-inputs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.price-input-wrapper {
    flex: 1;
    position: relative;
}

.price-input-label {
    font-size: 11px;
    color: var(--light-text);
    margin-bottom: 5px;
    display: block;
    font-weight: 600;
}

.price-input {
    width: 100%;
    padding: 10px 12px 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.price-input:focus {
    border-color: var(--primary-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 155, 0, 0.1);
}

.currency-symbol {
    position: absolute;
    left: 12px;
    bottom: 11px;
    font-size: 13px;
    color: var(--light-text);
    font-weight: 600;
}

/* Sort Options */
.sort-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.sort-option:hover {
    background: #fff5eb;
    transform: translateX(3px);
}

.sort-option input[type="radio"] {
    display: none;
}

.sort-option-radio {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sort-option input[type="radio"]:checked + .sort-option-radio {
    border-color: var(--primary-orange);
}

.sort-option input[type="radio"]:checked + .sort-option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-orange);
}

.sort-option-label {
    font-size: 13px;
    color: var(--dark-text);
    font-weight: 500;
    flex: 1;
}

/* Color Filter */
.color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.color-option {
    aspect-ratio: 1;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.color-option.selected {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 155, 0, 0.2);
}

.color-option.selected::after {
    content: '✓';
    position: absolute;
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Shipping Options */
.shipping-option {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shipping-option:hover {
    border-color: var(--primary-orange);
    background: #fff5eb;
}

.shipping-option input[type="radio"] {
    display: none;
}

.shipping-option input[type="radio"]:checked ~ .shipping-content {
    color: var(--primary-orange);
}

.shipping-option input[type="radio"]:checked + .shipping-icon {
    background: var(--primary-orange);
    color: white;
}

.shipping-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.shipping-icon i {
    font-size: 16px;
}

.shipping-content {
    flex: 1;
}

.shipping-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-text);
    display: block;
    margin-bottom: 2px;
}

.shipping-description {
    font-size: 11px;
    color: var(--light-text);
}

/* Apply Filter Button */
.apply-filters-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 155, 0, 0.3);
}

.apply-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 155, 0, 0.4);
}

.apply-filters-btn:active {
    transform: translateY(0);
}

/* Products Content Area */
.products-content {
    flex: 1;
    min-width: 0;
}

.products-header {
    margin-bottom: 25px;
}

.products-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.prod-count {
    font-size: 14px;
    color: var(--light-text);
}

.prod-count strong {
    color: var(--dark-text);
    font-weight: 700;
}

.view-toggle {
    display: flex;
    gap: 8px;
    background: white;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.view-btn {
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--light-text);
}

.view-btn:hover {
    background: #f5f5f5;
}

.view-btn.active {
    background: var(--primary-orange);
    color: white;
}

/* Mobile Toggle Button */
.mobile-filter-toggle {
    display: none;
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(255, 155, 0, 0.4);
    cursor: pointer;
    z-index: 1000;
    font-size: 20px;
    transition: all 0.3s ease;
}

.mobile-filter-toggle:hover {
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .category-page-wrapper {
        flex-direction: column;
        align-items: center;
        display: block;
    }
    
    .filter-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        width: 370px;
        max-width: 85%;
        height: 100%;
        overflow-y: auto;
        z-index: 10000;
        transition: left 0.3s ease;
        border-radius: 0;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-orange) #f5f5f5;
    }
    
    .filter-sidebar.open {
        left: 0;
    }
    
    .filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        display: none;
    }
    
    .filter-overlay.show {
        display: block;
    }
    
    .mobile-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .products-content {
        width: 100%;
    }
}

/* Breadcrumb */
.profile_roadmap {
    padding: 15px 20px;
    background: #f8f9fa;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.stt {
    font-size: 14px;
    color: #6c757d;
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.stt a {
    text-decoration: none;
    color: #6c757d;
    transition: color 0.2s;
}

.stt a:hover {
    color: var(--primary-orange);
}

.stt span {
    margin: 0 8px;
}

.stt span:last-child {
    color: #495057;
    font-weight: 500;
}

/* Loading State */
.centerloader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.filterloader {
    width: 120px;
    height: 22px;
    border-radius: 20px;
    color: var(--primary-orange);
    border: 2px solid;
    position: relative;
}

.filterloader::before {
    content: "";
    position: absolute;
    margin: 2px;
    inset: 0 100% 0 0;
    border-radius: inherit;
    background: currentColor;
    animation: l6 2s infinite;
}

@keyframes l6 {
    100% { inset: 0 }
}

.new-wishlist-product-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 300px; /* Adjust based on your layout needs */
    display: block;
    margin: 0 auto;
}

