/* ==========================================================================
   DODO EXPRESS — 11.11 SPECIAL SALE PROMOTION STYLES
   Valid from: Nov 4, 2026 to Nov 15, 2026 (23:59:59 UTC)
   40% OFF: $4.50 USD -> $2.99 USD
   ========================================================================== */

/* --------------------------------------------------------------------------
   VIP SUPPRESSION: Hide all promo discount banners & popups for VIP members
   -------------------------------------------------------------------------- */
html.dodo-is-vip .promo-ticker,
html.dodo-is-vip #promoTicker,
html.dodo-is-vip .hero-promo-pill,
html.dodo-is-vip .promo-deal-card,
html.dodo-is-vip #promoDealCard,
html.dodo-is-vip .promo-modal-overlay,
html.dodo-is-vip #promoModalOverlay {
  display: none !important;
}

/* --- Top Sticky Announcement Bar --- */
.promo-ticker {
  background: linear-gradient(90deg, #991b1b 0%, #dc2626 35%, #ea580c 70%, #991b1b 100%);
  background-size: 200% 100%;
  animation: promoGradientShift 8s ease infinite;
  color: #ffffff;
  padding: 8px 16px;
  position: relative;
  z-index: 1001;
  border-bottom: 2px solid #fbbf24;
  box-shadow: 0 2px 12px rgba(220, 38, 38, 0.35);
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

@keyframes promoGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.promo-ticker__inner {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  line-height: 1.4;
}

.promo-ticker__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fbbf24;
  color: #78350f;
  font-weight: 800;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.promo-ticker__text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.promo-ticker__text strong {
  font-weight: 700;
}

.promo-ticker__text del {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin-left: 2px;
}

.promo-ticker__text .promo-price-highlight {
  background: rgba(255, 255, 255, 0.2);
  padding: 1px 6px;
  border-radius: 4px;
  color: #fef08a;
  font-weight: 800;
  border: 1px solid rgba(254, 240, 138, 0.4);
}

/* --- Ticker Spots Scarcity Pill --- */
.promo-spots-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(251, 191, 36, 0.6);
  color: #fef08a;
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  animation: promoPulseGlow 2.5s infinite;
  white-space: nowrap;
}

@keyframes promoPulseGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(251, 191, 36, 0.3); }
  50% { box-shadow: 0 0 14px rgba(251, 191, 36, 0.75); }
}

/* --- Countdown Timer --- */
.promo-countdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-variant-numeric: tabular-nums;
}

.countdown-unit {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}

.countdown-unit b {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.countdown-unit small {
  font-size: 10px;
  color: #fde047;
  text-transform: lowercase;
}

.countdown-sep {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.promo-ticker__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f59e0b;
  color: #451a03 !important;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  white-space: nowrap;
}

.promo-ticker__btn:hover {
  background: #fbbf24;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.45);
}

/* --- Hero Offer Pill --- */
.hero-promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.12), rgba(245, 158, 11, 0.15));
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text, #1e293b);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
  width: fit-content;
  animation: heroPillGlow 3s ease-in-out infinite;
  flex-wrap: wrap;
}

[data-theme="night"] .hero-promo-pill {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(245, 158, 11, 0.2));
  color: #fef08a;
  border-color: rgba(245, 158, 11, 0.6);
}

@keyframes heroPillGlow {
  0%, 100% { box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15); }
  50% { box-shadow: 0 4px 20px rgba(239, 68, 68, 0.35); }
}

.hero-promo-pill__tag {
  background: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: uppercase;
}

.hero-promo-pill__spots {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #b91c1c;
  font-size: 11.5px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
}

[data-theme="night"] .hero-promo-pill__spots {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.25);
}

/* --- 11.11 Main Showcase Card in VIP Section --- */
.promo-deal-card {
  background: var(--color-surface, #ffffff);
  border: 2px solid #f59e0b;
  border-radius: var(--radius-xl, 16px);
  padding: var(--space-8, 32px);
  margin: var(--space-6, 24px) 0;
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.15), var(--shadow-lg, 0 10px 15px -3px rgba(0,0,0,0.1));
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8, 32px);
  align-items: center;
}

[data-theme="night"] .promo-deal-card {
  background: #111f1d;
  border-color: #f59e0b;
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.12);
}

.promo-deal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981, #ef4444);
  background-size: 300% 100%;
  animation: promoGradientShift 6s linear infinite;
}

.promo-deal-card__corner-ribbon {
  position: absolute;
  top: 22px;
  right: -36px;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 40px;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  letter-spacing: 0.5px;
  pointer-events: none;
}

.promo-deal-card__media {
  position: relative;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: 1.5px solid rgba(245, 158, 11, 0.3);
}

.promo-deal-card__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.promo-deal-card:hover .promo-deal-card__media img {
  transform: scale(1.02);
}

.promo-deal-card__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.promo-header-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.promo-tag-main {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-tag-discount {
  background: #fef08a;
  color: #854d0e;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #fde047;
}

.promo-deal-card__title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  color: var(--color-text, #0f172a);
}

[data-theme="night"] .promo-deal-card__title {
  color: #f8fafc;
}

/* --- Pricing Big Display --- */
.promo-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(245, 158, 11, 0.08);
  border: 1.5px dashed rgba(245, 158, 11, 0.45);
  border-radius: var(--radius-md, 10px);
  width: fit-content;
  flex-wrap: wrap;
}

.promo-price-old {
  font-size: 1.25rem;
  color: var(--color-text-muted, #64748b);
  text-decoration: line-through;
  font-weight: 600;
}

.promo-price-new {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ef4444;
  line-height: 1;
}

[data-theme="night"] .promo-price-new {
  color: #f87171;
}

.promo-price-period {
  font-size: 14px;
  color: var(--color-text-muted, #64748b);
  font-weight: 600;
}

/* --- Limited Spots Meter in Deal Card --- */
.promo-spots-meter {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
}

[data-theme="night"] .promo-spots-meter {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
}

.promo-spots-meter__text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--color-text, #1e293b);
  gap: 8px;
  flex-wrap: wrap;
}

.promo-spots-meter__text strong {
  color: #dc2626;
}

[data-theme="night"] .promo-spots-meter__text strong {
  color: #f87171;
}

.promo-spots-meter__claimed {
  font-size: 11.5px;
  font-weight: 800;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-spots-meter__track {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

[data-theme="night"] .promo-spots-meter__track {
  background: rgba(255, 255, 255, 0.12);
}

.promo-spots-meter__fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  border-radius: 999px;
  transition: width 0.6s ease;
}

.promo-perks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.promo-perks-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text, #334155);
}

[data-theme="night"] .promo-perks-list li {
  color: #cbd5e1;
}

.promo-perks-list li .perk-icon {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.2;
}

.promo-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #451a03 !important;
  font-size: 16px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius-xl, 14px);
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4), 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  border: 1px solid #fbbf24;
}

.promo-cta-btn:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.55);
}

.promo-expiry-note {
  font-size: 12px;
  color: var(--color-text-muted, #64748b);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: -4px;
}

/* ==========================================================================
   PROMO POPUP MODAL (NON-ABUSIVE · 1 TIME ONLY)
   ========================================================================== */
.promo-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.promo-modal-overlay.promo-modal--visible {
  opacity: 1;
  visibility: visible;
}

.promo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 29, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.promo-modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  background: var(--color-surface, #ffffff);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(251, 191, 36, 0.4);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
}

[data-theme="night"] .promo-modal-card {
  background: #131b2e;
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(239, 68, 68, 0.2);
}

.promo-modal-overlay.promo-modal--visible .promo-modal-card {
  transform: translateY(0) scale(1);
}

.promo-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}

.promo-modal-close:hover {
  background: rgba(220, 38, 38, 0.85);
  transform: scale(1.08);
}

.promo-modal-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: #0f172a;
}

.promo-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-modal-ribbon {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.promo-modal-body {
  padding: 16px 20px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promo-modal-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  color: #dc2626;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

[data-theme="night"] .promo-modal-badge {
  color: #f87171;
}

.promo-modal-title {
  font-family: var(--font-heading, "Fredoka", sans-serif);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  color: var(--color-text, #0f172a);
}

.promo-modal-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--color-text-secondary, #475569);
  margin: 0;
}

.promo-modal-deal-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 158, 11, 0.1);
  border: 1px dashed rgba(245, 158, 11, 0.5);
  border-radius: 12px;
  padding: 10px 14px;
}

[data-theme="night"] .promo-modal-deal-box {
  background: rgba(245, 158, 11, 0.08);
}

.promo-modal-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.promo-modal-price-old {
  font-size: 13px;
  color: var(--color-text-muted, #94a3b8);
  text-decoration: line-through;
}

.promo-modal-price-new {
  font-size: 1.75rem;
  font-weight: 900;
  color: #ef4444;
  line-height: 1;
}

[data-theme="night"] .promo-modal-price-new {
  color: #f87171;
}

.promo-modal-price-term {
  font-size: 11.5px;
  color: var(--color-text-muted, #64748b);
  font-weight: 600;
}

.promo-modal-spots-badge {
  font-size: 11.5px;
  font-weight: 800;
  color: #dc2626;
  background: rgba(239, 68, 68, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  white-space: nowrap;
}

[data-theme="night"] .promo-modal-spots-badge {
  color: #fca5a5;
}

.promo-modal-countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-secondary, #64748b);
}

.promo-countdown--modal {
  background: rgba(15, 23, 42, 0.85);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.promo-modal-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
  padding: 13px 20px;
  border-radius: 12px;
  text-decoration: none !important;
  text-align: center;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 46px;
}

.promo-modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.5);
}

.promo-modal-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.promo-modal-trust {
  font-size: 11px;
  color: var(--color-text-muted, #94a3b8);
  text-align: center;
}

.promo-modal-dismiss {
  background: none;
  border: none;
  color: var(--color-text-muted, #94a3b8);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px;
}

.promo-modal-dismiss:hover {
  color: var(--color-text, #1e293b);
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATIONS (MOBILE FIRST)
   ========================================================================== */
@media (max-width: 900px) {
  .promo-deal-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  .promo-deal-card__corner-ribbon {
    display: none;
  }
}

@media (max-width: 640px) {
  .promo-ticker {
    padding: 6px 10px;
  }
  .promo-ticker__inner {
    font-size: 11.5px;
    gap: 6px 8px;
    justify-content: center;
  }
  .promo-ticker__badge {
    font-size: 10px;
    padding: 2px 6px;
  }
  .promo-ticker__text {
    font-size: 11.5px;
    text-align: center;
    justify-content: center;
  }
  .promo-ticker__text del {
    display: none;
  }
  .promo-spots-pill {
    font-size: 10.5px;
    padding: 2px 7px;
  }
  .promo-countdown {
    padding: 2px 6px;
  }
  .countdown-unit b {
    font-size: 11.5px;
  }
  .promo-ticker__btn {
    font-size: 11px;
    padding: 3px 10px;
  }

  .hero-promo-pill {
    font-size: 11.5px;
    padding: 6px 10px;
    gap: 6px;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-promo-pill__spots {
    font-size: 10.5px;
  }

  .promo-deal-card__title {
    font-size: 1.35rem;
  }
  .promo-price-new {
    font-size: 2rem;
  }
  .promo-cta-btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 15px;
  }

  /* Modal on Mobile */
  .promo-modal-card {
    border-radius: 16px;
    max-height: calc(100vh - 20px);
  }
  .promo-modal-body {
    padding: 14px 16px 16px;
    gap: 10px;
  }
  .promo-modal-title {
    font-size: 1.15rem;
  }
  .promo-modal-desc {
    font-size: 12px;
  }
  .promo-modal-price-new {
    font-size: 1.5rem;
  }
  .promo-modal-cta {
    font-size: 14px;
    padding: 11px 16px;
  }
}

@media (max-width: 440px) {
  .promo-ticker__inner {
    flex-direction: column;
    gap: 5px;
  }
  .promo-ticker__text {
    line-height: 1.3;
  }
  .promo-modal-deal-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .promo-modal-countdown {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
