/* ============================================================
   TrumpMaga.si — design system
   Bold MAGA-rally aesthetic: deep navy, bright red, white, gold.
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Anton&family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --navy: #0a1428;
  --navy-2: #101d38;
  --navy-3: #16263f;
  --red: #c8102e;
  --red-bright: #e0233d;
  --red-dark: #9c0c24;
  --gold: #d4a017;
  --gold-light: #f0c93f;
  --white: #ffffff;
  --cream: #f7f3ea;
  --ink: #1b2340;
  --muted: #5b6478;
  --line: #e4ddcd;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(10, 20, 40, 0.16);
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

/* ---------- announcement bar ---------- */
.announce {
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-align: center;
  padding: 8px 12px;
}

/* ---------- header ---------- */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--red);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}
.logo span { color: var(--red-bright); }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1.5px;
  color: #cfd6e4;
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: #fff; border-bottom-color: var(--red-bright); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  background: var(--red);
  color: #fff;
  border: none;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
}
.cart-btn:hover { background: var(--red-bright); }
.cart-count {
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 7px;
  margin-left: 6px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #3a4a6b;
  color: #fff;
  font-size: 20px;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-2);
  border-top: 1px solid #22345a;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-head);
  letter-spacing: 1.5px;
  padding: 14px 20px;
  border-bottom: 1px solid #22345a;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-bright); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-white { background: #fff; color: var(--navy); }
.btn-block { display: block; width: 100%; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(200, 16, 46, 0.35), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 14px;
  background: repeating-linear-gradient(
    -45deg, var(--red) 0 18px, #fff 18px 36px
  );
}
.hero-in {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 72px 20px 88px;
}
.hero-kicker {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold-light);
  font-size: 15px;
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 7.5vw, 96px);
  line-height: 0.95;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.hero h1 .red { color: var(--red-bright); }
.hero h1 .gold { color: var(--gold-light); }
.hero p.lead {
  font-size: 18px;
  color: #c9d2e6;
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof {
  display: flex;
  gap: 26px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-proof div { font-family: var(--font-head); font-size: 14px; letter-spacing: 1px; color: #aeb8d0; }
.hero-proof strong { display: block; color: #fff; font-size: 22px; }
.hero-img { position: relative; }
.hero-img img {
  border-radius: 14px;
  border: 3px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.hero-img .stamp {
  position: absolute;
  top: -22px;
  right: -12px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
  padding: 12px 18px;
  border-radius: 8px;
  transform: rotate(6deg);
  box-shadow: var(--shadow);
  border: 2px solid #fff;
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--navy);
  color: var(--gold-light);
  overflow: hidden;
  white-space: nowrap;
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
}
.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: slide 26s linear infinite;
}
.marquee-track span { display: inline-block; padding: 0 18px; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .kicker {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--red);
  font-size: 14px;
  margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 54px);
  letter-spacing: 1px;
  color: var(--navy);
}
.section-head p { color: var(--muted); max-width: 560px; margin: 10px auto 0; }

/* ---------- product grid / cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 26px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(10, 20, 40, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #eef0f4;
  overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: #c3cadb;
}
.card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 4px;
  z-index: 2;
}
.card-soldout {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(10, 20, 40, 0.85);
  color: #fff;
  text-align: center;
  font-family: var(--font-head);
  letter-spacing: 2px;
  padding: 8px;
}
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  color: var(--navy);
  line-height: 1.25;
}
.card-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--red);
  margin-top: auto;
}

/* skeleton + error */
.skeleton .card-img { background: linear-gradient(100deg, #e8ebf1 40%, #f4f6fa 50%, #e8ebf1 60%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk-line { height: 16px; background: #e8ebf1; border-radius: 4px; margin-top: 10px; }
.sk-line.short { width: 40%; }
.error-box {
  text-align: center;
  background: #fff;
  border: 2px dashed var(--red);
  border-radius: var(--radius);
  padding: 44px 24px;
  max-width: 560px;
  margin: 0 auto;
}
.error-star { font-size: 40px; color: var(--red); }
.preview-note {
  text-align: center;
  background: #fff8e1;
  border: 1px solid var(--gold);
  color: #7a5c00;
  font-family: var(--font-head);
  letter-spacing: 1px;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 26px;
}

/* ---------- story strip ---------- */
.story {
  background: var(--navy);
  color: #fff;
  position: relative;
}
.story::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 12px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 16px, #fff 16px 32px);
}
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.value {
  background: var(--navy-2);
  border: 1px solid #243a63;
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
}
.value .icon { font-size: 40px; margin-bottom: 12px; }
.value h3 { font-family: var(--font-head); letter-spacing: 1px; font-size: 20px; margin-bottom: 8px; color: var(--gold-light); }
.value p { color: #b9c2d8; font-size: 15px; }

/* ---------- lifestyle ---------- */
.lifestyle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lifestyle-grid img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow);
}

/* ---------- newsletter ---------- */
.newsletter {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(212, 160, 23, 0.18), transparent 60%),
    linear-gradient(180deg, var(--red-dark), var(--red));
  color: #fff;
  text-align: center;
}
.newsletter-in { padding: 20px; }
.newsletter-stars { color: var(--gold-light); font-size: 26px; letter-spacing: 8px; margin-bottom: 10px; }
.newsletter h2 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 56px); letter-spacing: 2px; }
.newsletter p { color: #ffe9ec; margin: 10px 0 24px; }
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 6px;
  border: none;
  font-size: 16px;
  font-family: var(--font-body);
}
.newsletter-fine { font-size: 12px; color: #f3c6cd; margin-top: 14px; }
.newsletter-done { font-family: var(--font-head); font-size: 20px; letter-spacing: 1px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #c9d2e6; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 56px 20px 30px;
}
.footer-brand .logo { font-size: 26px; }
.footer-brand p { margin: 12px 0; font-size: 14px; }
.footer-stars { color: var(--gold); letter-spacing: 6px; }
.footer-col h4 {
  font-family: var(--font-head);
  letter-spacing: 2px;
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: #aeb8d0;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
}
.footer-col a:hover { color: #fff; }
.footer-legal {
  border-top: 1px solid #22345a;
  padding: 22px 20px 30px;
  font-size: 12.5px;
  color: #8b96b0;
}
.copyright { margin-top: 8px; }

/* ---------- shop page ---------- */
.shop-hero {
  background: var(--navy);
  color: #fff;
  padding: 60px 0 50px;
  text-align: center;
  border-bottom: 4px solid var(--red);
}
.shop-hero h1 { font-family: var(--font-display); font-size: clamp(40px, 6vw, 68px); letter-spacing: 2px; }
.shop-hero p { color: #aeb8d0; margin-top: 8px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 34px 0 30px; }
.filter-btn {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 999px;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}
.filter-btn.active, .filter-btn:hover { background: var(--navy); color: #fff; }

/* ---------- product detail ---------- */
.pd-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  padding: 48px 0 70px;
}
.pd-gallery { display: flex; flex-direction: column; gap: 14px; }
.pd-main {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-thumb {
  width: 76px; height: 76px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #eef0f4;
  padding: 0;
}
.pd-thumb.active { border-color: var(--red); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .pd-kicker {
  font-family: var(--font-head);
  letter-spacing: 3px;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
}
.pd-info h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 52px);
  color: var(--navy);
  letter-spacing: 1px;
  margin: 8px 0 12px;
  line-height: 1.05;
}
.pd-price { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--red); margin-bottom: 16px; }
.pd-desc { color: var(--muted); margin-bottom: 26px; font-size: 16px; }
.pd-opt-label {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 14px;
  margin: 18px 0 10px;
  color: var(--navy);
}
.pd-opt-label span { color: var(--muted); font-weight: 400; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  min-width: 52px;
  padding: 10px 14px;
  border: 2px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  color: var(--ink);
}
.swatch:hover { border-color: var(--navy); }
.swatch.active { border-color: var(--red); background: #fff5f6; color: var(--red-dark); }
.swatch:disabled { opacity: 0.4; cursor: not-allowed; }
.pd-buy { display: flex; gap: 12px; margin-top: 28px; }
.qty { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 8px; background: #fff; }
.qty button {
  width: 44px; height: 52px;
  background: none; border: none;
  font-size: 22px; cursor: pointer; color: var(--navy);
}
.qty span { min-width: 36px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.pd-buy .btn { flex: 1; }
.pd-meta { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 14px; color: var(--muted); }
.pd-meta div { margin-bottom: 8px; }
.pd-meta strong { color: var(--navy); }

/* ---------- about / faq ---------- */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 0;
  text-align: center;
  border-bottom: 4px solid var(--red);
}
.page-hero h1 { font-family: var(--font-display); font-size: clamp(38px, 5.5vw, 62px); letter-spacing: 2px; }
.page-hero p { color: #aeb8d0; margin-top: 10px; }
.prose { max-width: 780px; margin: 0 auto; padding: 56px 20px; }
.prose h2 { font-family: var(--font-display); color: var(--navy); letter-spacing: 1px; font-size: 30px; margin: 36px 0 12px; }
.prose p { color: #3c4763; margin-bottom: 16px; font-size: 17px; }
.prose .stars { color: var(--red); letter-spacing: 6px; margin: 24px 0; }
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: 0 3px 12px rgba(10, 20, 40, 0.06);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-a { display: none; padding: 0 22px 22px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q span:last-child { transform: rotate(45deg); }

/* ---------- cart drawer ---------- */
#cart-drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
#cart-drawer.open { pointer-events: auto; }
.drawer-overlay {
  position: absolute; inset: 0;
  background: rgba(8, 14, 30, 0.6);
  opacity: 0; transition: opacity 0.25s;
}
#cart-drawer.open .drawer-overlay { opacity: 1; }
.drawer {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}
#cart-drawer.open .drawer { transform: translateX(0); }
.drawer-head {
  background: var(--navy);
  color: #fff;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--red);
}
.drawer-head h3 { font-family: var(--font-display); letter-spacing: 1px; font-size: 22px; }
.drawer-count { color: var(--gold-light); }
.drawer-close { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px; }
.drawer-foot { padding: 18px; background: #fff; border-top: 1px solid var(--line); }
.cart-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.cart-empty-star { font-size: 52px; color: var(--gold); margin-bottom: 12px; }
.cart-empty .btn { margin-top: 18px; }
.cart-line {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
  position: relative;
  box-shadow: 0 2px 8px rgba(10, 20, 40, 0.06);
}
.cart-line-img { width: 72px; height: 72px; border-radius: 6px; object-fit: cover; background: #eef0f4; flex-shrink: 0; }
.cart-line-img-ph { background: linear-gradient(135deg, var(--navy), var(--red-dark)); }
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-name { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--navy); }
.cart-line-variant { font-size: 13px; color: var(--muted); }
.cart-line-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cart-line-price { font-family: var(--font-head); font-weight: 700; color: var(--red); }
.cart-line-remove {
  position: absolute; top: 6px; right: 8px;
  background: none; border: none; color: #b0b7c9; cursor: pointer; font-size: 14px;
}
.cart-line-remove:hover { color: var(--red); }
.cart-subtotal { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: 18px; margin-bottom: 6px; }
.cart-note { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.drawer-foot .btn { margin-bottom: 10px; }

/* ---------- toast ---------- */
#toast {
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  letter-spacing: 0.5px;
  padding: 14px 24px;
  border-radius: 8px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
  z-index: 200;
  transition: transform 0.3s ease;
  max-width: 90vw;
  text-align: center;
}
#toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; padding: 52px 20px 70px; }
  .hero-img { max-width: 420px; }
  .values { grid-template-columns: 1fr; }
  .lifestyle-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pd-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .pd-buy { flex-direction: column; }
  .qty { justify-content: center; }
}

/* ============================================================
   NEXT-LEVEL: 3D hero, motion system, tilt cards
   ============================================================ */

/* ---------- 3D flag hero ---------- */
.hero-3d {
  min-height: max(94vh, 660px);
  display: flex;
  align-items: center;
  padding: 0;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 20, 40, 0.45), rgba(10, 20, 40, 0.72)),
    url("../assets/hero.webp") center 28% / cover no-repeat,
    var(--navy);
}
#flag-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* readability scrim over the 3D scene */
.hero-3d::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(6, 12, 26, 0.9) 0%,
    rgba(6, 12, 26, 0.62) 38%,
    rgba(6, 12, 26, 0.1) 68%,
    rgba(6, 12, 26, 0.34) 100%
  );
  pointer-events: none;
}
.hero-3d .hero-in {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  padding-top: 96px;
  padding-bottom: 110px;
}
.hero-copy { max-width: 660px; }
.hero-3d h1,
.hero-3d .hero-kicker,
.hero-3d p.lead {
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
}
/* floating drop badge over the flag */
.hero-flag-badge {
  position: absolute;
  z-index: 2;
  top: 16%;
  right: 7%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.15;
  padding: 16px 20px;
  border-radius: 10px;
  transform: rotate(6deg);
  box-shadow: var(--shadow);
  border: 2px solid #fff;
  animation: floaty 4.5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-12px); }
}
/* scroll cue */
.hero-scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  color: var(--gold-light);
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 3px;
  text-decoration: none;
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { opacity: 0.65; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

/* hero entrance timeline */
.hero-copy > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.hero-ready .hero-copy > * { opacity: 1; transform: none; }
body.hero-ready .hero-copy > *:nth-child(1) { transition-delay: 0.05s; }
body.hero-ready .hero-copy > *:nth-child(2) { transition-delay: 0.16s; }
body.hero-ready .hero-copy > *:nth-child(3) { transition-delay: 0.3s; }
body.hero-ready .hero-copy > *:nth-child(4) { transition-delay: 0.42s; }
body.hero-ready .hero-copy > *:nth-child(5) { transition-delay: 0.54s; }
.hero-flag-badge { opacity: 0; transition: opacity 0.8s ease 0.7s; }
body.hero-ready .hero-flag-badge { opacity: 1; }

/* ---------- scroll reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- 3D tilt product cards ---------- */
.product-card.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card.tilt .card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.3),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}
.product-card.tilt:hover .card-img::after { opacity: 1; }
.product-card.tilt .card-body {
  transform: translateZ(24px);
}

/* ---------- headline gold shimmer ---------- */
.hero-3d h1 .gold {
  background: linear-gradient(100deg, var(--gold-light) 20%, #fff6d8 40%, var(--gold-light) 60%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-gold 5s linear infinite;
}
@keyframes shimmer-gold {
  from { background-position: 200% 0; }
  to { background-position: -20% 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-3d { min-height: max(88vh, 600px); }
  .hero-3d::before {
    background: linear-gradient(180deg, rgba(6, 12, 26, 0.82), rgba(6, 12, 26, 0.5));
  }
  .hero-flag-badge { top: 12%; right: 5%; font-size: 17px; padding: 12px 15px; }
  .hero-3d .hero-in { padding-top: 70px; }
}

/* ---------- reduced motion: kill the show, keep the content ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .reveal, .hero-flag-badge { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-flag-badge, .hero-scroll, .marquee-track, .hero-3d h1 .gold { animation: none !important; }
  #flag-canvas { display: none; }
}

/* ============ LIFESTYLE / COLOR-POP fancy pass ============ */
@property --pop {
  syntax: "<color>";
  inherits: true;
  initial-value: #c8102e;
}

.lifestyle-grid { align-items: stretch; }
.life-wrap { position: relative; }
.life-wrap .life-orb {
  position: absolute; inset: -12% -8%;
  background: radial-gradient(circle at 50% 45%, var(--pop, #c8102e) 0%, transparent 68%);
  filter: blur(44px); opacity: .5;
  animation: orbPulse 6s ease-in-out infinite alternate;
  pointer-events: none;
}
.life-card {
  position: relative; display: block; border-radius: 16px; overflow: hidden;
  border: 2px solid rgba(212, 160, 23, .6);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .35);
  animation: lifeFloat 7s ease-in-out infinite;
  will-change: transform; text-decoration: none; color: inherit;
}
.life-card img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block;
  transform: scale(1.03); transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.life-card:hover img { transform: scale(1.09); }
.life-card::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.38) 50%, transparent 58%);
  transform: translateX(-130%);
}
.life-card:hover::after { animation: sheen 1.1s ease; }
.life-cap {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  padding: 28px 16px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(4, 9, 20, .88));
}
.life-cap strong { display: block; font-size: 15px; letter-spacing: .08em; }
.life-cap span { font-size: 12px; letter-spacing: .24em; color: var(--gold-light); }

@keyframes orbPulse { from { opacity: .32; transform: scale(.94); } to { opacity: .62; transform: scale(1.06); } }
@keyframes lifeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes sheen { to { transform: translateX(130%); } }

/* product page: color aura behind the main product image */
.pd-main { position: relative; isolation: isolate; }
.pd-main::before {
  content: ""; position: absolute; inset: -10% -12%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 45%, var(--pop, #c8102e) 0%, transparent 66%);
  filter: blur(30px); opacity: .5; transition: --pop .7s ease;
}
.pd-main > img, .pd-main .card-img-ph { position: relative; z-index: 1; }

/* product page: lifestyle panel with color-reactive backdrop */
.life-panel {
  position: relative; margin-top: 46px; overflow: hidden;
  border-radius: 18px; border: 1px solid rgba(212,160,23,.35);
  background: linear-gradient(120deg, #0a1428 30%, #142a50 70%, #0a1428);
  padding: clamp(24px, 4vw, 44px);
  animation: panelIn .8s cubic-bezier(.2,.7,.2,1) both;
}
.life-panel .life-orb {
  position: absolute; width: 62%; aspect-ratio: 1; right: -14%; top: -30%;
  background: radial-gradient(circle, var(--pop, #c8102e) 0%, transparent 64%);
  filter: blur(70px); opacity: .5; transition: --pop .7s ease;
  animation: orbPulse 7s ease-in-out infinite alternate; pointer-events: none;
}
.life-panel-in { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 4vw, 44px); align-items: center; }
.life-panel-copy h2 { color: #fff; margin: .25em 0 .5em; font-size: clamp(24px, 3.4vw, 36px); }
.life-panel-copy p { color: #b9c2d8; max-width: 46ch; }
.life-color-tag {
  display: inline-block; margin-top: 16px; padding: 9px 18px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 13px; letter-spacing: .06em;
}
.life-color-tag strong { color: var(--gold-light); }
@keyframes panelIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .life-panel-in { grid-template-columns: 1fr; }
  .life-panel .life-card { max-width: 320px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .life-card, .life-wrap .life-orb, .life-panel, .life-panel .life-orb { animation: none !important; }
  .life-card::after { display: none; }
}
