@import url("componentsHomePage/header-topbar.css");
@import url("componentsHomePage/hero.css");
@import url("componentsHomePage/category-sec.css");
@import url("componentsHomePage/about-sec.css");
@import url("componentsHomePage/feutured-sec.css");
@import url("componentsHomePage/marquee-sec.css");
@import url("componentsHomePage/banner-sec.css");
@import url("componentsHomePage/offer-sec.css");
@import url("componentsHomePage/why-sec.css");
@import url("componentsHomePage/blog-sec.css");
@import url("componentsHomePage/footer.css");

/*--------- Pages -------------*/
@import url("componentsPages/common.css");
@import url("componentsPages/about.css");
@import url("componentsPages/contact.css");
@import url("componentsPages/products.css");
@import url("componentsPages/cart-and-favorite.css");
@import url("componentsPages/login.css");
@import url("componentsPages/blog.css");

/* new root */
@import url("componentsHomePage/header-topbar.css");
@import url("componentsHomePage/hero.css");
@import url("componentsHomePage/category-sec.css");
@import url("componentsHomePage/about-sec.css");
@import url("componentsHomePage/feutured-sec.css");
@import url("componentsHomePage/marquee-sec.css");
@import url("componentsHomePage/banner-sec.css");
@import url("componentsHomePage/offer-sec.css");
@import url("componentsHomePage/why-sec.css");
@import url("componentsHomePage/blog-sec.css");
@import url("componentsHomePage/footer.css");

/*--------- Pages -------------*/
@import url("componentsPages/common.css");
@import url("componentsPages/about.css");
@import url("componentsPages/contact.css");
@import url("componentsPages/products.css");
@import url("componentsPages/cart-and-favorite.css");
@import url("componentsPages/login.css");
@import url("componentsPages/blog.css");

:root {
  --color-primary: #1e5ae6;
  --color-primary-dark: #1747b8;
  --color-primary-light: #eaf1ff;
  --color-navy: #0d2461;
  --color-navy-dark: #091a47;

  --color-accent: #e5262d;
  --color-accent-dark: #c41d23;
  --color-accent-light: #fdecee;

  --color-star: #f5a524;

  --color-heading: #14206b;
  --color-text: #3b4560;
  --color-muted: #7a8499;
  --color-border: #e4e9f2;
  --color-bg: #f5f7fb;
  --color-white: #ffffff;

  --gradient-hero: linear-gradient(135deg, #eef3ff 0%, #dfe9ff 100%);
  --gradient-banner: linear-gradient(90deg, #0d2461 0%, #1e5ae6 100%);

  --hm-red: #e0202a;
  --hm-red-dark: #b8141d;
  --hm-blue: #1f6fe0;
  --hm-navy: #0b1f4b;
  --hm-muted: #6b7280;
  --hm-border: #e5e7eb;
  --hm-radius: 12px;

  --font-main: "YekanBakh", Tahoma, sans-serif;

  --fs-xs: 0.75rem; /* 12px - تاپ‌بار، بج‌ها */
  --fs-sm: 0.8125rem; /* 13px */
  --fs-base: 0.875rem; /* 14px */
  --fs-md: 1rem; /* 16px */
  --fs-lg: 1.125rem; /* 18px */
  --fs-xl: 1.5rem; /* 24px - عنوان سکشن‌ها */
  --fs-2xl: 2rem; /* 32px */
  --fs-3xl: 2.5rem; /* 40px - عنوان هیرو */

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-black: 800;

  --lh-base: 1.8;
  --lh-tight: 1.4;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(13, 36, 97, 0.06);
  --shadow-md: 0 6px 20px rgba(13, 36, 97, 0.1);
  --shadow-lg: 0 12px 32px rgba(13, 36, 97, 0.14);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --section-gap: 48px;

  --transition: 0.25s ease;
  --z-topbar: 10;
  --z-header: 20;
  --z-dropdown: 30;

  /* ---------- Bootstrap bridge (Bootstrap 5.3+) ---------- */
  --bs-body-font-family: var(--font-main);
  --bs-body-font-size: var(--fs-base);
  --bs-body-color: var(--color-text);
  --bs-body-bg: var(--color-bg);
  --bs-body-line-height: var(--lh-base);
  --bs-primary: var(--color-primary);
  --bs-primary-rgb: 30, 90, 230;
  --bs-border-color: var(--color-border);
}

.container {
  max-width: 1420px;
}

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

body {
  font-family: var(--font-main);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

:root2 {
  --color-primary: #1e5ae6;
  --color-primary-dark: #1747b8;
  --color-primary-light: #eaf1ff;
  --color-navy: #0d2461;
  --color-navy-dark: #091a47;

  --color-accent: #e5262d;
  --color-accent-dark: #c41d23;
  --color-accent-light: #fdecee;

  --color-star: #f5a524;

  --color-heading: #14206b;
  --color-text: #3b4560;
  --color-muted: #7a8499;
  --color-border: #e4e9f2;
  --color-bg: #f5f7fb;
  --color-white: #ffffff;

  --gradient-hero: linear-gradient(135deg, #eef3ff 0%, #dfe9ff 100%);
  --gradient-banner: linear-gradient(90deg, #0d2461 0%, #1e5ae6 100%);

  --hm-red: #e0202a;
  --hm-red-dark: #b8141d;
  --hm-blue: #1f6fe0;
  --hm-navy: #0b1f4b;
  --hm-muted: #6b7280;
  --hm-border: #e5e7eb;
  --hm-radius: 12px;

  --font-main: "YekanBakh", Tahoma, sans-serif;

  --fs-xs: 0.75rem; /* 12px - تاپ‌بار، بج‌ها */
  --fs-sm: 0.8125rem; /* 13px */
  --fs-base: 0.875rem; /* 14px */
  --fs-md: 1rem; /* 16px */
  --fs-lg: 1.125rem; /* 18px */
  --fs-xl: 1.5rem; /* 24px - عنوان سکشن‌ها */
  --fs-2xl: 2rem; /* 32px */
  --fs-3xl: 2.5rem; /* 40px - عنوان هیرو */

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-black: 800;

  --lh-base: 1.8;
  --lh-tight: 1.4;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(13, 36, 97, 0.06);
  --shadow-md: 0 6px 20px rgba(13, 36, 97, 0.1);
  --shadow-lg: 0 12px 32px rgba(13, 36, 97, 0.14);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --section-gap: 48px;

  --transition: 0.25s ease;
  --z-topbar: 10;
  --z-header: 20;
  --z-dropdown: 30;

  /* ---------- Bootstrap bridge (Bootstrap 5.3+) ---------- */
  --bs-body-font-family: var(--font-main);
  --bs-body-font-size: var(--fs-base);
  --bs-body-color: var(--color-text);
  --bs-body-bg: var(--color-bg);
  --bs-body-line-height: var(--lh-base);
  --bs-primary: var(--color-primary);
  --bs-primary-rgb: 30, 90, 230;
  --bs-border-color: var(--color-border);
}

.container {
  max-width: 1420px;
}

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

body {
  font-family: var(--font-main);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
