/**
 * Farid Offers Hub - Stylesheet
 * Optimized for Shopi Theme & Elementor
 * High-end gaming deals design system with harmonic multi-color palette
 */

@charset "UTF-8";

:root {
  /* Dynamic Multi-Color Harmonic Palette */
  --foh-blue: #0A84FF;
  --foh-blue-glow: rgba(10, 132, 255, 0.35);
  --foh-purple: #7047EB;
  --foh-purple-glow: rgba(112, 71, 235, 0.35);
  --foh-fire: #FF2D55;
  --foh-fire-glow: rgba(255, 45, 85, 0.35);
  --foh-amber: #FF9F0A;
  --foh-amber-glow: rgba(255, 159, 10, 0.35);
  --foh-emerald: #05C46B;
  --foh-emerald-glow: rgba(5, 196, 107, 0.35);
  --foh-cyan: #00D2D3;
  
  /* Gradients */
  --foh-grad-fire: linear-gradient(135deg, #FF2D55 0%, #FF6B00 100%);
  --foh-grad-purple-blue: linear-gradient(135deg, #7047EB 0%, #0A84FF 100%);
  --foh-grad-amber: linear-gradient(135deg, #FF9F0A 0%, #FFD60A 100%);
  --foh-grad-emerald: linear-gradient(135deg, #05C46B 0%, #00D2D3 100%);
  --foh-grad-dark: linear-gradient(135deg, #0D1322 0%, #171E32 60%, #1A132F 100%);
  
  /* Typography & Geometry */
  --foh-font: "yekanbakh", tahoma, sans-serif;
  --foh-radius-sm: 8px;
  --foh-radius-md: 14px;
  --foh-radius-lg: 22px;
  --foh-radius-xl: 30px;
}

/* ========================================================
   GLOBAL PLUGIN STYLES & RESET
   ======================================================== */
.foh-wrapper {
  direction: rtl;
  text-align: right;
  font-family: var(--foh-font);
  box-sizing: border-box;
  position: relative;
  width: 100%;
}
.foh-wrapper *, .foh-wrapper *::before, .foh-wrapper *::after {
  box-sizing: border-box;
}

/* Universal Fix for Shopi Theme Currency Symbol ("تومان") Stacking & Price Amounts */
.foh-wrapper .woocommerce-Price-amount,
.foh-wrapper .woocommerce-Price-amount bdi,
.foh-wrapper bdi {
  display: inline-flex !important;
  direction: ltr !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

.foh-wrapper .woocommerce-Price-currencySymbol-c,
.foh-wrapper .woocommerce-Price-currencySymbol {
  order: -1 !important; /* In LTR flex, order: -1 guarantees currency sits on the LEFT of digits */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  width: auto !important;
  min-width: unset !important;
  height: auto !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  font-size: 0.72em !important;
  letter-spacing: normal !important;
  vertical-align: middle !important;
  margin: 0 !important;
  transform: none !important;
}

.foh-wrapper .woocommerce-Price-currencySymbol-c span,
.foh-wrapper .woocommerce-Price-currencySymbol span {
  display: inline !important;
  line-height: 1 !important;
  font-size: inherit !important;
  letter-spacing: normal !important;
  white-space: nowrap !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
}

.foh-wrapper .woocommerce-Price-currencySymbol svg,
.foh-wrapper .woocommerce-Price-currencySymbol-c svg {
  width: 15px !important;
  height: 15px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  fill: currentColor !important;
  transform: none !important;
}

/* Fix duplicate Farid Custom Labels attached by post_thumbnail_html filter on product thumbnail */
.foh-card .foh-card-thumb .fcl-badge-container {
  display: none !important;
}

/* Ensure All Countdown Timers are strictly Left-to-Right: Days -> Hours -> Minutes -> Seconds */
.foh-countdown-box,
.foh-spotlight-timer,
.foh-card-timer {
  direction: ltr !important;
}

/* Shimmer Animation */
@keyframes foh-shimmer {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes foh-pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

@keyframes foh-flame {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-4px) rotate(3deg); }
}

/* ========================================================
   1. CAMPAIGN HEADER & URGENCY BANNER WIDGET
   ======================================================== */
.foh-campaign-header {
  background: var(--foh-grad-dark);
  border-radius: var(--foh-radius-xl);
  padding: 38px 45px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px -15px rgba(112, 71, 235, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 35px;
}

.foh-campaign-header::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(112, 71, 235, 0.35) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.foh-campaign-header::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 45, 85, 0.28) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.foh-header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.foh-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.foh-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 45, 85, 0.15);
  border: 1px solid rgba(255, 45, 85, 0.4);
  color: #FF5E7E;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

.foh-flame-icon {
  display: inline-block;
  animation: foh-flame 1.5s infinite ease-in-out;
}

.foh-header-title {
  color: #FFFFFF;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.foh-header-title .foh-highlight {
  background: var(--foh-grad-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.foh-header-subtitle {
  color: #B4BFD2;
  font-size: 15px;
  margin: 0;
  font-weight: 500;
  max-width: 580px;
  line-height: 1.7;
}

/* Big Urgency Countdown in Header */
.foh-countdown-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 23, 38, 0.7);
  backdrop-filter: blur(12px);
  padding: 16px 24px;
  border-radius: var(--foh-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.foh-cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 55px;
}

.foh-cd-num {
  font-size: 26px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
  background: linear-gradient(180deg, #FFFFFF 0%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: inherit;
}

.foh-cd-label {
  font-size: 11px;
  font-weight: 700;
  color: #8C9BB2;
  margin-top: 5px;
}

.foh-cd-sep {
  font-size: 22px;
  font-weight: 900;
  color: #FF2D55;
  animation: foh-pulse-glow 1s infinite;
  margin-top: -12px;
}

/* ========================================================
   2. DEAL SPOTLIGHT (HERO DEAL OF THE DAY) WIDGET - REDESIGNED
   ======================================================== */
.foh-spotlight-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--foh-radius-xl);
  padding: 35px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
  margin-bottom: 45px;
  transition: all 0.3s ease;
}

.foh-spotlight-card:hover {
  box-shadow: 0 25px 55px -12px rgba(10, 132, 255, 0.12), 0 0 0 1px rgba(10, 132, 255, 0.25);
}

.foh-spotlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF2D55 0%, #FF9F0A 33%, #0A84FF 66%, #7047EB 100%);
}

.foh-spotlight-grid {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 35px;
  align-items: center;
}

/* Image Showcase Area - Seamless White Studio for White Product Backgrounds */
.foh-spotlight-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: var(--foh-radius-lg);
  padding: 24px;
  border: 1px solid #F1F5F9;
  min-height: 350px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
}

.foh-spotlight-img {
  max-height: 310px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.foh-spotlight-card:hover .foh-spotlight-img {
  transform: scale(1.04) translateY(-3px);
}

.foh-spotlight-discount-circle {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--foh-grad-fire);
  box-shadow: 0 8px 22px var(--foh-fire-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  z-index: 3;
  animation: foh-pulse-glow 2.5s infinite;
}

.foh-spotlight-discount-circle .foh-pct {
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
}

.foh-spotlight-discount-circle .foh-pct-lbl {
  font-size: 11px;
  font-weight: 700;
}

/* Content Area */
.foh-spotlight-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.foh-tag-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.foh-pill-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}

.foh-pill-fire {
  background: rgba(255, 45, 85, 0.09);
  border: 1px solid rgba(255, 45, 85, 0.28);
  color: #E11D48;
}

.foh-pill-gold {
  background: rgba(255, 159, 10, 0.12);
  border: 1px solid rgba(255, 159, 10, 0.3);
  color: #D97706;
}

.foh-pill-emerald {
  background: rgba(5, 196, 107, 0.12);
  border: 1px solid rgba(5, 196, 107, 0.3);
  color: #059669;
}

.foh-pill-blue {
  background: rgba(10, 132, 255, 0.12);
  border: 1px solid rgba(10, 132, 255, 0.3);
  color: #0284C7;
}

.foh-spotlight-title {
  color: #0F172A;
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  line-height: 1.5;
}

.foh-spotlight-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.foh-spotlight-title a:hover {
  color: var(--foh-blue);
}

/* Stock Urgency Bar Box */
.foh-spotlight-stock-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 16px;
}

.foh-stock-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 8px;
}

.foh-stock-alert {
  color: #E11D48;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.foh-stock-bar-wrap {
  background: #E2E8F0;
  border-radius: 999px;
  height: 8px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.foh-stock-bar-fill {
  height: 100%;
  background: var(--foh-grad-fire);
  border-radius: 999px;
  box-shadow: 0 0 10px var(--foh-fire-glow);
  position: relative;
  overflow: hidden;
}

.foh-stock-bar-fill::after {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: foh-shimmer 2s infinite;
}

/* Deal Box: Unified Pricing & Countdown */
.foh-spotlight-deal-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.foh-spotlight-pricing {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.foh-spotlight-old-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foh-spotlight-regular-price {
  font-size: 15px;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 600;
}

.foh-spotlight-profit-badge {
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  background: rgba(5, 196, 107, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(5, 196, 107, 0.25);
}

.foh-spotlight-sale-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.foh-spotlight-sale-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
}

.foh-spotlight-current-price {
  font-size: 26px;
  font-weight: 800;
  color: #05C46B;
  line-height: 1;
}

/* Countdown in Deal Box */
.foh-spotlight-timer-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.foh-spotlight-timer-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
}

.foh-spotlight-timer {
  display: flex;
  align-items: center;
  gap: 6px;
}

.foh-spotlight-unit {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.foh-spotlight-unit .foh-num {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
}

.foh-spotlight-unit .foh-lbl {
  font-size: 10px;
  font-weight: 600;
  color: #64748B;
  margin-top: 3px;
}

.foh-spotlight-timer-sep {
  font-size: 16px;
  font-weight: 800;
  color: #94A3B8;
}

/* Big Full CTA Button in Spotlight */
.foh-spotlight-btn-buy {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--foh-grad-purple-blue);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: var(--foh-radius-md);
  text-decoration: none;
  box-shadow: 0 10px 25px var(--foh-blue-glow);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.foh-spotlight-btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px var(--foh-blue-glow), 0 0 20px var(--foh-purple-glow);
  color: #FFFFFF;
}

/* ========================================================
   3. DEALS SWIPER CAROUSEL WIDGET
   ======================================================== */
.foh-carousel-section {
  margin-bottom: 55px;
  position: relative;
}

.foh-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.foh-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foh-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--foh-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 20px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
.foh-icon-fire { background: var(--foh-grad-fire); box-shadow: 0 8px 18px var(--foh-fire-glow); }
.foh-icon-blue { background: var(--foh-grad-purple-blue); box-shadow: 0 8px 18px var(--foh-blue-glow); }
.foh-icon-amber { background: var(--foh-grad-amber); box-shadow: 0 8px 18px var(--foh-amber-glow); }
.foh-icon-emerald { background: var(--foh-grad-emerald); box-shadow: 0 8px 18px var(--foh-emerald-glow); }

.foh-section-title {
  font-size: 22px;
  font-weight: 800;
  color: #1E293B;
  margin: 0;
}
.foh-section-subtitle {
  font-size: 13px;
  color: #64748B;
  margin: 4px 0 0 0;
  font-weight: 600;
}

/* Swiper Navigation Controls */
.foh-nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.foh-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.foh-nav-btn:hover {
  background: var(--foh-blue);
  color: #FFFFFF;
  border-color: var(--foh-blue);
  box-shadow: 0 4px 12px var(--foh-blue-glow);
}

/* Product Card in Carousel & Grid */
.foh-card {
  background: #FFFFFF;
  border-radius: var(--foh-radius-lg);
  border: 1px solid #EEF2F6;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  height: 100%;
}
.foh-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 132, 255, 0.3);
  box-shadow: 0 16px 36px -10px rgba(10, 132, 255, 0.12), 0 0 0 1px rgba(10, 132, 255, 0.15);
}

/* Card Top Badges */
.foh-card-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  min-height: 32px;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Custom Labels from farid-custom-labels stay on TOP RIGHT */
.foh-card-badges-extra {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  order: 1;
}

/* Sale Discount Badge on TOP LEFT */
.foh-card-badge-sale {
  background: var(--foh-grad-fire);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--foh-fire-glow);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  order: 2;
  margin-right: auto;
  letter-spacing: -0.2px;
}

/* Image Container */
.foh-card-thumb {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}
.foh-card-thumb img {
  max-height: 165px;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.foh-card:hover .foh-card-thumb img {
  transform: scale(1.06);
}

/* Mini Countdown on Card */
.foh-card-timer {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}
.foh-card-timer .foh-time-val {
  color: #FF2D55;
  font-weight: 800;
}

/* Title */
.foh-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
}
.foh-card-title a {
  color: #1E293B;
  text-decoration: none;
  transition: color 0.2s;
}
.foh-card-title a:hover {
  color: var(--foh-blue);
}

/* Card Pricing Area */
.foh-card-pricing-wrap {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px dashed #E2E8F0;
  margin-bottom: 14px;
}

.foh-card-old-price-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* In RTL, this aligns to the LEFT above the sale price amount */
  width: 100%;
  min-height: 22px;
  padding-left: 2px;
  direction: rtl;
}
.foh-card-old-price-wrap .woocommerce-Price-amount,
.foh-card-old-price-wrap bdi {
  color: #8592A6;
  text-decoration: line-through;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

/* Colored Frame around final sale price */
.foh-price-frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 132, 255, 0.07);
  border: 1px solid rgba(10, 132, 255, 0.25);
  border-radius: 10px;
  padding: 8px 14px;
  transition: all 0.25s ease;
}
.foh-card:hover .foh-price-frame {
  border-color: rgba(10, 132, 255, 0.45);
  background: rgba(10, 132, 255, 0.1);
}

.foh-price-frame-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  white-space: nowrap;
}

.foh-price-frame-amount {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1 !important;
}

.foh-price-frame .woocommerce-Price-amount,
.foh-price-frame bdi {
  font-size: 17px;
  font-weight: 700;
  color: inherit;
}

.foh-price-frame .woocommerce-Price-currencySymbol-c,
.foh-price-frame .woocommerce-Price-currencySymbol {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #64748B;
}

.foh-price-frame svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor !important;
}

/* Full-Width Cart Button */
.foh-full-cart-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--foh-grad-purple-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px var(--foh-blue-glow);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.foh-full-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--foh-blue-glow);
  color: #FFFFFF;
}
/* Cart Buttons Loading & Added States */
.foh-full-cart-btn,
.foh-spotlight-btn-buy {
  position: relative !important;
  overflow: hidden;
}

.foh-full-cart-btn.loading,
.foh-spotlight-btn-buy.loading {
  pointer-events: none !important;
  cursor: wait !important;
}

.foh-full-cart-btn.loading > span,
.foh-full-cart-btn.loading > svg,
.foh-spotlight-btn-buy.loading > span,
.foh-spotlight-btn-buy.loading > svg {
  opacity: 0 !important;
  visibility: hidden !important;
}

.foh-full-cart-btn.loading::after,
.foh-spotlight-btn-buy.loading::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 20px !important;
  height: 20px !important;
  margin-top: -10px !important;
  margin-left: -10px !important;
  border: 2.5px solid rgba(255, 255, 255, 0.35) !important;
  border-top-color: #FFFFFF !important;
  border-radius: 50% !important;
  animation: foh-btn-spin 0.65s linear infinite !important;
  z-index: 10 !important;
  display: block !important;
  box-sizing: border-box !important;
}

@keyframes foh-btn-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.foh-full-cart-btn.added,
.foh-spotlight-btn-buy.added {
  background: #05C46B !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(5, 196, 107, 0.4) !important;
}

/* Toast Notifications Container */
.foh-toast-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.foh-custom-toast {
  pointer-events: auto;
  background: #0F172A;
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
}

.foh-custom-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.foh-custom-toast.foh-toast-success {
  border-right: 4px solid #05C46B;
}

.foh-custom-toast.foh-toast-error {
  border-right: 4px solid #EF4444;
}

/* ========================================================
   4. TABBED CATEGORY DEALS GRID WIDGET
   ======================================================== */
.foh-tabs-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.foh-tabs-bar::-webkit-scrollbar { display: none; }

.foh-tab-btn {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: #475569;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.foh-tab-btn:hover {
  border-color: #CBD5E1;
  color: #0F172A;
}
.foh-tab-btn.active {
  background: var(--foh-grad-purple-blue);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 6px 18px var(--foh-blue-glow);
}

.foh-tab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ========================================================
   RESPONSIVE BREAKPOINTS
   ======================================================== */
@media (max-width: 1200px) {
  .foh-spotlight-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .foh-spotlight-media {
    min-height: 260px;
  }
  .foh-tab-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .foh-campaign-header {
    padding: 25px 20px;
  }
  .foh-header-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .foh-countdown-box {
    width: 100%;
    justify-content: space-around;
  }
  .foh-header-title {
    font-size: 24px;
  }
  .foh-spotlight-card {
    padding: 22px 18px;
  }
  .foh-tab-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .foh-card {
    padding: 14px;
  }
  .foh-card-thumb {
    height: 140px;
  }
  .foh-card-title {
    font-size: 13px;
    min-height: 42px;
  }
}

@media (max-width: 480px) {
  .foh-tab-grid {
    grid-template-columns: 1fr;
  }
  .foh-spotlight-discount-circle {
    width: 60px;
    height: 60px;
  }
  .foh-spotlight-discount-circle .foh-pct {
    font-size: 18px;
  }
}
