/* === SECTION & CONTAINER === */
.product-slider-section {
    padding: calc(1rem * 4) 0;
}

.prd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
}

/* === FILTER CONTROLS - NEW === */
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: calc(1rem * 0.75);
    margin-bottom: calc(1rem * 2);
    padding-left: 5px;
}

@media (max-width: 480px) {
    .filter-controls {
        justify-content: center;
    }
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--primary-hover);
    border-radius: 20px;
    background-color: transparent;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: white;
    background-color: var(--primary-hover);
}

.filter-btn.active {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--accent-color);
}

/* === SLIDER WRAPPER & BUTTONS === */
.slider-wrapper {
    position: relative;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    background-color: var(--primary);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-50%) scale(1.05);
}

.slider-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    background-color: #e9ecef;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--text-color);
}

.prev-btn {
    left: -22px;
}

.next-btn {
    right: -22px;
}

/* === SLIDER CONTAINER & TRACK === */
.slider-container {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    gap: calc(1rem * 1.5);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === PRODUCT CARD === */
.product-card {
    flex-shrink: 0;
    width: 100%;
    background-color: var(--card-bg);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card.hidden {
    /* NEW */
    display: none;
}

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

.product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-info {
    padding: calc(1rem * 1.25);
}

.product-name {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: calc(1rem * 0.5);
}

.product-description {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* === RESPONSIVE DESIGN === */
.product-card {
    flex-basis: calc(100% / 4 - (1rem * 1.5 * 3 / 4));
}

@media (max-width: 1024px) {
    .product-card {
        flex-basis: calc(100% / 3 - (1rem * 1.5 * 2 / 3));
    }
}

@media (max-width: 768px) {
    .product-card {
        flex-basis: calc(100% / 2 - (1rem * 1.5 * 1 / 2));
    }

    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .product-card {
        flex-basis: 90%;
    }
}