* { margin:0; padding:0; box-sizing:border-box; }

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface2: #1a1a1a;
  --border: rgba(255,255,255,0.08);
  --text: #ffffff;
  --text2: rgba(255,255,255,0.6);
  --text3: rgba(255,255,255,0.35);
  --yellow: #f5c518;
  --orange: #e8734a;
  --green: #6bcf8e;
  --red: #e05252;
}

html { scroll-behavior:smooth; }
body { font-family:'DM Sans',sans-serif; background:var(--bg); color:var(--text); -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }

/* NAV */
.nav { position:fixed; top:0; left:0; right:0; z-index:100; padding:14px 0; background:rgba(10,10,10,0.9); backdrop-filter:blur(20px); border-bottom:1px solid var(--border); }
.nav-inner { max-width:1200px; margin:0 auto; padding:0 24px; display:flex; align-items:center; justify-content:space-between; }
.nav-logo { font-family:'Bebas Neue',sans-serif; font-size:24px; letter-spacing:2px; }
.nav-logo span { color:var(--yellow); }
.nav-links { display:flex; align-items:center; gap:24px; }
.nav-links a { font-size:13px; color:var(--text2); transition:color 0.2s; }
.nav-links a:hover { color:white; }
.cart-btn { position:relative; cursor:pointer; font-size:18px; padding:8px; }
.cart-count { position:absolute; top:2px; right:0; background:var(--yellow); color:black; font-size:10px; font-weight:700; width:18px; height:18px; border-radius:50%; display:flex; align-items:center; justify-content:center; }

/* HERO */
.hero { min-height:80vh; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding:120px 24px 40px; position:relative; overflow:hidden; background:linear-gradient(180deg, #0a0a0a 0%, #111 100%); }
.hero-grain { position:absolute; inset:0; opacity:0.03; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"); pointer-events:none; }
.hero-inner { position:relative; z-index:1; max-width:700px; }
.hero-tag { display:inline-flex; align-items:center; gap:8px; background:rgba(245,197,24,0.1); border:1px solid rgba(245,197,24,0.2); padding:8px 18px; border-radius:100px; font-size:12px; font-weight:500; color:var(--yellow); margin-bottom:32px; }
.hero h1 { font-family:'Bebas Neue',sans-serif; font-size:clamp(52px,8vw,90px); line-height:0.95; letter-spacing:2px; margin-bottom:24px; }
.hero h1 em { font-family:'Playfair Display',serif; font-style:italic; letter-spacing:-1px; color:var(--yellow); }
.hero-sub { font-size:16px; line-height:1.7; color:var(--text2); max-width:500px; margin:0 auto 32px; }
.hero-cta { display:inline-flex; align-items:center; gap:8px; background:var(--yellow); color:black; padding:14px 28px; border-radius:12px; font-size:14px; font-weight:700; transition:all 0.2s; }
.hero-cta:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(245,197,24,0.3); }

/* MARQUEE */
.marquee { width:100%; overflow:hidden; padding:24px 0; position:relative; z-index:1; }
.marquee-track { display:flex; gap:48px; animation:scroll 30s linear infinite; white-space:nowrap; }
.marquee-track span { font-family:'Bebas Neue',sans-serif; font-size:20px; letter-spacing:4px; color:var(--text3); }
@keyframes scroll { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }

/* STATS */
.stats-bar { border-bottom:1px solid var(--border); padding:24px 0; }
.stats-inner { max-width:1200px; margin:0 auto; padding:0 24px; display:flex; align-items:center; justify-content:center; gap:40px; }
.stat { text-align:center; }
.stat-val { font-family:'Bebas Neue',sans-serif; font-size:28px; color:var(--yellow); display:block; }
.stat-label { font-size:11px; color:var(--text3); text-transform:uppercase; letter-spacing:1px; }
.stat-divider { width:1px; height:32px; background:var(--border); }

/* FILTERS */
.filters { padding:32px 0 16px; border-bottom:1px solid var(--border); }
.filters-inner { max-width:1200px; margin:0 auto; padding:0 24px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.filter-tabs { display:flex; gap:6px; overflow-x:auto; flex:1; }
.filter-tab { background:var(--surface2); border:1px solid var(--border); color:var(--text2); padding:8px 18px; border-radius:10px; font-size:13px; font-family:inherit; font-weight:500; cursor:pointer; white-space:nowrap; transition:all 0.2s; }
.filter-tab:hover { border-color:rgba(255,255,255,0.15); color:white; }
.filter-tab.active { background:var(--yellow); color:black; border-color:var(--yellow); }
.filter-search { display:flex; align-items:center; background:var(--surface2); border:1px solid var(--border); border-radius:10px; padding:0 14px; }
.filter-search i { color:var(--text3); font-size:14px; }
.filter-search input { background:none; border:none; color:white; font-size:13px; font-family:inherit; padding:10px 8px; outline:none; width:180px; }
.filter-search input::placeholder { color:var(--text3); }

/* PRODUCTS */
.products-section { max-width:1200px; margin:0 auto; padding:32px 24px 80px; }
.products-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:16px; }
.loading { text-align:center; padding:60px; color:var(--text3); font-size:14px; grid-column:1/-1; }
.loading i { animation:spin 1s linear infinite; display:inline-block; margin-right:6px; }
@keyframes spin { to { transform:rotate(360deg); } }

/* PRODUCT CARD */
.product-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; overflow:hidden; transition:all 0.3s; cursor:pointer; }
.product-card:hover { transform:translateY(-4px); border-color:rgba(255,255,255,0.12); box-shadow:0 12px 40px rgba(0,0,0,0.4); }
.product-img { position:relative; aspect-ratio:1; background:var(--surface2); overflow:hidden; }
.product-img img { width:100%; height:100%; object-fit:cover; transition:transform 0.4s; }
.product-card:hover .product-img img { transform:scale(1.05); }
.product-badge { position:absolute; top:12px; left:12px; background:var(--red); color:white; padding:4px 10px; border-radius:8px; font-size:11px; font-weight:700; }
.product-stock { position:absolute; bottom:12px; right:12px; background:rgba(0,0,0,0.7); backdrop-filter:blur(8px); color:var(--yellow); padding:4px 10px; border-radius:8px; font-size:10px; font-weight:600; }
.product-info { padding:16px; }
.product-brand { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--yellow); margin-bottom:4px; }
.product-name { font-size:15px; font-weight:600; margin-bottom:10px; line-height:1.3; }
.product-prices { display:flex; align-items:baseline; gap:8px; margin-bottom:12px; }
.product-price { font-family:'Bebas Neue',sans-serif; font-size:26px; color:var(--yellow); }
.product-original { font-size:13px; color:var(--text3); text-decoration:line-through; }
.product-sizes { display:flex; gap:4px; flex-wrap:wrap; }
.product-sizes span { font-size:10px; background:var(--surface2); border:1px solid var(--border); padding:3px 8px; border-radius:6px; color:var(--text2); }

/* PRODUCT MODAL */
.modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.7); z-index:200; opacity:0; visibility:hidden; transition:all 0.3s; }
.modal-overlay.open { opacity:1; visibility:visible; }
.modal-panel { position:fixed; top:50%; left:50%; transform:translate(-50%,-50%) scale(0.95); z-index:201; background:var(--surface); border:1px solid var(--border); border-radius:20px; max-width:800px; width:95%; max-height:90vh; overflow-y:auto; opacity:0; visibility:hidden; transition:all 0.3s; }
.modal-overlay.open + .modal-panel, .modal-panel.open { opacity:1; visibility:visible; transform:translate(-50%,-50%) scale(1); }
.modal-close { position:absolute; top:16px; right:16px; background:var(--surface2); border:1px solid var(--border); color:white; width:36px; height:36px; border-radius:10px; font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:10; }
.modal-grid { display:grid; grid-template-columns:1fr 1fr; }
.modal-gallery { aspect-ratio:1; background:var(--surface2); }
.modal-gallery img { width:100%; height:100%; object-fit:cover; }
.modal-details { padding:32px; display:flex; flex-direction:column; gap:16px; }
.modal-brand { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--yellow); }
.modal-name { font-size:22px; font-weight:700; }
.modal-prices { display:flex; align-items:baseline; gap:10px; }
.modal-price { font-family:'Bebas Neue',sans-serif; font-size:36px; color:var(--yellow); }
.modal-original { font-size:16px; color:var(--text3); text-decoration:line-through; }
.modal-discount { background:var(--red); color:white; padding:4px 10px; border-radius:8px; font-size:12px; font-weight:700; }
.modal-desc { font-size:14px; color:var(--text2); line-height:1.6; }
.modal-options { display:flex; flex-direction:column; gap:8px; }
.modal-options label { font-size:12px; font-weight:600; color:var(--text2); }
.size-grid { display:flex; gap:6px; flex-wrap:wrap; }
.size-btn { padding:8px 16px; border-radius:10px; background:var(--surface2); border:1px solid var(--border); color:var(--text2); font-size:13px; font-family:inherit; cursor:pointer; transition:all 0.2s; }
.size-btn:hover { border-color:rgba(255,255,255,0.2); color:white; }
.size-btn.active { background:var(--yellow); color:black; border-color:var(--yellow); }
.size-btn.oos { opacity:0.3; cursor:not-allowed; text-decoration:line-through; }
.qty-row { display:flex; align-items:center; gap:12px; }
.qty-btn { width:36px; height:36px; border-radius:10px; background:var(--surface2); border:1px solid var(--border); color:white; font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.qty-val { font-size:16px; font-weight:700; min-width:24px; text-align:center; }
.add-to-cart { display:flex; align-items:center; justify-content:center; gap:8px; background:var(--yellow); color:black; padding:14px 28px; border-radius:14px; font-size:15px; font-weight:700; font-family:inherit; border:none; cursor:pointer; width:100%; transition:all 0.2s; margin-top:auto; }
.add-to-cart:hover { box-shadow:0 8px 30px rgba(245,197,24,0.3); }
.add-to-cart:disabled { opacity:0.4; cursor:not-allowed; box-shadow:none; }

/* CART DRAWER */
.cart-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.6); z-index:300; opacity:0; visibility:hidden; transition:all 0.3s; }
.cart-overlay.open { opacity:1; visibility:visible; }
.cart-drawer { position:fixed; top:0; right:-400px; width:380px; max-width:90vw; height:100vh; background:var(--surface); border-left:1px solid var(--border); z-index:301; display:flex; flex-direction:column; transition:right 0.3s; }
.cart-drawer.open { right:0; }
.cart-header { padding:20px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; }
.cart-header h3 { font-size:16px; display:flex; align-items:center; gap:8px; }
.cart-close { background:none; border:none; color:var(--text2); font-size:18px; cursor:pointer; }
.cart-items { flex:1; overflow-y:auto; padding:16px; }
.cart-empty { text-align:center; padding:40px 0; color:var(--text3); }
.cart-empty i { font-size:36px; display:block; margin-bottom:8px; }
.cart-item { display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--border); }
.cart-item-img { width:64px; height:64px; border-radius:10px; background:var(--surface2); overflow:hidden; flex-shrink:0; }
.cart-item-img img { width:100%; height:100%; object-fit:cover; }
.cart-item-info { flex:1; }
.cart-item-name { font-size:13px; font-weight:600; margin-bottom:2px; }
.cart-item-variant { font-size:11px; color:var(--text3); }
.cart-item-bottom { display:flex; align-items:center; justify-content:space-between; margin-top:6px; }
.cart-item-price { font-size:14px; font-weight:700; color:var(--yellow); }
.cart-item-remove { background:none; border:none; color:var(--text3); font-size:14px; cursor:pointer; }
.cart-item-remove:hover { color:var(--red); }
.cart-footer { padding:20px; border-top:1px solid var(--border); }
.cart-total { display:flex; justify-content:space-between; font-size:16px; font-weight:700; margin-bottom:4px; }
.cart-shipping { font-size:11px; color:var(--text3); margin-bottom:16px; }
.checkout-btn { display:flex; align-items:center; justify-content:center; gap:8px; background:var(--yellow); color:black; padding:14px; border-radius:14px; font-size:15px; font-weight:700; font-family:inherit; border:none; cursor:pointer; width:100%; transition:all 0.2s; }
.checkout-btn:hover { box-shadow:0 8px 30px rgba(245,197,24,0.3); }

/* TOAST */
.toast { position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(100px); background:var(--yellow); color:black; padding:12px 24px; border-radius:12px; font-size:13px; font-weight:600; z-index:400; transition:transform 0.3s; display:flex; align-items:center; gap:8px; }
.toast.show { transform:translateX(-50%) translateY(0); }

/* FOOTER */
.footer { border-top:1px solid var(--border); padding:48px 24px 24px; text-align:center; }
.footer-brand { font-family:'Bebas Neue',sans-serif; font-size:28px; letter-spacing:2px; margin-bottom:8px; }
.footer-brand span { color:var(--yellow); }
.footer-info { font-size:13px; color:var(--text3); margin-bottom:24px; }
.footer-bottom { font-size:11px; color:var(--text3); }

/* RESPONSIVE */
@media (max-width:700px) {
  .hero h1 { font-size:42px; }
  .products-grid { grid-template-columns:repeat(2, 1fr); gap:10px; }
  .product-info { padding:12px; }
  .product-name { font-size:13px; }
  .product-price { font-size:22px; }
  .modal-grid { grid-template-columns:1fr; }
  .stats-inner { gap:20px; }
  .stat-val { font-size:22px; }
  .filter-search { display:none; }
}
