/* Products Page Specific Styles */

.products-hero {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f5f5f5, white);
}

.products-hero-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.products-hero h1 {
    margin-bottom: 1.5rem;
}

.products-hero p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-warm-text);
    opacity: 0.85;
}

/* Category Filter */
.category-filter {
    padding: 2rem 0;
    background: white;
    position: sticky;
    top: 7.5rem;
    z-index: 40;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    background: #f5f0e8;
    color: var(--color-warm-text);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

.filter-btn:hover {
    background: #e5e0d8;
}

.filter-btn.active {
    background: #9ba888;
    color: white;
}

/* Products Grid */
.products-section {
    padding: 6rem 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.product-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

.product-item[data-category] {
    display: block;
}

.product-item.hidden {
    display: none;
}

.product-image-wrapper {
    border-radius: 1.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 1;
    border: 4px solid rgba(0,0,0,0.05);
    transition: border-color 0.3s;
}

.product-item:hover .product-image-wrapper {
    border-color: rgba(0,0,0,0.1);
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: #f5f0e8;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.product-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.product-description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-warm-text);
    opacity: 0.7;
    margin-bottom: 1rem;
}

.product-benefits {
    list-style: none;
    margin-bottom: 1rem;
}

.product-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-warm-text);
    opacity: 0.6;
    margin-bottom: 0.25rem;
}

.product-benefits li svg {
    width: 0.75rem;
    height: 0.75rem;
    flex-shrink: 0;
}

/* Reviews Section */
.reviews {
    padding: 6rem 0;
    background: #f5f0e8;
}

.reviews .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews .section-header p {
    font-size: 1.125rem;
    color: var(--color-warm-text);
    opacity: 0.8;
    max-width: 42rem;
    margin: 1rem auto 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

.review-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    text-align: center;
}

.reviewer-image {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 4px solid rgba(0,0,0,0.05);
}

.reviewer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card h3 {
    margin-bottom: 0.75rem;
}

.reviewer-role {
    font-size: 0.875rem;
    color: var(--color-warm-text);
    opacity: 0.6;
    margin-bottom: 0.75rem;
}

.review-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-warm-text);
    opacity: 0.8;
}

/* Shipping Banner */
.shipping-banner {
    padding: 4rem 0;
    background: white;
}

.banner-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    background: #9ba888;
    border-radius: 1.5rem;
    padding: 3rem;
}

.banner-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
}

/* Responsive */
@media (max-width: 768px) {
    .products-hero h1 {
        font-size: 2rem;
    }

    .products-hero p {
        font-size: 1rem;
    }

    .category-filter {
        top: 5rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .banner-content {
        padding: 2rem 1.5rem;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
