/* ── PERFORMANCE: Font display swap ── */
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
}

/* ── PERFORMANCE: Reduce CLS ── */
img { max-width: 100%; height: auto; display: block; }
img[width][height] { aspect-ratio: attr(width) / attr(height); }
.product-img-wrap img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.cat-bg { background-color: #111; }
.hero-bg { background-color: #1a1a2e; }

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #e30613;
  --dark: #111111;
  --mid: #333333;
  --light: #f5f5f5;
  --border: #e0e0e0;
  --white: #ffffff;
  --font: 'Montserrat', sans-serif;
  --cond: 'Montserrat', sans-serif;
}

body { font-family: var(--font); color: var(--dark); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ── ANNOUNCEMENT BAR ── */
.topbar {
  background: var(--dark);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow-x: auto;
}
.topbar a { color: var(--white); display: flex; align-items: center; gap: 6px; transition: opacity .2s; }
.topbar a:hover { opacity: .75; }
.topbar svg { flex-shrink: 0; }
.topbar-sep { color: #444; }

/* ── HEADER ── */
header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.header-inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 24px; height: 64px; gap: 32px;
}
.logo { flex-shrink: 0; }
.logo svg { height: 36px; width: auto; }

/* ── NAV ── */
nav { display: flex; align-items: center; height: 100%; flex: 1; }
.nav-list { display: flex; align-items: center; height: 100%; gap: 0; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
  padding: 0 14px; height: 100%; display: flex; align-items: center;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  transition: color .2s;
  border-bottom: 3px solid transparent;
}
.nav-link:hover,
.nav-item:hover .nav-link { color: var(--red); border-bottom-color: var(--red); }
.nav-link.sale { color: var(--red); }
.nav-link.neo {
  background: linear-gradient(90deg, #6c3fff, #ff3fa4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── MEGA MENU ── */
.mega-menu {
  position: absolute; top: 100%; left: -20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  min-width: 700px; padding: 28px;
  display: none; grid-template-columns: 180px 1fr;
  gap: 24px; box-shadow: 0 8px 40px rgba(0,0,0,.12);
  z-index: 999;
}
.nav-item:hover .mega-menu { display: grid; }
.mega-categories { display: flex; flex-direction: column; gap: 6px; }
.mega-cat-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 6px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background .15s; color: var(--dark);
}
.mega-cat-btn:hover,
.mega-cat-btn.active { background: var(--light); color: var(--red); }
.mega-cat-btn span { font-size: 18px; }
.mega-products {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  max-height: 380px; overflow-y: auto;
}
.mega-product { text-align: center; }
.mega-product img { width: 100%; height: 90px; object-fit: contain; transition: transform .2s; }
.mega-product:hover img { transform: scale(1.05); }
.mega-product-name { font-size: 11px; font-weight: 600; margin-top: 5px; color: var(--mid); }
.mega-view-all {
  margin-top: 16px; padding: 10px 14px;
  background: #fff0f0; border-radius: 6px;
}
.mega-view-all a {
  font-size: 12px; color: var(--red); font-weight: 700;
  display: flex; align-items: center; gap: 4px;
}

/* ── HEADER RIGHT ── */
.header-right { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s; color: var(--dark); position: relative;
}
.icon-btn:hover { background: var(--light); }
.cart-badge {
  position: absolute; top: 4px; right: 4px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--red);
  color: #fff; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.search-box {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 0 12px; height: 38px;
}
.search-box input {
  border: none; outline: none; font-family: var(--font);
  font-size: 13px; width: 180px; color: var(--dark);
}
.search-box input::placeholder { color: #aaa; }

/* ── HERO SLIDER ── */
.hero {
  position: relative; overflow: hidden;
  height: 520px; background: #0a0a0a;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 60%);
}
.hero-content { position: relative; z-index: 2; padding: 0 80px; max-width: 640px; }
.hero-eyebrow {
  font-family: var(--cond); font-size: 13px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--red);
  margin-bottom: 10px;
}
.hero-title {
  font-family: var(--cond); font-size: clamp(38px, 5vw, 68px);
  font-weight: 900; line-height: 1; text-transform: uppercase;
  color: #fff; margin-bottom: 14px;
}
.hero-title span { color: var(--red); }
.hero-sub { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: 28px; line-height: 1.5; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  font-family: var(--cond); font-size: 15px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 14px 30px; border-radius: 4px;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: #c0020f; transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid #fff; color: #fff;
  font-family: var(--cond); font-size: 15px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 12px 28px; border-radius: 4px;
  transition: background .2s; margin-left: 12px;
}
.btn-outline:hover { background: rgba(255,255,255,.1); }
.hero-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer; transition: background .2s, transform .2s;
}
.hero-dot.active { background: var(--red); transform: scale(1.3); }
.hero-arrows {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 100%; display: flex; justify-content: space-between;
  padding: 0 16px; pointer-events: none;
}
.hero-arrow {
  width: 44px; height: 44px; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; backdrop-filter: blur(4px);
  cursor: pointer; pointer-events: all; transition: background .2s;
  font-size: 22px; line-height: 1;
}
.hero-arrow:hover { background: var(--red); }

/* ── TRUST BAR ── */
.trustbar {
  background: var(--light); border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}
.trustbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-around; align-items: center;
  gap: 12px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.trust-icon {
  width: 36px; height: 36px; background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; flex-shrink: 0;
}
.trust-item p { font-size: 11px; font-weight: 400; color: #666; }

/* ── SECTIONS ── */
.section { padding: 56px 24px; }
.section-inner { max-width: 1400px; margin: 0 auto; }
.section-header {
  display: flex; align-items: baseline;
  justify-content: space-between; margin-bottom: 28px;
}
.section-title {
  font-family: var(--cond); font-size: 32px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .02em;
}
.section-title span { color: var(--red); }
.view-all {
  font-size: 13px; font-weight: 700; color: var(--red);
  text-transform: uppercase; letter-spacing: .06em;
  display: flex; align-items: center; gap: 4px;
  transition: gap .2s;
}
.view-all:hover { gap: 8px; }

/* ── CATEGORY GRID ── */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.cat-card {
  position: relative; overflow: hidden; border-radius: 10px;
  aspect-ratio: 3/4; cursor: pointer; background: var(--light);
}
.cat-card:first-child {
  grid-column: span 2; grid-row: span 1;
  aspect-ratio: unset; min-height: 320px;
}
.cat-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s ease;
}
.cat-card:hover .cat-bg { transform: scale(1.05); }
.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.05) 55%);
}
.cat-info { position: absolute; bottom: 20px; left: 20px; right: 20px; color: #fff; }
.cat-name {
  font-family: var(--cond); font-size: 22px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .04em;
}
.cat-count { font-size: 12px; opacity: .8; margin-top: 3px; }
.cat-btn {
  display: inline-block; margin-top: 10px;
  background: var(--red); color: #fff;
  font-family: var(--cond); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 3px; transition: background .2s;
}
.cat-card:hover .cat-btn { background: #c0020f; }

/* ── PRODUCT GRID ── */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; transition: box-shadow .25s, transform .2s; cursor: pointer;
}
.product-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.product-img-wrap {
  position: relative; background: var(--light);
  aspect-ratio: 1; overflow: hidden;
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 12px; transition: transform .4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px;
}
.product-badge.new { background: var(--dark); }
.product-wishlist {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; background: rgba(255,255,255,.9); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; opacity: 0; transition: opacity .2s; cursor: pointer;
}
.product-card:hover .product-wishlist { opacity: 1; }
.product-body { padding: 14px; }
.product-brand { font-size: 11px; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: .06em; }
.product-name { font-size: 14px; font-weight: 700; margin-top: 3px; margin-bottom: 8px; line-height: 1.3; }
.product-stars { color: #f5a623; font-size: 12px; margin-bottom: 8px; }
.product-stars span { color: #999; font-size: 11px; }
.product-price { display: flex; align-items: baseline; gap: 8px; }
.price-current { font-family: var(--cond); font-size: 22px; font-weight: 800; color: var(--dark); }
.price-old { font-size: 13px; color: #aaa; text-decoration: line-through; }
.price-save { font-size: 11px; color: var(--red); font-weight: 700; }
.product-cta {
  width: 100%; margin-top: 12px; padding: 10px;
  background: var(--dark); color: #fff;
  font-family: var(--cond); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  border-radius: 5px; transition: background .2s;
}
.product-cta:hover { background: var(--red); }

/* ── PROMO BANNER ── */
.promo-banner {
  margin: 0 24px 56px; border-radius: 14px; overflow: hidden;
  background: var(--dark); position: relative; min-height: 260px;
  display: flex; align-items: center;
}
.promo-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center right; opacity: .35;
}
.promo-content { position: relative; z-index: 2; padding: 52px 64px; max-width: 600px; }
.promo-tag {
  display: inline-block; background: var(--red); color: #fff;
  font-family: var(--cond); font-size: 12px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 3px; margin-bottom: 14px;
}
.promo-title {
  font-family: var(--cond); font-size: clamp(32px, 4vw, 52px);
  font-weight: 900; text-transform: uppercase; color: #fff;
  line-height: 1.05; margin-bottom: 12px;
}
.promo-title em { color: var(--red); font-style: normal; }
.promo-sub { color: rgba(255,255,255,.75); font-size: 15px; margin-bottom: 28px; }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--light); border-radius: 12px; padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.feature-icon { font-size: 36px; }
.feature-title { font-family: var(--cond); font-size: 20px; font-weight: 800; text-transform: uppercase; }
.feature-text { font-size: 14px; color: #555; line-height: 1.6; }

/* ── USP STRIP ── */
.usp-strip { background: var(--red); padding: 18px 24px; }
.usp-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-around; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.usp-item {
  color: #fff; display: flex; align-items: center; gap: 10px;
  font-family: var(--cond); font-size: 16px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
}
.usp-item span { font-size: 22px; }

/* ── NEWSLETTER ── */
.newsletter { background: var(--dark); padding: 64px 24px; text-align: center; }
.newsletter h2 {
  font-family: var(--cond); font-size: 36px; font-weight: 900;
  text-transform: uppercase; color: #fff; margin-bottom: 8px;
}
.newsletter p { color: rgba(255,255,255,.6); margin-bottom: 28px; font-size: 15px; }
.newsletter-form { display: flex; gap: 0; max-width: 460px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 14px 18px; border: none; border-radius: 5px 0 0 5px;
  font-family: var(--font); font-size: 14px; outline: none;
}
.newsletter-form button {
  background: var(--red); color: #fff; padding: 14px 24px;
  font-family: var(--cond); font-size: 14px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  border-radius: 0 5px 5px 0; transition: background .2s;
}
.newsletter-form button:hover { background: #c0020f; }

/* ── FOOTER ── */
footer { background: #0d0d0d; color: rgba(255,255,255,.7); padding: 60px 24px 30px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--cond); font-size: 28px; font-weight: 900;
  color: #fff; letter-spacing: .04em; margin-bottom: 14px;
}
.footer-logo span { color: var(--red); }
.footer-desc { font-size: 13px; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 6px; background: #222;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: background .2s;
}
.social-link:hover { background: var(--red); }
.footer-col h4 {
  font-family: var(--cond); font-size: 15px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: #fff; margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid #1e1e1e; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 12px;
}
.payment-icons { display: flex; gap: 8px; }
.payment-icon {
  background: #fff; border-radius: 4px;
  padding: 3px 8px; font-size: 10px; font-weight: 800; color: var(--dark);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
