/* Product Grid Styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Exactly 4 columns */
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.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-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: #8b7355;
    margin-bottom: 1rem;
}

.product-button {
    width: 100%;
    padding: 0.8rem;
    background: #8b7355;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.product-button:hover {
    background: #6d5a42;
}

.products-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c2c2c;
    font-size: 2rem;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    gap: 1rem;
}

.pagination-arrow {
    background: #8b7355;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 1.2rem;
}

.pagination-arrow:hover {
    background: #6d5a42;
    transform: scale(1.1);
}

.pagination-arrow:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.pagination-info {
    color: #666;
    font-size: 0.9rem;
}

/* Reviews Section Styles */
.reviews-section {
    padding: 3rem 0;
    background: #f8f8f8;
    margin-top: 3rem;
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c2c2c;
    font-size: 2rem;
}

.reviews-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .products-section h2,
    .reviews-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .reviews-section {
        padding: 2rem 0;
        margin-top: 2rem;
    }
    
    .pagination-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

