/* 🔹 Slider Wrapper */
.slider-wrapper {
    position: relative;
    height: 30px;
    margin-top: 10px;
}

/* 🔸 Base Range Track (Invisible) */
.slider-wrapper input[type="range"] {
    position: absolute;
    top: 12px;
    width: 100%;
    height: 4px;
    background: transparent;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
    z-index: 1;
}

/* 🔸 Colored Line Behind Thumbs */
.slider-wrapper::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e36713;
    border-radius: 2px;
    z-index: 0;
}

/* 🔸 Range Thumb */
.slider-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff4c2b;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    pointer-events: all;
    position: relative;
    z-index: 3;
}
.slider-wrapper input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff4c2b;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    pointer-events: all;
}

/* Ensure Proper Thumb Layering */
.slider-wrapper input[type="range"]:nth-child(1) {
    z-index: 3;
}
.slider-wrapper input[type="range"]:nth-child(2) {
    z-index: 4;
}

/* 🔹 Manual Input Boxes */
.price-values {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}
.price-values input {
    width: 100%;
    padding: 5px;
    font-size: 13px;
}

/* 🔹 Breadcrumb */
.breadcrumb-fullbar {
    background: #f4f4f4;
    padding-top: 15px;
    padding-bottom: 5px;
}
.breadcrumb {
    font-size: 14px;
    color: #333;
}
.breadcrumb a {
    text-decoration: none;
    color: #333;
    margin: 0 6px;
}
.breadcrumb span {
    font-weight: 600;
    padding-left: 4px;
}

/* 🔹 Category Layout */
.category-page-wrapper {
    background: #f4f4f4;
    margin-top: -5px;
    padding-bottom: 20px;
}
.category-container {
    display: flex;
    max-width: 1320px;
    margin: auto;
    padding: 0px 15px;
    gap: 20px;
    flex-wrap: nowrap;
    align-items: flex-start;
}
.category-header-text {
    font-size: 24px;
    padding-top: 5px;
}
.category-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.04);
}

/* 🔹 Filters */
.filter-box {
    margin-bottom: 30px;
}
.filter-box h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}
.filter-box label {
    display: block;
    margin: 5px 0;
    font-size: 14px;
}

/* 🔹 Main Product Content */
.category-content {
    flex: 1;
}
.category-header {
    display: flex;
    background: white;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-radius: 2px;
    padding: 4px 10px;
}
.sort-options select {
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #e8e8e8;
}

/* 🔹 Responsive Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 2px;
}

/* Medium: 3 columns */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Small: 2 columns */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-container {
        flex-direction: column;
    }

    .category-sidebar {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Extra Small: 1 column */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .sort-options select {
        width: 100%;
    }
}

.no-products {
    font-size: 16px;
    color: #999;
}
