/* =========================
   1. VARIABLES & RESET
========================= */
:root { 
  --black: #000000; 
  --white: #ffffff; 
  --grey: #f5f5f5; 
  --font-main: 'Inter', sans-serif; 
}

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

body { 
  font-family: var(--font-main); 
  padding-top: 60px; /* Space for Navbar */
  color: var(--black); 
  overflow-x: hidden; 
}

a { text-decoration: none; color: inherit; }
.container { width: 90%; max-width: 1200px; margin: auto; }

/* =========================
   2. NAVBAR
========================= */
.navbar { 
  position: fixed; top: 0; inset-inline: 0; 
  background: var(--black); color: var(--white); 
  height: 60px; z-index: 1000; 
  display: flex; align-items: center; 
}
.nav-flex { 
  display: flex; justify-content: space-between; align-items: center; 
  width: 90%; margin: auto; max-width: 1200px; 
}
.menu-icon { width: 24px; display: flex; flex-direction: column; gap: 5px; cursor: pointer; } 
.bar { width: 100%; height: 2px; background: white; }
.logo-img { height: 28px; width: auto; }
.cart-icon { position: relative; cursor: pointer; }
.cart-count { 
  position: absolute; top: -5px; right: -8px; 
  background: white; color: black; 
  font-size: 10px; font-weight: bold; 
  width: 16px; height: 16px; border-radius: 50%; 
  display: flex; align-items: center; justify-content: center; 
}

/* =========================
   3. HYPE BAR (MARQUEE)
========================= */
.marquee-container { 
  background: var(--black); color: var(--white); 
  padding: 8px 0; overflow: hidden; white-space: nowrap; 
  position: relative; z-index: 900; 
  border-bottom: 1px solid #333; 
}
.marquee-track { 
  display: inline-block; 
  animation: scroll 15s linear infinite; 
  font-weight: 900; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; 
}
.marquee-track span { color: #888; margin: 0 10px; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================
   4. HERO SECTION (FIXED)
========================= */
.hero { 
  height: 65vh; /* Taller to fit the image better */
  position: relative; 
  background: #000; 
}
.hero-img { 
  width: 100%; height: 100%; object-fit: cover; 
  opacity: 0.9; 
}
/* The Dark Overlay - Makes text readable */
.hero-content { 
  position: absolute; inset: 0; 
  background: rgba(0,0,0,0.4); /* Darker overlay */
  display: flex; align-items: center; justify-content: center; text-align: center; 
}
.hero-text-box { width: 90%; }
.hero-text-box h1 { 
  font-size: 36px; /* Smaller font for mobile */
  color: white; margin-bottom: 20px; 
  font-weight: 900; line-height: 1.1; 
  text-shadow: 0 4px 20px rgba(0,0,0,0.8); /* Shadow pops text */
}
/* The Button - Solid White now */
.btn-white { 
  background: white; color: black; border: none;
  padding: 12px 25px; font-weight: 900; text-transform: uppercase; 
  cursor: pointer; font-size: 12px; letter-spacing: 1px;
  display: inline-block;
}

/* =========================
   5. CATEGORIES & GRID
========================= */
.categories-section { padding: 30px 0; }
.section-title { 
  font-size: 18px; text-transform: uppercase; 
  margin-bottom: 20px; font-weight: 900; letter-spacing: 1px; text-align: center; 
}
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.cat-card { 
  position: relative; height: 180px; 
  cursor: pointer; overflow: hidden; border-radius: 4px; 
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; }
.cat-overlay { 
  position: absolute; inset: 0; 
  background: rgba(0,0,0,0.2); 
  display: flex; align-items: center; justify-content: center; 
}
/* Smaller labels to fix the "broken" look */
.cat-overlay h3 { 
  color: white; font-size: 12px; font-weight: 800; letter-spacing: 1px; 
  border: 2px solid white; padding: 6px 12px; 
  background: rgba(0,0,0,0.5); 
}

/* MODEL BANNER */
.model-banner { width: 100%; height: 300px; margin: 30px 0; background: #f5f5f5; }
.model-banner img { width: 100%; height: 100%; object-fit: cover; }

/* PRODUCT GRID */
.shop-section { padding: 20px 0 60px; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }

.p-img-box { 
  background: var(--grey); height: 180px; margin-bottom: 10px; 
  cursor: pointer; border-radius: 4px; overflow: hidden; 
}
.p-img { width: 100%; height: 100%; object-fit: cover; }
.p-details h3 { 
  font-size: 12px; margin-bottom: 5px; font-weight: 700; 
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; 
}
.price-row { 
  display: flex; justify-content: space-between; align-items: center; 
  font-weight: bold; font-size: 13px; 
}
.add-btn { 
  background: var(--black); color: white; width: 28px; height: 28px; 
  border-radius: 50%; border: none; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center; padding-bottom: 2px;
}

/* =========================
   6. VIP SECTION (FIXED)
========================= */
.vip-section { 
  background-color: #000000 !important; /* Force Black */
  color: #ffffff !important; /* Force White Text */
  padding: 60px 0; text-align: center; margin-top: 40px; 
}
.vip-section h2 { font-size: 24px; font-weight: 900; margin-bottom: 10px; color: white; }
.vip-section p { color: #aaa; margin-bottom: 20px; font-size: 13px; }

.vip-form { 
  display: flex; flex-direction: column; gap: 10px; 
  max-width: 300px; margin: auto; 
}
.vip-form input { 
  padding: 15px; border: 1px solid #333; 
  background: #111; color: white; 
  font-weight: bold; outline: none; border-radius: 4px;
}
.vip-form button { 
  padding: 15px; background: white; color: black; 
  border: none; font-weight: 900; cursor: pointer; 
  text-transform: uppercase; font-size: 12px; border-radius: 4px;
}

/* =========================
   7. UTILS & MODALS
========================= */
.back-btn { background: none; border: none; font-size: 14px; font-weight: bold; cursor: pointer; margin-bottom: 20px; }
.product-detail-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
.detail-img-box { background: var(--grey); height: 350px; border-radius: 8px; overflow: hidden; }
.detail-img-box img { width: 100%; height: 100%; object-fit: cover; }
.product-title-large { font-size: 28px; font-weight: 900; line-height: 1.1; margin-bottom: 10px; }
.product-price-large { font-size: 20px; color: #666; margin-bottom: 20px; }
.size-selector { margin-bottom: 30px; }
.size-btns { display: flex; gap: 10px; }
.size-btn { width: 50px; height: 50px; border: 1px solid #ddd; background: white; cursor: pointer; font-weight: bold; }
.size-btn.active { background: black; color: white; border-color: black; }
.big-btn { padding: 20px; font-size: 16px; text-transform: uppercase; width: 100%; background: black; color: white; border: none; font-weight: bold; cursor: pointer; }

/* CART & CHECKOUT */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 101; display: none; }
.overlay.open { display: block; }
.cart-sidebar { position: fixed; top: 0; right: -100%; width: 85%; max-width: 400px; height: 100%; background: white; z-index: 102; transition: 0.3s; display: flex; flex-direction: column; }
.cart-sidebar.open { right: 0; }
.cart-header, .cart-footer { padding: 20px; border-bottom: 1px solid #eee; } .cart-footer { border-top: 1px solid #eee; border-bottom: none; }
.cart-items { flex: 1; padding: 20px; overflow-y: auto; }
.cart-item { display: flex; gap: 10px; margin-bottom: 15px; }
.cart-img { width: 50px; height: 50px; object-fit: cover; }
.btn-black { background: black; color: white; width: 100%; padding: 15px; border: none; font-weight: bold; cursor: pointer; }

.checkout-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; pointer-events: none; opacity: 0; transition: 0.3s; }
.checkout-modal.active { pointer-events: all; opacity: 1; }
.checkout-content { background: white; width: 95%; max-width: 450px; padding: 30px; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); transform: translateY(20px); transition: 0.3s; }
.checkout-modal.active .checkout-content { transform: translateY(0); }
.close-checkout { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 24px; cursor: pointer; }
.input-group { margin-bottom: 20px; } .chk-input { width: 100%; padding: 12px; border: 1px solid #ddd; margin-bottom: 10px; }
.row { display: flex; gap: 10px; justify-content: space-between; } .half { width: 50%; }
.success-icon { width: 60px; height: 60px; background: #00aa00; color: white; border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.success-icon svg { width: 30px; fill: white; }
.btn-outline { background: transparent; border: 1px solid #ddd; padding: 12px; width: 100%; cursor: pointer; font-weight: bold; }
footer { text-align: center; padding: 20px; background: var(--black); color: #666; font-size: 12px; }

/* =========================
   8. PC / DESKTOP RULES (FIXED)
========================= */
@media (min-width: 768px) {
  /* Fix the Zoom Issue */
  .hero { height: 600px; }
  .hero-text-box h1 { font-size: 64px; }
  .model-banner { height: 400px; }
  .model-banner img { object-fit: contain; } /* Keeps image full size on PC */
  
  /* Grid & Layout */
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; }
  .p-img-box { height: 280px; }
  .cat-card { height: 350px; }
  .cat-overlay h3 { font-size: 24px; padding: 15px 30px; }
  
  /* Product Detail */
  .product-detail-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
  .detail-img-box { height: 500px; }
  
  /* VIP Section on PC */
  .vip-form { flex-direction: row; max-width: 400px; }
}

/* === SINGLE PRODUCT UPGRADES === */

/* 1. The "Limited Drop" Badge */
.status-badge {
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 5px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 15px;
  border-radius: 2px;
}

/* 2. Better Price Typography */
.product-price-large {
  font-size: 24px;
  color: #000; /* Made it black instead of grey */
  font-weight: 700;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee; /* Added a line separator */
  padding-bottom: 20px;
  display: block;
}

/* 3. Size Guide Link (Visual only) */
.size-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.size-guide {
  font-size: 11px; text-decoration: underline; color: #666; cursor: pointer;
}

/* 4. Trust Signals (The small text below button) */
.trust-row {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: #555;
  font-weight: 500;
}

/* 5. Mobile Adjustment for Trust Row */
@media (max-width: 768px) {
  .trust-row { flex-direction: column; gap: 8px; text-align: center; align-items: center; }
}