/* General Layout */
.container-custom {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

.page-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 600;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-item {
    display: flex;
    flex-direction: column;
}

/* Product Card */
.card-custom {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s;
}

.card-custom:hover {
    transform: translateY(-5px);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-body-custom {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.product-title {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.product-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.product-link:hover {
    color: #007bff;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-price {
    font-size: 1.15rem;
    color: #000;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Button Styling */
.btn-add-to-cart {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-add-to-cart:hover {
    background-color: #0056b3;
}

/* No Products Message */
.no-products {
    text-align: center;
    width: 100%;
    margin-top: 50px;
    font-size: 1.2rem;
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}