/* =====================================================================
   assets/css/style.css
   Design: streetwear / fashion e-commerce — noir, blanc, accent jaune.
   ===================================================================== */

:root{
  --ink:#0f1115;
  --ink-soft:#1c2028;
  --paper:#ffffff;
  --muted:#6b7280;
  --line:#e9e9ee;
  --accent:#f5c518;
  --accent-ink:#0f1115;
  --danger:#e63946;
  --radius:16px;
  --font: 'Poppins', system-ui, -apple-system, sans-serif;
}

*{ box-sizing:border-box; }

body{
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing:antialiased;
}

a{ text-decoration:none; }

.btn{ border-radius: 50px; font-weight:600; padding: 10px 24px; }
.btn-accent{ background: var(--accent); color: var(--accent-ink); border:none; }
.btn-accent:hover{ background:#e0b400; color: var(--accent-ink); }
.btn-outline-dark{ border-width:2px; }
.btn-dark{ background: var(--ink); border-color: var(--ink); }
.btn-dark:hover{ background:#000; }

.section{ padding: 90px 0; }
.section-sm{ padding: 60px 0; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:0.8rem; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  color: var(--muted);
}
.eyebrow::before{ content:''; width:24px; height:2px; background: var(--accent); display:inline-block; }

.section-title{ font-weight:800; font-size:2.4rem; letter-spacing:-0.5px; }

/* ===================== NAVBAR ===================== */
.store-navbar{
  padding: 18px 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top:0; z-index:1000;
}
.store-brand{
  font-weight:900; font-size:1.4rem; letter-spacing:-0.5px; color: var(--ink);
  display:flex; align-items:center; gap:10px;
}
.store-logo-img{ height:38px; max-width:220px; object-fit:contain; }
.store-brand .dot{ color: var(--accent); }
.store-nav-link{
  color: var(--ink) !important; font-weight:600; padding: 8px 16px !important;
}
.store-nav-link:hover{ color:#000 !important; }
.cart-btn{
  position:relative; width:44px; height:44px; border-radius:50%;
  background: var(--ink); color:#fff; display:flex; align-items:center; justify-content:center;
  border:none;
}
.cart-badge{
  position:absolute; top:-4px; right:-4px; background: var(--accent); color:var(--accent-ink);
  font-size:0.65rem; font-weight:800; width:20px; height:20px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}

/* ===================== HERO ===================== */
.hero{
  background: var(--ink);
  color:#fff;
  position:relative;
  overflow:hidden;
  padding: 70px 0 40px;
}
.hero::before{
  content:'';
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 85% 20%, rgba(245,197,24,0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(245,197,24,0.10), transparent 40%);
}
.hero-content{ position:relative; z-index:1; }
.hero-title{
  font-weight:900; font-size:3.6rem; line-height:1.05; letter-spacing:-1px;
}
.hero-title .accent{ color: var(--accent); }
.hero-subtitle{ color:#c7c9d1; font-size:1.15rem; max-width:480px; margin:20px 0 32px; }
.hero-stats{ display:flex; gap:36px; margin-top:44px; }
.hero-stat b{ display:block; font-size:1.6rem; font-weight:900; }
.hero-stat span{ color:#9aa0ac; font-size:0.85rem; }

.hero-visual{
  position:relative; z-index:1;
  background: linear-gradient(160deg, #23262f, #14161c);
  border-radius: 28px;
  padding: 30px;
  min-height: 460px;
  display:flex; align-items:center; justify-content:center;
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-visual img{
  max-width:100%; max-height:420px; object-fit:contain;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5));
}
.hero-price-tag{
  position:absolute; bottom:26px; left:26px;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 14px; padding: 14px 18px; font-weight:800;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.hero-price-tag small{ display:block; font-weight:600; font-size:0.7rem; opacity:0.75; text-transform:uppercase; }

.marquee-strip{
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 0; overflow:hidden; white-space:nowrap;
  font-weight:800; letter-spacing:1px; font-size:0.9rem;
}
.marquee-track{ display:inline-block; animation: marquee 22s linear infinite; }
.marquee-track span{ margin:0 26px; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ===================== PRODUCT GRID ===================== */
.product-card{
  background:#fff; border-radius: var(--radius); overflow:hidden;
  border:1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease;
  height:100%; display:flex; flex-direction:column;
}
.product-card:hover{ transform: translateY(-6px); box-shadow: 0 20px 40px rgba(15,17,21,0.1); }
.product-thumb{
  position:relative; aspect-ratio: 1/1; background:#f4f4f6; overflow:hidden;
}
.product-thumb img{
  width:100%; height:100%; object-fit:cover; transition: transform .4s ease;
}
.product-card:hover .product-thumb img{ transform: scale(1.06); }
.product-thumb .no-image{
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  color:#c3c5cc; font-size:2.5rem;
}
.badge-sale{
  position:absolute; top:12px; left:12px; background: var(--danger); color:#fff;
  font-size:0.7rem; font-weight:800; padding:5px 10px; border-radius:20px;
}
.badge-featured{
  position:absolute; top:12px; right:12px; background: var(--ink); color:#fff;
  font-size:0.7rem; font-weight:800; padding:5px 10px; border-radius:20px;
}
.product-info{ padding:18px 18px 20px; flex:1; display:flex; flex-direction:column; }
.product-cat{ color: var(--muted); font-size:0.75rem; text-transform:uppercase; letter-spacing:1px; font-weight:700; }
.product-name{ font-weight:700; font-size:1.05rem; margin:6px 0 8px; color: var(--ink); }
.product-price{ margin-top:auto; display:flex; align-items:center; gap:10px; }
.price-now{ font-weight:800; font-size:1.15rem; }
.price-old{ text-decoration: line-through; color: var(--muted); font-size:0.9rem; }

.filter-pills{ display:flex; flex-wrap:wrap; gap:10px; }
.filter-pill{
  padding:8px 18px; border-radius:50px; border:1.5px solid var(--line);
  color: var(--ink); font-weight:600; font-size:0.9rem; background:#fff;
}
.filter-pill.active, .filter-pill:hover{ background: var(--ink); color:#fff; border-color: var(--ink); }

/* ===================== PRODUCT DETAIL ===================== */
.gallery-main{
  aspect-ratio: 1/1; background:#f4f4f6; border-radius: var(--radius); overflow:hidden;
  display:flex; align-items:center; justify-content:center; margin-bottom:14px;
}
.gallery-main img{ width:100%; height:100%; object-fit:cover; }
.gallery-thumbs{ display:flex; gap:10px; flex-wrap:wrap; }
.gallery-thumbs img{
  width:74px; height:74px; object-fit:cover; border-radius:10px; cursor:pointer;
  border:2px solid transparent; opacity:0.7;
}
.gallery-thumbs img.active{ border-color: var(--ink); opacity:1; }

.option-label{ font-weight:700; font-size:0.85rem; text-transform:uppercase; letter-spacing:1px; margin-bottom:10px; }
.size-opt, .color-opt{
  border:1.5px solid var(--line); border-radius:10px; padding:9px 16px; font-weight:600;
  cursor:pointer; background:#fff; color: var(--ink);
}
.size-opt.active, .color-opt.active{ background: var(--ink); color:#fff; border-color: var(--ink); }
.qty-control{ display:flex; align-items:center; border:1.5px solid var(--line); border-radius:10px; overflow:hidden; width:fit-content; }
.qty-control button{ width:42px; height:42px; border:none; background:#f7f7f9; font-weight:800; font-size:1.1rem; }
.qty-control input{ width:50px; text-align:center; border:none; font-weight:700; }

.trust-badges{ display:flex; gap:22px; flex-wrap:wrap; margin-top:26px; }
.trust-badge{ display:flex; align-items:center; gap:8px; color: var(--muted); font-size:0.85rem; font-weight:600; }
.trust-badge i{ color: var(--accent-ink); background: var(--accent); border-radius:50%; padding:6px; font-size:0.9rem; }

/* ===================== CART / CHECKOUT ===================== */
.cart-line{ display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--line); align-items:center; }
.cart-line img{ width:80px; height:80px; object-fit:cover; border-radius:10px; background:#f4f4f6; }
.summary-card{ background:#f7f7f9; border-radius: var(--radius); padding:26px; }
.summary-row{ display:flex; justify-content:space-between; padding:8px 0; color: var(--muted); }
.summary-row.total{ color: var(--ink); font-weight:800; font-size:1.2rem; border-top:1px solid var(--line); margin-top:8px; padding-top:16px; }

.checkout-form label{ font-weight:600; font-size:0.88rem; margin-bottom:6px; }
.checkout-form .form-control{ border-radius:10px; padding:11px 14px; border:1.5px solid var(--line); }
.checkout-form .form-control:focus{ border-color: var(--ink); box-shadow:none; }

/* ===================== FOOTER ===================== */
.store-footer{ background: var(--ink); color:#c7c9d1; padding: 70px 0 30px; }
.store-footer h5{ color:#fff; font-weight:700; margin-bottom:18px; }
.store-footer a{ color:#9aa0ac; display:block; margin-bottom:10px; }
.store-footer a:hover{ color: var(--accent); }
.footer-divider{ border-top:1px solid rgba(255,255,255,0.1); margin: 34px 0 22px; }

/* ===================== EMPTY / ALERTS ===================== */
.empty-state{ text-align:center; padding: 80px 20px; color: var(--muted); }
.empty-state i{ font-size:3.5rem; color:#d8d9de; margin-bottom:16px; }

@media (max-width: 991.98px){
  .hero-title{ font-size:2.4rem; }
  .hero-visual{ margin-top:36px; min-height:340px; }
}
