* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background-color: #121212; /* Nền tối sang trọng */
    color: #ffffff;
}

/* Header & Actions */
header {
    background-color: #000;
    padding: 15px 5%;
    border-bottom: 2px solid #f39c12; /* Màu vàng cam đặc trưng Gundam */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.user-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.search-box {
    display: flex;
    background: #222;
    border: 1px solid #444;
    border-radius: 20px;
    padding: 5px 15px;
}

.search-box input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
}

.icon-btn {
    background: none;
    border: none;
    color: #f39c12;
    font-size: 1.3rem;
    cursor: pointer;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Navigation */
nav {
    background-color: #1a1a1a;
    text-align: center;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: #ccc;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #f39c12;
}

/* Main Layout */
.container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 25px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

/* Product Section */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.product-card {
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid #333;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: #f39c12;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: white;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    z-index: 1;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.5s;
}

.product-info {
    padding: 15px;
}

.product-info h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price {
    color: #f39c12;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-group {
    display: flex;
    gap: 8px;
}

.btn-buy {
    flex: 1;
    background: #f39c12;
    color: black;
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-buy:hover {
    background: #e67e22;
}

.btn-detail {
    background: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

/* Sidebar */
.sidebar {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
}

.side-menu { list-style: none; margin-top: 15px; }
.side-menu li { margin-bottom: 12px; border-bottom: 1px solid #333; padding-bottom: 5px; }
.side-menu a { color: #eee; text-decoration: none; font-size: 0.95rem; }
.side-menu a i { color: #f39c12; margin-right: 8px; }

.promo-banner {
    margin-top: 25px;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    color: black;
    font-weight: bold;
}

/* Footer */
.footer {
    background: #000;
    padding: 50px 5% 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.social-icons a {
    color: #f39c12;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: 0.3s;
}

.social-icons a:hover { color: white; }

/* Responsive */
@media (max-width: 992px) {
    .container { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .header-content { flex-direction: column; gap: 15px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
/* Hiệu ứng đặc biệt cho dòng MGEX */
.mgex-special {
    border: 1px solid #f1c40f !important; /* Viền màu vàng gold */
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.2);
}

.gold-badge {
    background: linear-gradient(45deg, #f1c40f, #f39c12) !important;
    color: #000 !important;
}

.mgex-special:hover {
    box-shadow: 0 0 25px rgba(241, 196, 15, 0.5);
    transform: translateY(-10px) scale(1.02); /* Bay cao hơn một chút */
}