:root {
  /* Glassmorphism Color Palette */
  --glass-bg-dark: #0f172a; /* Deep Slate */
  --glass-bg-darker: #020617; /* Even Darker */
  --glass-accent: #38bdf8; /* Sky Blue Neon */
  --glass-accent-glow: rgba(56, 189, 248, 0.5);
  --glass-surface: rgba(255, 255, 255, 0.03);
  --glass-surface-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-text-primary: #f1f5f9;
  --glass-text-secondary: #94a3b8;
  
  /* Glass Effect Mixins (Simulated with Vars) */
  --glass-backdrop-blur: 12px;
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

body {
  background-color: var(--glass-bg-darker);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.08), transparent 25%), 
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
  color: var(--glass-text-primary);
  font-family: 'Heebo', sans-serif;
  overflow-x: hidden;
}

/* Glass Card Utility */
.glass-panel {
  background: var(--glass-surface);
  backdrop-filter: blur(var(--glass-backdrop-blur));
  -webkit-backdrop-filter: blur(var(--glass-backdrop-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
  background: var(--glass-surface-hover);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
}

.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* עיצוב רשימת מסלולים */
.plans-list {
  transition: all 0.3s ease;
}

.plans-list:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(69, 224, 249, 0.2) !important;
}

.plan-item {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px;
  background: rgba(15, 23, 33, 0.6);
  border-radius: 24px;
  border: 1.5px solid rgba(148, 163, 184, 0.1);
  cursor: pointer;
  opacity: 1;
  font-size: 0.95rem;
  gap: 16px;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.plan-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: rgba(69, 224, 249, 0);
  transition: background 0.25s ease;
}

.plan-item:hover:not(.disabled) {
  background: rgba(30, 41, 59, 0.9) !important;
  border-color: rgba(69, 224, 249, 0.5) !important;
  transform: translateX(-2px);
  box-shadow: 0 4px 12px rgba(69, 224, 249, 0.15);
}

.plan-item:hover:not(.disabled)::before {
  background: rgba(69, 224, 249, 0.6);
}

.plan-item.active {
  background: rgba(30, 58, 138, 0.4) !important;
  border-color: rgba(69, 224, 249, 0.7) !important;
  box-shadow: 
    0 4px 12px rgba(69, 224, 249, 0.25),
    inset 0 0 0 1px rgba(69, 224, 249, 0.1);
}

.plan-item.active::before {
  background: rgba(69, 224, 249, 1);
  box-shadow: 0 0 12px rgba(69, 224, 249, 0.6);
}

.plan-item.disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
}

.plan-item.disabled:hover {
  transform: none !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* עיצוב הטקסט בתוך פריטי המסלול */
.plan-item .plan-name {
  color: #f8fafc;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  width: 100%;
  min-width: 0;
}

.plan-item .discount {
  color: #22d3ee;
  font-size: 0.875rem;
  margin-bottom: 6px;
  font-weight: 600;
  background: rgba(34, 211, 238, 0.15);
  padding: 2px 8px;
  border-radius: 24px;
  display: inline-block;
}

.plan-item .stock-info {
  color: #4ade80;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 6px;
}

.plan-item .risk-level {
  margin-top: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.plan-item .risk-level span {
  opacity: 0.8;
}

.plan-item .current-price {
  color: #4ade80;
  font-weight: 700;
  font-size: 1.25rem;
  text-align: left;
  line-height: 1.2;
  margin-bottom: 4px;
}

.plan-item .original-price {
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: line-through;
  text-align: left;
  opacity: 0.7;
}

/* מחירים פעילים - גדולים יותר */
.plan-item .active-price {
  font-size: 1.1em !important;
  font-weight: 600 !important;
}

/* מחירים לא פעילים - קטנים יותר עם קו חוצה */
.plan-item .inactive-price {
  font-size: 0.85em !important;
  text-decoration: line-through !important;
  opacity: 0.7 !important;
}

/* מחיר מבצע פעיל */
.plan-item .promo-price.active-price {
  color: #ffd600 !important;
  font-size: 1.1em !important;
  font-weight: 700 !important;
}

/* מחיר רגיל פעיל */
.plan-item .current-price.active-price {
  color: #4ade80 !important;
  font-size: 1.1em !important;
  font-weight: 600 !important;
}

/* מחיר חנות לא פעיל */
.plan-item .original-price.inactive-price {
  color: #ff6b6b !important;
  font-size: 0.85em !important;
  text-decoration: line-through !important;
  opacity: 0.7 !important;
}

/* קו חצייה לטקסט "מחיר חנות" */
.price-label-old {
  text-decoration: line-through !important;
  color: #bdeaff !important;
  font-size: 0.9em !important;
}

/* קו חצייה לכל הטקסטים הקשורים למחיר חנות */
.price-label-old s,
.price-label-old span {
  text-decoration: line-through !important;
  color: #bdeaff !important;
}

/* עיצוב מותאם לעמוד הבית */
.premium-card .plans-list {
  margin: 8px 0 !important;
  padding: 8px !important;
}

/* עיצוב עמוד המוצר - מסלולים ווידאו יחדיו */
.product-content-layout {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
  align-items: start !important;
}

/* סדר רספונסיבי למובייל - סרטון מעל המסלולים */
@media (max-width: 768px) {
  .product-content-layout {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 16px !important;
  }
  
  .product-content-layout .product-media-container {
    grid-row: 1 !important;
    order: 1 !important;
    align-self: start !important;
    margin-top: 0 !important;
  }
  
  .product-content-layout .plans-list {
    grid-row: 2 !important;
    order: 2 !important;
  }
}

/* עיצוב בסיסי למסלולים */
.product-content-layout .plans-list {
  background: rgba(255, 255, 255, 0.03) !important;
  border-radius: 24px !important;
  padding: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.product-content-layout .plans-list h4 {
  color: #45e0f9 !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
  text-align: center !important;
}

.product-content-layout .plans-grid {
  display: grid !important;
  gap: 8px !important;
}

/* גובה קבוע לווידאו */
.product-content-layout .product-media-container {
  height: 400px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  align-self: start !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* יישור התמונה עם הכותרת "מסלולים זמינים" */
@media (min-width: 769px) {
  .product-content-layout {
    align-items: start !important;
  }
  
  .product-content-layout .plans-list {
    padding-top: 16px !important;
  }
  
  .product-content-layout .product-media-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  
  /* יישור התמונה עם הכותרת - התמונה תתחיל מאותו קו כמו הכותרת */
  .product-content-layout .product-media-container .product-image-container,
  .product-content-layout .product-media-container .product-video-container {
    margin-top: 0 !important;
    /* padding-top: 0 !important; */
  }
}

.product-content-layout .product-video-container {
  width: 100% !important;
  height: 100% !important;
}

.product-content-layout .product-video-container iframe {
  width: 100% !important;
  height: 100% !important;
  border-radius: 24px !important;
}

/* רספונסיבי למסכים קטנים */
@media (max-width: 768px) {
  
  .product-content-layout .plans-list {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 12px !important;
    margin-bottom: 16px !important;
  }
  
  .product-content-layout .plans-list h4 {
    font-size: 0.9em !important;
    margin-bottom: 8px !important;
  }
  
  .product-content-layout .plans-grid {
    gap: 6px !important;
  }
  
  .product-content-layout .plan-item {
    padding: 10px 12px !important;
    font-size: 0.95em !important;
  }
  
  .product-content-layout .plan-item .plan-name {
    font-size: 1em !important;
  }
  
  .product-content-layout .plan-item .discount {
    font-size: 0.9em !important;
  }
  
  .product-content-layout .plan-item .current-price {
    font-size: 1.1em !important;
  }
  
  .product-content-layout .plan-item .original-price {
    font-size: 0.9em !important;
  }

  /* מחירים פעילים במובייל */
  .product-content-layout .plan-item .active-price {
    font-size: 1.0em !important;
    font-weight: 600 !important;
  }

  /* מחירים לא פעילים במובייל */
  .product-content-layout .plan-item .inactive-price {
    font-size: 0.8em !important;
    text-decoration: line-through !important;
    opacity: 0.7 !important;
  }

  /* מחיר מבצע פעיל במובייל */
  .product-content-layout .plan-item .promo-price.active-price {
    color: #ffd600 !important;
    font-size: 1.0em !important;
    font-weight: 700 !important;
  }

  /* מחיר רגיל פעיל במובייל */
  .product-content-layout .plan-item .current-price.active-price {
    color: #4ade80 !important;
    font-size: 1.0em !important;
    font-weight: 600 !important;
  }
  
  .product-content-layout .product-media-container {
    height: 200px !important;
    margin-top: 18px !important;
  }

  /* Ensure the glass frame isn't tight to the plans list */
  .product-content-layout .product-media-container .product-image-container,
  .product-content-layout .product-media-container .product-video-container {
    margin-top: -15px !important;
  }
  
  .product-content-layout .product-video-container iframe {
    border-radius: 24px !important;
  }
}

/* אופטימיזציה למסכים קטנים מאוד */
@media (max-width: 480px) {
  .product-content-layout .plans-list {
    padding: 8px !important;
  }
  
  .product-content-layout .plans-list h4 {
    font-size: 0.8em !important;
    margin-bottom: 6px !important;
  }
  
  .product-content-layout .plan-item {
    padding: 8px 10px !important;
    font-size: 0.9em !important;
  }
  
  .product-content-layout .plan-item .plan-name {
    font-size: 0.95em !important;
  }
  
  .product-content-layout .plan-item .discount {
    font-size: 0.85em !important;
  }
  
  .product-content-layout .plan-item .current-price {
    font-size: 1em !important;
  }
  
  .product-content-layout .plan-item .original-price {
    font-size: 0.8em !important;
  }

  /* מחירים פעילים במסכים קטנים */
  .product-content-layout .plan-item .active-price {
    font-size: 0.95em !important;
    font-weight: 600 !important;
  }

  /* מחירים לא פעילים במסכים קטנים */
  .product-content-layout .plan-item .inactive-price {
    font-size: 0.75em !important;
    text-decoration: line-through !important;
    opacity: 0.7 !important;
  }

  /* מחיר מבצע פעיל במסכים קטנים */
  .product-content-layout .plan-item .promo-price.active-price {
    color: #ffd600 !important;
    font-size: 0.95em !important;
    font-weight: 700 !important;
  }

  /* מחיר רגיל פעיל במסכים קטנים */
  .product-content-layout .plan-item .current-price.active-price {
    color: #4ade80 !important;
    font-size: 0.95em !important;
    font-weight: 600 !important;
  }
  
  .product-content-layout .product-media-container {
    height: 180px !important;
  }
}

.premium-card .plans-list h4 {
  font-size: 0.8em !important;
  margin-bottom: 6px !important;
}

.premium-card .plans-grid {
  /* In unauthenticated view, flex-start causes plan items to shrink.
     Stretch ensures each plan row spans the full card width. */
  align-items: stretch !important;
}

.premium-card .plan-item {
  padding: 8px 12px !important;
  font-size: 0.9em !important;
  width: 100% !important;
}

.premium-card .plan-item .plan-name {
  font-size: 1em !important;
}

.premium-card .plan-item .discount {
  font-size: 0.85em !important;
}

.premium-card .plan-item .current-price {
  font-size: 1.1em !important;
}

.premium-card .plan-item .original-price {
  font-size: 0.9em !important;
}

/* יישור כרטיסי המוצר */
.premium-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

.premium-card .card-body {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  justify-content: flex-start !important;
  padding: 20px !important;
  gap: 16px;
}

.premium-card .card-header {
  flex-shrink: 0 !important;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.premium-card .card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.9));
  pointer-events: none;
}

.premium-card .product-pic {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover .product-pic {
  transform: scale(1.03);
}

.premium-card .plans-list {
  flex-shrink: 0 !important;
  margin-top: 0 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.premium-card .plans-list h4 {
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.premium-card .plans-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.premium-card .order-btn {
  margin-top: 8px !important;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  border: none;
  border-radius: 24px;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.3);
  position: relative;
  overflow: hidden;
}

.premium-card .order-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.premium-card .order-btn:hover:not(.disabled-btn) {
  transform: translateY(-2px);
  box-shadow: 0 8px 12px -2px rgba(14, 165, 233, 0.4);
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.premium-card .order-btn:hover:not(.disabled-btn)::before {
  width: 300px;
  height: 300px;
}

.premium-card .order-btn.disabled-btn {
  background: rgba(71, 85, 105, 0.5);
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}


/* עיצוב אזור מבצעי ספטמבר - Glass Style */
.september-promo {
  position: relative;
  overflow: hidden;
  background: var(--glass-surface) !important;
  backdrop-filter: blur(var(--glass-backdrop-blur));
  -webkit-backdrop-filter: blur(var(--glass-backdrop-blur));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
}

.september-promo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%); /* Updated to accent color */
  animation: september-glow 4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes september-glow {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.3;
  }
  100% {
    transform: rotate(180deg) scale(1.1);
    opacity: 0.5;
  }
}

/* עיצוב אזור תכנית נאמנות - Glass Style */
.loyalty-program-intro {
  position: relative;
  overflow: hidden;
  background: var(--glass-surface) !important;
  backdrop-filter: blur(var(--glass-backdrop-blur));
  -webkit-backdrop-filter: blur(var(--glass-backdrop-blur));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
}

.loyalty-program-intro::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%); /* Different accent for loyalty */
  animation: loyalty-glow 4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes loyalty-glow {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.3;
  }
  100% {
    transform: rotate(180deg) scale(1.1);
    opacity: 0.5;
  }
}

.loyalty-feature-card {
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.loyalty-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(69, 224, 249, 0.2);
  border-color: rgba(69, 224, 249, 0.4) !important;
}

.september-feature-card {
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.september-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(69, 224, 249, 0.2);
  border-color: rgba(69, 224, 249, 0.4) !important;
}

.september-cta-btn {
  position: relative;
  overflow: hidden;
}

.september-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.september-cta-btn:hover::before {
  left: 100%;
}

/* עיצוב רספונסיבי לאזור מבצעי ספטמבר */
@media (max-width: 768px) {
  .september-features-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 12px !important;
  }
  
  .september-feature-card {
    padding: 12px !important;
  }
  
  .september-feature-card .feature-icon {
    font-size: 1.5em !important;
    margin-bottom: 6px !important;
  }
  
  .september-feature-card h4 {
    font-size: 1em !important;
    margin-bottom: 6px !important;
  }
  
  .september-feature-card p {
    font-size: 0.8em !important;
  }
  
  .september-cta-buttons {
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .september-cta-btn {
    width: 100% !important;
    max-width: 280px !important;
    margin-bottom: 8px !important;
  }
  
  .september-promo h2 {
    font-size: 0.9em !important;
  }
  
  .september-promo p {
    font-size: 1em !important;
  }
}

@media (max-width: 480px) {
  .september-features-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  
  .september-feature-card {
    padding: 10px !important;
  }
  
  .september-promo {
    padding: 16px !important;
  }
}

/* עיצוב מינימלי לאזור קופון ונקודות */
.coupon-loyalty-section {
  transition: none !important;
}

.coupon-loyalty-section .form-control {
  transition: none !important;
  box-shadow: none !important;
}

.coupon-loyalty-section .form-control:focus {
  box-shadow: none !important;
  border-color: rgba(255, 193, 7, 0.5) !important;
}

.coupon-loyalty-section .btn {
  transition: none !important;
}

.coupon-loyalty-section .btn:hover {
  transform: none !important;
  box-shadow: none !important;
}

.coupon-loyalty-section .form-check-input {
  transition: none !important;
}

.coupon-loyalty-section .form-check-input:checked {
  background-color: #45e0f9 !important;
  border-color: #45e0f9 !important;
}
/* סטייל למוצרי מידע */
.product-info-text {
  text-align: center;
  padding: 20px;
  font-size: 1.1em;
  color: #eaf8ff;
  line-height: 1.5;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}


/* =========================================
   GLASSMORPHISM OVERRIDES & NEW STYLES
   ========================================= */

/* Main Connectors & Layout */
main.container {
  background: transparent !important;
  box-shadow: none !important;
  max-width: 1400px;
}

/* Sidebar (Desktop) */
.desktop-sidebar {
  background: var(--glass-surface) !important;
  backdrop-filter: blur(var(--glass-backdrop-blur));
  -webkit-backdrop-filter: blur(var(--glass-backdrop-blur));
  border-right: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.sidebar-title {
  color: var(--glass-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.sidebar-product-link:hover, 
.sidebar-product-link.active {
  background: var(--glass-surface-hover);
  border-right: 3px solid var(--glass-accent);
  padding-right: 12px; /* Adjust for border */
}

/* Product Cards (Glass Style) */
.premium-card {
  background: rgba(5, 10, 20, 0.9) !important;
  backdrop-filter: blur(var(--glass-backdrop-blur)) !important;
  -webkit-backdrop-filter: blur(var(--glass-backdrop-blur)) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 24px !important;
  box-shadow: var(--glass-shadow) !important;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  margin-bottom: 30px;
}

.premium-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4) !important;
}

.premium-card .card-header {
  background: transparent !important;
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

.premium-card .card-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 100px;
  background: linear-gradient(to top, var(--glass-bg-darker), transparent);
  pointer-events: none;
}

.premium-card .product-pic {
  transform-origin: center;
  transition: transform 0.6s ease;
}

.premium-card:hover .product-pic {
  transform: scale(1.05);
}

.premium-card h3 {
  font-weight: 800 !important;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, white, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

/* Buttons (Neon Style) */
.order-btn, .cheapsubs-btn {
  background: transparent !important;
  color: var(--glass-accent) !important;
  border: 1px solid var(--glass-accent) !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.1) !important;
  border-radius: 24px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease !important;
}

.order-btn::before, .cheapsubs-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 0%; height: 100%;
  /* Use site turquoise on hover fill */
  background: linear-gradient(90deg, #00eaff 0%, #45e0f9 100%);
  z-index: -1;
  transition: width 0.3s ease;
}

.order-btn:hover:not(.disabled-btn), .cheapsubs-btn:hover:not(.disabled-btn) {
  color: #000 !important;
  box-shadow: 0 0 22px #00eaff80 !important;
  transform: translateY(-2px);
}

.order-btn:hover:not(.disabled-btn)::before, .cheapsubs-btn:hover:not(.disabled-btn)::before {
  width: 100%;
}

.order-btn.disabled-btn {
  border-color: #64748b !important;
  color: #64748b !important;
  box-shadow: none !important;
  pointer-events: none;
}

/* Plan Items */
.plan-item {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  border-radius: 24px !important;
}

.plan-item:hover:not(.disabled) {
  background: rgba(56, 189, 248, 0.1) !important;
  border-color: var(--glass-accent) !important;
}

.plan-item.active {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: var(--glass-accent) !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.plan-item .current-price {
  color: var(--glass-accent) !important;
}

/* Modals (Auth & Testimonial) */
#auth-modal-box, #testimonial-modal-box {
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

.modal-input, .form-control, .form-select {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border-radius: 24px !important;
}

.modal-input:focus, .form-control:focus, .form-select:focus {
  border-color: var(--glass-accent) !important;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2) !important;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.intro-hero-title {
  animation: float 6s ease-in-out infinite;
}


.inventory-display .stock-indicator i {
  font-size: 0.9em;
}

/* מלאי זמין */
.inventory-display.in-stock {
  background: rgba(40, 167, 69, 0.15);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #28a745;
}

.inventory-display.in-stock .stock-indicator i {
  color: #28a745;
}

/* מלאי נמוך */
.inventory-display.low-stock {
  background: rgba(255, 193, 7, 0.15);
  border: 1px solid rgba(255, 193, 7, 0.3);
  color: #ffc107;
  animation: pulse-warning 2s infinite;
}

.inventory-display.low-stock .stock-indicator i {
  color: #ffc107;
}

/* מלאי אזל */
.inventory-display.out-of-stock {
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #dc3545;
}

.inventory-display.out-of-stock .stock-indicator i {
  color: #dc3545;
}

/* אנימציה למלאי נמוך */
@keyframes pulse-warning {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
  }
}

/* סטייל מיוחד לכרטיסי מוצר עם מלאי */
.product-card .inventory-display {
  margin-top: 10px;
  margin-bottom: 0;
}

/* סטייל מיוחד לכרטיסי מסלול עם מלאי */
.plan-card .inventory-display {
  margin-top: 8px;
  margin-bottom: 0;
}

/* הסתרת כפתור הזמנה כאשר המלאי אזל */
.product-card.out-of-stock .order-btn,
.plan-card.out-of-stock .order-btn {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.product-card.out-of-stock .order-btn::after,
.plan-card.out-of-stock .order-btn::after {
  content: " (אזל המלאי)";
  font-size: 0.8em;
  opacity: 0.7;
}

/* סטיילים לתצוגת מלאי בעמוד המוצר */
.product-page-inventory {
  font-size: 16px !important;
  padding: 16px !important;
  margin: 20px 0 !important;
}

.product-page-inventory .stock-indicator {
  font-size: 16px;
  font-weight: 600;
}

.product-page-inventory .stock-indicator i {
  font-size: 20px;
}

/* סטיילים לכפתור הזמנה כשהמלאי אזל בעמוד המוצר */
.product-page-inventory.out-of-stock + .product-detail-form .order-btn {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
  background: #6b7280 !important;
  border-color: #6b7280 !important;
}

.product-page-inventory.out-of-stock + .product-detail-form .order-btn::after {
  content: " (אזל המלאי)";
  font-size: 0.9em;
  opacity: 0.8;
  margin-right: 8px;
}

/* סטיילים לכפתור הזמנה כשהמלאי אזל בעמוד המוצר - גרסה כללית */
.product-detail-form .order-btn:disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
  background: #6b7280 !important;
  border-color: #6b7280 !important;
}

.product-detail-form .order-btn:disabled::after {
  content: " (אזל המלאי)";
  font-size: 0.9em;
  opacity: 0.8;
  margin-right: 8px;
}

/* Overlay spinner during order processing */
.order-processing-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.order-processing-overlay.show { display: flex; }
.order-processing-box {
  background: linear-gradient(135deg, #1a2a3a, #181b1f);
  border: 1px solid rgba(69, 224, 249, 0.35);
  border-radius: 24px;
  padding: 18px 22px;
  color: #eaf8ff;
  min-width: 240px;
  text-align: center;
  box-shadow: 0 8px 24px #0006;
}
.order-processing-spinner {
  width: 42px; height: 42px;
  border: 3px solid rgba(69, 224, 249, 0.25);
  border-top-color: #45e0f9;
  border-radius: 24px;
  animation: spin 0.9s linear infinite;
  margin: 0 auto 10px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.order-processing-text { font-weight: 600; }

/* Order progress (slick checkout feedback) */
.order-processing-progress {
  margin-top: 12px;
  text-align: right;
}
.order-processing-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: grid;
  gap: 6px;
}
.order-processing-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
  opacity: 0.7;
}
.order-processing-step::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 24px;
  background: rgba(69, 224, 249, 0.25);
  border: 1px solid rgba(69, 224, 249, 0.25);
  flex: 0 0 auto;
}
.order-processing-step.active {
  opacity: 1;
  font-weight: 700;
}
.order-processing-step.active::before {
  background: rgba(69, 224, 249, 0.9);
  border-color: rgba(69, 224, 249, 0.9);
}
.order-processing-step.done {
  opacity: 0.95;
}
.order-processing-step.done::before {
  background: rgba(74, 222, 128, 0.95);
  border-color: rgba(74, 222, 128, 0.95);
}
.order-processing-bar {
  height: 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.order-processing-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(69, 224, 249, 0.8), rgba(74, 222, 128, 0.8));
  transition: width 220ms ease;
}

/* סטייל לוידאו מוצר */
.product-image-container:not(.cs-glass-border) {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.product-image-container img {
  display: block;
  width: 100%;
  height: auto;
}

.product-image-container.cs-glass-border {
  padding: 10px;
  overflow: hidden;
}

.product-image-container.cs-glass-border img {
  border-radius: calc(var(--cs-glass-radius, 24px) - 10px);
}

.product-video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#product-video .product-desc-title {
  margin-bottom: 12px;
  font-size: 1.2em;
  font-weight: 600;
  color: #45e0f9;
  text-align: right;
}

/* תמיכה במובייל לוידאו */
@media (max-width: 768px) {
  .product-video-container {
    border-radius: 24px;
  }
  
  #product-video .product-desc-title {
    font-size: 1.1em;
    margin-bottom: 10px;
  }
}

/* סטייל לתיבת הסכמה למדיניות */
.privacy-consent-section {
  transition: all 0.3s ease;
}

.privacy-consent-section:hover {
  background: rgba(69, 224, 249, 0.15) !important;
  border-color: rgba(69, 224, 249, 0.5) !important;
}

.privacy-consent-section .form-check {
  position: relative;
  z-index: 1;
}

.privacy-consent-section .form-check-input {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.privacy-consent-section .form-check-input:checked {
  background-color: #45e0f9;
  border-color: #45e0f9;
}

.privacy-consent-section .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(69, 224, 249, 0.25);
  border-color: #45e0f9;
}

.privacy-consent-section .form-check-label {
  cursor: pointer;
  position: relative;
  z-index: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
  padding-right: 5px;
}

.privacy-consent-section .form-check {
  gap: 35px !important;
}

.privacy-consent-section .form-check-label a {
  transition: color 0.3s ease;
}

.privacy-consent-section .form-check-label a:hover {
  color: #ffe066 !important;
}

/* סטייל לתיבת הסכמה לשיווק */
.privacy-consent-section .form-check-input[id="marketing-consent"]:checked {
  background-color: #ffe066;
  border-color: #ffe066;
}

.privacy-consent-section .form-check-input[id="marketing-consent"]:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 224, 102, 0.25);
  border-color: #ffe066;
}

/* תמיכה במובייל */
@media (max-width: 768px) {
  .privacy-consent-section {
    margin: 12px 0 !important;
    padding: 10px !important;
  }
  
  .privacy-consent-section .form-check {
    gap: 30px !important;
    margin-bottom: 6px !important;
  }
  
  .privacy-consent-section .form-check-input {
    width: 20px !important;
    height: 20px !important;
    margin-top: 0 !important;
    flex-shrink: 0 !important;
  }
  
  .privacy-consent-section .form-check-label {
    font-size: 13px !important;
    line-height: 1.3 !important;
    flex: 1 !important;
    word-wrap: break-word !important;
    padding-right: 8px !important;
  }
  
  .privacy-consent-section .form-text {
    font-size: 11px !important;
    margin-right: 35px !important;
  }
}

/* סטייל מיוחד לטופס הרישום */
.auth-modal-form .privacy-consent-section {
  margin: 12px 0 !important;
  padding: 10px !important;
}

.auth-modal-form .privacy-consent-section .form-check-label {
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.auth-modal-form .privacy-consent-section .form-text {
  font-size: 11px !important;
}

/* סטייל לכפתורי Google */
#btn-google-login,
#btn-google-register {
  background: #333 !important;
  border: none !important;
  border-radius: 24px !important;
  padding: 12px 24px !important;
  color: white !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
  transition: all 0.3s ease !important;
  min-width: 200px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

#btn-google-login:hover,
#btn-google-register:hover {
  background: #444 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

#btn-google-login:active,
#btn-google-register:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

#btn-google-login img,
#btn-google-register img {
  width: 20px !important;
  height: 20px !important;
  margin-left: 8px !important;
}

/* עיצוב כפתור Google כשהוא חסום */
#btn-google-register:disabled {
  background: #555 !important;
  color: #999 !important;
  cursor: not-allowed !important;
  opacity: 0.5 !important;
  transform: none !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

#btn-google-register:disabled:hover {
  background: #555 !important;
  transform: none !important;
}

/* תמיכה במובייל לכפתורי Google */
@media (max-width: 768px) {
  #btn-google-login,
  #btn-google-register {
    min-width: 180px !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
  }
  
  #btn-google-login img,
  #btn-google-register img {
    width: 18px !important;
    height: 18px !important;
  }
}

/* סטייל לכפתורי הסכמה באזור האישי */
#toggle-marketing-consent {
  font-weight: 500;
  border-radius: 24px;
  padding: 8px 16px;
  font-size: 14px;
  transition: all 0.3s ease;
}

#toggle-marketing-consent:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* סטייל לסטטוס הסכמות */
#privacy-consents .badge {
  border-radius: 24px;
  font-weight: 500;
  letter-spacing: 0.5px;
}



/* סטייל מינימליסטי סופי לסטטוס-סלקט */
.status-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #181b1f;
  color: #fff;
  border: 1.5px solid #444;
  border-radius: 24px;
  font-size: 1em;
  font-weight: 500;
  padding: 7px 32px 7px 12px;
  min-width: 110px;
  max-width: 170px;
  width: auto;
  margin: 0;
  box-shadow: none;
  outline: none;
  transition: border 0.15s, color 0.18s;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: left 10px center;
  background-size: 18px 18px;
  padding-left: 34px;
  text-align: right;
  cursor: pointer;
}

.status-select:focus {
  border-color: #0ff2f2;
}

.status-select option {
  color: #222;
  background: #fff;
  font-weight: 400;
}

@media (max-width: 650px) {
  .order-status-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: 8px;
  }

  .order-status-wrapper .status-select {
    margin: 0;
    width: 100%;
    min-width: 0;
    border-radius: 24px;
    max-width: none;
  }

  .order-status-wrapper .status-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
/* סטטוסים שונים */
.status-waiting {
  border-color: #38e8ff;
  /* כתום */
}

.status-inprogress {
  border-color: #0d6efd;
  /* כחול */
}

.status-done {
  border-color: #198754;
  background: #181b1f;
  color: #ffffff;
  /* ירוק */
}

.status-canceled {
  border-color: #dc3545;
  /* אדום */
}

.status-new {
  border-color: #ff69b4; /* ורוד בוהק */
  background: #ff69b41a;
  color: #ff69b4;
}

.status-hot {
  border-color: #ff9800; /* כתום */
  background: #ff98001a;
  color: #ff9800;
}

.status-followup {
  border-color: var(--bs-warning);
  box-shadow: 0 0 8px -2px var(--bs-warning);
}

/* =============== בסיס =============== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Heebo', sans-serif;
  background: #121212;
  color: #ffffff;
  line-height: 1.7;
  min-height: 100vh;
  text-align: right;
}

a {
  color: #45e0f9;
  text-decoration: none;
}

a:hover {
  color: #00eaff;
}

/* =============== נגישות - עיצוב פוקוס =============== */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
  outline: 3px solid #45e0f9 !important;
  outline-offset: 2px !important;
  border-radius: 24px;
}

/* פוקוס לכפתורים עם רקע */
.btn:focus,
.cheapsubs-btn:focus,
.order-btn:focus {
  outline: 3px solid #000 !important;
  outline-offset: 2px !important;
}

/* פוקוס לשדות טופס */
.modal-input:focus,
.form-control:focus,
.form-select:focus {
  outline: 3px solid #45e0f9 !important;
  outline-offset: 2px !important;
  border-color: #45e0f9 !important;
  box-shadow: 0 0 0 3px rgba(69, 224, 249, 0.3) !important;
}

/* פוקוס לתפריטים */
.dropdown-toggle:focus,
.nav-link:focus {
  outline: 3px solid #45e0f9 !important;
  outline-offset: 2px !important;
}

/* הסתרת פוקוס לכפתורים שאינם אינטראקטיביים */
button[disabled]:focus,
.disabled:focus {
  outline: none !important;
}

/* Fix: remove unintended strike-through from product page texts */
#product-details,  *,
.product-details-main, .product-details-main *,
.product-detail-form, .product-detail-form * {
  text-decoration: none !important;
}

/* Keep strike-through only where it is explicitly intended (old prices) */
.price-item.old .price-value,
.price-item.regular .price-value,
.store-price-crossed,
.price-label-old s {
  text-decoration: line-through !important;
}

/* Stronger specificity to guarantee on product page */
#product-details .price-item.old .price-value,
#product-details .price-item.regular .price-value,
.product-details-main .price-item.old .price-value,
.product-details-main .price-item.regular .price-value {
  text-decoration: line-through !important;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
  background: #334b61;
  border-radius: 24px;
}

/* =============== Desktop Sidebar =============== */
.desktop-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 220px;
  height: 100vh;
  /* Opaque desktop menu (must not be transparent) */
  background: #0d1117;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-left: 1.5px solid rgba(80, 200, 255, 0.17);
  box-shadow: -2px 0 24px 0 #163c5255;
  z-index: 30000;
  overflow-y: auto;
  display: none;
}

.desktop-sidebar .sidebar-header {
  padding: 20px 16px 16px;
  border-bottom: 1px solid rgba(80, 200, 255, 0.1);
}

.desktop-sidebar .sidebar-title {
  color: #45e0f9;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

.desktop-sidebar .sidebar-nav {
  padding: 16px 0;
}

.desktop-sidebar .sidebar-product-link {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: #eaf8ff;
  text-decoration: none;
  transition: all 0.3s ease;
  border-right: 3px solid transparent;
}

.desktop-sidebar .sidebar-product-link:hover {
  background: rgba(69, 224, 249, 0.1);
  border-right-color: #45e0f9;
}

.desktop-sidebar .sidebar-product-link.active {
  background: rgba(69, 224, 249, 0.15);
  border-right-color: #45e0f9;
}

.desktop-sidebar .sidebar-product-icon {
  width: 20px;
  height: 20px;
  margin-left: 10px;
  border-radius: 24px;
}

.desktop-sidebar .sidebar-product-label {
  font-weight: 500;
  font-size: 0.9rem;
  flex: 1;
}

/* קטגוריות מתקפלות */
.desktop-sidebar .sidebar-category {
  border-bottom: 1px solid rgba(80, 200, 255, 0.1);
}

.desktop-sidebar .sidebar-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: #45e0f9;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-right: 3px solid transparent;
}

.desktop-sidebar .sidebar-category-header:hover {
  background: rgba(69, 224, 249, 0.1);
  border-right-color: #45e0f9;
}

.desktop-sidebar .sidebar-category-header .category-title {
  margin: 0;
  font-size: 0.85rem;
}

.desktop-sidebar .sidebar-category-header .category-toggle {
  background: none;
  border: none;
  color: #45e0f9;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-sidebar .sidebar-category-header .category-toggle.expanded {
  transform: rotate(90deg);
}

.desktop-sidebar .sidebar-category-products {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.desktop-sidebar .sidebar-category-products.expanded {
  max-height: 500px;
}

.desktop-sidebar .sidebar-product-link {
  padding: 8px 16px 8px 24px;
  font-size: 0.85rem;
}

.desktop-sidebar .sidebar-admin-nav {
  padding: 16px;
  border-top: 1px solid rgba(80, 200, 255, 0.1);
}

.desktop-sidebar .sidebar-admin-nav a {
  display: block;
  padding: 8px 0;
  color: #eaf8ff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.desktop-sidebar .sidebar-admin-nav a:hover {
  color: #45e0f9;
}

.desktop-sidebar .sidebar-admin-nav a.active {
  color: #45e0f9;
  font-weight: 600;
}

/* עיצוב שם הלקוח ב-sidebar */


.desktop-sidebar .sidebar-user-greeting .user-name {
  color: #45e0f9;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

.desktop-sidebar .sidebar-user-greeting .user-email {
  color: #eaf8ff;
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.8;
}

/* עיצוב תפריט המשתמש ב-sidebar */
.desktop-sidebar .sidebar-user-menu {
  padding: 0 16px 0px 16px;
  border-bottom: 1px solid rgba(80, 200, 255, 0.1);
  max-height: 200px;
  overflow: visible;
  transition: max-height 0.3s ease;
}

.desktop-sidebar .sidebar-user-menu.collapsed {
  max-height: 0;
  overflow: hidden;
}

.desktop-sidebar .sidebar-user-menu .user-menu-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  color: #eaf8ff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.desktop-sidebar .sidebar-user-menu .user-menu-item:hover {
  color: #45e0f9;
}

.desktop-sidebar .sidebar-user-menu .user-menu-item .menu-icon {
  margin-left: 8px;
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.desktop-sidebar .sidebar-user-menu .user-menu-item.logout-item {
  color: #ff6b6b;
}

.desktop-sidebar .sidebar-user-menu .user-menu-item.logout-item:hover {
  color: #ff5252;
}

.desktop-sidebar .sidebar-user-menu .login-item {
  color: #45e0f9;
  font-weight: 600;
}

.desktop-sidebar .sidebar-user-menu .login-item:hover {
  color: #2ee7ff;
}

/* עיצוב שם המשתמש ככפתור */
.desktop-sidebar .sidebar-user-greeting {
  cursor: pointer;
  transition: background-color 0.2s ease;
  padding: 16px;
  border-bottom: 1px solid rgba(80, 200, 255, 0.1);
  text-align: center;
}

.desktop-sidebar .sidebar-user-greeting:hover {
  background-color: rgba(80, 200, 255, 0.1);
}

.desktop-sidebar .sidebar-user-greeting .user-name {
  position: relative;
}

.desktop-sidebar .sidebar-user-greeting .user-name::after {
  content: '▼';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  font-size: 0.8rem;
  color: #45e0f9;
  transition: transform 0.3s ease;
}

.desktop-sidebar .sidebar-user-greeting.collapsed .user-name::after {
  transform: translateY(-50%) rotate(0deg);
}

/* הסתרת תפריט המשתמש מההדר במסכים גדולים */
@media (min-width: 1200px) {
  .user-auth-wrapper {
    display: none !important;
  }
  
  .desktop-sidebar {
    display: block !important;
  }
}

/* התאמת התוכן הראשי כשיש sidebar */
@media (min-width: 1200px) {
  .container {
    margin-right: 220px;
    max-width: calc(100% - 220px);
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
  }
  
  .desktop-sidebar {
    display: block;
  }
  
  /* התאמה מיוחדת ל-container בהדר */
  .site-header .container {
    margin-right: 0 !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
  }
}

@media (max-width: 1199px) {
  .desktop-sidebar {
    display: none !important;
  }
  
  /* התאמה מיוחדת ל-container בהדר במסכים קטנים */
  .site-header .container {
    margin-right: 0 !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
  }
}

/* התאמה למסכים גדולים מאוד */
@media (min-width: 1600px) {
  .container {
    max-width: calc(100% - 220px);
    margin-left: auto;
    margin-right: 220px;
  }
}

/* =============== Header (Glass) =============== */
header,
.site-header {
  background: linear-gradient(120deg, rgba(36, 56, 90, 0.45) 80%, rgba(23, 25, 34, 0.35) 100%);
  backdrop-filter: blur(5px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border-radius: 24px;
  border: 1.5px solid rgba(80, 200, 255, 0.17);
  box-shadow: 0 2px 24px 0 #163c5255;
  padding: 16px 20px 10px 20px;
  margin-bottom: 0;
  /* Sticky breaks easily if any ancestor has overflow/transform.
     Fixed header is reliable across the site. */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  border-radius: 0 0 24px 24px;
  /* Must sit above all page elements and menus */
  z-index: 30000;
}

/* Offset page content under fixed header (set dynamically via JS) */
body.has-fixed-header {
  padding-top: var(--cs-header-h, 86px);
}

/* התאמת ההדר ל-sidebar במסכים גדולים */
@media (min-width: 1200px) {
  /* וידוא שה-container בהדר מתנהג נכון */
  .site-header .container {
    margin-right: 0 !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* במסכים קטנים - ההדר תופס את כל הרוחב */
@media (max-width: 1199px) {
  /* וידוא שה-container בהדר מתנהג נכון במסכים קטנים */
  .site-header .container {
    margin-right: 0 !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}
.cheapsubs-searchbar{
      align-items: unset !important;
}
header h1,
.site-header h1 {
  color: #45e0f9;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.03em;
  margin: 0;
}

.site-header .logo-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  justify-content: center;
  flex-grow: 1;
  text-align: center;
}

.site-header .site-logo {
  width: 150px;
  height: auto;
  object-fit: contain;
  max-height: 150px;
}

@media (max-width: 767px) {

  header,
  .site-header {
    padding: 10px 5vw 8px 5vw;
    margin-bottom: 8px;
  }

  header h1,
  .site-header h1 {
    font-size: 1.16rem;
  }
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-left: 7px;
}

.user-auth-wrapper {
  display: flex;
  align-items: center;
  gap: .4em;
  justify-content: flex-end;
  flex-shrink: 0;
}

.flex-spacer {
  flex: 0 0 130px;
}


/* =============== Intro Glass Section =============== */
.intro {
  background: linear-gradient(120deg, rgba(32, 50, 70, 0.52) 70%, rgba(25, 28, 32, 0.34) 100%);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-radius: 24px;
  border: 1.5px solid rgba(80, 200, 255, 0.25);
  box-shadow: 0 8px 32px 0 #1f1e2e55;
  padding: 28px 18px 26px 18px;
  margin-bottom: 24px;
  margin-right: auto;
  margin-left: auto;
  direction: rtl;
  transition: box-shadow 0.22s;
}

.intro:hover {
  box-shadow: 0 12px 42px 0 #1fa6e6bb, 0 1.5px 16px 0 #1f1e2e40;
}

.intro h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #45e0f9;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px #00eaff33, 0 1px 4px #05132244;
}

.intro h4 {
  text-align: center;
  color: #ffffff;
  background: linear-gradient(90deg, #10e4ff 0%, #7beeff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 0;
  text-shadow: 0 2px 8px #00eaff22;
}

.intro p {
  color: #ffffff;
  line-height: 1.7;
  font-size: 1rem;
  font-weight: 400;
  text-align: right;
  margin-bottom: 0;
  margin-top: 0;
  text-shadow: 0 1.5px 3.5px #05132238;
}

.intro p+p {
  margin-top: 20px;
}

.intro strong {
  font-weight: 800;
  color: #18ecf3;
  text-shadow: 0 1px 4px #00eaff65;
}

.intro .text-center {
  text-align: center;
}

.intro .font-bold,
.intro strong {
  font-weight: bold !important;
}

.intro .text-xl {
  font-size: 1.2rem !important;
  color: #00eaff !important;
  text-shadow: 0 1px 5px #00eaff33;
}

.intro .mt-6 {
  margin-top: 32px !important;
}

.intro::after {
  content: "";
  display: block;
  height: 3px;
  border-radius: 24px;
  margin-top: 28px;
  margin-left: 10%;
  margin-right: 10%;
  background: linear-gradient(90deg, #00eaff 0%, #45e0f9 100%);
  opacity: 0.65;
}

@media (max-width: 600px) {
  .intro {
    padding: 16px 4vw 16px 4vw;
    font-size: 1rem;
  }

  .intro h2 {
    font-size: 2rem;
  }

  .intro h4 {
    font-size: 1.02rem;
  }

  .intro .text-xl {
    font-size: 1.1rem !important;
  }

  .intro::after {
    margin-top: 18px;
  }
}

/* =============== Products Grid =============== */
.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 768px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1800px) {
  .products {
    grid-template-columns: repeat(4, 1fr);
  } 
}
@media (min-width: 2600px) {
  .products {
    grid-template-columns: repeat(5, 1fr);
  } 
}

/* =============== Product Card: Glass =============== */
.premium-card,
.product-card {
  position: relative;
  background: linear-gradient(120deg, rgba(32, 50, 70, 0.52) 70%, rgba(25, 28, 32, 0.34) 100%) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.3),
    0 2px 4px -1px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.premium-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.4),
    0 10px 10px -5px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(69, 224, 249, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(69, 224, 249, 0.4);
}

.premium-card .header,
.product-card .header {
  background: transparent;
  padding: 20px 20px 16px;
  text-align: center;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.premium-card .header h3,
.product-card .header h3 {
  margin: 0 !important;
  font-size: 1.35rem;
  font-weight: 700;
  color: #f8fafc;
  text-shadow: none;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.premium-card .badge,
.product-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: #005a7f;
  padding: 4px 13px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: bold;
  z-index: 2;
}

.premium-card .duration-buttons,
.product-card .duration-buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem; /* Added space below buttons */
  overflow-x: unset;
  height: auto;
  align-content: flex-start;
}

.premium-card .duration-buttons::-webkit-scrollbar {
  height: 6px;
}

.premium-card .duration-buttons::-webkit-scrollbar-thumb {
  background: #21e5ff44;
  border-radius: 24px;
}

.premium-card .duration-btn,
.product-card .duration-btn {
  background: transparent;
  border: 1.5px solid #89e6ff;
  color: #b5f0fc;
  min-width: 70px;
  max-width: 120px;
  white-space: nowrap;
  border-radius: 24px;
  padding: 7px 0;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all .2s;
}

.premium-card .duration-btn:hover,
.product-card .duration-btn:hover {
  background: #00eaff;
  color: #1d2d34;
  border-color: #00eaff;
}

.premium-card .duration-btn.active,
.product-card .duration-btn.active {
  background: #00eaff;
  color: #1d2d34;
  border-color: #00eaff;
}

.duration-btn.promo-active {
  border: 2.2px solid #FFC107 !important;
  background: rgba(255, 193, 7, 0.12);
  color: #FFC107;
}

.duration-btn.promo-active.active,
.duration-btn.promo-active:hover {
  background: #FFC107 !important;
  color: #000 !important;
  border-color: #FFC107 !important;
}

/* תצוגת מחירים */
.price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-direction: column; /* Arrange rows vertically */
  align-items: center;
  gap: 0.25rem; /* Reduced gap between rows */
}
.price-item {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.price-label {
  font-size: 0.9rem;
  color: #bdeaff;
}
.price-value {
  font-weight: bold;
}
.price-item.promo .price-value {
  color: #ffd600;
  font-size: 1.6rem;
}
.price-item.regular .price-value {
  color: #38e8ff;
  font-size: 1.3rem;
  text-decoration: line-through;
}
.price-item.new .price-value {
  color: #38e8ff; /* Changed from #fff to blue */
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none; /* No line-through */
}
.price-item.old .price-value {
  color: #bdeaff;
  font-size: 1.1rem;
  text-decoration: line-through;
}

/* ===== Active limited-time offer styles ===== */
/* Bigger, highlighted limited-time price on product details */
.limited-time-active .limited-row .limited-price,
.product-price.centered-price .limited-row .limited-price {
  font-size: 1.8em !important;
  font-weight: 800 !important;
  color: #ffd600 !important;
}

/* Force strikethrough on regular and store prices when limited-time is active */
.limited-time-active .old-prices-row .regular-price-crossed,
.limited-time-active .old-prices-row .store-price-crossed,
.product-price.centered-price .old-prices-row .regular-price-crossed,
.product-price.centered-price .old-prices-row .store-price-crossed {
  text-decoration: line-through !important;
}

/* Utility classes for crossing specific price elements */
.regular-price-crossed { text-decoration: line-through !important; color: #15d0ff; font-weight: 700; }
.store-price-crossed { text-decoration: line-through !important; color: #bdeaff; }

.promo-price {
  color: #FFC107 !important;
  font-size: 2rem;
  font-weight: bold;
}

.premium-card .features,
.product-card .features {
  list-style: none;
  padding: 18px 20px;
  margin: 0;
  flex: 1;
}

.premium-card .features li,
.product-card .features li {
  display: flex;
  align-items: center;
  margin-bottom: 9px;
  font-size: 0.9rem;
  color: #ffffff;
  text-shadow: 0 1px 2px #222b3342;
}

.premium-card .features li img,
.product-card .features li img {
  width: 22px;
  height: 22px;
  margin-left: 9px;
}

.premium-card .order-btn,
.product-card .order-btn {
  background: linear-gradient(90deg, #0ff2f2 0%, #0085c3 100%);
  color: #162531;
  border: none;
  padding: 14px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 24px;
  width: 100%;
  transition: background 0.23s, color 0.23s;
}

.premium-card .order-btn:hover:not(.disabled-btn),
.product-card .order-btn:hover:not(.disabled-btn) {
  background: linear-gradient(90deg, #00eaff 0%, #45e0f9 100%);
  color: #051322;
  box-shadow: 0 2px 14px #00eaff33;
}

/* Badge אלכסוני למוצרים לא זמינים */
.premium-card.unavailable::before {
  content: "לא זמין לרכישה";
  position: absolute;
  top: 135px;
  left: -50px;
  background: linear-gradient(135deg, rgba(109, 2, 2, 0.9) 0%, rgba(32, 28, 25, 0.8) 100%);
  color: #ffffff;
  padding: 1px 80px;
  font-size: 0.85rem;
  font-weight: normal;
  transform: rotate(-45deg);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(32, 50, 70, 0.3);
  border-radius: 24px;
  white-space: nowrap;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(80, 200, 255, 0.2);
  transform-origin: top left;
}

/* Badge אלכסוני למוצרים שעולים בקרוב */
.premium-card.coming-soon::before {
  content: "בקרוב באתר";
  position: absolute;
  top: 135px;
  left: -50px;
  background: linear-gradient(135deg, #ff69b4 0%, #181b1f 100%);
  color: #fff;
  padding: 1px 100px;
  font-size: 0.85rem;
  font-weight: normal;
  transform: rotate(-45deg);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(32, 50, 70, 0.3);
  border-radius: 24px;
  white-space: nowrap;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid #ff69b4;
  transform-origin: top left;
}

/* הוספת overlay עדין למוצרים לא זמינים */
.premium-card.unavailable::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 5;
  pointer-events: none;
  border-radius: 24px;
}

/* הוספת overlay עדין למוצרים שעולים בקרוב */
.premium-card.coming-soon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 5;
  pointer-events: none;
  border-radius: 24px;
}

/* התאמה למובייל */
@media (max-width: 767px) {
  .premium-card.unavailable::before {
    top: 95px;
    left: -30px;
    padding: 1px 50px;
    font-size: 0.75rem;
  }
  
  .premium-card.coming-soon::before {
    top: 95px;
    left: -30px;
    padding: 1px 60px;
    font-size: 0.75rem;
  }
}

/* תגיות */
.tags-container {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
  z-index: 3;
  text-align: center;
  margin-bottom: 7px;
}

.tags-container .badge {
  position: static;
}

.badge.timer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  direction: rtl;
  background: #FFC107;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 24px;
  font-weight: bold;
  font-size: 0.8em;
  gap: 8px;
  padding: 8px 16px;
  box-shadow: 0 2px 8px #0003;
  min-width: 220px;
  flex-wrap: nowrap;
}

.timer-badge .timer-text {
  /* margin-left: 18px; */
  font-weight: bold;
  white-space: nowrap;
}

.timer-badge .timer-wrapper {
  display: flex;
  align-items: center;
  gap: 1px; /* צמצום נוסף של המרווח בין הפריטים */
  font-variant-numeric: tabular-nums;
  font-size: 1em;
  flex-direction: row;
  flex-wrap: nowrap;
}

.timer-badge .unit {
  min-width: 2.5ch;
  text-align: center;
  font-size: 1.2em;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: #45e0f9; /* כחול בהיר למספרים */
  background: linear-gradient(135deg, rgb(6, 44, 83) 0%, rgba(26, 31, 24, 0.7) 100%); /* כחול כהה זכוכית */
  padding: 4px 6px; /* צמצום נוסף של הריפוד */
  border-radius: 24px;
  border: 2px solid rgba(69, 224, 249, 0.4); /* בורדר כחול בהיר */
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 8px rgba(69, 224, 249, 0.6); /* צל כחול בהיר */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.timer-badge .sep {
  margin: 0; /* צמצום נוסף של המרווח */
  color: #000000; /* צבע שחור למפרידים */
  font-size: 1.4em;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* צל שחור */
  animation: pulse 2s ease-in-out infinite;
  position: relative;
  flex-shrink: 0;
}

.timer-badge .sep::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: rgba(255, 215, 0, 0.3);
  border-radius: 24px;
  animation: glow 2s ease-in-out infinite alternate;
}

.timer-badge .unit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
  transition: left 0.5s ease;
}

.timer-badge .unit:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(255, 215, 0, 0.8);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 20px rgba(255, 215, 0, 0.3);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.timer-badge .unit:hover::before {
  left: 100%;
}

.timer-badge .unit::after {
  content: attr(data-label);
  display: block;
  font-size: 0.65em;
  color: rgba(255, 215, 0, 0.9);
  font-weight: 600;
  text-align: center;
  margin-top: 2px;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
  letter-spacing: 0.5px;
  opacity: 0.9;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.timer-badge .unit:hover::after {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  transform: scale(1.05);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
  }
  100% {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  }
}


/* אנימציית הבהוב לכרטיס */
@keyframes blink-yellow {

  0%,
  100% {
    border-color: yellow;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
  }

  50% {
    border-color: transparent;
    box-shadow: 0 0 5px rgba(255, 255, 0, 0.2);
  }
}

.premium-card.highlight {
  border: 2px solid yellow;
  animation: blink-yellow 1.5s infinite;
  box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* Responsive images */
.premium-card .product-img,
.premium-card .header img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

@media (max-width: 767px) {

  .premium-card .product-img,
  .premium-card .header img {
    aspect-ratio: 4/3;
    max-height: 160px;
  }
}

/* =============== Modal Glass =============== */
#modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 19, 26, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#modal-overlay.active {
  display: flex;
}

#modal-box {
  position: relative;
  background: linear-gradient(120deg, rgba(32, 50, 70, 0.74) 70%, rgba(25, 28, 32, 0.46) 100%);
  backdrop-filter: blur(17px) saturate(125%);
  -webkit-backdrop-filter: blur(17px) saturate(125%);
  border-radius: 24px;
  border: 1.2px solid rgba(80, 200, 255, 0.23);
  box-shadow: 0 2px 18px #1f2e4e88;
  padding: 24px;
  color: #eaf8ff;
  width: 92vw;
  max-width: 550px;
}

.modal-close {
  position: absolute;
  top: 10px;
  left: 10px;
  background: transparent;
  border: none;
  color: #aaf4ff;
  font-size: 2rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #00eaff;
}

#modal-box h2 {
  text-align: center;
  margin: 0 0 5px;
  font-size: 1.36rem;
  color: #45e0f9;
}

#modal-product-info {
  text-align: center;
  margin-bottom: 8px;
  font-weight: bold;
  color: #eaf8ff;
  line-height: 1.3;
}

#modal-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.modal-field {
  display: flex;
  flex-direction: column;
}

.modal-field label,
.modal-field p {
  color: #bdeaff;
  margin-bottom: 2px;
  font-size: 0.94rem;
}

.modal-field input,
.modal-field select,
.modal-field textarea {
  width: 100%;
  padding: 7px;
  border: 1.2px solid #45e0f999;
  border-radius: 24px;
  background: #181c21;
  color: #ffffff;
  font-size: 0.98rem;
}

#modal-actions {
  margin-top: 18px;
}

.order-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(90deg, #0ff2f2 0%, #0085c3 100%);
  color: #1c2d41;
  font-size: 1.07rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.22s, color 0.22s;
}

.order-btn:hover:not(.disabled-btn) {
  background: linear-gradient(90deg, #00eaff 0%, #45e0f9 100%);
  color: #051322;
  box-shadow: 0 2px 14px #00eaff33;
}

.order-btn.disabled-btn {
  background: linear-gradient(90deg, #666 0%, #888 100%);
  color: #fff;
  cursor: not-allowed;
  opacity: 0.7;
}

.order-btn.disabled-btn:hover {
  background: linear-gradient(90deg, #666 0%, #888 100%);
  color: #fff;
  cursor: not-allowed;
}

/* עיצוב ספציפי לכפתור "אין במלאי" */
.order-btn[aria-label*="אין במלאי"] {
  background: linear-gradient(90deg, #808080 0%, #666666 100%);
  color: #fff;
  cursor: not-allowed;
  opacity: 0.8;
}

.order-btn[aria-label*="אין במלאי"]:hover {
  background: linear-gradient(90deg, #808080 0%, #666666 100%);
  color: #fff;
  cursor: not-allowed;
  opacity: 0.8;
}

@media (max-width: 767px) {
  #modal-fields {
    display: block !important;
  }

  #modal-fields .modal-field {
    width: 100% !important;
    grid-column: unset !important;
  }

  .modal-field.dynamic-account-field {
    display: block !important;
    width: 100% !important;
  }
}

/* =============== Navigation Glass =============== */
#product-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0 16px 0;
  border-bottom: 1.5px solid #2ee7ff42;
  margin-bottom: 18px;
  overflow-x: unset;
  max-width: 100%;
  min-height: 56px;
}

#product-nav::-webkit-scrollbar {
  display: none;
}

#product-nav a {
  position: relative;
  padding: 0.4em 0.90em 0.4em 0.90em;
  border: none;
  background: none;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 24px;
  transition: background 0.18s, color 0.18s;
  outline: none;
  white-space: nowrap;
  z-index: 2;
  flex: 1 1 calc(100% / 7 - 0.6rem);
  /* max-width: calc(100% / 7 - 0.6rem); */
  text-align: center;
  box-sizing: border-box;
}

#product-nav a.active,
#product-nav a:hover {
  background: linear-gradient(90deg, #1fa6e6 0%, #00eaff 100%);
  color: #101a24;
  font-weight: 700;
  box-shadow: 0 2px 12px #00eaff33;
}

#product-nav a.active::after,
#product-nav a:hover::after {
  content: "";
  display: block;
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: -7px;
  height: 3px;
  border-radius: 24px;
  background: linear-gradient(90deg, #00eaff 0%, #45e0f9 100%);
  opacity: 0.77;
  z-index: 4;
}

/* ====== כאן עוברת ההתאמה למובייל ====== */
/* במובייל – שמור על grid כמו שהיה */
@media (max-width: 900px) {
  #product-nav {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.18rem;
    padding: 0 2px 10px 2px;
    width: 100%;
    justify-items: stretch;
    align-items: stretch;
    font-size: 0.96rem;
    overflow-x: unset;
  }

  #product-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.90rem;
    padding: 0.6em 0.7em 0.5em 0.7em;
    border-radius: 24px;
    margin: 0;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    border: none;
    background: none;
    color: #eaf8ff;
    font-weight: 500;
    transition: background 0.18s, color 0.18s;
    outline: none;
    z-index: 2;
    flex: unset !important;
    max-width: unset !important;
  }
}

@media (max-width: 600px) {
  #product-nav {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 0 1.5px 5px 1.5px;
    border-bottom-width: 1px;
    font-size: 0.90rem;
  }

  #product-nav a {
    font-size: 0.8rem;
    padding: 0.5em 0.62em 0.41em 0.62em;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* =============== Footer Glass =============== */
.site-footer {
  background: linear-gradient(120deg, rgba(32, 50, 70, 0.55) 70%, rgba(25, 28, 32, 0.32) 100%);
  backdrop-filter: blur(13px) saturate(155%);
  -webkit-backdrop-filter: blur(13px) saturate(155%);
  border-radius: 24px;
  border-top: 1.5px solid rgba(80, 200, 255, 0.15);
  box-shadow: 0 -4px 16px 0 #1f1e2e44;
  padding: 28px 12px 12px 12px;
  color: #ffffff;
  direction: rtl;
  position: relative;
  margin-top: 60px;
  overflow: hidden;
  word-break: break-word;
}

@media (max-width: 600px) {
  .site-footer {
    padding: 16px 4vw 18px 4vw; /* יותר padding תחתון */
    border-radius: 24px;
    overflow: visible !important; /* לא לחתוך */
    word-break: break-word;
  }
  .footer-accessibility-mobile-wrap {
    display: block;
    margin-top: 2px;
  }
}
@media (min-width: 601px) {
  .footer-accessibility-mobile-wrap {
    display: inline;
  }
}

.footer-inner {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 24px;
  background: rgba(36, 212, 255, 0.08);
  box-shadow: 0 3px 14px #15e6e955, 0 1px 5px #0004;
  margin-bottom: 7px;
}

.footer-title {
  color: #18ecf3;
  font-size: 1.17rem;
  font-weight: bold;
  text-shadow: 0 1px 8px #00eaff80;
}

.footer-desc {
  color: #ffffff;
  font-size: 1rem;
  margin: 8px 0 0 0;
  line-height: 1.6;
  text-shadow: 0 1.5px 3.5px #05132238;
}

.footer-hr {
  height: 3px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(90deg, #00eaff 0%, #45e0f9 100%);
  opacity: 0.45;
  margin: 22px auto 8px auto;
  width: 82%;
}

.footer-bottom {
  color: #ffffff;
  font-size: 0.96rem;
  text-align: center;
  margin-bottom: 0;
}

/* סטיילינג לאזור דרכי תשלום בפוטר */
.footer-payment-section {
  margin-top: 18px;
}

.footer-payment-title {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 1.5px 3.5px #05132238;
}

.footer-logos {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.payment-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.payment-method:hover {
  transform: translateY(-2px);
}

.payment-method img {
  width: 44px;
  height: 44px;
  border-radius: 24px;
  transition: box-shadow 0.2s ease;
}

.payment-method:hover img {
  box-shadow: 0 4px 12px rgba(69, 224, 249, 0.3);
}

.payment-method span {
  font-size: 0.85em;
  color: #cccccc;
  text-align: center;
  transition: color 0.2s ease;
}

.payment-method:hover span {
  color: #45e0f9;
}

/* רספונסיביות לדרכי תשלום */
@media (max-width: 600px) {
  .footer-payment-title {
    font-size: 1em;
    margin-bottom: 10px;
  }
  
  .payment-method img {
    width: 38px;
    height: 38px;
  }
  
  .payment-method span {
    font-size: 0.8em;
  }
  
  .footer-logos {
    gap: 8px;
  }
}

/* סטיילינג לאמצעי תשלום בטופס */
.payment-methods-display {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px;
  background: rgba(69, 224, 249, 0.05);
  border-radius: 24px;
  border: 1px solid rgba(69, 224, 249, 0.1);
}

.payment-method-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.payment-method-item:hover {
  transform: translateY(-2px);
}

.payment-method-item img {
  width: 36px;
  height: 36px;
  border-radius: 24px;
  border: 1px solid rgba(69, 224, 249, 0.3);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.payment-method-item:hover img {
  box-shadow: 0 4px 12px rgba(69, 224, 249, 0.3);
  border-color: rgba(69, 224, 249, 0.6);
}

.payment-method-item span {
  font-size: 0.8em;
  color: #cccccc;
  text-align: center;
  transition: color 0.2s ease;
}

.payment-method-item:hover span {
  color: #45e0f9;
}

/* רספונסיביות לאמצעי תשלום בטופס */
@media (max-width: 600px) {
  .payment-methods-display {
    gap: 12px;
    padding: 6px;
  }
  
  .payment-method-item img {
    width: 32px;
    height: 32px;
  }
  
  .payment-method-item span {
    font-size: 0.75em;
  }
}

/* רספונסיביות */
@media (max-width: 600px) {
  .site-footer {
    padding: 16px 4vw 7px 4vw;
    border-radius: 24px;
  }

  .footer-logo {
    width: 38px;
    height: 38px;
  }

  .footer-title {
    font-size: 1.06rem;
  }

  .footer-desc {
    font-size: 0.93rem;
  }

  .footer-hr {
    margin: 14px auto 4px auto;
  }
}

html {
  scroll-behavior: smooth;
}

/* עיצוב כפתור התקן אפליקציה ב-sidebar */
.sidebar-install-section {
  padding: 16px;
  border-top: 1px solid rgba(80, 200, 255, 0.1);
}

.sidebar-install-btn {
  width: 100%;
  background: linear-gradient(120deg, rgba(36, 56, 90, 0.45) 80%, rgba(23, 25, 34, 0.35) 100%);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border: 1.5px solid rgba(80, 200, 255, 0.17);
  border-radius: 24px;
  color: #45e0f9;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  box-shadow: 0 2px 24px 0 #163c5255;
  text-align: center;
  font-family: 'Heebo', sans-serif;
  letter-spacing: 0.01em;
}

.sidebar-install-btn:hover {
  background: linear-gradient(120deg, rgba(45, 65, 100, 0.55) 80%, rgba(33, 35, 44, 0.45) 100%);
  border-color: rgba(80, 200, 255, 0.3);
  color: #2ee7ff;
  box-shadow: 0 4px 28px 0 #163c5275;
  transform: translateY(-1px);
}

.sidebar-install-btn:active {
  transform: translateY(0);
}

/* עיצוב badge להזמנות בהמתנה */
.orders-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
  color: white;
  border-radius: 24px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
  animation: pulse-badge 2s infinite;
  z-index: 10;
  min-width: 20px;
  min-height: 20px;
}

@keyframes pulse-badge {
  0% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
  }
}

/* מיקום יחסי לפריט התפריט */
.user-menu-item {
  position: relative;
}

/* מיקום יחסי לפריטים ב-dropdown */
.dropdown-item {
  position: relative;
}

/* עיצוב ייחודי לטקסט סטטי במודאל */
.modal-static-text {
  color: #1a1a1a; /* טקסט שחור קריא על רקע בהיר */
  font-size: 1.06rem; /* טיפה גדול יותר מהשדות */
  font-weight: 600; /* משקל גבוה יותר לקריאות */
  font-family: 'Heebo', sans-serif; /* עקבי לפונט האתר */
  background: linear-gradient(120deg, rgba(245, 248, 250, 0.95) 70%, rgba(235, 240, 245, 0.9) 100%);
  border: 1.2px solid rgba(80, 200, 255, 0.4);
  border-radius: 24px;
  padding: 12px 16px 10px 16px;
  margin-bottom: 10px;
  margin-top: 4px;
  box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.1);
  text-align: right; /* כמו שפת האתר */
  line-height: 1.85;
  letter-spacing: 0.01em;
  direction: rtl;
}

/* קישורים וטקסט מודגש בתוך הטקסט הסטטי במודאל – שמירה על קריאות */
.modal-static-text a { color: #0066cc; text-decoration: underline; }
.modal-static-text strong, .modal-static-text b { color: #000000; }

/* עיצוב ספציפי ל-alert במודאל ההתחברות - הבטחת קריאות */
#auth-modal-box .alert {
  color: #1a1a1a !important; /* טקסט שחור קריא */
  background: linear-gradient(120deg, rgba(245, 248, 250, 0.95) 70%, rgba(235, 240, 245, 0.9) 100%) !important;
  border: 1.2px solid rgba(80, 200, 255, 0.4) !important;
  border-radius: 24px !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}

#auth-modal-box .alert-info {
  color: #1a1a1a !important; /* טקסט שחור קריא */
  background: linear-gradient(120deg, rgba(245, 248, 250, 0.95) 70%, rgba(235, 240, 245, 0.9) 100%) !important;
  border: 1.2px solid rgba(80, 200, 255, 0.4) !important;
}

#auth-modal-box .alert a {
  color: #0066cc !important;
  text-decoration: underline;
}

#auth-modal-box .alert strong,
#auth-modal-box .alert b {
  color: #000000 !important;
}

#auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 19, 26, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

#auth-modal-overlay.active {
  display: flex;
}

#auth-modal-box {
  position: relative;
  background: linear-gradient(120deg, rgba(32, 50, 70, 0.74) 70%, rgba(25, 28, 32, 0.46) 100%);
  backdrop-filter: blur(17px) saturate(125%);
  -webkit-backdrop-filter: blur(17px) saturate(125%);
  border-radius: 24px;
  border: 1.2px solid rgba(80, 200, 255, 0.23);
  box-shadow: 0 2px 18px #1f2e4e88;
  padding: 20px 20px 15px 20px;
  color: #eaf8ff;
  width: 92vw;
  max-width: 450px;
}

#auth-modal-title {
  text-align: center;
  margin: 0 0 10px;
  font-size: 1.18rem;
  color: #45e0f9;
  font-weight: 700;
  letter-spacing: 0.01em;
}

#auth-modal-box .order-btn {
  margin-top: 18px;
}

.auth-modal-form .modal-field {
  margin-bottom: 10px;
}

.auth-modal-form .modal-input {
  width: 100%;
  padding: 8px;
  border: 1.2px solid #45e0f999;
  border-radius: 24px;
  background: #181c21;
  color: #ffffff;
  font-size: 1.04rem;
  outline: none;
  font-family: inherit;
  box-shadow: 0 1px 4px #1a3e4a28;
  transition: border 0.18s, box-shadow 0.18s;
}

.auth-modal-form .modal-input:focus {
  border-color: #45e0f9;
  box-shadow: 0 1px 7px #27d2f755;
}

#auth-modal-box .text-center {
  margin-top: 8px;
}

#auth-modal-box .modal-close {
  position: absolute;
  top: 10px;
  left: 10px;
  background: transparent;
  border: none;
  color: #aaf4ff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

#auth-modal-box .modal-close:hover {
  color: #00eaff;
}

/* === פופאפ "ביקור ראשון" (רק בעמוד הבית) === */
#home-first-visit-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 19, 26, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10050; /* מעל רוב האלמנטים (מתחת ל-maintenance iframe) */
  padding: 20px;
}

#home-first-visit-overlay.active {
  display: flex;
}

#home-first-visit-box {
  position: relative;
  background: linear-gradient(120deg, rgba(32, 50, 70, 0.78) 70%, rgba(25, 28, 32, 0.50) 100%);
  backdrop-filter: blur(17px) saturate(125%);
  -webkit-backdrop-filter: blur(17px) saturate(125%);
  border-radius: 24px;
  border: 1.2px solid rgba(80, 200, 255, 0.23);
  box-shadow: 0 2px 18px #1f2e4e88;
  padding: 22px 22px 18px 22px;
  color: #eaf8ff;
  width: 92vw;
  max-width: 650px;
  max-height: 85vh;
  overflow: auto;
}

#home-first-visit-title {
  text-align: center;
  margin: 0 0 12px;
  font-size: 1.24rem;
  color: #45e0f9;
  font-weight: 800;
  letter-spacing: 0.01em;
}

#home-first-visit-box .modal-close {
  position: absolute;
  top: 10px;
  left: 10px;
  background: transparent;
  border: none;
  color: #aaf4ff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

#home-first-visit-box .modal-close:hover {
  color: #00eaff;
}

#home-first-visit-box .modal-static-text {
  margin: 0;
}

/* בפופאפ "עדכון חשוב למנויים" – טקסט מודגש בלבן */
#home-first-visit-box .modal-static-text strong,
#home-first-visit-box .modal-static-text b {
  color: #ffffff;
}

@media (max-width: 600px) {
  #auth-modal-box {
    padding: 14px 7vw 8px 7vw;
    min-width: unset;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    margin: 20px auto;
  }
  
  #auth-modal-overlay {
    padding: 20px;
    align-items: flex-start;
    justify-content: center;
  }
}

#user-greeting {
  cursor: pointer;
  text-decoration: underline;
}

/* הסטורית הזמנות */

/* @media (min-width: 1400px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 80%;
  }
} */
.table-cheapsubs {
  background: #232428;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  margin-bottom: 0;
}

.table-cheapsubs th,
.table-cheapsubs td {
  vertical-align: middle !important;
  border-left: 1px solid #383a3f;
  background: transparent !important;
  color: #ffffff;
}

.table-cheapsubs th:last-child,
.table-cheapsubs td:last-child {
  border-left: none;
}

.table-cheapsubs th {
  background: #232428;
  font-weight: bold;
  font-size: 1.0em;
  border-bottom: 2px solid #28292d;
}

.table-cheapsubs tbody tr {
  background: rgba(44, 45, 49, 0.98);
  border-radius: 24px;
  min-height: 52px;

}

.status-badge {
  display: inline-block;
  min-width: 140px;
  /* רוחב מינימלי */
  width: 140;
  /* קובע רוחב קבוע */
  max-width: 140;
  /* לא יחרוג מזה */
  text-align: center;
  font-weight: bold;
  font-size: 1.00em;
  border-radius: 24px;
  padding: 6px 18px;
  margin: 0 auto;
  transition: background .2s;
}

@media (max-width: 650px) {
  .status-badge {
    min-width: 170px;
    width: 170px;
    max-width: 170px;
    font-size: 1em;
    padding: 8px 0;
  }
}
.status-badge.sent {
  background: #12d3fa;
  color: #222;
}

.status-badge.inprog {
  background: #1883e6;
  color: #fff;
}

.status-badge.done {
  background: #19c974;
  color: #fff;
}

.status-badge.canceled {
  background: #ff3d3d;
  color: #fff;
}
.cheapsubs-dropdown .dropdown-menu {
  text-align: right;
  direction: rtl;
  min-width: 170px;
  background: #23252b;
  border-radius: 24px;
  border: none;
  box-shadow: 0 4px 28px 0 rgba(70, 224, 249, 0.10);
  padding: 10px 0;
  z-index: 31000;
}

.cheapsubs-dropdown .dropdown-menu .dropdown-item {
  color: #e7e7e7;
  font-size: 1.05em;
  padding: 10px 18px 10px 10px;
  font-weight: 500;
  border-radius: 24px;
  transition: background 0.17s, color 0.17s;
}

.cheapsubs-dropdown .dropdown-menu .dropdown-item:hover,
.cheapsubs-dropdown .dropdown-menu .dropdown-item:focus {
  background: linear-gradient(90deg, #00e3ff 0, #05b5ff 100%);
  color: #1a2839;
}

.cheapsubs-dropdown .dropdown-divider {
  border-top: 1px solid #444a52;
  margin: 7px 0;
}
.admin-user-card {
  background: rgba(24, 28, 34, 0.94);
  border-radius: 24px;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.13);
  margin-bottom: 1.2rem;
  border: 1.5px solid #00bcd4;
}

@media (min-width:651px) {
  .admin-user-card {
    display: none !important;
  }
}

@media (max-width:650px) {
  .admin-users-table {
    display: none !important;
  }

  .admin-user-card {
    display: block !important;
  }
}
.order-status-wrapper .fw-bold {
  font-size: 1em;
}

.order-status-wrapper .status-select-wrapper {
  min-width: 90px;
  max-width: 140px;
}
/* עיצוב שדה-שדה (רק במובייל) */
.grid-2-cols {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #273542;
  padding: 6px 0;
}

.order-row:last-child {
  border-bottom: none;
}

.row-label {
  font-weight: bold;
  color: #fff;
  font-size: 1em;
  padding-left: 8px;
  white-space: nowrap;
}

.row-value {
  color: #bdeaff;
  font-size: 1.09em;
  direction: rtl;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.username {
  font-weight: bold;
  color: #43d2fd;
  overflow-wrap: anywhere;
}

.usermail {
  color: #bdeaff;
  direction: ltr;
  font-size: 0.97em;
  overflow-wrap: anywhere;
}

.order-card {
  border-bottom: 2px solid #31353b;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-radius: 24px;
  background: #181b1f;
}
.btn-fixed-width {
  min-width: 120px;
  width: 120px;
  text-align: center;
  justify-content: center;
}

@media (max-width: 650px) {
  .btn-fixed-width {
    min-width: 90px;
    width: 90px;
    font-size: 1em;
    padding: 8px 0;
  }
}
/* --- עיצוב ניווט למנהל --- */
.admin-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0.8rem;
  background: none;
  border-bottom: 2px solid #22d9fb28;
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.admin-nav a {
  color: #eaf8ff;
  font-weight: bold;
  font-size: 1.0em;
  padding: 0.36em 1.3em;
  border-radius: 24px;
  background: none;
  transition: background 0.15s, color 0.15s;
  text-align: center;
}

.admin-nav a.active,
.admin-nav a:hover {
  background: linear-gradient(90deg, #00eaff 0%, #45e0f9 100%);
  color: #101a24;
  font-weight: 800;
}

/* --- התאמה למובייל --- */
@media (max-width: 650px) {
  .admin-nav {
    gap: 0.05rem;
    padding-bottom: 0;
    font-size: 1em;
    overflow-x: auto;
    border-radius: 24px;
    margin-bottom: 8px;
  }

  .admin-nav a {
    min-width: 68px;
    font-size: 0.8em;
    padding: 0.2em 0.5em 0.22em 0.5em;
    border-radius: 24px;
    margin: 0 1px;
    white-space: nowrap;
    font-weight: 700;
    /* line-height: 1.4; */
  }

  .admin-nav a.active,
  .admin-nav a:hover {
    background: linear-gradient(90deg, #00eaff 0%, #45e0f9 100%);
    color: #101a24;
    font-weight: 800;
    box-shadow: 0 2px 14px #00eaff33;
  }
}
.centered-row-value {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
@media (max-width: 650px) {

  .site-header .header-row,
  .header-row {
    /* flex-direction: row-reverse; */
    justify-content: flex-start;
    align-items: center;
    padding: 8px 2vw;
    gap: 0;
    min-height: unset;
  }

  .logo-title {
    /* flex-direction: row-reverse; */
    justify-content: flex-start;
    align-items: center;
    gap: 7px;
    margin: 0;
  }

  .logo-title h1 {
    font-size: 1.07rem;
    margin-left: 7px;
    margin-right: 0;
  }

  .site-logo {
    width: 32px;
    height: 32px;
  }

  .user-auth-wrapper {
    justify-content: flex-end;
    align-items: center;
    min-width: 90px;
  }
}

.swal2-popup.cheapsubs-glass {
  background: rgba(30, 46, 68, 0.60) !important;
  /* כהה חצי שקוף */
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.20);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-radius: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.swal2-title.cheapsubs-glass {
  color: #ffd600;
  font-weight: 700;
  font-size: 1.55em;
  text-shadow: 0 1px 8px #213c5a44;
  direction: rtl;
  text-align: right;
  margin-bottom: 8px !important;
}

.swal2-html-container.cheapsubs-glass,
.swal2-content.cheapsubs-glass {
  color: #e4f1fb;
  font-size: 1.15em;
  direction: rtl;
  text-align: right;
}

.swal2-confirm.cheapsubs-glass {
  background: linear-gradient(90deg, #13a6ea 40%, #ffd600 100%);
  color: #1e2e44 !important;
  font-weight: 700;
  border-radius: 24px !important;
  box-shadow: 0 2px 12px #0001;
  border: none;
  font-size: 1.1em;
  padding: 8px 36px;
  transition: 0.2s;
}

.swal2-confirm.cheapsubs-glass:hover {
  filter: brightness(1.06) saturate(1.1);
  box-shadow: 0 4px 24px #ffd60044;
}

/* Order success popup - more modern/pleasant, close button only */
.swal2-popup.cheapsubs-order-success {
  border-radius: 24px !important;
  border: 1px solid rgba(69, 224, 249, 0.25) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35) !important;
  padding: 18px 18px 14px 18px !important;
}

.swal2-popup.cheapsubs-order-success .swal2-title {
  font-size: 1.35em !important;
  margin-bottom: 6px !important;
}

.swal2-popup.cheapsubs-order-success .order-success-content {
  text-align: right;
  direction: rtl;
  display: grid;
  gap: 8px;
}

.swal2-popup.cheapsubs-order-success .order-success-lead {
  font-size: 1.05em;
  font-weight: 700;
  color: #eaf8ff;
}

.swal2-popup.cheapsubs-order-success .order-success-sub {
  font-size: 0.95em;
  color: rgba(228, 241, 251, 0.9);
}

.swal2-popup.cheapsubs-order-success .swal2-confirm.cheapsubs-glass {
  width: 100%;
  max-width: 260px;
  margin: 8px auto 0 auto !important;
  border-radius: 24px !important;
  padding: 10px 18px !important;
}

/* בסיס – דסקטופ: כפתורים אחד מעל השני */
/* ברירת מחדל: דסקטופ – אחד מעל השני */
.order-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: stretch;
}

/* מובייל – בשורה אחת */
@media (max-width: 650px) {
  .order-actions {
    display: flex;
    flex-direction: column;
    /* במקום row */
    align-items: stretch;
    /* שהכפתור יתפוס את כל הרוחב */
    gap: 8px;
    /* ריווח נעים בין הכפתורים */
    width: 100%;
    max-width: 170px;
    /* אותו רוחב כמו השורה העליונה */
    margin: 0 auto;
    /* מרכז את הקבוצה */
  }

  .order-actions .cheapsubs-btn {
    width: 100%;
    min-width: 0;
    font-size: 1em;
    border-radius: 24px;
    margin: 0;
  }
}
.cheapsubs-btn,
.cheapsubs-btn.cheapsubs-btn-outline {
  background: #232e44;
  color: #38e8ff;
  border: 0.8px solid #444;
  border-radius: 24px;
  padding: 3px 3px;
  font-weight: 100;
  font-size: 1em;
  cursor: pointer;
  margin: 0;
  transition: background 0.14s, color 0.14s;
  display: inline-block;
  box-shadow: none;
  letter-spacing: 0;
  text-align: center;
}

.cheapsubs-btn.cheapsubs-btn-outline {
  background: transparent;
}

.cheapsubs-btn:active,
.cheapsubs-btn:hover,
.cheapsubs-btn:focus {
  background: #38e8ff;
  color: #1a2233;
}

.cheapsubs-btn.disabled,
.cheapsubs-btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}
.cheapsubs-btn-delete-outline {
  min-width: 170px;
  width: 170px;
  max-width: 170px;
  padding: 4px 0;
  margin-top: 10px;
  border-radius: 24px;
  border: 1.5px solid #b82a2a;
  /* בורדר אדום */
  font-weight: bold;
  text-align: center;
  font-size: 1em;
  background: #ff00000c;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  display: block;
}

.cheapsubs-btn-delete-outline:hover,
.cheapsubs-btn-delete-outline:focus {
  background: #ffeaea;
  color: #a51414;
  border-color: #a51414;
}
.cheapsubs-btn-full {
  min-width: 170px;
  width: 170px;
  max-width: 170px;
  padding: 4px 0;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 24px;
  /* border: none; */
  /* font-weight: bold; */
  text-align: center;
  font-size: 1em;
  /* background: #18c3f8; */
  border: 1.0px solid #444;
  color: #fff;
  cursor: pointer;
  transition: background 0.16s;
  display: block;
  text-decoration: none;
}

.cheapsubs-btn-full:hover,
.cheapsubs-btn-full:focus {
  background: #11b0e0;
  color: #fff;
  text-decoration: none;
}

/* עיצוב מובייל לכפתורי פעולה */
@media (max-width: 650px) {
  .cheapsubs-btn-full {
    background: #1a2a3a !important;
    border: 1px solid #333 !important;
    color: #fff !important;
  }
  
  .cheapsubs-btn-full:hover,
  .cheapsubs-btn-full:focus {
    background: #2d3748 !important;
    color: #fff !important;
  }
}
/* .order-row .row-value,
.order-row .row-value>div {
  width: 100%;
} */

#search-users {
  direction: rtl;
  text-align: right;
  font-size: 1em;
  background: #191b1e !important;
  color: #ffffff !important;
  border: 1px solid #333 !important;
  border-radius: 24px;
  width: 100%;
  max-width: 400px;
  margin-bottom: 24px;
  margin-right: 0;
  margin-left: 0;
  box-shadow: none;
  padding: 8px 24px;
  transition: box-shadow .2s;
}

#search-users:focus {
  outline: none;
  border-color: #38e8ff;
  box-shadow: 0 0 0 2px #38e8ff44;
}

#search-users::placeholder {
  color: #eee !important;
  opacity: 0.8;
  text-align: right;
}
#search-orders::placeholder {
  color: #8a8a8a !important;
  opacity: 1 !important;
}
/* ------------ */
.orders-search-row-desktop {

  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.orders-search-row-desktop input {
  background-color: #232e44;
  color: #ffffff;
  max-width: 250px;
  min-width: 180px;
}

.status-select-desktop {
  background-color: #232e44;
  color: #ffffff;
  min-width: 120px;
  max-width: 180px;
}

.cheapsubs-btn {
  padding: 6px 20px;
  border-radius: 24px;
  border: none;
  font-size: 1em;
  cursor: pointer;
  font-weight: bold;
}

.cheapsubs-btn-green {
  background: #13cb71;
  color: #fff;
}

.cheapsubs-btn-gray {
  background: #888;
  color: #fff;
}

.orders-search-mobile-row {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 8px;
}
.search-orders-input::placeholder {
  color: #A0A3A7 !important;
}
.orders-search-mobile-row input,
.orders-search-mobile-row select {
  background-color: #232e44;
  color: #ffffff;
  width: 50%;
  min-width: 0;
  max-width: 100%;
  font-size: 1em;
}

.orders-search-mobile-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 10px;
}

@media (max-width: 650px) {
  .orders-search-row-desktop {
    display: none !important;
  }

  .orders-search-mobile-row,
  .orders-search-mobile-buttons {
    display: flex !important;
  }
}

@media (min-width: 651px) {

  .orders-search-mobile-row,
  .orders-search-mobile-buttons {
    
    display: none !important;
  }

  .orders-search-row-desktop {
    display: flex !important;
  }
}
/* ---------- */
.orders-dashboard {
    direction: rtl;
    margin-bottom: 1.5rem;
}
.dash-card {
    background: #222c33;
    color: #fff;
    border-radius: 24px;
    /* min-width: 120px; */
    width: 140px;
    text-align: center;
    padding: 10px 20px 10px 20px;
    font-size: 1em;
    font-weight: 500;
    box-shadow: 0 4px 32px 0 #183b3c21;
    margin-bottom: 10px;
}
.dash-paid { color: #24c969 !important; }
.dash-cancelled { color: #ef5555 !important; }
.dash-completed { color: #50b5fc !important; }
.dash-pending { color: #df50fc !important; }
/* ------------ */
.promo-badge {
  background: #ffffff!important;
  color: #000000!important;
  font-weight: bold;
  padding: 4px 14px;
  border-radius: 24px;
  font-size: 1em;
  margin-right: 3px;
  /* הוסף פה כל מה שתרצה */
}

/* Overlay badge on product image - promo bottom-left */
.promo-overlay-badge {
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  border: 2px solid rgba(255, 214, 0, 1);
  border-radius: 24px;
  padding: 3px 10px;
  font-size: 0.8em;
  font-weight: 700;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(94, 189, 17, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* === Mobile Drawer (RTL) === */
@media (max-width: 650px) {
  #mobile-menu-btn {
    display: inline-block !important;
    flex-shrink: 0;
  }
  .user-auth-wrapper, #product-nav, #admin-nav {
    display: none !important;
  }
  .logo-title {
    margin: 0 auto;
    justify-content: center;
  }
  .mobile-drawer {
    display: none;
    position: fixed;
    top: 0; right: 0;
    width: 100vw; height: 100vh;
    z-index: 30000;
    pointer-events: none;
  }
  .mobile-drawer.open {
    display: block;
    pointer-events: auto;
  }
  .mobile-drawer .drawer-backdrop {
    position: fixed;
    top: 0; right: 0;
    width: 100vw; height: 100vh;
    background: rgba(20,30,40,0.65);
    z-index: 1;
    pointer-events: auto;
    transition: opacity 0.22s;
  }
  .mobile-drawer.open .drawer-backdrop {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  /* === REDESIGNED MOBILE DRAWER === */
  /* === REDESIGNED MOBILE DRAWER === */
  .mobile-drawer .drawer-content {
    /* Opaque mobile menu (must not be transparent) */
    background: #0d1117 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08); /* גבול עדין */
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5) !important;
    border-radius: 24px !important;
    padding: 24px !important;
    width: 85vw !important;
    max-width: 360px !important;
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    z-index: 30000;
    padding-bottom: 80px !important;
    overflow-y: auto;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: translateX(100%);
    direction: rtl; /* Enforce RTL */
    text-align: right; /* Enforce Right Align */
  }

  .mobile-drawer.open .drawer-content {
    transform: translateX(0);
  }
  
  .mobile-drawer .drawer-backdrop {
    position: fixed;
    top: 0; right: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    z-index: 29999;
    pointer-events: auto;
    transition: opacity 0.35s;
    opacity: 0;
    visibility: hidden;
  }

  .mobile-drawer.open .drawer-backdrop {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(3px) !important;
  }

  /* כפתור סגירה */
  #drawer-close-btn {
    position: absolute;
    top: 24px;
    left: 24px; /* Move to left side (opposite to right) */
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
    padding: 0;
    z-index: 10;
    cursor: pointer;
  }
  
  #drawer-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
  }

  /* כפתור יצירת קשר */
  .drawer-contact-btn {
    display: block;
    width: 100%;
    margin: 20px 0 0 0;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    border: none;
    border-radius: 24px;
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
  }
  
  .drawer-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.4);
    color: #fff;
  }
  
  .drawer-contact-btn .wa-icon {
    display: inline-block;
    vertical-align: middle;
    width: 1.4em; /* Slightly larger for better visibility */
    height: 1.4em;
    margin-left: 8px;
    filter: none; /* Restore original colors */
  }

  /* === User Section Card === */
  #drawer-user-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 20px;
    margin: 60px 0 24px 0;
    text-align: right;
  }

  #drawer-user-section .drawer-user-greeting {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Right aligned in RTL */
    gap: 4px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .drawer-user-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
  }

  .drawer-user-email {
    font-size: 0.85rem;
    color: #94a3b8;
  }

  /* תפריט משתמש */
  .drawer-user-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .drawer-user-menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align to Start (Right in RTL) */
    gap: 12px;
    padding: 10px 12px;
    border-radius: 24px;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s;
    background: transparent;
    border: none;
    font-size: 0.95rem;
    width: 100%;
  }

  .drawer-user-menu-item:hover,
  .drawer-user-menu-item:active {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
  }

  .drawer-user-menu-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: #38bdf8; /* Icon color */
  }
  
  .drawer-user-menu-item.logout-item {
    color: #f87171 !important;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    border-radius: 24px;
  }
  
  .drawer-user-menu-item.logout-item .drawer-user-menu-icon {
    color: #f87171 !important;
  }

  /* === Product Navigation === */
  #drawer-product-nav {
    padding: 0;
  }

  .drawer-product-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 12px;
    padding-right: 4px;
    text-align: right;
    border: none;
    font-weight: 700;
  }

  /* Categories Accordion Styling */
  .drawer-category {
    margin-bottom: 4px;
    background: transparent;
    border: none;
    border-radius: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Subtle divider instead of card */
    overflow: hidden;
  }
  
  .drawer-category:last-child {
    border-bottom: none;
  }
  
  .drawer-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px; /* Reduced side padding since no card */
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    direction: rtl;
    text-align: right;
  }
  
  .drawer-category-header:hover {
     background: rgba(255, 255, 255, 0.03);
     border-radius: 24px;
  }
  
  .drawer-category-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
  }
  
  .drawer-category-toggle {
    color: #64748b;
    font-size: 0.9rem;
    transition: transform 0.3s;
  }
  
  .drawer-category-toggle.expanded {
    transform: rotate(180deg);
    color: #38bdf8;
  }
  
  .drawer-category-products {
    display: none;
    padding: 4px 0 12px 0;
    border-top: none;
    background: transparent;
    backdrop-filter: none;
  }
  
  .drawer-category-products.expanded {
    display: flex;
    flex-direction: column;
  }
  
  /* Product Link inside Category - USING CORRECT JS CLASS NAMES */
  .drawer-product-link {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Right Align in RTL */
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    transition: all 0.2s;
    background: transparent;
    border: none;
    width: 100%;
    box-sizing: border-box;
    border-right: 2px solid transparent;
  }

  .drawer-product-link:hover,
  .drawer-product-link:active {
    background: rgba(56, 189, 248, 0.08); 
    border-right-color: #38bdf8;
  }

  /* Label/Text */
  .drawer-product-link span,
  .drawer-product-label {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: right;
    flex: 1; /* Ensure text takes space */
  }
  
  .drawer-product-link:hover .drawer-product-label,
  .drawer-product-link:hover span {
    color: #f8fafc;
  }

  /* Icon - FIXED SIZE */
  .drawer-product-icon {
    width: 24px; /* Fixed small size */
    height: 24px;
    object-fit: contain;
    border-radius: 24px;
    background: rgba(255,255,255,0.05);
    flex-shrink: 0;
  }
}
.back-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  background: linear-gradient(90deg, #0ff2f2 0%, #0085c3 100%);
  color: #162531;
  border: none;
  border-radius: 24px;
  font-size: 0.98em;
  font-weight: 700;
  padding: 5px 14px 5px 10px;
  box-shadow: 0 2px 8px #00eaff22;
  margin-bottom: 1.2rem;
  margin-top: 0.3rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  border: none;
}
.back-home-btn:hover, .back-home-btn:focus {
  background: #fff;
  color: #0085c3;
  box-shadow: 0 4px 16px #00eaff33;
  text-decoration: none;
}
.back-home-btn .back-icon {
  font-size: 1em;
  margin-left: 0.2em;
  margin-right: 0;
  display: inline-block;
  vertical-align: middle;
}
.back-home-btn .back-text {
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-right: 0.1em;
}
@media (max-width: 600px) {
  .back-home-btn {
    font-size: 0.93em;
    padding: 5px 8px 5px 8px;
    border-radius: 24px;
  }
  .back-home-btn .back-icon {
    font-size: 0.93em;
  }
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 22px 16px;
  margin-bottom: 2.2rem;
  margin-top: 0.5rem;
  justify-items: stretch;
}
.dashboard-stat-card {
  background: linear-gradient(120deg, #1e2a38 70%, #18222e 100%);
  color: #eaf8ff;
  border-radius: 24px;
  box-shadow: 0 2px 18px #00eaff22;
  padding: 18px 10px 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  transition: box-shadow 0.18s, background 0.18s;
  position: relative;
  border: none;
}
.dashboard-stat-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 24px;
  background: #232f3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7em;
  margin-bottom: 8px;
  box-shadow: 0 1px 8px #00eaff22;
}
.dashboard-stat-card .stat-label {
  font-size: 1.04em;
  font-weight: 600;
  color: #bdeaff;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
  text-align: center;
}
.dashboard-stat-card .stat-value {
  font-size: 1.35em;
  font-weight: bold;
  color: #fff;
  margin-top: 2px;
  text-align: center;
  direction: ltr;
}
.dashboard-stat-card.dash-pending .stat-icon {
  background-color: #ffc10730;
  color: #ffc107;
}
.dashboard-stat-card.dash-completed .stat-icon {
  background: #1a2330;
  color: #50b5fc;
}
.dashboard-stat-card.dash-paid .stat-icon {
  background-color: #0085c330;
  color: #0085c3;
}
.dashboard-stat-card.dash-cancelled .stat-icon {
  background: #2a181a;
  color: #ef5555;
}
.dashboard-stat-card.total-paid .stat-icon {
  background: #1a2e3a;
  color: #0085c3;
}
.dashboard-stat-card.total-paid .stat-value {
  color: #0085c3;
}
@media (max-width: 600px) {
  .dashboard-stats {
    display: flex;
    flex-direction: column;
    gap: 10px 0;
  }
  .dashboard-stat-card {
    width: 100%;
    min-width: 0;
    border-radius: 24px;
    padding: 10px 10px 10px 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }
  .dashboard-stat-card .stat-icon {
    width: 32px;
    height: 32px;
    font-size: 1.2em;
    margin-bottom: 0;
    margin-left: 8px;
    margin-right: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .dashboard-stat-card .stat-label {
    font-size: 1em;
    margin-bottom: 0;
    color: #bdeaff;
    font-weight: 600;
    margin-left: 8px;
    margin-right: 0;
    flex: 1 1 auto;
    text-align: right;
    white-space: nowrap;
  }
  .dashboard-stat-card .stat-value {
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    margin: 0;
    flex-shrink: 0;
    text-align: left;
    min-width: 32px;
  }
}

.dashboard-stats-row {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 2rem;
}
.dashboard-stat-card {
  flex: 1 1 220px;
  max-width: 320px;
  min-width: 160px;
}
@media (max-width: 900px) {
  .dashboard-stats-row {
    gap: 18px;
  }
  .dashboard-stat-card {
    flex: 1 1 45%;
    max-width: 48%;
  }
}
@media (max-width: 650px) {
  .dashboard-stats-row {
    gap: 14px;
  }
  .dashboard-stat-card {
    flex: 1 1 90%;
    max-width: 98%;
  }
}

.duration-buttons.four-btns {
  flex-wrap: nowrap !important;
  overflow-x: unset !important;
}

/* Override for mobile - force grid layout */
@media (max-width: 768px) {
  .duration-buttons.four-btns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 8px !important;
    flex-wrap: unset !important;
    flex-direction: unset !important;
  }
  
  .duration-buttons.four-btns .duration-btn {
    flex: none !important;
    flex-grow: unset !important;
    flex-shrink: unset !important;
    flex-basis: unset !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
    font-size: 0.9em !important;
    padding: 8px 4px !important;
  }
  
  /* Netflix-specific mobile overrides */
  .premium-card[data-id='netflix'] .duration-buttons.four-btns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 8px !important;
  }
  
  .premium-card[data-id='netflix'] .duration-buttons.four-btns .duration-btn {
    flex: none !important;
    width: 100% !important;
    min-width: unset !important;
    max-width: 100% !important;
    font-size: 0.9em !important;
    padding: 8px 4px !important;
  }
}

/* Force grid for all screen sizes for Netflix 4-button layout */
.duration-buttons.four-btns {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 8px !important;
}

.duration-buttons.four-btns .duration-btn {
  flex: none !important;
  width: 100% !important;
}

/* Override Netflix-specific rules */
.premium-card[data-id='netflix'] .duration-buttons.four-btns {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 8px !important;
  flex-wrap: unset !important;
  row-gap: 8px !important;
  column-gap: 8px !important;
}

.premium-card[data-id='netflix'] .duration-buttons.four-btns .duration-btn {
  flex: none !important;
  width: 100% !important;
  min-width: unset !important;
  max-width: 100% !important;
}

/* Extra specific override for very small screens */
@media (max-width: 500px) {
  .duration-buttons.four-btns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }
  
  .duration-buttons.four-btns .duration-btn {
    flex: none !important;
    width: 100% !important;
    font-size: 0.85em !important;
    padding: 6px 2px !important;
  }
}
.duration-buttons.four-btns .duration-btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  font-size: 0.95em;
  padding: 6px 0;
}
@media (max-width: 600px) {
  .duration-buttons.four-btns .duration-btn {
    font-size: 0.91em;
    padding: 5px 0;
  }
}
.duration-buttons.four-btns .duration-btn {
  font-size: 0.88em;
  padding: 4px 0;
}
@media (max-width: 600px) {
  .duration-buttons.four-btns .duration-btn {
    font-size: 0.83em;
    padding: 3px 0;
  }
}


/* --- ניווט קטגוריות דסקטופ --- */
@media (min-width: 900px) {
  #product-nav.nav-has-table {
    margin-top: 20px;
    direction: rtl;
  }
  
  .product-nav-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(120deg, rgba(36, 56, 90, 0.15) 80%, rgba(10, 32, 50, 0.08) 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 8px #00eaff22;
  }
  
  .category-row {
    background: linear-gradient(90deg, #1fa6e6 0%, #00eaff 100%);
  }
  
  .category-header {
    color: #162531;
    font-weight: bold;
    font-size: 1.1em;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .products-row {
    background: rgba(26, 42, 58, 0.6);
  }
  
  .products-cell {
    padding: 8px 20px;
    text-align: center;
  }
  
  .products-cell a {
    display: inline-block;
    color: #eaf8ff;
    text-decoration: none;
    padding: 6px 12px;
    margin: 2px 4px;
    border-radius: 24px;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.2s;
    background: rgba(36, 212, 255, 0.1);
    border: 1px solid transparent;
  }
  
  .products-cell a:hover {
    background: rgba(36, 212, 255, 0.2);
    color: #45e0f9;
    border-color: #45e0f9;
    transform: translateY(-1px);
  }
  
  .products-cell a.active {
    background: #45e0f9;
    color: #162531;
    font-weight: bold;
  }
}

/* הסתרת הטבלה במובייל */
@media (max-width: 899px) {
  .product-nav-table {
    display: none !important;
  }
  
  #product-nav.nav-has-table {
    display: block;
  }
}

@media (min-width: 900px) {
  .dashboard-stats-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 2.2rem;
    margin-top: 0.5rem;
    max-width: 900px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.nav-category-btn .dropdown-arrow {
  font-size: 0.85em;
  margin-right: 0.4em;
  vertical-align: middle;
  transition: transform 0.2s;
}
.nav-category.open > .nav-category-btn .dropdown-arrow {
  transform: rotate(180deg);
}

/* === אנר הסכמה לעוגיות === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(26, 42, 58, 0.95) 0%, rgba(24, 27, 31, 0.9) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 2px solid rgba(69, 224, 249, 0.3);
  color: #fff;
  z-index: 9999;
  padding: 20px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-text a {
  color: #45e0f9;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-text a:hover {
  color: #28a745;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, rgba(69, 224, 249, 0.9) 0%, rgba(0, 133, 195, 0.8) 100%);
  color: #ffffff;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.cookie-btn-primary:hover {
  background: linear-gradient(135deg, rgba(69, 224, 249, 1) 0%, rgba(0, 133, 195, 0.9) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(69, 224, 249, 0.4);
}

.cookie-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(69, 224, 249, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.cookie-btn-secondary:hover {
  background: rgba(69, 224, 249, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(69, 224, 249, 0.2);
}

.cookie-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.cookie-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* כפתור ניהול עוגיות בפוטר */
.footer-cookie-link:hover {
  color: #28a745 !important;
  text-decoration: underline !important;
}

/* כפתור ניהול עוגיות ב-privacy.html */
#manage-cookies:hover {
  background: rgba(69, 224, 249, 0.1) !important;
  border-color: #45e0f9 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(69, 224, 249, 0.2);
}



/* מודאל התאמה אישית */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: linear-gradient(135deg, rgba(26, 42, 58, 0.95) 0%, rgba(24, 27, 31, 0.9) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(69, 224, 249, 0.3);
  border-radius: 24px;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-modal-title {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.cookie-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.cookie-category {
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(69, 224, 249, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 24px;
  border-left: 4px solid rgba(69, 224, 249, 0.5);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.cookie-category-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 24px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.cookie-toggle.active {
  background: linear-gradient(135deg, #00c853, #00e676);
}

.cookie-toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 24px;
  transition: transform 0.3s ease;
}

.cookie-toggle.active .cookie-toggle-slider {
  transform: translateX(26px);
}

.cookie-category-description {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.cookie-category-essential {
  border-left-color: rgba(255, 255, 255, 0.8);
}

.cookie-category-essential .cookie-category-title {
  color: #ffffff;
}

.cookie-category-functional {
  border-left-color: rgba(255, 255, 255, 0.6);
}

.cookie-category-functional .cookie-category-title {
  color: #ffffff;
}

.cookie-category-marketing {
  border-left-color: rgba(255, 255, 255, 0.7);
}

.cookie-category-marketing .cookie-category-title {
  color: #ffffff;
}

.cookie-modal-footer {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* רספונסיביות */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .cookie-btn {
    width: auto;
    max-width: none;
    min-width: 80px;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 24px;
  }
  
  .cookie-modal-content {
    margin: 10px;
    padding: 20px;
  }
  
  .cookie-modal-footer {
    flex-direction: column;
  }
  
  .cookie-modal-footer .cookie-btn {
    width: 100%;
  }
  
  .cookie-text p {
    font-size: 13px;
  }
  
  #manage-cookies {
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
  }
  
  .footer-accessibility-mobile-wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  .footer-accessibility-mobile-wrap a,
  .footer-accessibility-mobile-wrap button {
    display: block;
    padding: 5px 0;
  }
  
  .footer-bottom {
    padding: 10px 0;
  }
  
  .footer-bottom-nowrap {
    white-space: normal;
  }
  
  .footer-bottom-nowrap::before {
    content: '';
    display: none;
  }
  
  .footer-bottom-nowrap::after {
    content: '';
    display: none;
  }
  
  .footer-bottom-nowrap br {
    display: none;
  }
  
  .footer-bottom-nowrap span {
    display: block;
    margin: 5px 0;
  }
  
  .footer-bottom-nowrap a,
  .footer-bottom-nowrap button {
    display: inline-block;
    margin: 2px 5px;
  }
  
  .footer-bottom-nowrap::before,
  .footer-bottom-nowrap::after {
    content: '';
    display: none;
  }
  
  .footer-bottom-nowrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  
  .footer-bottom-nowrap a,
  .footer-bottom-nowrap button {
    display: block;
    margin: 2px 0;
  }
  
  .footer-bottom-nowrap::before,
  .footer-bottom-nowrap::after {
    content: '';
    display: none;
  }
  
  .footer-bottom-nowrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  
  .footer-bottom-nowrap a,
  .footer-bottom-nowrap button {
    display: block;
    margin: 2px 0;
  }
  
  .footer-bottom-nowrap::before,
  .footer-bottom-nowrap::after {
    content: '';
    display: none;
  }
  
  .footer-bottom-nowrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  
  .footer-bottom-nowrap a,
  .footer-bottom-nowrap button {
    display: block;
    margin: 2px 0;
  }
  
  .footer-bottom-nowrap::before,
  .footer-bottom-nowrap::after {
    content: '';
    display: none;
  }
}

/* אנימציות */
@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cookie-banner.show {
  animation: slideInUp 0.3s ease-out;
}

.cookie-modal.show {
  animation: fadeIn 0.3s ease-out;
}

/* === אזור המלצות (Testimonials) === */
.testimonials-section {
  background: linear-gradient(120deg, rgba(36,56,90,0.22) 80%, rgba(23,25,34,0.13) 100%);
  border-radius: 24px;
  border: 1px solid rgba(80,200,255,0.10);
  box-shadow: 0 2px 12px 0 #163c5255;
  margin: 0 auto 0 auto;
  padding: 8px 0 0 0;
  width: 100%;
  direction: rtl;
  overflow: hidden;
  position: relative;
  min-height: 0 !important;
  height: auto !important;
}
.testimonials-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #45e0f9;
  margin: 0 auto 4px auto;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px #00eaff22, 0 1px 2px #05132222;
  text-align: center;
}
.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(36,56,90,0.85);
  border: 2px solid #45e0f9;
  color: #45e0f9;
  border-radius: 24px;
  width: 38px;
  height: 38px;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.testimonial-arrow:hover {
  background: #45e0f9;
  color: #1a2a3a;
  border-color: #00eaff;
}
.testimonial-arrow-right {
  right: 8px;
}
.testimonial-arrow-left {
  left: 8px;
}
.testimonials-section { position: relative; }
.testimonials-carousel {
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  position: relative;
}
@media (max-width: 700px) {
  .testimonial-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.2em;
  }
  .testimonials-carousel {
    gap: 6px;
  }
}
.testimonial-card {
  min-width: 220px;
  max-width: 300px;
  background: linear-gradient(120deg, #1a2a3a 80%, #181b1f 100%);
  border-radius: 24px;
  border: 1px solid #45e0f91a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 0;
  color: #eaf8ff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex-shrink: 0;
  position: relative;
  font-size: 0.92em;
  margin-bottom: 6px !important;
  overflow: hidden;
}

/* רוחב קבוע לכרטיסי המלצות במחשב */
@media (min-width: 768px) {
  .testimonial-card {
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
  }
}

/* כרזה עם כוכבים */
.testimonial-rating {
  position: absolute;
  top: 0;
  left: 0;
  background: #1a2a3a;
  border: 2px solid #45e0f9;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 1.1em;
  font-weight: bold;
  z-index: 1;
  /* clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%); */
}

.testimonial-rating .star {
  color: #ffd700 !important;
  margin-left: 2px;
}

/* תוכן הכרטיס */
.testimonial-content {
  padding: 5px 16px 16px 16px;
  width: 100%;
}

.testimonial-product {
  font-size: 1em;
  font-weight: bold;
  color: #bdeaff;
  margin-bottom: 12px;
}

/* צבעי מוצרים */
.testimonial-product.netflix { color: #e50914 !important; }
.testimonial-product.spotify { color: #1db954 !important; }
.testimonial-product.youtube { color: #ff0000 !important; }
.testimonial-product.google { color: #4285f4 !important; }
.testimonial-product.zoom { color: #2d8cff !important; }
.testimonial-product.soundcloud { color: #ff5500 !important; }
.testimonial-product.playstation { color: #003791 !important; }
.testimonial-product.canva { color: #00c4cc !important; }
.testimonial-product.picsart { color: #8d3ffc !important; }
.testimonial-product.perplexitypro { color: #a855f7 !important; }
.testimonial-product.perplexity { color: #a855f7 !important; }

.testimonial-name {
  font-size: 1.1em;
  font-weight: bold;
  color: #38e8ff !important;
  margin-bottom: 8px;
}

.testimonial-body {
  font-size: 0.95em;
  line-height: 1.5;
  color: #eaf8ff;
  margin-bottom: 12px;
}

.testimonial-product-label {
  font-size: 0.85em;
  color: #888888;
  font-weight: 500;
}

.testimonial-admin-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.testimonial-edit-btn {
  background: #45e0f9;
  border: none;
  color: #ffffff;
  border-radius: 24px;
  padding: 6px 12px;
  font-size: 0.85em;
  font-weight: 600;
  transition: background 0.18s;
}

.testimonial-edit-btn:hover {
  background: #00eaff;
}

.testimonial-delete-btn {
  background: #ff5252;
  border: none;
  color: #ffffff;
  border-radius: 24px;
  padding: 6px 12px;
  font-size: 0.85em;
  font-weight: 600;
  transition: background 0.18s;
}

.testimonial-delete-btn:hover {
  background: #ff3333;
}

@media (max-width: 700px) {
  .testimonial-card {
    min-width: 200px;
    max-width: 250px;
    font-size: 0.88em;
  }
  
  .testimonial-content {
    padding: 5px 12px 12px 12px;
  }
  
  .testimonial-rating {
    padding: 6px 12px;
    font-size: 1em;
  }
}

/* --- Custom: Smaller & Centered Add Testimonial Button --- */
#open-testimonial-modal {
  min-width: 110px !important;
  width: 120px !important;
  max-width: 140px !important;
  font-size: 1em !important;
  padding: 6px 0 !important;
  margin: 0 auto 18px auto !important;
  display: block !important;
  border-radius: 24px !important;
  box-shadow: 0 2px 8px 0 #0002;
}

@media (max-width: 600px) {
  #open-testimonial-modal {
    width: 50vw !important;
    min-width: 0 !important;
    max-width: 150px !important;
    font-size: 0.92em !important;
    padding: 6px 0 !important;
    margin-bottom: 14px !important;
  }
}

/* --- המלצה: כוכבים צהובים --- */
.testimonial-rating .star, .testimonial-rating {
  color: #ffe066 !important;
  font-size: 1em;
  letter-spacing: 1px;
}

/* --- המלצה: שם מנוי כחול --- */
.testimonial-name {
  color: #38e8ff !important;
  font-weight: bold;
}

/* --- המלצה: שם מוצר צבעוני --- */
.testimonial-product {
  font-weight: bold;
}
/* דוגמה: נטפליקס */
.testimonial-product-netflix { color: #e53c09 !important; }
.testimonial-product-spotify { color: #1db954 !important; }
.testimonial-product-youtube { color: #e50914 !important; }
.testimonial-product-Youtube { color: #e50914 !important; }
.testimonial-product-google { color: #4285f4 !important; }
.testimonial-product-zoom { color: #2d8cff !important; }
.testimonial-product-soundcloud { color: #ff5500 !important; }
.testimonial-product-playstation { color: #003791 !important; }
.testimonial-product-canva { color: #00c4cc !important; }
.testimonial-product-picsart { color: #8d3ffc !important; }
.testimonial-product-perplexitypro { color: #a855f7 !important; }
.testimonial-product-perplexity { color: #a855f7 !important; }

/* --- המלצה: תווית המלצה על בלבן, שם מוצר צבעוני --- */
.testimonial-product-label {
  color: #fff !important;
  font-weight: normal;
  display: inline;
}
.testimonial-product {
  font-weight: bold;
  display: inline;
  margin-right: 4px;
}

/* --- עיצוב מודאל המלצה כהה, RTL, תואם אתר --- */
.testimonial-modal, #testimonial-modal-overlay, #testimonial-modal-box {
  background: #18212b !important;
  color: #ffffff !important;
  border-radius: 24px !important;
  box-shadow: 0 4px 32px #0006;
  direction: rtl;
  font-family: inherit;
  padding: 18px 18px 12px 18px;
}
#testimonial-modal-box label,
#testimonial-modal-box .modal-field label,
#testimonial-modal-box .modal-field p {
  color: #ffffff !important;
  font-size: 1em;
  margin-bottom: 2px;
  direction: rtl;
}
#testimonial-modal-box input,
#testimonial-modal-box select,
#testimonial-modal-box textarea {
  background: #181c21 !important;
  color: #ffffff !important;
  border: 1.2px solid #45e0f999 !important;
  border-radius: 24px !important;
  font-size: 1em;
  padding: 8px 12px;
  margin-bottom: 8px;
  direction: rtl;
  font-family: inherit;
  box-shadow: none;
}
#testimonial-modal-box input::placeholder,
#testimonial-modal-box textarea::placeholder {
  color: #7ecfff !important;
  opacity: 0.8;
  direction: rtl;
}
#testimonial-modal-box select {
  background-image: url('data:image/svg+xml;utf8,<svg fill="%237ecfff" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7.293 7.293a1 1 0 011.414 0L10 8.586l1.293-1.293a1 1 0 111.414 1.414l-2 2a1 1 0 01-1.414 0l-2-2a1 1 0 010-1.414z"/></svg>');
  background-repeat: no-repeat;
  background-position: left 0.75em center;
  background-size: 1.2em;
  color-scheme: dark;
}
#testimonial-modal-box .order-btn, #testimonial-modal-box button[type=submit] {
  background: linear-gradient(90deg, #45e0f9 0%, #1fa6e6 100%) !important;
  color: #18212b !important;
  border-radius: 24px !important;
  font-weight: bold;
  font-size: 1em;
  margin-top: 12px;
  box-shadow: 0 2px 8px #00eaff33;
  transition: background 0.18s, color 0.18s;
}
#testimonial-modal-box .order-btn:hover, #testimonial-modal-box button[type=submit]:hover {
  background: linear-gradient(90deg, #00eaff 0%, #45e0f9 100%) !important;
  color: #051322 !important;
  box-shadow: 0 2px 14px #00eaff33 !important;
}
#testimonial-modal-box .star {
  font-size: 1em;
  color: #fff !important;
  cursor: pointer;
  margin: 0 2px;
  transition: color 0.2s ease, transform 0.1s ease;
  display: inline-block;
}
#testimonial-modal-box .star:hover,
#testimonial-modal-box .star:focus {
  color: #ffe066 !important;
  transform: scale(1.1);
}
#testimonial-modal-box .star.selected {
  color: #ffe066 !important;
}
#testimonial-modal-box textarea {
  min-height: 90px;
  resize: vertical;
}

#testimonial-modal-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none;
  box-shadow: none;
  display: none;
}

/* --- ניווט מוצרים דסקטופ --- */
@media (min-width: 900px) {
  #product-nav.nav-has-desktop-list {
    margin-top: 20px;
    direction: rtl;
    width: 100%;
  }
  
  .desktop-products-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    justify-content: center;
    align-items: center;
    background: linear-gradient(120deg, rgba(36, 56, 90, 0.15) 80%, rgba(10, 32, 50, 0.08) 100%);
    border-radius: 24px;
    padding: 8px 12px;
    box-shadow: 0 2px 8px #00eaff22;
    width: 100%;
    min-height: 50px;
    overflow-x: auto;
  }
  
  .desktop-product-link {
    color: #eaf8ff;
    text-decoration: none;
    /* padding: 4px 6px; */
    border-radius: 24px;
    background: rgba(26, 42, 58, 0.6);
    border: 1px solid rgba(69, 224, 249, 0.1);
    font-size: 1em;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    min-height: 45px;
    gap: 3px;
    flex-shrink: 0;
  }
  
  .product-nav-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 24px;
  }
  
  .product-nav-label {
    font-size: 0.8em;
    text-align: center;
    line-height: 1.0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .desktop-product-link:hover {
    background: rgba(69, 224, 249, 0.2);
    border-color: rgba(69, 224, 249, 0.4);
    color: #00eaff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 234, 255, 0.3);
  }
  
  .desktop-product-link:hover .product-nav-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
  }
  
  .desktop-product-link:focus {
    outline: 2px solid #00eaff;
    outline-offset: 2px;
  }
  
  .desktop-product-link.active {
    background: linear-gradient(90deg, #1fa6e6 0%, #00eaff 100%);
    color: #162531;
    border-color: #00eaff;
  }
}

/* הסתרת הטבלה הישנה במחשב */
@media (min-width: 900px) {
  .product-nav-table {
    display: none !important;
  }
}

/* הסתרת רשימת המוצרים במובייל */
@media (max-width: 899px) {
  .desktop-products-list {
    display: none !important;
  }
}

/* ניווט מוצרים במובייל */
.product-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #eaf8ff;
  text-decoration: none;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.product-nav-icon-mobile {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 24px;
  flex-shrink: 0;
}

.product-nav-label-mobile {
  font-size: 0.9em;
  font-weight: 500;
}

.product-link:hover {
  background: rgba(69, 224, 249, 0.1);
  color: #00eaff;
}

.product-link:focus {
  outline: 2px solid #00eaff;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .footer-accessibility-link {
    font-size: 0.95em;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .footer-bottom-nowrap {
    white-space: nowrap;
    font-size: 0.95em;
  }
}

/* === עיצוב עמוד מוצר דינאמי – מבנה חדש === */
#product-details {
  background: #181b1f;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 #163c5255;
  margin: 32px auto;
  padding: 32px 40px;
  max-width: 1200px;
  width: 100%;
  direction: rtl;
}
.product-details-top {
  display: flex;
  flex-direction: row-reverse;
  gap: 36px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto 24px auto;
}
.product-banner {
  flex: 0 0 50%;
  max-width: 50%;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.product-banner img {
  width: 100%;
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
  border-radius: 24px;
  background: transparent;
  box-shadow: 0 2px 12px #0002;
}
.product-details-main {
  flex: 1 1 0;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: flex-start;
}
.product-detail-title {
  text-align: center;
  margin-bottom: 18px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
}

/* Title when it sits directly above the media (image/video) */
.product-detail-title--media {
  margin-bottom: 12px;
  min-height: 0;
}
.product-detail-title h2 {
  margin: 0 auto;
  font-size: 2.3em;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.01em;
  word-break: break-word;
}
.duration-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0 12px 0;
}
.duration-buttons .duration-btn {
  min-width: 90px;
  font-size: 1em;
  padding: 7px 14px;
}
.duration-buttons {
  margin-top: 24px;
  margin-bottom: 12px;
}
@media (max-width: 900px) {
  .product-details-top {
    flex-direction: column;
    gap: 0;
    margin-bottom: 12px;
  }
  .product-banner {
    flex: none;
    max-width: 100%;
    margin-bottom: 12px;
  }
  .product-details-main {
    flex: none;
    max-width: 100%;
    gap: 10px;
    padding: 0 2px;
  }
  .product-detail-title {
    font-size: 1.1em;
  }
  .duration-buttons {
    margin: 24px 0 12px 0;
  }
}

/* כל בלוק מתחת ל-product-details-top ברוחב מלא */
#product-description,
#product-advantages,
#product-disadvantages,
.product-detail-features,
#product-warranty,
.product-price,
.product-detail-form {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
  box-sizing: border-box;
}
#product-description {
  /* Background/border/shadow are provided by the global Glass Kit (`cs-glass-border`). */
  border-radius: 24px;
  padding: 18px 16px 12px 16px;
  margin: 0 auto 18px auto;
  max-width: 1120px;
}

#product-advantages {
  border-radius: 24px;
  padding: 18px 16px 12px 16px;
  margin: 0 auto 18px auto;
  max-width: 1120px;
}

#product-disadvantages {
  border-radius: 24px;
  padding: 18px 16px 12px 16px;
  margin: 0 auto 18px auto;
  max-width: 1120px;
}
.product-desc-title {
  color: #45e0f9;
  font-size: 1.18em;
  font-weight: bold;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  display: block;
  padding-right: 2px;
}

#product-advantages .product-desc-title {
  color: #32cd32;
}

#product-disadvantages .product-desc-title {
  color: #ffd700;
}
.product-desc-inner {
  /* Keep defaults for other sections (warranty/etc.), overridden for product description below */
  background: linear-gradient(120deg, #18232e 80%, #101a23 100%);
  border-radius: 24px;
  padding: 18px 16px;
  color: #eaf6ff;
  font-size: 1.08em;
  box-shadow: 0 2px 8px #0002;
  line-height: 1.7;
  border: 1px solid rgba(69, 224, 249, 0.15);
}

/* Product description: avoid “frame inside frame” (inner text box must be plain) */
#product-description .product-desc-inner {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.product-detail-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 50px;
  margin-bottom: 50px;
  list-style: none;
  padding: 0;
}
@media (max-width: 900px) {
  .product-detail-features {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}
.product-detail-features li {
  /* Background/border are now provided by `cs-glass-surface` on each <li> */
  background: transparent;
  color: #45e0f9;
  border-radius: 24px;
  padding: 9px 18px 9px 54px;
  font-size: 1.08em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: none;
  position: relative;
}
.product-detail-features li::before {
  content: none !important;
}
@media (max-width: 900px) {
  .product-detail-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
    margin-top: 28px;
    margin-bottom: 28px;
  }
  .product-detail-features li {
    font-size: 0.87em;
    padding: 8px 10px 8px 26px;
    border-radius: 24px;
    gap: 6px;
    min-height: 34px;
  }
  .product-detail-features li::before {
    font-size: 0.95em;
    right: 2px;
  }
}
#product-warranty {
  border-radius: 24px;
  padding: 12px 14px;
  color: #bdeaff;
  font-size: 0.98em;
  margin-bottom: 14px;
}

#product-supplier-policy {
  border-radius: 24px;
  padding: 12px 14px;
  color: #bdeaff;
  font-size: 0.98em;
  margin-bottom: 14px;
}

#product-supplier-policy::before {
  content: none;
}

@keyframes supplier-policy-glow {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.3;
  }
  100% {
    transform: rotate(180deg) scale(1.1);
    opacity: 0.6;
  }
}

#product-supplier-policy:hover {
  transition: all 0.3s ease;
}
.product-price {
  border-radius: 24px;
  padding: 16px 14px;
  margin-bottom: 18px;
  font-size: 1.25em;
  color: #fff;
  /* ביטול עיצוב layout כדי לא להפריע למחלקות הדינמיות */
  /* display: flex; */
  /* align-items: center; */
  /* gap: 18px; */
  /* width: 100%; */
}
.product-detail-form {
  border-radius: 24px;
  padding: 18px 16px;
  margin-top: 8px;
  width: 100%;
}

/* מובייל */
@media (max-width: 900px) {
  #product-details {
    padding: 12px 4px;
    max-width: 100vw;
    margin: 0;
  }
  .product-details-top {
    flex-direction: column;
    gap: 0;
    margin-bottom: 12px;
  }
  .product-banner {
    flex: none;
    max-width: 100%;
    margin-bottom: 12px;
  }
  .product-banner img {
    max-width: 100vw;
    max-height: 220px;
    border-radius: 24px;
  }
  .product-details-main {
    gap: 10px;
    padding: 0 2px;
  }
  #product-description, .product-detail-form, .product-price, #product-warranty, #product-supplier-policy {
    padding: 12px 7px;
    border-radius: 24px;
  }
  .product-detail-features {
    gap: 7px 10px;
  }
}

/* === עיצובים ייחודיים שהועברו מ-productpage.css === */
.duration-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}
.duration-btn {
  background: transparent;
  border: 1.5px solid #89e6ff;
  color: #b5f0fc;
  min-width: 80px;
  border-radius: 24px;
  padding: 7px 16px;
  font-size: 1rem;
  font-weight: 500;
  transition: all .2s;
  cursor: pointer;
}
.duration-btn.active,
.duration-btn:active,
.duration-btn:focus {
  background: #00eaff;
  color: #222;
  border-color: #00eaff;
  font-weight: bold;
}
.duration-btn:hover {
  background: #00eaff77;
  color: #1d2d34;
}

/* מצבי מסלול מושבת בכרטיסים ובעמוד מוצר */
.duration-btn.disabled-btn,
.duration-btn[disabled] {
  background: #2a2a2a !important;
  border-color: #555 !important;
  color: #9aa3ad !important;
  cursor: not-allowed !important;
  opacity: 0.8;
}
.duration-btn.disabled-btn:hover,
.duration-btn[disabled]:hover {
  background: #2a2a2a !important;
  color: #9aa3ad !important;
}
/* Product page back button (home) – match new glass styles */
body.product-page .product-detail-back {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  color: #eaf8ff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  font-size: 1em;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
  text-align: center;
  /* margin: 0 0 0 8px; */
  line-height: 1.6;
  box-shadow: 0 2px 10px rgba(0, 234, 255, 0.14);
  min-width: 0;
  min-height: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.product-page .product-detail-back:hover,
body.product-page .product-detail-back:focus-visible {
  background: linear-gradient(90deg, #00eaff 0%, #45e0f9 100%);
  color: #051322;
  border-color: rgba(69, 224, 249, 0.55);
  box-shadow: 0 2px 14px rgba(0, 234, 255, 0.25);
}
.product-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}
.order-btn {
  width: 100%;
  padding: 14px 0;
  background: linear-gradient(90deg, #0ff2f2 0%, #0085c3 100%);
  color: #162531;
  border: none;
  border-radius: 24px;
  font-size: 1.17em;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 0;
  transition: background 0.23s, color 0.23s;
}
.order-btn:hover:not(.disabled-btn) {
  background: linear-gradient(90deg, #00eaff 0%, #45e0f9 100%);
  color: #051322;
  box-shadow: 0 2px 14px #00eaff33;
}
.product-detail-features li::before {
  content: "•";
  position: absolute;
  right: 0;
  color: #00eaff;
  font-size: 1.12em;
}
.form-control, .form-select {
  background: #181c21;
  border: 1.2px solid #45e0f999;
  color: #e0e0e0;
  border-radius: 24px;
  font-size: 1rem;
  padding: 10px 14px;
  width: 100%;
  outline: none;
  margin-top: 5px;
}
.form-control:focus, .form-select:focus {
  border-color: #00eaff;
}
.form-label {
  color: #eaf8ff;
  font-weight: 500;
  margin-bottom: 6px;
}
.modal-static-text {
  background: linear-gradient(120deg, rgba(36, 56, 90, 0.24) 85%, rgba(10, 32, 50, 0.17) 100%);
  border: 1.2px solid rgba(80, 200, 255, 0.18);
  border-radius: 24px;
  padding: 10px 12px 8px 12px;
  color: #45e0f9;
  margin-bottom: 10px;
  margin-top: 0px;
  font-size: 1.08em;
  font-weight: 500;
  text-align: right;
  box-shadow: 0 2px 8px 0 #27d2f722;
}

.discount-badge {
  background: #00eaff !important;
  color: #222;
  font-weight: bold;
  padding: 6px 18px;
  border-radius: 24px;
  font-size: 1em;
  display: inline-block;
  box-shadow: 0 2px 8px #00eaff33;
  margin: 0 0 0 8px;
  line-height: 1.6;
  min-width: 0;
  min-height: 0;
}

.stock-badge {
  background: #00eaff !important;
  color: #222;
  font-weight: bold;
  padding: 6px 18px;
  border-radius: 24px;
  font-size: 1em;
  display: inline-block;
  box-shadow: 0 2px 8px #00eaff33;
  margin: 0 0 0 8px;
  line-height: 1.6;
  min-width: 0;
  min-height: 0;
}

/* מסגרת חיצונית לבלוקים מרכזיים */
.product-section-outer {
  background: #20242b;
  border-radius: 24px;
  padding: 18px 16px;
  margin: 0 auto 18px auto;
  max-width: 1120px;
  box-shadow: 0 2px 12px #0002;
}
/* מסגרת פנימית כהה יותר */
.product-section-inner {
  background: #181b1f;
  border-radius: 24px;
  padding: 16px 14px;
  color: #eaf6ff;
}

/* דוגמה לשימוש: <div class="product-section-outer"><div class="product-section-inner">...</div></div> */

/* מסגרת חיצונית זכוכית כחולה לתיאור המוצר */
.product-desc-outer { all: unset; }

.product-detail-features,
.product-detail-features li {
  list-style: none !important;
  list-style-type: none !important;
}

@media (max-width: 900px) {
  .duration-buttons.netflix-page {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px 5px;
    margin: 0 0 12px 0;
  }
  .duration-buttons.netflix-page .duration-btn {
    min-width: 0;
    font-size: 0.92em;
    padding: 7px 2px;
    border-radius: 24px;
    text-align: center;
    white-space: normal;
  }
}

/* 1. הקטנת שם המוצר במובייל */
@media (max-width: 600px) {
  .product-detail-title h2 {
    font-size: 1.25em !important;
    line-height: 1.2;
    word-break: break-word;
  }
}

/* 2. badge של אחוזי הנחה במובייל - יישור למעלה, ריווח */
@media (max-width: 600px) {
  .product-top-row {
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 6px;
  }
  .product-detail-back {
    margin-bottom: 0 !important;
  }
  .discount-badge {
    align-self: flex-start;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 0.98em;
    min-width: 80px;
    text-align: center;
  }
}

/* 3. רק לנטפליקס - 2 כפתורי מסלולים בשורה במובייל */
@media (max-width: 650px) {
  .netflix-page .duration-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    justify-content: center;
  }
  .netflix-page .duration-btn {
    min-width: 0 !important;
    font-size: 1em !important;
    padding: 8px 0 !important;
  }
}

/* בשאר המוצרים - כפתור אחד בשורה במובייל */
@media (max-width: 650px) {
  .duration-buttons {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px;
    align-items: stretch;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .duration-buttons::-webkit-scrollbar {
    display: none;
  }
  .duration-btn {
    min-width: 90px;
    font-size: 1em;
    padding: 8px 0;
    flex: 1 0 auto;
  }
}

/* תיקון product-top-row במובייל */
@media (max-width: 600px) {
  .product-top-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 0;
    margin-bottom: 8px;
  }
  .product-detail-back {
    font-size: 0.98em !important;
    padding: 6px 16px !important;
    min-width: unset !important;
    max-width: 120px;
    border-radius: 24px !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    align-self: flex-start;
  }
  .discount-badge {
    align-self: flex-start;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 0.98em;
    min-width: 70px;
    text-align: center;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

/* עיצוב עדין לכפתור חזרה ולתגית הנחה בעמוד מוצר */
.product-detail-back {
  font-size: 0.98em !important;
  padding: 5px 16px !important;
  border-radius: 24px !important;
  background: linear-gradient(120deg, #e0f7fa 80%, #b2ebf2 100%);
  color: #007c91 !important;
  border: 1.2px solid #b2ebf2;
  box-shadow: 0 2px 8px 0 #00bcd41a;
  font-weight: 500;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.product-detail-back:hover, .product-detail-back:focus {
  background: linear-gradient(120deg, #b2ebf2 80%, #e0f7fa 100%);
  color: #005662 !important;
  box-shadow: 0 2px 12px 0 #00bcd433;
}
.discount-badge {
  font-size: 0.97em !important;
  padding: 5px 16px !important;
  border-radius: 24px !important;
  background: linear-gradient(120deg, #e0f7fa 80%, #b2ebf2 100%);
  color: #007c91 !important;
  border: 1.2px solid #b2ebf2;
  box-shadow: 0 2px 8px 0 #00bcd41a;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

@media (max-width: 600px) {
  .product-detail-back, .discount-badge {
    font-size: 0.93em !important;
    padding: 4px 10px !important;
    border-radius: 24px !important;
    min-width: 60px;
    max-width: 120px;
  }
}

/* טקסט קטן וקומפקטי בשורה אחת לכפתור חזרה ולתגית הנחה */
.product-detail-back, .discount-badge {
  font-size: 0.8em !important;
  padding: 4px 12px !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

@media (max-width: 600px) {
  .product-detail-back, .discount-badge {
    font-size: 0.8em !important;
    padding: 3px 8px !important;
    min-width: 0;
    max-width: 100vw;
  }
}

.product-detail-back, .discount-badge {
  color: #111 !important;
}
.product-detail-back:hover, .product-detail-back:focus,
.discount-badge:hover, .discount-badge:focus {
  color: #111 !important;
}

.centered-price {
  text-align: center !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}
.price-label-new {
  color: #0097a7;
  font-size: 0.92em;
  font-weight: 500;
  margin-right: 4px;
  margin-left: 2px;
}
.price-label-old {
  color: #7ecfff;
  font-size: 0.85em;
  font-weight: 400;
  margin-right: 8px;
  margin-left: 2px;
}
.limited-offer-label {
  color: #e53935;
  font-size: 0.85em;
  font-weight: 600;
  margin-right: 6px;
  margin-left: 2px;
  letter-spacing: 0.01em;
}
@media (max-width: 600px) {
  .centered-price {
    font-size: 1em !important;
    gap: 0.3em;
  }
  .price-label-new, .price-label-old, .limited-offer-label {
    font-size: 0.8em;
    margin: 0 2px;
  }
}

.product-price.centered-price {
  flex-direction: column !important;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.limited-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  margin-bottom: 2px;
}
.old-prices-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-size: 0.95em;
}
@media (max-width: 600px) {
  .product-price.centered-price {
    font-size: 1em !important;
  }
  .limited-row, .old-prices-row {
    gap: 0.3em;
    font-size: 0.9em;
  }
}

.single-row-price {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  flex-wrap: wrap;
}
.price-label-new, .price-label-old {
  white-space: nowrap;
}
@media (max-width: 600px) {
  .single-row-price {
    gap: 0.3em;
    font-size: 1em !important;
  }
}

.price-label-new b {
  font-size: 1.35em !important;
  font-weight: bold;
  color: #fff;
  vertical-align: middle;
}
.price-label-old s {
  font-size: 1.15em !important;
  color: #bdeaff;
  vertical-align: middle;
}
@media (max-width: 600px) {
  .price-label-new b {
    font-size: 1.18em !important;
  }
  .price-label-old s {
    font-size: 1em !important;
  }
}

.price-label-new {
  font-size: 1.15em !important;
}
@media (max-width: 600px) {
  .price-label-new {
    font-size: 1.25em !important;
  }
}

@media (min-width: 900px) {
  .product-detail-features {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 28px;
    direction: rtl;
    justify-items: start;
    align-items: stretch;
    text-align: right;
  }
  .product-detail-features li {
    justify-self: start;
    text-align: right;
    direction: rtl;
    width: 100%;
    min-width: 0;
    margin: 0;
  }
}

.product-badges-row {
  display: flex !important;
  flex-direction: row;
  justify-content: flex-end; /* יישור לשמאל בשורת התגים בסביבת RTL */
  align-items: center;
  direction: rtl;
  gap: 8px;
  width: 100%;
  margin-bottom: 18px; /* מרווח מתחת לתגיות */
}
.product-badges-row .badge {
  white-space: nowrap;
  min-width: 70px;
  padding: 4px 13px;
  font-size: 0.8em;
  margin: 0 2px;
  flex-shrink: 0;
}
.product-badges-row .discount-badge,
.product-badges-row .promo-badge,
.product-badges-row .info-badge,
.product-badges-row .timer-badge {
  min-width: 70px !important;
  height: 28px !important;
  padding: 3px 8px !important;
  font-size: 0.8em !important;
  border-radius: 24px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.product-badges-row .timer-badge {
  gap: 1px !important;
  min-width: 100px !important;
  padding: 2px 4px !important;
  height: 24px !important;
  font-size: 0.7em !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

/* עיצוב עקבי לכל העמודים */
main.glass {
  max-width: 1200px;
  margin: 0 auto !important;
  margin-bottom: 2rem;
}

.container.glass {
  max-width: 1200px;
  margin: 0 auto !important;
  margin-bottom: 2rem;
}

/* התאמת padding למובייל ומחשב */
main.container.glass.p-4 {
  padding: 0.5rem !important; /* p-2 במובייל */
}

@media (min-width: 768px) {
  main.container.glass.p-4 {
    padding: 1rem !important; /* p-4 במחשב */
  }
}

/* עיצוב ספציפי לדשבורד */
main.container.glass[style*="max-width: 600px"] {
  max-width: 600px !important;
  margin: 0 auto !important;
  margin-bottom: 2rem;
}

/* עיצוב עקבי לפוטר */
.site-footer {
  margin-top: 2rem;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* פריסת לינקים בפוטר - התאמה אוטומטית לגודל מסך */
.footer-bottom {
  display: block;
  text-align: center;
}
.footer-accessibility-mobile-wrap {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap; /* מאפשר ירידה לשורה חדשה */
  justify-content: center;
  max-width: 100%;
}
.footer-accessibility-mobile-wrap a,
.footer-accessibility-mobile-wrap button {
  display: inline;
  white-space: nowrap; /* מונע שבירת מילים בתוך הלינק */
}
@media (max-width: 768px) {
  .footer-accessibility-mobile-wrap {
    display: inline-flex;
    gap: 6px; /* מרווח קטן יותר במובייל */
  }
}
@media (max-width: 480px) {
  .footer-accessibility-mobile-wrap {
    gap: 4px; /* מרווח עוד יותר קטן במסכים קטנים */
  }
}

/* התאמת התוכן המרכזי ל-sidebar */
@media (min-width: 1200px) {
  main.container.glass {
    margin-right: 220px !important;
    margin-left: auto !important;
    max-width: calc(100% - 220px) !important;
  }
  
  /* התאמה מיוחדת לדשבורד */
  main.container.glass[style*="max-width: 600px"] {
    margin-right: 220px !important;
    margin-left: auto !important;
    max-width: 600px !important;
  }
  
  /* התאמה מיוחדת להדר */
  header,
  .site-header {
    margin-right: 220px !important;
    max-width: calc(100% - 220px) !important;
  }
}

/* במסכים קטנים - התוכן המרכזי תופס את כל הרוחב */
@media (max-width: 1199px) {
  main.container.glass {
    margin-right: 0 !important;
    margin-left: auto !important;
    max-width: 100% !important;
  }
  
  main.container.glass[style*="max-width: 600px"] {
    margin-right: 0 !important;
    margin-left: auto !important;
    max-width: 600px !important;
  }
  
  /* התאמה מיוחדת להדר במסכים קטנים */
  header,
  .site-header {
    margin-right: 0 !important;
    max-width: 100% !important;
  }
}

/* עיצוב שורת הכותרת עם החיצים */
.testimonials-header-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  gap: 10px;
  text-align: center;
}

.testimonials-header-row .testimonials-title {
  margin-bottom: 0;
  text-align: center;
}

#open-testimonial-modal {
  margin-top: 8px;
  margin-bottom: 0;
  align-self: center;
}

/* כפתורי עריכה/מחיקה קטנים ומעוגלים לאזור המלצות */
.testimonial-edit-btn, .testimonial-delete-btn {
  border: none;
  border-radius: 24px;
  min-width: 48px;
  height: 28px;
  font-size: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  padding: 0 14px;
  color: #fff !important;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.01em;
  margin-inline-start: 4px;
}
.testimonial-edit-btn {
  background: #45e0f9;
}
.testimonial-edit-btn:hover {
  background: #00eaff;
}
.testimonial-delete-btn {
  background: #ef5555;
}
.testimonial-delete-btn:hover {
  background: #ff1a1a;
}

/* כפתורי מסלולים קטנים יותר בכל הכרטיסים */
.duration-btn {
  min-width: 60px !important;
  max-width: 110px;
  font-size: 0.97em !important;
  padding: 6px 8px !important;
  border-radius: 24px !important;
}

/* נטפליקס: 2 שורות של כפתורים תמיד - רק בדסקטופ */
@media (min-width: 769px) {
  .premium-card[data-id='netflix'] .duration-buttons {
    flex-wrap: nowrap !important;
    row-gap: 6px !important;
    column-gap: 6px !important;
    display: flex !important;
    justify-content: center;
  }
  
  .premium-card[data-id='netflix'] .duration-btn {
    flex: 1 1 48% !important;
    width: 48% !important;
    min-width: 60px !important;
    max-width: 48% !important;
    margin-bottom: 0;
    white-space: nowrap;
    justify-content: center;
    display: flex;
    font-size: 0.8rem; /* Smaller font size */
    padding: 6px 4px; /* Adjust padding */
    min-width: 65px; /* Adjust min-width */
    white-space: normal; /* Allow text to wrap if needed */
    line-height: 1.2;
  }
}

.duration-btn {
  width: 100px !important;
  min-width: 0 !important;
  max-width: none !important;
  font-size: 0.97em !important;
  padding: 6px 0 !important;
  border-radius: 24px !important;
  flex: 0 0 auto !important;   /* הוספה חשובה */
  text-align: center;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .duration-btn {
    width: 90px !important;
    min-width: 0 !important;
    max-width: none !important;
    font-size: 0.90em !important;
    padding: 6px 0 !important;
    border-radius: 24px !important;
    flex: 0 0 auto !important;   /* הוספה חשובה */
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }
}

.premium-card.new-item {
  /* מסיר מסגרת/צל ורוד */
  box-shadow: none;
}
.premium-card.hot-item {
  /* מסיר מסגרת/צל כתום */
  box-shadow: none;
}
.premium-card.new-item.has-ribbon::before {
  content: "חדש באתר";
  position: absolute;
  top: 135px;
  left: -50px;
  background: linear-gradient(135deg, rgba(49, 168, 2, 0.9) 0%, rgba(32, 28, 25, 0.8) 100%);
  color: #fff;
  padding: 1px 100px;
  font-size: 0.85rem;
  font-weight: normal;
  transform: rotate(-45deg);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(32, 50, 70, 0.3);
  border-radius: 24px;
  white-space: nowrap;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(80, 200, 255, 0.2);
  transform-origin: top left;
}
.premium-card.hot-item.has-ribbon::before {
  content: "מוצר מבוקש";
  position: absolute;
  top: 135px;
  left: -50px;
  background: linear-gradient(120deg, #102542 0%, #1976d2 45%, #21e5ff 85%, #b2f9ff 100%);
  color: #fff;
  padding: 1px 100px;
  font-size: 0.85rem;
  font-weight: normal;
  transform: rotate(-45deg);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(32, 50, 70, 0.3);
  border-radius: 24px;
  white-space: nowrap;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid #1976d2;
  transform-origin: top left;
}
@media (max-width: 767px) {
  .premium-card.new-item.has-ribbon::before,
  .premium-card.hot-item.has-ribbon::before {
    top: 95px;
    left: -30px;
    padding: 1px 60px;
    font-size: 0.75rem;
  }
}

.premium-card.info-item {
  box-shadow: none;
}
.premium-card.info-item.has-ribbon::before {
  content: "מדריך מלא";
  position: absolute;
  top: 135px;
  left: -50px;
  background: linear-gradient(135deg, #ffd600 00%, #000 90%);
  color: #333;
  padding: 1px 100px;
  font-size: 0.85rem;
  font-weight: normal;
  transform: rotate(-45deg);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(32, 50, 70, 0.3);
  border-radius: 24px;
  white-space: nowrap;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid #ffd600;
  transform-origin: top left;
}
@media (max-width: 767px) {
  .premium-card.info-item.has-ribbon::before {
    top: 95px;
    left: -30px;
    padding: 1px 60px;
    font-size: 0.75rem;
  }
}

.premium-card.info-item.has-ribbon::before {
  color: #fff;
}

.premium-card.out-of-stock {
  /* מסיר מסגרת/צל אפור */
  box-shadow: none;
}
.premium-card.out-of-stock.has-ribbon::before {
  content: "אין במלאי";
  position: absolute;
  top: 135px;
  left: -50px;
  background: linear-gradient(135deg, #808080 0%, #666666 50%, #4d4d4d 100%);
  color: #fff;
  padding: 1px 100px;
  font-size: 0.85rem;
  font-weight: normal;
  transform: rotate(-45deg);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(32, 50, 70, 0.3);
  border-radius: 24px;
  white-space: nowrap;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid #808080;
  transform-origin: top left;
}
@media (max-width: 767px) {
  .premium-card.out-of-stock.has-ribbon::before {
    top: 95px;
    left: -30px;
    padding: 1px 60px;
    font-size: 0.75rem;
  }
}

/* Mobile Guide Redesign */
.guide-banner img {
  border-radius: 24px !important;
  box-shadow: 0 4px 16px #0004;
}
.mobile-guide {
  padding: 12px 0 32px 0;
  font-family: 'Heebo', Arial, sans-serif;
}
.mobile-step {
  background: #23272e;
  border-radius: 24px;
  box-shadow: 0 2px 12px #0003;
  margin: 28px 12px;
  padding: 18px 14px 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}
.mobile-step-number {
  background: #ffd600;
  color: #222;
  font-size: 1.1em;
  font-weight: bold;
  width: 38px;
  height: 38px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px #0002;
  border: 2px solid #fff2;
  z-index: 2;
}
.mobile-step-title {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffd600;
  line-height: 1.3;
}
.mobile-step-content {
  color: #fff;
  font-size: 1em;
  line-height: 1.7;
  width: 100%;
}
.mobile-step-content img {
  max-width: 100%;
  border-radius: 24px;
  margin: 14px auto 0 auto;
  box-shadow: 0 2px 8px #0002;
  display: block;
}
.mobile-step-content .addon-list-mobile {
  background: #181a20;
  border-radius: 24px;
  padding: 12px 8px;
  margin: 14px 0;
}
.mobile-step-content .addon-list-mobile-title {
  color: #ffd600;
  font-weight: bold;
  margin-bottom: 8px;
}
.mobile-step-content .addon-link-item-mobile {
  font-size: 0.9em;
  word-break: break-all;
  text-align: left;
  direction: ltr;
  padding: 6px;
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-step-content .addon-link-item-mobile:last-child {
  border-bottom: none;
}
.mobile-step-content .copy-addon-link {
  flex-shrink: 0;
  margin-left: 8px;
}

.premium-card .card-header {
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 24px;
  overflow: hidden;
}
.premium-card .product-pic {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 24px;
  background: #181b1f;
}

@media (max-width: 600px) {
  .premium-card .product-pic {
    height: 150px; /* היה 100px, עכשיו גבוה יותר */
    border-radius: 24px;
  }
}

.premium-card .card-body {
  flex: 1;
  padding: 0.5rem 1rem; /* Reduced vertical padding */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Changed from center */
}
.premium-card .card-body .header {
  background: none;
  padding: 0;
  margin: 0;
  min-height: unset;
  border-radius: 24px;
}
.premium-card .order-btn {
  border-radius: 24px;
}
@media (max-width: 600px) {
  .premium-card .order-btn {
    border-radius: 24px;
  }
}

.premium-card .card-body .header {
  /* ... existing styles ... */
  display: flex;
  flex-direction: column;
}
.premium-card .header h3 {
  order: 1;
  font-size: 1.5rem; /* Increased font size */
  margin-bottom: 0.5rem;
}
.premium-card .duration-buttons {
  order: 2;
}
.premium-card .price {
  order: 3;
  margin-top: 0; /* Removed margin */
}
/* ... existing css ... */

.price-row {
  display: flex;
  gap: 1rem;
}
.price-row.promo-row {
  margin-bottom: 0.25rem; /* Small space below promo price */
}
.price-row.regular-row {
  justify-content: center;
  align-items: baseline;
}

@media (max-width: 600px) {
  .premium-card.not-logged-in {
    min-height: 420px;
    height: auto;
  }
}

.premium-card .card-header .product-pic {
  width: 100%;
  height: 180px; /* גובה קבוע */
  object-fit: fill; /* המאפיין המרכזי */
  border-radius: 24px; /* שמירה על פינות עגולות רק בחלק העליון */
}

.site-logo {
  height: 50px; /* גובה ברירת מחדל למחשב */
  width: auto;
  transition: transform 0.2s ease-in-out;
}

.site-logo:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .site-logo {
    height: 40px; /* גובה למובייל */
  }

  .header-row {
    position: relative;
    justify-content: space-between;
  }

  .logo-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    /* The flex-grow was preventing centering */
    flex-grow: 0 !important; 
  }

  #mobile-menu-btn {
    z-index: 1; /* Ensure button is clickable */
  }

  /* שינוי כיוון החיצים במובייל - כלפי מטה */
  .kpi-comparison {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
  }
  
  .kpi-comparison .original-price,
  .kpi-comparison .our-price {
    flex: none !important;
  }
  
  .kpi-comparison > div[style*="color: #45e0f9"] {
    transform: rotate(270deg) !important;
    font-size: 1.5em !important;
    margin: 4px 0 !important;
  }
}

/* Hide original arrows */
.testimonial-arrow {
  display: none;
}

.testimonials-carousel {
  display: flex;
  width: max-content; /* Allow content to overflow */
  animation: marquee 30s linear infinite;
}

.testimonials-carousel:hover {
  animation-play-state: paused; /* Pause animation on hover */
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(50%); /* Scroll by half the width (since content is duplicated) */
  }
}

.testimonial-card {
  /* ... existing styles ... */
  flex-shrink: 0; /* Prevent cards from shrinking */
  width: 280px; /* Give cards a fixed width */
  margin: 0 10px;
}

@media (max-width: 768px) {
  .testimonial-card {
    width: 240px;
  }
  
  .testimonials-carousel {
      animation-duration: 25s;
  }
}

/* ... existing css ... */

/* --- Custom: Smaller & Centered Add Testimonial Button --- */
#open-testimonial-modal {
  min-width: 110px !important;
  width: 120px !important;
  max-width: 140px !important;
  font-size: 1em !important;
  padding: 6px 0 !important;
  margin: 0 auto 18px auto !important;
  display: block !important;
  border-radius: 24px !important;
  box-shadow: 0 2px 8px 0 #0002;
}

@media (max-width: 600px) {
  #open-testimonial-modal {
    width: 50vw !important;
    min-width: 0 !important;
    max-width: 150px !important;
    font-size: 0.92em !important;
    padding: 6px 0 !important;
    margin-bottom: 14px !important;
  }
}

.status-select.status-inprogress {
    border-color: var(--bs-primary);
    box-shadow: 0 0 8px -2px var(--bs-primary);
}

.status-select.status-followup {
    border-color: var(--bs-warning);
    box-shadow: 0 0 8px -2px var(--bs-warning);
}

.status-select.status-done {
    border-color: var(--bs-success);
    box-shadow: 0 0 8px -2px var(--bs-success);
}

.dashboard-stat-card.dash-pending .stat-icon {
    background-color: #ffc10730;
    color: #ffc107;
}

.dashboard-stat-card.dash-followup .stat-icon {
    background-color: #fd7e1430;
    color: #fd7e14;
}

.dashboard-stat-card.dash-paid .stat-icon {
    background-color: #0085c330;
    color: #0085c3;
}

/* עיצוב כפתור ביטול הזמנה (נעים יותר + תואם glass + מלבני) */
.cancel-order-btn,
.cancel-order-btn-mobile {
  margin: 0;
  padding: 0.5em 1em;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.9em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

/* כשהכפתור יושב עם מחלקת העיצוב הכללית – נעדן אותו */
.cheapsubs-btn-delete-outline.cancel-order-btn-mobile,
.cheapsubs-btn-delete-outline.cancel-order-btn {
  background: rgba(220, 53, 69, 0.10) !important;
  border: 1px solid rgba(220, 53, 69, 0.55) !important;
  color: #ffb3b8 !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(10px);
}

.cheapsubs-btn-delete-outline.cancel-order-btn-mobile:hover,
.cheapsubs-btn-delete-outline.cancel-order-btn:hover,
.cheapsubs-btn-delete-outline.cancel-order-btn-mobile:focus,
.cheapsubs-btn-delete-outline.cancel-order-btn:focus {
  background: rgba(220, 53, 69, 0.16) !important;
  border-color: rgba(220, 53, 69, 0.75) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.cancel-order-disabled {
  color: #bdeaff;
  font-size: 0.8em;
  font-style: italic;
  padding: 0.35em 1em;
  border-radius: 24px;
  background: rgba(189, 234, 255, 0.1);
  display: inline-block;
}

.cancel-order-disabled-mobile {
  color: #bdeaff;
  font-size: 0.85em;
  font-style: normal;
  padding: 0.5em 1em;
  border-radius: 24px;
  background: rgba(189, 234, 255, 0.08);
  border: 1px solid rgba(189, 234, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* עיצוב מיוחד לטקסט "הזמנה בוטלה" (לא צועק) */
.cancel-order-disabled-mobile.canceled-status,
.cancel-order-disabled.canceled-status {
  background: rgba(220, 53, 69, 0.14);
  border: 1px solid rgba(220, 53, 69, 0.55);
  color: #ffb3b8;
  font-weight: 600;
}

/* עיצוב עמודות הטבלה */
.status-column-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  justify-content: center;
}

.cancel-column-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 32px;
}

/* עיצוב מחיר חנות */
.store-price-crossed {
  text-decoration: line-through;
  color: #FFD700;
}

/* עיצוב סה"כ חיסכון */
.total-savings-green {
  color: #24c969;
  font-weight: bold;
}

/* עיצוב דשבורד מובייל */
.dashboard-mobile-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: rgba(0, 133, 195, 0.05);
  border: 1px solid rgba(0, 133, 195, 0.2);
  border-radius: 24px;
  margin-top: 12px;
}

.dashboard-mobile-title {
  color: #bdeaff;
  font-size: 0.9em;
  margin-bottom: 6px;
  text-align: center;
  font-weight: 500;
}

.dashboard-mobile-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-mobile-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: rgba(0, 133, 195, 0.1);
  border-radius: 24px;
  border: 1px solid rgba(0, 133, 195, 0.3);
}

.dashboard-mobile-icon {
  font-size: 1.1em;
}

.dashboard-mobile-label {
  flex: 1;
  color: #ffffff;
  font-size: 0.85em;
  font-weight: 500;
}

.dashboard-mobile-value {
  color: #24c969;
  font-size: 0.8em;
  font-weight: 500;
}

/* עיצוב דשבורד דסקטופ */
.dashboard-desktop-container {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  padding: 15px;
  background: rgba(0, 133, 195, 0.08);
  border: 1px solid rgba(0, 133, 195, 0.2);
  border-radius: 24px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
}

.dashboard-desktop-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 133, 195, 0.1);
  border-radius: 24px;
  min-width: 140px;
  border: 1px solid rgba(0, 133, 195, 0.3);
  backdrop-filter: blur(5px);
  text-align: center;
}

.dashboard-desktop-icon {
  font-size: 1.3em;
}

.dashboard-desktop-label {
  color: #bdeaff;
  font-size: 0.8em;
  margin-bottom: 3px;
}

.dashboard-desktop-value {
  font-size: 1.2em;
  font-weight: bold;
}

/* סטטוס הזמנה - עיצוב נעים ומודרני (glass + מלבני) */
.status-badge.status-waiting,
.status-badge.status-followup,
.status-badge.status-inprogress,
.status-badge.status-done,
.status-badge.status-canceled {
  padding: 0.5em 0.9em;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.9em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.status-badge.status-waiting {
  background: rgba(13, 202, 240, 0.10);
  border: 1px solid rgba(69, 224, 249, 0.55);
  color: #bdeaff;
}
.status-badge.status-followup {
  background: rgba(255, 193, 7, 0.10);
  border: 1px solid rgba(255, 224, 102, 0.55);
  color: #ffe066;
}
.status-badge.status-inprogress {
  background: rgba(13, 110, 253, 0.10);
  border: 1px solid rgba(33, 229, 255, 0.45);
  color: #bdeaff;
}
.status-badge.status-done {
  background: rgba(36, 201, 105, 0.10);
  border: 1px solid rgba(36, 201, 105, 0.55);
  color: #24c969;
}
.status-badge.status-canceled {
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.55);
  color: #ffb3b8;
}

.cancel-order-btn,
.cancel-order-btn-mobile {
  display: inline-flex !important;
  width: 170px !important;
}

.cancel-order-btn:hover,
.cancel-order-btn:focus,
.cancel-order-btn-mobile:hover,
.cancel-order-btn-mobile:focus {
  outline: none;
}

@media (min-width: 651px) {
  .cancel-order-btn {
    width: 130px !important;
  }
}

/* --- עיצוב ואנימציה מודרניים לתפריט המובייל --- */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 30000;
  pointer-events: none;
}

.mobile-drawer.open {
  display: block;
  pointer-events: auto;
}

.mobile-drawer .drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 29999;
  pointer-events: auto;
}

.mobile-drawer .drawer-content {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 85vw;
  max-width: 360px;
  z-index: 30000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow-y: auto;
  /* Must be opaque */
  background: #0d1117 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.mobile-drawer.open .drawer-content {
  transform: translateX(0);
}

.mobile-drawer .drawer-content {
  /* Legacy styling kept, but overridden above for opacity */
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 #1a1d2940;
  border: 1.5px solid rgba(80, 200, 255, 0.13);
  animation: drawerFadeIn 0.6s cubic-bezier(.4,1.3,.6,1);
  position: relative;
  overflow: hidden;
}

@keyframes drawerFadeIn {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

/* רקע דינאמי של נקודות זוהרות */
.mobile-drawer .drawer-content::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, #00eaff44 0, #00eaff00 40%),
              radial-gradient(circle at 80% 70%, #50b5fc33 0, #50b5fc00 40%),
              radial-gradient(circle at 60% 10%, #fff2 0, #fff0 30%);
  animation: bgMove 8s linear infinite alternate;
  z-index: 0;
}
@keyframes bgMove {
  0% { background-position: 20% 30%, 80% 70%, 60% 10%; }
  100% { background-position: 30% 40%, 70% 60%, 65% 20%; }
}

.drawer-contact-btn {
  background: linear-gradient(90deg, #00eaff 60%, #50b5fc 100%);
  color: #232a3b;
  font-weight: bold;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 #00eaff55;
  transition: box-shadow 0.2s, background 0.2s;
  border: none;
  position: relative;
  z-index: 2;
}
.drawer-contact-btn:hover {
  background: linear-gradient(90deg, #50b5fc 60%, #00eaff 100%);
  box-shadow: 0 4px 24px 0 #00eaff99;
}

.drawer-category-header, .drawer-user-name {
  font-weight: 700;
  color: #00eaff;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  z-index: 2;
}
.drawer-category-header:hover, .drawer-user-name:hover {
  color: #fff;
}

.drawer-category-header::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #00eaff, #50b5fc);
  border-radius: 24px;
  margin-left: 8px;
  box-shadow: 0 0 8px #00eaff80;
}

.drawer-user-greeting {
  background: rgba(36, 56, 90, 0.25);
  border-radius: 24px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px 0 #163c5255;
  z-index: 2;
}

.mobile-drawer .drawer-content {
  /* ... existing code ... */
  /* overflow: hidden; */
  overflow-y: auto;
}

/* Toast notifications */
#cs-toast-container {
	position: fixed;
	top: 18px;
	left: 18px;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.cs-toast {
	min-width: 220px;
	max-width: 360px;
	padding: 12px 14px;
	border-radius: 24px;
	color: #0a1b0a;
	background: #a8f0c6; /* ירקרק עדין */
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity .25s ease, transform .25s ease;
	font-weight: 600;
	direction: rtl;
	text-align: right;
}
.cs-toast.success { background: #a8f0c6; color: #083b19; }
.cs-toast.error { background: #ffd0d0; color: #5a0b0b; }
.cs-toast.info { background: #d9ecff; color: #0b305a; }
.cs-toast.show { opacity: 1; transform: translateY(0); }

/* וולידציה לשדות טופס */
.modal-field input[style*="border-color: #ff4444"] {
  border: 2px solid #ff4444 !important;
  box-shadow: 0 0 8px rgba(255, 68, 68, 0.3) !important;
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.modal-field input:focus {
  border-color: #00eaff !important;
  box-shadow: 0 0 8px rgba(0, 234, 255, 0.3) !important;
}

.modal-field input[placeholder*="05"] {
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
  text-align: right;
  direction: rtl;
}

/* Order Edit Form Styles */
.order-edit-form {
    max-height: 70vh;
    overflow-y: auto;
    padding: 10px;
}

.order-edit-form .edit-section {
    background: rgba(0, 133, 195, 0.05);
    border: 1px solid rgba(0, 133, 195, 0.2);
    border-radius: 24px;
    padding: 15px;
    margin-bottom: 15px;
}

.order-edit-form .edit-section h5 {
    color: #0085c3;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 133, 195, 0.3);
    padding-bottom: 8px;
}

.order-edit-form label {
    color: #bdeaff;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.order-edit-form .form-control,
.order-edit-form .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 24px;
    padding: 8px 12px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.order-edit-form .form-control:focus,
.order-edit-form .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #0085c3;
    box-shadow: 0 0 0 0.2rem rgba(0, 133, 195, 0.25);
    outline: none;
}

.order-edit-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
    opacity: 0.7;
}

.order-edit-form textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* סגנונות נוספים לרשימות נפתחות */
.order-edit-form .form-select option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 8px;
}

.order-edit-form .form-select option:hover {
    background: #0085c3;
}

/* סגנון לכפתורי מספר */
.order-edit-form input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.order-edit-form input[type="number"]::-webkit-outer-spin-button,
.order-edit-form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .order-edit-form {
        max-height: 60vh;
        padding: 5px;
    }
    
    .order-edit-form .edit-section {
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .order-edit-form .edit-section h5 {
        font-size: 1em;
        margin-bottom: 10px;
    }
    
    .order-edit-form .form-control,
    .order-edit-form .form-select {
        font-size: 0.85em;
        padding: 6px 10px;
    }
}

/* עיצוב ספציפי ל-alert במודאל ההתחברות - הבטחת קריאות */
#auth-modal-box .alert {
  color: #1a1a1a !important; /* טקסט שחור קריא */
  background: linear-gradient(120deg, rgba(245, 248, 250, 0.95) 70%, rgba(235, 240, 245, 0.9) 100%) !important;
  border: 1.2px solid rgba(80, 200, 255, 0.4) !important;
  border-radius: 24px !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}

#auth-modal-box .alert-info {
  color: #1a1a1a !important; /* טקסט שחור קריא */
  background: linear-gradient(120deg, rgba(245, 248, 250, 0.95) 70%, rgba(235, 240, 245, 0.9) 100%) !important;
  border: 1.2px solid rgba(80, 200, 255, 0.4) !important;
}

#auth-modal-box .alert a {
  color: #0066cc !important;
  text-decoration: underline;
}

#auth-modal-box .alert strong,
#auth-modal-box .alert b {
  color: #000000 !important;
}

.product-badges-row .timer-badge {
  gap: 1px !important;
  min-width: 100px !important;
  padding: 2px 4px !important;
  height: 24px !important;
  font-size: 0.7em !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

/* עיצוב טוגל נקודות נאמנות */
.loyalty-toggle-switch {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(69, 224, 249, 0.5);
  border-radius: 24px;
  width: 50px;
  height: 25px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.loyalty-toggle-switch:checked {
  background-color: #45e0f9;
  border-color: #45e0f9;
}

.loyalty-toggle-switch::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 17px;
  height: 17px;
  background-color: white;
  border-radius: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.loyalty-toggle-switch:checked::before {
  transform: translateX(25px);
}

.loyalty-toggle-switch:hover {
  border-color: #45e0f9;
  box-shadow: 0 0 8px rgba(69, 224, 249, 0.3);
}

.loyalty-toggle-switch:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(69, 224, 249, 0.2);
}

/* עיצוב אזור תכנית נאמנות */
.loyalty-program-intro {
  border-radius: 24px !important;
  margin-bottom: 24px !important;
}

.loyalty-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.loyalty-feature-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(69, 224, 249, 0.2);
  transition: all 0.3s ease;
}

.loyalty-feature-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(69, 224, 249, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(69, 224, 249, 0.15);
}

.feature-icon {
  font-size: 2.5em;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Responsive design for loyalty program */
@media (max-width: 768px) {
  .loyalty-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .loyalty-feature-card {
    padding: 16px;
  }
  
  .feature-icon {
    font-size: 2em;
  }
}

/* עיצוב לחצן נקודות נאמנות במובייל */
@media (max-width: 768px) {
  .loyalty-toggle-section {
    text-align: center !important;
  }
}

/* עיצוב טאבים לרישום */
.register-tab {
  border-radius: 24px !important;
}

.register-tab.active {
  background: rgba(69, 224, 249, 0.1) !important;
  border-bottom: 2px solid #45e0f9 !important;
  color: #45e0f9 !important;
}

.register-tab:not(.active) {
  background: transparent !important;
  border-bottom: 2px solid transparent !important;
  color: #cccccc !important;
}

.register-tab:not(.active):hover {
  background: rgba(69, 224, 249, 0.05) !important;
  color: #45e0f9 !important;
}

.register-tab-content {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* עיצוב responsive לטופס רישום עם טאבים */
@media (max-width: 768px) {
  .register-tab {
    padding: 10px 12px !important;
    font-size: 14px !important;
  }
  
  .register-tab-content {
    padding: 16px 0 !important;
  }
  
  /* התאמת כפתור Google במובייל */
  .auth-modal-form button[style*="min-width: 200px"] {
    min-width: 180px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
  }
  
  /* התאמת תיבת הסכמה במובייל */
  .privacy-consent-section {
    margin: 12px 0 !important;
    padding: 10px !important;
  }
  
  .privacy-consent-section label {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }
}

/* עיצוב responsive למובייל קטן מאוד */
@media (max-width: 480px) {
  #auth-modal-box {
    max-width: 98vw;
    padding: 12px 4vw 8px 4vw;
    max-height: 95vh;
  }
  
  .register-tab {
    padding: 8px 10px !important;
    font-size: 13px !important;
  }
  
  .auth-modal-form button[style*="min-width: 200px"] {
    min-width: 160px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
  }
  
  .privacy-consent-section {
    margin: 8px 0 !important;
    padding: 8px !important;
  }
  
  .privacy-consent-section label {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }
  
  .privacy-consent-section .form-text {
    font-size: 11px !important;
  }
}

/* Smart Filters - Placeholder styling */
.smart-search-input-mobile::placeholder,
.smart-search-input-desktop::placeholder {
  color: #c0c0c0 !important;
  opacity: 0.7 !important;
}

.smart-search-input-mobile::-webkit-input-placeholder,
.smart-search-input-desktop::-webkit-input-placeholder {
  color: #c0c0c0 !important;
  opacity: 0.7 !important;
}

.smart-search-input-mobile::-moz-placeholder,
.smart-search-input-desktop::-moz-placeholder {
  color: #c0c0c0 !important;
  opacity: 0.7 !important;
}

.smart-search-input-mobile:-ms-input-placeholder,
.smart-search-input-desktop:-ms-input-placeholder {
  color: #c0c0c0 !important;
  opacity: 0.7 !important;
}

/* Smart Filters - Dropdown options styling */
.smart-filters-container select option {
  background-color: #1a2332 !important;
  color: #ffffff !important;
  padding: 8px !important;
}

.smart-filters-container select option:hover,
.smart-filters-container select option:checked,
.smart-filters-container select option:focus {
  background-color: #0085c3 !important;
  color: #ffffff !important;
}

/* עיצוב כללי לכל ה-selects בסינון */
#smart-status-filter,
#smart-year-filter,
#smart-month-filter {
  background-color: rgba(26, 35, 50, 0.8) !important;
  color: #ffffff !important;
  border: 1px solid rgba(69, 224, 249, 0.3) !important;
}

#smart-status-filter:focus,
#smart-year-filter:focus,
#smart-month-filter:focus {
  background-color: rgba(26, 35, 50, 0.9) !important;
  border-color: #45e0f9 !important;
  box-shadow: 0 0 0 0.2rem rgba(69, 224, 249, 0.25) !important;
  outline: none !important;
}
/* עיצוב yellow_black - משנה רק צבע רקע, צבע טקסט, צבע border ו-border-radius */
.timer-badge.yellow_black {
  background: #FFC107;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 24px;
}
.timer-badge.red_black {
  background: #000000;
  color: #ffffff;
  border: 1px solid #fc0000;
  border-radius: 24px;
}

/* =========================================
   MOBILE DRAWER & RESPONSIVE TWEAKS
   ========================================= */

/* Mobile Drawer (Glass Style) */
#drawer-product-nav {
  /* background: rgba(15, 23, 42, 0.95) !important; */
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-right: 1px solid var(--glass-border) !important;
}

#drawer-product-nav .category-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

#drawer-product-nav .category-title {
  color: var(--glass-accent) !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding-right: 16px;
  margin-bottom: 12px;
}

#drawer-product-nav .product-link {
  display: flex !important;
  align-items: center;
  padding: 12px 16px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
  border-radius: 24px;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

#drawer-product-nav .product-link:active,
#drawer-product-nav .product-link:focus {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #fff !important;
}

#drawer-product-nav .product-nav-icon-mobile {
  width: 24px;
  height: 24px;
  margin-left: 12px;
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.3));
}

/* Mobile Responsiveness for Glass Cards - Stronger Overrides */
@media (max-width: 768px) {
  .premium-card {
    border-radius: 24px !important;
    margin-bottom: 24px !important;
    background: linear-gradient(120deg, rgba(32, 50, 70, 0.52) 70%, rgba(25, 28, 32, 0.34) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  .premium-card .card-body {
    padding: 20px 16px !important;
  }

  .premium-card h3 {
    font-size: 1.3rem !important;
  }

  /* Optimize plans list for touch */
  .plan-item {
    flex-wrap: wrap;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px !important;
    min-height: auto; /* Allow auto height */
  }

  .plan-item .plan-name {
    font-size: 1rem !important;
    margin-bottom: 0; /* Remove bottom margin in row layout */
  }
  
  .plan-item .current-price {
    font-size: 1.1rem !important;
  }
  
  /* Ensure price stays on the left (or end) even on mobile, unless wrapped */
  .plan-item > div:last-child {
    margin-right: auto; /* Push to the left in RTL */
    text-align: left;
  }
  .swal2-popup.cheapsubs-glass {
    width: 90% !important;
    padding: 1em !important;
  }
}

/* Sidebar safe area */

#sidebar-product-nav {
  padding-bottom: 120px !important; 
}

/* =========================================
   NEW INTRO SECTION REDESIGN
   ========================================= */

.intro-content {
  /* padding: 40px 20px; */
  /* max-width: 800px; */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.intro-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0;
  line-height: 1.1;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  width: 100%;
  text-align: center;
}

.intro-subtitle {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
  width: 100%;
  text-align: center;
}

.intro-text {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
  text-align: center !important;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Action Buttons Container moved to removed */
.intro-actions {
  display: none; /* Hide if element still exists */
}

/* Features Row */
.intro-features-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Primary Glow Button */
.btn-glow-primary {
  width: 100%;
  padding: 16px;
  border-radius: 24px;
  border: none;
  background: #00d2ff;
  color: #0f172a;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-glow-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px rgba(0, 210, 255, 0.7);
  background: #38bdf8;
}

/* Secondary Glass Button */
.btn-glass-secondary {
  width: 100%;
  padding: 16px;
  border-radius: 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-glass-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Feature Pills */
.feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 24px;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.feature-pill:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

.feature-pill .icon {
  font-size: 1.1em;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .intro-title {
    font-size: 2.5rem;
  }
  
  .intro-subtitle {
    font-size: 2rem;
  }
  
  .intro-actions {
    width: 100%;
  }
  
  .intro-features-row {
    gap: 10px;
  }
  
  .feature-pill {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* =========================================
   KPI GRID STYLES (Migrated from index.html)
   ========================================= */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
  padding: 0 2px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .kpi-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 24px !important;
    padding: 0 8px !important;
    align-items: stretch;
  }
}

.kpi-card-modern {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 40, 60, 0.85) 0%, rgba(20, 28, 45, 0.95) 100%);
  border: 1.5px solid rgba(69, 224, 249, 0.15);
  border-radius: 24px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(15px) saturate(130%);
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.kpi-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #45e0f9, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.kpi-card-modern:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(69, 224, 249, 0.4);
  box-shadow: 0 12px 40px rgba(69, 224, 249, 0.2), 0 0 30px rgba(69, 224, 249, 0.1);
}

.kpi-card-modern:hover::before {
  opacity: 1;
}

.kpi-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  position: relative;
  min-height: 40px;
}

.kpi-card-icon {
  font-size: 1.8em;
  filter: drop-shadow(0 2px 8px rgba(69, 224, 249, 0.4));
  flex-shrink: 0;
}

.kpi-card-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1em;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  flex: 1;
  text-align: center;
}


.kpi-price-comparison {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(20, 30, 50, 0.6) 100%);
  border-radius: 24px;
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
}

.kpi-price-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  text-align: center;
}

.kpi-price-row:last-child {
  margin-bottom: 0;
}

.kpi-price-label {
  font-size: 0.9em;
  color: #adb5bd;
  font-weight: 500;
  text-align: center;
}

.kpi-price-value {
  font-size: 1.3em;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.kpi-price-original {
  color: #ff6b6b;
  text-decoration: line-through;
  opacity: 0.8;
  font-size: 1.2em !important;
}

.kpi-price-our {
  color: #4ade80;
  font-size: 1.6em !important;
}

.kpi-price-monthly {
  color: #45e0f9;
  font-size: 1em;
  margin-top: 4px;
  opacity: 0.9;
  text-align: center;
}

.kpi-arrow {
  color: #45e0f9;
  font-size: 1.6em;
  opacity: 0.6;
  filter: drop-shadow(0 2px 4px rgba(69, 224, 249, 0.3));
}

.kpi-price-row.arrow-row {
  margin: 2px 0 !important;
}

.kpi-savings-modern {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, rgba(34, 197, 94, 0.15) 100%);
  border-radius: 24px;
  padding: 14px;
  border: 1.5px solid rgba(74, 222, 128, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(74, 222, 128, 0.15);
  flex-shrink: 0;
}

.kpi-savings-amount-modern {
  color: #4ade80;
  font-weight: 700;
  font-size: 1.15em;
  text-shadow: 0 2px 8px rgba(74, 222, 128, 0.4);
}

.kpi-savings-percent-modern {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: white;
  font-weight: 700;
  font-size: 0.9em;
  padding: 6px 12px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(74, 222, 128, 0.3);
}

@media (max-width: 767px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 0 4px !important;
  }
  
  .kpi-card-modern {
    min-height: 200px;
    height: 100%;
    padding: 12px;
    border-radius: 24px;
  }
  
  .kpi-card-header {
    min-height: 36px;
    margin-bottom: 12px;
  }
  
  .kpi-card-modern:hover {
    transform: translateY(-4px) scale(1.01);
  }
  
  .kpi-card-header {
    margin-bottom: 12px;
    gap: 6px;
  }
  
  .kpi-card-icon {
    font-size: 1.4em;
  }
  
  .kpi-card-title {
    font-size: 0.9em;
    letter-spacing: 0.3px;
  }
  
  .kpi-price-comparison {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 24px;
    min-height: 120px;
  }
  
  .kpi-price-row {
    margin-bottom: 6px;
  }
  
  .kpi-price-label {
    font-size: 0.85em;
  }
  
  .kpi-price-value {
    font-size: 1.15em;
  }
  
  .kpi-price-our {
    font-size: 1.4em !important;
  }
  
  .kpi-price-monthly {
    font-size: 0.9em;
    margin-top: 6px;
  }
  
  .kpi-arrow {
    font-size: 1.4em;
  }
  
  .kpi-price-row.arrow-row {
    margin: 2px 0 !important;
  }
  
  .kpi-savings-modern {
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border-radius: 24px;
  }
  
  .kpi-savings-amount-modern {
    font-size: 0.95em;
    text-align: center;
  }
  
  .kpi-savings-percent-modern {
    font-size: 0.8em;
    padding: 5px 10px;
    align-self: center;
  }
}

@media (max-width: 480px) {
  .kpi-grid {
    gap: 6px !important;
    padding: 0 2px !important;
  }
  
  .kpi-card-modern {
    padding: 10px;
    min-height: 180px;
    height: 100%;
  }
  
  .kpi-card-header {
    min-height: 32px;
    margin-bottom: 10px;
  }
  
  .kpi-card-icon {
    font-size: 1.2em;
  }
  
  .kpi-card-title {
    font-size: 0.85em;
  }
  
  .kpi-price-comparison {
    padding: 8px;
    min-height: 110px;
  }
  
  .kpi-price-label {
    font-size: 0.8em;
  }
  
  .kpi-price-value {
    font-size: 1.1em;
  }
  
  .kpi-price-our {
    font-size: 1.3em !important;
  }
  
  .kpi-price-monthly {
    font-size: 0.85em;
  }
  
  .kpi-arrow {
    font-size: 1.3em;
  }
  
  .kpi-price-row.arrow-row {
    margin: 2px 0 !important;
  }
  
  .kpi-savings-modern {
    padding: 8px;
  }
  
  .kpi-savings-amount-modern {
    font-size: 0.85em;
  }
  
  .kpi-savings-percent-modern {
    font-size: 0.75em;
    padding: 4px 8px;
  }
}

@media (max-width: 360px) {
  .kpi-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  
  .kpi-card-modern {
    max-width: 100%;
  }
}

/* =========================================
   HOW IT WORKS & RISK LEVELS (Modern Glass)
   ========================================= */

.glass-step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.glass-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  opacity: 0.5;
}

.glass-step-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 
              0 0 20px rgba(79, 172, 254, 0.2);
}

.step-glow {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(79,172,254,0.4) 0%, rgba(0,0,0,0) 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.glass-step-card:hover .step-glow {
  opacity: 1;
}

.step-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-step-card:hover .step-icon-wrapper {
  transform: rotate(15deg) scale(1.1);
  border-color: rgba(79, 172, 254, 0.5);
}

.step-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.step-number {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: #000;
  font-weight: 800;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 242, 254, 0.4);
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.step-desc {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
  max-width: 90%;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* Borderless Overrides for Sections */
#risk-levels-section {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Responsive Refinements */
@media (max-width: 768px) {
  /* Mobile: Compact & Readable */
  #how-it-works-section,
  #risk-levels-section {
    margin-top: 1.5rem !important;
    padding: 1rem !important;
  }

  .section-title {
    font-size: 1.8rem !important;
    margin-bottom: 2rem !important;
  }

  .steps-grid,
  .risk-grid {
    gap: 1.5rem !important;
  }

  /* Compact Step Cards */
  .glass-step-card {
    padding: 1.25rem;
    border-radius: 24px;
    flex-direction: row; /* Horizontal layout on mobile */
    text-align: right; /* RTL alignment */
    align-items: flex-start;
    gap: 1rem;
    min-height: auto;
  }

  .glass-step-card:hover {
    transform: none; /* Disable lift on mobile to save space/performance */
  }

  .step-icon-wrapper {
    width: 50px;
    height: 50px;
    margin-bottom: 0; /* Reset bottom margin for horizontal layout */
    flex-shrink: 0;
  }

  .step-icon {
    font-size: 1.5rem;
  }

  .step-number {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    top: -2px;
    right: -2px;
  }

  .step-content {
    flex: 1;
  }

  .step-title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    text-align: right;
  }

  .step-desc {
    font-size: 0.9rem;
    max-width: 100%;
    text-align: right;
    line-height: 1.4;
  }

  /* Compact Risk Levels */
  .risk-text-item {
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
  }

  .risk-text-item h4 {
    font-size: 1.2rem !important;
    margin-bottom: 0.5rem !important;
  }

  .risk-text-item p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }
  
  .risk-text-item .badge {
    padding: 4px 10px !important;
    font-size: 0.8rem !important;
  }
}

@media (min-width: 1200px) {
  /* Desktop: Better Spacing */
  .steps-grid {
    gap: 3rem !important;
    max-width: 1000px; /* Slight constrain for better readability */
    margin: 0 auto;
  }
  
  .glass-step-card {
    padding: 2.5rem;
  }
}

/* Desktop Layout Layout (Side by Side) */
@media (min-width: 1200px) {
  .info-sections-wrapper {
    display: flex;
    justify-content: center;
    gap: 3rem; /* Increased gap for better separation */
    /* max-width: 1200px; Tighter width for better centering */
    margin: 4rem auto; /* More vertical breathing room */
    padding: 0 2rem;
    align-items: stretch; /* Make them same height */
  }

  .info-sections-wrapper > div {
    flex: 1;
    margin-top: 0 !important;
    max-width: 100% !important;
    /* Center content vertically inside the panel */
    display: flex !important;
    flex-direction: column !important;
    /* justify-content: center !important;  */
  }
}

/* =========================================================
   Force "לפרטים והזמנה" button hover/tap style (turquoise)
   Some sections redefine `.order-btn` multiple times, so we
   add a final, high-priority override at the end of the file.
   ========================================================= */
button.order-btn,
a.order-btn,
.order-btn {
  border-radius: 24px !important;
  /* Prevent pseudo-elements from being painted behind parents */
  isolation: isolate;
}

.order-btn:not(.disabled-btn):hover,
.order-btn:not(.disabled-btn):active,
.order-btn:not(.disabled-btn):focus-visible {
  background: linear-gradient(90deg, #00eaff 0%, #45e0f9 100%) !important;
  color: #051322 !important;
  border-color: #45e0f9 !important;
  box-shadow: 0 2px 14px #00eaff33 !important;
}

/* =========================================================
   Product page: subtle static blue background (no scroll motion)
   Applied when JS adds `product-page` to <body>.
   ========================================================= */
body.product-page {
  position: relative;
  isolation: isolate;
  background-color: #050b16;
  background-image:
    radial-gradient(1100px 700px at 15% 18%, rgba(0, 234, 255, 0.12), transparent 62%),
    radial-gradient(900px 600px at 85% 35%, rgba(0, 133, 195, 0.16), transparent 62%),
    radial-gradient(800px 520px at 50% 92%, rgba(80, 181, 252, 0.10), transparent 65%),
    linear-gradient(135deg, #050b14 0%, #060b12 45%, #040913 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Subtle product illustrations on product page (random positions via CSS vars) */
body.product-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* WhatsApp-like subtle wallpaper feel */
  opacity: 0.022;
  mix-blend-mode: soft-light;
  filter: grayscale(100%) saturate(0%) contrast(0.55) brightness(1.85);
  background-repeat: no-repeat;
  background-image:
    url("../img/icons/netflix.png"),
    url("../img/icons/SP.png"),
    url("../img/icons/youtube_logo.png"),
    url("../img/icons/duolingo.png"),
    url("../img/icons/canva-logo.png"),
    url("../img/icons/gpt.png"),
    url("../img/icons/ps.png"),
    url("../img/icons/stremio.png"),
    url("../img/icons/zoom_93927.webp"),
    url("../img/icons/soundcloud_logo.png"),
    url("../img/icons/dazn-logo.png"),
    url("../img/icons/deezer-logo.png");
  background-size:
    54px,
    52px,
    56px,
    52px,
    54px,
    52px,
    50px,
    54px,
    50px,
    52px,
    52px,
    50px;
  background-position:
    var(--cs-art-x1, 12%) var(--cs-art-y1, 10%),
    var(--cs-art-x2, 82%) var(--cs-art-y2, 14%),
    var(--cs-art-x3, 18%) var(--cs-art-y3, 58%),
    var(--cs-art-x4, 86%) var(--cs-art-y4, 62%),
    var(--cs-art-x5, 52%) var(--cs-art-y5, 18%),
    var(--cs-art-x6, 40%) var(--cs-art-y6, 78%),
    var(--cs-art-x7, 70%) var(--cs-art-y7, 84%),
    var(--cs-art-x8, 10%) var(--cs-art-y8, 84%),
    var(--cs-art-x9, 90%) var(--cs-art-y9, 32%),
    var(--cs-art-x10, 8%) var(--cs-art-y10, 34%),
    var(--cs-art-x11, 60%) var(--cs-art-y11, 52%),
    var(--cs-art-x12, 36%) var(--cs-art-y12, 28%);
}

/* Ensure content stays above wallpaper (without affecting layout) */
body.product-page header,
body.product-page main,
body.product-page footer,
body.product-page .product-details-wrapper,
body.product-page #product-details {
  /* position: relative; */
  z-index: 1;
}

/* Remove the solid black panel on the product page and let the page background show through */
body.product-page main.container.glass {
  background: transparent !important;
  box-shadow: none !important;
}

body.product-page #product-details {
  /* Remove the main frame around the whole product page */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* FINAL overrides (placed at end so nothing overrides them) */
body.product-page .product-detail-title {
  margin-bottom: 10px !important;
  min-height: 0 !important;
}

body.product-page .product-detail-back {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #eaf8ff !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 24px !important;
  box-shadow: 0 2px 10px rgba(0, 234, 255, 0.14) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

body.product-page .product-detail-back:hover,
body.product-page .product-detail-back:focus-visible {
  background: linear-gradient(90deg, #00eaff 0%, #45e0f9 100%) !important;
  color: #051322 !important;
  border-color: rgba(69, 224, 249, 0.55) !important;
  box-shadow: 0 2px 14px rgba(0, 234, 255, 0.25) !important;
}

/* Links inside the order form / supplier policy blocks */
body.product-page .cs-form-link,
body.product-page .product-detail-form a,
body.product-page #product-supplier-policy a {
  color: #45e0f9 !important;
  text-decoration: underline;
  text-decoration-color: rgba(69, 224, 249, 0.55);
  text-underline-offset: 2px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

body.product-page .cs-form-link:hover,
body.product-page .product-detail-form a:hover,
body.product-page #product-supplier-policy a:hover {
  color: #00eaff !important;
  text-decoration-color: rgba(0, 234, 255, 0.75);
}

body.product-page .cs-form-link:focus-visible,
body.product-page .product-detail-form a:focus-visible,
body.product-page #product-supplier-policy a:focus-visible {
  outline: 2px solid rgba(0, 234, 255, 0.35);
  outline-offset: 2px;
  border-radius: 10px;
}

