/* ================= CƠ BẢN ================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Playfair Display", "Times New Roman", serif; background-color: #fff; color: #1a1a1a; scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
.container { width: 85%; max-width: 1200px; margin: 0 auto; }

/* ================= TOP BAR ================= */
.top-bar { background-color: #111; color: #fff; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.text-gold { color: #D4AF37; }

/* ================= HEADER & NAV ================= */
.main-header { padding: 25px 0; border-bottom: 1px solid #eee; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.search-bar { width: 350px; height: 35px; border: 1px solid #1a1a1a; padding: 0 15px; outline: none; border-radius: 0; }
.btn-cart { background: #1a1a1a; color: #fff; border: none; height: 35px; padding: 0 20px; cursor: pointer; font-size: 11px; text-transform: uppercase; }

.main-nav { margin: 10px 0; border-bottom: 1px solid #1a1a1a; }
.main-nav ul { list-style: none; display: flex; justify-content: center; gap: 50px; padding: 15px 0; }
.main-nav ul li a { font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; }
.main-nav ul li a:hover { color: #D4AF37; }

/* ================= BANNER ================= */
.hero-section { margin-bottom: 50px; }
.banner-wrap { width: 100%; height: 500px; overflow: hidden; }
.banner-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ================= SẢN PHẨM ================= */
.products-area { padding-bottom: 80px; }
.section-title { text-align: center; font-size: 22px; letter-spacing: 5px; text-transform: uppercase; margin-bottom: 50px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.product-card { text-align: center; position: relative; border-bottom: 1px solid #eee; padding-bottom: 20px; transition: 0.3s; }
.product-card:hover { transform: translateY(-5px); }
.product-card img { width: 100%; height: 320px; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; background: #1a1a1a; color: #D4AF37; padding: 5px 10px; font-size: 10px; text-transform: uppercase; }
.product-price { display: block; margin: 15px 0; color: #666; font-size: 15px; }
.btn-action { background: none; border: 1px solid #1a1a1a; padding: 10px 20px; text-transform: uppercase; font-size: 11px; cursor: pointer; transition: 0.3s; }
.btn-action:hover { background: #1a1a1a; color: #fff; }

/* ================= MODAL ĐĂNG NHẬP (LỚP PHỦ) ================= */
.auth-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); z-index: 9999;
    display: none; justify-content: center; align-items: center;
}
.auth-overlay.active { display: flex; }
.auth-card {
    background: #fff; padding: 50px; width: 400px; position: relative;
    border: 1px solid #D4AF37;
}
.close-auth { position: absolute; top: 15px; right: 20px; font-size: 30px; cursor: pointer; }
.auth-box h2 { text-transform: uppercase; letter-spacing: 3px; text-align: center; margin-bottom: 30px; font-size: 20px; border-bottom: 1px solid #d4af37; padding-bottom: 10px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 11px; text-transform: uppercase; margin-bottom: 5px; font-weight: bold; }
.form-group input { width: 100%; height: 40px; border: 1px solid #ddd; padding: 0 10px; border-radius: 0; outline: none; }
.btn-auth-submit { width: 100%; background: #1a1a1a; color: #D4AF37; border: none; padding: 12px; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; }
.auth-toggle { text-align: center; margin-top: 20px; font-size: 12px; }
.auth-toggle a { color: #D4AF37; text-decoration: underline; }

/* ================= FOOTER ================= */
.footer { background: #000; color: #888; padding: 80px 0 30px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer h3 { color: #D4AF37; text-transform: uppercase; margin-bottom: 25px; letter-spacing: 2px; }
.footer ul { list-style: none; line-height: 2.5; }
.footer-input { background: transparent; border: 1px solid #333; color: #fff; padding: 10px; flex: 1; outline: none; }
.footer-btn { background: #D4AF37; border: none; padding: 10px 20px; cursor: pointer; font-weight: bold; }
.footer-bottom { text-align: center; margin-top: 50px; border-top: 1px solid #222; padding-top: 20px; color: #555; }

/* Zalo Float */
.zalo-bubble { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    width: 55px; 
    height: 55px; 
    background: #111; 
    border: 1px solid #D4AF37; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    animation: pulse 2s infinite; 
    z-index: 1000;
}

/* Đây là phần chỉnh logo bé gấp 5 lần */
.zalo-bubble img {
    width: 30px; /* 55px chia 5 = 11px */
    height: 30px;
    object-fit: contain;
}

@keyframes pulse { 
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); } 
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); } 
}
/* ================= HOẠ TIẾT DÌA CẠNH TRANG WEB ================= */
body {
    position: relative;
    padding: 0 20px; /* Tạo khoảng trống cho họa tiết dìa */
}

body::before, body::after {
    content: "";
    position: fixed;
    top: 0;
    width: 15px;
    height: 100%;
    /* Họa tiết kẻ sọc đặc trưng của Gucci */
    background: linear-gradient(90deg, #ae1c1c 33%, #2e5a27 33%, #2e5a27 66%, #ae1c1c 66%);
    z-index: 999;
    opacity: 0.6;
}
body::before { left: 0; }
body::after { right: 0; }

/* ================= ĐỔI MÀU MENU NAV ================= */
.main-nav ul li a {
    color: #555;
    position: relative;
    padding-bottom: 5px;
}

/* Màu riêng cho Trang chủ và Sản phẩm */
.main-nav ul li:nth-child(1) a, 
.main-nav ul li:nth-child(2) a {
    color: #D4AF37; /* Màu vàng Gold */
    font-weight: 800;
}

.main-nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: #D4AF37;
    transition: 0.4s;
    transform: translateX(-50%);
}

.main-nav ul li a:hover::after {
    width: 100%;
}

/* ================= KHUNG SẢN PHẨM GỌN GÀNG ================= */
.product-card {
    border: 1px solid #eee; /* Khung chính */
    padding: 15px;
    background: #fff;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Hiệu ứng đổ bóng nhẹ */
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

/* Khung viền kép khi di chuột vào */
.product-card:hover {
    transform: translateY(-10px);
    border-color: #D4AF37;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 15px;
    /* Bo góc nhẹ cho ảnh sản phẩm trông hiện đại */
    border: 1px solid #f9f9f9;
}

.product-card h3 {
    font-size: 14px;
    height: 40px; /* Giữ tiêu đề thẳng hàng */
    overflow: hidden;
    margin-bottom: 10px;
    color: #1a1a1a;
}

/* Chỉnh nút bấm trong khung cho cân đối */
.btn-action {
    width: 100%;
    border: 1px solid #1a1a1a;
    background: transparent;
    padding: 12px 0;
    font-weight: bold;
    letter-spacing: 1px;
}

.btn-action:hover {
    background: #1a1a1a;
    color: #D4AF37;
}

/* Huy hiệu (Badge) */
.badge {
    top: 25px;
    left: 25px;
    font-weight: bold;
    letter-spacing: 1px;
}
/* ================= THANH NGANG MENU (GIỐNG TOP BAR) ================= */
.nav-full-bar {
    background-color: #111; /* Màu đen giống Top Bar */
    border-top: 1px solid #333;
    border-bottom: 2px solid #D4AF37; /* Viền vàng điểm nhấn */
    margin-bottom: 30px;
}

.main-nav {
    margin: 0 !important; /* Xóa margin cũ */
    border: none !important; /* Xóa border cũ */
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 15px 0;
}

/* Chỉnh chữ trong Menu */
.main-nav ul li a {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff !important; /* Chuyển chữ sang màu trắng cho nổi trên nền đen */
    transition: 0.3s;
}


/* ================= THANH NGANG TIÊU ĐỀ BỘ SƯU TẬP ================= */
.section-title-bar {
    background-color: #f9f9f9; /* Màu xám nhẹ sang trọng */
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin: 40px 0;
    text-align: center;
    position: relative;
}
