/* New Product Hero Section */
.new-arrivals-hero {
    height: 40vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1634712282287-14ed57b9cc89?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    margin-bottom: 2rem;
}

.new-arrivals-hero .hero-content {
    max-width: 800px;
    padding: 2rem;
}

.new-arrivals-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.new-arrivals-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Filter Section */
.filter-section {
    padding: 2rem 5%;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-wood-light);
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-group label {
    font-weight: 500;
    color: var(--color-text);
}

.filter-group select {
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--color-wood-medium);
    border-radius: 8px;
    background: var(--color-white);
    color: var(--color-text);
    font-size: 0.9rem;
    cursor: pointer;
    min-width: 200px;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--color-wood-dark);
}

/* Products Grid */
.products-grid {
    padding: 3rem 5%;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-wood-dark);
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.new-label {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--color-wood-accent);
    color: var(--color-white);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-description {
    color: var(--color-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: var(--color-wood-light);
    border-radius: 12px;
    color: var(--color-text);
}

.add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem;
    background: var(--color-wood-dark);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: var(--color-wood-accent);
    transform: translateY(-2px);
}

.add-to-cart-btn:disabled {
    background: var(--color-wood-accent);
    cursor: not-allowed;
    opacity: 0.8;
}

.add-to-cart-btn i {
    font-size: 0.9rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .new-arrivals-hero {
        height: 30vh;
    }

    .new-arrivals-hero h1 {
        font-size: 2rem;
    }

    .new-arrivals-hero p {
        font-size: 1rem;
    }

    .filter-section {
        padding: 1rem;
        position: sticky;
        top: 60px; /* Match the navbar height */
        z-index: 100;
        background: var(--color-white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .filter-container {
        flex-direction: column;
        gap: 0.8rem;
    }

    .filter-group {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .filter-group label {
        font-size: 0.9rem;
        color: var(--color-wood-dark);
    }

    .filter-group select {
        width: 100%;
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
        background-color: var(--color-wood-light);
        border: 1px solid var(--color-wood-medium);
        border-radius: 8px;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 1em;
    }

    .filter-group select:focus {
        background-color: var(--color-white);
        border-color: var(--color-wood-dark);
        outline: none;
    }

    /* Add spacing after filters before products */
    .products-grid {
        padding-top: 2rem;
    }

    .products-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .product-image {
        height: 250px;
    }

    .product-description {
        font-size: 0.85rem;
    }
    
    .add-to-cart-btn {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .products-container {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
} 