/* --- CẤU HÌNH CHUNG --- */
body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: #f3f4f6;
    color: #333;
    margin: 0; padding: 0;
}

/* --- 1. BANNER (SỬA LẠI: Dùng màu phối, không dùng ảnh mạng để tránh bị lỗi xám) --- */
.hero-banner {
    /* Màu xanh đen pha vàng cam - Nhìn rất thể thao và hiện đại */
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    height: 400px; /* Độ cao vừa phải */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    border-bottom: 5px solid #ffc107;
    position: relative;
}

/* --- 2. ẢNH SẢN PHẨM (SỬA LỖI QUAN TRỌNG NHẤT) --- */
.img-wrapper {
    height: 280px; /* Khung ảnh cao ráo */
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px; /* Khoảng hở để ảnh không dính lề */
    border-bottom: 1px solid #eee;
    position: relative;
}

.card-img-top {
    width: 100%;
    height: 100%;
    /* QUAN TRỌNG: contain giúp ảnh hiện nguyên vẹn, không bị cắt/zoom */
    object-fit: contain; 
    transition: transform 0.3s;
}

.product-card:hover .card-img-top {
    transform: scale(1.05); /* Phóng to nhẹ khi di chuột */
}

/* --- 3. THẺ SẢN PHẨM --- */
.product-card {
    border: none;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s;
    overflow: hidden;
    height: 100%; /* Để các thẻ bằng nhau */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-body {
    padding: 20px;
    text-align: center;
}

.card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #2c3e50;
}

.price-tag {
    color: #d32f2f; /* Màu đỏ giá tiền */
    font-weight: 700;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 15px;
}

/* Nút thêm giỏ hàng */
.btn-add-cart {
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    transition: 0.2s;
}

.btn-add-cart:hover {
    background-color: #ffc107;
    color: black;
}

/* Nhãn HOT/NEW */
.badge-overlay {
    position: absolute;
    top: 10px; right: 10px;
    background: #d32f2f;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* --- 4. FOOTER (LIÊN HỆ) --- */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 50px 0 20px;
    margin-top: 50px;
}
footer h5 {
    color: #ffc107;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}
footer ul li {
    margin-bottom: 10px;
}