/* General Styles */
.page-content {
    padding: 0 20px 50px;
}
h1{
    text-align: center;
    font-size: 24px;
}
.shop-header {
    text-align: center;
    margin-bottom: 20px;
}

.shop-header h1 {
    font-size: 2.5rem;
    color: #333; /* Dark grey for header */
    margin: 0;
}

.shop-header p {
    font-size: 1.2rem;
    color: #666; /* Medium grey for subtitle */
}

/* Products Grid */
.products-grid {
    width: 100%;
}

.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-item {
    border: 1px solid #ddd; /* Light grey border */
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-thumbnail img {
    width: 100%;
    height: auto;
}

.product-details {
    padding: 15px;
}

.product-title {
    font-size: 1.2rem;
    color: #333; /* Dark grey for product title */
    margin: 10px 0;
}

.product-price {
    font-size: 1.1rem;
    color: #333; /* Dark grey for product price */
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #ddd; /* Light grey border */
    border-radius: 5px;
    color: #333; /* Dark grey text */
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: #ddd; /* Light grey background */
    color: #333; /* Dark grey text */
}

/* Responsive Styles */

/* Tablets and Smaller Screens */
@media (max-width: 1024px) {
    .shop-header h1 {
        font-size: 2rem;
    }

    .shop-header p {
        font-size: 1rem;
    }

    .products-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .shop-header h1 {
        font-size: 1.8rem;
    }

    .shop-header p {
        font-size: 0.9rem;
    }

    .products-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Very Small Devices */
@media (max-width: 480px) {
    .shop-header h1 {
        font-size: 1.5rem;
    }

    .shop-header p {
        font-size: 0.8rem;
    }

    .product-title {
        font-size: 1rem;
    }

    .product-price {
        font-size: 0.9rem;
    }
}
