@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&display=swap');

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-darkest: #071a0a;
  --green-dark:    #0d2b12;
  --green-mid:     #1a5c2a;
  --green-bright:  #2a8f3e;
  --lime:          #c8f000;
  --lime-dim:      #a8cc00;
  --lime-soft:     #e8fb8a;
  --bg:            #f7fdf4;
  --bg-card:       #ffffff;
  --text:          #0d1f10;
  --text-muted:    #6b8070;
  --border:        #d4ecd8;
  --shadow-sm:     0 2px 10px rgba(0,0,0,0.06);
  --shadow-md:     0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:     0 16px 48px rgba(0,0,0,0.14);
  --radius:        14px;
  --radius-sm:     8px;
  --radius-pill:   100px;

  /* Type scale */
  --fs-label:  0.72rem;   /* uppercase labels, tags */
  --fs-small:  0.82rem;   /* captions, secondary text */
  --fs-body:   0.92rem;   /* all body paragraphs, inputs, buttons */
  --fs-ui:     1rem;      /* card names, nav-size elements */
  --fs-sub:    1rem;      /* page subtitles */
  --fs-h3:     1.2rem;    /* minor headings */
  --fs-h2:     2rem;      /* section headings */
  --fs-h1:     2.8rem;    /* page hero h1 */
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
}

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

/* =====================
   NAVIGATION
   ===================== */
@keyframes navFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes navItemIn {
  from { opacity: 0; transform: translateY(-7px); }
  to   { opacity: 1; transform: translateY(0); }
}

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 26, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 240, 0, 0.12);
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  height: 68px;
  animation: navFadeIn 0.4s ease both;
}

.logo {
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: filter 0.3s, opacity 0.2s;
  animation: navItemIn 0.5s cubic-bezier(0.22,1,0.36,1) both 0.06s;
}

.logo:hover {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(200,240,0,0.35));
}

.logo span { color: var(--lime); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
}

.nav-right a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-pill);
  transition: color 0.22s;
  font-weight: 500;
  white-space: nowrap;
}

.nav-right a:hover { color: #fff; }

.nav-links li:nth-child(1) { animation: navItemIn 0.5s cubic-bezier(0.22,1,0.36,1) both 0.12s; }
.nav-links li:nth-child(2) { animation: navItemIn 0.5s cubic-bezier(0.22,1,0.36,1) both 0.19s; }
.nav-links li:nth-child(3) { animation: navItemIn 0.5s cubic-bezier(0.22,1,0.36,1) both 0.26s; }
.nav-links li:nth-child(4) { animation: navItemIn 0.5s cubic-bezier(0.22,1,0.36,1) both 0.33s; }
.nav-links li:nth-child(5) { animation: navItemIn 0.5s cubic-bezier(0.22,1,0.36,1) both 0.40s; }

.cart-btn { animation: navItemIn 0.5s cubic-bezier(0.22,1,0.36,1) both 0.46s; }

.nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  transition: color 0.22s;
  font-weight: 500;
  position: relative;
}

#nav-auth-link {
  color: rgba(200,240,0,0.75) !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px;
}

#nav-auth-link:hover { color: #c8f000 !important; }

.nav-links a:not(.cta)::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--lime);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.22,1,0.36,1);
}

.nav-links a:not(.cta):hover         { color: #fff; }
.nav-links a:not(.cta):hover::after  { width: 48%; }
.nav-links a:not(.cta).active        { color: #fff; }
.nav-links a:not(.cta).active::after { width: 48%; }

.nav-links .cta {
  background: var(--lime);
  color: var(--green-darkest);
  font-weight: 700;
  margin-left: 0.5rem;
  padding: 0.5rem 1.25rem;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.nav-links .cta:hover {
  background: #d8ff1a;
  color: var(--green-darkest);
  box-shadow: 0 0 20px rgba(200,240,0,0.45), 0 4px 14px rgba(0,0,0,0.18);
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--green-darkest);
  color: rgba(255,255,255,0.5);
  font-size: var(--fs-small);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 3rem 3rem;
}

.footer-brand .footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.footer-brand .footer-logo span { color: var(--lime); }

.footer-brand p {
  line-height: 1.75;
  font-size: var(--fs-small);
  max-width: 240px;
}

.footer-col h4 {
  color: #fff;
  font-size: var(--fs-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
  font-size: var(--fs-small);
}

.footer-col ul a:hover { color: var(--lime); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

.footer-bottom a {
  color: var(--lime);
  text-decoration: none;
  opacity: 0.8;
}

.footer-bottom a:hover { opacity: 1; }

/* =====================
   PAGE HERO (shared)
   ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--green-darkest) 0%, var(--green-dark) 50%, var(--green-mid) 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,240,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: var(--fs-sub);
  max-width: 480px;
  margin: 0 auto;
}

/* =====================
   SECTION HEADER
   ===================== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  font-size: var(--fs-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--green-bright);
  display: block;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: var(--fs-h2);
  color: var(--green-dark);
}

.section-header p {
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-size: var(--fs-body);
}

/* =====================
   PRODUCT GRID
   ===================== */
.products-section {
  padding: 4rem 3rem 5rem;
  background-color: var(--bg);
}

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

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  border: 1px solid var(--border);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-mid), var(--lime));
  opacity: 0;
  transition: opacity 0.25s;
}

.product-card:hover::before { opacity: 1; }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  z-index: 1;
}

.badge-new  { background: var(--lime); color: var(--green-darkest); }
.badge-sale { background: #ff5b3a; color: #fff; }
.badge-best { background: #ffb400; color: #1a0e00; }

.product-info { padding: 1.3rem 1.3rem 1.5rem; }

.product-tag {
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-bright);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.product-name {
  font-size: var(--fs-ui);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.3rem;
}

.product-stars {
  color: #f5a623;
  font-size: var(--fs-small);
  margin-bottom: 0.55rem;
}

.product-stars span { color: var(--text-muted); font-size: var(--fs-label); margin-left: 4px; }

.product-desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  line-height: 1.65;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-wrap { display: flex; flex-direction: column; }

.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
}

.product-original {
  font-size: var(--fs-label);
  color: #bbb;
  text-decoration: line-through;
}

.add-to-cart {
  background: var(--green-dark);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.1rem;
  font-size: var(--fs-small);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.add-to-cart:hover {
  background: var(--green-mid);
  transform: scale(1.04);
}

.add-to-cart:active { transform: scale(0.97); }

/* =====================
   HAMBURGER BUTTON
   ===================== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  margin-right: 0.25rem;
}
.hamburger-btn:hover { background: rgba(255,255,255,0.08); }

.ham-bar {
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  display: block;
}
.hamburger-btn.active .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.active .ham-bar:nth-child(2) { opacity: 0; }
.hamburger-btn.active .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================
   MOBILE NAV OVERLAY
   ===================== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav-panel {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--green-darkest);
  border-bottom: 1px solid rgba(200,240,0,0.12);
  padding: 0 1.5rem 1.75rem;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav-overlay.open .mobile-nav-panel { transform: translateY(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  border-bottom: 1px solid rgba(200,240,0,0.08);
  margin-bottom: 1rem;
}

.mobile-nav-close {
  background: rgba(255,255,255,0.07);
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.4rem;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav-close:hover { background: rgba(255,255,255,0.13); color: #fff; }

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.mobile-nav-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.2px;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active { color: #fff; background: rgba(255,255,255,0.06); }

.mobile-nav-links .cta {
  background: var(--lime) !important;
  color: var(--green-darkest) !important;
  margin-top: 0.4rem;
  font-weight: 700;
  text-align: center;
  border-radius: 100px;
}
.mobile-nav-links .cta:hover { background: #d8ff1a !important; }

.mobile-nav-auth {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(200,240,0,0.08);
}
.mobile-nav-auth a {
  display: block;
  color: rgba(200,240,0,0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.mobile-nav-auth a:hover { background: rgba(255,255,255,0.06); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 0 1.25rem; }
  .nav-links { display: none !important; }
  .nav-right  { display: none !important; }
  .hamburger-btn { display: flex !important; }

  /* Cart button — pushed to far right, more visible */
  .cart-btn {
    margin-left: auto;
    padding: 0.5rem 0.75rem;
    background: rgba(200,240,0,0.1);
    border-radius: var(--radius-sm);
  }
  .cart-btn img { width: 26px; height: 26px; }
  .cart-badge {
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem 1.5rem;
  }

  /* Page hero */
  .page-hero { padding: 3.5rem 1.5rem 4rem; }
  .page-hero h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }

  /* Product section */
  .products-section { padding: 2.5rem 1rem 3.5rem; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }

  /* Coming soon strip */
  .coming-soon-strip {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    padding: 3rem 1.5rem !important;
    margin: 0 1rem 3rem !important;
  }
  .paddle-scene { margin-right: 0 !important; margin-top: 1.5rem; }

  /* Promise strip */
  .promise-strip { padding: 2rem 1.25rem; }
  .promise-items {
    gap: 1.5rem;
    justify-content: flex-start;
    align-items: flex-start;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
  }
  .promise-item { min-width: 0; }

  /* Cart / checkout drawer */
  .dark-drawer { padding: 1.25rem 1.25rem 2rem; }
}

@media (max-width: 480px) {
  nav { padding: 0 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.5rem; }
  .dark-drawer { max-width: 100%; }
}

/* =====================
   FEATURE STRIP
   ===================== */
.feature-strip {
  background: var(--green-darkest);
  border-bottom: 1px solid rgba(200,240,0,0.1);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255,255,255,0.5);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.feature-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}

/* =====================
   STATS BAR
   ===================== */
.stats-bar {
  display: flex;
  justify-content: center;
  background: var(--green-darkest);
  border-top: 1px solid rgba(200,240,0,0.08);
}

.stat-item {
  flex: 1;
  max-width: 220px;
  text-align: center;
  padding: 2.25rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.45rem;
  letter-spacing: -1px;
}

.stat-label {
  font-size: var(--fs-label);
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .feature-strip { gap: 1.25rem; }
  .stat-item { padding: 1.5rem 1rem; }
  .stat-number { font-size: 1.7rem; }
}

/* =====================
   CART BUTTON (NAV)
   ===================== */
.cart-btn {
  position: relative;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 0.45rem 0.65rem;
  display: flex;
  align-items: center;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}

.cart-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }

.cart-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  background: var(--lime);
  color: var(--green-darkest);
  font-size: 0.58rem;
  font-weight: 800;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

/* =====================
   DARK OVERLAY + DRAWER
   ===================== */
.dark-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.dark-overlay.open { opacity: 1; pointer-events: all; }

.dark-drawer {
  background: var(--green-darkest);
  border-left: 1px solid rgba(200,240,0,0.1);
  width: 100%;
  max-width: 440px;
  height: 100%;
  overflow-y: auto;
  padding: 1.75rem 1.75rem 2.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dark-overlay.open .dark-drawer { transform: translateX(0); }

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(200,240,0,0.1);
}

.drawer-header h2 { color: #fff; font-size: var(--fs-h3); font-weight: 700; }

.drawer-close {
  background: rgba(255,255,255,0.07);
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 1.3rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}

.drawer-close:hover { background: rgba(255,255,255,0.13); color: #fff; }

/* ── Cart items ── */
.cart-items-list { flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,240,0,0.07);
  border-radius: var(--radius-sm);
}

.cart-item-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
  padding: 4px;
}

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name  { font-weight: 700; color: #fff; font-size: var(--fs-small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-size  { font-size: var(--fs-label); color: rgba(255,255,255,0.4); margin-top: 0.15rem; }
.cart-item-price { font-size: var(--fs-small); font-weight: 600; color: var(--lime); margin-top: 0.25rem; }

.cart-item-controls { display: flex; align-items: center; gap: 0.3rem; flex-shrink: 0; }

.qty-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  line-height: 1;
}

.qty-btn:hover { background: rgba(255,255,255,0.15); }

.qty-val { color: #fff; font-size: var(--fs-small); font-weight: 600; min-width: 18px; text-align: center; }

.remove-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.25);
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
  margin-left: 0.15rem;
}

.remove-btn:hover { color: #ff6b6b; }

/* ── Empty state ── */
.cart-empty-state {
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(255,255,255,0.35);
  font-size: var(--fs-body);
}

/* ── Cart footer ── */
.cart-drawer-footer {
  border-top: 1px solid rgba(200,240,0,0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: auto;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: var(--fs-ui);
  font-weight: 700;
}

.cart-total-row span:first-child { color: rgba(255,255,255,0.5); font-weight: 500; }

/* ── Drawer buttons ── */
.drawer-primary-btn {
  background: var(--lime);
  color: var(--green-darkest);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-body);
  padding: 0.75rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.15s;
}

.drawer-primary-btn:hover { background: #d8ff1a; transform: scale(1.01); }
.drawer-primary-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.drawer-secondary-btn {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-small);
  font-weight: 600;
  padding: 0.55rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.drawer-secondary-btn:hover { background: rgba(255,255,255,0.11); color: #fff; }

/* ── Dark form inputs (checkout drawer) ── */
.dark-input {
  width: 100%;
  padding: 0.6rem 0.9rem;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(200,240,0,0.15);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-small);
  color: #fff;
  transition: border-color 0.2s;
}

.dark-input:focus { outline: none; border-color: rgba(200,240,0,0.5); }
.dark-input::placeholder { color: rgba(255,255,255,0.25); }

.dark-section-label {
  font-size: var(--fs-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(200,240,0,0.7);
  margin-bottom: 0.65rem;
  display: block;
}

.dark-card-wrap {
  padding: 0.65rem 0.9rem;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(200,240,0,0.15);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}

.dark-card-wrap.focused { border-color: rgba(200,240,0,0.5); }

.dark-card-error {
  font-size: var(--fs-small);
  color: #ff6b6b;
  margin-top: 0.4rem;
  min-height: 1.2em;
}

.dark-secure-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.4rem;
}

/* ── Checkout success ── */
.drawer-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
  gap: 1rem;
}

.drawer-success.show { display: flex; }

.success-circle {
  width: 64px;
  height: 64px;
  background: var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drawer-success h2 { color: #fff; font-size: var(--fs-h3); }
.drawer-success p  { color: rgba(255,255,255,0.5); font-size: var(--fs-body); line-height: 1.7; max-width: 280px; }

/* =====================
   ENTRANCE ANIMATIONS
   ===================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge-in { animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) both 0.05s; }
.hero-title-in { animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) both 0.18s; }
.hero-sub-in   { animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) both 0.30s; }
.hero-form-in  { animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) both 0.42s; }
.hero-scene-in { animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) both 0.55s; }

/* =====================
   SCROLL REVEAL
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}

.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* =====================
   NAV SCROLL STATE
   ===================== */
nav { transition: background 0.3s, box-shadow 0.3s, border-bottom-color 0.3s; }

nav.scrolled {
  background: rgba(7,26,10,0.97);
  box-shadow: 0 2px 28px rgba(0,0,0,0.35), 0 1px 0 rgba(200,240,0,0.18);
  border-bottom-color: rgba(200,240,0,0.22);
}

/* =====================
   BUTTON SHIMMER
   ===================== */
@keyframes shimmerPass {
  0%   { left: -100%; }
  100% { left: 200%;  }
}


/* =====================
   FEATURE STRIP MARQUEE
   ===================== */
.feature-strip {
  overflow: hidden;
  padding: 0;
  display: block;
  position: relative;
}

.feature-strip::before,
.feature-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.feature-strip::before { left: 0;  background: linear-gradient(90deg,  var(--green-darkest), transparent); }
.feature-strip::after  { right: 0; background: linear-gradient(-90deg, var(--green-darkest), transparent); }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.feature-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem 2rem;
  animation: marqueeScroll 26s linear infinite;
  will-change: transform;
  white-space: nowrap;
}

.feature-sep {
  color: rgba(200,240,0,0.3);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* =====================
   PAGE HERO SECOND GLOW
   ===================== */
.page-hero--image {
  background:
    linear-gradient(to bottom,
      rgba(4,16,6,0.78) 0%,
      rgba(7,26,10,0.52) 45%,
      rgba(4,16,6,0.82) 100%),
    url('images/pickleball in the sunset.png') center 42% / cover no-repeat;
  background-attachment: scroll;
}

.page-hero--image::before {
  background: radial-gradient(ellipse at 50% 40%, rgba(200,240,0,0.07) 0%, transparent 65%);
}

.page-hero--image h1 {
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}

.page-hero--image p {
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

.page-hero::after {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(200,240,0,0.065) 0%, transparent 65%);
  border-radius: 50%;
  bottom: -120px; left: -80px;
  pointer-events: none;
  animation: heroGlow2 8s ease-in-out infinite;
}

@keyframes heroGlow2 {
  0%, 100% { transform: scale(1);   opacity: 0.7; }
  50%       { transform: scale(1.3) translate(4%, 4%); opacity: 1; }
}

/* =====================
   SIZE CHIP BUTTONS
   ===================== */
.size-label {
  display: block;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0.85rem 0 0.5rem;
}

.size-picker {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.size-chip {
  padding: 0.38rem 0.72rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  min-width: 40px;
  text-align: center;
  transition: border-color 0.15s, background 0.15s, color 0.15s,
              transform 0.12s, box-shadow 0.15s;
}

.size-chip:hover {
  border-color: var(--green-mid);
  color: var(--green-dark);
  transform: scale(1.07);
}

.size-chip.selected {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
  box-shadow: 0 2px 8px rgba(13,43,18,0.3);
  transform: scale(1.07);
}

/* =====================
   TRUST / PROMISE STRIP
   ===================== */
.promise-strip {
  background: var(--green-darkest);
  border-top: 1px solid rgba(200,240,0,0.08);
  padding: 2.5rem 3rem;
}

.promise-items {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 180px;
}

.promise-icon {
  width: 40px; height: 40px;
  background: rgba(200,240,0,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--lime);
}

.promise-item strong {
  display: block;
  font-size: var(--fs-small);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.promise-item span {
  display: block;
  font-size: var(--fs-label);
  color: rgba(255,255,255,0.4);
  margin-top: 0.15rem;
}

@media (max-width: 600px) {
  .promise-strip { padding: 2rem 1.5rem; }
  .promise-items { gap: 1.75rem; }
}

/* =====================
   LEGAL / POLICY PAGES
   ===================== */
.legal-doc {
  max-width: 760px;
  margin: 3.5rem auto 5rem;
  padding: 0 2rem;
}

.legal-doc .legal-updated {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.legal-doc h2 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--green-bright);
  margin: 2.5rem 0 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1.5px solid var(--border);
}

.legal-doc h2:first-of-type { margin-top: 0; }

.legal-doc p,
.legal-doc li {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.85;
}

.legal-doc p  { margin-bottom: 1rem; }
.legal-doc ul { margin: 0 0 1rem 1.2rem; }
.legal-doc li { margin-bottom: 0.4rem; }

.legal-doc a {
  color: var(--green-bright);
  font-weight: 600;
  text-decoration: none;
}
.legal-doc a:hover { text-decoration: underline; }
.legal-doc strong { color: var(--green-dark); }

.legal-note {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--lime-dim);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .legal-doc { margin: 2rem auto 3rem; padding: 0 1.25rem; }
}

/* =====================
   MOBILE POLISH
   ===================== */
@media (max-width: 768px) {
  /* Never allow accidental sideways scrolling on phones */
  html, body { overflow-x: hidden; }

  /* Prevent iOS Safari from auto-zooming when a field is focused
     (any form control under 16px triggers it) + comfier tap height */
  .dark-input,
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  textarea,
  select {
    font-size: 16px;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  /* Roomier, thumb-friendly primary actions */
  .drawer-primary-btn,
  .drawer-secondary-btn,
  .add-cart-btn {
    min-height: 46px;
  }

  /* Smooth momentum scrolling inside the cart/checkout drawer */
  .dark-drawer { -webkit-overflow-scrolling: touch; }
}

/* Extra breathing room on the smallest phones */
@media (max-width: 480px) {
  .drawer-secondary-btn { width: 100%; }
  .page-hero p { font-size: 0.9rem; line-height: 1.6; }
  .co-item img { width: 40px; height: 40px; }
}
