/* ===== Heebo – local font family (all weights) ===== */
@font-face { font-family: 'Heebo'; src: url('/fonts/Heebo-Thin.ttf') format('truetype'); font-weight: 100; font-display: swap; }
@font-face { font-family: 'Heebo'; src: url('/fonts/Heebo-ExtraLight.ttf') format('truetype'); font-weight: 200; font-display: swap; }
@font-face { font-family: 'Heebo'; src: url('/fonts/Heebo-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Heebo'; src: url('/fonts/Heebo-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Heebo'; src: url('/fonts/Heebo-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Heebo'; src: url('/fonts/Heebo-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Heebo'; src: url('/fonts/Heebo-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Heebo'; src: url('/fonts/Heebo-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Heebo'; src: url('/fonts/Heebo-Black.ttf') format('truetype'); font-weight: 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --bg-2: #111113;
  --surface: #17171a;
  --surface-2: #1e1e22;
  --border: #2a2a30;
  --border-strong: #3a3a42;
  --text: #f5f5f4;
  --muted: #a1a1aa;
  --faint: #71717a;
  --red: #d71920;
  --red-dark: #9e0f15;
  --lime: #b6f22e;
  --lime-dark: #93cc14;
  --ok: #22c55e;
  --warn: #f59e0b;
  --danger: #ef4444;
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1240px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Heebo', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-weight: 900; }
h2 { font-weight: 800; font-size: clamp(24px, 3vw, 34px); }
h3 { font-weight: 700; font-size: 20px; }
p { margin: 0 0 1em; }
.num { font-variant-numeric: tabular-nums; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.light { font-weight: 300; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-lime { background: var(--lime); color: #0b0b0b; box-shadow: 0 0 0 0 rgba(182, 242, 46, .5); }
.btn-lime:hover { background: #c6ff45; box-shadow: 0 8px 30px -8px rgba(182, 242, 46, .6); }
.btn-outline { border-color: rgba(255, 255, 255, .75); color: #fff; background: rgba(0, 0, 0, .25); backdrop-filter: blur(4px); }
.btn-outline:hover { background: #fff; color: #0b0b0b; }
.btn-ghost-lime { border-color: var(--lime); color: var(--lime); background: transparent; height: 38px; padding: 0 18px; font-size: 14px; }
.btn-ghost-lime:hover { background: var(--lime); color: #0b0b0b; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #ec222a; }
.btn-dark { background: var(--surface-2); border-color: var(--border); color: var(--text); }
.btn-dark:hover { border-color: var(--border-strong); background: #26262b; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ===== Announcement + Header ===== */
.announce {
  background: var(--red); color: #fff; text-align: center;
  font-size: 13.5px; font-weight: 500; padding: 7px 16px; letter-spacing: .01em;
}
.announce:empty { display: none; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, .88); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo svg { width: 52px; height: 52px; }
.logo-text { font-weight: 900; font-size: 19px; letter-spacing: .04em; line-height: 1; direction: ltr; }
.logo-text span { color: var(--red); }
.main-nav { display: flex; gap: 26px; align-items: center; }
.main-nav a { font-weight: 500; font-size: 15.5px; color: #e4e4e7; position: relative; padding: 6px 0; transition: color .2s; white-space: nowrap; }
.main-nav a:hover { color: #fff; }
.main-nav a.active { color: var(--lime); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.search-pill { position: relative; }
.search-pill input {
  width: 170px; height: 38px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); padding: 0 38px 0 14px; font-size: 14px; transition: width .25s, border-color .2s;
}
.search-pill input:focus { outline: none; border-color: var(--lime); width: 220px; }
.search-pill svg { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: transparent; border: 0; cursor: pointer; color: #fff; transition: background .2s; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 2px; left: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--lime); color: #000; font-size: 11px; font-weight: 800;
  display: grid; place-items: center; line-height: 1;
}
.cart-count:empty, .cart-count[data-n="0"] { display: none; }
.pill-link { height: 36px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .8); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; transition: background .2s, color .2s; white-space: nowrap; }
.pill-link:hover { background: #fff; color: #000; }
.menu-toggle { display: none; }

/* ===== Account menu ===== */
.account-slot { position: relative; display: flex; align-items: center; }
.login-icon { display: none; }
.acct-btn {
  display: flex; align-items: center; gap: 4px; padding: 3px 8px 3px 3px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .75); background: transparent; cursor: pointer; transition: border-color .2s, background .2s;
}
.acct-btn:hover, .acct-btn[aria-expanded="true"] { border-color: var(--lime); background: var(--surface); }
.acct-btn > svg { width: 16px; height: 16px; color: var(--muted); transition: transform .2s; }
.acct-btn[aria-expanded="true"] > svg { transform: rotate(180deg); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .02em;
}
.avatar.lg { width: 48px; height: 48px; font-size: 17px; }
.acct-menu {
  position: absolute; top: calc(100% + 10px); left: 0; width: 290px; z-index: 70;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .8); padding: 8px; animation: menuIn .16s ease;
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } }
.acct-head { display: flex; gap: 12px; align-items: center; padding: 10px 10px 14px; }
.acct-head b { display: block; font-weight: 700; font-size: 16px; line-height: 1.3; }
.acct-head small { display: block; color: var(--muted); font-size: 13px; font-weight: 300; overflow: hidden; text-overflow: ellipsis; max-width: 190px; text-align: right; }
.acct-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--border); }
.role-badge { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 6px; border: 1px solid var(--border-strong); color: #d4d4d8; letter-spacing: .03em; }
.role-badge.admin { color: #f5b82e; border-color: #f5b82e; background: rgba(245, 184, 46, .08); }
.acct-sep { height: 1px; background: var(--border); margin: 6px 0; }
.acct-item {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border-radius: 9px;
  font-weight: 500; font-size: 15px; color: #e4e4e7; background: none; border: 0; cursor: pointer; text-align: right;
}
.acct-item svg { width: 19px; height: 19px; color: var(--muted); flex-shrink: 0; }
.acct-item:hover, .acct-item:focus-visible { background: var(--surface-2); color: #fff; outline: none; }
.acct-item:hover svg { color: var(--lime); }
.acct-item.danger, .acct-item.danger svg { color: #f87171; }
.acct-item.danger:hover { background: rgba(239, 68, 68, .1); }
.acct-foot { border-top: 1px solid var(--border); margin-top: 6px; padding: 10px 10px 4px; font-size: 12.5px; color: var(--faint); }
.acct-foot a:hover { color: var(--lime); }

/* ===== Login / account pages ===== */
.auth-box { max-width: 520px; margin: 48px auto 0; padding: 28px; }
.auth-box h1 { font-size: 30px; font-weight: 800; margin: 22px 0 6px; }
.auth-box > form > p.muted:first-of-type { margin-bottom: 22px; }
.google-box { text-align: center; }
.auth-logo svg { width: 72px; height: 72px; margin: 4px auto 0; }
.google-box h1 { margin-top: 14px; }
.auth-perks { list-style: none; padding: 0; margin: 22px auto 26px; display: grid; gap: 10px; max-width: 300px; text-align: right; }
.auth-perks li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: #d4d4d8; }
.auth-perks svg { width: 20px; height: 20px; color: var(--lime); flex-shrink: 0; }
.gbtn-slot { display: flex; justify-content: center; min-height: 44px; margin-bottom: 16px; }
.gbtn-slot iframe { color-scheme: light; } /* a dark scheme here makes the browser paint a white box behind Google's button */
.auth-box #google-wrap { margin-top: 22px; }
.auth-box #subtitle { margin-bottom: 0; }
.auth-box form { margin-top: 20px; }
.or-sep { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; margin: 4px 0 0; }
.or-sep::before, .or-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.terms-line { font-size: 13px; margin: 10px 0 0; line-height: 1.6; }
.terms-line a { color: var(--lime); text-decoration: underline; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); border-radius: 999px; padding: 4px; border: 1px solid var(--border); }
.tabs button { height: 40px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-weight: 600; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--lime); color: #000; }
.link { background: none; border: 0; padding: 0; color: var(--lime); font-weight: 600; cursor: pointer; text-decoration: underline; }
.switch-line { text-align: center; margin: 16px 0 0; font-size: 14.5px; }
.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding: 32px 0 0; align-items: start; }
.account-side { position: sticky; top: 96px; padding: 16px; }
.account-side .acct-head { padding: 4px 4px 16px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.account-side .acct-item.active { background: var(--lime); color: #000; }
.account-side .acct-item.active svg { color: #000; }
.order-card { padding: 0; overflow: hidden; margin-bottom: 14px; }
.order-card summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1.3fr 1fr 1fr auto 20px; gap: 14px; align-items: center; padding: 16px 20px; }
.order-card summary::-webkit-details-marker { display: none; }
.order-card summary:hover { background: var(--surface-2); }
.order-card summary small { display: block; color: var(--faint); font-size: 12.5px; font-weight: 300; }
.order-card summary > svg { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.order-card[open] summary > svg { transform: rotate(180deg); }
.order-card .order-body { padding: 4px 20px 18px; border-top: 1px solid var(--border); }
.order-items { display: grid; gap: 10px; margin: 14px 0; }
.order-items a { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.order-items a:hover b { color: var(--lime); }
.order-items small { color: var(--muted); font-weight: 300; }
.ostatus { display: inline-block; padding: 3px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 700; white-space: nowrap; background: var(--surface-2); color: var(--muted); }
.ostatus.new { background: rgba(182, 242, 46, .14); color: var(--lime); }
.ostatus.paid, .ostatus.processing { background: rgba(245, 158, 11, .14); color: #fcd34d; }
.ostatus.shipped { background: rgba(168, 85, 247, .15); color: #d8b4fe; }
.ostatus.delivered { background: rgba(34, 197, 94, .15); color: #86efac; }
.ostatus.cancelled { background: rgba(239, 68, 68, .14); color: #fca5a5; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 560px; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; background: #050506;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #050506; }
/* Banner photo: slow "Ken Burns" push-in toward the player, fades in on load */
.hero-photo {
  position: absolute; inset: -3%;
  background: url('/img/hero.jpg') 34% 32% / cover no-repeat;
  transform-origin: 34% 40%;
  animation: heroFade 1.4s ease-out both, heroZoom 26s ease-in-out 1.4s infinite alternate;
}
@keyframes heroFade { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: scale(1); } }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.09) translate(1%, -1.5%); } }
/* Floodlights breathing over the stands */
.hero-flood {
  position: absolute; top: -18%; width: 46%; height: 70%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, .55) 0%, rgba(190, 215, 255, .18) 30%, transparent 65%);
  animation: floodPulse 4.5s ease-in-out infinite;
}
.hero-flood-l { left: -6%; }
.hero-flood-r { right: -6%; animation-delay: -2.2s; }
@keyframes floodPulse { 0%, 100% { opacity: .35; } 45% { opacity: .75; } 50% { opacity: .55; } 55% { opacity: .8; } }
/* A soft beam that sweeps across the stadium */
.hero-sweep {
  position: absolute; top: -20%; bottom: -20%; width: 30%; left: -40%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .09) 45%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, .09) 55%, transparent 100%);
  transform: skewX(-18deg);
  animation: heroSweep 9s ease-in-out 2s infinite;
}
@keyframes heroSweep { 0% { left: -40%; } 40%, 100% { left: 120%; } }
/* Headline, subtitle and buttons rise in one after another */
.hero-content > * { animation: heroIn .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-content > :nth-child(1) { animation-delay: .35s; }
.hero-content > :nth-child(2) { animation-delay: .55s; }
.hero-content > :nth-child(3) { animation-delay: .75s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to left, rgba(5, 5, 6, .92) 0%, rgba(5, 5, 6, .55) 38%, rgba(5, 5, 6, .05) 70%),
    linear-gradient(to top, var(--bg) 0%, rgba(10, 10, 11, 0) 35%);
}
.stadium {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 18% 10% at 22% 6%, rgba(255, 255, 255, .55), transparent 70%),
    radial-gradient(ellipse 18% 10% at 50% 3%, rgba(255, 255, 255, .45), transparent 70%),
    radial-gradient(ellipse 18% 10% at 78% 6%, rgba(255, 255, 255, .55), transparent 70%),
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(160, 190, 255, .18), transparent 70%),
    linear-gradient(#0c0d12 0%, #15161d 30%, #2a0c0f 52%, #0d3b1c 64%, #146b2c 100%);
}
.stadium .crowd {
  position: absolute; left: 0; right: 0; top: 24%; height: 34%;
  background-image:
    radial-gradient(circle at 50% 40%, rgba(215, 25, 32, .55) 0 3px, transparent 3.5px),
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .12) 0 2.5px, transparent 3px);
  background-size: 14px 12px, 11px 13px;
  background-position: 0 0, 5px 6px;
  mask-image: linear-gradient(transparent, #000 25%, #000 80%, transparent);
  opacity: .9;
}
.stadium .pitch {
  position: absolute; left: -20%; right: -20%; bottom: 0; height: 40%;
  background: repeating-linear-gradient(90deg, #17803a 0 80px, #13702f 80px 160px);
  transform: perspective(500px) rotateX(55deg); transform-origin: bottom;
}
.stadium .pitch::before { content: ''; position: absolute; left: 50%; top: 10%; width: 300px; height: 160px; border: 3px solid rgba(255, 255, 255, .55); border-radius: 50%; transform: translateX(-50%); }
.stadium .pitch::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 3px solid rgba(255, 255, 255, .55); }
.hero-jersey {
  position: absolute; left: 12%; bottom: 8%; width: min(360px, 34vw);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)) drop-shadow(0 0 60px rgba(215, 25, 32, .35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
.hero-content { position: relative; padding: 80px 0 150px; max-width: 640px; }
.hero h1 {
  font-size: clamp(54px, 8.5vw, 112px); font-weight: 900; line-height: .92; letter-spacing: -0.025em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .5);
}
.hero .hero-sub { font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; margin: 14px 0 30px; color: #fafafa; }
.hero .hero-sub b { font-weight: 900; letter-spacing: .02em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn { height: 50px; padding: 0 30px; font-size: 16px; }

/* ===== Home cards (overlapping hero) ===== */
.home-cards {
  position: relative; z-index: 2; margin-top: -110px;
  display: grid; grid-template-columns: 1.45fr 1fr .9fr; gap: 18px;
}
.panel {
  background: linear-gradient(180deg, rgba(30, 30, 34, .96), rgba(20, 20, 23, .98));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.panel-title { font-size: 22px; font-weight: 800; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.panel-title a { font-size: 13px; font-weight: 500; color: var(--lime); }
.mini-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-product { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, transform .2s; }
.mini-product:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.mini-product .thumb { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.mini-product .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-product .name { font-size: 13.5px; font-weight: 500; line-height: 1.3; min-height: 2.6em; }
.mini-product .price { font-size: 13px; font-weight: 300; color: var(--muted); }
.mini-product .btn { height: 32px; font-size: 13px; padding: 0 10px; }
.news-card .news-img { aspect-ratio: 16/10; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(135deg, #1a5f2e, #0e3d1d); position: relative; }
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card h3 { margin: 14px 0 6px; font-size: 19px; font-weight: 800; }
.news-card p { color: var(--muted); font-size: 14px; font-weight: 300; margin: 0; }
.match-card { display: flex; flex-direction: column; text-align: center; }
.match-teams { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0 18px; }
.team { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.team-badge { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 20px; }
.team-badge.home { background: radial-gradient(circle at 35% 30%, #ff3b42, var(--red-dark)); border: 3px solid #111; box-shadow: 0 0 0 2px var(--red); }
.team-badge.away { background: radial-gradient(circle at 35% 30%, #fff, #c9c9cf); color: #111; border: 3px solid #111; box-shadow: 0 0 0 2px #ddd; }
.team-name { font-weight: 800; font-size: 14px; }
.vs { font-weight: 300; color: var(--muted); font-size: 15px; }
.match-time { display: flex; justify-content: center; gap: 0; margin-bottom: 18px; }
.match-time > div { padding: 0 16px; }
.match-time > div + div { border-right: 1.5px solid var(--border-strong); }
.match-time strong { display: block; font-size: 30px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.match-time small { color: var(--faint); font-size: 12px; font-weight: 300; }
.match-card .btn { margin-top: auto; }

/* ===== Sections ===== */
.section { padding: 72px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head .eyebrow { color: var(--lime); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; display: block; }
.section-head a { color: var(--muted); font-weight: 500; font-size: 15px; }
.section-head a:hover { color: var(--lime); }

.cat-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-tile {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); display: flex; align-items: flex-end; padding: 18px;
  transition: transform .25s, border-color .25s;
}
.cat-tile:hover { transform: translateY(-4px); border-color: var(--red); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .85)); }
.cat-tile span { position: relative; z-index: 1; font-weight: 800; font-size: 20px; }
.cat-tile small { display: block; font-weight: 300; font-size: 13px; color: #d4d4d8; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.product-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.product-card .thumb { position: relative; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .thumb img { transform: scale(1.05); }
.badge { position: absolute; top: 12px; right: 12px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.badge.lime { background: var(--lime); color: #000; }
.product-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .cat { font-size: 12px; color: var(--faint); font-weight: 500; }
.product-card .name { font-weight: 600; font-size: 16px; line-height: 1.35; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 6px; }
.price { font-weight: 800; font-size: 19px; font-variant-numeric: tabular-nums; }
.price-old { color: var(--faint); text-decoration: line-through; font-weight: 300; font-size: 14px; }
.price-sale { color: var(--lime); }
.card-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.card-actions .btn { height: 38px; padding: 0 6px; font-size: 13.5px; min-width: 0; white-space: normal; line-height: 1.15; }
.quick-pick { animation: popIn .45s cubic-bezier(.18, 1.25, .4, 1) both; }
.quick-pick .upsell-q { margin-top: 16px; }
.qp-more {
  display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px;
  border: 1.5px dashed var(--lime); border-radius: var(--radius-sm); background: rgba(182, 242, 46, .08);
  transition: background .2s, transform .2s, border-style .2s;
  animation: qpGlow 2.2s ease-in-out infinite;
}
.qp-more:hover { background: rgba(182, 242, 46, .16); border-style: solid; transform: translateY(-1px); }
.qp-more-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--lime); color: #000; display: grid; place-items: center; flex-shrink: 0; }
.qp-more-icon svg { width: 22px; height: 22px; }
.qp-more-text { flex: 1; line-height: 1.3; }
.qp-more-text b { display: block; font-size: 15px; font-weight: 800; color: #fff; }
.qp-more-text small { font-size: 12.5px; color: var(--lime); font-weight: 500; }
.qp-more-arrow { font-size: 22px; font-weight: 800; color: var(--lime); transition: transform .2s; }
.qp-more:hover .qp-more-arrow { transform: translateX(-4px); }
@keyframes qpGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(182, 242, 46, 0); } 50% { box-shadow: 0 0 18px 0 rgba(182, 242, 46, .25); } }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 64px 0 0; }
.perk { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.perk svg { width: 34px; height: 34px; color: var(--lime); flex-shrink: 0; }
.perk b { display: block; font-weight: 700; font-size: 15.5px; }
.perk span { color: var(--muted); font-size: 13.5px; font-weight: 300; }

/* ===== Page header ===== */
.page-hero { padding: 48px 0 30px; border-bottom: 1px solid var(--border); background: radial-gradient(ellipse 60% 120% at 80% 0%, rgba(215, 25, 32, .18), transparent 70%); }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); }
.page-hero p { color: var(--muted); font-weight: 300; font-size: 17px; margin: 8px 0 0; }
.breadcrumbs { font-size: 13px; color: var(--faint); margin-bottom: 10px; }
.breadcrumbs a:hover { color: var(--lime); }

/* ===== Shop ===== */
.shop-layout { display: grid; grid-template-columns: 230px 1fr; gap: 32px; padding: 32px 0 0; align-items: start; }
.filters { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.filters h4 { font-weight: 700; font-size: 14px; color: var(--muted); margin: 0 0 10px; letter-spacing: .04em; }
.filters a { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 8px; font-weight: 500; font-size: 15px; color: #d4d4d8; }
.filters a:hover { background: var(--surface-2); }
.filters a.active { background: var(--lime); color: #000; font-weight: 700; }
.filters a small { opacity: .6; font-weight: 400; }
.shop-search { position: relative; margin-bottom: 16px; }
.shop-search input {
  width: 100%; height: 52px; border-radius: 999px; border: 1.5px solid var(--border-strong); background: var(--surface);
  padding: 0 50px 0 46px; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.shop-search input::placeholder { color: var(--faint); font-weight: 300; }
.shop-search input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(182, 242, 46, .12); }
.shop-search input::-webkit-search-cancel-button { display: none; }
.shop-search svg { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.shop-search-clear { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--muted); font-size: 18px; cursor: pointer; }
.shop-search-clear:hover { color: #fff; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty h3 { color: var(--text); margin-bottom: 8px; }

/* ===== Forms ===== */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 500; color: #d4d4d8; }
.field label .req { color: var(--red); }
.input, select.input, textarea.input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--border); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
textarea.input { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
.input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(182, 242, 46, .15); }
.input::placeholder { color: var(--faint); font-weight: 300; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; padding-left: 36px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--lime); margin-top: 3px; flex-shrink: 0; }
.check a { color: var(--lime); text-decoration: underline; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14.5px; margin-bottom: 14px; }
.alert-error { background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .4); color: #fca5a5; }
.alert-ok { background: rgba(182, 242, 46, .1); border: 1px solid rgba(182, 242, 46, .4); color: var(--lime); }
.alert-info { background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }
.hp { position: absolute; left: -9999px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }

/* option chips (sizes, shipping) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 44px; padding: 0 14px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--border-strong); font-weight: 600; cursor: pointer; transition: all .15s;
}
.chips:has(.chip-extra) .chip span { height: 54px; }
.chip span:has(.chip-extra) { flex-direction: column; line-height: 1.15; gap: 2px; }
.chip-extra { font-size: 11px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip input:checked + span .chip-extra { color: var(--lime); }
.chip input:checked + span { border-color: var(--lime); background: rgba(182, 242, 46, .12); color: var(--lime); }
.chip input:disabled + span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.chip input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.option-card { display: block; cursor: pointer; }
.option-card input { position: absolute; opacity: 0; }
.option-card > div { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; transition: border-color .15s, background .15s; }
.option-card input:checked + div { border-color: var(--lime); background: rgba(182, 242, 46, .06); }
.option-card b { font-weight: 600; }
.option-card small { display: block; color: var(--muted); font-weight: 300; font-size: 13px; }
.options { display: grid; gap: 10px; margin-bottom: 16px; }

/* ===== Product page ===== */
.product-page { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 36px 0 0; }
.gallery-main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button { width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--surface-2); cursor: pointer; }
.gallery-thumbs button.active { border-color: var(--lime); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; margin: 6px 0 12px; }
.product-info .price { font-size: 30px; font-weight: 900; }
.product-info .desc { color: #d4d4d8; font-weight: 300; font-size: 16.5px; line-height: 1.8; margin: 18px 0 24px; white-space: pre-line; }
.opt-label { font-weight: 700; font-size: 15px; margin: 18px 0 10px; display: flex; justify-content: space-between; }
.print-note { display: block; margin-top: 10px; font-size: 13px; line-height: 1.5; }
.opt-label .light { font-size: 13.5px; }
.patch-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.patch-choice input { position: absolute; opacity: 0; pointer-events: none; }
.patch-choice span {
  display: flex; flex-direction: column; align-items: center; gap: 4px; width: 104px; padding: 10px 8px; text-align: center;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); cursor: pointer; transition: all .15s;
}
.patch-choice img, .patch-choice .patch-none { width: 54px; height: 54px; object-fit: contain; border-radius: 8px; background: #fff; display: grid; place-items: center; font-style: normal; color: #52525b; font-size: 13px; font-weight: 600; }
.patch-choice .patch-none { background: var(--surface-2); color: var(--muted); }
.patch-choice b { font-size: 13px; font-weight: 600; line-height: 1.25; }
.patch-choice small { font-size: 12px; color: var(--muted); }
.patch-choice input:checked + span { border-color: var(--lime); background: rgba(182, 242, 46, .08); }
.patch-choice input:checked + span small { color: var(--lime); }
.patch-choice input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.print-box { margin-top: 18px; border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); padding: 16px; }
.print-box .row-2 { grid-template-columns: 2fr 1fr; margin-top: 12px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--border-strong); border-radius: 999px; height: 46px; }
.qty button { width: 42px; height: 100%; background: none; border: 0; cursor: pointer; font-size: 20px; color: var(--muted); }
.qty button:hover { color: var(--lime); }
.qty input { width: 40px; text-align: center; background: none; border: 0; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 12px; margin-top: 26px; }
.buy-row { flex-wrap: wrap; }
.buy-row .btn-lime, .buy-row .btn-outline { flex: 1; height: 50px; font-size: 16px; min-width: 140px; }
.trust-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 300; }
.trust-list li { display: flex; gap: 10px; align-items: center; }
.trust-list svg { width: 18px; height: 18px; color: var(--lime); flex-shrink: 0; }

/* ===== Cart & checkout ===== */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding: 32px 0 0; align-items: start; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item:first-child { padding-top: 0; }
.cart-item .thumb { width: 96px; height: 96px; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .meta { font-size: 13.5px; color: var(--muted); font-weight: 300; }
.cart-item .name { font-weight: 600; }
.cart-item .actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item .qty { height: 38px; }
.link-btn { background: none; border: 0; color: var(--faint); font-size: 13px; cursor: pointer; padding: 0; text-decoration: underline; }
.link-btn:hover { color: var(--danger); }
.summary { position: sticky; top: 96px; }
.summary h3 { margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 15px; color: #d4d4d8; }
.sum-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; font-size: 20px; font-weight: 800; color: var(--text); }
.coupon-row { display: flex; gap: 8px; margin: 14px 0; }
.coupon-row .input { height: 42px; }
.ship-progress { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.ship-progress .bar { height: 6px; border-radius: 99px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.ship-progress .bar i { display: block; height: 100%; background: var(--lime); border-radius: 99px; transition: width .4s; }
.checkout-section { margin-bottom: 22px; }
.checkout-section h3 { margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: #000; display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.summary-items { display: grid; gap: 10px; margin-bottom: 14px; max-height: 300px; overflow: auto; }
.summary-item { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.summary-item img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--surface-2); }
.summary-item .grow { flex: 1; line-height: 1.3; }
.summary-item small { color: var(--muted); font-weight: 300; }

/* ===== Legal / content ===== */
.prose { max-width: 820px; padding: 36px 0 0; }
.prose h2 { font-size: 23px; margin: 36px 0 12px; padding-top: 8px; color: #fff; }
.prose h2 .n { color: var(--lime); margin-left: 6px; }
.prose p, .prose li { color: #d4d4d8; font-weight: 300; font-size: 16.5px; line-height: 1.85; }
.prose li { margin-bottom: 6px; }
.prose strong { font-weight: 600; color: #fff; }
.prose a { color: var(--lime); text-decoration: underline; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; columns: 2; column-gap: 30px; }
.toc a { display: block; padding: 3px 0; font-size: 14.5px; color: var(--muted); break-inside: avoid; }
.toc a:hover { color: var(--lime); }
.legal-note { margin-top: 36px; font-size: 13.5px; color: var(--faint); border-top: 1px solid var(--border); padding-top: 16px; }

.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding: 32px 0 0; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-item { display: flex; gap: 14px; align-items: center; }
.info-item .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; color: var(--lime); flex-shrink: 0; }
.info-item .ic svg { width: 22px; height: 22px; }
.info-item small { display: block; color: var(--faint); font-size: 12.5px; }
.info-item b { font-weight: 600; direction: ltr; unicode-bidi: plaintext; }

.success-box { max-width: 620px; margin: 60px auto 0; text-align: center; }
.success-box .check-circle { width: 84px; height: 84px; border-radius: 50%; background: var(--lime); color: #000; display: grid; place-items: center; margin: 0 auto 20px; }
.success-box .check-circle svg { width: 44px; height: 44px; }
.success-box h1 { font-size: 38px; margin-bottom: 10px; }
.order-num { display: inline-block; font-size: 22px; font-weight: 800; letter-spacing: .05em; background: var(--surface-2); border: 1px dashed var(--lime); border-radius: 10px; padding: 8px 18px; margin: 12px 0 18px; direction: ltr; }

.status-steps { display: flex; justify-content: space-between; margin: 24px 0; position: relative; }
.status-steps::before { content: ''; position: absolute; top: 15px; right: 5%; left: 5%; height: 3px; background: var(--border); }
.status-steps div { position: relative; text-align: center; flex: 1; font-size: 13px; color: var(--faint); }
.status-steps i { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); border: 3px solid var(--border); display: block; margin: 0 auto 6px; }
.status-steps .done { color: var(--text); }
.status-steps .done i { background: var(--lime); border-color: var(--lime); }

/* ===== Footer ===== */
.site-footer { margin-top: 90px; border-top: 1px solid var(--border); background: #070708; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 52px 0 36px; }
.site-footer h4 { font-weight: 700; font-size: 15px; margin: 0 0 14px; }
.site-footer a, .site-footer p { color: var(--muted); font-size: 14.5px; font-weight: 300; }
.site-footer a:hover { color: var(--lime); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; }
.socials a:hover { border-color: var(--lime); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--faint); font-weight: 300; }
.pay-icons { display: flex; gap: 8px; }
.pay-icons span { border: 1px solid var(--border); border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 500; color: var(--muted); }

/* ===== Page entrance (shop & inner pages): elements fade up one after another ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.page-hero .container > * { animation: fadeUp .6s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero .container > :nth-child(2) { animation-delay: .08s; }
.page-hero .container > :nth-child(3) { animation-delay: .16s; }
.shop-layout .filters { animation: fadeUp .6s cubic-bezier(.2, .7, .2, 1) .15s both; }
.shop-layout .shop-search { animation: fadeUp .6s cubic-bezier(.2, .7, .2, 1) .22s both; }
.shop-layout .shop-toolbar { animation: fadeUp .6s cubic-bezier(.2, .7, .2, 1) .3s both; }
.filters nav a { animation: fadeUp .45s ease both; animation-delay: calc(.25s + var(--i, 0) * 40ms); }
/* contact page: the form card, then each field in turn; the details card alongside */
.contact-layout > form.card { animation: fadeUp .6s cubic-bezier(.2, .7, .2, 1) .15s both; }
.contact-layout > form.card > * { animation: fadeUp .5s ease both; }
.contact-layout > form.card > :nth-child(1) { animation-delay: .25s; }
.contact-layout > form.card > :nth-child(2) { animation-delay: .32s; }
.contact-layout > form.card > :nth-child(3) { animation-delay: .39s; }
.contact-layout > form.card > :nth-child(4) { animation-delay: .46s; }
.contact-layout > form.card > :nth-child(n+5) { animation-delay: .53s; }
.contact-layout > .contact-info { animation: fadeUp .6s cubic-bezier(.2, .7, .2, 1) .3s both; }
.contact-info > * { animation: fadeUp .5s ease both; }
.contact-info > :nth-child(2) { animation-delay: .42s; }
.contact-info > :nth-child(3) { animation-delay: .5s; }
.contact-info > :nth-child(4) { animation-delay: .58s; }
.contact-info > :nth-child(n+5) { animation-delay: .66s; }
/* home: the three cards under the banner come in after the headline, their contents one by one */
.home-cards > .panel { animation: fadeUp .7s cubic-bezier(.2, .7, .2, 1) both; }
.home-cards > .panel:nth-child(1) { animation-delay: .9s; }
.home-cards > .panel:nth-child(2) { animation-delay: 1.02s; }
.home-cards > .panel:nth-child(3) { animation-delay: 1.14s; }
.mini-product { animation: fadeUp .5s ease both; }
.mini-product:nth-child(1) { animation-delay: 1.15s; }
.mini-product:nth-child(2) { animation-delay: 1.25s; }
.mini-product:nth-child(3) { animation-delay: 1.35s; }
/* sections further down fade in as they scroll into view (.sr/.in are set by app.js) */
.sr { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.sr.in { opacity: 1; transform: none; }
.sr .cat-tile, .sr .product-card, .sr .perk { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease, border-color .25s, box-shadow .25s; }
.sr .product-card.reveal { animation: none; }
.sr.in .cat-tile, .sr.in .product-card, .sr.in .perk { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i, 0) * 80ms); }
.sr.in .cat-tile:hover, .sr.in .product-card:hover { transform: translateY(-4px); transition-delay: 0s; }
/* product cards appear one by one (index set when the grid is drawn) */
.product-card.reveal { animation: fadeUp .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.3s + var(--i, 0) * 70ms); }
.product-grid.quick .product-card.reveal { animation-duration: .4s; animation-delay: calc(var(--i, 0) * 35ms); }

/* ===== Admin "new order" alert (bottom right) ===== */
.order-alerts { position: fixed; right: 24px; bottom: 24px; z-index: 400; display: grid; gap: 12px; width: min(360px, calc(100vw - 32px)); }
.order-alert {
  position: relative; overflow: hidden; background: #0f1011; border: 1.5px solid var(--lime); border-radius: 16px; padding: 16px 16px 18px;
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, .85), 0 0 0 4px rgba(182, 242, 46, .12);
  animation: alertIn .55s cubic-bezier(.18, 1.2, .4, 1) both, alertGlow 2s ease-in-out .6s 3;
}
.order-alert.leaving { animation: alertOut .4s ease forwards; }
@keyframes alertIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes alertOut { to { opacity: 0; transform: translateX(30px); } }
@keyframes alertGlow { 50% { box-shadow: 0 24px 60px -10px rgba(0, 0, 0, .85), 0 0 0 8px rgba(182, 242, 46, .22), 0 0 40px rgba(182, 242, 46, .3); } }
.order-alert-x { position: absolute; top: 8px; left: 10px; background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; }
.order-alert-x:hover { color: #fff; }
.order-alert-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.order-alert-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--lime); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; animation: badgePulse 1.2s ease-in-out 4; }
.order-alert-head b { display: block; font-size: 17px; font-weight: 900; color: #fff; }
.order-alert-head small { color: var(--lime); font-weight: 700; font-size: 13.5px; letter-spacing: .04em; }
.order-alert-body { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; background: var(--surface); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; font-size: 14px; color: #d4d4d8; }
.order-alert-body b { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 20px; font-weight: 900; color: #fff; }
.order-alert-body span:nth-child(2) { color: var(--muted); font-size: 13px; }
.order-alert-go { width: 100%; height: 44px; }
.order-alert-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--lime), var(--red)); }
@media (max-width: 640px) { .order-alerts { right: 16px; bottom: 16px; } }

/* ===== Prize wheel ===== */
.wheel-btn { color: var(--lime); }
.wheel-btn svg { animation: wheelIdle 6s linear infinite; }
.wheel-btn:hover svg { animation-duration: 1.5s; }
@keyframes wheelIdle { to { transform: rotate(360deg); } }
.wheel-badge {
  position: absolute; top: 1px; left: -1px; min-width: 17px; height: 17px; border-radius: 99px; display: grid; place-items: center;
  font-size: 10.5px; font-weight: 900; line-height: 1; border: 2px solid var(--bg);
}
.wheel-badge.ready { background: var(--red); color: #fff; animation: badgePulse 1.2s ease-in-out infinite; }
.wheel-badge.used { background: var(--lime); color: #000; }
.wheel-modal {
  position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; overflow-x: hidden; text-align: center;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 20px; padding: 24px 22px 22px;
  background-image: radial-gradient(ellipse 90% 50% at 50% 0%, rgba(215, 25, 32, .25), transparent 70%);
  animation: popIn .6s cubic-bezier(.18, 1.25, .4, 1) both, glowRing 2.4s ease-in-out .6s infinite;
}
.wheel-bg.closing .wheel-modal { animation: popOut .25s ease forwards; }
.wheel-modal h2 { font-size: 24px; font-weight: 900; margin: 4px 0 4px; }
.wheel-sub { font-size: 14px; margin: 0 0 14px; }
.wheel-wrap { position: relative; width: min(330px, 78vw); aspect-ratio: 1; margin: 0 auto 16px; }
.wheel-svg { width: 100%; height: 100%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); }
.wheel-svg text { font-family: 'Heebo', sans-serif; }
.wheel-rot { transform-box: fill-box; transform-origin: center; transition: transform 5.4s cubic-bezier(.12, .7, .1, 1); }
.wheel-wrap:not(.spinning):not(.done) .wheel-svg { animation: wheelWobble 2.4s ease-in-out infinite; }
@keyframes wheelWobble { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.bulb { fill: #f5b82e; animation: bulbs .5s steps(1) infinite; }
.bulb.b2 { animation-delay: .25s; }
.wheel-wrap.spinning .bulb { animation-duration: .18s; }
@keyframes bulbs { 50% { fill: #3a2c0a; } }
.wheel-pointer {
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; z-index: 2;
  border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 28px solid var(--lime);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .6));
}
.wheel-wrap.spinning .wheel-pointer { animation: pointerTick .12s ease-in-out infinite; }
@keyframes pointerTick { 50% { transform: translateX(-50%) rotate(-12deg); } }
.wheel-go { width: 100%; height: 54px; font-size: 18px; font-weight: 900; animation: goPulse 1.4s ease-in-out infinite; }
@keyframes goPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(182, 242, 46, .5); } 50% { box-shadow: 0 0 0 10px rgba(182, 242, 46, 0); } }
.wheel-go[disabled] { animation: none; }
.wheel-fine { font-size: 12.5px; margin: 10px 0 0; }
.wheel-fine a { color: var(--lime); text-decoration: underline; }
.wheel-result { border-radius: 14px; padding: 16px; margin-bottom: 12px; animation: popIn .5s cubic-bezier(.18, 1.25, .4, 1) both; }
.wheel-result b { display: block; font-size: 26px; font-weight: 900; line-height: 1.2; }
.wheel-result p { margin: 8px 0 0; font-size: 13.5px; color: #d4d4d8; }
.wheel-result.win { background: rgba(182, 242, 46, .1); border: 1.5px solid var(--lime); }
.wheel-result.win b { color: var(--lime); }
.wheel-result.win .btn { margin-top: 12px; width: 100%; }
.wheel-result.lose { background: var(--surface-2); border: 1px solid var(--border); }
.wheel-won { display: block; font-weight: 800; font-size: 15px; margin-bottom: 2px; }
.wheel-code { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 12px; }
.wheel-code code { white-space: nowrap; font-size: clamp(16px, 4.6vw, 20px); font-weight: 900; letter-spacing: .1em; background: #0a0a0b; border: 1.5px dashed var(--lime); border-radius: 10px; padding: 6px 14px; color: #fff; }
.wheel-timer { display: flex; flex-direction: column; gap: 2px; align-items: center; background: #0a0a0b; border: 1px solid var(--border); border-radius: 12px; padding: 10px; }
.wheel-timer span { font-size: 13px; color: var(--muted); }
.wheel-timer b { font-size: 24px; font-weight: 900; letter-spacing: .04em; }
.confetti { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; pointer-events: none; animation: confettiFall 2s ease-in forwards; z-index: 5; }
@keyframes confettiFall { to { top: 105%; transform: rotate(720deg) translateX(40px); opacity: .2; } }

/* ===== Upsell popup (cart) ===== */
.upsell-bg {
  position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 16px; animation: fadeIn .2s ease;
}
.upsell-bg.closing { animation: fadeOut .25s ease forwards; }
.upsell-bg.closing .upsell { animation: popOut .25s ease forwards; }
@keyframes popOut { to { opacity: 0; transform: translateY(24px) scale(.92); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
.upsell {
  position: relative; width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 18px; padding: 24px;
  background-image: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(215, 25, 32, .22), transparent 70%);
  animation: popIn .6s cubic-bezier(.18, 1.25, .4, 1) both, glowRing 2.4s ease-in-out .6s infinite;
}
@keyframes popIn {
  0% { opacity: 0; transform: translateY(60px) scale(.8) rotate(-2deg); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes glowRing {
  0%, 100% { box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 0 1px rgba(182, 242, 46, .15); }
  50% { box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 0 2px rgba(182, 242, 46, .55), 0 0 40px rgba(182, 242, 46, .18); }
}
.upsell-eyebrow { animation: eyebrowIn .5s ease .35s both; }
@keyframes eyebrowIn { from { opacity: 0; transform: translateY(-8px); } }
.upsell-img { animation: productSwing 3s ease-in-out .7s infinite; transform-origin: 50% 10%; }
@keyframes productSwing { 0%, 100% { transform: rotate(0deg) scale(1); } 25% { transform: rotate(-4deg) scale(1.04); } 50% { transform: rotate(0deg) scale(1.06); } 75% { transform: rotate(4deg) scale(1.04); } }
.upsell-badge { animation: badgePulse 1.2s ease-in-out infinite; z-index: 1; }
@keyframes badgePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.upsell-q, .upsell-actions { animation: eyebrowIn .45s ease .5s both; }
.shake { animation: shake .4s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.upsell-x { position: absolute; top: 12px; left: 14px; background: none; border: 0; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.upsell-x:hover { color: #fff; }
.upsell-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--lime); background: rgba(182, 242, 46, .1); border-radius: 99px; padding: 3px 12px; margin-bottom: 14px; }
.upsell-body { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.upsell-img { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.upsell-img img { width: 100%; height: 100%; object-fit: cover; }
.upsell-img .badge { top: 8px; right: 8px; }
.upsell h3 { font-size: 19px; font-weight: 800; line-height: 1.3; }
.upsell-save { margin: 4px 0 0; font-size: 13.5px; }
.upsell-q { font-weight: 600; font-size: 16px; margin: 18px 0 12px; }
.upsell-sizes { margin-bottom: 12px; }
.upsell-sizes .chip span { min-width: 46px; height: 40px; }
.upsell-err { color: #fca5a5; font-size: 13.5px; margin-bottom: 10px; }
.upsell-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.upsell-actions .btn { height: 48px; }

/* ===== Toast ===== */
.toast-wrap { position: fixed; bottom: 24px; left: 24px; z-index: 200; display: grid; gap: 10px; }
.toast {
  background: #fff; color: #0b0b0b; border-radius: 12px; padding: 12px 16px; font-weight: 500; font-size: 14.5px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45); display: flex; gap: 12px; align-items: center; animation: toastIn .3s ease;
  border-right: 4px solid var(--lime);
}
.toast.error { border-right-color: var(--danger); }
.toast a { color: #0b0b0b; font-weight: 800; text-decoration: underline; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .main-nav { gap: 18px; }
  .search-pill input { width: 130px; }
  .home-cards { grid-template-columns: 1fr 1fr; }
  .home-cards .shop-panel { grid-column: 1 / -1; }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .site-header { backdrop-filter: none; background: #0a0a0b; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(300px, 82vw); flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); padding: 80px 20px 20px; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; z-index: 60;
    border-left: 1px solid var(--border);
  }
  .main-nav.open { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(0, 0, 0, .6); }
  .main-nav a { padding: 14px 6px; border-bottom: 1px solid var(--border); font-size: 17px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 55; display: none; }
  .nav-backdrop.open { display: block; }
  .search-pill { display: none; }
  .shop-layout, .product-page, .cart-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; }
  .filters nav { display: flex; gap: 6px; overflow-x: auto; }
  .filters a { white-space: nowrap; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-jersey { opacity: .35; left: -4%; width: 60vw; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 12px; height: 66px; }
  .logo svg { width: 42px; height: 42px; }
  .logo-text { font-size: 16px; }
  .pill-link { display: none; }
  .login-icon { display: grid; }
  .acct-btn { padding: 2px; }
  .acct-btn > svg { display: none; }
  .acct-menu { position: fixed; top: 72px; left: 12px; right: 12px; width: auto; }
  .account-layout { grid-template-columns: minmax(0, 1fr); }
  .account-side { position: static; }
  .order-card summary { grid-template-columns: 1fr auto; row-gap: 6px; }
  .order-card summary > :nth-child(2), .order-card summary > :nth-child(3) { font-size: 14px; }
  .order-card summary > svg { display: none; }
  .auth-box { margin-top: 24px; padding: 20px; }
  .hero { min-height: 480px; }
  .hero::after { background: linear-gradient(to bottom, rgba(5, 5, 6, .62) 0%, rgba(5, 5, 6, .45) 55%, var(--bg) 100%); }
  .hero-photo { background-position: 30% 30%; }
  .hero-content { padding: 60px 0 130px; }
  .home-cards { grid-template-columns: minmax(0, 1fr); margin-top: -90px; }
  .mini-products { gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mini-product { padding: 7px; min-width: 0; }
  .mini-product .name { font-size: 12.5px; }
  .mini-product .btn { font-size: 12px; padding: 0 6px; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-actions { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .card-actions .btn { height: 36px; font-size: 13px; }
  .product-card .body { padding: 10px 12px 12px; }
  .product-card .name { font-size: 14.5px; }
  .row-2, .row-3 { grid-template-columns: 1fr; }
  .toc { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item .thumb { width: 72px; height: 72px; }
  .cart-item .actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .toast-wrap { left: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
