/*
Theme Name: Ebar Bio - إيبار بايو
Theme URI: https://ebarbio.com/
Author: Ebar Bio Team & Google Stitch
Author URI: https://ebarbio.com/
Description: قالب المتجر الطبي النباتي الرسمي لإيبار بايو Ebar Bio (Botanical & Clinical Cosmeceuticals)، مبني بدقة على واجهات وتصاميم Google Stitch، متوافق 100% مع ووكومرس وإليمنتور، يدعم الشراء السريع بنقرة واحدة (الدفع عند الاستلام)، وتحديد الموقع بخرائط جوجل، ومقياس جودة العنوان المصري، وحساب الشحن التلقائي للمحافظات والمراكز، والاستشارة الصيدلانية المباشرة عبر الواتساب.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ebar-bio
Tags: e-commerce, clinical-botanical, custom-colors, custom-menu, featured-images, full-width-template, rtl-language-support, translation-ready, woocommerce, elementor
*/

/* ==========================================================================
   Ebar Bio Design Tokens & Color Variables (Botanical Cosmeceutical RTL)
   ========================================================================== */
:root {
  --color-primary: #006c50;
  --color-on-primary: #ffffff;
  --color-primary-container: #57b894;
  --color-on-primary-container: #004532;
  --color-primary-fixed: #94f5ce;
  --color-primary-fixed-dim: #78d9b3;

  --color-mint-light: #E8F7F1;
  --color-mint-glow: #7ED9B5;
  --color-sage-wash: #EDF6F3;

  --color-secondary: #864784;
  --color-on-secondary: #ffffff;
  --color-secondary-container: #fdb0f5;
  --color-on-secondary-container: #7b3d79;
  --color-plum-soft: #F5ECF4;
  --color-plum-deep: #5E2750;

  --color-tertiary: #36675b;
  --color-on-tertiary: #ffffff;
  --color-tertiary-container: #7fb1a3;

  --color-clinical-amber: #E67E22;
  --color-supplement-ruby: #C0392B;

  --color-background: #f8f9ff;
  --color-on-background: #121c2a;

  --color-surface: #f8f9ff;
  --color-on-surface: #121c2a;
  --color-on-surface-variant: #3e4943;
  --color-surface-dim: #d0dbed;
  --color-surface-bright: #f8f9ff;
  --color-surface-alabaster: #FAF9F6;
  --color-surface-card: #FFFFFF;

  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #eff4ff;
  --color-surface-container: #e6eeff;
  --color-surface-container-high: #dee9fc;
  --color-surface-container-highest: #d9e3f6;

  --color-border-subtle: #E5EBE8;
  --color-outline: #6e7a73;
  --color-outline-variant: #bdc9c2;
  --color-text-muted: #6B7280;

  --color-error: #ba1a1a;
  --color-on-error: #ffffff;
  --color-error-container: #ffdad6;
  --color-on-error-container: #93000a;
}

/* Base Body & Viewport Reset */
html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Cairo', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-surface-alabaster);
  color: var(--color-on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  position: relative;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

/* Material Symbols Integration */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-fill {
  font-variation-settings: 'FILL' 1 !important;
}

/* Clinical Frosted Glass Backdrop */
.clinical-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Botanical Product Halo Aura */
.product-halo {
  background: radial-gradient(circle, rgba(126, 217, 181, 0.22) 0%, rgba(245, 236, 244, 0.15) 50%, transparent 75%);
}

/* Custom Smooth Scrollbar */
.custom-scroll::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}
.custom-scroll::-webkit-scrollbar-track {
  background: var(--color-surface-alabaster);
}
.custom-scroll::-webkit-scrollbar-thumb {
  background: var(--color-outline-variant);
  border-radius: 9999px;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-container);
}
