/* assets/css/styles.css */

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.hero {
    background-image: url('../img/poster_header2.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
}

.product-card img {
    height: 180px;
    object-fit: cover;
    border-radius: 0.25rem 0.25rem 0 0;
}

.product-card .card-body {
    font-size: 0.9rem;
}

#cartPanel {
    transition: right 0.3s ease;
}

@media (max-width: 768px) {
    .product-card img {
        height: 140px;
    }
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    padding-top: .5rem;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.product-card .btn {
    font-size: 0.8rem;
    background-color: white;
    border: none;
}

.product-card .btn:hover {
    color: #0d6efd;
}

.product-name {
    font-size: 0.9rem;
    color: #333;
}

.product-card .text-danger {
    font-size: 0.9rem;
}

.product-card .text-muted {
    font-size: 0.8rem;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 0.5rem;
}

.product-card {
    width: calc(50% - 0.5rem);
    margin-bottom: 1rem;
    height: 300px;
}

@media (min-width: 768px) {
    .product-card {
        width: calc(33.333% - 0.5rem);
        height: 300px;
    }
}

@media (min-width: 992px) {
    .product-card {
        width: calc(23%);
        height: 300px;
    }
}