:root {
    --primary: #f5b400; /* Yellow Accent */
    --dark: #111111;
    --light-dark: #1a1a1a;
    --gray-bg: #f4f4f4;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; line-height: 1.6; color: #333; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
a { text-decoration: none; color: inherit; }

/* Navbar */
#navbar { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 25px 0; transition: var(--transition); }
#navbar.scrolled { background: rgba(0, 0, 0, 0.95); padding: 12px 0; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; color: #fff; text-transform: uppercase; }
.logo .accent { color: var(--primary); }
.nav-links { display: flex; gap: 25px; list-style: none; }
.nav-links a { color: #fff; font-size: 13px; text-transform: uppercase; font-weight: 600; }
.nav-links a.active, .nav-links a:hover { color: var(--primary); }

/* Hero */
.page-hero { height: 400px; background-size: cover; background-position: center; display: flex; align-items: center; position: relative; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)); }
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-content h1 { font-size: 54px; text-transform: uppercase; font-weight: 900; }

/* Tabs System */
.category-tabs { background: var(--dark); border-bottom: 4px solid var(--primary); }
.tab-wrapper { display: flex; align-items: center; }
.main-tab { background: var(--primary); color: #000; padding: 18px 35px; font-weight: 800; text-transform: uppercase; }
.dropdown-tab { position: relative; padding: 18px 35px; color: #fff; cursor: pointer; }
.dropdown-content { display: none; position: absolute; top: 100%; left: 0; background: #000; width: 250px; z-index: 100; border-top: 2px solid var(--primary); }
.dropdown-content a { display: block; padding: 15px; color: #fff; font-size: 14px; }
.dropdown-content a:hover { background: var(--light-dark); color: var(--primary); }
.dropdown-tab:hover .dropdown-content { display: block; }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.product-card { background: #fff; padding: 15px; text-align: center; border: 1px solid #eee; transition: var(--transition); }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); border-color: var(--primary); }
.product-card img { width: 100%; height: 180px; object-fit: cover; margin-bottom: 15px; transition: var(--transition); }
.product-card:hover img { transform: scale(1.05); }
.product-card h3 { font-size: 15px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.product-card .price { font-weight: 700; color: #d32f2f; margin-bottom: 15px; }

.btn-buy { display: block; background: var(--primary); color: #000; padding: 10px; font-weight: 700; text-transform: uppercase; font-size: 12px; margin-bottom: 8px; }
.view-details { font-size: 11px; color: #666; text-decoration: underline; }

/* Detail Page */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.detail-image img { width: 100%; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.detail-info .price { font-size: 32px; font-weight: 900; color: #d32f2f; margin: 15px 0; }
.short-desc { color: #666; margin-bottom: 30px; font-size: 18px; }
.action-btns { display: flex; gap: 15px; margin-bottom: 40px; }
.btn-yellow { background: var(--primary); color: #000; padding: 18px 45px; font-weight: 800; text-transform: uppercase; display: inline-block; }
.btn-outline { border: 2px solid #333; padding: 18px 45px; font-weight: 800; background: none; cursor: pointer; text-transform: uppercase; }

.features-list { list-style: none; margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.features-list li { color: #444; font-size: 14px; }
.features-list i { color: var(--primary); margin-right: 8px; }

/* Spec Table */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 30px; background: #fff; }
.spec-table td { padding: 15px; border: 1px solid #ddd; font-size: 14px; }
.spec-table td:first-child { font-weight: 700; background: #f9f9f9; width: 35%; color: #111; }

/* Footer */
footer { background: #000; color: #888; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 25px; text-transform: uppercase; font-size: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; font-size: 13px; }

/* Responsive */
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .detail-grid { grid-template-columns: 1fr; } .features-list { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } .hero-content h1 { font-size: 32px; } }