/* --- CẤU HÌNH CHUNG --- */
:root {
    --primary: #b71c1c; /* Đỏ đậm quý phái */
    --gold: #d4af37;    /* Vàng ánh kim */
    --black: #1a1a1a;
    --white: #ffffff;
    --gray: #f4f4f4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- HEADER --- */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.nav-links { display: flex; gap: 40px; }
.nav-links a { font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.header-icons { display: flex; gap: 20px; font-size: 20px; cursor: pointer; }
.cart-box { position: relative; }
.badge {
    position: absolute; top: -5px; right: -8px;
    background: var(--primary); color: var(--white);
    font-size: 10px; padding: 2px 5px; border-radius: 50%;
}

/* --- HERO SECTION --- */
.hero {
    height: 90vh; /* Chiều cao gần full màn hình */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1469334031218-e382a71b716b?q=80&w=1500&auto=format&fit=crop');
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-bottom: 60px;
}

.hero-content {
    padding-left: 10%; /* Căn trái nội dung */
    max-width: 600px;
}

.hero-content h3 { font-size: 20px; letter-spacing: 3px; margin-bottom: 10px; font-weight: 300; }
.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-content .highlight { color: var(--gold); font-style: italic; }

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 20px;
}
.btn-primary:hover { background: var(--black); }

/* --- PRODUCT GRID (QUAN TRỌNG ĐỂ ĐỀU ẢNH) --- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 36px; }
.divider { width: 60px; height: 3px; background: var(--primary); margin: 15px auto; }

.product-grid {
    display: grid;
    /* Tự động chia cột, tối thiểu 250px/cột -> đảm bảo đều */
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    transition: 0.3s;
}

.product-img {
    position: relative;
    width: 100%;
    padding-top: 133%; /* Tỷ lệ khung hình 3:4 (Chiều cao = 133% chiều rộng) */
    overflow: hidden;
}

.product-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cắt ảnh vừa khít khung, không bị méo */
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img { transform: scale(1.1); }

/* Nút thêm giỏ hàng hiện khi hover */
.overlay {
    position: absolute;
    bottom: -50px; left: 0; right: 0;
    height: 50px;
    background: rgba(255,255,255,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}
.product-card