/* FLUX Athletics — demo store styles (fictional brand, analytics demo only) */
:root {
  --bg: #0b0d10;
  --surface: #14181d;
  --surface-2: #1c2128;
  --text: #f2f4f7;
  --muted: #98a2b3;
  --accent: #d7ff3e;
  --accent-2: #1f6feb;
  --line: #262b33;
  --radius: 14px;
  --maxw: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11,13,16,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 18px; }
.brand { font-weight: 800; letter-spacing: 1px; font-size: 22px; text-transform: uppercase; }
.brand span { color: var(--accent); font-weight: 500; margin-left: 4px; letter-spacing: 3px; font-size: 12px; }
.main-nav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.main-nav a { color: var(--muted); transition: color .15s; }
.main-nav a:hover { color: var(--text); }
.cart-link { font-size: 14px; font-weight: 600; border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; }
.cart-link:hover { border-color: var(--accent); }

/* Hero */
.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(31,111,235,0.25), transparent),
    radial-gradient(900px 400px at 0% 0%, rgba(215,255,62,0.10), transparent);
}
.hero h1 { font-size: clamp(34px, 6vw, 68px); line-height: 1.03; margin: 0 0 18px; font-weight: 800; letter-spacing: -1px; }
.hero p { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0 0 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: 12px; color: var(--accent); font-weight: 700; margin-bottom: 16px; }

/* Buttons */
.btn { display: inline-block; cursor: pointer; border: none; font-weight: 700; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; transition: transform .1s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #0b0d10; }
.btn-primary:hover { background: #c6ef2b; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-block { width: 100%; text-align: center; }

/* Sections */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; }
.section-head h2 { font-size: 28px; margin: 0; font-weight: 800; letter-spacing: -.5px; }
.section-head a { color: var(--muted); font-size: 14px; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }
.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s, border-color .15s; }
.product-card:hover { transform: translateY(-4px); border-color: #39424f; }
.product-img { aspect-ratio: 4/5; display: flex; align-items: flex-end; padding: 14px; color: rgba(255,255,255,0.92); font-weight: 700; font-size: 14px; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.product-meta { padding: 14px 16px 18px; }
.product-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); }
.product-meta h3 { font-size: 15px; margin: 6px 0 8px; font-weight: 600; }
.product-price { font-weight: 700; color: var(--accent); }

/* Product detail */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px 0; }
@media (max-width: 820px) { .pdp { grid-template-columns: 1fr; gap: 26px; } }
.pdp-img { aspect-ratio: 1/1; border-radius: var(--radius); display: flex; align-items: flex-end; padding: 22px; font-weight: 800; font-size: 20px; }
.pdp-info h1 { font-size: 34px; margin: 6px 0 10px; letter-spacing: -.5px; }
.pdp-price { font-size: 24px; font-weight: 800; color: var(--accent); margin-bottom: 20px; }
.pdp-desc { color: var(--muted); margin-bottom: 26px; }
.sizes { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.size-btn { min-width: 54px; padding: 12px 0; text-align: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 600; transition: border-color .12s, background .12s; }
.size-btn:hover { border-color: #4a5563; }
.size-btn.selected { border-color: var(--accent); background: rgba(215,255,62,0.08); }
.pdp-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.added-flash { color: var(--accent); font-weight: 600; margin-top: 14px; min-height: 20px; }

/* Cart & checkout */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; padding: 40px 0 80px; }
@media (max-width: 820px) { .cart-layout, .checkout-layout { grid-template-columns: 1fr; } }
.page-title { font-size: 32px; margin: 40px 0 8px; letter-spacing: -.5px; }
.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-thumb { width: 76px; height: 92px; border-radius: 10px; flex: none; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { margin: 0 0 4px; font-size: 15px; }
.cart-item-info span { color: var(--muted); font-size: 13px; }
.cart-item-price { font-weight: 700; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; height: fit-content; }
.summary h3 { margin: 0 0 16px; }
.summary-row { display: flex; justify-content: space-between; margin: 10px 0; color: var(--muted); font-size: 14px; }
.summary-row.total { color: var(--text); font-weight: 800; font-size: 18px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.empty { color: var(--muted); padding: 40px 0; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input { width: 100%; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; color: var(--text); font-size: 15px; }
.field input:focus { outline: none; border-color: var(--accent-2); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.order-done { text-align: center; padding: 80px 0; }
.order-done h1 { font-size: 40px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; margin-top: 40px; }
.site-footer p { color: var(--muted); font-size: 13px; margin: 0; text-align: center; }
.demo-banner { background: var(--accent-2); color: #fff; text-align: center; font-size: 12.5px; padding: 7px 10px; font-weight: 600; letter-spacing: .3px; }
