:root {
  --primary: #d62828;
  --primary-dark: #c1271f;
  --accent: #d62828;
  --bg-light: #f5f5f5;
  --white: #ffffff;
  --black: #000000;
  --dark: #1a1a1a;
  --dark-2: #292929;
  --text: #333333;
  --gray: #888888;
  --gray-light: #bbbbbb;
  --border: #dddddd;
  --overlay: rgba(0, 0, 0, 0.65);
  --overlay-soft: rgba(0, 0, 0, 0.5);
  --card-bg: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] {
  --primary: #ff4d4d;
  --primary-dark: #ff1f1f;
  --accent: #ff4d4d;
  --bg-light: #1e1e1e;
  --white: #2a2a2a;
  --black: #ffffff;
  --dark: #e4e4e4;
  --dark-2: #cccccc;
  --text: #e4e4e4;
  --gray: #aaaaaa;
  --gray-light: #888888;
  --border: #3a3a3a;
  --overlay: rgba(255, 255, 255, 0.08);
  --overlay-soft: rgba(255, 255, 255, 0.05);
  --card-bg: #2a2a2a;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
}

@font-face {
  font-family: pinar;
  src: url(./font/Pinar-DS1-FD-Regular.ttf);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: pinar, sans-serif;
  font-weight: lighter;
  background: var(--bg-light);
  direction: rtl;
  font-size: clamp(14px, 1.6vh, 18px);
  transition: background 0.3s ease;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════
   HERO & HEADER
═══════════════════════════════════════ */
.hero-split {
  padding: 100px 20px;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-split-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ستون محتوای متنی */
.hero-split-content {
  padding: 40px;
  text-align: right;
}

.hero-split-title {
  font-family: pinar;
  font-size: 48px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.4;
}

.hero-split-divider {
  width: 211px;
  height: 4px;
  background: var(--text);
  margin: 0 0 30px auto;
  border-radius: 2px;
}

.hero-split-text {
  font-family: pinar;
  font-size: 17px;
  line-height: 2;
  color: var(--text);
  text-align: justify;
  direction: rtl;
  margin-bottom: 20px;
}

/* ستون تصویر */
.hero-split-image {
  position: relative;
  width: 100%;
  height: 576px;
  /*ارتفاعثابت*/
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.hero-split-image img {
  width: 107%;
  height: 125%;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
  filter: brightness(0.7);
  -webkit-filter: brightness(0.7);
}

.hero-split-image::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef3 100%);
  border-radius: 20px;
  z-index: -1;
}

.hero {
  width: 100%;
  min-height: 42vh;
  background: url("../img/img-header.jpg") center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
  z-index: 0;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4vh 3vh;
  position: relative;
  z-index: 1100;
}

.header-icons {
  display: flex;
  gap: 1.2vh;
  align-items: center;
}

.header-icons .icon {
  background-color: var(--white);
  padding: 0.8vh;
  border-radius: 1vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 4.8vh;
  height: 4.8vh;
}

.header-icons .icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--text);
  transition: all 0.3s ease;
}

.header-icons .icon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.header-icons .icon:hover svg {
  stroke: var(--primary);
}

/* ═══════════════════════════════════════
   SEARCH POPUP - MODERN STYLE
═══════════════════════════════════════ */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-popup {
  background: var(--card-bg);
  border-radius: 24px;
  width: 90%;
  max-width: 650px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  transform: translateY(-40px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid var(--border);
  overflow: hidden;
}

[data-theme="dark"] .search-popup {
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
}

.search-overlay.active .search-popup {
  transform: translateY(0) scale(1);
}

.search-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-bottom: none;
}

.search-popup-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-popup-header h3::before {
  content: "🔍";
  font-size: 1.6rem;
}

.close-search {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-weight: 300;
}

.close-search:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg) scale(1.1);
}

.search-popup-body {
  padding: 32px 28px;
  background: var(--card-bg);
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.search-input {
  width: 100%;
  padding: 18px 24px 18px 56px;
  font-size: 1.05rem;
  border: 2px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  color: var(--text);
  transition: all 0.3s ease;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(214, 40, 40, 0.15);
  transform: translateY(-2px);
}

[data-theme="dark"] .search-input:focus {
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.2);
}

.search-input::placeholder {
  color: var(--gray);
}

.search-input-wrapper::before {
  content: "🔍";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  opacity: 0.5;
  pointer-events: none;
}

.search-suggestions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 8px;
}

.search-suggestions::-webkit-scrollbar {
  width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 10px;
}

.search-suggestions::-webkit-scrollbar-thumb {
  background: var(--gray-light);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
  background: var(--gray);
}

.suggestion-item {
  padding: 16px 20px;
  background: var(--bg-light);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  color: var(--text);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  position: relative;
  width: 531px;
  overflow: hidden;
}

.suggestion-item::before {
  content: "→";
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.suggestion-item:hover {
  background: var(--primary);
  color: white;
  transform: translateX(-8px);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(214, 40, 40, 0.3);
}

[data-theme="dark"] .suggestion-item:hover {
  box-shadow: 0 4px 16px rgba(255, 77, 77, 0.4);
}

.suggestion-item:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.suggestion-item:active {
  transform: translateX(-8px) scale(0.98);
}

.search-suggestions-title {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray);
  font-size: 1rem;
}

.no-results::before {
  content: "😔";
  display: block;
  font-size: 3rem;
  margin-bottom: 12px;
}
.search-box {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.search-box input {
  width: 100%;
  padding: 1.4vh 5vh 1.4vh 2vh;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 1.5vh;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(214, 40, 40, 0.12);
  transform: translateY(-1px);
}

.search-box button {
  position: absolute;
  left: 0.8vh;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  padding: 1vh 1.4vh;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(214, 40, 40, 0.3);
}

.search-box button:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(214, 40, 40, 0.4);
}

.search-box button:active {
  transform: translateY(-50%) scale(0.95);
}

.search-box button svg {
  width: 2.2vh;
  height: 2.2vh;
  stroke: white;
  stroke-width: 2.5;
}
.menu {
  display: flex;
  gap: 4vh;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 1.95vh;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: -0.65vh;
  left: 0;
  width: 0;
  height: 0.26vh;
  background: var(--primary);
  transition: width 0.3s;
}

.menu a:hover {
  color: var(--primary);
}

.menu a:hover::after {
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 1100;
  color: var(--white);
  padding: 4vh 6vh 2vh 6vh;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: default;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5.2vh, 4rem);
  font-weight: 900;
  margin-bottom: 1vh;
  line-height: 1.2;
  color: #fff;
  font-size: 70px;
}

.hero-content p {
  font-size: clamp(1rem, 1.8vh, 1.5rem);
  opacity: 0.9;
  color: #fff;
  font-size: 25px;
}
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.reveal.from-right {
  transform: translateX(50px);
}

.reveal.from-left {
  transform: translateX(-50px);
}

.reveal.from-bottom {
  transform: translateY(50px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ═══════════════════════════════════════
   HAMBURGER BUTTON
═══════════════════════════════════════ */
.hamburger {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0;
  border-radius: 0.8vh;
  cursor: pointer;
  width: 5vh;
  height: 5vh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5vh;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10000;
}

.hamburger span {
  display: block;
  width: 2.8vh;
  height: 0.3vh;
  background: var(--text);
  border-radius: 0.2vh;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: var(--bg-light);
  border-color: var(--primary);
}

.hamburger.active {
  background: var(--primary);
}

.hamburger.active span {
  background: var(--white);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(0.8vh, 0.8vh);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-2vh);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.8vh, -0.8vh);
}

/* ═══════════════════════════════════════
   MAIN NAVIGATION
═══════════════════════════════════════ */
.main-nav {
  padding: 2vh 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2vh;
  position: relative;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5vh;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  display: block;
  padding: 1.8vh 1vh;
  color: white;
  text-decoration: none;
  font-size: 1.5vh;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.main-nav ul > li > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.8vh;
  width: 0;
  height: 0.2vh;
  background: var(--primary);
  border-radius: 0.4vh;
  transition: width 0.3s ease;
}
.main-nav ul > li > ul > li > a::after {
  background: none;
  color: var(--black);
}

.main-nav ul > li:hover > a::after {
  width: 100%;
}
.main-nav ul li:has(ul) > a::before {
  content: "▾";
  font-size: 1.1vh;
  position: absolute;
  left: -1vh;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.main-nav ul li:has(ul):hover > a::before {
  transform: translateY(-50%) rotate(180deg);
}

.main-nav ul li ul {
  position: absolute;
  top: 85%;
  right: 456px;
  left: 0;
  width: 40%;
  height: 70px;
  background: var(--card-bg);
  border-radius: 1vh 1vh 1vh 1vh;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.8vh);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
  pointer-events: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5vh;
  padding: 1.5vh;
  margin-top: -0.5vh;
  -webkit-border-radius: 1vh 1vh 1vh 1vh;
  -moz-border-radius: 1vh 1vh 1vh 1vh;
  -ms-border-radius: 1vh 1vh 1vh 1vh;
  -o-border-radius: 1vh 1vh 1vh 1vh;
}

.main-nav ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.main-nav ul li ul li a {
  padding: 1.2vh 1.8vh;
  font-size: 1.4vh;
  display: flex;
  align-items: center;
  gap: 0.8vh;
  border-radius: 0.6vh;
  margin: 0.3vh 0.5vh;
  transition: all 0.2s ease;
  white-space: nowrap;
  color: var(--black);
}
.main-nav ul li ul li a:hover {
  color: var(--accent);
}
/* ═══════════════════════════════════════
   MOBILE MENU
═══════════════════════════════════════ */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: var(--card-bg);
  z-index: 9999;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5vh 2vh;
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo-area {
  font-size: 2.2vh;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 1vh;
}

.logo-area img {
  height: 4vh;
  width: auto;
}

.close-menu {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.8vh;
  font-size: 2.5vh;
  cursor: pointer;
  color: var(--text);
  width: 4.5vh;
  height: 4.5vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: all 0.3s ease;
}

.close-menu:hover {
  transform: rotate(90deg);
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.mobile-links {
  flex: 1;
  padding: 1vh 0;
  overflow-y: auto;
}

.mobile-links a {
  display: flex;
  align-items: center;
  gap: 1.5vh;
  padding: 2vh 2.5vh;
  color: var(--text);
  text-decoration: none;
  font-size: 1.8vh;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.mobile-links a::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--primary);
  opacity: 0.1;
  transition: width 0.3s ease;
}

.mobile-links a:hover::before {
  width: 100%;
}

.mobile-links a:hover {
  color: var(--primary);
  padding-right: 3.5vh;
}

.mobile-links .menu-icon {
  width: 2.4vh;
  height: 2.4vh;
  flex-shrink: 0;
  stroke: currentColor;
}

.mobile-footer {
  padding: 2vh;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  gap: 1vh;
}

.mobile-footer-icons {
  display: flex;
  gap: 1vh;
  flex-wrap: wrap;
}

.mobile-footer .icon {
  background: var(--white);
  padding: 1vh;
  border-radius: 0.8vh;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 4.5vh;
  height: 4.5vh;
}

.mobile-footer .icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-0.3vh);
}

.mobile-footer .icon:hover svg {
  stroke: white;
}

.mobile-footer .icon svg {
  width: 2.2vh;
  height: 2.2vh;
  stroke: var(--text);
  transition: stroke 0.3s ease;
}

.slider-container {
  width: 100%;
  max-width: 1400px;
  text-align: center;
  border: none;
}

.slider-wrapper {
  position: relative;
  padding: 278px 69px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1335px;
}

.slider-track {
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
}

.slide {
  width: 240px;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.35;
  transform: scale(0.85);
  filter: blur(2px) grayscale(0.3);
  position: absolute;
  box-shadow: var(--shadow-md);
  border: none;
}

.slide.pos-0 {
  left: 0;
  z-index: 1;
}

.slide.pos-1 {
  left: 230px;
  z-index: 2;
  opacity: 0.5;
  transform: scale(0.9);
}

.slide.pos-2 {
  left: 480px;
  width: 340px;
  height: 450px;
  transform: scale(1);
  opacity: 1;
  filter: blur(0) grayscale(0);
  z-index: 10;
}

.slide.pos-3 {
  left: 840px;
  z-index: 2;
  opacity: 0.5;
  transform: scale(0.9);
}

.slide.pos-4 {
  left: 1080px;
  z-index: 1;
}

.slide:hover {
  opacity: 0.7;
  transform: scale(0.88);
}

.slide.pos-2:hover {
  opacity: 1;
  transform: scale(1.03);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}

.slider-dotss {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-right: 104px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-light);
  cursor: pointer;
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.dot:hover {
  background: var(--gray);
  transform: scale(1.2);
}

.dot.active {
  background: var(--primary);
  width: 32px;
  border-radius: 6px;
  border-color: var(--primary);
}

/* ═══════════════════════════════════════
   SECTIONS
═══════════════════════════════════════ */
.section {
  padding: 3.9vh;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  position: relative;
  font-size: clamp(1.6rem, 1.4rem + 0.3vw, 2rem);
  font-weight: 700;
  margin: 0.5rem 0 0 0;
  padding-right: 1rem;
  color: var(--dark-2);
  display: inline-block;
  cursor: default;
}

.section-title::before {
  content: "";
  position: absolute;
  right: -0.8rem;
  top: 0;
  height: 100%;
  width: 0.25rem;
  background: var(--primary);
  border-radius: 0.26vh;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.3rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(214, 40, 40, 0.25);
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(214, 40, 40, 0.35);
}

.view-all-btn .arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.view-all-btn:hover .arrow-icon {
  transform: translateX(-5px);
}

/* ═══════════════════════════════════════
   DISCOUNT STRIP
═══════════════════════════════════════ */
.discount-strip {
  background: var(--bg-light);
  padding: 3vh;
  margin: 3vh auto;
  max-width: 1300px;
  border-radius: 2vh;
  display: flex;
  flex-direction: column;
  overflow: visible;
  width: calc(100% - 8vh);
  box-shadow: var(--shadow-lg);
}

.discount-strip .section-title {
  color: var(--dark);
  margin-bottom: 2vh;
}

.discount-strip .section-title::before {
  background: var(--primary);
}

.discount-header {
  width: 100%;
  margin-bottom: 2vh;
}

.discount-items-wrapper {
  display: flex;
  gap: 3.5vh;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  padding: 1vh 0.5vh 2vh;
}

.discount-items-wrapper::-webkit-scrollbar {
  display: none;
}

/* ============================================= */
/* تخفیف‌های ویژه - با انیمیشن hover             */
/* ============================================= */

.discount-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2vh;
  min-width: 220px;
  width: 220px;
  flex-shrink: 0;
  background: var(--dark);
  text-align: center;
  gap: 1vh;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.discount-item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.6s ease;
}

.discount-item:hover::before {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}

.discount-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.discount-item-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.discount-item-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.discount-item:hover .discount-item-image-wrapper img {
  transform: scale(1.1);
}

/* ===== Overlay با دکمه‌ها ===== */
.discount-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 16px 16px 0 0;
}

.discount-item:hover .discount-item-overlay {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* ===== دکمه مشاهده ===== */
.discount-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(214, 40, 40, 0.4);
  transform: translateY(20px);
  opacity: 0;
}

.discount-item:hover .discount-view-btn {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.1s;
}

.discount-view-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(214, 40, 40, 0.6);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.discount-view-btn i {
  font-size: 16px;
}

/* ===== دکمه سبد خرید ===== */
.discount-cart-btn {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(20px) scale(0.8);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discount-item:hover .discount-cart-btn {
  transform: translateY(0) scale(1);
  opacity: 1;
  transition-delay: 0.2s;
}

.discount-cart-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1) rotate(-10deg);
  box-shadow: 0 8px 30px rgba(214, 40, 40, 0.4);
}

.discount-cart-btn:active {
  transform: scale(0.9);
}

/* ===== دکمه‌ها در موبایل ===== */
@media (max-width: 768px) {
  .discount-item-overlay {
    gap: 10px;
  }

  .discount-view-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .discount-cart-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

.discount-item .item-name {
  font-size: 1.6vh;
  font-weight: 600;
  color: var(--bg-light);
}

.discount-item .item-brand {
  font-size: 1.4vh;
  color: var(--gray);
}

.discount-item .item-old-price {
  font-size: 1.2vh;
  color: var(--gray-light);
  text-decoration: line-through;
}

.discount-item .item-price {
  font-size: 1.8vh;
  font-weight: bold;
  color: var(--primary);
}

.discount-badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: #fff;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ═══════════════════════════════════════
   PRODUCTS SLIDER
═══════════════════════════════════════ */
.products-slider-wrapper {
  position: relative;
  padding: 0 70px;
  margin: 20px 0;
}

.products-slider-wrapper .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  opacity: 1;
  visibility: visible;
  border: none;
}

.products-slider-wrapper .slider-btn:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(212, 55, 55, 0.3);
}

.products-slider-wrapper .slider-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.products-slider-wrapper .slider-btn svg {
  width: 24px;
  height: 24px;
  stroke: #333333;
  stroke-width: 2;
  transition: stroke 0.3s ease;
}

.products-slider-wrapper .slider-btn:hover svg {
  stroke: #ffffff;
}

.products-slider-wrapper .prev-btn {
  left: 0;
}

.products-slider-wrapper .next-btn {
  right: 10px;
}

.products-slider-wrapper .slider-btn[style*="display: none"] {
  pointer-events: none;
}

.products {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: center;
  overflow-y: hidden;
}

.products::-webkit-scrollbar {
  display: none;
}

.product-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-width: 240px;
  max-width: 240px;
  flex-shrink: 0;
  position: relative;
}

.product-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-card > div:nth-child(2) {
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  min-height: 50px;
  display: flex;
  align-items: center;
}

.product-card .price {
  padding: 0 16px 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.product-card .view-btn {
  display: block;
  text-align: center;
  padding: 12px;
  margin: 0 16px 16px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.product-card .view-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(214, 40, 40, 0.3);
}

/* ═══════════════════════════════════════
   BANNER SLIDER
═══════════════════════════════════════ */
.banner-slider {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 4rem auto;
  overflow: hidden;
  border-radius: 16px;
}

.banner-track {
  position: relative;
  width: 100%;
  height: 500px;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.banner-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-slider .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-slider .slider-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.banner-slider .slider-btn svg {
  stroke: white;
}

.banner-slider .slider-btn--prev {
  left: 20px;
}

.banner-slider .slider-btn--next {
  right: 20px;
}
/* استایل متن روی بنر */
.banner-content {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  text-align: right;
  color: white;
  z-index: 2;
  max-width: 500px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.banner-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  animation: fadeInRight 0.8s ease-out;
}

.banner-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInRight 1s ease-out;
}

.banner-btn {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, #af3c3c, #a32828);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(175, 76, 76, 0.4);
  animation: fadeInRight 1.2s ease-out;
}

.banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(175, 76, 76, 0.6);
  background: linear-gradient(135deg, #a51d1d, #b02323);
}

/* انیمیشن ورود متن */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.banner-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.779), transparent);
  z-index: 1;
}

.banner-slide img {
  position: relative;
  z-index: 0;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dots .dot.active {
  background: var(--primary);
  width: 32px;
  border-radius: 6px;
  border-color: var(--primary);
}

.slider-dots .dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

/* ═══════════════════════════════════════
   BRANDS SECTION
═══════════════════════════════════════ */
.brands {
  display: flex;
  gap: 2vh;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2vh 0;
  margin-top: 2vh;
}

.brands::-webkit-scrollbar {
  display: none;
}

.brand-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2vh;
  min-width: 300px;
  max-width: 160px;
  height: 105px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--border);
}

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.brand-card img {
  width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.brand-card:hover img {
  filter: grayscale(0%);
}

/* ═══════════════════════════════════════
   LOGO
═══════════════════════════════════════ */
.logo {
  font-size: 2.4vh;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1vh;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 4.5vh;
  width: auto;
}

/* ═══════════════════════════════════════
   THEME TOGGLE
═══════════════════════════════════════ */
.theme-toggle {
  position: relative;
  width: 5.2vh;
  height: 5.2vh;
  border-radius: 50%;
  border: 0.2vh solid var(--border);
  background: var(--white);
  color: var(--text);
  cursor: pointer !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--bg-light);
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 0.5vh 2vh rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .theme-toggle:hover {
  box-shadow: 0 0.5vh 2vh rgba(0, 0, 0, 0.4);
}

/* ─── آیکون‌ها ────────────────────────────────── */
.theme-toggle__icon {
  position: relative;
  width: 2.4vh;
  height: 2.4vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle svg {
  position: absolute;
  width: 2.4vh;
  height: 2.4vh;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* حالت روشن: خورشید نشان بده، ماه پنهان */
.icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: var(--accent, #ffb400);
}

.icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
  fill: none;
}

/* حالت دارک: ماه نشان بده، خورشید پنهان */
[data-theme="dark"] .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: var(--accent, #ffc933);
}

/* ─── اگه داخل ناوبار هست ───────────────────── */
.nav-actions .theme-toggle,
.header-icons .theme-toggle {
  margin-inline-start: 1vh;
}

/* ─── نسخه فیکس گوشه صفحه (اختیاری) ─────────── */
.theme-toggle--fixed {
  position: fixed;
  bottom: 4vh;
  left: 2.6vh;
  z-index: 9999;
  width: 5.85vh;
  height: 5.85vh;
  box-shadow: 0 0.65vh 3vh rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .theme-toggle--fixed {
  box-shadow: 0 0.65vh 3vh rgba(0, 0, 0, 0.5);
}

/* ═══════════════════════════════════════
   CHAT WIDGET
═══════════════════════════════════════ */
.chat-widget {
  position: fixed;
  bottom: 3vh;
  left: 3vh;
  z-index: 1000;
}

.chat-button {
  width: 6.5vh;
  height: 6.5vh;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(214, 40, 40, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.chat-button::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  opacity: 0.3;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.15);
    opacity: 0;
  }
}

.chat-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(214, 40, 40, 0.5);
}

.chat-button svg {
  width: 3vh;
  height: 3vh;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.chat-box {
  position: absolute;
  bottom: 8vh;
  left: 0;
  width: 350px;
  max-width: 90vw;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  border: 1px solid var(--border);
}

.chat-box.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 2vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  font-size: 1.8vh;
  font-weight: 600;
  margin: 0;
}

.close-chat {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 3.5vh;
  height: 3.5vh;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2vh;
  transition: all 0.3s ease;
}

.close-chat:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.chat-messages {
  padding: 2vh;
  height: 300px;
  overflow-y: auto;
  background: var(--bg-light);
}

.chat-message {
  background: var(--white);
  padding: 1.5vh;
  border-radius: 12px;
  margin-bottom: 1.5vh;
  box-shadow: var(--shadow-sm);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.bot {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  margin-left: 0;
  margin-right: auto;
  max-width: 85%;
}

.chat-message.user {
  background: var(--card-bg);
  margin-right: 0;
  margin-left: auto;
  max-width: 85%;
  border: 1px solid var(--border);
}

.typing-indicator {
  display: flex;
  gap: 0.5vh;
  padding: 1.5vh;
  background: var(--white);
  border-radius: 12px;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.typing-indicator span {
  width: 0.8vh;
  height: 0.8vh;
  background: var(--gray);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

.chat-input-area {
  padding: 1.5vh;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1vh;
  background: var(--card-bg);
}

.chat-input-area input {
  flex: 1;
  padding: 1.2vh 1.5vh;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 1.4vh;
  transition: all 0.3s ease;
}

.chat-input-area input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.1);
}

.chat-input-area button {
  background: var(--primary);
  border: none;
  padding: 1.2vh 2vh;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.4vh;
  transition: all 0.3s ease;
}

.chat-input-area button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(214, 40, 40, 0.3);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 5vh 3vh 2vh;
  margin-top: 6vh;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4vh;
  margin-bottom: 4vh;
}
.footer-col {
  width: 229px;
}
.footer-section h3 {
  font-size: 2vh;
  font-weight: 700;
  margin-bottom: 2vh;
  color: var(--primary);
  position: relative;
  padding-bottom: 1vh;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-section p {
  font-size: 1.5vh;
  line-height: 1.8;
  color: var(--gray-light);
  margin-bottom: 1.5vh;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 1.2vh;
}

.footer-section ul li a {
  color: var(--gray-light);
  text-decoration: none;
  font-size: 1.5vh;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.8vh;
}

.footer-section ul li a::before {
  content: "◀";
  font-size: 1vh;
  transition: transform 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary);
  padding-right: 1vh;
}

.footer-section ul li a:hover::before {
  transform: translateX(-0.5vh);
}

.social-links {
  display: flex;
  gap: 1.5vh;
  margin-top: 2vh;
  flex-wrap: wrap;
}

.social-links a {
  width: 4.5vh;
  height: 4.5vh;
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-0.5vh);
}

.social-links a svg {
  width: 2.2vh;
  height: 2.2vh;
  stroke: var(--black);
  transition: stroke 0.3s ease;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 3vh;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2vh;
}

.footer-bottom p {
  font-size: 1.4vh;
  color: var(--gray);
  margin: 0;
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.payment-methods {
  display: flex;
  gap: 1.5vh;
  align-items: center;
}

.payment-methods img {
  height: 3vh;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

.payment-methods img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

footer {
  background-color: var(--bg-light);
  color: var(--dark);
}
footer ul {
  list-style-type: none;
}
footer ul li a {
  text-decoration: none;
  color: var(--dark);
}
footer ul li a:hover {
  color: var(--accent);
}
.footer-licenses {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.license-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray);
  border-radius: 6px;
  padding: 0.5rem;
  transition: transform 0.2s;
}

.license-box:hover {
  transform: translateY(-2px);
}

.license-box img {
  max-width: 80px;
  height: auto;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* ==================== Scroll to Top Button ==================== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 112px;
  width: 50px;
  height: 50px;
  background: var(--bg-dark-section);
  color: var(--black);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

/* Search Popup Overlay */
/* ═══ Search Popup ═══ */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-popup {
  background: var(--card-bg);
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(-30px);
  transition: transform 0.3s ease;
}

.search-overlay.active .search-popup {
  transform: translateY(0);
}

.search-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.search-popup-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-color);
}

.close-search {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-color);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.close-search:hover {
  background: var(--hover-bg);
  transform: rotate(90deg);
}

.search-popup-body {
  padding: 24px;
}

.search-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-color);
  color: var(--text-color);
  transition: all 0.3s ease;
  font-family: inherit;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

.search-suggestions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.suggestion-item {
  padding: 12px 16px;
  background: var(--hover-bg);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-color);
}

.suggestion-item:hover {
  background: var(--primary-color);
  color: white;
  transform: translateX(-4px);
}

/* ===== اسلاید عنوان روی تصویر ===== */
.slide {
  position: relative;
}

.slide-title {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.slide a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ═══════════════════════════════════════
   RESPONSIVE DESIGN
═══════════════════════════════════════ */
