/* Products Page Specific Styles */

.products-listing {
    padding: 40px 0 80px;
    min-height: calc(100vh - 200px);
}

.products-controls {
    margin-bottom: 3rem;
}

.filter-section h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid var(--primary-cyan);
    border-radius: 25px;
    color: var(--primary-cyan);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-cyan);
    color: white;
    transform: translateY(-2px);
}

.results-info {
    text-align: center;
    color: var(--text-dark);
    font-weight: 500;
}

/* Desktop Grid - Horizontal Cards */
.desktop-view {
    display: block;
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-card-horizontal {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    min-height: 200px;
    border: 2px solid transparent;
}

.product-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-cyan);
}

.product-image-horizontal {
    width: 250px;
    height: 200px;
    background: #f5f2ed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

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

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

.product-content-horizontal {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-info-horizontal h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-info-horizontal p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: var(--gradient-subtle);
    color: var(--text-dark);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-actions {
    flex-shrink: 0;
}

/* Mobile Slider View */
.mobile-view {
    display: none;
}

.products-mobile-swiper {
    padding-bottom: 50px;
}

.products-mobile-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-card-row {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    min-height: 120px;
    border: 2px solid transparent;
}

.mobile-card-row .product-image-horizontal {
    width: 120px;
    height: 120px;
}

.mobile-card-row .product-content-horizontal {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
}

.mobile-card-row .product-info-horizontal h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.mobile-card-row .product-info-horizontal p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-card-row .product-price {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.mobile-card-row .product-features {
    display: none;
}

.mobile-card-row .btn {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.products-mobile-swiper .swiper-pagination {
    bottom: 15px;
}

.products-mobile-swiper .swiper-pagination-bullet {
    background: var(--primary-cyan);
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.products-mobile-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-green);
}

.no-products {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .desktop-view {
        display: none;
    }

    .mobile-view {
        display: block;
    }

    .filter-buttons {
        justify-content: center;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .products-listing {
        padding: 20px 0 60px;
    }
}

@media (max-width: 480px) {
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
}