/**
 * Modern CSS Architecture with Layers
 * Dark-first theme system with comprehensive token structure
 * WCAG AA compliant, RTL/LTR support, WordPress/Gutenberg optimized
 */

/* ================================================================
   LAYER 1: TOKENS - Design System Foundation
   ================================================================ */
@layer tokens {
  :root {
    /* Color Scheme Declaration */
    color-scheme: dark light;
    
    /* === CORE COLOR TOKENS (Dark Default) === */
    --bg-primary: #0b0d10;
    --bg-secondary: #12161c;
    --bg-tertiary: #1d1d1d;
    --bg-surface: #282828;
    --bg-overlay: rgba(255, 255, 255, 0.05);
    --bg-modal: rgba(0, 0, 0, 0.9);
    
    --fg-primary: #e9edf1;
    --fg-secondary: #d4d4d4;
    --fg-muted: #9aa4af;
    --fg-inverse: #111827;
    
    --border-primary: #243041;
    --border-secondary: #687a99;
    --border-muted: #d1d1ff;
    --border-focus: #3b82f6;
    
    --link-primary: #7cc4ff;
    --link-hover: #0056b3;
    --link-visited: #ba68c8;
    --link-external: #1da1f2;
    
    --accent-primary: #3b82f6;
    --accent-secondary: #1890ff;
    --accent-tertiary: #046bd2;
    
    /* === STATE COLORS === */
    --success: #2ecc71;
    --warning: #f57c00;
    --error: #e74c3c;
    --info: #3498db;
    
    /* === COMPONENT SPECIFIC === */
    --btn-primary-bg: #1890ff;
    --btn-primary-hover: #003a8c;
    --btn-secondary-bg: #3b3b3b;
    --form-bg: #ecf0f3;
    --form-select-bg: #ccada6;
    --form-select-hover: #d9c3be;
    --table-header-bg: #406a8b;
    --card-bg: #ffffff;
    --toggle-bg: #ffffff;
    --toggle-active: #1da1f2;
    
    /* === COMMENT SYSTEM TOKENS === */
    --comment-bg: rgba(255, 255, 255, 0.03);
    --comment-border: rgba(255, 255, 255, 0.08);
    --comment-hover: rgba(255, 255, 255, 0.05);
    --comment-reply-bg: rgba(255, 255, 255, 0.02);
    --comment-author-bg: rgba(59, 130, 246, 0.1);
    --comment-meta-color: var(--fg-muted);
    --comment-avatar-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    --comment-form-bg: rgba(255, 255, 255, 0.04);
    --comment-form-border: rgba(255, 255, 255, 0.1);
    
    /* === FOOTER SYSTEM TOKENS === */
    --footer-bg: transparent;
    --footer-border: transparent;
    --footer-widget-bg: transparent;
    --footer-widget-hover: transparent;
    --footer-text-color: #e9edf1;
    --footer-link-color: #d4d4d4;
    --footer-link-hover: var(--accent-primary);
    --footer-title-color: #ffffff;
    --footer-social-bg: transparent;
    --footer-social-hover: var(--accent-primary);
    --footer-copyright-bg: transparent;
    --footer-divider: transparent;
    
    /* === GRADIENTS === */
    --gradient-primary: linear-gradient(76.02deg, #688a99 33.32%, #687a99 71.55%);
    --gradient-secondary: radial-gradient(21.29% 87.33% at 50% 50.67%, #7cf2f6 0, #35a6c8 100%);
    --gradient-shine: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    
    /* === SPACING TOKENS === */
    --space-0: 0;
    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 1rem;       /* 16px */
    --space-4: 1.5rem;     /* 24px */
    --space-5: 2rem;       /* 32px */
    --space-6: 2.5rem;     /* 40px */
    --space-7: 3rem;       /* 48px */
    --space-8: 4rem;       /* 64px */
    
    /* === RADIUS TOKENS === */
    --radius-1: 0.25rem;   /* 4px */
    --radius-2: 0.5rem;    /* 8px */
    --radius-3: 0.75rem;   /* 12px */
    --radius-4: 1rem;      /* 16px */
    --radius-5: 1.25rem;   /* 20px */
    --radius-full: 50%;
    --radius-circle: 100px;
    
    /* === SHADOW TOKENS === */
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.25);
    --shadow-2: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-3: 1px 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-4: 0 5px 25px rgba(0, 0, 0, 0.07);
    --shadow-neumorphic: 14px 14px 20px #cbced1, -14px -14px 20px #ffffff;
    --shadow-neumorphic-inset: 2px 2px 2px #b1b1b1, -2px -2px 2px #ffffff;
    
    /* === TRANSITION TOKENS === */
    --trans-1: 150ms ease;
    --trans-2: 300ms ease;
    --trans-3: 500ms ease;
    --trans-hover: all 0.3s ease;
    --trans-focus: all 0.15s ease;
    
    /* === TYPOGRAPHY TOKENS === */
    --font-family-primary: 'PeydaWeb', 'Vazirmatn', 'IRANSans', 'sahel', sans-serif;
    --font-size-xs: 0.75rem;   /* 12px */
    --font-size-sm: 0.875rem;  /* 14px */
    --font-size-base: 1rem;    /* 16px */
    --font-size-lg: 1.125rem;  /* 18px */
    --font-size-xl: 1.25rem;   /* 20px */
    --font-size-2xl: 1.5rem;   /* 24px */
    --font-weight-normal: 300;
    --font-weight-medium: 400;
    --font-weight-semibold: 700;
    --font-weight-bold: 900;
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* === Z-INDEX TOKENS === */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
  }

  /* === LIGHT THEME OVERRIDES === */
  [data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f7f8fa;
    --bg-tertiary: #f5f5f5;
    --bg-surface: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.05);
    --bg-modal: rgba(255, 255, 255, 0.9);
    
    --fg-primary: #111827;
    --fg-secondary: #374151;
    --fg-muted: #6b7280;
    --fg-inverse: #ffffff;
    
    --border-primary: #e5e7eb;
    --border-secondary: #d1d5db;
    --border-muted: #f3f4f6;
    
    --link-primary: #0b70ff;
    --link-hover: #004eff;
    --link-visited: #7b1fa2;
    
    --accent-primary: #2563eb;
    --accent-secondary: #1976d2;
    
    --success: #16a34a;
    --warning: #ea580c;
    --error: #dc2626;
    --info: #0284c7;
    
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-2: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-3: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-4: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* === COMMENT SYSTEM TOKENS - LIGHT THEME === */
    --comment-bg: rgba(0, 0, 0, 0.02);
    --comment-border: rgba(0, 0, 0, 0.08);
    --comment-hover: rgba(0, 0, 0, 0.04);
    --comment-reply-bg: rgba(0, 0, 0, 0.01);
    --comment-author-bg: rgba(37, 99, 235, 0.08);
    --comment-meta-color: var(--fg-muted);
    --comment-avatar-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    --comment-form-bg: rgba(0, 0, 0, 0.03);
    --comment-form-border: rgba(0, 0, 0, 0.1);
    
    /* === FOOTER SYSTEM TOKENS - LIGHT THEME === */
    --footer-bg: transparent;
    --footer-border: transparent;
    --footer-widget-bg: transparent;
    --footer-widget-hover: transparent;
    --footer-text-color: #111827;
    --footer-link-color: #374151;
    --footer-link-hover: var(--accent-primary);
    --footer-title-color: #111827;
    --footer-social-bg: transparent;
    --footer-social-hover: var(--accent-primary);
    --footer-copyright-bg: transparent;
    --footer-divider: transparent;
  }
}

/* ================================================================
   LAYER 2: BASE - Foundation Styles
   ================================================================ */
@layer base {
  /* === CSS RESET & NORMALIZE === */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  /* === ROOT & BODY === */
  html {
    font-size: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
  }

  body {
    background-color: var(--bg-surface);
    color: var(--fg-primary);
    font-family: var(--font-family-primary);
    font-size: var(--font-size-lg);
    line-height: var(--line-height-normal);
    direction: rtl;
    overflow-x: hidden;
    transition: background-color var(--trans-2), color var(--trans-2);
  }

  /* اطمینان از رنگ درست متن در تمام محتوا */
  body,
  .entry-content,
  .wpb_wrapper,
  .vc_column-inner,
  .wpb_text_column,
  .wpb_text_column p,
  .wpb_text_column h2,
  .wpb_text_column h3,
  .wpb_text_column li,
  .wpb_text_column td,
  .wpb_text_column th,
  .content-area,
  .site-content {
    color: var(--fg-primary) !important;
  }

  /* === TYPOGRAPHY BASE === */
  h1, h2, h3, h4, h5, h6,
  .entry-content h1,
  .entry-content h2,
  .entry-content h3,
  .entry-content h4,
  .entry-content h5,
  .entry-content h6 {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--fg-primary);
    margin-block-end: var(--space-4);
  }

  p {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-normal);
    margin-block-end: var(--space-3);
  }

  /* === LINKS === */
  a {
    color: var(--link-primary);
    text-decoration: none;
    transition: color var(--trans-1);
  }

  a:where(:hover, :focus-visible) {
    color: var(--link-hover);
  }

  a:visited {
    color: var(--link-visited);
  }

  /* === LISTS === */
  ol, ul {
    font-size: var(--font-size-base);
    text-align: justify;
    margin-inline-end: var(--space-3);
    margin-inline-start: 0;
    margin-block-end: var(--space-3);
  }

  li {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-normal);
  }

  /* === FORM ELEMENTS === */
  input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
  }

  /* === IMAGES === */
  img {
    max-inline-size: 100%;
    block-size: auto;
    vertical-align: middle;
  }

  /* === FOCUS STYLES === */
  :focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
  }

  /* === REDUCED MOTION === */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
}

/* ================================================================
   LAYER 3: UTILITIES - Helper Classes
   ================================================================ */
@layer utilities {
  /* === SPACING UTILITIES === */
  .u-m-0 { margin: 0; }
  .u-p-0 { padding: 0; }
  .u-p-1 { padding: var(--space-1); }
  .u-p-2 { padding: var(--space-2); }
  .u-p-3 { padding: var(--space-3); }
  .u-p-4 { padding: var(--space-4); }
  .u-p-5 { padding: var(--space-5); }
  
  .u-pi-2 { padding-inline: var(--space-2); }
  .u-pi-3 { padding-inline: var(--space-3); }
  .u-pb-2 { padding-block: var(--space-2); }
  .u-pb-3 { padding-block: var(--space-3); }

  /* === BORDER RADIUS === */
  .u-radius-1 { border-radius: var(--radius-1); }
  .u-radius-2 { border-radius: var(--radius-2); }
  .u-radius-3 { border-radius: var(--radius-3); }
  .u-radius-4 { border-radius: var(--radius-4); }
  .u-radius-5 { border-radius: var(--radius-5); }
  .u-radius-full { border-radius: var(--radius-full); }
  .u-radius-circle { border-radius: var(--radius-circle); }

  /* === SHADOWS === */
  .u-shadow-1 { box-shadow: var(--shadow-1); }
  .u-shadow-2 { box-shadow: var(--shadow-2); }
  .u-shadow-3 { box-shadow: var(--shadow-3); }
  .u-shadow-4 { box-shadow: var(--shadow-4); }

  /* === TEXT UTILITIES === */
  .u-text-center { text-align: center; }
  .u-text-start { text-align: start; }
  .u-text-end { text-align: end; }
  .u-text-justify { text-align: justify; }
  
  .u-font-normal { font-weight: var(--font-weight-normal); }
  .u-font-medium { font-weight: var(--font-weight-medium); }
  .u-font-semibold { font-weight: var(--font-weight-semibold); }
  .u-font-bold { font-weight: var(--font-weight-bold); }

  /* === DISPLAY === */
  .u-hidden { display: none; }
  .u-block { display: block; }
  .u-inline-block { display: inline-block; }
  .u-flex { display: flex; }
  .u-grid { display: grid; }

  /* === FLEX UTILITIES === */
  .u-flex-center { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
  }
  .u-flex-between { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
  }

  /* === TRANSITIONS === */
  .u-transition { transition: var(--trans-hover); }
  .u-transition-fast { transition: var(--trans-1); }
  .u-transition-slow { transition: var(--trans-3); }
}

/* ================================================================
   LAYER 4: COMPONENTS - Reusable UI Elements
   ================================================================ */
@layer components {
  /* === BUTTONS === */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding-inline: var(--space-4);
    padding-block: var(--space-2);
    border: 1px solid transparent;
    border-radius: var(--radius-2);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--trans-1);
    min-block-size: 44px;
  }

  .btn--primary {
    background-color: var(--btn-primary-bg);
    color: var(--fg-inverse);
    border-color: var(--btn-primary-bg);
  }

  .btn--primary:where(:hover, :focus-visible) {
    background-color: var(--btn-primary-hover);
    border-color: var(--btn-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-2);
  }

  .btn--secondary {
    background-color: var(--btn-secondary-bg);
    color: var(--fg-primary);
    border-color: var(--border-primary);
  }

  .btn--rounded {
    border-radius: var(--radius-5);
  }

  /* === CARDS === */
  .card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-3);
    padding: var(--space-4);
    box-shadow: var(--shadow-1);
    transition: box-shadow var(--trans-1);
  }

  .card:where(:hover) {
    box-shadow: var(--shadow-3);
  }

  .card--neumorphic {
    background: var(--form-bg);
    box-shadow: var(--shadow-neumorphic);
    border: none;
  }

  /* === FORM COMPONENTS === */
  .form-field {
    margin-block-end: var(--space-3);
  }

  .form-input,
  .form-select,
  .form-textarea {
    inline-size: 100%;
    padding: var(--space-2);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-2);
    background-color: var(--bg-secondary);
    color: var(--fg-primary);
    font-size: var(--font-size-base);
    transition: border-color var(--trans-1), box-shadow var(--trans-1);
  }

  .form-input:where(:focus, :focus-visible),
  .form-select:where(:focus, :focus-visible),
  .form-textarea:where(:focus, :focus-visible) {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
  }

  .form-select {
    background-color: var(--form-select-bg);
    color: var(--fg-primary);
    padding-inline: var(--space-3);
    font-size: var(--font-size-base);
    border-radius: var(--radius-3);
    box-shadow: var(--shadow-neumorphic-inset);
    transition: var(--trans-3);
    border: 1px solid var(--fg-inverse);
  }

  .form-select:where(:hover) {
    background-color: var(--form-select-hover);
    box-shadow: none;
  }

  /* === NAVIGATION === */
  .nav {
    display: flex;
    gap: var(--space-3);
    align-items: center;
  }

  .nav__link {
    text-align: center;
    font-size: var(--font-size-sm);
    padding: var(--space-2);
    border-radius: var(--radius-2);
    transition: background-color var(--trans-1);
  }

  .nav__link:where(:hover, :focus-visible) {
    background-color: var(--bg-overlay);
  }

  /* === TOGGLE COMPONENT === */
  .toggle {
    margin-block-end: var(--space-4);
    padding: var(--space-1);
    background-color: var(--toggle-bg);
    border-radius: var(--radius-3);
  }

  .toggle__header {
    font-size: var(--font-size-lg);
    color: var(--accent-primary);
    margin: 0;
    padding: var(--space-2);
    cursor: pointer;
  }

  .toggle--active .toggle__header {
    background-color: var(--toggle-active);
    color: var(--fg-inverse);
  }

  .toggle__content {
    margin: 0;
    padding: var(--space-3);
  }
}

/* ================================================================
   LAYER 5: BLOCKS - WordPress/Gutenberg/Plugin Specific
   ================================================================ */
@layer blocks {
  /* === WORDPRESS CORE BLOCKS === */
  .wp-block-image img {
    border-radius: var(--radius-2);
  }

  .wp-block-quote,
  blockquote {
    border-radius: var(--radius-4);
    padding: var(--space-5) var(--space-3);
    margin: var(--space-6) auto var(--space-7);
    box-shadow: var(--shadow-2);
    border: 2px solid var(--border-muted);
    max-inline-size: 70%;
    background-color: var(--bg-secondary);
  }

  .wp-block-quote p,
  blockquote p {
    text-align: center;
    font-size: var(--font-size-lg);
    border-width: 0;
    font-style: normal;
    margin: 0;
  }

  .wp-block-table table,
  table {
    border-collapse: collapse;
    inline-size: 100%;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-2);
    overflow: hidden;
  }

  .wp-block-table th,
  .wp-block-table td,
  th, td {
    padding: var(--space-2);
    text-align: center;
    border: 1px solid var(--border-primary);
    color: var(--fg-primary);
  }

  .wp-block-table th,
  th {
    background-color: var(--table-header-bg);
    color: var(--fg-inverse);
    font-weight: var(--font-weight-semibold);
  }

  .wp-block-code,
  .wp-block-preformatted,
  code, pre {
    background-color: var(--bg-tertiary);
    color: var(--fg-primary);
    border-radius: var(--radius-2);
    font-family: 'Courier New', monospace;
  }

  code {
    padding: var(--space-1);
  }

  pre {
    padding: var(--space-3);
    overflow-x: auto;
    border: 1px solid var(--border-primary);
  }

  /* === WOOCOMMERCE BLOCKS === */
  .woocommerce .woocommerce-pagination ul li {
    float: left;
  }

  .woocommerce ul.products li.product {
    margin-block-end: var(--space-3);
    border-radius: var(--radius-3);
  }

  .woocommerce ul.products li.product img {
    margin-block-end: var(--space-3);
    border-radius: var(--radius-3);
  }

  .woocommerce .woocommerce-loop-product__title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    text-decoration: underline;
    color: var(--link-primary);
    text-align: center;
  }

  .woocommerce .woocommerce-breadcrumb a {
    color: var(--accent-tertiary);
  }

  /* === VISUAL COMPOSER BLOCKS === */
  .vc_column-inner {
    background-color: var(--bg-tertiary);
    padding-block-start: var(--space-2);
  }

  /* حذف background برای فوتر */
  footer .vc_column-inner,
  .site-footer .vc_column-inner {
    background-color: transparent !important;
  }

  /* شفاف کردن VC برای brand grids، noback، logobrand و soalm */
  .vc_column-inner:has(.brand-grid),
  .vc_column-inner:has(.brand-grid6),
  .vc_column-inner:has(.brand-grid6d),
  .vc_column-inner:has(.noback),
  .vc_column-inner:has(.logobrand),
  .vc_column-inner:has(.soalm),
  .brand-grid .vc_column-inner,
  .brand-grid6 .vc_column-inner,
  .brand-grid6d .vc_column-inner,
  .noback .vc_column-inner,
  .logobrand .vc_column-inner,
  .soalm .vc_column-inner {
    background-color: transparent !important;
  }

  .vc_toggle {
    background-color: var(--btn-secondary-bg);
    margin-block-end: var(--space-5);
    padding: var(--space-1);
  }

  .vc_tta-container {
    align-items: center;
    position: relative;
    border-radius: var(--radius-3);
    padding: var(--space-6);
    background: var(--form-bg);
    box-shadow: var(--shadow-neumorphic);
  }

  .vc_active .vc_tta-panel-heading {
    background-color: var(--toggle-active);
  }

  .vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel.vc_active .vc_tta-panel-title > a {
    color: var(--fg-inverse);
  }

  .vc_grid-item {
    background: var(--card-bg);
    padding: var(--space-3);
    margin: var(--space-4);
    box-shadow: var(--shadow-3);
    border-radius: var(--radius-3);
  }

  /* === GRAVITY FORMS === */
  .gform_wrapper .gfield input.large,
  .gform_wrapper .gfield select.large {
    inline-size: 100%;
    block-size: 40px;
    padding-block: 0;
    font-size: var(--font-size-xl);
  }

  .gform_wrapper .gfield select {
    background: var(--form-select-bg);
    color: var(--fg-primary);
    padding-inline: var(--space-3) var(--space-5);
    font-size: var(--font-size-base);
    border-radius: var(--radius-3);
    box-shadow: var(--shadow-neumorphic-inset);
    transition: var(--trans-3);
    border: 1px solid var(--fg-inverse);
  }

  .gform_wrapper .gfield select:where(:hover) {
    box-shadow: none;
    border-radius: var(--radius-3);
    background: var(--form-select-hover);
    border: 1px solid var(--fg-inverse);
  }

  .gform_legacy_markup_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    padding-inline-end: var(--space-3);
    border-radius: var(--radius-2);
    border: 1px solid var(--border-secondary);
  }

  .gform_legacy_markup_wrapper .ginput_product_price {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--error);
  }

  .gform_legacy_markup_wrapper .ginput_product_price_label {
    font-weight: var(--font-weight-bold);
  }

  /* === MEDIA ELEMENTS === */
  .mejs-container,
  .mejs-controls {
    border-radius: var(--radius-3);
  }

  .mejs-controls .mejs-button button {
    color: var(--fg-primary);
    font-size: var(--font-size-xs);
  }

  .mejs-controls a:where(:hover) {
    background: transparent;
  }

  /* === COMMENT SYSTEM - MODERN DESIGN === */
  
  /* Comments Container */
  .comments,
  .comments-area {
    margin-block: var(--space-8) var(--space-6);
    padding: 0;
    background: transparent;
    border: none;
  }

  /* Comments Title */
  .comments-title,
  .ast-plain-container .comment-reply-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--fg-primary);
    margin-block-end: var(--space-6);
    text-align: center;
    position: relative;
  }

  .comments-title::after,
  .ast-plain-container .comment-reply-title::after {
    content: "";
    position: absolute;
    bottom: calc(-1 * var(--space-3));
    inset-inline-start: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
  }

  /* Comment List */
  .comment-list,
  .commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  /* Individual Comment */
  .comment,
  .ast-comment,
  [id^="li-comment-"] {
    background: var(--comment-bg);
    border: 1px solid var(--comment-border);
    border-radius: var(--radius-4);
    padding: var(--space-5);
    margin-block-end: var(--space-5);
    position: relative;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all var(--trans-2);
    box-shadow: var(--shadow-2);
  }

  .comment:hover,
  .ast-comment:hover,
  [id^="li-comment-"]:hover {
    background: var(--comment-hover);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-3);
    transform: translateY(-2px);
  }

  /* Comment Header */
  .comment-header,
  .comment-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-block-end: var(--space-4);
    padding-block-end: var(--space-3);
    border-bottom: 1px solid var(--comment-border);
  }

  /* Comment Avatar */
  .comment-author .avatar,
  .ast-comment .avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: var(--radius-circle);
    border: 2px solid var(--accent-primary);
    box-shadow: var(--comment-avatar-shadow);
    transition: all var(--trans-2);
  }

  .comment:hover .avatar,
  .ast-comment:hover .avatar {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  }

  /* Comment Author Info */
  .comment-author,
  .ast-comment-cite {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
  }

  .comment-author .fn,
  .ast-comment-cite .fn,
  .comment-author-link {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--fg-primary);
    text-decoration: none;
    transition: color var(--trans-1);
  }

  .comment-author .fn:hover,
  .ast-comment-cite .fn:hover,
  .comment-author-link:hover {
    color: var(--accent-primary);
  }

  /* Comment Author Badge */
  .bypostauthor .comment-author .fn::after,
  .bypostauthor .ast-comment-cite .fn::after {
    content: "نویسنده";
    display: inline-block;
    background: var(--comment-author-bg);
    color: var(--accent-primary);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    margin-inline-start: var(--space-2);
    vertical-align: middle;
  }

  /* Comment Meta */
  .comment-metadata,
  .ast-comment-time {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--comment-meta-color);
  }

  .comment-metadata a,
  .ast-comment-time a {
    color: var(--comment-meta-color);
    text-decoration: none;
    transition: color var(--trans-1);
  }

  .comment-metadata a:hover,
  .ast-comment-time a:hover {
    color: var(--accent-primary);
  }

  /* Comment Content */
  .comment-content,
  .ast-comment-content {
    margin-block: var(--space-4) var(--space-3);
    line-height: var(--line-height-relaxed);
    color: var(--fg-secondary);
  }

  .comment-content p,
  .ast-comment-content p {
    margin-block-end: var(--space-3);
  }

  .comment-content p:last-child,
  .ast-comment-content p:last-child {
    margin-block-end: 0;
  }

  /* Comment Reply Link */
  .comment-reply-link,
  .ast-comment-reply {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--accent-primary);
    text-decoration: none;
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-full);
    transition: all var(--trans-2);
    background: transparent;
  }

  .comment-reply-link:hover,
  .ast-comment-reply:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-2);
  }

  .comment-reply-link::before,
  .ast-comment-reply::before {
    content: "↳";
    font-weight: bold;
  }

  /* Nested Comments (Children) */
  .children,
  .ast-comment-list .children {
    margin-block-start: var(--space-5);
    margin-inline-start: var(--space-6);
    padding-inline-start: var(--space-4);
    border-inline-start: 2px solid var(--comment-border);
    position: relative;
  }

  .children::before {
    content: "";
    position: absolute;
    inset-inline-start: -2px;
    top: 0;
    width: 2px;
    height: 40px;
    background: var(--accent-primary);
    border-radius: var(--radius-full);
  }

  .children .comment,
  .children .ast-comment {
    background: var(--comment-reply-bg);
    margin-block-end: var(--space-4);
  }

  /* Comment Form */
  .comment-respond,
  .ast-comment-formwrap {
    background: var(--comment-form-bg);
    border: 1px solid var(--comment-form-border);
    border-radius: var(--radius-4);
    padding: var(--space-6);
    margin-block: var(--space-8) var(--space-6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-3);
  }

  .comment-form-comment label,
  .comment-form-author label,
  .comment-form-email label,
  .comment-form-url label {
    display: block;
    font-weight: var(--font-weight-medium);
    color: var(--fg-primary);
    margin-block-end: var(--space-2);
  }

  .comment-form-comment textarea,
  .comments-area textarea#comment,
  .comment-form-author input,
  .comment-form-email input,
  .comment-form-url input,
  .comments-area input[type="text"],
  .comments-area input[type="email"],
  .comments-area input[type="url"] {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--comment-form-border);
    border-radius: var(--radius-3);
    background: rgba(255, 255, 255, 0.02);
    color: var(--fg-primary);
    font-size: var(--font-size-base);
    transition: all var(--trans-2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .comment-form-comment textarea:focus,
  .comments-area textarea#comment:focus,
  .comment-form-author input:focus,
  .comment-form-email input:focus,
  .comment-form-url input:focus,
  .comments-area input[type="text"]:focus,
  .comments-area input[type="email"]:focus,
  .comments-area input[type="url"]:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: rgba(59, 130, 246, 0.02);
  }

  .comment-form-comment textarea,
  .comments-area textarea#comment {
    min-height: 120px;
    resize: vertical;
  }

  /* Comment Submit Button */
  .comment-form .form-submit input,
  .ast-comment-formwrap .form-submit input,
  input[type="submit"]#submit {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-3);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--trans-2);
    box-shadow: var(--shadow-2);
  }

  .comment-form .form-submit input:hover,
  .ast-comment-formwrap .form-submit input:hover,
  input[type="submit"]#submit:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-3);
  }

  /* Comment Navigation */
  .comment-navigation,
  .comments-pagination {
    margin-block: var(--space-6);
    text-align: center;
  }

  .comment-navigation a,
  .comments-pagination a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--comment-bg);
    border: 1px solid var(--comment-border);
    border-radius: var(--radius-3);
    color: var(--fg-primary);
    text-decoration: none;
    transition: all var(--trans-2);
    margin: 0 var(--space-2);
  }

  .comment-navigation a:hover,
  .comments-pagination a:hover {
    background: var(--comment-hover);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .children,
    .ast-comment-list .children {
      margin-inline-start: var(--space-3);
      padding-inline-start: var(--space-3);
    }

    .comment-header,
    .comment-meta {
      flex-direction: column;
      align-items: flex-start;
      gap: var(--space-2);
    }

    .comment-author .avatar,
    .ast-comment .avatar {
      width: 40px !important;
      height: 40px !important;
    }

    .comment-respond,
    .ast-comment-formwrap {
      padding: var(--space-4);
    }
  }

  /* Animation for new comments */
  @keyframes commentSlideIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .comment.new-comment,
  .ast-comment.new-comment {
    animation: commentSlideIn 0.5s ease-out;
  }

  /* === FOOTER SYSTEM - MODERN GLASSMORPHISM DESIGN === */
  
  /* Main Footer Container */
  .site-footer,
  .ast-footer-wrap,
  footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--footer-divider);
    margin-block-start: var(--space-8);
    position: relative;
    overflow: hidden;
  }

  .site-footer::before,
  .ast-footer-wrap::before,
  footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-primary);
    opacity: 0.3;
  }

  /* Earth Glow Effect - نور زمین از فضا */
  .site-footer::after,
  .ast-footer-wrap::after,
  footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(
      ellipse 120% 100% at center bottom,
      rgba(59, 130, 246, 0.6) 0%,
      rgba(147, 197, 253, 0.4) 25%,
      rgba(219, 234, 254, 0.2) 50%,
      rgba(255, 255, 255, 0.1) 70%,
      transparent 100%
    );
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: normal;
    filter: blur(0.5px);
    animation: earthGlow 8s ease-in-out infinite alternate;
  }

  /* انیمیشن نور زمین */
  @keyframes earthGlow {
    0% {
      opacity: 0.8;
      transform: scaleY(1.0) scaleX(1.05);
    }
    50% {
      opacity: 1;
      transform: scaleY(1.05) scaleX(1.08);
    }
    100% {
      opacity: 0.9;
      transform: scaleY(1.02) scaleX(1.06);
    }
  }

  /* Additional Footer Styling */
  .site-footer {
    text-align: center;
    padding: 10px 0;
  }

  .site-footer .footer-title {
    color: #ffb400;
    font-weight: 700!important;
    font-size: 1rem;
    margin-bottom: 24px!important; /* فاصله منطقی از لینک‌ها */
  }

  .site-footer .footer-links a {
    display: block;
    color: #ccc;
    text-decoration: none;
    line-height: 1; /* فاصله کمتر بین خطوط */
    margin: 18px 0; /* کنترل فاصله عمودی بین لینک‌ها */
    transition: all 0.3s ease;
    font-size: 1rem;
  }

  .site-footer .footer-links a:where(:hover) {
    color: #ffb400;
    text-decoration: underline;
  }

  /* Primary Footer Section */
  .site-primary-footer-wrap,
  .ast-primary-footer,
  .footer-main {
    padding: var(--space-8) var(--space-4);
    position: relative;
  }

  .site-primary-footer-inner-wrap,
  .ast-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Footer Grid */
  .ast-builder-footer-grid-columns,
  .footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
  }

  /* Footer Widget Areas - Clean Minimal Design */

  /* Footer Widget Titles */
  .footer-widget-area .widget-title,
  .footer-widget .widget-title,
  .ast-footer-widget .widget-title,
  .footer-widget-area h1, .footer-widget-area h2, .footer-widget-area h3,
  .footer-widget-area h4, .footer-widget-area h5, .footer-widget-area h6,
  .footer-widget-area .wp-block-heading,
  .widget_block .wp-block-heading {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--footer-title-color);
    margin-block-end: var(--space-5);
    position: relative;
    padding-block-end: var(--space-3);
    text-align: start;
  }

  .footer-widget-area .widget-title::after,
  .footer-widget .widget-title::after,
  .ast-footer-widget .widget-title::after,
  .footer-widget-area .wp-block-heading::after,
  .widget_block .wp-block-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
  }

  /* Footer Content */
  .footer-widget-area p,
  .footer-widget p,
  .ast-footer-widget p,
  .widget_block p {
    font-size: var(--font-size-base);
    color: var(--footer-text-color);
    margin-block-end: var(--space-3);
    line-height: var(--line-height-relaxed);
    text-align: start;
  }

  /* Footer Links */
  .footer-widget-area a,
  .footer-widget a,
  .ast-footer-widget a,
  .widget_block a {
    color: var(--footer-link-color);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: all var(--trans-2);
    display: block;
    padding: var(--space-2) var(--space-1);
    border-radius: var(--radius-2);
    position: relative;
  }

  .footer-widget-area a:hover,
  .footer-widget a:hover,
  .ast-footer-widget a:hover,
  .widget_block a:hover {
    color: var(--footer-link-hover);
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(8px);
    padding-inline-start: var(--space-3);
  }

  /* Lists in Footer */
  .footer-widget-area ul,
  .footer-widget ul,
  .ast-footer-widget ul,
  .widget_block ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-widget-area li,
  .footer-widget li,
  .ast-footer-widget li,
  .widget_block li {
    margin-block-end: var(--space-2);
    position: relative;
  }

  .footer-widget-area li a::before,
  .footer-widget li a::before,
  .ast-footer-widget li a::before,
  .widget_block li a::before {
    content: "→";
    position: absolute;
    inset-inline-start: -20px;
    color: var(--accent-primary);
    opacity: 0;
    transition: all var(--trans-2);
    font-weight: bold;
  }

  .footer-widget-area li a:hover::before,
  .footer-widget li a:hover::before,
  .ast-footer-widget li a:hover::before,
  .widget_block li a:hover::before {
    opacity: 1;
    inset-inline-start: -16px;
  }

  /* Footer Images/Logos */
  .footer-widget-area .wp-block-image,
  .footer-widget-area .footer-logo,
  .widget_block .wp-block-image {
    margin-block: var(--space-4);
    text-align: start;
  }

  .footer-widget-area .wp-block-image img,
  .footer-widget-area .footer-logo img,
  .widget_block .wp-block-image img {
    max-width: 180px;
    height: auto;
    border-radius: var(--radius-3);
    transition: border-color var(--trans-2);
    border: 2px solid transparent;
  }

  .footer-widget-area .wp-block-image img:hover,
  .footer-widget-area .footer-logo img:hover,
  .widget_block .wp-block-image img:hover {
    border-color: var(--accent-primary);
  }

  /* Special Footer Buttons */
  .whatsapp-button,
  .telegram-button,
  .footer-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) !important;
    border-radius: var(--radius-3) !important;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-base);
    transition: all var(--trans-2) !important;
    width: auto;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent !important;
    background: transparent !important;
  }

  .whatsapp-button {
    color: #25d366 !important;
    border-color: rgba(37, 211, 102, 0.3) !important;
  }

  .whatsapp-button:hover {
    color: #ffffff !important;
    background: #25d366 !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  }

  .telegram-button {
    color: #0088cc !important;
    border-color: rgba(0, 136, 204, 0.3) !important;
  }

  .telegram-button:hover {
    color: #ffffff !important;
    background: #0088cc !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
  }

  .footer-button {
    color: var(--footer-link-color) !important;
    border-color: var(--footer-border) !important;
  }

  .footer-button:hover {
    color: #ffffff !important;
    background: var(--accent-primary) !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-3);
  }

  .whatsapp-button img,
  .telegram-button img,
  .footer-button img {
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    margin-left: var(--space-3) !important;
    transition: transform var(--trans-2);
  }

  .whatsapp-button:hover img,
  .telegram-button:hover img,
  .footer-button:hover img {
    transform: scale(1.1) rotate(5deg);
  }

  /* تنظیمات ساختار متن دو خطی */
  .whatsapp-button .text-container,
  .telegram-button .text-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
  }

  .whatsapp-button .fa-rtl,
  .telegram-button .fa-rtl {
    font-size: var(--font-size-sm) !important;
    font-weight: var(--font-weight-medium) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    transition: none !important;
  }

  .whatsapp-button .fa,
  .telegram-button .fa {
    font-size: var(--font-size-xs) !important;
    font-weight: var(--font-weight-normal) !important;
    opacity: 0.8;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    transition: none !important;
  }

  /* Contact Information Widget */
  .footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }

  .footer-contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--radius-3);
    transition: all var(--trans-2);
    background: transparent;
    border: 1px solid var(--footer-border);
  }

  .footer-contact-item:hover {
    background: var(--footer-widget-hover);
    transform: translateX(8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-2);
  }

  .footer-contact-item i,
  .footer-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
    text-align: center;
    font-size: var(--font-size-lg);
    flex-shrink: 0;
  }

  .footer-contact-item span,
  .footer-contact-item p {
    font-size: var(--font-size-base);
    color: var(--footer-text-color);
    margin: 0;
    flex: 1;
  }

  /* Bottom Footer - Copyright & Social */
  .site-below-footer-wrap,
  .ast-below-footer,
  .footer-bottom {
    background: var(--footer-copyright-bg);
    padding: var(--space-6) var(--space-4);
    border-top: 1px solid var(--footer-divider);
    position: relative;
  }

  .site-below-footer-inner-wrap,
  .footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
  }

  /* Social Icons Container */
  .ast-footer-social-wrap,
  .footer-social,
  .social-icons {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: var(--space-4) 0;
  }

  /* Minimal Social Icons */
  .footer-social-item,
  .ast-footer-social-item,
  .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-circle);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    backdrop-filter: blur(10px);
  }

  .footer-social-item:hover,
  .ast-footer-social-item:hover,
  .social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .footer-social-item svg,
  .footer-social-item i,
  .ast-footer-social-item svg,
  .ast-footer-social-item i,
  .social-icon svg,
  .social-icon i {
    width: 18px;
    height: 18px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.7);
    opacity: 0.8;
  }

  .footer-social-item:hover svg,
  .footer-social-item:hover i,
  .ast-footer-social-item:hover svg,
  .ast-footer-social-item:hover i,
  .social-icon:hover svg,
  .social-icon:hover i {
    transform: scale(1.08);
    color: rgba(255, 255, 255, 0.95);
    opacity: 1;
  }

  /* لینک‌های social در صورت وجود */
  .footer-social-item a,
  .ast-footer-social-item a,
  .social-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    border-radius: inherit;
  }

  /* Copyright Section */
  .ast-footer-copyright,
  .footer-copyright {
    text-align: center;
    width: 100%;
  }

  .ast-footer-copyright p,
  .footer-copyright p {
    margin: 0;
    font-size: var(--font-size-base);
    color: var(--footer-text-color);
    font-weight: var(--font-weight-normal);
  }

  .ast-footer-copyright a,
  .footer-copyright a {
    color: var(--footer-link-color);
    text-decoration: none;
    transition: all var(--trans-2);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-2);
  }

  .ast-footer-copyright a:hover,
  .footer-copyright a:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.05);
    color: var(--footer-link-hover);
  }

  /* Responsive Design */
  @media (max-width: 1024px) {
    .ast-builder-footer-grid-columns,
    .footer-widgets {
      grid-template-columns: repeat(2, 1fr);
      gap: var(--space-6);
    }
  }

  @media (max-width: 768px) {
    .ast-builder-footer-grid-columns,
    .footer-widgets {
      grid-template-columns: 1fr;
      gap: var(--space-5);
    }

    .site-primary-footer-wrap,
    .ast-primary-footer,
    .footer-main {
      padding: var(--space-6) var(--space-3);
    }

    .site-below-footer-inner-wrap,
    .footer-bottom-container {
      flex-direction: column;
      text-align: center;
      gap: var(--space-4);
    }

    .ast-footer-social-wrap,
    .footer-social,
    .social-icons {
      justify-content: center;
    }

    .footer-social-item,
    .ast-footer-social-item,
    .social-icon {
      width: 44px;
      height: 44px;
    }

    .footer-social-item svg,
    .footer-social-item i,
    .social-icon svg,
    .social-icon i {
      width: 20px;
      height: 20px;
    }
  }

  @media (max-width: 480px) {
    .site-primary-footer-wrap,
    .ast-primary-footer,
    .footer-main {
      padding: var(--space-5) var(--space-3);
    }

    .footer-social-item,
    .ast-footer-social-item,
    .social-icon {
      width: 40px;
      height: 40px;
    }

    .footer-social-item svg,
    .footer-social-item i,
    .social-icon svg,
    .social-icon i {
      width: 18px;
      height: 18px;
    }
  }

  /* Animation for Footer */
  @keyframes footerSlideUp {
    from {
      opacity: 0;
      transform: translateY(50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Fade-in only to avoid initial vertical overflow that creates double scrollbars */
  @keyframes footerFadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .site-footer,
  .ast-footer-wrap,
  footer {
    /* Use fade-in to prevent layout shift and temporary extra scrollbar */
    animation: footerFadeIn 0.8s ease-out;
  }

  /* Widget Stagger Animation */
  .footer-widget-area:nth-child(1),
  .footer-widget:nth-child(1) { 
    animation: footerSlideUp 0.6s ease-out 0.2s both; 
  }
  .footer-widget-area:nth-child(2),
  .footer-widget:nth-child(2) { 
    animation: footerSlideUp 0.6s ease-out 0.4s both; 
  }
  .footer-widget-area:nth-child(3),
  .footer-widget:nth-child(3) { 
    animation: footerSlideUp 0.6s ease-out 0.6s both; 
  }
  .footer-widget-area:nth-child(4),
  .footer-widget:nth-child(4) { 
    animation: footerSlideUp 0.6s ease-out 0.8s both; 
  }

  /* Accessibility & Reduced Motion */
  @media (prefers-reduced-motion: reduce) {
    .site-footer,
    .ast-footer-wrap,
    footer,
    .footer-widget-area,
    .footer-widget,
    .ast-footer-widget,
    .widget_block {
      animation: none;
    }
    
    .footer-social-item:hover,
    .ast-footer-social-item:hover,
    .social-icon:hover,
    .footer-widget-area:hover,
    .footer-widget:hover,
    .ast-footer-widget:hover,
    .widget_block:hover {
      transform: none;
    }
  }
}

/* ================================================================
   LAYER 6: OVERRIDES - Necessary Specificity Overrides
   ================================================================ */
@layer overrides {
  /* === HIGH SPECIFICITY FIXES === */
  body {
    background: var(--bg-surface) !important;
  }

  /* === HEADINGS COLOR FIXES === */
  h1, h2, h3, h4, h5, h6,
  .entry-content h1,
  .entry-content h2,
  .entry-content h3,
  .entry-content h4,
  .entry-content h5,
  .entry-content h6 {
    color: var(--fg-primary) !important;
  }

  footer p {
    font-size: var(--font-size-base) !important;
    font-weight: var(--font-weight-normal) !important;
    margin-block-end: 0 !important;
  }

  footer a {
    transition: var(--trans-hover) !important;
    color: var(--fg-secondary) !important;
  }

  footer a:where(:hover) {
    color: var(--fg-inverse) !important;
    text-decoration: none;
    background: transparent;
  }

  footer a:where(:hover) {
    color: #ff7c21 !important;
    margin-inline-end: var(--space-2);
    text-decoration: none;
  }

  .vc_column-inner {
    padding-block-start: var(--space-2) !important;
  }

  /* شفاف کردن VC containers برای brand grids، noback، logobrand و soalm در overrides */
  .vc_column-inner:has(.brand-grid),
  .vc_column-inner:has(.brand-grid6),
  .vc_column-inner:has(.brand-grid6d),
  .vc_column-inner:has(.noback),
  .vc_column-inner:has(.logobrand),
  .vc_column-inner:has(.soalm),
  .vc_row:has(.brand-grid),
  .vc_row:has(.brand-grid6),
  .vc_row:has(.brand-grid6d),
  .vc_row:has(.noback),
  .vc_row:has(.logobrand),
  .vc_row:has(.soalm) {
    background-color: transparent !important;
  }

  .vc_col-xs-6 {
    padding-inline: var(--space-2) !important;
  }

  .vc_row-flex {
    padding-inline: var(--space-8) !important;
  }

  /* === PLUGIN OVERRIDES === */
  .edn-notify-bar p {
    text-align: center !important;
  }

  .edn-notify-bar,
  .edn-position-Bottom {
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  .edn-position-Bottom {
    border-block-start: none;
  }

  .edn-notify-bar {
    border-block-end: none;
  }

  /* === WORDPRESS CORE OVERRIDES === */
  .wp-video-shortcode {
    inline-size: 320px !important;
    block-size: 240px !important;
    margin-inline: auto !important;
  }

  .wrap-blog-post img {
    inline-size: unset !important;
  }

  /* === RTL OVERRIDES === */
  .rtd ul {
    padding-inline-start: 0 !important;
  }

  .rtd ol {
    margin-inline-start: 0 !important;
  }

  .rtd h1, .rtd h2, .rtd h3, .rtd h4 {
    line-height: 40px !important;
  }

  /* === RESPONSIVE OVERRIDES === */
  @media (max-width: 768px) {
    .vc_basic_grid .vc_grid.vc_row .vc_grid-item.vc_visible-item {
      inline-size: 30.333333% !important;
    }

    .footer-widget-area .widget p,
    a {
      line-height: 30px !important;
    }
  }

  @media (min-width: 768px) {
    .footer-widget-area .widget {
      margin: 0 !important;
    }
  }

  /* === ACCESSIBILITY OVERRIDES === */
  .ast-icon svg {
    font-size: var(--font-size-xl);
  }

  img[class*=imgn] {
    inline-size: 300px !important;
  }

  /* === ANIMATION OVERRIDES === */
  #installBtn {
    color: var(--fg-inverse);
    background-color: var(--info);
    border: 0;
    outline: 0;
    animation: blink-animation 1s infinite;
    padding: var(--space-3) var(--space-5);
    inline-size: auto;
    cursor: pointer;
    font-size: var(--font-size-base);
  }

  @keyframes blink-animation {
    0%, to {
      background-color: var(--info);
    }
    50% {
      background-color: var(--success);
    }
  }

  @keyframes shine {
    100% { 
      left: 125%; 
    }
  }

  @-webkit-keyframes shine {
    100% {
      left: 125%;
    }
  }
}

/* ================================================================
   SPECIALIZED COMPONENTS - Custom Complex Components
   ================================================================ */

/* === HOVER EFFECTS === */
.hover-shine {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.hover-shine figure {
  position: relative;
  border-radius: var(--radius-3);
  inline-size: 253px;
  block-size: 283px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

.hover-shine figure::before {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  content: '';
  inline-size: 50%;
  block-size: 100%;
  background: var(--gradient-shine);
  transform: skewX(-25deg);
}

.hover-shine figure:where(:hover)::before {
  animation: shine 0.75s;
}

.hover-shine span {
  position: absolute;
  font-weight: var(--font-weight-bold);
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) scale(1);
  z-index: 3;
  inline-size: 100%;
  color: var(--fg-inverse);
  font-size: var(--font-size-base);
  text-align: center;
  background: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  opacity: 0.9;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              bottom 0.3s ease-out,
              transform 0.3s ease-out,
              opacity 0.2s ease,
              text-shadow 0.3s ease;
  pointer-events: none;
}

.hover-shine:where(:hover) span {
  bottom: 50%;
  transform: translate(-50%, 50%) scale(1.15);
  opacity: 1;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3), 
               2px 2px 4px rgba(0, 0, 0, 0.9);
}

/* === BRAND GRID SYSTEM === */
.brand-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: var(--space-6);
  direction: rtl;
  justify-content: center;
  margin: 0;
  background-color: transparent !important;
  position: relative;
}

/* ================================================================
   BRAND SLIDER (Horizontal, RTL) - Dark/Light aware
   Scoped to avoid conflict with existing brand-grid/card styles
   ================================================================ */
@layer components {
  .brand-slider {
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-3);
    padding: var(--space-4);
    margin-block: var(--space-5);
    box-shadow: var(--shadow-2);
    direction: ltr; /* برای حرکت یکنواخت چپ به راست */
    position: relative;
    overflow: hidden; /* hide scrollbar */
  }

  .brand-slider .brand-track {
    display: flex;
    align-items: stretch;
    gap: var(--space-4);
    padding-block: var(--space-1);
    padding-inline: var(--space-1);
    will-change: transform;
    inline-size: max-content; /* عرض برابر محتوای واقعی */
  }

  /* Card inside slider (scoped) */
  .brand-slider .brand-card {
    flex: 0 0 auto;
    inline-size: 200px;
    block-size: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-2);
    background: #00000000!important;
    border: 1px solid #77777700!important;
    border-radius: var(--radius-2);
    box-shadow: var(--shadow-1);
    text-decoration: none;
    color: #fff!important;
    scroll-snap-align: start;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  }

  .brand-slider .brand-card:where(:hover, :focus-visible) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-3);
    border-color: var(--accent-primary);
    outline: none;
  }

  .brand-slider .brand-card img {
    inline-size: 168px;
    block-size: 168px;
    object-fit: contain;
    border-radius: var(--radius-1);
    background: transparent;
    filter: none;
  }

  .brand-slider .brand-name-fa {
    margin: 0;
    font-weight: var(--font-weight-semibold);
    font-size: 14px;
    color: #ffffff!important;
    line-height: 1.35;
  }

  .brand-slider .brand-name-en {
    margin: 0;
    font-size: 12px;
    color: var(--fg-muted);
    line-height: 1.25;
  }

  /* Animation: CSS-only. پس از دوبرابر شدن لیست، با -50% لوپ می‌شود */
  .brand-slider .brand-track.marquee {
    animation: brand-marquee var(--marquee-duration, 20s) linear infinite;
  }

  .brand-slider:where(:hover, :focus-within) .brand-track.marquee {
    animation-play-state: paused;
  }
}

@keyframes brand-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-slider .brand-track.is-marquee { animation: none !important; }
}

/* Light mode tweaks */
@layer components {
  [data-theme="light"] .brand-slider {
    border-color: #ffffff00!important;  
    box-shadow: var(--shadow-1);
  }

  [data-theme="light"] .brand-slider .brand-card {
    background: #ffffff;
    border-color: var(--border-secondary);
    box-shadow: var(--shadow-1);
  }
}

/* Dark mode: white container border */
@layer overrides {
  [data-theme="dark"] .brand-slider {
    border-color: #ffffff00 !important;
  }
}

/* Force overrides to prevent conflict with existing .brand-card grid styles */
@layer overrides {
  .brand-slider .brand-card {
    display: flex !important;
    flex: 0 0 auto !important;
    inline-size: 200px !important;
    block-size: 200px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: var(--space-3) !important;
    gap: var(--space-2) !important;
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-primary) !important;
    border-radius: var(--radius-2) !important;
    box-shadow: var(--shadow-1) !important;
    text-decoration: none !important;
    color: var(--fg-primary) !important;
  }

  .brand-slider .brand-card img {
    inline-size: 168px !important;
    block-size: 168px !important;
    object-fit: contain !important;
    display: block !important;
  }

  .brand-slider .brand-name-fa,
  .brand-slider .brand-name-en {
    margin: 0 !important;
    display: block !important;
    line-height: 1.3 !important;
  }
}

/* Disable hover effects on slider cards and keep marquee running */
@layer overrides {
  .brand-slider .brand-card:where(:hover, :focus-visible) {
    transform: none !important;
    box-shadow: var(--shadow-1) !important;
    border-color: inherit !important;
    outline: none !important;
  }

  .brand-slider:where(:hover, :focus-within) .brand-track.marquee {
    animation-play-state: running !important;
  }

  .brand-slider .brand-track.marquee {
    animation-play-state: running !important;
  }
}

/* Dark mode: transparent cards with white border */
@layer overrides {
  [data-theme="dark"] .brand-slider .brand-card {
    background:  #00000078 !important;
    border-color: #777777 !important;
    box-shadow: none !important;
  }
}

.brand-card {
  inline-size: calc(50% - var(--space-5));
  position: relative;
  border-radius: var(--radius-3);
  overflow: hidden;
  text-decoration: none;
  display: block;
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-2);
  z-index: 5;
}

@media (min-width: 992px) {
  .brand-card {
    inline-size: calc(20% - 32px);
  }
}

@supports (display: grid) {
  .brand-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    justify-items: center;
    background-color: transparent !important;
  }
  
  @media (min-width: 992px) {
    .brand-grid {
      grid-template-columns: repeat(5, 1fr);
    }
  }
  
  .brand-card {
    inline-size: 100%;
  }
}

.brand-card figure {
  inline-size: 100%;
  block-size: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

.brand-card img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(1.15) saturate(0.7);
  transition: filter var(--trans-2);
}

.brand-card figure::before {
  content: '';
  position: absolute;
  top: 0;
  left: -85%;
  inline-size: 50%;
  block-size: 100%;
  background: var(--gradient-shine);
  transform: skewX(-25deg);
  z-index: 2;
}

.brand-card:where(:hover) figure::before {
  animation: shine 0.75s;
}

.brand-card span {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%) scale(1);
  inline-size: 100%;
  font: var(--font-weight-bold) var(--font-size-base)/1 var(--font-family-primary);
  color: #ffffff !important;
  text-align: center;
  pointer-events: none;
  z-index: 3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  opacity: 0.9;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              bottom 0.3s ease-out,
              transform 0.3s ease-out,
              opacity 0.2s ease,
              text-shadow 0.3s ease;
}

.brand-card:where(:hover) span {
  bottom: 50%;
  transform: translate(-50%, 50%) scale(1.15);
  opacity: 1;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3), 
               2px 2px 4px rgba(0, 0, 0, 0.9);
}

/* === BRAND GRID 6 COLUMNS SYSTEM === */
.brand-grid6 {
  display: flex !important;
  flex-wrap: wrap;
  gap: var(--space-6);
  direction: rtl;
  justify-content: center;
  margin: 0;
  background-color: transparent !important;
  position: relative;
}

.brand-card6 {
  inline-size: calc((100% - 200px) / 6);
  position: relative;
  border-radius: var(--radius-3);
  overflow: hidden;
  text-decoration: none;
  display: block;
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-2);
  z-index: 5;
}

/* پشتیبانی از Grid برای brand-grid6 */
@supports (display: grid) {
  .brand-grid6 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    justify-items: center;
    background-color: transparent !important;
  }
  
  @media (min-width: 992px) {
    .brand-grid6 {
      grid-template-columns: repeat(6, 1fr);
    }
  }
  
  .brand-card6 {
    inline-size: 100%;
  }
}

/* ساختار تصویر برند برای کارت 6 تایی */
.brand-card6 figure {
  inline-size: 100%;
  block-size: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

.brand-card6 img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
}

/* افکت درخشش برند برای کارت 6 تایی */
.brand-card6 figure::before {
  content: '';
  position: absolute;
  top: 0;
  left: -85%;
  inline-size: 50%;
  block-size: 100%;
  background: var(--gradient-shine);
  transform: skewX(-25deg);
  z-index: 2;
}

.brand-card6:where(:hover) figure::before {
  animation: shine 0.75s;
}

/* عنوان روی برند برای کارت 6 تایی */
.brand-card6 span {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%) scale(1);
  inline-size: 100%;
  font: var(--font-weight-bold) var(--font-size-base)/1 var(--font-family-primary);
  color: #ffffff !important;
  text-align: center;
  pointer-events: none;
  z-index: 3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  opacity: 0.9;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              bottom 0.3s ease-out,
              transform 0.3s ease-out,
              opacity 0.2s ease,
              text-shadow 0.3s ease;
}

.brand-card6:where(:hover) span {
  bottom: 50%;
  transform: translate(-50%, 50%) scale(1.15);
  opacity: 1;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3), 
               2px 2px 4px rgba(0, 0, 0, 0.9);
}

/* === BRAND GRID 6D COLUMNS SYSTEM (DARK TEXT) === */
.brand-grid6d {
  display: flex !important;
  flex-wrap: wrap;
  gap: var(--space-6);
  direction: rtl;
  justify-content: center;
  margin: 0;
  background-color: transparent !important;
  position: relative;
}

.brand-card6d {
  inline-size: calc((100% - 200px) / 6);
  /* position: relative; */
  border-radius: var(--radius-3);
  overflow: hidden;
  text-decoration: none;
  display: block;
  background-color: #ffffff;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* پشتیبانی از Grid برای brand-grid6d */
@supports (display: grid) {
  .brand-grid6d {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    justify-items: center;
    background-color: transparent !important;
  }
  
  @media (min-width: 992px) {
    .brand-grid6d {
      grid-template-columns: repeat(6, 1fr);
    }
  }
  
  .brand-card6d {
    inline-size: 100%;
    border: #cccccc solid 1px;
  }
}

/* ساختار تصویر برند برای کارت 6d تایی */
.brand-card6d figure {
  /* inline-size: 100%; */
  /* block-size: 100%; */
  margin: 0;
  padding: 0;
  /* position: relative; */
  width: 100%;
  height: auto;
}

.brand-card6d img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
}

/* افکت درخشش برند برای کارت 6d تایی */
/* .brand-card6d figure::before {
/*   content: ''; */
/*   position: absolute; */
/*   top: 0; */
/*   left: -85%; */
/*   inline-size: 50%; */
/*   block-size: 100%; */
/*   background: var(--gradient-shine); */
/*   transform: skewX(-25deg); */
/*   z-index: 2; */
/* } */

/* .brand-card6d:where(:hover) figure::before { */
/*   animation: shine 0.75s; */
/* } */

/* عنوان روی برند برای کارت 6d تایی - متن مشکی */
.brand-card6d span {
  /* position: absolute; */
  /* bottom: var(--space-3); */
  /* left: 50%; */
  /* transform: translateX(-50%) scale(1); */
  inline-size: 100%;
  font: var(--font-weight-bold) var(--font-size-base)/1 var(--font-family-primary);
  color: #000000 !important;
  text-align: center;
  pointer-events: none;
  z-index: 3;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
  opacity: 0.9;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              bottom 0.3s ease-out,
              transform 0.3s ease-out,
              opacity 0.2s ease,
              text-shadow 0.3s ease;
  magin-top: var(--space-3);
  padding-bottom: 5px;
  padding-top: 5px;
}


/* === HOVER14 EFFECTS === */
.hover14 {
  position: relative;
}

.hover14 figure {
  position: relative;
  border-radius: var(--radius-3);
  inline-size: 200px;
  block-size: 200px;
  margin: 0 auto;
  padding: 0;
  background: var(--bg-primary);
  overflow: hidden;
}

.hover14 figure::before {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  content: '';
  inline-size: 50%;
  block-size: 100%;
  background: var(--gradient-shine);
  transform: skewX(-25deg);
}

.hover14 figure:where(:hover)::before {
  animation: shine 0.75s;
}

.hover14 span {
  position: absolute;
  font-weight: var(--font-weight-bold);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(1);
  z-index: 1;
  display: block;
  inline-size: 100%;
  margin: 0;
  padding: 0;
  color: var(--fg-secondary);
  font-size: var(--font-size-base);
  text-decoration: none;
  text-align: center;
  opacity: 0.9;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              bottom 0.3s ease-out,
              transform 0.3s ease-out,
              opacity 0.2s ease,
              color 0.3s ease;
}

.hover14 figure:hover + span {
  bottom: 40px;
  transform: translate(-50%, 0) scale(1.1);
  color: var(--fg-inverse);
  opacity: 1;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

/* === SPECIAL UTILITY CLASSES === */
.fobox h5 {
  text-align: center;
  font-size: var(--font-size-base);
  color: var(--fg-inverse);
  font-weight: var(--font-weight-normal);
}

.ejtemai {
  margin: 0 auto;
  min-inline-size: 40px;
  max-inline-size: 60px;
}

.formja {
  border-radius: var(--radius-5);
  background: var(--form-bg);
  box-shadow: var(--shadow-neumorphic);
  margin: var(--space-7) auto;
  padding: var(--space-1) var(--space-2);
}

.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin-block-end: var(--space-6);
}

/* === LOGO BRAND CLASSES === */
.logobrand,
.logobrand1 {
  background-color: transparent !important;
  background-image: none !important;
  background: transparent !important;
  position: relative;
  color: var(--fg-primary);
}

.logobrand img, 
.logobrand1 img {
  border-radius: var(--radius-circle);
  box-shadow: var(--shadow-3);
}

.logobrand .wpb_text_column {
  padding: var(--space-5);
  color: var(--fg-primary);
}

.logobrand p, 
.logobrand1 p {
  padding: 0;
  font-size: var(--font-size-sm);
  color: var(--fg-primary);
}

.logobrand a, 
.logobrand1 a {
  color: var(--fg-primary);
}

.logobrand1 img {
  padding: var(--space-5);
  margin-block-start: var(--space-6);
}

.logom a {
  color: var(--fg-primary);
}

/* === SPECIAL IMAGE CLASSES === */
.brighten img {
  filter: brightness(1.95);
}

.pricepic img {
  border: solid 1px var(--border-secondary);
  border-radius: var(--radius-5);
}

.padi img {
  transition: var(--trans-1);
}

.padi img:where(:hover) {
  transform: scale(1.11);
}

.slidd img {
  border-block-end: solid 2px #009099;
}

img[class*=imgm] {
  box-shadow: var(--shadow-3);
  border: 9px solid var(--border-muted);
}

.backmil {
  background: var(--gradient-primary), var(--gradient-secondary);
}

.backmil img {
  border-radius: var(--radius-4);
}

/* === TABLE OF CONTENTS === */
.table-of-contents {
  border: 1px solid var(--border-primary);
  padding: var(--space-3);
  border-radius: var(--radius-2);
  background-color: #dff2fe;
  margin: 0 auto;
  inline-size: fit-content;
}

.table-of-contents p {
  margin-block-start: 0;
  text-align: center;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
}

.table-of-contents ul {
  list-style-type: none;
  padding: 0;
  line-height: var(--line-height-relaxed);
}

.table-of-contents ul li {
  margin-block-end: var(--space-2);
}

.table-of-contents ul li a {
  text-decoration: none;
  color: var(--fg-secondary);
  transition: color var(--trans-1);
}

.table-of-contents ul li a:where(:hover) {
  color: var(--link-primary);
}

/* === TRANSPARENT CONTAINERS FIXES === */
/* اطمینان از شفافیت containers که شامل brand grids، noback، logobrand و soalm هستند */
*:has(.brand-grid),
*:has(.brand-grid6),
*:has(.brand-grid6d),
*:has(.noback),
*:has(.logobrand),
*:has(.soalm),
div[class*="vc"]:has(.brand-grid),
div[class*="vc"]:has(.brand-grid6),
div[class*="vc"]:has(.brand-grid6d),
div[class*="vc"]:has(.noback),
div[class*="vc"]:has(.logobrand),
div[class*="vc"]:has(.soalm),
.wpb_column:has(.brand-grid),
.wpb_column:has(.brand-grid6),
.wpb_column:has(.brand-grid6d),
.wpb_column:has(.noback),
.wpb_column:has(.logobrand),
.wpb_column:has(.soalm) {
  background-color: transparent !important;
}

/* === NOBACK CLASS - TRANSPARENT BACKGROUND === */
.noback {
  background-color: transparent !important;
  background-image: none !important;
  background: transparent !important;
  position: relative;
}

/* === FAQ SECTION - SOALM CLASS === */
.soalm {
  background-color: transparent !important;
  padding: var(--space-6) var(--space-4);
  border-radius: var(--radius-4);
  margin: var(--space-6) 0;
}

/* عنوان بخش FAQ */
.soalm .wpb_text_column p {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--fg-primary);
  text-align: center;
  margin-block-end: var(--space-6);
  position: relative;
  padding-block-end: var(--space-3);
}

.soalm .wpb_text_column p::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

/* Toggle Container */
.soalm .vc_toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-3);
  margin-block-end: var(--space-4);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--trans-2);
}

.soalm .vc_toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Toggle Title */
.soalm .vc_toggle_title {
  background: transparent;
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: all var(--trans-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.soalm .vc_toggle_title:hover {
  background: rgba(255, 255, 255, 0.05);
}

.soalm .vc_toggle_title h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--fg-primary);
  margin: 0;
  flex: 1;
  padding-inline-end: var(--space-3);
  line-height: var(--line-height-normal);
}

/* Toggle Icon */
.soalm .vc_toggle_icon {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-circle);
  background: var(--accent-primary);
  transition: all var(--trans-2);
  flex-shrink: 0;
}

.soalm .vc_toggle_icon::before {
  content: '+';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: bold;
  transition: transform var(--trans-2);
}

/* Active State */
.soalm .vc_toggle_active .vc_toggle_icon {
  background: var(--success);
  transform: rotate(45deg);
}

.soalm .vc_toggle_active .vc_toggle_icon::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.soalm .vc_toggle_active .vc_toggle_title {
  background: rgba(255, 255, 255, 0.08);
}

/* Toggle Content */
.soalm .vc_toggle_content {
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.03);
  border-top: none;
  animation: fadeIn 0.3s ease-out;
}

.soalm .vc_toggle_content p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--fg-secondary);
  margin: 0;
  text-align: justify;
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Light Theme Adjustments */
[data-theme="light"] .soalm .vc_toggle {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .soalm .vc_toggle:hover {
  background: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .soalm .vc_toggle_title {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .soalm .vc_toggle_title:hover {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .soalm .vc_toggle_active .vc_toggle_title {
  background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .soalm .vc_toggle_content {
  background: rgba(0, 0, 0, 0.03);
}

/* Responsive Design */
@media (max-width: 768px) {
  .soalm {
    padding: var(--space-4) var(--space-2);
  }
  
  .soalm .vc_toggle_title {
    padding: var(--space-3) var(--space-4);
  }
  
  .soalm .vc_toggle_title h4 {
    font-size: var(--font-size-base);
  }
  
  .soalm .vc_toggle_content {
    padding: var(--space-4);
  }
}

/* === MISCELLANEOUS UTILITY CLASSES === */
.rtlmilad {
  display: block;
  text-align: center;
  text-decoration: none;
}

.bloghomey, 
li.product {
  margin-block-end: var(--space-3);
  border-radius: var(--radius-3);
}

.bloghome img {
  border-start-start-radius: var(--radius-3);
  border-start-end-radius: var(--radius-3);
}

.joinchat__button {
  bottom: 60px;
}

.footerm p {
  margin-block-end: 0;
}

/* === RESPONSIVE UTILITIES === */
@media (max-width: 768px) {
  .u-mobile-hidden { display: none; }
  .u-mobile-text-center { text-align: center; }
  
  .wp-video-shortcode {
    inline-size: 320px !important;
    block-size: 240px !important;
    margin-inline: auto !important;
  }
  
  .logob {
    inline-size: 10%;
  }
}

@media (min-width: 769px) {
  .u-desktop-hidden { display: none; }
}

/* ================================================================
   ASTRA THEME & HEADER OVERRIDES
   ================================================================ */

/* === HEADER & NAVIGATION STYLES === */
/* منو اصلی سایت */
.main-header-menu, 
.main-header-menu ul,
.main-navigation ul,
.main-navigation .menu-item a,
.ast-header-menu .menu-item a,
.ast-desktop .main-header-menu .menu-item > .menu-link,
.ast-above-header-menu .menu-item a,
.ast-below-header-menu .menu-item a {
  color: var(--fg-primary);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.4);
  transition: color var(--trans-1);
}

/* سایه متن برای حالت روز */
[data-theme="light"] .main-header-menu, 
[data-theme="light"] .main-header-menu ul,
[data-theme="light"] .main-navigation ul,
[data-theme="light"] .main-navigation .menu-item a,
[data-theme="light"] .ast-header-menu .menu-item a,
[data-theme="light"] .ast-desktop .main-header-menu .menu-item > .menu-link,
[data-theme="light"] .ast-above-header-menu .menu-item a,
[data-theme="light"] .ast-below-header-menu .menu-item a {
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.4);
}

/* زیرمنوها */
.main-navigation .sub-menu a,
.ast-header-menu .sub-menu .menu-item a,
.main-navigation .children a {
  color: var(--fg-primary);
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.main-navigation .sub-menu,
.ast-header-menu .sub-menu,
.main-navigation .children {
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2);
}

/* زیرمنوها در حالت روز */
[data-theme="light"] .main-navigation .sub-menu a,
[data-theme="light"] .ast-header-menu .sub-menu .menu-item a,
[data-theme="light"] .main-navigation .children a {
  background-color: rgba(245, 245, 245, 0.95);
}

[data-theme="light"] .main-navigation .sub-menu,
[data-theme="light"] .ast-header-menu .sub-menu,
[data-theme="light"] .main-navigation .children {
  background-color: rgba(245, 245, 245, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* هاور منو */
.main-navigation .menu-item a:hover,
.ast-header-menu .menu-item a:hover,
.main-navigation .menu-item.current-menu-item > a,
.ast-desktop .main-header-menu .menu-item:hover > .menu-link {
  color: var(--accent-primary);
}

/* آیکون سرچ و عناصر هدر */
.ast-search-menu-icon,
.ast-search-icon,
.astra-search-icon,
.header-search-icon,
.search-icon,
.ast-header-search .search-field,
.ast-search-box .search-field,
.ast-header-search-icon,
svg.ast-search-svg {
  color: var(--fg-primary) !important;
  fill: var(--fg-primary) !important;
  stroke: var(--fg-primary) !important;
}

/* فیلد جستجو */
.ast-header-search .search-field,
.ast-search-box .search-field {
  background-color: var(--bg-secondary);
  border-color: var(--border-primary);
  color: var(--fg-primary);
}

/* لوگو سایت */
.site-logo-img img,
.custom-logo,
.ast-logo-title-inline .site-logo-img img,
.site-branding img {
  transition: filter var(--trans-1);
}

/* برای حالت شب - لوگو invert شود */
:not([data-theme="light"]) .site-logo-img img,
:not([data-theme="light"]) .custom-logo,
:not([data-theme="light"]) .ast-logo-title-inline .site-logo-img img,
:not([data-theme="light"]) .site-branding img {
  filter: invert(1);
}

/* حالت روز - لوگو نرمال */
[data-theme="light"] .site-logo-img img,
[data-theme="light"] .custom-logo,
[data-theme="light"] .ast-logo-title-inline .site-logo-img img,
[data-theme="light"] .site-branding img {
  filter: none;
}

/* هدر کلی - کاملاً شفاف برای نمایان کردن ستاره‌ها */
.main-header-bar,
.ast-primary-header,
.ast-header-wrap,
#masthead,
.ast-above-header,
.ast-below-header {
  background-color: transparent !important;
  border-bottom: none !important;
  position: relative;
  z-index: 10;
}

/* هدر در حالت روز */
[data-theme="light"] .main-header-bar,
[data-theme="light"] .ast-primary-header,
[data-theme="light"] .ast-header-wrap,
[data-theme="light"] #masthead,
[data-theme="light"] .ast-above-header,
[data-theme="light"] .ast-below-header {
  background-color: transparent !important;
  border-bottom: none !important;
}

/* نام سایت (اگر به جای لوگو استفاده شود) */
.site-title a,
.ast-site-title-wrap .site-title a {
  color: var(--fg-primary);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.4);
}

/* سایه متن نام سایت برای حالت روز */
[data-theme="light"] .site-title a,
[data-theme="light"] .ast-site-title-wrap .site-title a {
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.4);
}

/* موبایل منو */
.ast-mobile-menu-buttons .menu-toggle,
.ast-button-wrap .menu-toggle {
  color: var(--fg-primary) !important;
}

/* آیکون‌های اضافی هدر */
.ast-header-account-wrap,
.ast-header-woo-cart,
.ast-cart-menu-wrap .count,
.ast-header-break-point .ast-mobile-menu-buttons .menu-toggle,
.ast-header-break-point .ast-mobile-header-wrap .ast-mobile-menu-buttons .menu-toggle {
  color: var(--fg-primary);
}

/* آیکون‌های SVG در هدر */
.ast-mobile-svg,
.ast-search-svg,
.ast-close-svg,
.ast-icon,
.ast-mobile-menu-buttons .ast-mobile-svg,
.ast-header-search-icon .ast-search-svg,
.ast-search-menu-icon .ast-icon,
.ast-mobile-menu-buttons svg {
  fill: var(--fg-primary) !important;
  color: var(--fg-primary) !important;
}

/* منوی موبایل باز شده */
.ast-mobile-popup-content,
.ast-mobile-popup-inner {
  background-color: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

[data-theme="light"] .ast-mobile-popup-content,
[data-theme="light"] .ast-mobile-popup-inner {
  background-color: rgba(255, 255, 255, 0.98);
}

.ast-mobile-popup-content .menu-item a {
  color: var(--fg-primary);
}

/* خط تقسیم منو موبایل */
.ast-mobile-popup-content .menu-item {
  border-color: var(--border-primary);
}

/* === PRINT STYLES === */
@media print {
  .btn,
  .nav,
  .theme-toggle,
  .hover-shine,
  .brand-grid {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
}

/* === HIGH CONTRAST MODE === */
@media (prefers-contrast: high) {
  :root {
    --border-primary: currentColor;
    --border-secondary: currentColor;
    --shadow-1: none;
    --shadow-2: none;
    --shadow-3: none;
    --shadow-4: none;
  }
  
  .btn {
    border-width: 2px;
  }
  
  .card {
    border-width: 2px;
  }

  /* === FOOTER OVERRIDES === */
  /* Override قدرتمند برای حذف کامل بکگراند فوتر */
  
  /* Main Footer Containers - Ultimate Override */
  .site-footer,
  .ast-footer-wrap,
  footer,
  footer.site-footer,
  .ast-footer-wrap .site-footer,
  body .site-footer,
  html .site-footer,
  #page .site-footer,
  .ast-container .site-footer,
  .site-container .site-footer,
  .site-footer.site-footer,
  [class*="footer"],
  [id*="footer"],
  div[class*="footer"],
  section[class*="footer"],
  [data-theme="light"] .site-footer,
  [data-theme="light"] .ast-footer-wrap,
  [data-theme="light"] footer,
  [data-theme="dark"] .site-footer,
  [data-theme="dark"] .ast-footer-wrap,
  [data-theme="dark"] footer {
    background-color: transparent !important;
    background-image: none !important;
    background: transparent !important;
    background-attachment: initial !important;
    background-blend-mode: initial !important;
    background-clip: initial !important;
    background-origin: initial !important;
    background-position: initial !important;
    background-repeat: initial !important;
    background-size: initial !important;
  }

  /* Copyright/Below Footer - Ultimate Override */
  .site-below-footer-wrap,
  .ast-below-footer,
  .footer-bottom,
  .site-footer .site-below-footer-wrap,
  body .site-below-footer-wrap,
  html .site-below-footer-wrap,
  .ast-below-footer-wrap,
  [data-theme="light"] .site-below-footer-wrap,
  [data-theme="light"] .ast-below-footer,
  [data-theme="light"] .footer-bottom,
  [data-theme="dark"] .site-below-footer-wrap,
  [data-theme="dark"] .ast-below-footer,
  [data-theme="dark"] .footer-bottom {
    background-color: transparent !important;
    background-image: none !important;
    background: transparent !important;
    background-attachment: initial !important;
    background-blend-mode: initial !important;
    background-clip: initial !important;
    background-origin: initial !important;
    background-position: initial !important;
    background-repeat: initial !important;
    background-size: initial !important;
  }

  /* Ultimate Nuclear Override - در صورت لزوم */
  footer[style*="background"],
  .site-footer[style*="background"],
  .ast-footer-wrap[style*="background"] {
    background-color: transparent !important;
    background-image: none !important;
    background: transparent !important;
  }

  /* اطمینان از رنگ صحیح متن‌های فوتر در حالت light theme */
  [data-theme="light"] .footer-widget-area,
  [data-theme="light"] .footer-widget,
  [data-theme="light"] .ast-footer-widget,
  [data-theme="light"] .widget_block,
  [data-theme="light"] .footer-widget-area *,
  [data-theme="light"] .footer-widget *,
  [data-theme="light"] .ast-footer-widget *,
  [data-theme="light"] .widget_block *,
  [data-theme="light"] .site-footer,
  [data-theme="light"] .ast-footer-wrap,
  [data-theme="light"] footer,
  [data-theme="light"] .site-footer *,
  [data-theme="light"] .ast-footer-wrap *,
  [data-theme="light"] footer * {
    color: #111827 !important;
  }
  
  /* رنگ متن‌های فوتر در حالت dark theme */
  :not([data-theme="light"]) .footer-widget-area,
  :not([data-theme="light"]) .footer-widget,
  :not([data-theme="light"]) .ast-footer-widget,
  :not([data-theme="light"]) .widget_block,
  :not([data-theme="light"]) .footer-widget-area *,
  :not([data-theme="light"]) .footer-widget *,
  :not([data-theme="light"]) .ast-footer-widget *,
  :not([data-theme="light"]) .widget_block *,
  :not([data-theme="light"]) .site-footer,
  :not([data-theme="light"]) .ast-footer-wrap,
  :not([data-theme="light"]) footer,
  :not([data-theme="light"]) .site-footer *,
  :not([data-theme="light"]) .ast-footer-wrap *,
  :not([data-theme="light"]) footer * {
    color: #e9edf1 !important;
  }

  /* override همه لینک‌های فوتر با specificity بالا */
  [data-theme="light"] .site-footer a,
  [data-theme="light"] .ast-footer-wrap a,
  [data-theme="light"] footer a,
  [data-theme="light"] .footer-widget-area a,
  [data-theme="light"] .footer-widget a,
  [data-theme="light"] .ast-footer-widget a,
  [data-theme="light"] .widget_block a,
  [data-theme="light"] .ast-footer-copyright a,
  [data-theme="light"] .footer-copyright a,
  [data-theme="light"] .site-below-footer-wrap a,
  [data-theme="light"] .ast-below-footer a {
    color: #374151 !important;
  }
  
  /* لینک‌های فوتر در حالت dark theme */
  :not([data-theme="light"]) .site-footer a,
  :not([data-theme="light"]) .ast-footer-wrap a,
  :not([data-theme="light"]) footer a,
  :not([data-theme="light"]) .footer-widget-area a,
  :not([data-theme="light"]) .footer-widget a,
  :not([data-theme="light"]) .ast-footer-widget a,
  :not([data-theme="light"]) .widget_block a,
  :not([data-theme="light"]) .ast-footer-copyright a,
  :not([data-theme="light"]) .footer-copyright a,
  :not([data-theme="light"]) .site-below-footer-wrap a,
  :not([data-theme="light"]) .ast-below-footer a {
    color: #7cc4ff !important;
  }

  /* اطمینان از override visited links */
  [data-theme="light"] .site-footer a:visited,
  [data-theme="light"] .ast-footer-wrap a:visited,
  [data-theme="light"] footer a:visited,
  [data-theme="light"] .footer-widget-area a:visited,
  [data-theme="light"] .footer-widget a:visited,
  [data-theme="light"] .ast-footer-widget a:visited,
  [data-theme="light"] .widget_block a:visited {
    color: #374151 !important;
  }
  
  /* visited links در حالت dark theme */
  :not([data-theme="light"]) .site-footer a:visited,
  :not([data-theme="light"]) .ast-footer-wrap a:visited,
  :not([data-theme="light"]) footer a:visited,
  :not([data-theme="light"]) .footer-widget-area a:visited,
  :not([data-theme="light"]) .footer-widget a:visited,
  :not([data-theme="light"]) .ast-footer-widget a:visited,
  :not([data-theme="light"]) .widget_block a:visited {
    color: #ba68c8 !important;
  }

  [data-theme="light"] .footer-widget-area a:hover,
  [data-theme="light"] .footer-widget a:hover,
  [data-theme="light"] .ast-footer-widget a:hover,
  [data-theme="light"] .widget_block a:hover,
  [data-theme="light"] .site-footer a:hover,
  [data-theme="light"] .ast-footer-wrap a:hover,
  [data-theme="light"] footer a:hover {
    color: var(--accent-primary) !important;
  }
  
  /* hover state برای حالت dark theme */
  :not([data-theme="light"]) .footer-widget-area a:hover,
  :not([data-theme="light"]) .footer-widget a:hover,
  :not([data-theme="light"]) .ast-footer-widget a:hover,
  :not([data-theme="light"]) .widget_block a:hover,
  :not([data-theme="light"]) .site-footer a:hover,
  :not([data-theme="light"]) .ast-footer-wrap a:hover,
  :not([data-theme="light"]) footer a:hover {
    color: #90caf9 !important;
  }

  /* override قوی برای همه انواع لینک‌ها در footer */
  [data-theme="light"] footer a,
  [data-theme="light"] footer a:link,
  [data-theme="light"] footer a:any-link,
  [data-theme="light"] .site-footer a,
  [data-theme="light"] .site-footer a:link,
  [data-theme="light"] .site-footer a:any-link,
  [data-theme="light"] .ast-footer-wrap a,
  [data-theme="light"] .ast-footer-wrap a:link,
  [data-theme="light"] .ast-footer-wrap a:any-link {
    color: #374151 !important;
  }
  
  /* override قوی برای لینک‌ها در حالت dark theme */
  :not([data-theme="light"]) footer a,
  :not([data-theme="light"]) footer a:link,
  :not([data-theme="light"]) footer a:any-link,
  :not([data-theme="light"]) .site-footer a,
  :not([data-theme="light"]) .site-footer a:link,
  :not([data-theme="light"]) .site-footer a:any-link,
  :not([data-theme="light"]) .ast-footer-wrap a,
  :not([data-theme="light"]) .ast-footer-wrap a:link,
  :not([data-theme="light"]) .ast-footer-wrap a:any-link {
    color: #7cc4ff !important;
  }

  /* دکمه‌های WhatsApp و Telegram در حالت روز - رنگی در حالت عادی، شفاف در hover */
  [data-theme="light"] .whatsapp-button,
  [data-theme="light"] .whatsapp-button *,
  [data-theme="light"] .whatsapp-button:link,
  [data-theme="light"] .whatsapp-button:any-link {
    color: #ffffff !important;
    background: #25d366 !important;
    border-color: #25d366 !important;
  }

  [data-theme="light"] .telegram-button,
  [data-theme="light"] .telegram-button *,
  [data-theme="light"] .telegram-button:link,
  [data-theme="light"] .telegram-button:any-link {
    color: #ffffff !important;
    background: #0088cc !important;
    border-color: #0088cc !important;
  }

  [data-theme="light"] .whatsapp-button:hover,
  [data-theme="light"] .whatsapp-button:hover * {
    color: #25d366 !important;
    background: transparent !important;
    border-color: rgba(37, 211, 102, 0.3) !important;
  }

  [data-theme="light"] .telegram-button:hover,
  [data-theme="light"] .telegram-button:hover * {
    color: #0088cc !important;
    background: transparent !important;
    border-color: rgba(0, 136, 204, 0.3) !important;
  }

  /* اطمینان از رنگ صحیح متن‌ها در text-container */
  [data-theme="light"] .whatsapp-button .text-container,
  [data-theme="light"] .whatsapp-button .fa-rtl,
  [data-theme="light"] .whatsapp-button .fa {
    color: inherit !important;
  }

  [data-theme="light"] .telegram-button .text-container,
  [data-theme="light"] .telegram-button .fa-rtl,
  [data-theme="light"] .telegram-button .fa {
    color: inherit !important;
  }

  /* تنظیمات آیکون‌های social در حالت روز */
  [data-theme="light"] .footer-social-item,
  [data-theme="light"] .ast-footer-social-item,
  [data-theme="light"] .social-icon {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: none !important;
  }

  [data-theme="light"] .footer-social-item:hover,
  [data-theme="light"] .ast-footer-social-item:hover,
  [data-theme="light"] .social-icon:hover {
    background: rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transform: scale(1.05) !important;
  }

  [data-theme="light"] .footer-social-item svg,
  [data-theme="light"] .footer-social-item i,
  [data-theme="light"] .ast-footer-social-item svg,
  [data-theme="light"] .ast-footer-social-item i,
  [data-theme="light"] .social-icon svg,
  [data-theme="light"] .social-icon i {
    color: rgba(0, 0, 0, 0.6) !important;
    opacity: 0.8 !important;
  }

  [data-theme="light"] .footer-social-item:hover svg,
  [data-theme="light"] .footer-social-item:hover i,
  [data-theme="light"] .ast-footer-social-item:hover svg,
  [data-theme="light"] .ast-footer-social-item:hover i,
  [data-theme="light"] .social-icon:hover svg,
  [data-theme="light"] .social-icon:hover i {
    transform: scale(1.08) !important;
    color: rgba(0, 0, 0, 0.9) !important;
    opacity: 1 !important;
  }

  /* === FOOTER LOGO INVERT در حالت روز === */
  [data-theme="light"] .footer-widget-area img,
  [data-theme="light"] .footer-widget img,
  [data-theme="light"] .ast-footer-widget img,
  [data-theme="light"] .widget_block img,
  [data-theme="light"] .footer-widget-area .wp-block-image img,
  [data-theme="light"] .footer-widget .wp-block-image img,
  [data-theme="light"] .ast-footer-widget .wp-block-image img,
  [data-theme="light"] .widget_block .wp-block-image img,
  [data-theme="light"] .footer-logo img,
  [data-theme="light"] .site-footer img,
  [data-theme="light"] .ast-footer-wrap img,
  [data-theme="light"] footer img {
    filter: invert(1) !important;
    transition: filter var(--trans-2) !important;
  }

  /* حفظ رنگ اصلی آیکون‌های شبکه‌های اجتماعی */
  [data-theme="light"] .footer-social-item img,
  [data-theme="light"] .ast-footer-social-item img,
  [data-theme="light"] .social-icon img,
  [data-theme="light"] .whatsapp-button img,
  [data-theme="light"] .telegram-button img {
    filter: none !important;
  }
}

/* === FONT LOADING === */
@font-face {
  font-family: 'PeydaWeb';
  src: url('/wp-content/uploads/fonts/PeydaWeb-Regular.woff2') format('woff2'),
       url('/wp-content/uploads/fonts/PeydaWeb-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PeydaWeb';
  src: url('/wp-content/uploads/fonts/PeydaWeb-Bold.woff2') format('woff2'),
       url('/wp-content/uploads/fonts/PeydaWeb-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* === FINAL NUCLEAR FOOTER OVERRIDE - آخرین override === */
/* این override در انتهای فایل قرار گرفته تا مطمئن شویم آخرین کد اعمال می‌شود */

.site-footer,
.ast-footer-wrap,
footer,
footer.site-footer,
body footer,
html footer,
#page footer,
.site-footer.site-footer.site-footer,
[data-theme] .site-footer,
body[class] .site-footer,
html[class] .site-footer {
  background-color: transparent !important;
  background-image: none !important;  
  background: transparent !important;
}

/* Override برای هر element که شامل کلمه footer است */
*[class*="footer"] {
  background-color: transparent !important;
  background-image: none !important;
  background: transparent !important;
}

/* Override نهایی با بالاترین specificity ممکن */
html body .site-footer.site-footer,
html body footer.site-footer,
html body .ast-footer-wrap {
  background-color: transparent !important;
  background-image: none !important;
  background: transparent !important;
}

/* === FOOTER LOGO INVERT - Override نهایی === */
/* اینورت تصاویر فوتر در حالت شب - به جز دکمه‌های ارتباط */
html:not([data-theme="light"]) .site-footer img:not(.whatsapp-button img):not(.telegram-button img):not(.footer-button img):not(.wp-image-22790):not(.wp-image-22868),
html:not([data-theme="light"]) .ast-footer-wrap img:not(.whatsapp-button img):not(.telegram-button img):not(.footer-button img):not(.wp-image-22790):not(.wp-image-22868),
html:not([data-theme="light"]) footer img:not(.whatsapp-button img):not(.telegram-button img):not(.footer-button img):not(.wp-image-22790):not(.wp-image-22868),
html:not([data-theme="light"]) .footer-widget-area img:not(.whatsapp-button img):not(.telegram-button img):not(.footer-button img):not(.wp-image-22790):not(.wp-image-22868),
html:not([data-theme="light"]) .footer-widget img:not(.whatsapp-button img):not(.telegram-button img):not(.footer-button img):not(.wp-image-22790):not(.wp-image-22868),
html:not([data-theme="light"]) .ast-footer-widget img:not(.whatsapp-button img):not(.telegram-button img):not(.footer-button img):not(.wp-image-22790):not(.wp-image-22868),
html:not([data-theme="light"]) .widget_block img:not(.whatsapp-button img):not(.telegram-button img):not(.footer-button img):not(.wp-image-22790):not(.wp-image-22868),
html:not([data-theme="light"]) .site-footer .wp-block-image img,
html:not([data-theme="light"]) .ast-footer-wrap .wp-block-image img,
html:not([data-theme="light"]) footer .wp-block-image img,
html:not([data-theme="light"]) .footer-logo img,
html:not([data-theme="light"]) .site-footer [class*="logo"] img,
html:not([data-theme="light"]) .ast-footer-wrap [class*="logo"] img,
html:not([data-theme="light"]) footer [class*="logo"] img,
body:not([data-theme="light"]) .site-footer img:not(.whatsapp-button img):not(.telegram-button img):not(.footer-button img):not(.wp-image-22790):not(.wp-image-22868),
body:not([data-theme="light"]) .ast-footer-wrap img:not(.whatsapp-button img):not(.telegram-button img):not(.footer-button img):not(.wp-image-22790):not(.wp-image-22868),
body:not([data-theme="light"]) footer img:not(.whatsapp-button img):not(.telegram-button img):not(.footer-button img):not(.wp-image-22790):not(.wp-image-22868) {
  filter: invert(1) !important;
  -webkit-filter: invert(1) !important;
  transition: filter 0.3s ease !important;
}

/* تصاویر فوتر در حالت روز - نرمال */
html[data-theme="light"] .site-footer img,
html[data-theme="light"] .ast-footer-wrap img,
html[data-theme="light"] footer img,
html[data-theme="light"] .footer-widget-area img,
html[data-theme="light"] .footer-widget img,
html[data-theme="light"] .ast-footer-widget img,
html[data-theme="light"] .widget_block img,
html[data-theme="light"] .site-footer .wp-block-image img,
html[data-theme="light"] .ast-footer-wrap .wp-block-image img,
html[data-theme="light"] footer .wp-block-image img,
html[data-theme="light"] .footer-logo img,
html[data-theme="light"] .site-footer [class*="logo"] img,
html[data-theme="light"] .ast-footer-wrap [class*="logo"] img,
html[data-theme="light"] footer [class*="logo"] img,
body[data-theme="light"] .site-footer img,
body[data-theme="light"] .ast-footer-wrap img,
body[data-theme="light"] footer img {
  filter: none !important;
  -webkit-filter: none !important;
  transition: filter 0.3s ease !important;
}

/* حفظ رنگ اصلی آیکون‌های social و دکمه‌ها در همه حالت‌ها */
.footer-social-item img,
.ast-footer-social-item img,
.social-icon img,
.whatsapp-button img,
.telegram-button img,
.footer-button img,
[class*="social"] img,
.whatsapp-button svg,
.telegram-button svg,
.footer-button svg {
  filter: none !important;
  -webkit-filter: none !important;
}

/* حفظ مطلق رنگ دکمه‌های ارتباط در همه حالت‌ها */
html .whatsapp-button img,
html .telegram-button img,
html .footer-button img,
body .whatsapp-button img,
body .telegram-button img,
body .footer-button img,
html:not([data-theme="light"]) .whatsapp-button img,
html:not([data-theme="light"]) .telegram-button img,
html:not([data-theme="light"]) .footer-button img,
[data-theme="dark"] .whatsapp-button img,
[data-theme="dark"] .telegram-button img,
[data-theme="dark"] .footer-button img,
.site-footer .whatsapp-button img,
.site-footer .telegram-button img,
.site-footer .footer-button img,
footer .whatsapp-button img,
footer .telegram-button img,
footer .footer-button img {
  filter: none !important;
  -webkit-filter: none !important;
}

/* SVG های فوتر - همیشه رنگ اصلی (بدون اینورت) */
.site-footer svg,
.ast-footer-wrap svg,
footer svg,
.footer-widget-area svg,
.footer-widget svg,
.ast-footer-widget svg,
.widget_block svg {
  filter: none !important;
  -webkit-filter: none !important;
}

/* === OVERRIDE قطعی برای دکمه‌های ارتباط === */
/* این قوانین باید در انتها باشند تا هر چیز دیگری را override کنند */
html body .whatsapp-button img,
html body .telegram-button img,
html body .footer-button img,
html body footer .whatsapp-button img,
html body footer .telegram-button img,
html body footer .footer-button img {
  filter: none !important;
  -webkit-filter: none !important;
  background: none !important;
}

/* لوگوی خاص (wp-image-22790 و wp-image-22868) همیشه رنگ اصلی - بدون اینورت */
.wp-image-22790,
.wp-image-22868,
html .wp-image-22790,
html .wp-image-22868,
body .wp-image-22790,
body .wp-image-22868,
html:not([data-theme="light"]) .wp-image-22790,
html:not([data-theme="light"]) .wp-image-22868,
html[data-theme="light"] .wp-image-22790,
html[data-theme="light"] .wp-image-22868,
body:not([data-theme="light"]) .wp-image-22790,
body:not([data-theme="light"]) .wp-image-22868,
body[data-theme="light"] .wp-image-22790,
body[data-theme="light"] .wp-image-22868,
.site-footer .wp-image-22790,
.site-footer .wp-image-22868,
footer .wp-image-22790,
footer .wp-image-22868 {
    filter: none !important;
    -webkit-filter: none !important;
}

/* === HIDE MOONLIGHT در حالت روز === */
/* مخفی کردن کامل نور مهتاب در light theme */
[data-theme="light"] #starfield::before,
html[data-theme="light"] #starfield::before,
body[data-theme="light"] #starfield::before {
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
}

/* اطمینان از مخفی بودن نور مهتاب در حالت روز */
[data-theme="light"] #starfield {
  --moonlight-opacity: 0 !important;
}

html[data-theme="light"] #starfield {
  --moonlight-opacity: 0 !important;
}

body[data-theme="light"] #starfield {
  --moonlight-opacity: 0 !important;
}

/* === FOOTER SOCIAL ICONS STYLING در حالت روز === */
/* رنگ آیکون‌های شبکه‌های اجتماعی در حالت روز */
[data-theme="light"] .footer-social-item svg,
[data-theme="light"] .footer-social-item i,
[data-theme="light"] .ast-footer-social-item svg,
[data-theme="light"] .ast-footer-social-item i,
[data-theme="light"] .social-icon svg,
[data-theme="light"] .social-icon i,
html[data-theme="light"] .footer-social-item svg,
html[data-theme="light"] .footer-social-item i,
html[data-theme="light"] .ast-footer-social-item svg,
html[data-theme="light"] .ast-footer-social-item i,
html[data-theme="light"] .social-icon svg,
html[data-theme="light"] .social-icon i {
  color: #2563eb !important;
  fill: #2563eb !important;
}

/* Hover state برای social icons در حالت روز */
[data-theme="light"] .footer-social-item:hover svg,
[data-theme="light"] .footer-social-item:hover i,
[data-theme="light"] .ast-footer-social-item:hover svg,
[data-theme="light"] .ast-footer-social-item:hover i,
[data-theme="light"] .social-icon:hover svg,
[data-theme="light"] .social-icon:hover i,
html[data-theme="light"] .footer-social-item:hover svg,
html[data-theme="light"] .footer-social-item:hover i,
html[data-theme="light"] .ast-footer-social-item:hover svg,
html[data-theme="light"] .ast-footer-social-item:hover i,
html[data-theme="light"] .social-icon:hover svg,
html[data-theme="light"] .social-icon:hover i {
  color: #1e40af !important;
  fill: #1e40af !important;
}

/* Background color برای social icons در حالت روز */
[data-theme="light"] .footer-social-item,
[data-theme="light"] .ast-footer-social-item,
[data-theme="light"] .social-icon,
html[data-theme="light"] .footer-social-item,
html[data-theme="light"] .ast-footer-social-item,
html[data-theme="light"] .social-icon {
  background: rgba(37, 99, 235, 0.1) !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
}

/* Hover background برای social icons در حالت روز */
[data-theme="light"] .footer-social-item:hover,
[data-theme="light"] .ast-footer-social-item:hover,
[data-theme="light"] .social-icon:hover,
html[data-theme="light"] .footer-social-item:hover,
html[data-theme="light"] .ast-footer-social-item:hover,
html[data-theme="light"] .social-icon:hover {
  background: rgba(37, 99, 235, 0.2) !important;
  border-color: #2563eb !important;
}

/* === FOOTER SOCIAL ICONS CENTER LAYOUT === */
/* مرکزی کردن آیکون‌های شبکه‌های اجتماعی */
.site-below-footer-inner-wrap,
.footer-bottom-container,
html .site-below-footer-inner-wrap,
html .footer-bottom-container,
body .site-below-footer-inner-wrap,
body .footer-bottom-container {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

/* ترتیب صحیح: social icons اول، سپس copyright */
.ast-footer-social-wrap,
.footer-social,
.social-icons,
html .ast-footer-social-wrap,
html .footer-social,
html .social-icons,
body .ast-footer-social-wrap,
body .footer-social,
body .social-icons {
  order: 1 !important;
  justify-content: center !important;
  width: 100% !important;
}

.ast-footer-copyright,
.footer-copyright,
html .ast-footer-copyright,
html .footer-copyright,
body .ast-footer-copyright,
body .footer-copyright {
  order: 2 !important;
  width: 100% !important;
  text-align: center !important;
}

/* === EARTH GLOW EFFECT در حالت روز === */
/* مخفی کردن نور زمین در حالت روز */
[data-theme="light"] .site-footer::after,
[data-theme="light"] .ast-footer-wrap::after,
[data-theme="light"] footer::after,
html[data-theme="light"] .site-footer::after,
html[data-theme="light"] .ast-footer-wrap::after,
html[data-theme="light"] footer::after {
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
}

/* تنظیم z-index برای footer widgets تا بالای نور باشند */
.footer-widget-area,
.footer-widget,
.ast-footer-widget,
.site-primary-footer-wrap,
.ast-primary-footer,
.footer-main,
.site-below-footer-inner-wrap,
.footer-bottom-container {
  position: relative;
  z-index: 2;
}

/* حالت reduced motion */
@media (prefers-reduced-motion: reduce) {
  .site-footer::after,
  .ast-footer-wrap::after,
  footer::after {
    animation: none;
  }
}

/* Responsive Earth Glow - غیرفعال‌سازی کامل نور زمین در موبایل */
@media (max-width: 768px) {
  /* غیرفعال‌سازی کامل افکت نور زمین در موبایل - هر دو حالت روشن و تیره */
  .site-footer::after,
  .ast-footer-wrap::after,
  footer::after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    animation: none !important;
    transform: none !important;
    background: none !important;
    height: 0 !important;
    pointer-events: none !important;
  }

  [data-theme="light"] .site-footer::after,
  [data-theme="light"] .ast-footer-wrap::after,
  [data-theme="light"] footer::after,
  html[data-theme="light"] .site-footer::after,
  html[data-theme="light"] .ast-footer-wrap::after,
  html[data-theme="light"] footer::after {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
  }
}

/* اطمینان از غیرفعال‌سازی در موبایل‌های کوچک */
@media (max-width: 480px) {
  .site-footer::after,
  .ast-footer-wrap::after,
  footer::after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    animation: none !important;
    transform: none !important;
    background: none !important;
    height: 0 !important;
    width: 0 !important;
    content: none !important;
    pointer-events: none !important;
  }
}





/* ================================================================
   MODERN DOWNLOAD BUTTONS STYLES - Override Visual Composer
   ================================================================ */
@layer overrides {
  /* Reset Visual Composer Default Styles - Nuclear Option */
  .dokme1,
  .dokme2,
  a.dokme1,
  a.dokme2,
  .wpb_wrapper .dokme1,
  .wpb_wrapper .dokme2,
  .vc_column .dokme1,
  .vc_column .dokme2 {
    all: unset !important;
    box-sizing: border-box !important;
  }
  /* دکمه آبی - دانلود لیست قیمت (dokme1) - فورس کامل */
  .dokme1,
  .dokme1 *,
  .dokme1:before,
  .dokme1:after,
  .dokme1::before,
  .dokme1::after,
  a.dokme1,
  button.dokme1,
  .vc_btn3.dokme1,
  .wpb_button.dokme1 {
    background: #1890ff !important;
    background-color: #1890ff !important;
    background-image: none !important;
    background-size: auto !important;
    background-position: 0 0 !important;
    background-repeat: no-repeat !important;
    border: 2px solid #1890ff !important;
    border-color: #1890ff !important;
    border-top-color: #1890ff !important;
    border-right-color: #1890ff !important;
    border-bottom-color: #1890ff !important;
    border-left-color: #1890ff !important;
    color: #ffffff !important;
    border-radius: var(--radius-md) !important;
    padding: var(--space-3) var(--space-5) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--space-2) !important;
    transition: all var(--transition-normal) !important;
    box-shadow: 0 4px 15px rgba(24, 144, 255, 0.3) !important;
    text-shadow: none !important;
    position: relative !important;
    overflow: hidden !important;
    min-width: 200px !important;
    cursor: pointer !important;
    transform: translateY(0) !important;
    outline: none !important;
    filter: none !important;
    opacity: 1 !important;
  }



  .dokme1:hover,
  .dokme1:hover *,
  .dokme1:hover:before,
  .dokme1:hover:after,
  .dokme1:hover::before,
  .dokme1:hover::after,
  a.dokme1:hover,
  button.dokme1:hover {
    background: #40a9ff !important;
    background-color: #40a9ff !important;
    background-image: none !important;
    border-color: #40a9ff !important;
    border-top-color: #40a9ff !important;
    border-right-color: #40a9ff !important;
    border-bottom-color: #40a9ff !important;
    border-left-color: #40a9ff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(64, 169, 255, 0.4) !important;
  }

  .dokme1:active,
  .dokme1:active *,
  .dokme1:active:before,
  .dokme1:active:after,
  .dokme1:active::before,
  .dokme1:active::after,
  a.dokme1:active,
  button.dokme1:active {
    background: #1890ff !important;
    background-color: #1890ff !important;
    background-image: none !important;
    border-color: #1890ff !important;
    border-top-color: #1890ff !important;
    border-right-color: #1890ff !important;
    border-bottom-color: #1890ff !important;
    border-left-color: #1890ff !important;
    transform: translateY(0) !important;
    box-shadow: 0 2px 10px rgba(24, 144, 255, 0.3) !important;
  }

  /* دکمه نارنجی/قرمز - کاتالوگ و گواهینامه (dokme2) - فورس کامل */
  .dokme2,
  .dokme2 *,
  .dokme2:before,
  .dokme2:after,
  .dokme2::before,
  .dokme2::after,
  a.dokme2,
  button.dokme2,
  .vc_btn3.dokme2,
  .wpb_button.dokme2 {
    background: #ff6b35 !important;
    background-color: #ff6b35 !important;
    background-image: none !important;
    background-size: auto !important;
    background-position: 0 0 !important;
    background-repeat: no-repeat !important;
    border: 2px solid #ff6b35 !important;
    border-color: #ff6b35 !important;
    border-top-color: #ff6b35 !important;
    border-right-color: #ff6b35 !important;
    border-bottom-color: #ff6b35 !important;
    border-left-color: #ff6b35 !important;
    color: #ffffff !important;
    border-radius: var(--radius-md) !important;
    padding: var(--space-3) var(--space-5) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--space-2) !important;
    transition: all var(--transition-normal) !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
    text-shadow: none !important;
    position: relative !important;
    overflow: hidden !important;
    min-width: 200px !important;
    cursor: pointer !important;
    transform: translateY(0) !important;
    outline: none !important;
    filter: none !important;
    opacity: 1 !important;
  }



  .dokme2:hover,
  .dokme2:hover *,
  .dokme2:hover:before,
  .dokme2:hover:after,
  .dokme2:hover::before,
  .dokme2:hover::after,
  a.dokme2:hover,
  button.dokme2:hover {
    background: #ff8c69 !important;
    background-color: #ff8c69 !important;
    background-image: none !important;
    border-color: #ff8c69 !important;
    border-top-color: #ff8c69 !important;
    border-right-color: #ff8c69 !important;
    border-bottom-color: #ff8c69 !important;
    border-left-color: #ff8c69 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 140, 105, 0.4) !important;
  }

  .dokme2:active,
  .dokme2:active *,
  .dokme2:active:before,
  .dokme2:active:after,
  .dokme2:active::before,
  .dokme2:active::after,
  a.dokme2:active,
  button.dokme2:active {
    background: #ff6b35 !important;
    background-color: #ff6b35 !important;
    background-image: none !important;
    border-color: #ff6b35 !important;
    border-top-color: #ff6b35 !important;
    border-right-color: #ff6b35 !important;
    border-bottom-color: #ff6b35 !important;
    border-left-color: #ff6b35 !important;
    transform: translateY(0) !important;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3) !important;
  }



  /* استایل‌های Responsive */
  @media (max-width: 768px) {
    .dokme1, .dokme2 {
      padding: var(--space-2) var(--space-4);
      font-size: 14px;
      min-width: 180px;
    }
  }

  @media (max-width: 480px) {
    .dokme1, .dokme2 {
      padding: var(--space-2) var(--space-3);
      font-size: 13px;
      min-width: 160px;
      width: 100%;
      max-width: 280px;
    }
  }
}

/* Light Mode Overrides */
@layer overrides {
  [data-theme="light"] .dokme1,
  [data-theme="light"] .dokme1 *,
  [data-theme="light"] .dokme1:before,
  [data-theme="light"] .dokme1:after,
  [data-theme="light"] .dokme1::before,
  [data-theme="light"] .dokme1::after,
  [data-theme="light"] a.dokme1,
  [data-theme="light"] button.dokme1 {
    background: #0066cc !important;
    background-color: #0066cc !important;
    background-image: none !important;
    border-color: #0066cc !important;
    border-top-color: #0066cc !important;
    border-right-color: #0066cc !important;
    border-bottom-color: #0066cc !important;
    border-left-color: #0066cc !important;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2) !important;
  }

  [data-theme="light"] .dokme1:hover,
  [data-theme="light"] .dokme1:hover *,
  [data-theme="light"] .dokme1:hover:before,
  [data-theme="light"] .dokme1:hover:after,
  [data-theme="light"] .dokme1:hover::before,
  [data-theme="light"] .dokme1:hover::after,
  [data-theme="light"] a.dokme1:hover,
  [data-theme="light"] button.dokme1:hover {
    background: #40a9ff !important;
    background-color: #40a9ff !important;
    background-image: none !important;
    border-color: #40a9ff !important;
    border-top-color: #40a9ff !important;
    border-right-color: #40a9ff !important;
    border-bottom-color: #40a9ff !important;
    border-left-color: #40a9ff !important;
    box-shadow: 0 6px 20px rgba(64, 169, 255, 0.3) !important;
  }

  [data-theme="light"] .dokme2,
  [data-theme="light"] .dokme2 *,
  [data-theme="light"] .dokme2:before,
  [data-theme="light"] .dokme2:after,
  [data-theme="light"] .dokme2::before,
  [data-theme="light"] .dokme2::after,
  [data-theme="light"] a.dokme2,
  [data-theme="light"] button.dokme2 {
    background: #ff5722 !important;
    background-color: #ff5722 !important;
    background-image: none !important;
    border-color: #ff5722 !important;
    border-top-color: #ff5722 !important;
    border-right-color: #ff5722 !important;
    border-bottom-color: #ff5722 !important;
    border-left-color: #ff5722 !important;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.2) !important;
  }

  [data-theme="light"] .dokme2:hover,
  [data-theme="light"] .dokme2:hover *,
  [data-theme="light"] .dokme2:hover:before,
  [data-theme="light"] .dokme2:hover:after,
  [data-theme="light"] .dokme2:hover::before,
  [data-theme="light"] .dokme2:hover::after,
  [data-theme="light"] a.dokme2:hover,
  [data-theme="light"] button.dokme2:hover {
    background: #ff7849 !important;
    background-color: #ff7849 !important;
    background-image: none !important;
    border-color: #ff7849 !important;
    border-top-color: #ff7849 !important;
    border-right-color: #ff7849 !important;
    border-bottom-color: #ff7849 !important;
    border-left-color: #ff7849 !important;
    box-shadow: 0 6px 20px rgba(255, 120, 73, 0.3) !important;
  }
}