/* ═══════════════════════════════════════════════════════════════════════════
 * WORLD CUP 2026 CAMPAIGN STYLES
 * Pairs with worldcup-campaign.js — both no-op after END_DATE
 * ═══════════════════════════════════════════════════════════════════════════ */

/* ── POPUP ──────────────────────────────────────────────────────────────── */
#wc-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}
#wc-popup-overlay.wc-popup-open { opacity: 1; }
#wc-popup-overlay.wc-popup-closing { opacity: 0; }

.wc-popup {
  position: relative;
  max-width: 500px;
  width: 100%;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  background: white;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
#wc-popup-overlay.wc-popup-open .wc-popup { transform: scale(1); }

.wc-popup-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  font-size: 1rem;
  line-height: 1;
  color: #1a1a1a;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s, background 0.15s;
}
.wc-popup-close:hover {
  transform: scale(1.1);
  background: white;
}

.wc-popup-img {
  display: block;
  width: 100%;
  height: auto;
  /* Image carries the full message; no overlay needed */
}

.wc-popup-cta {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  background: #1a1a1a;
  flex-shrink: 0;
}
.wc-popup-shop-btn {
  flex: 1;
  padding: 0.9rem 1.4rem;
  background: #c8a55b;
  color: #1a1a1a;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.wc-popup-shop-btn:hover { background: #d4b56b; }
.wc-popup-dismiss {
  padding: 0.9rem 1.2rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: 'Jost', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
}
.wc-popup-dismiss:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 480px) {
  .wc-popup { max-width: 100%; }
  .wc-popup-cta { flex-direction: column; }
  .wc-popup-shop-btn, .wc-popup-dismiss { width: 100%; }
}

/* ── DISCOUNT BANNER (top of collection page) ───────────────────────────── */
.wc-banner {
  background: linear-gradient(90deg, #1a1a1a 0%, #2d2416 50%, #1a1a1a 100%);
  color: white;
  padding: 0.7rem 1rem;
  text-align: center;
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(200, 165, 91, 0.3);
  position: relative;
  z-index: 10;
}
.wc-banner-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.wc-banner-icon {
  font-size: 0.95rem;
}
.wc-banner-text strong {
  color: #d4b56b;
  font-weight: 500;
  letter-spacing: 0.15em;
}
.wc-countdown {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  font-family: 'Newsreader', serif;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ── PRICE DISPLAY (struck-through original + discounted) ───────────────── */
.wc-price-original {
  text-decoration: line-through;
  color: #a89e94;
  margin-right: 0.4rem;
  font-weight: 300;
}
.wc-price-discounted {
  color: #8b5e3c;
  font-weight: 500;
}

/* Product card discount badge — small corner mark */
.wc-discount-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: #1a1a1a;
  color: #d4b56b;
  font-family: 'Jost', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.6rem;
  z-index: 2;
  border: 1px solid rgba(212, 181, 107, 0.3);
}
