/* ============================================================
   AMERICAN PRIDE STORE — Ultra-modern patriotic theme
   ============================================================ */

:root {
  --navy-950: #060b1a;
  --navy-900: #0a1228;
  --navy-800: #111d3d;
  --navy-700: #1a2a54;
  --red-500: #e0162b;
  --red-400: #ff2d44;
  --gold-400: #f5c542;
  --gold-300: #ffd968;
  --white: #ffffff;
  --grey-300: #b8c2d8;
  --grey-400: #8b96b0;
  --radius: 18px;
  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-red: 0 10px 40px -10px rgba(224, 22, 43, 0.5);
  --shadow-card: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* ---------- Utilities ---------- */
.text-gradient {
  background: linear-gradient(100deg, var(--red-400) 10%, var(--gold-400) 60%, var(--gold-300) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: linear-gradient(100deg, var(--red-500), #b00e20);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 50px -8px rgba(224, 22, 43, 0.65);
}
.btn-arrow { transition: transform 0.25s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(5px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-3px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 24px;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.navbar.scrolled {
  background: rgba(6, 11, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  padding: 12px 24px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}
.logo em { color: var(--red-400); font-style: normal; }
.logo-star {
  color: var(--gold-400);
  font-size: 1.4rem;
  animation: starSpin 6s linear infinite;
  display: inline-block;
}
@keyframes starSpin {
  0%, 70% { transform: rotate(0deg); }
  80% { transform: rotate(72deg) scale(1.25); }
  100% { transform: rotate(72deg); }
}

.nav-links { display: flex; gap: 34px; }
.nav-links a {
  color: var(--grey-300);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--red-400), var(--gold-400));
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.cart-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--white);
  transition: background 0.25s ease, transform 0.25s ease;
}
.cart-btn:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.cart-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute;
  top: -7px; right: -7px;
  background: var(--red-500);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 21px; height: 21px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  box-shadow: 0 4px 12px rgba(224, 22, 43, 0.5);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-count.pop { transform: scale(1.45); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 24px 100px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.stars-layer { position: absolute; inset: 0; }
.stars-layer .star {
  position: absolute;
  color: var(--white);
  opacity: 0.25;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  font-size: var(--size, 12px);
}
@keyframes twinkle {
  0%, 100% { opacity: 0.12; transform: scale(0.85); }
  50% { opacity: 0.7; transform: scale(1.15); }
}

.stripe-glow {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}
.stripe-glow-red {
  background: radial-gradient(circle, var(--red-500), transparent 65%);
  top: -15%; right: -10%;
  animation: drift 14s ease-in-out infinite alternate;
}
.stripe-glow-blue {
  background: radial-gradient(circle, #1e3fa0, transparent 65%);
  bottom: -20%; left: -12%;
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 40px) scale(1.15); }
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero-badge {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(245, 197, 66, 0.35);
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8.5vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
}
.hero-title .line { display: block; }
.hero-title .line-gradient {
  background: linear-gradient(100deg, var(--red-400) 5%, var(--gold-400) 55%, var(--gold-300) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 30px rgba(224, 22, 43, 0.35));
}
.reveal.visible .line { animation: none; }

.hero-sub {
  margin: 26px auto 38px;
  max-width: 560px;
  color: var(--grey-300);
  font-size: 1.1rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
}
.stat-label { color: var(--grey-400); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 44px; background: rgba(255, 255, 255, 0.12); }

/* flying rocket across the hero */
.rocket-x {
  position: absolute;
  left: 0;
  top: 76%;
  z-index: 1;
  pointer-events: none;
  animation: rocketX 9s linear infinite;
  animation-delay: 1.2s;
  opacity: 0;
}
@keyframes rocketX {
  0%   { transform: translateX(-12vw); opacity: 0; }
  4%   { opacity: 1; }
  48%  { opacity: 1; }
  55%  { transform: translateX(108vw); opacity: 0; }
  100% { transform: translateX(108vw); opacity: 0; }
}
.rocket-y {
  position: relative;
  animation: rocketY 9s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  animation-delay: 1.2s;
}
@keyframes rocketY {
  0%   { transform: translateY(0); }
  55%  { transform: translateY(-56vh); }
  100% { transform: translateY(-56vh); }
}
.rocket-body {
  display: inline-block;
  font-size: 2.1rem;
  transform: rotate(18deg);
  filter: drop-shadow(0 0 14px rgba(245, 197, 66, 0.55));
  animation: rocketShake 0.3s ease-in-out infinite alternate;
}
@keyframes rocketShake {
  from { translate: 0 -1px; }
  to   { translate: 0 1px; }
}
.rocket-trail {
  position: absolute;
  top: 68%;
  right: 62%;
  width: 130px;
  height: 3px;
  border-radius: 999px;
  transform-origin: right center;
  transform: rotate(-27deg);
  background: linear-gradient(270deg,
    rgba(255, 217, 104, 0.95),
    rgba(255, 45, 68, 0.6) 40%,
    rgba(255, 255, 255, 0.25) 70%,
    transparent);
  filter: blur(0.5px);
}
@media (max-width: 640px) {
  .rocket-body { font-size: 1.6rem; }
  .rocket-trail { width: 80px; }
}

/* waving flag stripes at hero bottom */
.hero-flag-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0.5;
  pointer-events: none;
}
.wave-stripe {
  height: 14px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--red-500) 25%, var(--red-500) 75%, transparent);
  animation: waveMove 6s ease-in-out infinite;
  transform-origin: center;
}
.wave-stripe:nth-child(2) {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5) 25%, rgba(255,255,255,0.5) 75%, transparent);
  animation-delay: 0.6s;
}
.wave-stripe:nth-child(3) { animation-delay: 1.2s; }
@keyframes waveMove {
  0%, 100% { transform: scaleX(0.92) translateY(0); opacity: 0.5; }
  50% { transform: scaleX(1) translateY(-6px); opacity: 1; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: linear-gradient(90deg, var(--red-500), #a30d1e);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: marqueeScroll 22s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--white);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
section { padding: 110px 24px; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--gold-400);
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
}
.section-head p { margin-top: 16px; color: var(--grey-300); font-size: 1.05rem; }

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.shop {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(30, 63, 160, 0.12), transparent),
    var(--navy-950);
}

.product-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(245, 197, 66, 0.4);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(245, 197, 66, 0.15);
}

.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: linear-gradient(100deg, var(--red-500), #b00e20);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(224, 22, 43, 0.45);
}
.product-badge.gold { background: linear-gradient(100deg, var(--gold-400), #d9a520); color: var(--navy-950); }

.product-img {
  aspect-ratio: 1 / 0.85;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 40%, rgba(30, 63, 160, 0.35), rgba(6, 11, 26, 0.4));
  overflow: hidden;
}
.product-img img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.45));
}
.product-card:hover .product-img img { transform: scale(1.1) rotate(-2deg); }

.product-info { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-weight: 800; font-size: 1.05rem; margin-bottom: 6px; }
.product-desc { color: var(--grey-400); font-size: 0.86rem; line-height: 1.55; margin-bottom: 18px; }

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto; /* pin price + buttons to the card bottom, whatever the description length */
}

.card-buy {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--gold-400), #d9a520);
  color: var(--navy-950);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}
.card-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px -10px rgba(245, 197, 66, 0.55);
}
.card-buy:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* red padlock icon used inside Buy Now buttons */
.lock-ico { width: 14px; height: 14px; vertical-align: -2px; margin-left: 3px; }
.lock-ico path { fill: var(--red-500); }
.price-wrap { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.product-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-300);
}
.product-price-old {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--grey-400);
  text-decoration: line-through;
}
.sale-badge { letter-spacing: 0.02em; }

.add-btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.add-btn:hover {
  background: linear-gradient(100deg, var(--red-500), #b00e20);
  border-color: transparent;
  transform: scale(1.05);
  box-shadow: var(--shadow-red);
}
.add-btn:active { transform: scale(0.96); }

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(224, 22, 43, 0.08), transparent),
    var(--navy-900);
}

.feature-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(224, 22, 43, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.feature-icon {
  font-size: 2.6rem;
  margin-bottom: 18px;
  display: inline-block;
  animation: floatIcon 4s ease-in-out infinite;
}
.feature-card:nth-child(2) .feature-icon { animation-delay: 0.5s; }
.feature-card:nth-child(3) .feature-icon { animation-delay: 1s; }
.feature-card:nth-child(4) .feature-icon { animation-delay: 1.5s; }
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.feature-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 10px; }
.feature-card p { color: var(--grey-400); font-size: 0.9rem; line-height: 1.6; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { background: var(--navy-950); }

.review-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.review-card:hover { transform: translateY(-6px); border-color: rgba(245, 197, 66, 0.3); }
.review-stars { color: var(--gold-400); font-size: 1.1rem; letter-spacing: 4px; margin-bottom: 16px; }
.review-card p { color: var(--grey-300); line-height: 1.65; font-size: 0.95rem; margin-bottom: 22px; }
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--grey-300);
}
.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-500), var(--navy-700));
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--white);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { padding: 60px 24px 120px; background: var(--navy-950); }
.cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 32px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 60% 90% at 20% 10%, rgba(224, 22, 43, 0.25), transparent),
    radial-gradient(ellipse 60% 90% at 80% 90%, rgba(30, 63, 160, 0.3), transparent),
    var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '★';
  position: absolute;
  font-size: 20rem;
  color: rgba(255, 255, 255, 0.03);
  top: -60px; right: -40px;
  transform: rotate(15deg);
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin-bottom: 14px;
}
.cta-inner p { color: var(--grey-300); margin-bottom: 32px; font-size: 1.05rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 64px 24px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.footer-brand em { color: var(--red-400); font-style: normal; }
.footer-brand p {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--grey-400);
  font-size: 0.88rem;
  margin-top: 14px;
  line-height: 1.6;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--gold-400);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  color: var(--grey-400);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--white); }
.footer-pay { color: var(--grey-400); font-size: 0.88rem; line-height: 1.7; }
.footer-pay strong { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
  text-align: center;
  color: var(--grey-400);
  font-size: 0.82rem;
}

/* ============================================================
   CART DRAWER
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 15, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 200;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(430px, 100vw);
  background: var(--navy-900);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5);
}
.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cart-head h3 { font-family: var(--font-display); font-size: 1.15rem; }
.cart-head h3 span { color: var(--gold-400); }
.cart-close {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  width: 38px; height: 38px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cart-close:hover { background: rgba(224, 22, 43, 0.35); transform: rotate(90deg); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty {
  text-align: center;
  color: var(--grey-400);
  margin-top: 60px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.cart-empty .big { font-size: 3rem; display: block; margin-bottom: 12px; }

.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  animation: itemIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes itemIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
.cart-item-img {
  width: 62px; height: 62px;
  border-radius: 10px;
  background: radial-gradient(ellipse at center, rgba(30, 63, 160, 0.4), rgba(6, 11, 26, 0.5));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cart-item-img img { width: 75%; height: 75%; object-fit: contain; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 0.88rem; margin-bottom: 4px; }
.cart-item-price { color: var(--gold-300); font-weight: 700; font-size: 0.85rem; }
.cart-item-opts { color: var(--grey-400); font-size: 0.74rem; margin: 2px 0 4px; line-height: 1.3; }

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qty-btn {
  width: 26px; height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s ease;
}
.qty-btn:hover { background: rgba(255, 255, 255, 0.15); }
.qty-val { font-weight: 700; font-size: 0.88rem; min-width: 20px; text-align: center; }

.cart-item-remove {
  background: none;
  border: none;
  color: var(--grey-400);
  cursor: pointer;
  font-size: 1rem;
  padding: 6px;
  transition: color 0.2s ease;
  align-self: flex-start;
}
.cart-item-remove:hover { color: var(--red-400); }

.cart-foot {
  padding: 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.cart-total { font-family: var(--font-display); color: var(--gold-300); font-size: 1.4rem; }
.cart-note { color: var(--grey-400); font-size: 0.78rem; margin-bottom: 16px; }
.btn-checkout { width: 100%; justify-content: center; font-size: 1rem; padding: 17px; }
.btn-checkout:disabled { opacity: 0.6; cursor: wait; transform: none; }
.cart-error {
  color: var(--red-400);
  font-size: 0.82rem;
  margin-top: 12px;
  text-align: center;
  min-height: 1em;
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: linear-gradient(100deg, var(--red-500), #b00e20);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: var(--shadow-red);
  z-index: 300;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   CATEGORY FILTER TABS
   ============================================================ */
.filter-tabs {
  max-width: 1200px;
  margin: -20px auto 40px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--grey-300);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-tab:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); transform: translateY(-2px); }
.filter-tab.active {
  background: linear-gradient(100deg, var(--red-500), #b00e20);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover { color: var(--gold-300); }
.product-cat {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 6px;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.pdp {
  max-width: 1150px;
  margin: 0 auto;
  padding: 130px 24px 40px;
  min-height: 60vh;
}
.pdp-loading { text-align: center; color: var(--grey-400); padding: 120px 0; font-size: 1.05rem; }

.pdp-crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--grey-400);
  margin-bottom: 34px;
}
.pdp-crumbs a { color: var(--grey-400); text-decoration: none; transition: color 0.2s ease; }
.pdp-crumbs a:hover { color: var(--gold-300); }
.pdp-crumbs b { color: var(--white); font-weight: 600; }

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.pdp-media { position: relative; }
.pdp-media .product-badge { top: 20px; left: 20px; font-size: 0.75rem; padding: 8px 16px; }
.pdp-img-wrap {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse at 50% 35%, rgba(30, 63, 160, 0.45), rgba(6, 11, 26, 0.4)),
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), transparent);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  animation: pdpFloatIn 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes pdpFloatIn {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.pdp-img-wrap img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5));
  animation: pdpBob 5s ease-in-out infinite;
}
@keyframes pdpBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.pdp-img-wrap { cursor: zoom-in; position: relative; }
.pdp-zoom-hint {
  position: absolute;
  bottom: 16px; right: 18px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  font-size: 1.1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  opacity: 0.7;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.pdp-img-wrap:hover .pdp-zoom-hint { opacity: 1; transform: scale(1.12); }

.pdp-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.pdp-thumb {
  width: 76px; height: 76px;
  border-radius: 14px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(ellipse at 50% 40%, rgba(30, 63, 160, 0.35), rgba(6, 11, 26, 0.4));
  cursor: pointer;
  overflow: hidden;
  display: grid;
  place-items: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.pdp-thumb img { width: 80%; height: 80%; object-fit: contain; }
.pdp-thumb:hover { transform: translateY(-3px); border-color: rgba(245, 197, 66, 0.5); }
.pdp-thumb.active { border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.2); }

.pdp-unit { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; color: var(--grey-400); -webkit-text-fill-color: var(--grey-400); }

/* photo zoom lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  background: rgba(3, 6, 15, 0.92);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: zoom-out;
  padding: 4vmin;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.7));
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 22px; right: 22px;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover { background: rgba(224, 22, 43, 0.4); transform: rotate(90deg); }

.pdp-info { animation: pdpFloatIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.12s backwards; }
.pdp-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  padding: 7px 16px;
  border: 1px solid rgba(245, 197, 66, 0.35);
  border-radius: 999px;
  margin-bottom: 18px;
}
.pdp-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.08;
  margin-bottom: 14px;
}
.pdp-rating { color: var(--gold-400); font-size: 1rem; letter-spacing: 3px; margin-bottom: 20px; }
.pdp-rating span { color: var(--grey-400); font-size: 0.82rem; letter-spacing: 0; margin-left: 8px; }
.pdp-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  background: linear-gradient(100deg, var(--red-400), var(--gold-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.pdp-price-old {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--grey-400);
  text-decoration: line-through;
  -webkit-text-fill-color: var(--grey-400);
  margin-left: 12px;
}
.pdp-save {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy-950);
  background: var(--gold-400);
  -webkit-text-fill-color: var(--navy-950);
  padding: 4px 12px;
  border-radius: 999px;
  margin-left: 12px;
  vertical-align: middle;
}
.pdp-desc { color: var(--grey-300); line-height: 1.7; font-size: 1.02rem; margin-bottom: 28px; }

/* product option selectors */
.pdp-options { display: flex; flex-direction: column; gap: 20px; margin-bottom: 26px; }
.pdp-opt-group { }
.pdp-opt-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-300);
  margin-bottom: 10px;
}
.pdp-opt-name .req { color: var(--gold-400); }
.pdp-opt-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.pdp-choice {
  padding: 10px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--grey-300);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.pdp-choice:hover { transform: translateY(-2px); color: var(--white); }
.pdp-choice .delta { color: var(--gold-300); font-size: 0.82rem; font-weight: 700; }
.pdp-choice.selected {
  border-color: var(--gold-400);
  color: var(--white);
  background: rgba(245, 197, 66, 0.12);
  box-shadow: 0 0 0 2px rgba(245, 197, 66, 0.18);
}
.pdp-choice.addon.selected { border-color: var(--red-400); background: rgba(224, 22, 43, 0.14); box-shadow: 0 0 0 2px rgba(224, 22, 43, 0.18); }

.btn-gold {
  background: linear-gradient(100deg, var(--gold-400), #d9a520);
  color: var(--navy-950);
  box-shadow: 0 10px 40px -10px rgba(245, 197, 66, 0.5);
}
.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 50px -8px rgba(245, 197, 66, 0.6);
}
.btn-gold:disabled { opacity: 0.6; cursor: wait; transform: none; }

.pdp-buy { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.pdp-buy-now { padding: 17px 32px; }
#pdp-error { text-align: left; margin-bottom: 14px; }
.pdp-qty {
  margin: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 14px;
  gap: 14px;
}
.pdp-qty .qty-btn { width: 32px; height: 32px; font-size: 1rem; }
.pdp-qty .qty-val { font-size: 1.05rem; min-width: 26px; }
.pdp-add { padding: 17px 36px; }

.pdp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 26px;
}
.pdp-trust span { color: var(--grey-300); font-size: 0.85rem; font-weight: 600; }

.pdp-long p { color: var(--grey-400); line-height: 1.75; font-size: 0.95rem; margin-bottom: 14px; }

.pdp-related { padding-top: 40px; }

@media (max-width: 820px) {
  .pdp { padding: 110px 18px 20px; }
  .pdp-grid { grid-template-columns: 1fr; gap: 32px; }
  .pdp-buy .pdp-add, .pdp-buy .pdp-buy-now { flex: 1 1 45%; justify-content: center; }
}

/* ============================================================
   RESPONSIVE — tablet & phone
   ============================================================ */
@media (max-width: 900px) {
  section { padding: 80px 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 110px 18px 80px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.5rem; }
  .stat-divider { display: none; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  section { padding: 64px 16px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .product-info { padding: 14px; }
  .product-desc { display: none; }
  .product-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .add-btn { width: 100%; }
  .product-price { font-size: 1.1rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { padding: 56px 22px; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
