/* =========================================================
   TRISKELL — DESIGN SYSTEM
   Palette dark + accents néon (lime, cyan, violet)
   ========================================================= */

:root {
  /* Couleurs */
  --bg-0: #07090a;
  --bg-1: #0c1012;
  --bg-2: #131a1d;
  --bg-3: #1c262b;
  --surface: rgba(28, 38, 43, 0.6);
  --surface-hi: rgba(40, 54, 60, 0.85);
  --border: rgba(255, 255, 255, 0.08);
  --border-hi: rgba(255, 255, 255, 0.18);

  --text: #f4f7f5;
  --text-soft: #c8d1cd;
  --text-mute: #7e8b86;

  --lime: #b6ff3c;
  --lime-soft: rgba(182, 255, 60, 0.15);
  --cyan: #5ff5ff;
  --cyan-soft: rgba(95, 245, 255, 0.12);
  --violet: #a48bff;
  --violet-soft: rgba(164, 139, 255, 0.15);

  --accent: var(--lime);
  --accent-glow: 0 0 24px rgba(182, 255, 60, 0.35);

  /* Typo */
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* Échelles */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);

  --container: 1320px;
  --header-h: 76px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; }
ul, ol { list-style: none; }

/* Typo */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--lime);
  box-shadow: var(--accent-glow);
}

/* =========================================================
   LAYOUT
   ========================================================= */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

section { padding: clamp(64px, 9vw, 140px) 0; position: relative; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head .title-block { max-width: 640px; }
.section-head h2 { margin-top: 12px; }
.section-head p { color: var(--text-soft); margin-top: 16px; max-width: 540px; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(7, 9, 10, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header.scrolled {
  background: rgba(7, 9, 10, 0.85);
  border-bottom-color: var(--border);
}

.header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.logo-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  border-radius: 10px;
  color: var(--bg-0);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 14px;
  box-shadow: var(--accent-glow);
}
.logo small { color: var(--text-mute); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 36px; justify-content: center; }
.nav a {
  position: relative;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--lime);
  transition: width 0.3s var(--ease);
  box-shadow: var(--accent-glow);
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--text-soft);
  position: relative;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn:hover { background: var(--surface); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute;
  top: 6px; right: 6px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--lime);
  color: var(--bg-0);
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  transform: scale(0);
  transition: transform 0.3s var(--ease);
}
.cart-badge.visible { transform: scale(1); }

.menu-toggle { display: none; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--lime);
  color: var(--bg-0);
  box-shadow: 0 0 0 0 rgba(182, 255, 60, 0);
}
.btn-primary:hover {
  background: #c8ff5b;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(182, 255, 60, 0.35);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-hi); border-color: var(--border-hi); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hi);
}
.btn-outline:hover { background: var(--surface); border-color: var(--lime); color: var(--lime); }

.btn svg { width: 16px; height: 16px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(182, 255, 60, 0.08), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(95, 245, 255, 0.08), transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(164, 139, 255, 0.05), transparent 70%),
    var(--bg-0);
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=2400&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 9, 10, 0.4) 0%, rgba(7, 9, 10, 0.85) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content h1 {
  margin: 22px 0 26px;
}
.hero-content h1 .accent {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(120deg, var(--lime), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-content p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat .num span { font-size: 0.7em; color: var(--lime); }
.stat .label { font-size: 12px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 4px; font-family: var(--font-mono); }

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.hero-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s var(--ease);
}
.hero-card:hover img { transform: scale(1.06); }
.hero-card-info {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  padding: 18px 20px;
  background: rgba(7, 9, 10, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hero-card-info h4 { font-size: 15px; font-weight: 600; font-family: var(--font-sans); }
.hero-card-info p { font-size: 12px; color: var(--text-mute); margin-top: 2px; }
.hero-card-info .price {
  font-family: var(--font-mono);
  color: var(--lime);
  font-weight: 600;
  font-size: 14px;
}

.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--lime), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* =========================================================
   MARQUEE / TICKER
   ========================================================= */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  background: var(--bg-1);
}
.ticker-track {
  display: flex;
  gap: 60px;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  color: var(--text-soft);
}
.ticker-item .dot { color: var(--lime); }
@keyframes tickerScroll {
  to { transform: translateX(-50%); }
}

/* =========================================================
   CATEGORIES
   ========================================================= */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  grid-auto-rows: minmax(220px, auto);
}
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  isolation: isolate;
  cursor: pointer;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--lime); }
.cat-card-1 { grid-column: span 6; grid-row: span 2; }
.cat-card-2 { grid-column: span 3; }
.cat-card-3 { grid-column: span 3; }
.cat-card-4 { grid-column: span 3; }
.cat-card-5 { grid-column: span 3; }

.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}
.cat-card:hover img { transform: scale(1.08); }
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 9, 10, 0.1) 0%, rgba(7, 9, 10, 0.85) 100%);
}
.cat-card-body {
  position: absolute;
  inset: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.cat-card h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); margin-bottom: 6px; }
.cat-card-1 h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cat-card .count { font-family: var(--font-mono); font-size: 11px; color: var(--lime); letter-spacing: 0.1em; text-transform: uppercase; }
.cat-card .arrow {
  position: absolute;
  top: 22px; right: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(7, 9, 10, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.cat-card:hover .arrow { background: var(--lime); color: var(--bg-0); transform: rotate(-45deg); }
.cat-card .arrow svg { width: 18px; height: 18px; }

/* =========================================================
   PRODUCTS
   ========================================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
  box-shadow: var(--shadow-md);
}
.product-media {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-2);
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: var(--lime);
  color: var(--bg-0);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
}
.product-badge.violet { background: var(--violet); }
.product-badge.cyan { background: var(--cyan); color: var(--bg-0); }
.product-badge.dark { background: rgba(7,9,10,0.85); color: var(--lime); border: 1px solid var(--lime); }
.product-fav {
  position: absolute;
  top: 12px; right: 12px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(7, 9, 10, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-soft);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.product-fav:hover, .product-fav.active { color: var(--lime); background: var(--lime-soft); }
.product-fav svg { width: 16px; height: 16px; }

.product-quick {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.product-card:hover .product-quick { opacity: 1; transform: translateY(0); }
.product-quick .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 12px;
  justify-content: center;
}

.product-info { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.product-cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); }
.product-name { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--text); }
.product-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 12px; }
.product-price { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--text); display: flex; align-items: baseline; gap: 8px; }
.product-price .old { font-size: 12px; color: var(--text-mute); text-decoration: line-through; font-weight: 400; }
.product-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-soft); font-family: var(--font-mono); }
.product-rating svg { width: 13px; height: 13px; color: var(--lime); }

/* =========================================================
   ADVANTAGES
   ========================================================= */
.advantages {
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  position: relative;
  overflow: hidden;
}
.advantages::before {
  content: "";
  position: absolute;
  top: -50%; left: 50%;
  width: 120vmax; height: 120vmax;
  background: radial-gradient(circle, var(--lime-soft), transparent 50%);
  transform: translate(-50%, 0);
  pointer-events: none;
  opacity: 0.6;
}
.advantages > .container { position: relative; }
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.advantage {
  padding: 32px 28px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.advantage:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
  background: var(--bg-3);
}
.advantage-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--lime-soft);
  border: 1px solid var(--lime);
  border-radius: 14px;
  color: var(--lime);
  margin-bottom: 22px;
}
.advantage-icon svg { width: 26px; height: 26px; }
.advantage h4 { font-family: var(--font-sans); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.advantage p { font-size: 14px; color: var(--text-soft); line-height: 1.55; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  background: var(--bg-1);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.testimonial:hover { transform: translateY(-4px); border-color: var(--border-hi); }
.testimonial::before {
  content: "“";
  position: absolute;
  top: -18px; left: 24px;
  font-family: var(--font-display);
  font-size: 96px;
  color: var(--lime);
  line-height: 1;
  opacity: 0.6;
}
.testimonial-rating { display: inline-flex; gap: 2px; color: var(--lime); }
.testimonial-rating svg { width: 16px; height: 16px; }
.testimonial blockquote { font-size: 15px; color: var(--text-soft); line-height: 1.65; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.testimonial-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-author .name { font-size: 14px; font-weight: 600; color: var(--text); }
.testimonial-author .role { font-size: 12px; color: var(--text-mute); font-family: var(--font-mono); }

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter {
  background:
    radial-gradient(ellipse at 30% 50%, var(--lime-soft), transparent 60%),
    radial-gradient(ellipse at 70% 50%, var(--cyan-soft), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.newsletter-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.newsletter h2 { margin: 16px 0 16px; }
.newsletter p { color: var(--text-soft); margin-bottom: 32px; }
.newsletter-form {
  display: flex;
  gap: 8px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
  max-width: 540px;
  margin: 0 auto;
  transition: border-color 0.2s var(--ease), box-shadow 0.3s var(--ease);
}
.newsletter-form:focus-within {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px var(--lime-soft);
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0 22px;
  font-size: 15px;
}
.newsletter-form input::placeholder { color: var(--text-mute); }
.newsletter-form .btn { padding: 12px 24px; }
.newsletter-note { font-size: 12px; color: var(--text-mute); margin-top: 18px; font-family: var(--font-mono); }
.newsletter-note .ok { color: var(--lime); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--bg-0);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}
.footer-brand p { color: var(--text-soft); margin: 16px 0 22px; max-width: 320px; font-size: 14px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-soft);
  transition: all 0.2s var(--ease);
}
.footer-social a:hover { color: var(--lime); border-color: var(--lime); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-soft); font-size: 14px; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--lime); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-mute);
  font-family: var(--font-mono);
}
.footer-bottom .legal { display: flex; gap: 22px; }

.footer-mega {
  position: absolute;
  bottom: -40px; left: 0; right: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 300;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* =========================================================
   CART DRAWER
   ========================================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(480px, 100%);
  background: var(--bg-1);
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-head h3 { font-size: 22px; font-family: var(--font-display); }
.cart-head .count { font-family: var(--font-mono); font-size: 12px; color: var(--text-mute); }
.cart-body { flex: 1; overflow-y: auto; padding: 14px 26px; }
.cart-empty { padding: 60px 0; text-align: center; color: var(--text-mute); }
.cart-empty svg { width: 64px; height: 64px; opacity: 0.3; margin: 0 auto 18px; }
.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 70px; height: 70px; border-radius: 10px; object-fit: cover; }
.cart-item-name { font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.cart-item-variant { font-size: 11px; color: var(--text-mute); font-family: var(--font-mono); margin-bottom: 8px; }
.cart-item-controls { display: flex; align-items: center; gap: 8px; }
.qty {
  display: inline-flex;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.qty button {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  color: var(--text-soft);
}
.qty button:hover { color: var(--lime); }
.qty span { padding: 0 8px; font-family: var(--font-mono); font-size: 12px; min-width: 26px; text-align: center; }
.cart-item-remove {
  font-size: 11px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-item-remove:hover { color: var(--lime); }
.cart-item-price { font-family: var(--font-mono); font-size: 14px; font-weight: 600; }

.cart-foot {
  padding: 22px 26px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.cart-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; }
.cart-row.total { font-family: var(--font-display); font-size: 22px; margin-bottom: 18px; padding-top: 12px; border-top: 1px solid var(--border); }
.cart-row .price { font-family: var(--font-mono); font-weight: 600; }
.cart-foot .btn { width: 100%; justify-content: center; }
.cart-foot small { display: block; text-align: center; margin-top: 12px; color: var(--text-mute); font-size: 11px; font-family: var(--font-mono); }

/* =========================================================
   SHOP PAGE
   ========================================================= */
.shop-hero {
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 60px;
  background:
    radial-gradient(ellipse at 70% 50%, var(--lime-soft), transparent 60%),
    var(--bg-1);
  border-bottom: 1px solid var(--border);
}
.shop-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 12px 0 18px; }
.shop-hero p { color: var(--text-soft); max-width: 540px; }
.breadcrumb { font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); letter-spacing: 0.12em; text-transform: uppercase; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb span { color: var(--text); }

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 56px 0 120px;
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.filter-group { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.filter-group:last-of-type { border: 0; margin: 0; padding: 0; }
.filter-group h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; color: var(--text); }
.filter-list { display: flex; flex-direction: column; gap: 10px; }
.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
  cursor: pointer;
  transition: color 0.2s var(--ease);
  user-select: none;
}
.filter-item:hover { color: var(--text); }
.filter-item input { display: none; }
.filter-checkbox {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 1px solid var(--border-hi);
  display: grid; place-items: center;
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}
.filter-checkbox::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 2px;
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}
.filter-item input:checked + .filter-checkbox { border-color: var(--lime); background: var(--lime-soft); }
.filter-item input:checked + .filter-checkbox::after { transform: scale(1); }
.filter-item .count { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); }

.price-range {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-inputs input {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  outline: 0;
  transition: border-color 0.2s var(--ease);
}
.price-inputs input:focus { border-color: var(--lime); }

.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
  width: 26px; height: 26px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
  position: relative;
}
.swatch:hover { transform: scale(1.1); }
.swatch.active { border-color: var(--lime); }
.swatch::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.shop-toolbar .results { font-family: var(--font-mono); font-size: 13px; color: var(--text-mute); }
.shop-toolbar .results b { color: var(--text); font-weight: 600; }
.shop-toolbar select {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  cursor: pointer;
  outline: 0;
  transition: border-color 0.2s var(--ease);
}
.shop-toolbar select:hover { border-color: var(--border-hi); }

.shop-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-mute);
}
.shop-empty h4 { font-size: 22px; color: var(--text); margin-bottom: 8px; }

.mobile-filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
}

/* =========================================================
   PRODUCT DETAIL PAGE
   ========================================================= */
.product-page {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 100px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
}

.gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  height: fit-content;
}
.gallery-thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery-thumb {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s var(--ease);
  background: var(--bg-2);
}
.gallery-thumb:hover { border-color: var(--border-hi); }
.gallery-thumb.active { border-color: var(--lime); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  position: relative;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s var(--ease); }
.gallery-zoom {
  position: absolute;
  bottom: 16px; right: 16px;
  width: 42px; height: 42px;
  background: rgba(7,9,10,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text);
}

.product-info-detail { padding-top: 12px; }
.product-info-detail .product-cat { font-size: 12px; }
.product-info-detail h1 { margin: 14px 0 18px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.product-rating-line { display: flex; align-items: center; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--border); margin-bottom: 22px; flex-wrap: wrap; }
.product-rating-line .stars { display: inline-flex; gap: 2px; color: var(--lime); }
.product-rating-line .stars svg { width: 16px; height: 16px; }
.product-rating-line .text { font-size: 13px; color: var(--text-soft); }
.product-rating-line .text b { color: var(--text); }
.product-rating-line .stock { font-family: var(--font-mono); font-size: 11px; color: var(--lime); padding: 4px 12px; background: var(--lime-soft); border-radius: 999px; }

.product-price-block { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.product-price-block .price-current { font-family: var(--font-display); font-size: 2.4rem; color: var(--text); }
.product-price-block .price-old { font-size: 18px; color: var(--text-mute); text-decoration: line-through; }
.product-price-block .save { font-family: var(--font-mono); font-size: 11px; padding: 4px 10px; background: var(--lime); color: var(--bg-0); border-radius: 6px; font-weight: 700; }

.product-desc { color: var(--text-soft); margin-bottom: 28px; line-height: 1.7; }

.option-group { margin-bottom: 22px; }
.option-group .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: 12px; display: flex; justify-content: space-between; }
.option-group .label .selected { color: var(--lime); }
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.option-pill {
  padding: 10px 18px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.option-pill:hover { border-color: var(--border-hi); }
.option-pill.active { background: var(--lime); color: var(--bg-0); border-color: var(--lime); }

.option-swatches { display: flex; gap: 12px; }
.option-swatch {
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.option-swatch:hover { transform: scale(1.05); }
.option-swatch.active { border-color: var(--lime); }
.option-swatch::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
}

.add-to-cart-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 28px 0 22px; }
.add-to-cart-row .qty { padding: 0 4px; height: 56px; }
.add-to-cart-row .qty button { width: 40px; height: 40px; }
.add-to-cart-row .qty span { font-size: 15px; }
.add-to-cart-row .btn { height: 56px; padding: 0 28px; justify-content: center; }

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.product-features div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-soft); }
.product-features svg { width: 18px; height: 18px; color: var(--lime); flex-shrink: 0; }

.product-tabs { margin-top: 36px; }
.tabs-head { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.tab-btn {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--lime); border-bottom-color: var(--lime); }
.tab-content { display: none; color: var(--text-soft); line-height: 1.7; }
.tab-content.active { display: block; }
.tab-content ul { list-style: none; padding: 0; }
.tab-content ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.tab-content ul li:last-child { border-bottom: 0; }
.tab-content ul li b { color: var(--text); font-weight: 500; }

.related { margin-top: 100px; }

/* =========================================================
   ABOUT / CONTACT
   ========================================================= */
.page-hero {
  padding: calc(var(--header-h) + 90px) 0 80px;
  background:
    radial-gradient(ellipse at 50% 30%, var(--lime-soft), transparent 60%),
    var(--bg-1);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin: 16px 0 18px; }
.page-hero p { color: var(--text-soft); max-width: 600px; margin: 0 auto; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-grid img { border-radius: var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; }
.about-content h2 { margin-bottom: 22px; }
.about-content p { color: var(--text-soft); margin-bottom: 16px; line-height: 1.75; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
}
.contact-info h3 { margin-bottom: 16px; font-family: var(--font-sans); font-size: 20px; }
.contact-info p { color: var(--text-soft); margin-bottom: 30px; }
.contact-info-list li { padding: 14px 0; border-bottom: 1px solid var(--border); display: flex; gap: 14px; align-items: flex-start; }
.contact-info-list svg { width: 20px; height: 20px; color: var(--lime); flex-shrink: 0; margin-top: 2px; }
.contact-info-list small { font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 4px; }

.contact-form {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); }
.form-field input, .form-field textarea, .form-field select {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  outline: 0;
  transition: border-color 0.2s var(--ease), box-shadow 0.3s var(--ease);
  color: var(--text);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-soft);
}
.form-field textarea { resize: vertical; min-height: 130px; font-family: inherit; }

/* =========================================================
   TOAST / NOTIFICATIONS
   ========================================================= */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--bg-2);
  border: 1px solid var(--lime);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  box-shadow: var(--shadow-md);
  z-index: 300;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease);
  max-width: 360px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast svg { width: 18px; height: 18px; color: var(--lime); flex-shrink: 0; }

/* =========================================================
   ANIMATIONS — REVEAL ON SCROLL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.56s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* =========================================================
   SEARCH OVERLAY
   ========================================================= */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(7, 9, 10, 0.92);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  padding-top: 16vh;
  align-items: center;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box {
  width: 90%; max-width: 720px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  background: var(--bg-2);
  border: 1px solid var(--lime);
  border-radius: 999px;
  box-shadow: 0 30px 80px rgba(182, 255, 60, 0.15);
}
.search-box svg { width: 22px; height: 22px; color: var(--lime); flex-shrink: 0; }
.search-box input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 22px;
  font-family: var(--font-display);
  color: var(--text);
}
.search-close {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--border-hi);
  border-radius: 6px;
}
.search-suggestions {
  width: 90%; max-width: 720px;
  margin-top: 30px;
}
.search-suggestions h6 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 14px; }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.search-tag {
  padding: 8px 16px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.search-tag:hover { border-color: var(--lime); color: var(--lime); }
