.category-page {
    padding: 60px 5%;
    background-color: var(--bg-cream);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.category-title h1 {
    font-size: 36px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.category-breadcrumb {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* --- Price Filter --- */
.price-filter-container {
    width: 300px;
}

.price-filter-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
}

.price-slider-wrapper {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}

.price-slider-track {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #e5e5e5;
    z-index: 1;
}

.price-slider-range {
    position: absolute;
    height: 2px;
    background: var(--primary-color);
    z-index: 2;
}

.price-input {
    position: absolute;
    width: 100%;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 3;
}

.price-input::-webkit-slider-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    pointer-events: auto;
    -webkit-appearance: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* --- Product Grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Product Card Link Wrapper */
.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card {
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}


.product-image-wrapper {
    position: relative;
    aspect-ratio: 0.8;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 4px;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.bestseller-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FFF9E6;
    color: #D97706;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 5;
    border-radius: 2px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.product-info .price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.old-price {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.7;
}

.sale-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e11d48;
    color: white;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 5;
    border-radius: 2px;
}

/* --- Features Section --- */
.features-section {
    padding: 60px 0;
    background-color: var(--bg-cream);
    border-top: 1px solid var(--border-color);
}

.features-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.feature-icon {
    font-size: 28px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    margin-bottom: 4px;
    text-transform: uppercase;
    font-family: var(--font-serif);
}

.feature-content p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.feature-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

/* Responsive Features */
@media (max-width: 1024px) {
    .features-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .feature-divider {
        display: none;
    }

    .feature-item {
        flex: 0 0 45%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .feature-item {
        flex: 0 0 100%;
    }
}

/* --- Load More --- */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.btn-load-more {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--text-dark);
    padding: 15px 40px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-load-more:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.btn-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .price-filter-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .category-title h1 {
        font-size: 28px;
    }
}