:root {
    --primary-color: #e74c3c;
    --dark-color: #1d1d1f;
    --light-bg: #f5f5f7;
    --text-color: #333;
    --text-muted: #86868b;
    --glow-color: rgba(231, 76, 60, 0.35);
}

/* Base Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background-color: #fff; color: var(--text-color); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.flex-header { display: flex; justify-content: space-between; align-items: center; }

/* Top Bar */
.top-bar { background-color: var(--dark-color); color: #fff; padding: 8px 0; font-size: 12px; }
.top-bar a { color: #fff; text-decoration: none; margin-left: 15px; }
.separator { margin: 0 10px; color: #444; }

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
#logo { font-size: 24px; font-weight: 700; color: var(--dark-color); text-transform: uppercase; text-decoration: none; }
#logo span { color: var(--primary-color); }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--dark-color); font-weight: 500; font-size: 14px; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }
.header-icons { display: flex; align-items: center; gap: 15px; }
.search-wrapper input { padding: 6px 15px; border-radius: 20px; border: 1px solid #ddd; outline: none; width: 140px; }
.icon-btn { background: none; border: none; cursor: pointer; font-size: 18px; }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: -8px; right: -8px; background: var(--primary-color); color: white; font-size: 10px; padding: 2px 5px; border-radius: 50%; }

/* Hero Section & Glow Background */
.hero-section { background-color: var(--light-bg); padding: 80px 0; overflow: hidden; }
.hero-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-text { flex: 1; z-index: 10; }
.hero-text h1 { font-size: 60px; line-height: 1.1; margin-bottom: 20px; color: var(--dark-color); }
.sub-title { color: var(--text-muted); font-weight: 600; letter-spacing: 2px; margin-bottom: 10px; font-size: 14px; }
.price-tag { font-size: 26px; margin-bottom: 40px; font-weight: 300; }
.btn-primary { background: var(--primary-color); color: white; padding: 18px 45px; border-radius: 35px; text-decoration: none; font-weight: 600; display: inline-block; transition: 0.3s; box-shadow: 0 10px 20px rgba(231, 76, 60, 0.2); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(231, 76, 60, 0.3); }

.hero-image-container { flex: 1.2; position: relative; display: flex; justify-content: center; align-items: center; }
.glow-bg {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--glow-color) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}
.hero-img { width: 115%; position: relative; z-index: 5; filter: drop-shadow(0 25px 40px rgba(0,0,0,0.15)); }

/* Product Grid */
.section-header { display: flex; justify-content: space-between; align-items: center; margin: 80px 0 40px; }
.view-all { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.product-card { 
    background: #fff; padding: 35px 25px; border-radius: 28px; text-align: center; border: 1px solid #f2f2f2; 
    transition: 0.4s; position: relative; display: flex; flex-direction: column; align-items: center;
}
.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); border-color: transparent; }
.badge { position: absolute; top: 20px; left: 20px; background: var(--primary-color); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: bold; }
.product-card img { width: 100%; height: 180px; object-fit: contain; margin-bottom: 20px; transition: 0.4s; }
.product-card:hover img { transform: scale(1.08); }

/* Nút Chi tiết nổi bật */
.btn-detail {
    background-color: var(--dark-color);
    color: #fff;
    padding: 12px 0;
    width: 90%;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s all ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 15px;
}
.btn-detail:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

/* Footer */
.main-footer { background: var(--light-bg); padding: 80px 0 0; margin-top: 100px; border-top: 1px solid #eee; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 60px; }
.footer-logo span { color: var(--primary-color); }
.newsletter { display: flex; margin-top: 15px; }
.newsletter input { flex: 1; padding: 10px 15px; border: 1px solid #ddd; border-radius: 25px 0 0 25px; outline: none; }
.newsletter button { background: var(--dark-color); color: #fff; border: none; padding: 0 20px; border-radius: 0 25px 25px 0; cursor: pointer; }
.copy-right { background: #fff; border-top: 1px solid #eee; padding: 25px 0; text-align: center; font-size: 13px; color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-content { flex-direction: column-reverse; text-align: center; }
    .hero-text h1 { font-size: 42px; }
    .hero-img { width: 100%; }
    .glow-bg { width: 300px; height: 300px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .nav-links { display: none; }
    .search-wrapper input { width: 100px; }
    .product-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .newsletter { justify-content: center; }
}