/**
 * GetAiPro - Comprehensive Theme & UI/UX Pro Max Stylesheet
 * Fully self-contained, responsive CSS with OLED Dark Mode, Glassmorphism, Iran Sans Typography, and WooCommerce System.
 */

/* fonts.css is enqueued via wp_enqueue_style in functions.php for maximum performance */

/* -------------------------------------------------------------
   1. CSS RESET & GLOBAL BASE
   ------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-iransans: 'IRANSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bg-deep: #030712;
  --bg-surface: #080c14;
  --bg-card: #0d121f;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.35);
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
}

html {
  font-family: var(--font-iransans);
  direction: rtl;
  text-align: right;
  background-color: #030712;
  color: #f1f5f9;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  overflow-x: clip;
  max-width: 100%;
}

body {
  background-color: #030712;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.14), transparent 50%),
    radial-gradient(circle at 100% 30%, rgba(139, 92, 246, 0.08), transparent 35%),
    radial-gradient(circle at 0% 70%, rgba(6, 182, 212, 0.08), transparent 35%),
    radial-gradient(circle at 50% 100%, rgba(99, 102, 241, 0.12), transparent 40%);
  background-attachment: fixed;
  color: #f1f5f9;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  line-height: 1.6;
}

/* Fluid Announcement Bar on Mobile */
.announcement-fluid-text {
  font-size: clamp(8px, 2.52vw, 11.5px) !important;
  white-space: nowrap !important;
  letter-spacing: -0.015em;
  display: inline-block;
}
.announcement-fluid-badge {
  font-size: clamp(8px, 2.1vw, 10px) !important;
  white-space: nowrap !important;
}

/* -------------------------------------------------------------
   2. SVG & MEDIA SIZING SAFEGUARDS
   ------------------------------------------------------------- */
svg {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  flex-shrink: 0;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* -------------------------------------------------------------
   3. SPACING & SIZING UTILITIES
   ------------------------------------------------------------- */
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-auto { width: auto; }
.h-auto { height: auto; }

.w-2 { width: 0.5rem; height: 0.5rem; }
.w-2\.5 { width: 0.625rem; height: 0.625rem; }
.w-3 { width: 0.75rem; height: 0.75rem; }
.w-3\.5 { width: 0.875rem; height: 0.875rem; }
.w-4 { width: 1rem; height: 1rem; }
.w-5 { width: 1.25rem; height: 1.25rem; }
.w-6 { width: 1.5rem; height: 1.5rem; }
.w-8 { width: 2rem; height: 2rem; }
.w-10 { width: 2.5rem; height: 2.5rem; }
.w-12 { width: 3rem; height: 3rem; }
.w-14 { width: 3.5rem; height: 3.5rem; }
.w-16 { width: 4rem; height: 4rem; }
.w-60 { width: 15rem; }
.w-72 { width: 18rem; }
.w-96 { width: 24rem; }

.h-2 { height: 0.5rem; }
.h-2\.5 { height: 0.625rem; }
.h-3 { height: 0.75rem; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-64 { height: 16rem; }
.h-96 { height: 24rem; }

.min-h-\[60vh\] { min-height: 60vh; }
.min-h-\[70vh\] { min-height: 70vh; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.max-h-\[90vh\] { max-height: 90vh; }

.mx-auto { margin-left: auto; margin-right: auto; }
.ml-1\.5 { margin-left: 0.375rem; }
.mr-1 { margin-right: 0.25rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-28 { margin-top: 7rem; }

.p-0\.5 { padding: 0.125rem; }
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }

.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-24 { padding-bottom: 6rem; }

/* -------------------------------------------------------------
   4. FLEXBOX & GRID SYSTEM (RESPONSIVE)
   ------------------------------------------------------------- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.shrink-0 { flex-shrink: 0; }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.space-y-2\.5 > * + * { margin-top: 0.625rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* -------------------------------------------------------------
   5. POSITIONING & Z-INDEX
   ------------------------------------------------------------- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-5 { top: 1.25rem; }
.top-28 { top: 7rem; }
.top-1\/3 { top: 33.333333%; }
.bottom-0 { bottom: 0; }
.bottom-6 { bottom: 1.5rem; }
.bottom-10 { bottom: 2.5rem; }
.left-0 { left: 0; }
.left-5 { left: 1.25rem; }
.left-6 { left: 1.5rem; }
.left-1\/2 { left: 50%; }
.right-0 { right: 0; }
.right-6 { right: 1.5rem; }
.-right-32 { right: -8rem; }
.-left-32 { left: -8rem; }
.-top-1\.5 { top: -0.375rem; }
.-top-3\.5 { top: -0.875rem; }
.-top-20 { top: -5rem; }
.-left-20 { left: -5rem; }
.-right-1\.5 { right: -0.375rem; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.-translate-x-1\/2 { transform: translateX(50%); }
.translate-y-0 { transform: translateY(0); }
.translate-y-4 { transform: translateY(1rem); }
.-z-10 { z-index: -10; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* -------------------------------------------------------------
   6. TYPOGRAPHY & TEXT UTILITIES
   ------------------------------------------------------------- */
.font-sans, .font-iransans { font-family: var(--font-iransans); }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.text-\[10px\] { font-size: 0.625rem; line-height: 0.875rem; }
.text-\[11px\] { font-size: 0.6875rem; line-height: 1rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-relaxed { line-height: 1.625; }

.text-white { color: #ffffff; }
.text-white\/10 { color: rgba(255, 255, 255, 0.1); }
.text-slate-100 { color: #f1f5f9; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-indigo-200 { color: #c7d2fe; }
.text-indigo-300 { color: #a5b4fc; }
.text-indigo-400 { color: #818cf8; }
.text-cyan-300 { color: #67e8f9; }
.text-cyan-400 { color: #22d3ee; }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-400 { color: #34d399; }
.text-amber-300 { color: #fcd34d; }
.text-rose-300 { color: #fda4af; }
.text-\[\#10a37f\] { color: #10a37f; }
.text-\[\#d97706\] { color: #d97706; }
.text-\[\#06b6d4\] { color: #06b6d4; }

/* -------------------------------------------------------------
   7. BACKGROUNDS, BORDERS & SHADOWS
   ------------------------------------------------------------- */
.bg-\[\#030712\] { background-color: #030712; }
.bg-\[\#05070e\] { background-color: #05070e; }
.bg-\[\#080c14\] { background-color: #080c14; }
.bg-\[\#080c14\]\/80 { background-color: rgba(8, 12, 20, 0.8); }
.bg-\[\#090d16\] { background-color: #090d16; }
.bg-\[\#0d121f\] { background-color: #0d121f; }
.bg-black\/40 { background-color: rgba(0, 0, 0, 0.4); }
.bg-black\/80 { background-color: rgba(0, 0, 0, 0.8); }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/\[0\.01\] { background-color: rgba(255, 255, 255, 0.01); }
.bg-white\/\[0\.02\] { background-color: rgba(255, 255, 255, 0.02); }
.bg-white\/\[0\.03\] { background-color: rgba(255, 255, 255, 0.03); }
.bg-white\/\[0\.04\] { background-color: rgba(255, 255, 255, 0.04); }
.bg-white\/\[0\.05\] { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/\[0\.08\] { background-color: rgba(255, 255, 255, 0.08); }
.bg-indigo-500\/10 { background-color: rgba(99, 102, 241, 0.1); }
.bg-indigo-500\/20 { background-color: rgba(99, 102, 241, 0.2); }
.bg-indigo-500\/30 { background-color: rgba(99, 102, 241, 0.3); }
.bg-indigo-600 { background-color: #4f46e5; }
.bg-indigo-600\/10 { background-color: rgba(79, 70, 229, 0.1); }
.bg-indigo-950\/20 { background-color: rgba(30, 27, 75, 0.2); }
.bg-indigo-950\/30 { background-color: rgba(30, 27, 75, 0.3); }
.bg-indigo-950\/40 { background-color: rgba(30, 27, 75, 0.4); }
.bg-cyan-500\/10 { background-color: rgba(6, 182, 212, 0.1); }
.bg-cyan-500\/20 { background-color: rgba(6, 182, 212, 0.2); }
.bg-emerald-400 { background-color: #34d399; }
.bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.1); }
.bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.2); }
.bg-emerald-950\/20 { background-color: rgba(6, 78, 59, 0.2); }
.bg-purple-500\/10 { background-color: rgba(168, 85, 247, 0.1); }
.bg-amber-500\/10 { background-color: rgba(245, 158, 11, 0.1); }
.bg-amber-500\/20 { background-color: rgba(245, 158, 11, 0.2); }
.bg-rose-400 { background-color: #fb7185; }
.bg-slate-700\/50 { background-color: rgba(51, 65, 85, 0.5); }
.bg-\[\#10a37f\]\/10 { background-color: rgba(16, 163, 127, 0.1); }
.bg-\[\#d97706\]\/10 { background-color: rgba(217, 119, 6, 0.1); }
.bg-\[\#06b6d4\]\/10 { background-color: rgba(6, 182, 212, 0.1); }

/* Borders */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-style: solid; }

.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/\[0\.05\] { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/\[0\.06\] { border-color: rgba(255, 255, 255, 0.06); }
.border-white\/\[0\.07\] { border-color: rgba(255, 255, 255, 0.07); }
.border-white\/\[0\.08\] { border-color: rgba(255, 255, 255, 0.08); }
.border-white\/\[0\.1\] { border-color: rgba(255, 255, 255, 0.1); }
.border-indigo-400\/30 { border-color: rgba(129, 140, 248, 0.3); }
.border-indigo-500\/20 { border-color: rgba(99, 102, 241, 0.2); }
.border-indigo-500\/30 { border-color: rgba(99, 102, 241, 0.3); }
.border-indigo-500\/40 { border-color: rgba(99, 102, 241, 0.4); }
.border-cyan-500\/20 { border-color: rgba(6, 182, 212, 0.2); }
.border-cyan-500\/30 { border-color: rgba(6, 182, 212, 0.3); }
.border-emerald-500 { border-color: #10b981; }
.border-emerald-500\/20 { border-color: rgba(16, 185, 129, 0.2); }
.border-emerald-500\/30 { border-color: rgba(16, 185, 129, 0.3); }
.border-emerald-500\/40 { border-color: rgba(16, 185, 129, 0.4); }
.border-purple-500\/20 { border-color: rgba(168, 85, 247, 0.2); }
.border-amber-500\/20 { border-color: rgba(245, 158, 11, 0.2); }
.border-amber-500\/30 { border-color: rgba(245, 158, 11, 0.3); }
.border-rose-500\/40 { border-color: rgba(244, 63, 94, 0.4); }
.border-slate-600\/30 { border-color: rgba(71, 85, 105, 0.3); }
.border-\[\#090d16\] { border-color: #090d16; }
.border-\[\#10a37f\]\/20 { border-color: rgba(16, 163, 127, 0.2); }
.border-\[\#d97706\]\/20 { border-color: rgba(217, 119, 6, 0.2); }
.border-\[\#06b6d4\]\/20 { border-color: rgba(6, 182, 212, 0.2); }

/* Rounded */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-\[10px\] { border-radius: 10px; }

/* Blur & Effects */
.blur-3xl { filter: blur(64px); }
.blur-\[120px\] { filter: blur(120px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }

/* Shadows */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7); }
.shadow-none { box-shadow: none !important; }
.shadow-glow-sm { box-shadow: 0 0 15px -3px rgba(99, 102, 241, 0.25); }
.shadow-indigo-500\/20 { box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.2); }
.shadow-indigo-500\/30 { box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.3); }

/* Transitions */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 200ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 200ms; }
.transition-transform { transition-property: transform; transition-duration: 200ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.rotate-180 { transform: rotate(180deg); }

/* Gradients */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-tr { background-image: linear-gradient(to top right, var(--tw-gradient-stops)); }

.from-indigo-400 { --tw-gradient-from: #818cf8; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(129, 140, 248, 0)); }
.from-indigo-500 { --tw-gradient-from: #6366f1; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(99, 102, 241, 0)); }
.from-indigo-600 { --tw-gradient-from: #4f46e5; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(79, 70, 229, 0)); }
.from-indigo-950\/20 { --tw-gradient-from: rgba(30, 27, 75, 0.2); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(30, 27, 75, 0)); }
.from-indigo-950\/30 { --tw-gradient-from: rgba(30, 27, 75, 0.3); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(30, 27, 75, 0)); }
.from-indigo-500\/15 { --tw-gradient-from: rgba(99, 102, 241, 0.15); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(99, 102, 241, 0)); }

.via-purple-300 { --tw-gradient-stops: var(--tw-gradient-from), #d8b4fe, var(--tw-gradient-to, rgba(216, 180, 254, 0)); }
.via-purple-500\/5 { --tw-gradient-stops: var(--tw-gradient-from), rgba(168, 85, 247, 0.05), var(--tw-gradient-to, rgba(168, 85, 247, 0)); }

.to-transparent { --tw-gradient-to: transparent; }
.to-cyan-300 { --tw-gradient-to: #67e8f9; }
.to-cyan-400 { --tw-gradient-to: #22d3ee; }
.to-purple-500 { --tw-gradient-to: #a855f7; }
.to-\[\#0d121f\] { --tw-gradient-to: #0d121f; }

.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.text-transparent { color: transparent; }

/* -------------------------------------------------------------
   8. MEDIA QUERIES (RESPONSIVENESS BREAKPOINTS)
   ------------------------------------------------------------- */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row !important; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sm\:w-auto { width: auto !important; }
  .sm\:w-72 { width: 18rem !important; }
  .sm\:px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  .sm\:p-8 { padding: 2rem !important; }
  .sm\:p-10 { padding: 2.5rem !important; }
  .sm\:p-12 { padding: 3rem !important; }
  .sm\:text-sm { font-size: 0.875rem !important; }
  .sm\:text-base { font-size: 1rem !important; }
  .sm\:text-xl { font-size: 1.25rem !important; }
  .sm\:text-3xl { font-size: 1.875rem !important; }
  .sm\:text-4xl { font-size: 2.25rem !important; }
  .sm\:text-6xl { font-size: 3.75rem !important; line-height: 1.15 !important; }
  .sm\:items-center { align-items: center !important; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:hidden { display: none !important; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .md\:col-span-2 { grid-column: span 2 / span 2 !important; }
  .md\:pt-28 { padding-top: 7rem !important; }
  .md\:pb-36 { padding-bottom: 9rem !important; }
  .md\:flex-row { flex-direction: row !important; }
  .md\:items-center { align-items: center !important; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
  .lg\:col-span-7 { grid-column: span 7 / span 7 !important; }
  .lg\:col-span-5 { grid-column: span 5 / span 5 !important; }
  .lg\:px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
  .lg\:text-7xl { font-size: 4.5rem !important; line-height: 1.1 !important; }
  .lg\:block { display: block !important; }
}

/* -------------------------------------------------------------
   9. PRO MAX GLASSMORPHISM & INTERACTIVE UI
   ------------------------------------------------------------- */
.glass-panel {
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), inset 0 1px 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-card {
  background: rgba(13, 18, 31, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 25px -5px rgba(99, 102, 241, 0.25);
}

.spotlight-card {
  position: relative;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.15), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.badge-pulse {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.badge-pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 0.5rem;
  border-radius: 9999px;
  background-color: #10b981;
  position: relative;
}

.badge-pulse-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background-color: #10b981;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 25px -5px rgba(99, 102, 241, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  box-shadow: 0 0 35px -3px rgba(99, 102, 241, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Persian Form Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  width: 100%;
  background: rgba(13, 18, 31, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 0.75rem !important;
  padding: 0.875rem 1.25rem !important;
  color: #f8fafc !important;
  font-family: var(--font-iransans) !important;
  font-size: 0.9375rem !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  direction: rtl !important;
  text-align: right !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25), 0 0 15px -3px rgba(99, 102, 241, 0.3) !important;
}

/* -------------------------------------------------------------
   10. WOOCOMMERCE DARK GLASSMORPHISM STYLING
   ------------------------------------------------------------- */
.woocommerce {
  color: #f1f5f9;
  direction: rtl;
}

.woocommerce-page .entry-content {
  width: 100%;
}

/* Clearfix Resets for WooCommerce Legacy Floats */
.woocommerce::before,
.woocommerce::after,
.woocommerce-page::before,
.woocommerce-page::after,
.woocommerce-cart .cart-collaterals::before,
.woocommerce-cart .cart-collaterals::after {
  display: table;
  content: "";
  clear: both;
}

/* -------------------------------------------------------------
   WooCommerce Modern Notices (OLED Dark Glassmorphism)
   ------------------------------------------------------------- */
.woocommerce-notices-wrapper {
  width: 100% !important;
  margin-bottom: 1.5rem !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 1rem 1.25rem !important;
  margin-bottom: 1.5rem !important;
  border-radius: 1rem !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #f1f5f9 !important;
  list-style: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  font-size: 0.875rem !important;
  font-family: var(--font-iransans) !important;
  line-height: 1.6 !important;
}

.woocommerce-message {
  border-color: rgba(16, 185, 129, 0.35) !important;
  background: rgba(6, 78, 59, 0.3) !important;
  color: #a7f3d0 !important;
}

.woocommerce-info {
  border-color: rgba(6, 182, 212, 0.35) !important;
  background: rgba(8, 51, 68, 0.3) !important;
  color: #a5f3fc !important;
}

.woocommerce-error {
  border-color: rgba(244, 63, 94, 0.35) !important;
  background: rgba(76, 5, 25, 0.3) !important;
  color: #fecdd3 !important;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
  color: #a5b4fc !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button,
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button {
  float: left !important;
  margin: 0 !important;
  padding: 0.4rem 1.25rem !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  border-radius: 0.75rem !important;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px -3px rgba(99, 102, 241, 0.4) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover,
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-error a.button:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
  box-shadow: 0 0 25px -2px rgba(99, 102, 241, 0.6) !important;
  transform: translateY(-1px) !important;
}

.woocommerce-message a.restore-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: auto !important;
  padding: 0.4rem 1.15rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  border-radius: 0.75rem !important;
  background: rgba(16, 185, 129, 0.2) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  color: #6ee7b7 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.woocommerce-message a.restore-item:hover {
  background: rgba(16, 185, 129, 0.35) !important;
  border-color: rgba(16, 185, 129, 0.7) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35) !important;
}

/* -------------------------------------------------------------
   Shop Table & Cart Contents
   ------------------------------------------------------------- */
.woocommerce table.shop_table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin-bottom: 1.5rem !important;
}

.woocommerce table.shop_table th {
  background: transparent !important;
  color: #94a3b8 !important;
  padding: 0.75rem 1rem !important;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  text-align: right !important;
}

.woocommerce table.shop_table td {
  padding: 1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #f1f5f9 !important;
  text-align: right !important;
  vertical-align: middle !important;
}

.woocommerce table.shop_table tr:last-child td {
  border-bottom: none !important;
}

.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal,
.woocommerce table.shop_table th.product-price,
.woocommerce table.shop_table th.product-subtotal {
  white-space: nowrap !important;
}

@media (max-width: 768px) {
  .woocommerce table.shop_table_responsive tr td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: left !important;
    padding: 0.75rem 0.75rem !important;
  }
  .woocommerce table.shop_table_responsive tr td::before {
    content: attr(data-title);
    font-weight: 600;
    color: #94a3b8;
    font-size: 0.75rem;
  }
  .woocommerce table.shop_table_responsive tr td.product-remove {
    justify-content: flex-end !important;
  }
  .woocommerce table.shop_table_responsive tr td.product-remove::before {
    display: none !important;
  }
}

/* Quantity Input */
.woocommerce .quantity .qty {
  width: 3.5rem !important;
  height: 2.25rem !important;
  text-align: center !important;
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 0.625rem !important;
  color: #f1f5f9 !important;
  font-family: var(--font-iransans) !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
}

.woocommerce .quantity .qty:focus {
  outline: none !important;
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25) !important;
}

/* -------------------------------------------------------------
   Form Inputs & Labels (Checkout, Account, Login)
   ------------------------------------------------------------- */
.woocommerce form .form-row {
  margin-bottom: 1.25rem !important;
  padding: 0 !important;
}

.woocommerce form .form-row label {
  display: block !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: #cbd5e1 !important;
  margin-bottom: 0.375rem !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form select {
  width: 100% !important;
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0.75rem !important;
  color: #f1f5f9 !important;
  padding: 0.625rem 1rem !important;
  font-family: var(--font-iransans) !important;
  font-size: 0.8125rem !important;
  transition: all 0.2s ease !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form select:focus {
  outline: none !important;
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
  background: rgba(0, 0, 0, 0.6) !important;
}

@media (min-width: 640px) {
  .woocommerce form .form-row-first {
    float: right !important;
    width: 48% !important;
    margin-left: 4% !important;
    margin-right: 0 !important;
  }
  .woocommerce form .form-row-last {
    float: left !important;
    width: 48% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.woocommerce form .form-row-wide {
  clear: both !important;
  width: 100% !important;
  float: none !important;
}

/* -------------------------------------------------------------
   WooCommerce Buttons
   ------------------------------------------------------------- */
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
.woocommerce .checkout-button,
.woocommerce #place_order {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.875rem 1.5rem !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  font-family: var(--font-iransans) !important;
  line-height: 1.6 !important;
  text-align: center !important;
  border-radius: 0.75rem !important;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 0 20px -3px rgba(99, 102, 241, 0.5) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  white-space: normal !important;
  word-break: normal !important;
}

.woocommerce .wc-proceed-to-checkout .checkout-button {
  width: 100% !important;
  display: flex !important;
  min-height: 3.25rem !important;
  font-size: 0.9375rem !important;
  line-height: 1.6 !important;
}

.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover,
.woocommerce .checkout-button:hover,
.woocommerce #place_order:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
  box-shadow: 0 0 30px -2px rgba(99, 102, 241, 0.7) !important;
  transform: translateY(-1px) !important;
}

/* Secondary Button Modifier in Cart */
.woocommerce .coupon button.button,
.woocommerce button[name="update_cart"] {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
  box-shadow: none !important;
  padding: 0.625rem 1.25rem !important;
  font-size: 0.75rem !important;
  line-height: 1.5 !important;
}

.woocommerce .coupon button.button:hover,
.woocommerce button[name="update_cart"]:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  transform: none !important;
}

/* -------------------------------------------------------------
   WooCommerce Persian Price & Currency Typography
   Guarantees Persian digits, proper RTL alignment, and no wrapping
   ------------------------------------------------------------- */
.woocommerce-Price-amount,
.woocommerce-Price-amount bdi {
  display: inline-flex !important;
  align-items: baseline !important;
  flex-direction: row !important;
  direction: rtl !important;
  unicode-bidi: isolate !important;
  white-space: nowrap !important;
  font-family: var(--font-iransans), system-ui, sans-serif !important;
  font-variant-numeric: tabular-nums !important;
  vertical-align: baseline !important;
}

.woocommerce-Price-currencySymbol {
  display: inline-block !important;
  font-size: 0.8em !important;
  font-weight: 600 !important;
  color: #818cf8 !important;
  margin-right: 0.35rem !important;
  margin-left: 0 !important;
  white-space: nowrap !important;
  vertical-align: baseline !important;
}

.woocommerce del .woocommerce-Price-amount,
.woocommerce del .woocommerce-Price-amount bdi {
  color: #64748b !important;
  font-size: 0.85em !important;
  text-decoration: line-through !important;
}

.woocommerce ins {
  text-decoration: none !important;
  color: #38bdf8 !important;
  font-weight: 700 !important;
}

.cart-subtotal .woocommerce-Price-amount,
.order-total .woocommerce-Price-amount {
  font-weight: 700 !important;
}

.order-total .woocommerce-Price-amount {
  font-size: 1.25rem !important;
  color: #a5b4fc !important;
}

.order-total .woocommerce-Price-currencySymbol {
  font-size: 0.75em !important;
  color: #38bdf8 !important;
}

/* -------------------------------------------------------------
   Checkout Payment Box & Order Review
   ------------------------------------------------------------- */
.woocommerce-checkout #payment {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.woocommerce-checkout #payment ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
  border: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
  margin-bottom: 1.5rem !important;
  padding: 1.25rem 1.5rem !important;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 27, 75, 0.5) 100%) !important;
  border: 1.5px solid rgba(99, 102, 241, 0.3) !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.woocommerce-checkout #payment ul.payment_methods li label {
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  color: #f1f5f9 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
}

.woocommerce-checkout #payment div.payment_box {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 0.75rem !important;
  padding: 0.875rem 1.25rem !important;
  margin-top: 0.875rem !important;
  color: #cbd5e1 !important;
  font-size: 0.8125rem !important;
  line-height: 1.6 !important;
}

.woocommerce-checkout #payment div.payment_box::before {
  display: none !important;
}

.woocommerce-checkout #place_order {
  width: 100% !important;
  padding: 1.1rem 2rem !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  border-radius: 1rem !important;
  margin-top: 0.5rem !important;
  margin-bottom: 1rem !important;
  cursor: pointer !important;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #7c3aed 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 0 #312e81, 0 10px 24px -2px rgba(99, 102, 241, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.woocommerce-checkout #place_order:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 0 #312e81, 0 14px 28px -2px rgba(99, 102, 241, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
  filter: brightness(1.05) !important;
}

.woocommerce-checkout #place_order:active {
  transform: translateY(2px) !important;
  box-shadow: 0 1px 0 #312e81, 0 4px 10px rgba(99, 102, 241, 0.4) !important;
}


.woocommerce-privacy-policy-text {
  font-size: 0.6875rem !important;
  color: #64748b !important;
  margin-bottom: 1rem !important;
  line-height: 1.6 !important;
}

/* -------------------------------------------------------------
   My Account Robust Flexbox Layout (Zero Crunching / Full Width)
   ------------------------------------------------------------- */
.woocommerce-account .woocommerce {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 2rem !important;
  width: 100% !important;
  align-items: flex-start !important;
}

.woocommerce-account .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-account .woocommerce > .woocommerce-message,
.woocommerce-account .woocommerce > .woocommerce-info,
.woocommerce-account .woocommerce > .woocommerce-error {
  width: 100% !important;
  flex: 0 0 100% !important;
  float: none !important;
}

/* Navigation Sidebar */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none !important;
  width: 100% !important;
  flex: 0 0 100% !important;
  background: rgba(13, 18, 31, 0.7) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 1.5rem !important;
  padding: 1.25rem !important;
  height: fit-content !important;
  box-sizing: border-box !important;
}

@media (min-width: 1024px) {
  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 280px !important;
    flex: 0 0 280px !important;
  }
}

.woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.375rem !important;
}

.woocommerce-MyAccount-navigation li a {
  display: flex !important;
  align-items: center !important;
  padding: 0.625rem 0.875rem !important;
  border-radius: 0.75rem !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.woocommerce-MyAccount-navigation li a:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.woocommerce-MyAccount-navigation li.is-active a {
  background: rgba(99, 102, 241, 0.15) !important;
  color: #a5b4fc !important;
  border-color: rgba(99, 102, 241, 0.35) !important;
  font-weight: 600 !important;
}

/* My Account Content Container */
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  flex: 1 1 0% !important;
  min-width: 0 !important; /* CRITICAL: Prevents flex child from crunching */
  box-sizing: border-box !important;
}

@media (min-width: 1024px) {
  .woocommerce-account .woocommerce-MyAccount-content {
    width: calc(100% - 280px - 2rem) !important;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #030712; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

/* -------------------------------------------------------------
   Gemini Pro 18-Month Comparison Matrix & Quota Styling
   ------------------------------------------------------------- */
.comp-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: right;
}

.comp-table th,
.comp-table td {
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.comp-table tr.row-difference {
  background: rgba(99, 102, 241, 0.04);
  transition: background 0.2s ease;
}

.comp-table tr.row-difference:hover {
  background: rgba(99, 102, 241, 0.08);
}

.comp-table tr.row-shared:hover {
  background: rgba(255, 255, 255, 0.02);
}

.comp-cluster-header td {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Table Header - Solid Static Header, 0px Top Gap, Zero Overlap */
.comp-table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.comp-sticky-header {
  position: static !important;
}

.comp-sticky-header th {
  position: static !important;
  background-color: #0b0f19 !important;
  border-bottom: 2px solid rgba(99, 102, 241, 0.35);
  box-shadow: none !important;
  padding-top: 1.125rem;
  padding-bottom: 1.125rem;
}

/* -------------------------------------------------------------
   3D ACTION BUTTONS FOR COMPARISON MATRIX & CONVERSION
   ------------------------------------------------------------- */
.comp-table-footer {
  background: rgba(10, 15, 28, 0.95);
  border-top: 2px solid rgba(99, 102, 241, 0.25);
}

.comp-table-footer td {
  padding-top: 1.75rem !important;
  padding-bottom: 1.75rem !important;
  border-bottom: none !important;
}

/* Base 3D Tactile Button */
.btn-3d-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 0.875rem;
  font-family: var(--font-iransans);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Advanced 3D Button - Vivid Violet/Indigo with 3D Depth Layer */
.btn-3d-pro {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #7c3aed 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 4px 0 #312e81,
    0 8px 20px -2px rgba(99, 102, 241, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-3d-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, transparent 100%);
  border-top-left-radius: 0.8rem;
  border-top-right-radius: 0.8rem;
  pointer-events: none;
}

.btn-3d-pro::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-3d-pro:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 0 #312e81,
    0 14px 28px -2px rgba(99, 102, 241, 0.65),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  filter: brightness(1.06);
}

.btn-3d-pro:hover::after {
  left: 140%;
}

.btn-3d-pro:active {
  transform: translateY(3px);
  box-shadow: 
    0 1px 0 #312e81,
    0 4px 10px rgba(99, 102, 241, 0.4),
    inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Economic 3D Button - Sleek Dark Slate with Tactile Shadow */
.btn-3d-eco {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 
    0 4px 0 #030712,
    0 8px 18px -4px rgba(0, 0, 0, 0.6),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.btn-3d-eco::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  border-top-left-radius: 0.8rem;
  border-top-right-radius: 0.8rem;
  pointer-events: none;
}

.btn-3d-eco:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 
    0 6px 0 #030712,
    0 12px 22px -4px rgba(99, 102, 241, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
}

.btn-3d-eco:active {
  transform: translateY(3px);
  box-shadow: 
    0 1px 0 #030712,
    0 4px 10px rgba(0, 0, 0, 0.5),
    inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Mini 3D buttons for Sticky Header */
.btn-3d-mini-pro {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  padding: 0.45rem 0.95rem;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 3px 0 #312e81, 0 6px 14px rgba(99, 102, 241, 0.4);
  transition: all 0.15s ease;
  user-select: none;
  cursor: pointer;
}
.btn-3d-mini-pro:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 #312e81, 0 8px 18px rgba(99, 102, 241, 0.55);
}
.btn-3d-mini-pro:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #312e81;
}

.btn-3d-mini-eco {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  padding: 0.45rem 0.95rem;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 3px 0 #030712, 0 6px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.15s ease;
  user-select: none;
  cursor: pointer;
}
.btn-3d-mini-eco:hover {
  transform: translateY(-1px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 4px 0 #030712, 0 8px 14px rgba(99, 102, 241, 0.2);
}
.btn-3d-mini-eco:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #030712;
}

/* Unclipped Pricing Card for Floating Badges */
.pricing-card-unclipped {
  overflow: visible !important;
}

.card-floating-badge {
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  right: 1.5rem;
  z-index: 25;
  white-space: nowrap;
}

/* -------------------------------------------------------------
   11. HERO FLOATING AI CONSTELLATION & 60FPS LEVITATION
   ------------------------------------------------------------- */
.orbit-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Floating Constellation Nodes - Fixed Safe Coordinates Outside Card */
.orbit-node-floating {
  position: absolute;
  z-index: 30 !important;
  pointer-events: auto;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.1s ease;
}

.orbit-node-floating:hover {
  z-index: 40 !important;
}

.orbit-node-floating .orbit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  background: rgba(13, 18, 31, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
  font-weight: 700;
  color: #f8fafc;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.7), 0 0 16px -2px rgba(99, 102, 241, 0.3);
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.orbit-node-floating:hover .orbit-pill {
  transform: scale(1.08);
  border-color: #38bdf8;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.5), 0 10px 30px rgba(0, 0, 0, 0.8);
  color: #ffffff;
}

/* 60fps Gentle Floating Levitation Keyframes */
@keyframes levitate-1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

@keyframes levitate-2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(7px); }
}

@keyframes levitate-3 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.float-levitate-1 {
  animation: levitate-1 4.5s ease-in-out infinite;
}

.float-levitate-2 {
  animation: levitate-2 5.5s ease-in-out infinite 0.7s;
}

.float-levitate-3 {
  animation: levitate-3 5s ease-in-out infinite 1.4s;
}

/* Central Card */
.orbit-center-card {
  position: relative;
  z-index: 10 !important;
  width: 205px;
  padding: 1.5rem 1.25rem;
  border-radius: 1.5rem;
  background: rgba(11, 16, 28, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 30px rgba(99, 102, 241, 0.25);
  text-align: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.orbit-center-card:hover {
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.95), 0 0 45px rgba(99, 102, 241, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .float-levitate-1,
  .float-levitate-2,
  .float-levitate-3 {
    animation: none !important;
  }
}

/* Hero Strikethrough & Comparison Cards */
.hero-strikethrough-card {
  background: rgba(15, 20, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-strikethrough-line {
  position: relative;
  display: inline-block;
}

.hero-strikethrough-line::after {
  content: '';
  position: absolute;
  left: -5%;
  right: -5%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, #ef4444, #f43f5e);
  transform: rotate(-3deg);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.hero-special-card {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.45), 0 0 25px rgba(79, 70, 229, 0.3);
}

.hero-feature-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.75rem;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.hero-feature-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(99, 102, 241, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .orbit-track-1,
  .orbit-track-2,
  .orbit-pill {
    animation: none !important;
  }
}

/* Quota Badges */
.badge-quota-yes {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 15px -3px rgba(16, 185, 129, 0.2);
}

.badge-quota-no {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  color: #64748b;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-quota-neutral {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.badge-feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* -------------------------------------------------------------
   11.6 HOW IT WORKS 3D STAGE & LUXURY INTERACTIVE CARDS
   ------------------------------------------------------------- */
.step-3d-stage {
  perspective: 1200px;
  perspective-origin: center center;
}

.step-track-line {
  position: absolute;
  top: 3.5rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.4) 0%, rgba(16, 185, 129, 0.4) 33%, rgba(99, 102, 241, 0.4) 66%, rgba(168, 85, 247, 0.4) 100%);
  z-index: 1;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

.step-3d-card {
  position: relative;
  background: linear-gradient(160deg, rgba(15, 22, 38, 0.8) 0%, rgba(10, 15, 28, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 1.5rem;
  padding: 1.75rem 1.5rem;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: default;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-3d-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 70%);
  pointer-events: none;
}

.step-3d-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 35px -5px rgba(99, 102, 241, 0.25);
}

.step-3d-layer {
  transform: translateZ(30px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-3d-card:hover .step-3d-layer {
  transform: translateZ(40px);
}

/* 3D Numerals - Large, Vibrant & Deep Contrast */
.step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  line-height: 1;
  font-weight: 900;
  font-family: var(--font-iransans);
  letter-spacing: -0.05em;
  user-select: none;
  -webkit-user-select: none;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.step-3d-card:hover .step-num-badge {
  transform: scale(1.08);
}

.step-num-cyan {
  background-image: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  filter: drop-shadow(0 4px 12px rgba(6, 182, 212, 0.45));
}

.step-num-emerald {
  background-image: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.45));
}

.step-num-indigo {
  background-image: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.45));
}

.step-num-purple {
  background-image: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
  filter: drop-shadow(0 4px 12px rgba(168, 85, 247, 0.45));
}

/* -------------------------------------------------------------
   12. LIGHT MODE / DAY THEME STYLING (Sun & Moon Toggle)
   High-Contrast Luxury Vercel/Apple Day Theme for GetAiPro
   ------------------------------------------------------------- */
html:not(.dark),
html.light {
  color-scheme: light;
}

html:not(.dark) body,
html.light body {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

/* Background Aurora Softening */
html:not(.dark) .fixed.pointer-events-none.-z-10,
html.light .fixed.pointer-events-none.-z-10 {
  opacity: 0.3 !important;
}

/* Light Header & Navigation */
html:not(.dark) header.sticky,
html.light header.sticky {
  background-color: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05) !important;
}

html:not(.dark) nav a,
html.light nav a {
  color: #334155 !important;
  font-weight: 600 !important;
}

html:not(.dark) nav a:hover,
html.light nav a:hover {
  color: #4f46e5 !important;
}

html:not(.dark) header .font-iransans,
html.light header .font-iransans {
  color: #0f172a !important;
}

/* Top Notification Bar in Light Mode */
html:not(.dark) .bg-indigo-950\/40,
html.light .bg-indigo-950\/40 {
  background-color: #e0e7ff !important;
  border-bottom: 1px solid #c7d2fe !important;
  color: #3730a3 !important;
  font-weight: 600 !important;
}

html:not(.dark) .bg-indigo-950\/40 span.bg-indigo-500\/20,
html.light .bg-indigo-950\/40 span.bg-indigo-500\/20 {
  background-color: #4f46e5 !important;
  color: #ffffff !important;
  border-color: #4338ca !important;
}

/* Header Buttons: Cart & Theme Toggle */
html:not(.dark) a[href*="cart"],
html.light a[href*="cart"] {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
}

html:not(.dark) a[href*="cart"]:hover,
html.light a[href*="cart"]:hover {
  background: #e2e8f0 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

html:not(.dark) #theme-toggle,
html.light #theme-toggle {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #4338ca !important;
}

html:not(.dark) #theme-toggle:hover,
html.light #theme-toggle:hover {
  background: #e2e8f0 !important;
  border-color: #94a3b8 !important;
}

/* Light Mode Glass Panels & Cards */
html:not(.dark) .glass-panel,
html.light .glass-panel {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

html:not(.dark) .glass-card,
html.light .glass-card {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05) !important;
}

html:not(.dark) .glass-card:hover,
html.light .glass-card:hover {
  border-color: rgba(99, 102, 241, 0.4) !important;
  box-shadow: 0 15px 35px -10px rgba(99, 102, 241, 0.15) !important;
}

/* Global Light Mode Text Headings & Contrast Typography */
html:not(.dark) h1, html:not(.dark) h2, html:not(.dark) h3, html:not(.dark) h4, html:not(.dark) h5, html:not(.dark) h6,
html.light h1, html.light h2, html.light h3, html.light h4, html.light h5, html.light h6 {
  color: #0f172a !important;
}

html:not(.dark) .text-white,
html.light .text-white {
  color: #0f172a !important;
}

/* Preserve White text strictly inside Solid/Gradient Buttons, Badges and Dark Pill Elements in Light Mode */
html:not(.dark) .btn-primary, html:not(.dark) .btn-primary *,
html.light .btn-primary, html.light .btn-primary *,
html:not(.dark) .btn-3d-pro, html:not(.dark) .btn-3d-pro *,
html.light .btn-3d-pro, html.light .btn-3d-pro *,
html:not(.dark) .btn-3d-mini-pro, html:not(.dark) .btn-3d-mini-pro *,
html.light .btn-3d-mini-pro, html.light .btn-3d-mini-pro *,
html:not(.dark) .product-buy-now-3d-btn, html:not(.dark) .product-buy-now-3d-btn *,
html.light .product-buy-now-3d-btn, html.light .product-buy-now-3d-btn *,
html:not(.dark) .btn-3d-action.btn-3d-pro, html:not(.dark) .btn-3d-action.btn-3d-pro *,
html.light .btn-3d-action.btn-3d-pro, html.light .btn-3d-action.btn-3d-pro *,
html:not(.dark) .hero-special-card, html:not(.dark) .hero-special-card *,
html.light .hero-special-card, html.light .hero-special-card *,
html:not(.dark) .card-floating-badge, html:not(.dark) .card-floating-badge *,
html.light .card-floating-badge, html.light .card-floating-badge *,
html:not(.dark) .checkout-button, html:not(.dark) .checkout-button *,
html.light .checkout-button, html.light .checkout-button *,
html:not(.dark) #place_order, html:not(.dark) #place_order *,
html.light #place_order, html.light #place_order *,
html:not(.dark) .blog-special-offer, html:not(.dark) .blog-special-offer *,
html.light .blog-special-offer, html.light .blog-special-offer *,
html:not(.dark) .blog-reading-badge, html:not(.dark) .blog-reading-badge *,
html.light .blog-reading-badge, html.light .blog-reading-badge *,
html:not(.dark) .blog-cat-pill.active, html:not(.dark) .blog-cat-pill.active *,
html.light .blog-cat-pill.active, html.light .blog-cat-pill.active *,
html:not(.dark) a.shop-btn-buy, html:not(.dark) a.shop-btn-buy *,
html.light a.shop-btn-buy, html.light a.shop-btn-buy *,
html:not(.dark) a.product-cross-sell-btn-buy, html:not(.dark) a.product-cross-sell-btn-buy *,
html.light a.product-cross-sell-btn-buy, html.light a.product-cross-sell-btn-buy *,
html:not(.dark) button[data-comp-filter].active, html:not(.dark) button[data-comp-filter].active *,
html.light button[data-comp-filter].active, html.light button[data-comp-filter].active *,
html:not(.dark) .nav-dropdown-comp-btn, html:not(.dark) .nav-dropdown-comp-btn *,
html.light .nav-dropdown-comp-btn, html.light .nav-dropdown-comp-btn *,
html:not(.dark) .nav-quick-buy-btn:hover, html:not(.dark) .nav-quick-buy-btn:hover *,
html.light .nav-quick-buy-btn:hover, html.light .nav-quick-buy-btn:hover *,
html:not(.dark) .nav-sub-icon-02, html:not(.dark) .nav-sub-icon-02 *,
html.light .nav-sub-icon-02, html.light .nav-sub-icon-02 *,
html:not(.dark) .nav-sub-badge-pro, html:not(.dark) .nav-sub-badge-pro *,
html.light .nav-sub-badge-pro, html.light .nav-sub-badge-pro *,
html:not(.dark) a[class*="hover:text-white"]:hover,
html.light a[class*="hover:text-white"]:hover,
html:not(.dark) button[class*="hover:text-white"]:hover,
html.light button[class*="hover:text-white"]:hover {
  color: #ffffff !important;
}

html:not(.dark) .mobile-blog-badge, html:not(.dark) .mobile-blog-badge *,
html.light .mobile-blog-badge, html.light .mobile-blog-badge * {
  color: #ffffff !important;
}

html:not(.dark) .text-slate-200,
html.light .text-slate-200,
html:not(.dark) .text-slate-300,
html.light .text-slate-300 {
  color: #334155 !important;
}

html:not(.dark) .text-slate-400,
html.light .text-slate-400 {
  color: #475569 !important;
}

html:not(.dark) .text-slate-500,
html.light .text-slate-500 {
  color: #64748b !important;
}

/* High Contrast Accent Colors in Light Mode for Crystal Clear Readability */
html:not(.dark) .text-cyan-300,
html.light .text-cyan-300 {
  color: #0e7490 !important;
}

html:not(.dark) .text-cyan-400,
html.light .text-cyan-400 {
  color: #0891b2 !important;
}

html:not(.dark) .text-emerald-300,
html.light .text-emerald-300 {
  color: #047857 !important;
}

html:not(.dark) .text-emerald-400,
html.light .text-emerald-400 {
  color: #059669 !important;
}

html:not(.dark) .text-indigo-300,
html.light .text-indigo-300 {
  color: #4338ca !important;
}

html:not(.dark) .text-indigo-400,
html.light .text-indigo-400 {
  color: #4f46e5 !important;
}

html:not(.dark) .text-purple-300,
html.light .text-purple-300 {
  color: #6b21a8 !important;
}

html:not(.dark) .text-purple-400,
html.light .text-purple-400 {
  color: #7c3aed !important;
}

/* Card 2 (Advanced) Pricing Box & Gradients in Light Mode */
html:not(.dark) .pricing-card-unclipped,
html.light .pricing-card-unclipped {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  background-image: none !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 15px 35px -5px rgba(99, 102, 241, 0.12), 0 0 0 1px rgba(99, 102, 241, 0.1) !important;
}

html:not(.dark) .pricing-card-unclipped .text-transparent,
html.light .pricing-card-unclipped .text-transparent {
  background-image: linear-gradient(to right, #4338ca, #7c3aed, #0891b2) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* Hero Gradient Subtitle in Light Mode */
html:not(.dark) .bg-gradient-to-r.from-indigo-300.via-purple-200.to-cyan-300,
html.light .bg-gradient-to-r.from-indigo-300.via-purple-200.to-cyan-300,
html:not(.dark) .blog-hero-title span,
html.light .blog-hero-title span {
  background-image: linear-gradient(to right, #4f46e5, #7c3aed, #0891b2) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* Product trust strip & Blog card more link */
html:not(.dark) .product-trust-strip,
html.light .product-trust-strip {
  color: #475569 !important;
}

html:not(.dark) .blog-card-more,
html.light .blog-card-more {
  color: #4f46e5 !important;
}

html:not(.dark) .blog-card-more:hover,
html.light .blog-card-more:hover {
  color: #3730a3 !important;
}

/* Footer Link Hover in Light Mode */
html:not(.dark) footer a:hover,
html.light footer a:hover {
  color: #4f46e5 !important;
}


/* Light Mode Secondary Buttons */
html:not(.dark) .btn-secondary,
html.light .btn-secondary {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

html:not(.dark) .btn-secondary:hover,
html.light .btn-secondary:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

/* Light Mode Hero Strikethrough & Comparison Cards */
html:not(.dark) .hero-strikethrough-card,
html.light .hero-strikethrough-card {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
}

html:not(.dark) .hero-strikethrough-card .hero-strikethrough-line,
html.light .hero-strikethrough-card .hero-strikethrough-line {
  color: #475569 !important;
}

html:not(.dark) .hero-feature-pill,
html.light .hero-feature-pill {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

/* Light Mode Orbit AI Constellation */
html:not(.dark) .orbit-center-card,
html.light .orbit-center-card {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1), 0 0 30px rgba(99, 102, 241, 0.1) !important;
}

html:not(.dark) .orbit-center-card h3,
html.light .orbit-center-card h3 {
  color: #0f172a !important;
}

html:not(.dark) .orbit-pill,
html.light .orbit-pill {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark) .orbit-pill span,
html.light .orbit-pill span {
  color: #0f172a !important;
}

html:not(.dark) .orbit-stage .orbit-ring-svg ellipse,
html.light .orbit-stage .orbit-ring-svg ellipse {
  stroke: rgba(99, 102, 241, 0.25) !important;
}

/* -------------------------------------------------------------
   WOOCOMMERCE CART & CHECKOUT LIGHT MODE (High Contrast)
   ------------------------------------------------------------- */

/* Shop Table Container & Borders */
html:not(.dark) .woocommerce table.shop_table,
html.light .woocommerce table.shop_table {
  background: transparent !important;
  border-color: #e2e8f0 !important;
}

html:not(.dark) .woocommerce table.shop_table thead tr,
html.light .woocommerce table.shop_table thead tr {
  border-bottom: 2px solid #cbd5e1 !important;
}

/* Shop Table Headers */
html:not(.dark) .woocommerce table.shop_table th,
html.light .woocommerce table.shop_table th {
  color: #334155 !important;
  font-weight: 700 !important;
  font-size: 0.8125rem !important;
  border-bottom: 2px solid #cbd5e1 !important;
}

/* Shop Table Cells */
html:not(.dark) .woocommerce table.shop_table td,
html.light .woocommerce table.shop_table td {
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

/* Product Item Name */
html:not(.dark) .woocommerce table.shop_table .product-name span,
html.light .woocommerce table.shop_table .product-name span {
  color: #0f172a !important;
}

/* Product Unit Price */
html:not(.dark) .woocommerce table.shop_table td.product-price,
html.light .woocommerce table.shop_table td.product-price,
html:not(.dark) .woocommerce table.shop_table td.product-price .woocommerce-Price-amount,
html.light .woocommerce table.shop_table td.product-price .woocommerce-Price-amount {
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* Product Subtotal Column */
html:not(.dark) .woocommerce table.shop_table td.product-subtotal,
html.light .woocommerce table.shop_table td.product-subtotal,
html:not(.dark) .woocommerce table.shop_table td.product-subtotal .woocommerce-Price-amount,
html.light .woocommerce table.shop_table td.product-subtotal .woocommerce-Price-amount {
  color: #4338ca !important;
  font-weight: 800 !important;
}

/* Global Persian Price & Currency Symbol in Light Mode */
html:not(.dark) .woocommerce-Price-amount,
html.light .woocommerce-Price-amount,
html:not(.dark) .woocommerce-Price-amount bdi,
html.light .woocommerce-Price-amount bdi {
  color: #0f172a !important;
  font-weight: 700 !important;
}

html:not(.dark) .woocommerce-Price-currencySymbol,
html.light .woocommerce-Price-currencySymbol {
  color: #4f46e5 !important;
  font-weight: 700 !important;
}

/* Quantity Input in Light Mode */
html:not(.dark) .woocommerce .quantity .qty,
html.light .woocommerce .quantity .qty {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 0.625rem !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

html:not(.dark) .woocommerce .quantity .qty:focus,
html.light .woocommerce .quantity .qty:focus {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2) !important;
}

/* Coupon Input in Light Mode */
html:not(.dark) .coupon input.input-text,
html.light .coupon input.input-text,
html:not(.dark) input#coupon_code,
html.light input#coupon_code {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

html:not(.dark) .coupon input.input-text::placeholder,
html.light .coupon input.input-text::placeholder,
html:not(.dark) input#coupon_code::placeholder,
html.light input#coupon_code::placeholder {
  color: #94a3b8 !important;
}

html:not(.dark) .coupon input.input-text:focus,
html.light .coupon input.input-text:focus,
html:not(.dark) input#coupon_code:focus,
html.light input#coupon_code:focus {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}

/* Cart Action Buttons: Apply Coupon & Update Cart */
html:not(.dark) .woocommerce .coupon button.button,
html.light .woocommerce .coupon button.button,
html:not(.dark) .woocommerce button[name="update_cart"],
html.light .woocommerce button[name="update_cart"] {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

html:not(.dark) .woocommerce .coupon button.button:hover,
html.light .woocommerce .coupon button.button:hover,
html:not(.dark) .woocommerce button[name="update_cart"]:hover,
html.light .woocommerce button[name="update_cart"]:hover {
  background: #e2e8f0 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

/* Cart Order Summary Sidebar Card */
html:not(.dark) .lg\:col-span-4 .glass-panel,
html.light .lg\:col-span-4 .glass-panel {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark) .lg\:col-span-4 h3,
html.light .lg\:col-span-4 h3 {
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html:not(.dark) .lg\:col-span-4 h3 span.text-indigo-400,
html.light .lg\:col-span-4 h3 span.text-indigo-400 {
  background: #ede9fe !important;
  color: #4338ca !important;
  padding: 0.2rem 0.6rem !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
}

/* Order Totals Text & Values */
html:not(.dark) .lg\:col-span-4 .text-slate-300,
html.light .lg\:col-span-4 .text-slate-300 {
  color: #334155 !important;
  font-weight: 600 !important;
}

html:not(.dark) .lg\:col-span-4 .text-indigo-300,
html.light .lg\:col-span-4 .text-indigo-300,
html:not(.dark) .text-indigo-300,
html.light .text-indigo-300 {
  color: #4338ca !important;
}

html:not(.dark) .text-cyan-400,
html.light .text-cyan-400 {
  color: #0284c7 !important;
}

/* Form Fields & Inputs (Checkout, Account) */
html:not(.dark) .woocommerce form .form-row label,
html.light .woocommerce form .form-row label {
  color: #1e293b !important;
  font-weight: 700 !important;
}

html:not(.dark) .woocommerce form .form-row input.input-text,
html.light .woocommerce form .form-row input.input-text,
html:not(.dark) .woocommerce form .form-row textarea,
html.light .woocommerce form .form-row textarea,
html:not(.dark) .woocommerce form select,
html.light .woocommerce form select {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

html:not(.dark) .woocommerce form .form-row input.input-text:focus,
html.light .woocommerce form .form-row input.input-text:focus,
html:not(.dark) .woocommerce form .form-row textarea:focus,
html.light .woocommerce form .form-row textarea:focus,
html:not(.dark) .woocommerce form select:focus,
html.light .woocommerce form select:focus {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}


/* Universal Input Overrides for My Account, Login, Register, Lost Password */
html:not(.dark) input.woocommerce-Input,
html.light input.woocommerce-Input,
html:not(.dark) input.input-text,
html.light input.input-text,
html:not(.dark) input[type="text"],
html.light input[type="text"],
html:not(.dark) input[type="password"],
html.light input[type="password"],
html:not(.dark) input[type="email"],
html.light input[type="email"],
html:not(.dark) input[type="tel"],
html.light input[type="tel"] {
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

html:not(.dark) input[readonly],
html.light input[readonly] {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #312e81 !important;
  font-weight: 700 !important;
}

html:not(.dark) input[type="checkbox"],
html.light input[type="checkbox"] {
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
}

/* Checkout Review Order & Payment Methods */
html:not(.dark) .woocommerce-checkout-review-order-table th,
html.light .woocommerce-checkout-review-order-table th {
  color: #334155 !important;
  font-weight: 700 !important;
  background: #f8fafc !important;
  border-bottom: 2px solid #cbd5e1 !important;
}

html:not(.dark) .woocommerce-checkout-review-order-table td,
html.light .woocommerce-checkout-review-order-table td {
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html:not(.dark) #payment,
html.light #payment {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html:not(.dark) #payment ul.payment_methods,
html.light #payment ul.payment_methods {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

html:not(.dark) #payment ul.payment_methods li,
html.light #payment ul.payment_methods li {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05) !important;
  color: #1e293b !important;
  padding: 1.25rem 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

html:not(.dark) #payment ul.payment_methods li label,
html.light #payment ul.payment_methods li label {
  color: #0f172a !important;
  font-weight: 700 !important;
}

html:not(.dark) #payment div.payment_box,
html.light #payment div.payment_box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.75rem !important;
  color: #334155 !important;
  margin-top: 0.75rem !important;
  padding: 0.75rem 1rem !important;
}


/* Comparison Table on Home Page */
html:not(.dark) .comp-table-container,
html.light .comp-table-container,
html:not(.dark) .comp-table,
html.light .comp-table {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.04) !important;
}

html:not(.dark) .comp-sticky-header,
html.light .comp-sticky-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 2px solid #cbd5e1 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

html:not(.dark) .comp-sticky-header th,
html.light .comp-sticky-header th {
  background-color: #f8fafc !important;
  border-bottom: 2px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html:not(.dark) .comp-sticky-header th span:not(.btn-3d-mini-pro *),
html.light .comp-sticky-header th span:not(.btn-3d-mini-pro *) {
  color: #0f172a !important;
}

html:not(.dark) .comp-cluster-header td,
html.light .comp-cluster-header td {
  background-color: #e0e7ff !important;
  color: #3730a3 !important;
  border-color: #c7d2fe !important;
}

html:not(.dark) .comp-cluster-header td span,
html.light .comp-cluster-header td span {
  color: #3730a3 !important;
}

html:not(.dark) .comp-table td,
html.light .comp-table td {
  border-bottom: 1px solid #f1f5f9 !important;
  color: #1e293b !important;
}

html:not(.dark) .comp-table td .text-white,
html.light .comp-table td .text-white {
  color: #0f172a !important;
}

html:not(.dark) .comp-table td .text-slate-400,
html.light .comp-table td .text-slate-400 {
  color: #475569 !important;
}

/* Light Mode Comparison Table Footer & 3D Conversion Buttons */
html:not(.dark) .comp-table-footer,
html.light .comp-table-footer {
  background: #f8fafc !important;
  border-top: 2px solid #cbd5e1 !important;
}

html:not(.dark) .comp-table-footer td,
html.light .comp-table-footer td {
  border-bottom: none !important;
}

html:not(.dark) .comp-table-footer h4,
html.light .comp-table-footer h4 {
  color: #0f172a !important;
}

html:not(.dark) .comp-table-footer p,
html.light .comp-table-footer p {
  color: #475569 !important;
}

/* Light Mode 3D Advanced Button */
html:not(.dark) .btn-3d-pro,
html.light .btn-3d-pro {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 
    0 4px 0 #312e81,
    0 8px 18px -2px rgba(79, 70, 229, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

html:not(.dark) .btn-3d-pro:hover,
html.light .btn-3d-pro:hover {
  box-shadow: 
    0 6px 0 #312e81,
    0 12px 22px -2px rgba(79, 70, 229, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
}

html:not(.dark) .btn-3d-pro:active,
html.light .btn-3d-pro:active {
  box-shadow: 0 1px 0 #312e81 !important;
}

/* Light Mode 3D Economic Button */
html:not(.dark) .btn-3d-eco,
html.light .btn-3d-eco {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%) !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 
    0 4px 0 #94a3b8,
    0 8px 16px -4px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
}

html:not(.dark) .btn-3d-eco:hover,
html.light .btn-3d-eco:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  box-shadow: 
    0 6px 0 #94a3b8,
    0 12px 20px -4px rgba(0, 0, 0, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 1) !important;
}

html:not(.dark) .btn-3d-eco:active,
html.light .btn-3d-eco:active {
  box-shadow: 0 1px 0 #94a3b8 !important;
}

/* Mini 3D buttons in light mode */
html:not(.dark) .btn-3d-mini-pro,
html.light .btn-3d-mini-pro {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 3px 0 #312e81, 0 6px 12px rgba(79, 70, 229, 0.3) !important;
}

html:not(.dark) .btn-3d-mini-eco,
html.light .btn-3d-mini-eco {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%) !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 3px 0 #94a3b8, 0 5px 10px rgba(0, 0, 0, 0.06) !important;
}

html:not(.dark) .comp-cluster-header td,
html.light .comp-cluster-header td {
  background-color: #f1f5f9 !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html:not(.dark) .comp-cluster-header td span,
html.light .comp-cluster-header td span {
  color: #3730a3 !important;
  font-weight: 700 !important;
}

html:not(.dark) .comp-table tr.row-difference,
html.light .comp-table tr.row-difference {
  background: rgba(99, 102, 241, 0.04) !important;
}

html:not(.dark) .comp-table tr.row-difference:hover,
html.light .comp-table tr.row-difference:hover {
  background: rgba(99, 102, 241, 0.08) !important;
}

html:not(.dark) .comp-table tr.row-shared:hover,
html.light .comp-table tr.row-shared:hover {
  background: rgba(0, 0, 0, 0.02) !important;
}

html:not(.dark) .badge-quota-yes,
html.light .badge-quota-yes {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #065f46 !important;
  font-weight: 700 !important;
}

html:not(.dark) .badge-quota-no,
html.light .badge-quota-no {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
}

html:not(.dark) .badge-quota-neutral,
html.light .badge-quota-neutral {
  background: #ede9fe !important;
  border: 1px solid #ddd6fe !important;
  color: #4338ca !important;
  font-weight: 700 !important;
}

html:not(.dark) .badge-feature-check,
html.light .badge-feature-check {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #059669 !important;
  font-weight: 800 !important;
}

/* Light Mode Footer & FAQ */
html:not(.dark) footer,
html.light footer {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
}

html:not(.dark) .faq-accordion-item,
html.light .faq-accordion-item {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border-color: #e2e8f0 !important;
}

/* Light Mode How-It-Works 3D Section & High-Contrast Numerals */
html:not(.dark) #how-it-works h2,
html.light #how-it-works h2 {
  color: #0f172a !important;
}

html:not(.dark) #how-it-works p,
html.light #how-it-works p {
  color: #475569 !important;
}

html:not(.dark) .step-3d-card,
html.light .step-3d-card {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02) !important;
}

html:not(.dark) .step-3d-card::before,
html.light .step-3d-card::before {
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.04), transparent 70%) !important;
}

html:not(.dark) .step-3d-card:hover,
html.light .step-3d-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.08), 0 0 25px -5px rgba(99, 102, 241, 0.15) !important;
}

html:not(.dark) .step-3d-card h4,
html.light .step-3d-card h4 {
  color: #0f172a !important;
}

html:not(.dark) .step-3d-card p,
html.light .step-3d-card p {
  color: #475569 !important;
}

html:not(.dark) .step-track-line,
html.light .step-track-line {
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.25) 0%, rgba(5, 150, 105, 0.25) 33%, rgba(79, 70, 229, 0.25) 66%, rgba(124, 58, 237, 0.25) 100%) !important;
  box-shadow: none !important;
}

/* Crisp & High-Contrast Persian Numerals in Day Mode */
html:not(.dark) .step-num-cyan,
html.light .step-num-cyan {
  background-image: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(2, 132, 199, 0.35)) !important;
}

html:not(.dark) .step-num-emerald,
html.light .step-num-emerald {
  background-image: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(5, 150, 105, 0.35)) !important;
}

html:not(.dark) .step-num-indigo,
html.light .step-num-indigo {
  background-image: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(79, 70, 229, 0.35)) !important;
}

html:not(.dark) .step-num-purple,
html.light .step-num-purple {
  background-image: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%) !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(124, 58, 237, 0.35)) !important;
}

/* -------------------------------------------------------------
   Badge Overflow Unclipping (Fix for media_1789056955830.png)
   ------------------------------------------------------------- */
.glass-card.\!overflow-visible,
.glass-card.pricing-card-unclipped,
.glass-card:has(.badge-special),
.glass-card:has(.absolute.-top-3),
.glass-card:has(.absolute.-top-3\.5) {
  overflow: visible !important;
}

/* -------------------------------------------------------------
   Checkout Terms & Agreements Box (Fix for media_1789056885451.png)
   ------------------------------------------------------------- */
.gap-checkout-terms-wrapper {
  background: rgba(15, 23, 42, 0.7) !important;
  border: 1px solid rgba(99, 102, 241, 0.35) !important;
  border-radius: 1rem !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

html:not(.dark) .gap-checkout-terms-wrapper,
html.light .gap-checkout-terms-wrapper {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

html:not(.dark) .gap-checkout-terms-wrapper label,
html.light .gap-checkout-terms-wrapper label {
  color: #1e293b !important;
}

/* Custom Checkbox RTL alignment */
.gap-custom-checkbox {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 1.125rem !important;
  height: 1.125rem !important;
  border: 1.5px solid #64748b !important;
  border-radius: 0.375rem !important;
  background-color: #090d16 !important;
  display: inline-grid !important;
  place-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin-top: 0.15rem !important;
  flex-shrink: 0 !important;
}

html:not(.dark) .gap-custom-checkbox,
html.light .gap-custom-checkbox {
  background-color: #ffffff !important;
  border-color: #94a3b8 !important;
}

.gap-custom-checkbox:checked {
  background-color: #6366f1 !important;
  border-color: #6366f1 !important;
}

.gap-custom-checkbox:checked::before {
  content: "" !important;
  width: 0.65rem !important;
  height: 0.65rem !important;
  transform: scale(1) !important;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%) !important;
  background-color: white !important;
}

/* Account creation checkbox RTL display (Fix for media_1789057023160.png) */
.woocommerce-form__label-for-checkbox,
.woocommerce-account-fields label.checkbox {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  cursor: pointer !important;
  direction: rtl !important;
  text-align: right !important;
  font-size: 0.8125rem !important;
  color: #e2e8f0 !important;
}

html:not(.dark) .woocommerce-form__label-for-checkbox,
html.light .woocommerce-form__label-for-checkbox,
html:not(.dark) .woocommerce-account-fields label.checkbox,
html.light .woocommerce-account-fields label.checkbox {
  color: #1e293b !important;
}

.woocommerce-form__input-checkbox,
.woocommerce-account-fields input[type="checkbox"] {
  margin: 0 !important;
  accent-color: #6366f1 !important;
  width: 1.125rem !important;
  height: 1.125rem !important;
  cursor: pointer !important;
}

/* Subscriptions dropdown 02 icon & Pro badge in light mode */
html:not(.dark) .nav-sub-icon-02,
html:not(.dark) .nav-sub-icon-02 *,
html.light .nav-sub-icon-02,
html.light .nav-sub-icon-02 * {
  color: #ffffff !important;
}

html:not(.dark) .nav-sub-badge-pro,
html:not(.dark) .nav-sub-badge-pro *,
html.light .nav-sub-badge-pro,
html.light .nav-sub-badge-pro * {
  color: #ffffff !important;
}


/* -------------------------------------------------------------
   Cart Page: Tactile Red Remove Button (Fix for media_1789059980533.png)
   ------------------------------------------------------------- */
.cart-remove-btn.remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.25rem !important;
  height: 2.25rem !important;
  border-radius: 0.75rem !important;
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1.5px solid rgba(239, 68, 68, 0.3) !important;
  color: #f87171 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px -2px rgba(239, 68, 68, 0.25) !important;
  line-height: normal !important;
}

.cart-remove-btn.remove:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  border-color: rgba(239, 68, 68, 0.6) !important;
  color: #fca5a5 !important;
  transform: scale(1.08) !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4) !important;
}

.cart-remove-btn.remove:active {
  transform: scale(0.95) !important;
}

html:not(.dark) .cart-remove-btn.remove,
html.light .cart-remove-btn.remove {
  background: #fee2e2 !important;
  border: 1.5px solid #f87171 !important;
  color: #dc2626 !important;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.15) !important;
}

html:not(.dark) .cart-remove-btn.remove:hover,
html.light .cart-remove-btn.remove:hover {
  background: #fecaca !important;
  border-color: #ef4444 !important;
  color: #991b1b !important;
  transform: scale(1.08) !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
}

/* -------------------------------------------------------------
   Checkout Page: 3D Review Order Card - Single Seamless Box
   (Resolves "۲ باکس در دل هم" - media_1789063222210.png)
   ------------------------------------------------------------- */
table.checkout-3d-review-card,
.woocommerce-checkout-review-order table.shop_table {
  position: relative !important;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 27, 75, 0.6) 100%) !important;
  border: 1.5px solid rgba(99, 102, 241, 0.35) !important;
  border-radius: 1.25rem !important;
  box-shadow: 
    0 10px 25px -5px rgba(0, 0, 0, 0.6),
    0 8px 10px -6px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  overflow: hidden !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
  width: 100% !important;
}

table.checkout-3d-review-card thead tr:first-child th {
  border-top: 3px solid #6366f1 !important;
}

table.checkout-3d-review-card thead tr:first-child th:first-child {
  border-top-right-radius: 1.2rem !important;
}

table.checkout-3d-review-card thead tr:first-child th:last-child {
  border-top-left-radius: 1.2rem !important;
}

.order-total-3d-row {
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.65) 0%, rgba(15, 23, 42, 0.85) 100%) !important;
  border-top: 2px solid rgba(99, 102, 241, 0.5) !important;
  border-bottom: none !important;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.order-total-3d-row th:first-child {
  border-bottom-right-radius: 1.2rem !important;
}

.order-total-3d-row td:last-child {
  border-bottom-left-radius: 1.2rem !important;
}

html:not(.dark) table.checkout-3d-review-card,
html.light table.checkout-3d-review-card,
html:not(.dark) .woocommerce-checkout-review-order table.shop_table,
html.light .woocommerce-checkout-review-order table.shop_table {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 
    0 14px 28px -4px rgba(0, 0, 0, 0.07),
    0 4px 10px -2px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 #ffffff !important;
}

html:not(.dark) table.checkout-3d-review-card thead tr,
html.light table.checkout-3d-review-card thead tr {
  background: #f8fafc !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
}

html:not(.dark) table.checkout-3d-review-card thead tr:first-child th {
  border-top: 3.5px solid #4f46e5 !important;
}

html:not(.dark) table.checkout-3d-review-card th,
html.light table.checkout-3d-review-card th {
  color: #334155 !important;
  background: transparent !important;
  border-bottom: none !important;
}

html:not(.dark) table.checkout-3d-review-card td,
html.light table.checkout-3d-review-card td {
  color: #0f172a !important;
  border-color: #f1f5f9 !important;
}

html:not(.dark) table.checkout-3d-review-card .product-name .text-white,
html.light table.checkout-3d-review-card .product-name .text-white {
  color: #0f172a !important;
}

html:not(.dark) .order-total-3d-row,
html.light .order-total-3d-row {
  background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%) !important;
  border-top: 2px solid #818cf8 !important;
  box-shadow: inset 0 1px 3px rgba(99, 102, 241, 0.1) !important;
}

html:not(.dark) .order-total-3d-row th,
html.light .order-total-3d-row th,
html:not(.dark) .order-total-3d-row th span,
html.light .order-total-3d-row th span {
  color: #1e1b4b !important;
}

html:not(.dark) .order-total-3d-row td,
html.light .order-total-3d-row td,
html:not(.dark) .order-total-3d-row td span,
html.light .order-total-3d-row td span {
  color: #4338ca !important;
}

/* -------------------------------------------------------------
   Checkout Page: High-Contrast Inline Coupon Box (Fix for media_1789060318002.png)
   ------------------------------------------------------------- */
.gap-coupon-input {
  background: rgba(15, 23, 42, 0.7) !important;
  border: 1px solid rgba(99, 102, 241, 0.35) !important;
  color: #ffffff !important;
}

.gap-coupon-input:focus {
  border-color: #818cf8 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
}

.gap-coupon-btn {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35) !important;
}

.gap-coupon-btn:hover {
  filter: brightness(1.1) !important;
  transform: translateY(-1px) !important;
}

html:not(.dark) .gap-checkout-coupon-box,
html.light .gap-checkout-coupon-box {
  border-top-color: #e2e8f0 !important;
}

html:not(.dark) .gap-checkout-coupon-box span.text-slate-200,
html.light .gap-checkout-coupon-box span.text-slate-200 {
  color: #0f172a !important;
}

html:not(.dark) .gap-checkout-coupon-box span.text-slate-400,
html.light .gap-checkout-coupon-box span.text-slate-400 {
  color: #64748b !important;
}

html:not(.dark) .gap-coupon-input,
html.light .gap-coupon-input {
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

html:not(.dark) .gap-coupon-input::placeholder,
html.light .gap-coupon-input::placeholder {
  color: #94a3b8 !important;
}

html:not(.dark) .gap-coupon-input:focus,
html.light .gap-coupon-input:focus {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
  background-color: #ffffff !important;
}

html:not(.dark) .gap-coupon-btn,
html.light .gap-coupon-btn {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3) !important;
}

/* Suppress top coupon banner and redundant terms/privacy */
.woocommerce-form-coupon-toggle,
form.checkout_coupon.woocommerce-form-coupon,
.woocommerce-privacy-policy-text {
  display: none !important;
}

/* -------------------------------------------------------------
   Checkout Review Order, Payment & Terms Margins & Standalone Cards
   (Resolves "باکس های تو در تو چسبیده شده اند به هم و نیاز به مارجین دارند")
   ------------------------------------------------------------- */
.checkout-3d-review-card {
  margin-bottom: 1.5rem !important;
  width: 100% !important;
}

.woocommerce-checkout #payment {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.woocommerce-checkout #payment ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
  border: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
  margin-bottom: 1.5rem !important;
  padding: 1.25rem 1.5rem !important;
  border-radius: 1.25rem !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.woocommerce-checkout #payment ul.payment_methods li label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  text-align: center !important;
  width: auto !important;
  cursor: pointer !important;
}

.woocommerce-checkout #payment div.payment_box {
  width: 100% !important;
  max-width: 480px !important;
  margin: 0.85rem auto 0 auto !important;
  text-align: center !important;
}

.woocommerce-checkout #payment div.payment_box p {
  text-align: center !important;
  margin: 0 !important;
  line-height: 1.8 !important;
}

.gap-checkout-terms-wrapper {
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
  padding: 1.25rem 1.5rem !important;
  border-radius: 1.25rem !important;
  width: 100% !important;
}

/* Light Mode Card Themes for Checkout */
html:not(.dark) .woocommerce-checkout #payment ul.payment_methods li,
html.light .woocommerce-checkout #payment ul.payment_methods li {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05) !important;
}

html:not(.dark) .woocommerce-checkout #payment ul.payment_methods li label,
html.light .woocommerce-checkout #payment ul.payment_methods li label {
  color: #0f172a !important;
  font-weight: 700 !important;
}

html:not(.dark) .woocommerce-checkout #payment div.payment_box,
html.light .woocommerce-checkout #payment div.payment_box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.75rem !important;
  color: #334155 !important;
  margin-top: 0.75rem !important;
  padding: 0.75rem 1rem !important;
}

html:not(.dark) .gap-checkout-terms-wrapper,
html.light .gap-checkout-terms-wrapper {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05) !important;
}

html:not(.dark) .gap-checkout-terms-wrapper label,
html.light .gap-checkout-terms-wrapper label {
  color: #0f172a !important;
}

/* Light Mode Section Titles in Checkout */
html:not(.dark) .checkout-section-title,
html.light .checkout-section-title,
html:not(.dark) .woocommerce-checkout h1,
html.light .woocommerce-checkout h1,
html:not(.dark) .woocommerce-checkout h3,
html.light .woocommerce-checkout h3 {
  color: #0f172a !important;
}

html:not(.dark) .woocommerce-checkout p.text-slate-400,
html.light .woocommerce-checkout p.text-slate-400 {
  color: #64748b !important;
}

/* -------------------------------------------------------------
   Error Notice Badges/Cards (Resolves "هر کدام به صورت یک باکس قرار بده")
   ------------------------------------------------------------- */
.woocommerce-NoticeGroup-checkout {
  margin-bottom: 2rem !important;
  width: 100% !important;
}

.woocommerce-error {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.woocommerce-error li {
  position: relative !important;
  margin: 0 !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 0.875rem !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  width: 100% !important;
  text-align: right !important;
}

.woocommerce-error li::before {
  content: "" !important;
  display: inline-block !important;
  width: 1.15rem !important;
  height: 1.15rem !important;
  flex-shrink: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ef4444'%3E%3Cpath fill-rule='evenodd' d='M8.485 2.495c.673-1.167 2.357-1.167 3.03 0l6.28 10.875c.673 1.167-.17 2.625-1.516 2.625H3.72c-1.347 0-2.189-1.458-1.515-2.625L8.485 2.495zM10 5a.75.75 0 01.75.75v3.5a.75.75 0 01-1.5 0v-3.5A.75.75 0 0110 5zm0 9a1 1 0 100-2 1 1 0 000 2z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* Light Mode error cards */
html:not(.dark) .woocommerce-error li,
html.light .woocommerce-error li {
  background: #fef2f2 !important;
  border: 1.5px solid #f87171 !important;
  color: #991b1b !important;
  box-shadow: 0 4px 14px -3px rgba(239, 68, 68, 0.15) !important;
}

html:not(.dark) .woocommerce-error li strong,
html.light .woocommerce-error li strong {
  color: #7f1d1d !important;
  font-weight: 800 !important;
}

html:not(.dark) .woocommerce-error a,
html.light .woocommerce-error a {
  color: #b91c1c !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
}

/* Dark Mode error cards */
html.dark .woocommerce-error li {
  background: rgba(153, 27, 27, 0.25) !important;
  border: 1px solid rgba(248, 113, 113, 0.45) !important;
  color: #fca5a5 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
}

html.dark .woocommerce-error a {
  color: #67e8f9 !important;
}

/* Inline error messages under inputs */
.checkout-inline-error-message,
p[id$="_description"].checkout-inline-error-message {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  margin-top: 0.45rem !important;
  padding: 0.45rem 0.85rem !important;
  border-radius: 0.65rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  width: fit-content !important;
  max-width: 100% !important;
}

.checkout-inline-error-message::before,
p[id$="_description"].checkout-inline-error-message::before {
  content: "" !important;
  display: inline-block !important;
  width: 0.95rem !important;
  height: 0.95rem !important;
  flex-shrink: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ef4444'%3E%3Cpath fill-rule='evenodd' d='M8.485 2.495c.673-1.167 2.357-1.167 3.03 0l6.28 10.875c.673 1.167-.17 2.625-1.516 2.625H3.72c-1.347 0-2.189-1.458-1.515-2.625L8.485 2.495zM10 5a.75.75 0 01.75.75v3.5a.75.75 0 01-1.5 0v-3.5A.75.75 0 0110 5zm0 9a1 1 0 100-2 1 1 0 000 2z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

html:not(.dark) .checkout-inline-error-message,
html.light .checkout-inline-error-message {
  background: #fef2f2 !important;
  border: 1px solid #fca5a5 !important;
  color: #b91c1c !important;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.08) !important;
}

html.dark .checkout-inline-error-message {
  background: rgba(185, 28, 28, 0.22) !important;
  border: 1px solid rgba(248, 113, 113, 0.35) !important;
  color: #fca5a5 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

/* Cart Page Coupon High Contrast in Day Mode */
html:not(.dark) .woocommerce-cart-form input#coupon_code,
html.light .woocommerce-cart-form input#coupon_code {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html:not(.dark) .woocommerce-cart-form button[name="apply_coupon"],
html.light .woocommerce-cart-form button[name="apply_coupon"] {
  background: #f1f5f9 !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #1e293b !important;
}

html:not(.dark) .woocommerce-cart-form button[name="apply_coupon"]:hover,
html.light .woocommerce-cart-form button[name="apply_coupon"]:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

html:not(.dark) .woocommerce-message,
html.light .woocommerce-message {
  background: #ecfdf5 !important;
  border: 1.5px solid #10b981 !important;
  color: #065f46 !important;
  border-radius: 1.25rem !important;
  padding: 1.25rem 1.5rem !important;
}

html:not(.dark) .woocommerce-message .button,
html.light .woocommerce-message .button {
  background: #059669 !important;
  color: #ffffff !important;
}

html:not(.dark) .woocommerce-message a.restore-item,
html.light .woocommerce-message a.restore-item {
  background: #059669 !important;
  border: 1px solid #047857 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.2) !important;
}

html:not(.dark) .woocommerce-message a.restore-item:hover,
html.light .woocommerce-message a.restore-item:hover {
  background: #047857 !important;
  border-color: #065f46 !important;
  color: #ffffff !important;
}

/* -------------------------------------------------------------
   3D WooCommerce Single Product Page Styling (Day & Night Modes)
   ------------------------------------------------------------- */
.single-product-3d-page {
  position: relative;
  overflow: hidden;
}

.product-buy-now-3d-btn {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 
    0 10px 25px -4px rgba(79, 70, 229, 0.5),
    0 4px 10px -2px rgba(6, 182, 212, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.product-buy-now-3d-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 
    0 16px 32px -4px rgba(79, 70, 229, 0.6),
    0 6px 16px -2px rgba(6, 182, 212, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.product-buy-now-3d-btn:active {
  transform: translateY(1px) scale(0.99) !important;
}

/* -------------------------------------------------------------
   3D Stage & Elements Styling (Universal Base + Night Mode)
   ------------------------------------------------------------- */
.product-3d-stage {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 27, 75, 0.75) 50%, rgba(8, 47, 73, 0.8) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.product-center-card {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.95) 0%, rgba(9, 13, 22, 0.98) 100%);
  border: 2px solid rgba(99, 102, 241, 0.5);
  box-shadow: 0 20px 35px -8px rgba(99, 102, 241, 0.4);
}

.product-center-title {
  color: #ffffff !important;
}

.product-center-sub {
  color: #38bdf8 !important;
}

.product-orbit-pill {
  background: rgba(13, 21, 39, 0.92) !important;
  border: 1px solid rgba(99, 102, 241, 0.4) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
  color: #f8fafc !important;
}

.product-orbit-pill .orbit-pill-text {
  color: #f8fafc !important;
}

/* ==========================================================================
   Orbit Revolving Animation (Planetary Rotation around Central Card)
   ========================================================================== */
@keyframes gap-orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes gap-orbit-counter {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

.product-orbit-carrier {
  position: absolute;
  width: 64%;
  height: 64%;
  top: 18%;
  left: 18%;
  border-radius: 9999px;
  animation: gap-orbit-spin 36s linear infinite;
  transform-origin: center center;
  pointer-events: none;
  z-index: 25;
}

.product-orbit-carrier .orbit-node {
  position: absolute;
  pointer-events: none;
}

.product-orbit-carrier .product-orbit-pill {
  animation: gap-orbit-counter 36s linear infinite;
  transform-origin: center center;
  pointer-events: auto;
  white-space: nowrap;
  user-select: none;
  will-change: transform;
}

/* Smooth Pause on Stage or Pill Hover */
.product-3d-stage:hover .product-orbit-carrier,
.product-3d-stage:hover .product-orbit-carrier .product-orbit-pill {
  animation-play-state: paused !important;
}


/* -------------------------------------------------------------
   Day Mode (Light Theme) Single Product Comprehensive Styling
   ------------------------------------------------------------- */
html:not(.dark) .single-product-3d-page,
html.light .single-product-3d-page {
  color: #0f172a !important;
}

html:not(.dark) .single-product-3d-page h1,
html.light .single-product-3d-page h1,
html:not(.dark) .single-product-3d-page h2,
html.light .single-product-3d-page h2,
html:not(.dark) .single-product-3d-page h3,
html.light .single-product-3d-page h3 {
  color: #0f172a !important;
}

html:not(.dark) .single-product-3d-page p,
html.light .single-product-3d-page p {
  color: #475569 !important;
}

/* 3D Stage in Day Mode */
html:not(.dark) .product-3d-stage,
html.light .product-3d-stage {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 45%, #f0fdfa 100%) !important;
  border: 2px solid #cbd5e1 !important;
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.15), inset 0 1px 0 #ffffff !important;
}

html:not(.dark) .product-stage-glow,
html.light .product-stage-glow {
  background: linear-gradient(135deg, rgba(238, 242, 255, 0.8) 0%, rgba(240, 253, 250, 0.7) 100%) !important;
  border-color: #cbd5e1 !important;
}

html:not(.dark) .product-center-card,
html.light .product-center-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 2px solid #818cf8 !important;
  box-shadow: 0 20px 35px -8px rgba(99, 102, 241, 0.25), 0 4px 12px rgba(0, 0, 0, 0.05), inset 0 1px 0 #ffffff !important;
}

html:not(.dark) .product-center-title,
html.light .product-center-title {
  color: #0f172a !important;
}

html:not(.dark) .product-center-sub,
html.light .product-center-sub {
  color: #4338ca !important;
}

html:not(.dark) .product-orbit-pill,
html.light .product-orbit-pill {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.12), 0 2px 6px -1px rgba(0, 0, 0, 0.06) !important;
  color: #0f172a !important;
}

html:not(.dark) .product-orbit-pill .orbit-pill-text,
html.light .product-orbit-pill .orbit-pill-text {
  color: #0f172a !important;
}

html:not(.dark) .product-orbit-ring-1,
html.light .product-orbit-ring-1 {
  border-color: rgba(99, 102, 241, 0.35) !important;
}

html:not(.dark) .product-orbit-ring-2,
html.light .product-orbit-ring-2 {
  border-color: rgba(6, 182, 212, 0.4) !important;
}

/* Category Badge & Highlights in Day Mode */
html:not(.dark) .product-category-badge,
html.light .product-category-badge {
  background: #e0e7ff !important;
  color: #4338ca !important;
  border-color: #c7d2fe !important;
}

html:not(.dark) .product-highlights-list li,
html.light .product-highlights-list li {
  color: #1e293b !important;
}

html:not(.dark) .product-highlights-list strong,
html.light .product-highlights-list strong {
  color: #0f172a !important;
}

/* Pricing Card & Actions in Day Mode */
html:not(.dark) .product-price-3d-box,
html.light .product-price-3d-box {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.06) !important;
}

html:not(.dark) .product-price-3d-box span.text-cyan-400,
html.light .product-price-3d-box span.text-cyan-400 {
  color: #4338ca !important;
}

html:not(.dark) .product-price-3d-box .google-comp-box,
html.light .product-price-3d-box .google-comp-box {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html:not(.dark) .product-price-3d-box .google-comp-box span,
html.light .product-price-3d-box .google-comp-box span {
  color: #64748b !important;
}

html:not(.dark) .product-price-3d-box .google-comp-box span.comp-price,
html.light .product-price-3d-box .google-comp-box span.comp-price {
  color: #ef4444 !important;
}

html:not(.dark) .product-price-3d-box .google-comp-box span.comp-savings,
html.light .product-price-3d-box .google-comp-box span.comp-savings {
  color: #059669 !important;
}

html:not(.dark) .product-add-to-cart-btn,
html.light .product-add-to-cart-btn {
  background: #f1f5f9 !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #1e293b !important;
}

html:not(.dark) .product-add-to-cart-btn:hover,
html.light .product-add-to-cart-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

html:not(.dark) .product-trust-strip,
html.light .product-trust-strip {
  color: #475569 !important;
}

/* 8 Tools Cards in Day Mode */
html:not(.dark) .product-tool-card,
html.light .product-tool-card {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05) !important;
}

html:not(.dark) .product-tool-card:hover,
html.light .product-tool-card:hover {
  border-color: #818cf8 !important;
  box-shadow: 0 16px 32px -6px rgba(99, 102, 241, 0.15) !important;
  transform: translateY(-2px) !important;
}

html:not(.dark) .product-tool-card h3,
html.light .product-tool-card h3 {
  color: #0f172a !important;
}

html:not(.dark) .product-tool-card p,
html.light .product-tool-card p {
  color: #475569 !important;
}

html:not(.dark) .product-tool-card li,
html.light .product-tool-card li {
  color: #475569 !important;
}

html:not(.dark) .product-tool-card ul,
html.light .product-tool-card ul {
  border-top-color: #f1f5f9 !important;
}

/* Technical Specs Table in Day Mode */
html:not(.dark) .single-product-3d-page table,
html.light .single-product-3d-page table {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
}

html:not(.dark) .single-product-3d-page th,
html.light .single-product-3d-page th {
  background: #f8fafc !important;
  color: #334155 !important;
}

html:not(.dark) .single-product-3d-page td,
html.light .single-product-3d-page td {
  color: #0f172a !important;
}

/* Cross-Sell Card in Day Mode */
html:not(.dark) .product-cross-sell-card,
html.light .product-cross-sell-card {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f0fdfa 100%) !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.06) !important;
}

html:not(.dark) .product-cross-sell-title,
html.light .product-cross-sell-title {
  color: #0f172a !important;
}

html:not(.dark) .product-cross-sell-desc,
html.light .product-cross-sell-desc {
  color: #475569 !important;
}

html:not(.dark) .product-cross-sell-btn-alt,
html.light .product-cross-sell-btn-alt {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #1e293b !important;
}

html:not(.dark) .product-cross-sell-btn-alt:hover,
html.light .product-cross-sell-btn-alt:hover {
  background: #f1f5f9 !important;
}

/* Q&A Accordion in Day Mode */
html:not(.dark) .single-product-3d-page details,
html.light .single-product-3d-page details {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.04) !important;
}

html:not(.dark) .single-product-3d-page details summary,
html.light .single-product-3d-page details summary {
  color: #0f172a !important;
}

html:not(.dark) .single-product-3d-page details summary span,
html.light .single-product-3d-page details summary span {
  color: #0f172a !important;
}

/* Reviews Summary Card & Review Items in Day Mode */
html:not(.dark) .product-review-summary-card,
html.light .product-review-summary-card,
html:not(.dark) .product-review-item,
html.light .product-review-item {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.04) !important;
}

html:not(.dark) .review-author,
html.light .review-author {
  color: #0f172a !important;
}

html:not(.dark) .review-body,
html.light .review-body {
  color: #334155 !important;
}

/* Review & Q&A Forms in Day Mode */
html:not(.dark) #gap-review-form-wrapper,
html.light #gap-review-form-wrapper,
html:not(.dark) #gap-ask-modal,
html.light #gap-ask-modal {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.05) !important;
}

html:not(.dark) .review-form-title,
html.light .review-form-title {
  color: #0f172a !important;
}

html:not(.dark) .review-form-sub,
html.light .review-form-sub {
  color: #64748b !important;
}

html:not(.dark) .form-label,
html.light .form-label {
  color: #1e293b !important;
}

html:not(.dark) #gap-review-form-wrapper input,
html.light #gap-review-form-wrapper input,
html:not(.dark) #gap-review-form-wrapper textarea,
html.light #gap-review-form-wrapper textarea,
html:not(.dark) #gap-ask-modal input,
html.light #gap-ask-modal input,
html:not(.dark) #gap-ask-modal textarea,
html.light #gap-ask-modal textarea {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html:not(.dark) #gap-review-form-wrapper input::placeholder,
html.light #gap-review-form-wrapper input::placeholder,
html:not(.dark) #gap-review-form-wrapper textarea::placeholder,
html.light #gap-review-form-wrapper textarea::placeholder,
html:not(.dark) #gap-ask-modal input::placeholder,
html.light #gap-ask-modal input::placeholder,
html:not(.dark) #gap-ask-modal textarea::placeholder,
html.light #gap-ask-modal textarea::placeholder {
  color: #94a3b8 !important;
}

/* ==========================================================================
   Review Alert Notice & Q&A Button (High Contrast Day/Light & Dark Modes)
   ========================================================================== */

/* Review Submission Alert Notice */
.gap-review-alert-notice {
  background: rgba(16, 185, 129, 0.15);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}
.gap-review-alert-notice svg {
  color: #34d399;
}

html:not(.dark) .gap-review-alert-notice,
html.light .gap-review-alert-notice {
  background: #ecfdf5 !important;
  border: 2px solid #059669 !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.15) !important;
}

html:not(.dark) .gap-review-alert-notice span,
html.light .gap-review-alert-notice span {
  color: #064e3b !important;
  font-weight: 800 !important;
}

html:not(.dark) .gap-review-alert-notice svg,
html.light .gap-review-alert-notice svg {
  color: #059669 !important;
  stroke-width: 2.5 !important;
}

/* Q&A Ask Button */
.gap-ask-question-btn {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #67e8f9;
}
.gap-ask-question-btn:hover {
  background: rgba(6, 182, 212, 0.25);
  border-color: rgba(6, 182, 212, 0.5);
  color: #ffffff;
}

html:not(.dark) .gap-ask-question-btn,
html.light .gap-ask-question-btn {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  border: 1px solid #0284c7 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
}

html:not(.dark) .gap-ask-question-btn:hover,
html.light .gap-ask-question-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

html:not(.dark) .gap-ask-question-btn svg,
html.light .gap-ask-question-btn svg {
  color: #ffffff !important;
  stroke-width: 2.5 !important;
}

/* Empty Reviews State in Day Mode */
html:not(.dark) .product-review-empty-box,
html.light .product-review-empty-box {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
}

html:not(.dark) .product-review-empty-box h3,
html.light .product-review-empty-box h3 {
  color: #0f172a !important;
}

html:not(.dark) .product-review-empty-box p,
html.light .product-review-empty-box p {
  color: #64748b !important;
}

/* Pending Review in Day Mode */
html:not(.dark) .product-review-pending-item,
html.light .product-review-pending-item {
  background: #fffbeb !important;
  border: 1.5px solid #f59e0b !important;
}

html:not(.dark) .product-review-pending-item .review-author,
html.light .product-review-pending-item .review-author {
  color: #78350f !important;
}

html:not(.dark) .product-review-pending-item .review-body,
html.light .product-review-pending-item .review-body {
  color: #92400e !important;
}

/* ==========================================================================
   Subscriptions Dropdown 2-Click Open State
   ========================================================================== */
#nav-subscriptions-dropdown.is-open #nav-subscriptions-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

#nav-subscriptions-dropdown.is-open #nav-subscriptions-arrow {
  transform: rotate(180deg) !important;
  color: #818cf8 !important;
}

/* ==========================================================================
   3D Subscriptions Archive (Shop Page) - Modern 3D & Responsive Styling
   ========================================================================== */

.shop-3d-card {
  background: rgba(11, 16, 29, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.1);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.shop-3d-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), 0 0 30px -5px rgba(99, 102, 241, 0.25);
}

.shop-view-btn.active {
  background: #4f46e5 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35) !important;
}

/* Product Card Thumbnail Sizes (Grid & Base) */
.shop-thumb-box {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-thumb-svg {
  width: 80px;
  height: 80px;
}

@media (min-width: 640px) {
  .shop-thumb-box {
    width: 160px;
    height: 160px;
  }
  .shop-thumb-svg {
    width: 96px;
    height: 96px;
  }
}

/* List View Adaptation on Desktop */
@media (min-width: 1024px) {
  .shop-view-list .shop-3d-card .shop-card-inner {
    display: grid !important;
    grid-template-columns: 180px 1fr 340px !important;
    grid-template-rows: auto 1fr !important;
    gap: 1.75rem !important;
    align-items: start !important;
  }
  .shop-view-list .shop-3d-visual {
    grid-column: 1 !important;
    grid-row: 1 / -1 !important;
    align-self: center !important;
    padding: 0 !important;
  }
  .shop-view-list .shop-card-header {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  .shop-view-list .shop-features-list {
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.6rem !important;
    margin-top: 0.5rem !important;
  }
  .shop-view-list .shop-card-actions {
    grid-column: 3 !important;
    grid-row: 1 / -1 !important;
    border-right: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    border-top: none !important;
    padding-right: 1.75rem !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
  }
  .shop-view-list .shop-actions-buttons {
    grid-template-columns: 1fr !important;
  }
}

/* -------------------------------------------------------------
   Shop Page Day Mode (Light Theme) Overrides
   ------------------------------------------------------------- */
html:not(.dark) .shop-breadcrumb-active,
html.light .shop-breadcrumb-active {
  color: #0f172a !important;
}

html:not(.dark) .shop-hero-title,
html.light .shop-hero-title {
  color: #0f172a !important;
}

html:not(.dark) .shop-hero-desc,
html.light .shop-hero-desc {
  color: #475569 !important;
}

html:not(.dark) .shop-trust-pill,
html.light .shop-trust-pill {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

html:not(.dark) .shop-control-bar,
html.light .shop-control-bar {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05) !important;
}

html:not(.dark) .shop-count-text,
html.light .shop-count-text {
  color: #0f172a !important;
}

html:not(.dark) .shop-sort-label,
html.light .shop-sort-label {
  color: #475569 !important;
}

html:not(.dark) .shop-filter-select,
html.light .shop-filter-select {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html:not(.dark) .shop-filter-select option,
html.light .shop-filter-select option {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  color: #0f172a !important;
}

html:not(.dark) .shop-layout-switcher,
html.light .shop-layout-switcher {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

html:not(.dark) .shop-3d-card,
html.light .shop-3d-card {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.02) !important;
}

html:not(.dark) .shop-3d-card:hover,
html.light .shop-3d-card:hover {
  border-color: #6366f1 !important;
  box-shadow: 0 25px 45px -10px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.2) !important;
}

html:not(.dark) .shop-card-title,
html.light .shop-card-title,
html:not(.dark) .shop-card-title a,
html.light .shop-card-title a {
  color: #0f172a !important;
}

html:not(.dark) .shop-card-subtitle,
html.light .shop-card-subtitle {
  color: #64748b !important;
}

html:not(.dark) .shop-features-list,
html.light .shop-features-list {
  border-color: #f1f5f9 !important;
  color: #334155 !important;
}

html:not(.dark) .shop-features-list strong,
html.light .shop-features-list strong {
  color: #0f172a !important;
}

html:not(.dark) .shop-price-amount,
html.light .shop-price-amount {
  color: #0f172a !important;
}

html:not(.dark) .shop-btn-details,
html.light .shop-btn-details {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #1e293b !important;
}

html:not(.dark) .shop-btn-details:hover,
html.light .shop-btn-details:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

/* Shop Hero 3D Card */
.shop-hero-card {
  background: rgba(11, 16, 29, 0.7) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 1.75rem !important; /* 28px smooth rounded corners */
  overflow: hidden !important;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.1) !important;
}

html:not(.dark) .shop-hero-card,
html.light .shop-hero-card {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 1.75rem !important;
  overflow: hidden !important;
  box-shadow: 0 15px 40px -8px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.02) !important;
}

/* Shop Add-to-Cart Secondary 3D Button */
.shop-btn-cart {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
  transition: all 0.2s ease;
}
.shop-btn-cart:hover {
  background: rgba(99, 102, 241, 0.12) !important;
  border-color: rgba(99, 102, 241, 0.35) !important;
  color: #a5b4fc !important;
  transform: translateY(-1px);
}

html:not(.dark) .shop-btn-cart,
html.light .shop-btn-cart {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #334155 !important;
  font-weight: 700 !important;
}
html:not(.dark) .shop-btn-cart:hover,
html.light .shop-btn-cart:hover {
  background: #eef2ff !important;
  border-color: #6366f1 !important;
  color: #4338ca !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15) !important;
}

/* -------------------------------------------------------------
   Shop 11% Cashback Reward 3D Boxes
   ------------------------------------------------------------- */
.shop-cashback-box {
  position: relative;
  overflow: hidden;
  border-radius: 0.875rem; /* 14px */
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem; /* 12px */
  line-height: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Economic Dark Mode */
.shop-cashback-eco {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  box-shadow: 0 2px 10px -2px rgba(16, 185, 129, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.shop-cashback-eco:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.38);
  box-shadow: 0 4px 16px -2px rgba(16, 185, 129, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.shop-cashback-eco .shop-cashback-title {
  color: #34d399; /* emerald-400 */
}
.shop-cashback-eco .shop-cashback-dot {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}
.shop-cashback-eco .shop-cashback-amount {
  color: #ffffff;
}

/* Pro Dark Mode (3D Multi-color Gradient Glow) */
.shop-cashback-pro {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(6, 182, 212, 0.12) 50%, rgba(99, 102, 241, 0.15) 100%);
  border: 1px solid rgba(52, 211, 153, 0.32);
  box-shadow: 0 2px 15px -2px rgba(6, 182, 212, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.shop-cashback-pro:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(6, 182, 212, 0.18) 50%, rgba(99, 102, 241, 0.22) 100%);
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: 0 6px 22px -2px rgba(6, 182, 212, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.shop-cashback-pro .shop-cashback-title {
  color: #34d399; /* emerald-400 */
}
.shop-cashback-pro .shop-cashback-dot {
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.9);
}
.shop-cashback-pro .shop-cashback-amount {
  color: #67e8f9; /* cyan-300 */
}

/* -------------------------------------------------------------
   Shop Cashback Box - Light Mode (Day Theme)
   ------------------------------------------------------------- */
html:not(.dark) .shop-cashback-eco,
html.light .shop-cashback-eco {
  background: #f0fdf4 !important; /* emerald-50 */
  border: 1.5px solid #bbf7d0 !important; /* emerald-200 */
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08), inset 0 1px 0 #ffffff !important;
}
html:not(.dark) .shop-cashback-eco:hover,
html.light .shop-cashback-eco:hover {
  background: #dcfce7 !important; /* emerald-100 */
  border-color: #86efac !important; /* emerald-300 */
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.14) !important;
}
html:not(.dark) .shop-cashback-eco .shop-cashback-title,
html.light .shop-cashback-eco .shop-cashback-title {
  color: #047857 !important; /* emerald-700 */
}
html:not(.dark) .shop-cashback-eco .shop-cashback-dot,
html.light .shop-cashback-eco .shop-cashback-dot {
  background: #10b981 !important;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5) !important;
}
html:not(.dark) .shop-cashback-eco .shop-cashback-amount,
html.light .shop-cashback-eco .shop-cashback-amount {
  color: #064e3b !important; /* emerald-900 */
}

html:not(.dark) .shop-cashback-pro,
html.light .shop-cashback-pro {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 50%, #eef2ff 100%) !important;
  border: 1.5px solid #a7f3d0 !important;
  box-shadow: 0 3px 10px rgba(6, 182, 212, 0.1), inset 0 1px 0 #ffffff !important;
}
html:not(.dark) .shop-cashback-pro:hover,
html.light .shop-cashback-pro:hover {
  background: linear-gradient(135deg, #dcfce7 0%, #cffafe 50%, #e0e7ff 100%) !important;
  border-color: #6ee7b7 !important;
  box-shadow: 0 5px 15px rgba(6, 182, 212, 0.16) !important;
}
html:not(.dark) .shop-cashback-pro .shop-cashback-title,
html.light .shop-cashback-pro .shop-cashback-title {
  color: #047857 !important; /* emerald-700 */
}
html:not(.dark) .shop-cashback-pro .shop-cashback-dot,
html.light .shop-cashback-pro .shop-cashback-dot {
  background: #059669 !important;
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.5) !important;
}
html:not(.dark) .shop-cashback-pro .shop-cashback-amount,
html.light .shop-cashback-pro .shop-cashback-amount {
  color: #0e7490 !important; /* cyan-700 */
}

/* Typography & IRANSans Standard Enforcement */
.shop-archive-page,
.shop-hero-card,
.shop-control-bar,
.shop-3d-card,
#mobile-nav-drawer {
  font-family: 'IRANSans', system-ui, -apple-system, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Mobile Navigation Drawer & Backdrop */
#mobile-nav-backdrop {
  z-index: 99998 !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}
#mobile-nav-backdrop.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#mobile-nav-drawer {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  left: auto !important;
  width: 86vw !important;
  max-width: 350px !important;
  box-sizing: border-box !important;
  transform: translateX(105%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease !important;
  z-index: 99999 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 1.25rem !important;
}
#mobile-nav-drawer.is-active {
  transform: translateX(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

html:not(.dark) #mobile-nav-drawer,
html.light #mobile-nav-drawer {
  background-color: rgba(255, 255, 255, 0.98) !important;
}

html:not(.dark) #mobile-nav-drawer .bg-white\/\[0\.03\],
html.light #mobile-nav-drawer .bg-white\/\[0\.03\],
html:not(.dark) #mobile-nav-drawer .bg-white\/\[0\.02\],
html.light #mobile-nav-drawer .bg-white\/\[0\.02\] {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html:not(.dark) #mobile-nav-drawer a,
html.light #mobile-nav-drawer a {
  color: #0f172a !important;
}

html:not(.dark) #mobile-nav-drawer .text-slate-200,
html.light #mobile-nav-drawer .text-slate-200,
html:not(.dark) #mobile-nav-drawer .text-slate-400,
html.light #mobile-nav-drawer .text-slate-400 {
  color: #334155 !important;
}

html:not(.dark) #mobile-nav-drawer .text-white:not([class*="bg-gradient"]):not([class*="bg-indigo"]):not(.btn-primary),
html.light #mobile-nav-drawer .text-white:not([class*="bg-gradient"]):not([class*="bg-indigo"]):not(.btn-primary) {
  color: #0f172a !important;
}

/* Mobile Navigation Drawer Badges & Card Styles */
.mobile-blog-badge {
  background-color: #4f46e5 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html:not(.dark) .mobile-blog-badge,
html.light .mobile-blog-badge {
  background-color: #4f46e5 !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(79, 70, 229, 0.3) !important;
}

html:not(.dark) .mobile-blog-badge *,
html.light .mobile-blog-badge * {
  color: #ffffff !important;
}

html:not(.dark) .mobile-plan-count-badge,
html.light .mobile-plan-count-badge {
  background-color: #ecfeff !important;
  color: #0e7490 !important;
  border-color: #a5f3fc !important;
}

html:not(.dark) #mobile-nav-drawer a.mobile-nav-blog,
html.light #mobile-nav-drawer a.mobile-nav-blog {
  background-color: #eef2ff !important;
  border-color: #c7d2fe !important;
  color: #3730a3 !important;
}

html:not(.dark) #mobile-nav-drawer a.mobile-nav-blog:hover,
html.light #mobile-nav-drawer a.mobile-nav-blog:hover {
  background-color: #e0e7ff !important;
  border-color: #a5b4fc !important;
  color: #312e81 !important;
}

html:not(.dark) #mobile-menu-toggle,
html.light #mobile-menu-toggle {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html:not(.dark) .shop-filter-select + div,
html.light .shop-filter-select + div {
  color: #475569 !important;
}

html:not(.dark) .shop-thumb-box,
html.light .shop-thumb-box {
  background: linear-gradient(145deg, #090d16 0%, #1e1b4b 60%, #0f172a 100%) !important;
  border: 1.5px solid rgba(99, 102, 241, 0.45) !important;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.25), 0 0 25px -4px rgba(99, 102, 241, 0.25) !important;
}
html:not(.dark) .shop-thumb-box:hover,
html.light .shop-thumb-box:hover {
  border-color: #818cf8 !important;
  box-shadow: 0 20px 40px -5px rgba(15, 23, 42, 0.35), 0 0 35px 0px rgba(99, 102, 241, 0.45) !important;
}

/* Product Thumbnail Badge (18-Month Legal) */
.shop-thumb-badge {
  background: rgba(79, 70, 229, 0.4) !important;
  border: 1px solid rgba(129, 140, 248, 0.5) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}
html:not(.dark) .shop-thumb-badge,
html.light .shop-thumb-badge {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.5) !important;
}

html:not(.dark) .shop-view-list .shop-card-actions,
html.light .shop-view-list .shop-card-actions {
  border-right-color: #e2e8f0 !important;
}

html:not(.dark) nav[aria-label="Breadcrumb"] .text-white,
html.light nav[aria-label="Breadcrumb"] .text-white,
html:not(.dark) .blog-breadcrumb-active,
html.light .blog-breadcrumb-active {
  color: #0f172a !important;
}

html:not(.dark) .blog-hero-title,
html.light .blog-hero-title {
  color: #0f172a !important;
}

html:not(.dark) .blog-hero-desc,
html.light .blog-hero-desc {
  color: #334155 !important;
}

html:not(.dark) .blog-metric-card,
html.light .blog-metric-card {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05) !important;
}

html:not(.dark) .blog-metric-title,
html.light .blog-metric-title {
  color: #0f172a !important;
}

html:not(.dark) .blog-metric-sub,
html.light .blog-metric-sub {
  color: #64748b !important;
}

/* Reading Time Badge on Thumbnail */
.blog-reading-badge {
  background: rgba(15, 23, 42, 0.82) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  color: #ffffff !important;
}
.blog-reading-badge .blog-reading-text,
.blog-reading-badge span {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 11px !important;
}
.blog-reading-badge svg {
  color: #38bdf8 !important;
}

html:not(.dark) .blog-reading-badge,
html.light .blog-reading-badge {
  background: rgba(15, 23, 42, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25) !important;
  color: #ffffff !important;
}
html:not(.dark) .blog-reading-badge .blog-reading-text,
html.light .blog-reading-badge .blog-reading-text,
html:not(.dark) .blog-reading-badge span,
html.light .blog-reading-badge span {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 11px !important;
}
html:not(.dark) .blog-reading-badge svg,
html.light .blog-reading-badge svg {
  color: #22d3ee !important;
}

/* Category Badge on Thumbnail */
.blog-cat-badge {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35) !important;
}
html:not(.dark) .blog-cat-badge,
html.light .blog-cat-badge {
  background: linear-gradient(135deg, #4338ca 0%, #0891b2 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 4px 12px rgba(67, 56, 202, 0.25) !important;
}

/* Blog Card Avatar */
.blog-card-avatar {
  background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
}
html:not(.dark) .blog-card-avatar,
html.light .blog-card-avatar {
  background: linear-gradient(135deg, #4f46e5 0%, #0891b2 100%) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
}

/* Blog Thumb Brand ("GetAiPro Magazine") */
.blog-thumb-brand {
  color: #94a3b8 !important;
}
html:not(.dark) .blog-thumb-brand,
html.light .blog-thumb-brand {
  color: #cbd5e1 !important;
  font-weight: 700 !important;
}

/* Blog Card Title */
.blog-card-title,
.blog-card-title a {
  color: #ffffff !important;
}
html:not(.dark) .blog-card-title,
html.light .blog-card-title,
html:not(.dark) .blog-card-title a,
html.light .blog-card-title a {
  color: #0f172a !important;
}
html:not(.dark) .blog-card-title a:hover,
html.light .blog-card-title a:hover {
  color: #4f46e5 !important;
}

/* Blog Card Excerpt */
.blog-card-excerpt {
  color: #94a3b8 !important;
}
html:not(.dark) .blog-card-excerpt,
html.light .blog-card-excerpt {
  color: #475569 !important;
}

/* Blog Card Date */
.blog-card-date {
  color: #94a3b8 !important;
}
html:not(.dark) .blog-card-date,
html.light .blog-card-date {
  color: #64748b !important;
}

/* Blog Card Author */
.blog-card-author {
  color: #cbd5e1 !important;
}
html:not(.dark) .blog-card-author,
html.light .blog-card-author {
  color: #334155 !important;
  font-weight: 700 !important;
}

/* Blog Card Border */
html:not(.dark) .blog-3d-card .border-white\/\[0\.08\],
html.light .blog-3d-card .border-white\/\[0\.08\] {
  border-color: #e2e8f0 !important;
}

/* Single Post Page Typography in Light Mode */
html:not(.dark) .single-post-page h1,
html.light .single-post-page h1,
html:not(.dark) .single-post-page header h1,
html.light .single-post-page header h1,
html:not(.dark) .single-post-page h2,
html.light .single-post-page h2,
html:not(.dark) .single-post-page h3:not(.blog-offer-title),
html.light .single-post-page h3:not(.blog-offer-title),
html:not(.dark) .single-post-page h4:not(.blog-offer-title),
html.light .single-post-page h4:not(.blog-offer-title) {
  color: #0f172a !important;
}

html:not(.dark) .single-post-page .text-slate-400,
html.light .single-post-page .text-slate-400 {
  color: #475569 !important;
}

html:not(.dark) .single-post-page .border-white\/\[0\.08\],
html.light .single-post-page .border-white\/\[0\.08\] {
  border-color: #e2e8f0 !important;
}

html:not(.dark) .single-post-page .bg-white\/\[0\.05\],
html.light .single-post-page .bg-white\/\[0\.05\],
html:not(.dark) .single-post-page .bg-white\/\[0\.04\],
html.light .single-post-page .bg-white\/\[0\.04\] {
  background-color: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}

/* -------------------------------------------------------------
   Blog Special Offer (Product CTA Banner)
   ------------------------------------------------------------- */
.blog-special-offer {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.75) 0%, rgba(88, 28, 135, 0.5) 50%, rgba(15, 23, 42, 0.85) 100%) !important;
  border: 1.5px solid rgba(99, 102, 241, 0.35) !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(99, 102, 241, 0.2) !important;
}

.blog-special-offer .blog-offer-badge {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
}

.blog-special-offer .blog-offer-title {
  color: #ffffff !important;
}

.blog-special-offer .blog-offer-desc {
  color: #cbd5e1 !important;
}

.blog-special-offer .blog-offer-btn {
  background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.45) !important;
}

/* Light Mode Special Offer Banner */
html:not(.dark) .blog-special-offer,
html.light .blog-special-offer {
  background: linear-gradient(135deg, #090d16 0%, #1e1b4b 60%, #0f172a 100%) !important;
  border: 1.5px solid rgba(99, 102, 241, 0.5) !important;
  box-shadow: 0 20px 40px -10px rgba(30, 27, 75, 0.3), 0 0 25px -5px rgba(99, 102, 241, 0.25) !important;
}

html:not(.dark) .blog-special-offer .blog-offer-badge,
html.light .blog-special-offer .blog-offer-badge {
  background: rgba(16, 185, 129, 0.25) !important;
  color: #34d399 !important;
  border: 1px solid rgba(52, 211, 153, 0.5) !important;
  font-weight: 800 !important;
}

html:not(.dark) .blog-special-offer .blog-offer-title,
html.light .blog-special-offer .blog-offer-title {
  color: #ffffff !important;
  font-weight: 900 !important;
}

html:not(.dark) .blog-special-offer .blog-offer-desc,
html.light .blog-special-offer .blog-offer-desc {
  color: #e2e8f0 !important;
  font-weight: 500 !important;
}

html:not(.dark) .blog-special-offer .blog-offer-btn,
html.light .blog-special-offer .blog-offer-btn {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4) !important;
}

/* Author Bio Card Light Mode */
.author-avatar-box {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
}
html:not(.dark) .author-avatar-box,
html.light .author-avatar-box {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
}
html:not(.dark) .author-bio-card,
html.light .author-bio-card {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #e2e8f0 !important;
}
html:not(.dark) .author-bio-name,
html.light .author-bio-name {
  color: #0f172a !important;
}
html:not(.dark) .author-bio-badge,
html.light .author-bio-badge {
  background: rgba(99, 102, 241, 0.12) !important;
  color: #4f46e5 !important;
  border: 1px solid rgba(99, 102, 241, 0.25) !important;
}
html:not(.dark) .author-bio-desc,
html.light .author-bio-desc {
  color: #475569 !important;
}

/* -------------------------------------------------------------
   Blog & Encyclopedia 3D System (Archive & Single Article)
   ------------------------------------------------------------- */
.blog-hero-card {
  background: rgba(11, 16, 29, 0.7) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 1.75rem !important;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.1) !important;
}

html:not(.dark) .blog-hero-card,
html.light .blog-hero-card {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 15px 40px -8px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.02) !important;
}

.blog-3d-card {
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 1.5rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.blog-3d-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(99, 102, 241, 0.5) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 30px -5px rgba(99, 102, 241, 0.25) !important;
}

html:not(.dark) .blog-3d-card,
html.light .blog-3d-card {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.02) !important;
}

html:not(.dark) .blog-3d-card:hover,
html.light .blog-3d-card:hover {
  border-color: #6366f1 !important;
  box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.2) !important;
}

/* Category Filter Pills */
.blog-cat-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.375rem !important;
  direction: rtl !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  user-select: none;
}

.blog-cat-pill .blog-cat-name {
  display: inline-block;
  direction: rtl;
}

.blog-cat-pill .blog-cat-count {
  display: inline-block;
  direction: rtl;
  opacity: 0.75;
  font-size: 0.72rem;
  font-weight: 500;
}

.blog-cat-pill:hover,
.blog-cat-pill.active {
  background: #4f46e5 !important;
  border-color: #6366f1 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35) !important;
}

html:not(.dark) .blog-cat-pill,
html.light .blog-cat-pill {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

html:not(.dark) .blog-cat-pill:hover,
html:not(.dark) .blog-cat-pill.active,
html.light .blog-cat-pill:hover,
html.light .blog-cat-pill.active {
  background: #4f46e5 !important;
  border-color: #4f46e5 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   3D Blog Pagination
   ========================================================================== */
.blog-pagination-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  direction: rtl;
}

.blog-pagination-list {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 1.125rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  list-style: none !important;
  margin: 0 !important;
}

.blog-pagination-item {
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
}

/* Base style for all pagination items */
.blog-pagination .page-numbers,
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.875rem;
  border-radius: 0.75rem;
  font-family: 'IRANSans', system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  color: #94a3b8;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 4px 0 #05070a,
    0 6px 14px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
  cursor: pointer;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

/* Hover for normal page numbers */
.blog-pagination a.page-numbers:hover,
.pagination a.page-numbers:hover {
  transform: translateY(-2px);
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.5);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22) 0%, rgba(79, 70, 229, 0.12) 100%);
  box-shadow: 
    0 6px 0 #05070a,
    0 12px 22px -3px rgba(99, 102, 241, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

/* Active press down */
.blog-pagination a.page-numbers:active,
.pagination a.page-numbers:active {
  transform: translateY(3px);
  box-shadow: 
    0 1px 0 #05070a,
    0 2px 4px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Current Active Page 3D Button */
.blog-pagination .page-numbers.current,
.pagination .page-numbers.current {
  color: #ffffff !important;
  font-weight: 900 !important;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 
    0 4px 0 #312e81,
    0 10px 24px -2px rgba(99, 102, 241, 0.65),
    inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
  cursor: default;
  pointer-events: none;
}

/* Prev & Next 3D Buttons */
.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next,
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  padding: 0 1.1rem;
  font-size: 0.8rem;
  font-weight: 800;
  gap: 0.375rem;
}

/* Dots (...) */
.blog-pagination .page-numbers.dots,
.pagination .page-numbers.dots {
  min-width: 1.75rem;
  height: 2.75rem;
  padding: 0 0.4rem;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #64748b !important;
  font-size: 1.15rem;
  font-weight: 900;
  cursor: default;
  letter-spacing: 0.15rem;
}

/* Light Mode Overrides for 3D Pagination */
html:not(.dark) .blog-pagination-list,
html.light .blog-pagination-list {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html:not(.dark) .blog-pagination .page-numbers,
html:not(.dark) .pagination .page-numbers,
html.light .blog-pagination .page-numbers,
html.light .pagination .page-numbers {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: #cbd5e1;
  color: #475569;
  box-shadow: 
    0 4px 0 #cbd5e1,
    0 4px 10px rgba(0, 0, 0, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

html:not(.dark) .blog-pagination a.page-numbers:hover,
html:not(.dark) .pagination a.page-numbers:hover,
html.light .blog-pagination a.page-numbers:hover,
html.light .pagination a.page-numbers:hover {
  color: #4f46e5;
  border-color: #a5b4fc;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  box-shadow: 
    0 6px 0 #cbd5e1,
    0 10px 18px rgba(79, 70, 229, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

html:not(.dark) .blog-pagination a.page-numbers:active,
html:not(.dark) .pagination a.page-numbers:active,
html.light .blog-pagination a.page-numbers:active,
html.light .pagination a.page-numbers:active {
  transform: translateY(3px);
  box-shadow: 
    0 1px 0 #cbd5e1,
    inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

html:not(.dark) .blog-pagination .page-numbers.current,
html:not(.dark) .pagination .page-numbers.current,
html.light .blog-pagination .page-numbers.current,
html.light .pagination .page-numbers.current {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
  border-color: #4f46e5 !important;
  color: #ffffff !important;
  box-shadow: 
    0 4px 0 #312e81,
    0 8px 20px -2px rgba(79, 70, 229, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

html:not(.dark) .blog-pagination .page-numbers.dots,
html:not(.dark) .pagination .page-numbers.dots,
html.light .blog-pagination .page-numbers.dots,
html.light .pagination .page-numbers.dots {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #94a3b8 !important;
}

/* Single Post Content Styling */
.blog-content-body {
  font-family: 'IRANSans', system-ui, -apple-system, sans-serif !important;
  line-height: 2.15;
  color: #cbd5e1;
}

html:not(.dark) .blog-content-body,
html.light .blog-content-body {
  color: #334155 !important;
}

.blog-content-body h2 {
  font-size: 1.65rem;
  font-weight: 900;
  color: #ffffff;
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

html:not(.dark) .blog-content-body h2,
html.light .blog-content-body h2 {
  color: #0f172a !important;
  border-bottom-color: #e2e8f0 !important;
}

.blog-content-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

html:not(.dark) .blog-content-body h3,
html.light .blog-content-body h3 {
  color: #1e293b !important;
}

.blog-content-body p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.blog-content-body ul,
.blog-content-body ol {
  margin-top: 1rem;
  margin-bottom: 1.75rem;
  padding-right: 1.5rem;
  space-y: 0.6rem;
}

.blog-content-body ul li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
}

.blog-content-body ol li {
  list-style-type: decimal;
  margin-bottom: 0.5rem;
}

.blog-content-body strong {
  color: #ffffff;
  font-weight: 800;
}

html:not(.dark) .blog-content-body strong,
html.light .blog-content-body strong {
  color: #0f172a !important;
}

.blog-content-body blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  background: rgba(99, 102, 241, 0.08);
  border-right: 4px solid #6366f1;
  border-radius: 0.75rem;
  color: #e2e8f0;
  font-style: italic;
}

html:not(.dark) .blog-content-body blockquote,
html.light .blog-content-body blockquote {
  background: #f8fafc !important;
  border-right-color: #4f46e5 !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0;
  border-right: 4px solid #4f46e5 !important;
}

.blog-callout {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.25);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

html:not(.dark) .blog-callout,
html.light .blog-callout {
  background: #f0f9ff !important;
  border-color: #bae6fd !important;
  color: #0369a1 !important;
}

.blog-content-body pre {
  margin: 1.75rem 0;
  padding: 1.25rem;
  border-radius: 1rem;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
  direction: ltr;
  text-align: left;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  color: #38bdf8;
}

html:not(.dark) .blog-content-body pre,
html.light .blog-content-body pre {
  background: #0f172a !important;
  color: #38bdf8 !important;
}

.blog-content-body code:not(pre code) {
  background: rgba(99, 102, 241, 0.15);
  color: #c084fc;
  padding: 0.2rem 0.45rem;
  border-radius: 0.375rem;
  font-size: 0.9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html:not(.dark) .blog-content-body code:not(pre code),
html.light .blog-content-body code:not(pre code) {
  background: #f1f5f9 !important;
  color: #6366f1 !important;
  border: 1px solid #e2e8f0;
}

/* Author Bio Card */
.author-bio-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
}

html:not(.dark) .author-bio-card,
html.light .author-bio-card {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05) !important;
}

/* Comments Section */
.blog-comment-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.25rem;
  transition: all 0.2s ease;
}

html:not(.dark) .blog-comment-box,
html.light .blog-comment-box {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

.blog-input-field {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 0.875rem;
  transition: all 0.2s ease;
}

.blog-input-field:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #6366f1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

html:not(.dark) .blog-input-field,
html.light .blog-input-field {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html:not(.dark) .blog-input-field:focus,
html.light .blog-input-field:focus {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}










/* -------------------------------------------------------------
   Gemini Pro 18-Month Comparison Matrix & Quota Styling
   ------------------------------------------------------------- */
.comp-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: right;
}

.comp-table th,
.comp-table td {
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.comp-table tr.row-difference {
  background: rgba(99, 102, 241, 0.04);
  transition: background 0.2s ease;
}

.comp-table tr.row-difference:hover {
  background: rgba(99, 102, 241, 0.08);
}

.comp-table tr.row-shared:hover {
  background: rgba(255, 255, 255, 0.02);
}

.comp-cluster-header td {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Sticky Header on scroll */
.comp-sticky-header {
  position: sticky;
  top: 5rem;
  z-index: 30;
  backdrop-filter: blur(20px);
  background: rgba(8, 12, 20, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Quota Badges */
.badge-quota-yes {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 15px -3px rgba(16, 185, 129, 0.2);
}

.badge-quota-no {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  color: #64748b;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-quota-neutral {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.badge-feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Light Mode Overrides for Dashboard Navigation */
html.light .woocommerce-account .woocommerce-MyAccount-navigation {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

html.light .woocommerce-MyAccount-navigation li a {
  color: #475569 !important;
}

html.light .woocommerce-MyAccount-navigation li a:hover {
  background: rgba(0, 0, 0, 0.03) !important;
  color: #0f172a !important;
  border-color: rgba(0, 0, 0, 0.05) !important;
}

html.light .woocommerce-MyAccount-navigation li.is-active a {
  background: rgba(99, 102, 241, 0.1) !important;
  color: #4338ca !important;
  border-color: rgba(99, 102, 241, 0.2) !important;
}

html.light .woocommerce-MyAccount-navigation .text-slate-400 {
  color: #64748b !important;
}

html.light .woocommerce-MyAccount-navigation .border-white\/\[0\.08\] {
  border-color: rgba(0, 0, 0, 0.1) !important;
}

/* -------------------------------------------------------------
   Smart Auto-Sizing Wallet Badge
   ------------------------------------------------------------- */
.gap-wallet-badge {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  transition: all 0.2s ease;
}

.gap-wallet-badge .badge-val {
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

.gap-wallet-badge .badge-unit {
  font-size: 0.76em !important;
  opacity: 0.82;
  margin-right: 0.2rem;
  font-weight: 500;
  display: inline-block;
}

/* Light Mode Overrides for Wallet Badge */
html:not(.dark) .gap-wallet-badge,
html.light .gap-wallet-badge {
  background: #ecfeff !important;
  border-color: #a5f3fc !important;
  color: #0e7490 !important;
  box-shadow: 0 1px 3px rgba(6, 182, 212, 0.08) !important;
}

html:not(.dark) .gap-wallet-badge .badge-unit,
html.light .gap-wallet-badge .badge-unit {
  color: #0891b2 !important;
}


/* === Modern Payment Methods & Wallet Redesign (World-Class 3D Gradient) === */

/* 1. Hide standard radio and checkbox inputs */
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"],
.partial-wallet-card input[type="checkbox"] {
    display: none !important;
}

/* 2. Base styling for payment method list items to act as cards */
.woocommerce-checkout #payment ul.payment_methods li {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(148, 163, 184, 0.2) !important; /* light border by default */
}

html.dark .woocommerce-checkout #payment ul.payment_methods li,
html:not(.light) .woocommerce-checkout #payment ul.payment_methods li {
    border-color: rgba(99, 102, 241, 0.15) !important;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 27, 75, 0.4) 100%) !important;
}

/* 3. The 3D Gradient Border active state using ::before */
.woocommerce-checkout #payment ul.payment_methods li::before,
.partial-wallet-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    padding: 2.5px; /* Border thickness */
    background: transparent;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

/* 4. Active state styling */
.woocommerce-checkout #payment ul.payment_methods li:has(input[type="radio"]:checked),
.partial-wallet-card:has(input[type="checkbox"]:checked) {
    transform: translateY(-3px) scale(1.01) !important;
    border-color: transparent !important;
}

.woocommerce-checkout #payment ul.payment_methods li:has(input[type="radio"]:checked)::before,
.partial-wallet-card:has(input[type="checkbox"]:checked)::before {
    opacity: 1;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6) !important;
    background-size: 300% 300%;
    animation: gradientBorderGlow 4s ease infinite;
}

html.dark .woocommerce-checkout #payment ul.payment_methods li:has(input[type="radio"]:checked),
html:not(.light) .woocommerce-checkout #payment ul.payment_methods li:has(input[type="radio"]:checked),
html.dark .partial-wallet-card:has(input[type="checkbox"]:checked) {
    background: linear-gradient(145deg, rgba(30, 27, 75, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
    box-shadow: 0 15px 35px -5px rgba(139, 92, 246, 0.3), inset 0 2px 20px rgba(255, 255, 255, 0.05) !important;
}

html:not(.dark) .woocommerce-checkout #payment ul.payment_methods li:has(input[type="radio"]:checked),
html.light .woocommerce-checkout #payment ul.payment_methods li:has(input[type="radio"]:checked),
html:not(.dark) .partial-wallet-card:has(input[type="checkbox"]:checked) {
    background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
    box-shadow: 0 15px 35px -5px rgba(139, 92, 246, 0.2), inset 0 2px 20px rgba(0, 0, 0, 0.02) !important;
}

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

/* Make sure the label takes full width for clicking */
.woocommerce-checkout #payment ul.payment_methods li label {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce-checkout #payment ul.payment_methods li img {
    max-height: 32px;
    margin-right: 10px;
    border-radius: 4px;
}

/* Hide custom pseudo-element radio buttons */
.woocommerce-checkout #payment ul.payment_methods li label::before,
.woocommerce-checkout #payment ul.payment_methods li label::after,
.partial-wallet-card label::before,
.partial-wallet-card label::after {
    display: none !important;
}

/* WooCommerce Order Received / Thank You Page Styling */
.woocommerce-checkout .woocommerce-order-details,
.woocommerce-checkout .woocommerce-customer-details {
    background: rgba(30, 27, 75, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: right;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.woocommerce-checkout .woocommerce-order-details h2,
.woocommerce-checkout .woocommerce-customer-details h2 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-family: inherit;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

/* Order Details Table */
.woocommerce-checkout .woocommerce-order-details table.shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.woocommerce-checkout .woocommerce-order-details table.shop_table tbody td {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    font-size: 0.875rem;
}

.woocommerce-checkout .woocommerce-order-details table.shop_table tbody td.product-total {
    text-align: left;
    font-weight: 700;
    color: #818cf8;
}

.woocommerce-checkout .woocommerce-order-details table.shop_table tfoot th,
.woocommerce-checkout .woocommerce-order-details table.shop_table tfoot td {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
}
.woocommerce-checkout .woocommerce-order-details table.shop_table tfoot th {
    color: #cbd5e1;
    font-weight: 400;
}
.woocommerce-checkout .woocommerce-order-details table.shop_table tfoot td {
    color: #ffffff;
    text-align: left;
    font-weight: 800;
}

/* Customer Billing Address */
.woocommerce-checkout .woocommerce-customer-details address {
    font-style: normal;
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 2;
    background: rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}


/* Light Mode Scrollbar Fix */
html.light ::-webkit-scrollbar-track { background: #f8fafc !important; }
html.light ::-webkit-scrollbar-thumb { background: #cbd5e1 !important; }
html.light ::-webkit-scrollbar-thumb:hover { background: #94a3b8 !important; }
