/* ==========================================================================
   TEEMUO MARKETPLACE PROMOTIONS, LIVE POP ADS & DEAL MODAL STYLES
   ========================================================================== */

/* ==========================================================================
   1. LIVE SOCIAL PROOF & FLASH DEAL POPUP TOASTS (BOTTOM-LEFT)
   ========================================================================== */
.tm-toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: 380px;
  width: calc(100% - 48px);
}

.tm-deal-toast {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #E2E8F0;
  border-left: 4px solid #FF6B00;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.15), 0 4px 10px -2px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(120%) scale(0.92);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.tm-deal-toast.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.tm-deal-toast.is-leaving {
  transform: translateX(-120%) scale(0.9);
  opacity: 0;
}

.tm-deal-toast:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 36px -4px rgba(15, 23, 42, 0.22);
  border-color: #CBD5E1;
  border-left-color: #E64545;
}

.tm-toast-thumb-wrap {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.tm-toast-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-toast-badge {
  position: absolute;
  top: 2px;
  left: 2px;
  background: #E64545;
  color: #FFFFFF;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  line-height: 1.2;
}

.tm-toast-content {
  flex: 1;
  min-width: 0;
}

.tm-toast-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #EA580C;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tm-toast-header svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.tm-toast-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.tm-toast-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tm-toast-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: #E64545;
}

.tm-toast-compare {
  font-size: 0.74rem;
  color: #94A3B8;
  text-decoration: line-through;
  margin-left: 4px;
  font-weight: 500;
}

.tm-toast-time {
  font-size: 0.7rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tm-toast-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  font-size: 13px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.6;
  transition: all 0.15s ease;
}

.tm-toast-close:hover {
  opacity: 1;
  background: #E2E8F0;
  color: #0F172A;
}

/* ==========================================================================
   2. MEGA MARKETPLACE FLASH SALE PROMO MODAL (CENTER POPUP)
   ========================================================================== */
.tm-promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.tm-promo-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.tm-promo-modal {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.tm-promo-overlay.is-active .tm-promo-modal {
  transform: scale(1) translateY(0);
}

/* Modal Hero Header */
.tm-promo-header {
  position: relative;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #FF6B00 130%);
  padding: 28px 28px 24px;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.tm-promo-header::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(230, 69, 69, 0.4) 0%, rgba(255, 107, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.tm-promo-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.tm-promo-close-btn:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: #EF4444;
  transform: rotate(90deg);
}

.tm-promo-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tm-promo-brand-mark img {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.tm-promo-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.tm-promo-subtitle {
  font-size: 0.88rem;
  color: #CBD5E1;
  margin: 0 0 16px 0;
}

.tm-promo-subtitle strong {
  color: #FDBA74;
}

/* Rolling Countdown Timer */
.tm-countdown-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 8px;
}

.tm-countdown-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #FCA5A5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tm-countdown-digits {
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.08em;
}

/* Coupon Box */
.tm-coupon-box {
  background: #FFF7ED;
  border: 1px dashed #FDBA74;
  border-radius: 12px;
  margin: 18px 24px 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tm-coupon-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tm-coupon-icon {
  font-size: 1.25rem;
}

.tm-coupon-text h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: #9A3412;
  margin: 0;
}

.tm-coupon-text p {
  font-size: 0.74rem;
  color: #C2410C;
  margin: 1px 0 0 0;
}

.tm-copy-coupon-btn {
  background: #EA580C;
  color: #FFFFFF;
  border: none;
  font-family: monospace;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);
}

.tm-copy-coupon-btn:hover {
  background: #C2410C;
  transform: scale(1.03);
}

/* Modal Body / Featured Deal Showcase */
.tm-promo-body {
  padding: 18px 24px 24px;
}

.tm-deal-grid-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tm-deal-grid-title span.live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #DC2626;
  font-size: 0.74rem;
}

.tm-deal-grid-title span.live-pulse::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #DC2626;
  border-radius: 50%;
  animation: tm-pulse 1.4s infinite;
}

@keyframes tm-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.tm-deal-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tm-deal-mini-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.tm-deal-mini-card:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.tm-deal-mini-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 6px;
  overflow: hidden;
  background: #FFFFFF;
  margin-bottom: 8px;
}

.tm-deal-mini-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-deal-mini-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #E64545;
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 4px;
  border-radius: 4px;
}

.tm-deal-mini-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.tm-deal-mini-prices {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: auto;
}

.tm-deal-mini-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: #E64545;
}

.tm-deal-mini-old {
  font-size: 0.7rem;
  color: #94A3B8;
  text-decoration: line-through;
}

/* Modal Bottom Action Button */
.tm-promo-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, #FF6B00 0%, #E64545 100%);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 16px;
  box-shadow: 0 6px 20px rgba(230, 69, 69, 0.35);
  transition: all 0.2s ease;
}

.tm-promo-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 69, 69, 0.45);
}

.tm-promo-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
  font-size: 0.72rem;
  color: #64748B;
}

/* ==========================================================================
   3. FLOATING MARKETPLACE DEALS LAUNCHER BADGE (DOCKED ON LEFT SIDE)
   ========================================================================== */
.tm-floating-deal-badge {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9990;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border: 1px solid rgba(255, 107, 0, 0.45);
  border-left: none;
  color: #FFFFFF;
  padding: 10px 16px 10px 10px;
  border-radius: 0 999px 999px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 4px 6px 20px rgba(15, 23, 42, 0.25), 0 0 10px rgba(255, 107, 0, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-floating-deal-badge:hover {
  transform: translateY(-50%) translateX(4px);
  background: linear-gradient(135deg, #FF6B00 0%, #E64545 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 6px 8px 24px rgba(230, 69, 69, 0.4);
}

.tm-floating-deal-icon {
  font-size: 1.15rem;
}

.tm-floating-deal-text {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.tm-floating-deal-pill {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 600px) {
  .tm-toast-container {
    bottom: 74px;
    left: 12px;
    width: calc(100% - 24px);
  }

  .tm-deal-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .tm-deal-mini-card:last-child {
    display: none;
  }

  .tm-promo-title {
    font-size: 1.35rem;
  }

  .tm-floating-deal-badge {
    top: 55%;
    padding: 8px 10px 8px 8px;
  }

  .tm-floating-deal-text {
    display: none;
  }
}

/* ==========================================================================
   4. INTERACTIVE LUCKY TECH SPIN WHEEL POPUP MODAL
   ========================================================================== */
.tm-spin-overlay {
  position: fixed;
  inset: 0;
  z-index: 10005;
  background: rgba(11, 15, 25, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-spin-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.tm-spin-modal {
  background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
  border: 1.5px solid rgba(255, 107, 0, 0.4);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  color: #FFFFFF;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 107, 0, 0.2);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  text-align: center;
  padding: 28px 24px 24px;
}

.tm-spin-overlay.is-active .tm-spin-modal {
  transform: scale(1) translateY(0);
}

.tm-spin-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.tm-spin-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.tm-spin-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.5);
  color: #FF8C00;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.tm-spin-title {
  font-size: 1.65rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0 0 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.tm-spin-title span {
  background: linear-gradient(135deg, #FF6B00 0%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tm-spin-subtitle {
  font-size: 0.85rem;
  color: #94A3B8;
  margin: 0 0 20px;
}

/* Wheel Container */
.tm-wheel-wrapper {
  position: relative;
  width: 270px;
  height: 270px;
  margin: 0 auto 20px;
}

.tm-wheel-outer-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 8px;
  background: conic-gradient(from 0deg, #FF6B00, #FFD700, #00E5FF, #FF007F, #FF6B00);
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-wheel-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform 4.5s cubic-bezier(0.15, 0.95, 0.2, 1);
}

.tm-wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 26px solid #FFD700;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
  z-index: 5;
}

.tm-wheel-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B00 0%, #E64545 100%);
  color: #FFFFFF;
  border: 4px solid #FFFFFF;
  font-size: 0.85rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(255, 107, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 6;
}

.tm-wheel-center-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 6px 24px rgba(255, 107, 0, 0.7);
}

.tm-wheel-center-btn:active {
  transform: translate(-50%, -50%) scale(0.95);
}

/* Result Card */
.tm-spin-result-card {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
  animation: tmPopIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tm-spin-result-card.is-visible {
  display: block;
}

.tm-result-headline {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFD700;
  margin-bottom: 6px;
}

.tm-result-coupon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(255, 215, 0, 0.6);
  border-radius: 8px;
  padding: 8px 14px;
  margin: 10px auto;
  max-width: 280px;
}

.tm-result-code {
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #FFFFFF;
}

.tm-result-copy-btn {
  background: #FF6B00;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tm-result-copy-btn:hover {
  background: #E64545;
}

.tm-spin-claim-btn {
  display: block;
  width: 100%;
  padding: 12px 18px;
  background: linear-gradient(135deg, #FF6B00 0%, #E64545 100%);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(230, 69, 69, 0.4);
  transition: transform 0.2s ease;
  margin-top: 10px;
}

.tm-spin-claim-btn:hover {
  transform: translateY(-2px);
}

/* Confetti Canvas */
.tm-confetti-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

/* ==========================================================================
   5. EXIT-INTENT "DON'T LEAVE YOUR TECH BEHIND" POPUP AD
   ========================================================================== */
.tm-exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 10006;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-exit-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.tm-exit-modal {
  background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
  border: 1.5px solid rgba(0, 229, 255, 0.4);
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  color: #FFFFFF;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 229, 255, 0.2);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  padding: 28px 24px 24px;
}

.tm-exit-overlay.is-active .tm-exit-modal {
  transform: scale(1) translateY(0);
}

.tm-exit-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #EF4444;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tm-exit-title {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 8px;
}

.tm-exit-title span {
  color: #00E5FF;
}

.tm-exit-desc {
  font-size: 0.88rem;
  color: #94A3B8;
  margin: 0 0 18px;
  line-height: 1.5;
}

.tm-exit-card-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.tm-exit-prod-mini {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tm-exit-prod-mini:hover {
  transform: translateY(-2px);
  border-color: #00E5FF;
  background: rgba(255, 255, 255, 0.08);
}

.tm-exit-prod-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #000;
  flex-shrink: 0;
}

.tm-exit-prod-info {
  min-width: 0;
}

.tm-exit-prod-name {
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.tm-exit-prod-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: #00E5FF;
}

.tm-exit-prod-badge {
  font-size: 0.65rem;
  background: #EF4444;
  color: #FFFFFF;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 4px;
}

.tm-exit-coupon-bar {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tm-exit-coupon-info {
  display: flex;
  flex-direction: column;
}

.tm-exit-coupon-label {
  font-size: 0.7rem;
  color: #94A3B8;
  text-transform: uppercase;
}

.tm-exit-coupon-code {
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.05em;
}

.tm-exit-copy-btn {
  background: #00E5FF;
  color: #0F172A;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tm-exit-copy-btn:hover {
  background: #38BDF8;
  transform: scale(1.04);
}

.tm-exit-btn-row {
  display: flex;
  gap: 10px;
}

.tm-exit-btn-primary {
  flex: 2;
  background: linear-gradient(135deg, #FF6B00 0%, #E64545 100%);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 800;
  border: none;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(230, 69, 69, 0.35);
  transition: transform 0.2s ease;
}

.tm-exit-btn-primary:hover {
  transform: translateY(-2px);
}

.tm-exit-btn-secondary {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.tm-exit-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

/* ==========================================================================
   6. SLIDE-IN LIGHTNING CORNER AD (BOTTOM-RIGHT)
   ========================================================================== */
.tm-corner-ad {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9995;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 107, 0, 0.45);
  border-radius: 14px;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 107, 0, 0.15);
  color: #FFFFFF;
  width: 320px;
  padding: 14px;
  transform: translateY(140%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tm-corner-ad.is-active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.tm-corner-ad-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tm-corner-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #FF6B00;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tm-corner-close-btn {
  background: none;
  border: none;
  color: #64748B;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s ease;
}

.tm-corner-close-btn:hover {
  color: #FFFFFF;
}

.tm-corner-body {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.tm-corner-thumb {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.tm-corner-details {
  flex: 1;
  min-width: 0;
}

.tm-corner-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.tm-corner-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.tm-corner-price {
  font-size: 0.95rem;
  font-weight: 900;
  color: #FF6B00;
}

.tm-corner-old {
  font-size: 0.72rem;
  color: #64748B;
  text-decoration: line-through;
}

.tm-corner-badge {
  background: #E64545;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
}

.tm-corner-progress-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #94A3B8;
  margin-top: -2px;
}

.tm-corner-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
  width: 100%;
  margin-top: 4px;
}

.tm-corner-progress-fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, #FF6B00, #FFD700);
  border-radius: 999px;
}

/* ==========================================================================
   7. FLOATING LUCKY DRAW LAUNCHER BADGE (DOCKED ON RIGHT SIDE)
   ========================================================================== */
.tm-floating-spin-badge {
  position: fixed;
  right: 0;
  top: 60%;
  transform: translateY(-50%);
  z-index: 9990;
  background: linear-gradient(135deg, #7928CA 0%, #FF0080 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-right: none;
  color: #FFFFFF;
  padding: 10px 10px 10px 16px;
  border-radius: 999px 0 0 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: -4px 6px 20px rgba(121, 40, 202, 0.3), 0 0 15px rgba(255, 0, 128, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  animation: tmSpinPulse 3s infinite;
}

@keyframes tmSpinPulse {
  0%, 100% {
    box-shadow: -4px 6px 20px rgba(121, 40, 202, 0.3), 0 0 15px rgba(255, 0, 128, 0.3);
  }
  50% {
    box-shadow: -6px 8px 26px rgba(121, 40, 202, 0.6), 0 0 24px rgba(255, 0, 128, 0.6);
  }
}

.tm-floating-spin-badge:hover {
  transform: translateY(-50%) translateX(-4px);
  background: linear-gradient(135deg, #FF0080 0%, #7928CA 100%);
}

.tm-floating-spin-icon {
  font-size: 1.25rem;
}

.tm-floating-spin-text {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.tm-floating-spin-pill {
  background: #FFD700;
  color: #0F172A;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 999px;
}

@media (max-width: 600px) {
  .tm-corner-ad {
    display: none;
  }
  .tm-floating-spin-text {
    display: none;
  }
  .tm-floating-spin-badge {
    top: 65%;
    padding: 8px 8px 8px 10px;
  }
}

/* Ensure modals do not overflow the screen vertically */
@media (max-height: 850px), (max-width: 600px) {
  .tm-promo-modal, 
  .tm-spin-modal, 
  .tm-exit-modal {
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
  }
}

/* ==========================================================================
   ROBOTICS FIRST ROW SPOTLIGHT SECTION
   ========================================================================== */
.robotics-spotlight-section {
  max-width: 1400px;
  margin: 20px auto 32px;
  padding: 0 16px;
}

.robotics-spotlight-card {
  background: linear-gradient(135deg, #090D16 0%, #0F172A 60%, #1E1B4B 100%);
  border-radius: 20px;
  padding: 28px 24px 24px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.2);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.robotics-spotlight-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(99, 102, 241, 0.08) 50%, transparent 70%);
  pointer-events: none;
}

.robotics-header-top {
  margin-bottom: 22px;
}

.robotics-badge-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.robotics-pill-glow {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(239, 68, 68, 0.25) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FCD34D;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.robotics-pill-deal {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
  animation: pulse-red 2s infinite ease-in-out;
}

@keyframes pulse-red {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35); }
  50% { transform: scale(1.03); box-shadow: 0 6px 18px rgba(239, 68, 68, 0.6); }
}

.robotics-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.25;
}

.robotics-desc {
  font-size: 0.95rem;
  color: #94A3B8;
  max-width: 860px;
  line-height: 1.55;
  margin: 0;
}

/* 4-column responsive grid */
.robotics-first-row-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .robotics-first-row-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .robotics-first-row-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .robotics-spotlight-card {
    padding: 20px 14px 18px;
    border-radius: 16px;
  }
  .robotics-title {
    font-size: 1.35rem;
  }
  .robotics-desc {
    font-size: 0.85rem;
  }
}

/* Light styling adjustments for product-card inside dark spotlight */
.robotics-first-row-grid .product-card {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.robotics-first-row-grid .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px -6px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.3);
  border-color: rgba(56, 189, 248, 0.6);
}

.robotics-first-row-grid .product-card-img {
  background: #FFFFFF;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.robotics-first-row-grid .product-card-img img {
  object-fit: contain;
  max-height: 100%;
  width: 100%;
}

.robotics-first-row-grid .product-card-name {
  color: #0F172A;
  font-weight: 700;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  height: 2.7em;
}

/* Footer perks bar */
.robotics-footer-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 860px) {
  .robotics-footer-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.robotics-foot-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  backdrop-filter: blur(8px);
}

.robotics-foot-item .foot-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.robotics-foot-item .foot-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.82rem;
  color: #CBD5E1;
}

.robotics-foot-item .foot-text strong {
  color: #FFFFFF;
  font-size: 0.9rem;
}

.robotics-foot-item .foot-text a {
  color: #38BDF8;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.robotics-foot-item .foot-text a:hover {
  color: #7DD3FC;
  text-decoration: underline;
}

/* Detail page enhancements */
.robotics-detail-highlight {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid #FCD34D;
  border-left: 5px solid #F59E0B;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0;
}

.robotics-detail-highlight .rd-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #92400E;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.robotics-detail-highlight .rd-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.84rem;
  color: #78350F;
}

.robotics-detail-highlight .rd-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}

.btn-whatsapp-inquiry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  margin-top: 10px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp-inquiry:hover {
  background: #20BD5A;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

/* Mobility Showcase (Electric Blue / Cyber Red) */
.mobility-spotlight-card {
  background: linear-gradient(135deg, #09131F 0%, #0F2038 50%, #1A1A2E 100%);
  border-radius: 20px;
  padding: 28px 24px 24px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(14, 165, 233, 0.25);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.mobility-spotlight-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, rgba(56, 189, 248, 0.08) 50%, transparent 70%);
  pointer-events: none;
}

/* Next-Gen Tech Showcase (Deep Cyber Violet / Royal Indigo) */
.nextgen-spotlight-card {
  background: linear-gradient(135deg, #110B22 0%, #1E1238 50%, #2A1747 100%);
  border-radius: 20px;
  padding: 28px 24px 24px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(168, 85, 247, 0.25);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.nextgen-spotlight-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, rgba(139, 92, 246, 0.08) 50%, transparent 70%);
  pointer-events: none;
}

/* Medical Showcase (Clinical Teal & Deep Ocean) */
.medical-spotlight-card {
  background: linear-gradient(135deg, #061B1B 0%, #0D2E30 50%, #133D40 100%);
  border-radius: 20px;
  padding: 28px 24px 24px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(20, 184, 166, 0.25);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.medical-spotlight-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, rgba(45, 212, 191, 0.08) 50%, transparent 70%);
  pointer-events: none;
}

/* 5-Column Responsive Grid */
.showcase-5-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 1200px) {
  .showcase-5-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .showcase-5-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 580px) {
  .showcase-5-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* 4-Column Responsive Grid */
.showcase-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .showcase-4-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .showcase-4-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* Card image styling inside showcase cards */
.showcase-5-grid .product-card,
.showcase-4-grid .product-card {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.showcase-5-grid .product-card:hover,
.showcase-4-grid .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px -6px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.3);
  border-color: rgba(56, 189, 248, 0.6);
}

.showcase-5-grid .product-card-img,
.showcase-4-grid .product-card-img {
  background: #FFFFFF;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.showcase-5-grid .product-card-img img,
.showcase-4-grid .product-card-img img {
  object-fit: contain;
  max-height: 100%;
  width: 100%;
}

.showcase-5-grid .product-card-name,
.showcase-4-grid .product-card-name {
  color: #0F172A;
  font-weight: 700;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  height: 2.7em;
}


