/* Generated by Frontend Wireframe Engine — Phase 4
   Client: Lone Wolf Paintball
   DNA Hash: ecb2ab11212c
   Color direction: 2 (bright base, electric green brand color)
   Do not edit — regenerate via the engine */

:root {
  /* Typography — condensed-impactful */
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --scale-ratio: 1.333;
  --heading-weight: 800;
  --heading-case: uppercase;
  --heading-letterspacing: 0.02em;
  --heading-line-height: 0.95;
  --body-size: 16px;
  --body-weight: 400;
  --body-line-height: 1.65;
  --body-letterspacing: 0.005em;
  --max-line-length: 70ch;

  /* Components — bold-geometric */
  --radius: 8px;
  --shadow: 0 6px 20px 0 rgba(0,0,0,0.18);
  --shadow-strong: 0 10px 30px 0 rgba(0,0,0,0.22);
  --border: 2.5px solid var(--ink);
  --hover-duration: 160ms;
  --hover-easing: cubic-bezier(0.55, 0, 0.1, 1);

  /* Color — bold-color-blocking, Direction 2 (light base) */
  --bg: #f6f7f4;          /* off-white base */
  --bg-elevated: #ffffff;
  --ink: #0a0a0b;         /* near-black text */
  --ink-soft: #3f3f46;    /* secondary text */
  --accent: #b6ff1a;      /* electric volt green — brand color */
  --accent-deep: #2f7d05; /* readable green on light backgrounds */
  --border-soft: rgba(10,10,11,0.12);

  /* Block colors (sections alternate) */
  --block-light: #f6f7f4;
  --block-white: #ffffff;
  --block-green: #b6ff1a;
  --block-dark: #0a0a0b;  /* field / action block */

  /* Spacing — balanced, with deliberate breathing room */
  --spacing-base: 8px;
  --spacing-section: 112px;
  --spacing-content-desktop: 64px;
  --spacing-content-mobile: 20px;
  --spacing-paragraph: 20px;
  --spacing-component: 24px;

  /* Animation — snappy-responsive */
  --transition-speed: 180ms;
  --transition-easing: cubic-bezier(0.22, 1, 0.36, 1);
  --entrance-duration: 520ms;
}

/* NOTE: do NOT add a universal `* { margin:0; padding:0 }` reset here.
   Tailwind v4 places its utilities in a cascade layer, and an unlayered
   universal reset overrides every margin/padding utility (mx-auto, ml-auto,
   px-*, etc.) regardless of specificity. Tailwind's preflight already
   normalizes default margins, so we only set box-sizing. */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letterspacing);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  text-transform: var(--heading-case);
  letter-spacing: var(--heading-letterspacing);
  line-height: var(--heading-line-height);
}

/* subtle-grain texture overlay */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Buttons: notched-corner archetype ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 30px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: clip-path var(--hover-duration) var(--hover-easing),
              background-color var(--hover-duration) var(--hover-easing),
              color var(--hover-duration) var(--hover-easing),
              transform var(--hover-duration) var(--hover-easing);
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  background: #c8ff4d;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  background: #222;
}
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2.5px rgba(255,255,255,0.55); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn:active { transform: scale(0.98); }

/* ---------- Cards: bold-geometric ---------- */
.card {
  background: var(--bg-elevated);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition-speed) var(--transition-easing),
              box-shadow var(--transition-speed) var(--transition-easing);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }

/* category mosaic tile color-swap hover */
.tile {
  position: relative;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  transition: transform var(--transition-speed) var(--transition-easing);
}
.tile:hover { transform: translateY(-4px); }
.tile img { width: 100%; height: 100%; object-fit: cover; opacity: 0.62; transition: opacity var(--transition-speed), transform 600ms var(--transition-easing); }
.tile:hover img { opacity: 0.5; transform: scale(1.05); }

/* ============ Shop by category — bold bento grid with images ============ */
.catgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 168px;
  gap: 16px;
}
.catcard {
  position: relative; overflow: hidden;
  border: 2.5px solid var(--ink); border-radius: 10px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; color: #fff; text-decoration: none;
  transition: transform var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing);
}
.catcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.catcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 600ms var(--transition-easing); }
.catcard:hover img { transform: scale(1.06); }
.catcard::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.86), rgba(0,0,0,.28) 60%, rgba(0,0,0,.12)); }
.catcard .cc-ico { position: absolute; top: 18px; left: 18px; z-index: 2; font-size: 24px; color: var(--accent); }
.catcard .cc-go { position: absolute; top: 18px; right: 18px; z-index: 2; font-size: 16px; color: #fff; transition: transform var(--transition-speed) var(--transition-easing); }
.catcard:hover .cc-go { transform: translateX(5px); }
.catcard .cc-name { position: relative; z-index: 2; font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: .95; }
.catcard .cc-count { position: relative; z-index: 2; font-size: 13px; color: #d8dbcf; font-weight: 600; margin-top: 3px; }
.catcard.feature { grid-column: span 2; grid-row: span 2; }
.catcard.feature .cc-name { font-size: clamp(34px, 3.4vw, 52px); }
.catcard.feature .cc-ico { font-size: 34px; }
/* deals tile: green, no image */
.catcard.deal { background: var(--accent); color: var(--ink); }
.catcard.deal::after { display: none; }
.catcard.deal .cc-ico, .catcard.deal .cc-go { color: var(--ink); }
.catcard.deal .cc-count { color: var(--ink); }
@media (max-width: 1023px) {
  .catgrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .catcard.feature { grid-column: span 2; grid-row: span 1; min-height: 220px; }
}
@media (max-width: 560px) {
  .catgrid { grid-template-columns: 1fr; }
  .catcard.feature { grid-column: span 1; }
}

/* ============ "The Drop" horizontal snap rail ============ */
.drop-rail {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 18px; margin: 0 -4px;
  scrollbar-width: thin; scrollbar-color: var(--ink) transparent;
}
.drop-rail::-webkit-scrollbar { height: 8px; }
.drop-rail::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 999px; }
.drop-rail::-webkit-scrollbar-track { background: rgba(10,10,11,.08); border-radius: 999px; }
.drop-card { scroll-snap-align: start; flex: 0 0 270px; }
.rail-arrow {
  width: 46px; height: 46px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2.5px solid var(--ink); border-radius: 8px; background: #fff;
  color: var(--ink); font-size: 16px; cursor: pointer;
  transition: background-color var(--transition-speed) var(--transition-easing), color var(--transition-speed) var(--transition-easing), transform var(--transition-speed) var(--transition-easing);
}
.rail-arrow:hover { background: var(--accent); }
.rail-arrow:active { transform: scale(0.94); }
.rail-arrow:disabled { opacity: .35; cursor: default; }
.rail-arrow:disabled:hover { background: #fff; }
@media (max-width: 640px) { .drop-card { flex: 0 0 78vw; } }
.drop-num {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  font-family: var(--font-heading); font-weight: 800; font-size: 13px;
  background: var(--ink); color: var(--accent); padding: 3px 9px; border-radius: 4px; letter-spacing: .05em;
}
.quick-view {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: var(--ink); color: #fff; text-align: center; text-decoration: none;
  font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px;
  padding: 11px;
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity var(--transition-speed) var(--transition-easing), transform var(--transition-speed) var(--transition-easing);
}
.drop-card .card:hover .quick-view, .drop-card .card:focus-within .quick-view { opacity: 1; transform: none; pointer-events: auto; }
/* touch devices have no hover — show a persistent affordance instead */
@media (hover: none) { .quick-view { opacity: 1; transform: none; pointer-events: auto; } }

/* kicker pill */
.kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 4px;
}

/* notched accent chip (small, for tags) */
.chip {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

/* entrance animation (snappy) — only hides when JS is active (html.js),
   so content is always visible without JS / in print / before hydration */
html.js [data-animate] { opacity: 0; transform: translateY(24px); }
html.js [data-animate].in { opacity: 1; transform: none; transition: opacity var(--entrance-duration) var(--transition-easing), transform var(--entrance-duration) var(--transition-easing); }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* responsive section rhythm: airier on desktop, tighter on mobile */
@media (max-width: 767px) { :root { --spacing-section: 72px; } }
@media (min-width: 1280px) { :root { --spacing-section: 128px; } }

/* consistent gap between a section heading block and its content */
.section-head { margin-bottom: 44px; }
@media (max-width: 767px) { .section-head { margin-bottom: 28px; } }

/* ---------- Mobile menu (full-viewport overlay) ---------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 100;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  background: var(--ink);
  color: #fff;
  padding: 24px;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { color: #fff; text-decoration: none; }
/* right-align menu contents (links + CTAs) */
.mobile-menu { text-align: right; }
.mobile-menu nav a { text-align: right; }

/* mega-menu dropdown */
.has-mega > .mega { opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 160ms var(--transition-easing); }
.has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }

/* Guarantee centered page containers regardless of Tailwind CDN layer quirks */
.mx-auto { margin-left: auto; margin-right: auto; }

/* Header alignment: logo left, nav + search + icons right-aligned.
   Done in explicit CSS because the Tailwind CDN's responsive margin
   utilities (lg:ml-auto, md:ml-auto) do not reliably generate here.
   The first visible element of the right group carries margin-left:auto. */
.header-actions { margin-left: auto; }                 /* mobile: only icons visible → push right */
@media (min-width: 768px) {
  .header-search { margin-left: auto; }                /* tablet: nav hidden → search leads the right group */
  .header-actions { margin-left: 0; }
}
@media (min-width: 1024px) {
  .primary-nav { margin-left: auto; }                  /* desktop: nav leads the right group */
  .header-search { margin-left: 0; }
}

/* header icon buttons (Font Awesome) — consistent 44px tap targets */
.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; background: transparent; cursor: pointer;
  color: var(--ink); font-size: 19px; line-height: 1;
  border-radius: 8px; text-decoration: none;
  transition: background-color var(--transition-speed) var(--transition-easing),
              color var(--transition-speed) var(--transition-easing);
}
.icon-btn:hover { background: rgba(10,10,11,0.06); }
.cart-badge {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--ink);
  font-family: var(--font-heading); font-weight: 800; font-size: 11px;
  border-radius: 999px; border: 1.5px solid var(--ink);
}

/* mobile menu toggle button — mobile only */
.menu-toggle {
  position: relative;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2.5px solid var(--ink); border-radius: 8px; background: #fff;
  color: var(--ink); font-size: 18px; cursor: pointer;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.search-toggle { display: inline-flex; }
@media (min-width: 768px) { .search-toggle { display: none; } }

/* sticky CTA bar (mutation: sticky-cta-bar) — fixed at bottom on all sizes */
.mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: flex;
  background: var(--ink);
  border-top: 2.5px solid var(--accent);
}
.mobile-cta > a { flex: 1; }
.mobile-cta-spacer { height: 54px; }

/* marquee for brand logos */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
