/* ═══════════════════════════════════════════════════════════
   DEMARCO STORE — Nike Ava Rover Landing
   Production styles
   ═══════════════════════════════════════════════════════════ */

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  font-feature-settings: "ss01", "cv01";
  letter-spacing: -0.005em;
  background: #08080A;
}

/* ── FILM GRAIN ────────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grain 8s steps(4) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 2%); }
  40% { transform: translate(2%, -2%); }
  60% { transform: translate(-1%, -1%); }
  80% { transform: translate(1%, 1%); }
}

/* ── PARTICLES ─────────────────────────────────────────────── */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particles span {
  position: absolute;
  display: block;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: drift 18s linear infinite;
  box-shadow: 0 0 6px rgba(127, 225, 201, 0.6);
}
.particles span:nth-child(1)  { left: 5%;   top: 30%; animation-delay: 0s; }
.particles span:nth-child(2)  { left: 15%;  top: 70%; animation-delay: 2s; }
.particles span:nth-child(3)  { left: 30%;  top: 20%; animation-delay: 4s; }
.particles span:nth-child(4)  { left: 45%;  top: 60%; animation-delay: 6s; }
.particles span:nth-child(5)  { left: 60%;  top: 10%; animation-delay: 8s; }
.particles span:nth-child(6)  { left: 75%;  top: 40%; animation-delay: 10s; }
.particles span:nth-child(7)  { left: 85%;  top: 80%; animation-delay: 12s; }
.particles span:nth-child(8)  { left: 95%;  top: 25%; animation-delay: 14s; }
.particles span:nth-child(9)  { left: 25%;  top: 50%; animation-delay: 1s; }
.particles span:nth-child(10) { left: 55%;  top: 85%; animation-delay: 5s; }

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translate(20px, -40px) scale(1.3); }
  90%  { opacity: 1; }
  100% { transform: translate(-30px, -100px) scale(0.7); opacity: 0; }
}

/* ── DISCOUNT BADGE ────────────────────────────────────────── */
.discount-badge {
  animation: bounce-soft 2.4s ease-in-out infinite;
  box-shadow: 0 6px 20px -4px rgba(232, 69, 69, 0.6);
}
@keyframes bounce-soft {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-4px) rotate(3deg); }
}

/* ── PRIMARY CTA ───────────────────────────────────────────── */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 460px;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(135deg, #7FE1C9 0%, #A8B23F 100%);
  color: #08080A;
  font-weight: 900;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  border-radius: 16px;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 12px 40px -10px rgba(127, 225, 201, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
  animation: pulse-glow 3s ease-in-out infinite;
}
.cta-primary::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%) skewX(-20deg);
  transition: transform 0.6s;
}
.cta-primary:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 20px 60px -10px rgba(127, 225, 201, 0.7),
              0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.cta-primary:hover::before {
  transform: translateX(100%) skewX(-20deg);
}
.cta-primary--big {
  max-width: 560px;
  padding: 1.75rem 2.5rem;
  font-size: 1.375rem;
  border-radius: 20px;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 12px 40px -10px rgba(127, 225, 201, 0.5), 0 0 0 1px rgba(255,255,255,0.1) inset; }
  50%      { box-shadow: 0 12px 60px -10px rgba(127, 225, 201, 0.85), 0 0 0 1px rgba(255,255,255,0.2) inset; }
}

/* ── TRUST PILLS ───────────────────────────────────────────── */
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── FADE-UP ANIMATIONS ────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── REVEAL ON SCROLL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PRODUCT CARDS ─────────────────────────────────────────── */
.product-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
}
.product-glow {
  position: absolute;
  top: -40%;
  right: -40%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--glow, #7FE1C9), transparent 70%);
  opacity: 0.15;
  pointer-events: none;
  transition: opacity 0.5s;
}
.product-card:hover .product-glow {
  opacity: 0.35;
}
.product-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  z-index: 2;
}
.product-image {
  aspect-ratio: 4 / 3;
  background: #0d0d10;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-image img {
  transform: scale(1.08);
}
.product-body {
  padding: 1.5rem 1.5rem 1.75rem;
}
.product-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F5F5F5;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.product-cta:hover {
  background: #7FE1C9;
  color: #08080A;
  transform: translateX(2px);
}
.product-cta span:last-child {
  font-size: 1.25rem;
}

/* ── FEATURE CARDS ─────────────────────────────────────────── */
.feature-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  transition: transform 0.4s, border-color 0.4s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 225, 201, 0.3);
}
.feature-icon {
  width: 56px;
  height: 56px;
  color: #7FE1C9;
  margin-bottom: 1.5rem;
}
.feature-icon svg {
  width: 100%;
  height: 100%;
}
.feature-title {
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: 2rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}
.feature-text {
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.75;
}

/* ── SIZE PILLS ────────────────────────────────────────────── */
.size-pill {
  min-width: 64px;
  padding: 0.85rem 1.3rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 1rem;
  color: #F5F5F5;
  cursor: pointer;
  transition: all 0.3s;
}
.size-pill:hover {
  border-color: #7FE1C9;
  color: #7FE1C9;
}
.size-pill.is-selected {
  background: #7FE1C9;
  border-color: #7FE1C9;
  color: #08080A;
}

/* ── REVIEWS ───────────────────────────────────────────────── */
.reviews-track {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.reviews-row {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scrollReviews 50s linear infinite;
  padding: 1rem 0;
}
.reviews-row:hover {
  animation-play-state: paused;
}
@keyframes scrollReviews {
  to { transform: translateX(-50%); }
}
.review-card {
  flex: 0 0 320px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 1.5rem;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1a1c, #2a2a2d);
  border: 1px solid rgba(127, 225, 201, 0.25);
  object-fit: cover;
  flex-shrink: 0;
}
.review-name {
  font-weight: 700;
  font-size: 0.95rem;
}
.review-stars {
  color: #7FE1C9;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-top: 2px;
}
.review-text {
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.85;
}

/* ── SHIPPING CARDS ────────────────────────────────────────── */
.ship-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.4s;
}
.ship-card:hover {
  border-color: rgba(127, 225, 201, 0.4);
  transform: translateY(-4px);
}
.ship-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
.ship-title {
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: #7FE1C9;
}
.ship-text {
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.8;
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
}
.faq-item[open] {
  background: rgba(127, 225, 201, 0.04);
  border-color: rgba(127, 225, 201, 0.2);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #7FE1C9; }
.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s;
  color: #7FE1C9;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-body {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.98rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* ── HERO 3D TEXT (final CTA) ──────────────────────────────── */
.hero-3d {
  text-shadow:
    1px 1px 0 rgba(127,225,201,0.4),
    2px 2px 0 rgba(127,225,201,0.3),
    3px 3px 0 rgba(127,225,201,0.2),
    4px 4px 0 rgba(127,225,201,0.15),
    5px 5px 14px rgba(0,0,0,0.6);
}

/* ── SOCIAL ICONS ──────────────────────────────────────────── */
.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #F5F5F5;
  transition: all 0.3s;
}
.social-icon:hover {
  background: #7FE1C9;
  color: #08080A;
  transform: translateY(-2px);
}
.social-icon svg {
  width: 18px;
  height: 18px;
}

/* ── LIGHTBOX ──────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open {
  display: flex;
  animation: lightboxIn 0.3s ease;
}
@keyframes lightboxIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox img {
  max-width: min(90vw, 1000px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}
.lightbox-close:hover { background: rgba(127,225,201,0.3); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}
.lightbox-nav:hover { background: rgba(127,225,201,0.3); }
.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }
.lightbox-counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .cta-primary { font-size: 1rem; padding: 1.1rem 1.4rem; }
  .cta-primary--big { font-size: 1.1rem; padding: 1.4rem 1.6rem; }
  .lightbox-nav { width: 44px; height: 44px; font-size: 1.8rem; }
  .lightbox-prev { left: 0.75rem; }
  .lightbox-next { right: 0.75rem; }
  .review-card { flex: 0 0 280px; }
}

@media (max-width: 480px) {
  .hero-3d {
    text-shadow:
      1px 1px 0 rgba(127,225,201,0.4),
      2px 2px 0 rgba(127,225,201,0.3),
      3px 3px 10px rgba(0,0,0,0.6);
  }
}

/* ── REDUCED MOTION ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   ORDER MODAL
   ═══════════════════════════════════════════════════════════ */
.order-modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.order-modal.is-open { display: flex; opacity: 1; }
.order-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 4, 6, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.order-modal__card {
  position: relative;
  width: 100%; max-width: 480px;
  max-height: 92vh; max-height: 92dvh; overflow-y: auto; overflow-x: hidden;
  background: linear-gradient(180deg, rgba(20,20,24,0.96) 0%, rgba(12,12,16,0.98) 100%);
  border: 1px solid rgba(127, 225, 201, 0.15);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.order-modal__card * { box-sizing: border-box; max-width: 100%; }
.order-modal.is-open .order-modal__card {
  transform: translateY(0) scale(1);
}
.order-modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #F5F5F5;
  font-size: 22px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  z-index: 2;
}
.order-modal__close:hover { background: rgba(232,69,69,0.2); border-color: rgba(232,69,69,0.4); transform: scale(1.05); }

.order-state { display: none; animation: order-fade 0.5s ease both; }
.order-state.is-active { display: block; }
@keyframes order-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.order-eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.6;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.order-title {
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(26px, 5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.order-title--thanks { font-size: clamp(28px, 5.5vw, 36px); text-align: center; }
.order-sub {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.45;
  margin-bottom: 20px;
}
.order-state--thanks .order-sub { text-align: center; }

.order-product {
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(127, 225, 201, 0.12);
  border-radius: 14px;
  margin-bottom: 20px;
}
.order-product img {
  width: 72px; height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: #F5F4F1;
}
.order-product__brand {
  font-weight: 700;
  font-size: 14px;
}
.order-product__color {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #7FE1C9;
  margin-top: 2px;
}
.order-product__price {
  margin-top: 4px;
  font-size: 16px;
}

.order-form { display: flex; flex-direction: column; gap: 14px; }
.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.order-field {
  display: flex; flex-direction: column; gap: 6px;
}
.order-field__label {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}
.order-field input,
.order-field select {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.08);
  color: #F5F5F5;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  width: 100%;
  transition: all 0.2s;
  appearance: none;
  box-sizing: border-box;
}
.order-field input:focus,
.order-field select:focus {
  outline: none;
  border-color: #7FE1C9;
  background: rgba(127, 225, 201, 0.05);
  box-shadow: 0 0 0 4px rgba(127, 225, 201, 0.1);
}
.order-field input.is-invalid {
  border-color: #E84545;
}
.order-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FE1C9' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}
.order-field select option { background: #0a0a0c; color: #F5F5F5; }
.order-field__error {
  font-size: 12px;
  color: #E84545;
  min-height: 16px;
  display: block;
}

.order-submit {
  margin-top: 4px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #7FE1C9, #A8B23F);
  color: #08080A;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(127, 225, 201, 0.25);
  position: relative;
  overflow: hidden;
}
.order-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(127, 225, 201, 0.35);
}
.order-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.order-submit.is-loading .order-submit__label { opacity: 0; }
.order-submit__loader {
  position: absolute; top: 50%; left: 50%;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  border: 2.5px solid rgba(8,8,10,0.3);
  border-top-color: #08080A;
  border-radius: 50%;
  opacity: 0;
  animation: order-spin 0.7s linear infinite;
}
.order-submit.is-loading .order-submit__loader { opacity: 1; }
@keyframes order-spin { to { transform: rotate(360deg); } }

.order-trust {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  font-size: 11px;
  opacity: 0.65;
  margin-top: 8px;
  font-family: "Geist Mono", ui-monospace, monospace;
  letter-spacing: 0.05em;
}

/* ── THANK YOU STATE ── */
.order-success-icon {
  width: 80px; height: 80px;
  margin: 0 auto 16px;
  animation: order-pop 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.order-success-icon svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 24px rgba(127, 225, 201, 0.4));
}
.order-success-icon path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: order-check 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
@keyframes order-pop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes order-check {
  to { stroke-dashoffset: 0; }
}

.order-thanks-meta {
  margin: 20px 0;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.order-thanks-row {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 13px;
}
.order-thanks-row > span:first-child { opacity: 0.65; }

.order-upsell {
  margin: 20px 0 16px;
  padding: 18px 18px 18px 64px;
  background: linear-gradient(135deg, rgba(127, 225, 201, 0.08), rgba(168, 178, 63, 0.04));
  border: 1px solid rgba(127, 225, 201, 0.2);
  border-radius: 14px;
  position: relative;
}
.order-upsell__badge {
  position: absolute;
  top: 50%; left: 14px;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E84545, #c93838);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(232, 69, 69, 0.4);
}
.order-upsell__title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 4px;
}
.order-upsell__sub {
  font-size: 12px;
  opacity: 0.7;
  line-height: 1.4;
}

.order-tg-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: #0088cc;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 10px 28px rgba(0, 136, 204, 0.3);
}
.order-tg-cta:hover {
  transform: translateY(-2px);
  background: #0099e0;
  box-shadow: 0 16px 36px rgba(0, 136, 204, 0.4);
}
.order-thanks-close {
  margin-top: 12px;
  background: none;
  border: none;
  color: #F5F5F5;
  opacity: 0.5;
  font-size: 13px;
  cursor: pointer;
  width: 100%;
  padding: 8px;
}
.order-thanks-close:hover { opacity: 1; }

@media (max-width: 480px) {
  .order-modal { padding: 10px; }
  .order-modal__card { padding: 22px 18px; border-radius: 18px; }
  .order-modal__close { top: 10px; right: 10px; width: 32px; height: 32px; font-size: 20px; }
  .order-title { font-size: 22px; padding-right: 36px; }
  .order-title--thanks { padding-right: 0; }
  .order-sub { font-size: 13px; padding-right: 0; }
  .order-grid { grid-template-columns: 1fr; gap: 10px; }
  .order-product { padding: 12px; }
  .order-product img { width: 60px; height: 60px; }
  .order-product__brand { font-size: 13px; }
  .order-product__price { font-size: 14px; }
  .order-trust { font-size: 10px; gap: 6px; }
  .order-thanks-meta { padding: 14px; }
  .order-thanks-row { font-size: 12px; }
  .order-upsell { padding: 14px 14px 14px 56px; }
  .order-upsell__badge { width: 36px; height: 36px; font-size: 11px; left: 10px; }
  .order-upsell__title { font-size: 13px; }
  .order-upsell__sub { font-size: 11px; }
}

/* ═══════════════════════════════════════════════════════════
   TELEGRAM POPUP — exit intent / scroll trigger
   ═══════════════════════════════════════════════════════════ */
.tg-popup {
  position: fixed; inset: 0; z-index: 110;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.tg-popup.is-open { display: flex; opacity: 1; }
.tg-popup__backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 4, 6, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.tg-popup__card {
  position: relative;
  width: 100%; max-width: 460px;
  max-height: 92vh; max-height: 92dvh; overflow-y: auto; overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 136, 204, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(16,16,20,0.98) 0%, rgba(8,8,12,0.99) 100%);
  border: 1px solid rgba(127, 225, 201, 0.18);
  border-radius: 24px;
  padding: 28px 28px 24px;
  box-sizing: border-box;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.75),
    0 0 60px rgba(0, 136, 204, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: translateY(40px) scale(0.92);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.5, 1.2);
  text-align: center;
}
.tg-popup.is-open .tg-popup__card {
  transform: translateY(0) scale(1);
}
.tg-popup__close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #F5F5F5;
  font-size: 20px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  z-index: 2;
}
.tg-popup__close:hover {
  background: rgba(255,255,255,0.1);
  transform: scale(1.08);
}

/* Animated icon */
.tg-popup__icon {
  position: relative;
  width: 86px; height: 86px;
  margin: 4px auto 18px;
}
.tg-popup__icon svg {
  width: 100%; height: 100%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 28px rgba(0, 136, 204, 0.5));
  animation: tg-float 3.2s ease-in-out infinite;
}
.tg-popup__pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(0, 136, 204, 0.5);
  animation: tg-ping 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes tg-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes tg-ping {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

.tg-popup__eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.25em;
  opacity: 0.75;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tg-popup__title {
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.tg-popup__sub {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 22px;
}

.tg-popup__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex; flex-direction: column;
  gap: 10px;
  text-align: left;
}
.tg-popup__benefits li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(127, 225, 201, 0.1);
  border-radius: 12px;
  transition: border-color 0.3s;
}
.tg-popup__benefits li:hover {
  border-color: rgba(127, 225, 201, 0.25);
}
.tg-popup__emoji {
  font-size: 22px;
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(127, 225, 201, 0.1);
  border-radius: 8px;
}
.tg-popup__benefit-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 2px;
}
.tg-popup__benefit-sub {
  font-size: 12px;
  opacity: 0.6;
  line-height: 1.35;
}

.tg-popup__cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, #37BBFE 0%, #0088CC 50%, #006FA8 100%);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 14px 36px rgba(0, 136, 204, 0.4);
  position: relative;
  overflow: hidden;
}
.tg-popup__cta::before {
  content: "";
  position: absolute; inset: -50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-100%) skewX(-20deg);
  transition: transform 0.7s;
}
.tg-popup__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(0, 136, 204, 0.55);
}
.tg-popup__cta:hover::before {
  transform: translateX(100%) skewX(-20deg);
}
.tg-popup__skip {
  margin-top: 12px;
  background: none;
  border: none;
  color: #F5F5F5;
  opacity: 0.45;
  font-size: 12px;
  cursor: pointer;
  width: 100%;
  padding: 6px;
  transition: opacity 0.2s;
}
.tg-popup__skip:hover { opacity: 0.85; }

@media (max-width: 480px) {
  .tg-popup { padding: 10px; }
  .tg-popup__card { padding: 22px 18px 18px; border-radius: 18px; }
  .tg-popup__icon { width: 68px; height: 68px; margin-bottom: 14px; }
  .tg-popup__title { font-size: 24px; }
  .tg-popup__sub { font-size: 13px; }
  .tg-popup__benefits li { padding: 10px 12px; gap: 12px; }
  .tg-popup__benefit-title { font-size: 13px; }
  .tg-popup__benefit-sub { font-size: 11px; }
  .tg-popup__emoji { width: 28px; height: 28px; font-size: 18px; }
}
