* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  background: #ffffff;
  color: #333;
  font-size: 15px;
  line-height: 1.8;
  /* لینک‌ها در کل صفحه */
a {
  color: inherit;         /* رنگ لینک مثل متن معمولی باشد */
  text-decoration: none;  /* زیرخط یا استایل دیگری نداشته باشد */
  cursor: pointer;        /* نشانگر موس روی لینک */
  transition: none;       /* هیچ افکت هاور یا تغییر استایل نداشته باشد */
}

/* هاور یا فعال بودن لینک نیز تغییر نکند */
a:hover,
a:active,
a:focus {
  color: inherit;
  text-decoration: none;
}
}


/* ================= BASE HEADER (دسکتاپ و تبلت) ================= */
.header {
  background: linear-gradient(135deg, #2c3e50, #4ca1af);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px; /* فاصله بین بخش‌ها */
  padding: 20px 40px; /* فاصله مناسب دسکتاپ */
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* عنوان سایت */
.header-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
}

/* منو */
.nav {
  display: flex;
  gap: 25px; /* فاصله بین لینک‌ها */
}

.nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

/* جستجو */
.header-search {
  flex: 1;
  margin-left: 30px; /* فاصله از nav */
  max-width: 300px;
}

.header-search input {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 16px;
  border: none;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 10px;
    gap: 10px;
  }

  .header-title {
    font-size: 24px;
    text-align: center;
  }

  .nav {
    justify-content: center;
    gap: 10px;
  }

  .nav a {
    font-size: 14px;
  }

  .header-search {
    margin-left: 0;
  }

  .header-search input {
    font-size: 12px;
    padding: 7px 10px;
  }
}

/* ================= HERO ================= */
.hero {
  background: #34495e;
  color: white;
  text-align: center;
  padding: 40px 15px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 200px;
  height: auto;
  margin-bottom: 0px;
}


.hero p {
  font-size: 16px;
  margin: 0;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .header {
    padding: 5px 10px;
  }

  .nav a {
    font-size: 12px;
  }

  .header-search input {
    padding: 6px 8px;
    font-size: 11px;
  }

  .hero {
    padding: 25px 15px;
  }

  .hero-logo {
    width: 200px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }
}

/* Categories */
.categories {
  padding: 25px 15px;
}

.category-slider {
  display: flex;
  gap: 15px;
  cursor: grab;
  overflow-x: auto;
}

/* حذف اسکرول در موبایل */
@media (max-width: 768px) {
  .category-slider {
    overflow-x: hidden;
    scrollbar-width: none;
  }

  .category-slider::-webkit-scrollbar {
    display: none;
  }
}

/* آیتم دسته‌بندی */
.category-item {
  width: 110px;
  text-align: center;
  flex-shrink: 0;
}
/* ================= CATEGORY SLIDER ================= */
.category-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
}

/* ================= فاصله دایره‌ها ================= */
.category-slider {
  gap: 12px; /* دسکتاپ */
}

/* موبایل */
@media (max-width: 768px) {
  .category-slider {
    gap: 5px;
  }
}

/* موبایل خیلی کوچک */
@media (max-width: 360px) {
  .category-slider {
    gap: 6px;
  }
}
/* آیتم دسته‌بندی */
.category-item {
  flex: 0 0 auto;
  text-align: center;
}

/* دایره */
.category-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: #eef4ff;
  box-shadow: 0 4px 14px rgba(63,135,255,0.18);
  margin: 0 auto;
}

/* عکس داخل دایره */
.category-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* کل دایره پر شود */
  display: block;
}

/* متن زیر */
.category-item span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
}

/* ================= موبایل ================= */
@media (max-width: 768px) {
  .category-circle {
    width: 72px;
    height: 72px;
  }

  .category-item span {
    font-size: 12px;
  }
}

/* ================= موبایل خیلی کوچک ================= */
@media (max-width: 360px) {
  .category-circle {
    width: 60px;
    height: 60px;
  }
}
/* متن زیر دایره */
.category-item span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: bold;
}

/* ================= COLOR HARMONY PRODUCTS ================= */

.product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 18px rgba(63,135,255,0.08);
  
}

/* عنوان محصول */
.product-card h4 {
  color: #0f172a;
  font-weight: 600;
}

/* قیمت (هماهنگ با آبی سایت) */
.product-card span {
  color: #1e40af;
  font-weight: 700;
}

/* دکمه */
.product-card .add-to-cart {
  background: linear-gradient(135deg,#3f87ff,#4bc6ff);
  color: #ffffff;
  border: none;
  transition: all .25s ease;
}

.product-card .add-to-cart:hover {
  background: linear-gradient(135deg,#2563eb,#3f87ff);
}

/* هاور کارت */
@media (hover: hover) {
  .product-card:hover {
    box-shadow: 0 12px 28px rgba(63,135,255,0.18);
    transform: translateY(-4px);
  }
}

/* پس‌زمینه بخش محصولات */
.products-section {
  background: #eef4ff;
  padding: 20px;
  border-radius: 20px;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 13px;
}

/* Desktop */
@media (min-width: 1024px) {
  .category-circle {
    width: 120px;
    height: 120px;
  }

  .category-item {
    width: 130px;
  }

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ================= MODULES GRID ================= */
.modules {
  padding: 25px 15px;
}

.modules h3 {
  margin-bottom: 15px;
}

/* گرید کنار هم */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

/* کارت */
.module-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* عنوان کلیک‌شونده */
.module-title {
  width: 100%;
  background: #4ca1af;
  color: #fff;
  border: none;
  padding: 12px 15px;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
}

/* محتوای آبشاری */
.module-content {
  max-height: 0;
  overflow: hidden;
  background: #f9f9f9;
  transition: max-height 0.3s ease;
}

/* لیست */
.module-content ul {
  list-style: none;
  padding: 10px 15px;
  margin: 0;
}

.module-content li {
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid #e0e0e0;
}

.module-content li:last-child {
  border-bottom: none;
}

/* باز شده */
.module-item.active .module-content {
  max-height: 300px;
}

/* موبایل */
@media (max-width: 768px) {
  .module-title {
    font-size: 13px;
  }

  .module-content li {
    font-size: 12px;
  }
}


/* ================= TOP SLIDER ================= */
.top-products-slider {
  padding: 25px 15px;
}

.top-products-slider h3 {
  margin-bottom: 15px;
}

/* کانتینر اسلاید */
.slider-wrapper {
  display: flex;
  gap: 15px;
  overflow-x: hidden;
  cursor: grab;
}

/* هر اسلاید */
.slide {
  min-width: 260px;
  display: grid;
  grid-template-rows: repeat(3, auto);
  gap: 10px;
  flex-shrink: 0;
}

/* کارت محصول */
.top-card {
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  position: relative;
}

.rank {
  width: 26px;
  height: 26px;
  background: #0d0150;
  color: white;
  border-radius: 50%;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-card img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.top-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

/* موبایل */
@media (max-width: 768px) {
  .slide {
    min-width: 230px;
  }

  .top-card img {
    width: auto;
    height: auto;
  }

  .top-card p {
    font-size: 12px;
  }
}







/* ================= SUGGESTED PRODUCTS ================= */
.suggested-products {
  padding: 25px 15px;
}

.suggested-products h3 {
  margin-bottom: 15px;
}

/* اسلایدر */
.suggested-slider {
  display: flex;
  gap: 12px;
  overflow-x: hidden;
  cursor: grab;
}

/* کارت */
.suggested-card {
  min-width: 140px;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

.suggested-card img {
  width: 100%;
  height: 100px;
  object-fit: contain;
}

.suggested-card p {
  margin: 8px 0 0;
  font-size: 13px;
}
/* موبایل: اسلایدر پرفروش‌ها عمودی شود */
@media (max-width: 768px) {
  .top-products-slider .slider-wrapper {
    flex-direction: column; /* کارت‌ها عمودی شوند */
    overflow-x: hidden;     /* اسکرول افقی برداشته شود */
    gap: 12px;
  }

  .top-products-slider .slide {
    min-width: 100%;        /* هر کارت تمام عرض را بگیرد */
    display: flex;          /* کارت‌ها افقی در داخل خود slide */
    flex-direction: column; /* محتوای کارت عمودی */
    gap: 10px;
  }

  .top-products-slider .top-card {
    width: 100%;            /* کارت‌ها تمام عرض container */
    flex-direction: row;    /* تصویر و متن کنار هم */
    gap: 10px;
  }

  .top-products-slider .top-card img {
    width: 60px;            /* اندازه تصویر ثابت */
    height: 60px;
  }

  .top-products-slider .top-card p {
    font-size: 13px;
    margin: 0;
  }
}




/* ================= READINGS ================= */
.readings {
  padding: 25px 15px;
}

.readings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.readings-header a {
  font-size: 13px;
  color: #1976d2;
  text-decoration: none;
}

/* اسلایدر */
.readings-slider {
  display: flex;
  gap: 12px;
  overflow-x: hidden;
  cursor: grab;
}

/* کارت */
.reading-card {
  min-width: 240px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.reading-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.reading-card p {
  padding: 10px;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}




/* ================= SUPPORT ================= */
.support {
  padding: 25px 15px;
}

.support-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  text-decoration: none;
  color: #00013a;
}

.support-icon {
  width: 45px;
  height: 45px;
  background:  0 10px 25px rgba(8, 59, 148, 0.45);
  color: #1c015a;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-box h4 {
  margin: 0;
  font-size: 14px;
}

.support-box p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #666;
}














/* جستجو در هدر */
.header-search {
  margin-top: 10px;
}

.header-search input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
}

/* محصولات صفحه اصلی */
/* ================= PRODUCTS GRID ================= */

.home-products {
  margin: 40px 15px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* موبایل */
  gap: 14px;
}

/* کارت محصول */
.product-card {
  background: #c4bfbf;
  border-radius: 14px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* تصویر مربعی واقعی */
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;   /* 🔑 کلیدی */
  object-fit: cover;
  border-radius: 12px;
}

/* عنوان */
.product-card h4 {
  font-size: 13px;
  margin: 8px 0 4px;
}

/* قیمت */
.product-card span {
  color: #000266;
  font-weight: bold;
  font-size: 13px;
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr); /* لپ‌تاپ: ۴تایی */
  }

  .product-card h4 {
    font-size: 14px;
  }

  .product-card span {
    font-size: 14px;
  }
}













/* ================= STICKY HEADER ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
}

/* ================= SEARCH RESULT BOX ================= */
.search-results {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: #fff;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-radius: 0 0 14px 14px;
  display: none;
}

/* آیتم نتیجه */
.search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.search-item:last-child {
  border-bottom: none;
}

.search-item img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 8px;
}

.search-item span {
  font-size: 13px;
}

/* هاور */
.search-item:hover {
  background: #f4f6f8;
}











.add-to-cart {
  margin-top: 8px;
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 10px;
  background: #ffffff;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.add-to-cart:hover {
  background: #d7374b;
}











.cart-box {
  position: fixed;
  top: 0;
  left: -400px;
  width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: 5px 0 30px rgba(0,0,0,0.2);
  transition: left 0.4s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  font-family: Vazirmatn;
}

.cart-box.show {
  left: 0;
}

.cart-header {
  padding: 16px;
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.cart-info {
  padding: 10px 16px;
  font-size: 14px;
  color: #475569;
  background: #f1f5f9;
}

.cart-items {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  animation: fadeIn 0.3s ease;
}

.cart-item span {
  font-size: 14px;
}

.cart-item .count {
  font-weight: bold;
  color: #0f172a;
}

.cart-item button {
  background: #ef4444;
  border: none;
  color: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
}

.cart-footer {
  padding: 16px;
  border-top: 1px solid #e5e7eb;
}

.checkout-btn {
  display: block;
  width: 100%;
  text-align: center;

  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 0;
  border-radius: 12px;

  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* هاور */
.checkout-btn:hover {
  background:  0 10px 25px rgba(63,135,255,.45);
  transform: translateY(-2px);
  box-shadow:  0 10px 25px rgba(63,135,255,.45);;
}

/* کلیک */
.checkout-btn:active {
  transform: scale(0.98);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ================= MODERN FILTER ================= */
.modern-filter {
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.filter-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e293b;
}

.filter-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.filter-fields input {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #c7d2fe;
  background: #fff;
  font-size: 13px;
}

.modern-filter button {
  margin-top: 12px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg,#3f87ff,#4bc6ff);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}

.modern-filter button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(63,135,255,.35);
}

/* موبایل */
@media (max-width: 480px) {
  .filter-fields {
    grid-template-columns: 1fr;
  }
}









/* ================= MOBILE HEADER FIX ================= */
@media (max-width: 768px) {

  .header {
    padding: 8px 12px;
  }

  .logo h1 {
    font-size: 16px;
  }

  .mountain {
    font-size: 20px;
  }

  .nav a {
    font-size: 13px;
  }

  .header-search {
    margin-top: 6px;
  }

  .header-search input {
    padding: 8px 12px;
    font-size: 13px;
  }
}







/* ================= FLOAT CONTACT BUTTON (BLUE) ================= */
.contact-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3f87ff, #4bc6ff);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(63,135,255,.45);
  z-index: 9999;
  transition: all .25s ease;
}

.contact-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(63,135,255,.55);
}

.contact-float:active {
  transform: scale(.95);
}








/* ================= MOBILE FLOAT BUTTON ================= */
@media (max-width: 768px) {

  .contact-float {
    width: 46px;
    height: 46px;
    font-size: 20px;
    bottom: 14px;
    right: 14px;
    box-shadow: 0 6px 16px rgba(63,135,255,.4);
  }
}




/* ================= MOBILE HEADER SEARCH ================= */
@media (max-width: 768px) {

  .header-search {
    width: 100%;
    margin-top: 6px;
  }

  .header-search input {
    width: 100%;
    padding: 7px 12px;
    font-size: 13px;
    border-radius: 10px;
  }

  /* نتایج جستجو در موبایل */
  .search-results {
    max-height: 260px;
    border-radius: 0 0 12px 12px;
  }

  .search-item {
    padding: 8px 12px;
  }

  .search-item img {
    width: 38px;
    height: 38px;
  }

  .search-item span {
    font-size: 12px;
  }
}





/* ================= BANNER SECTION ================= */
.banner-section {
  padding: 20px 15px;
}

.banner-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* کارت بنر */
.banner-item {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #f1f5f9;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform .3s ease, box-shadow .3s ease;
}

/* تصویر بنر */
.banner-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* افکت هاور (دسکتاپ) */
@media (hover: hover) {
  .banner-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.18);
  }
  
}

/* ================= DESKTOP ================= */
@media (min-width: 768px) {
  .banner-container {
    grid-template-columns: repeat(1, 1fr); /* دو بنر کنار هم */
  }
}



/* ================= CART BASE ================= */
.cart-box {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 0;                 /* 🔴 کاملاً بسته */
  overflow: hidden;
  background: #fff;
  box-shadow: 5px 0 30px rgba(0,0,0,0.2);
  transition: width 0.4s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

/* دسکتاپ */
@media (min-width: 769px) {
  .cart-box.show {
    width: 360px;           /* دسکتاپ همون ثابت */
  }
}

/* موبایل */
@media (max-width: 768px) {
  .cart-box.show {
    width: 25vw;            /* ✅ فقط وقتی باز شد ۲۵٪ */
    min-width: 220px;
    max-width: 320px;
  }
}

/* موبایل خیلی کوچک */
@media (max-width: 480px) {
  .cart-box.show {
    width: 70vw;
  }
}







/* ================= CART QTY CONTROLS ================= */

.cart-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-qty button {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 6px;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
}

.cart-qty button:hover {
  background: #c7d2fe;
}

.cart-qty span {
  min-width: 20px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
}

.cart-remove {
  background: #ef4444;
  border: none;
  color: #fff;
  border-radius: 6px;
  padding: 4px 6px;
  cursor: pointer;
  font-size: 14px;
}

.cart-remove:hover {
  background: #dc2626;
}
















/* ===== Footer ===== */
.footer {
  background: #111827;
  color: #fff;
  padding: 30px 20px 15px;
  font-family: 'Vazirmatn', sans-serif;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #4bc6ff;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}


/* ===== Footer Logo ===== */
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* پیش‌فرض برای لپ‌تاپ */
  gap: 1px;
}

.footer-logo img {
  width: 250px; /* اندازه لوگو در لپ‌تاپ */
  height: auto;
  object-fit: contain;
  display: inline-block;
}

/* ===== Footer Info ===== */
.footer-info p {
  margin: 5px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ===== Footer Social ===== */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social i {
  font-size: 22px;
  transition: transform 0.3s, color 0.3s;
}

.footer-social i:hover {
  color: #ff6b6b;
  transform: scale(1.3);
}

/* ===== Footer Responsive ===== */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center; /* همه آیتم‌ها در مرکز */
    gap: 15px;
  }

  .footer-logo {
    justify-content: center; /* لوگو در وسط */
    gap: 0; /* متن که حذف شده نیازی به فاصله نیست */
  }

  .footer-logo img {
    width: 200px; /* لوگو کوچکتر در موبایل */
  }

  .footer-info {
    text-align: center; /* متن‌ها هم وسط چین شوند */
  }

  .footer-info p {
    font-size: 13px;
  }

  .footer-social {
    justify-content: center; /* آیکون‌ها هم وسط چین */
    margin-top: 10px;
  }
}



.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {

  .footer-social {
    margin-top: 10px;
  }
}








.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 30px 0;
}

.pagination button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: #e5e7eb;
  cursor: pointer;
  font-weight: bold;
}

.pagination button.active {
  background: #2563eb;
  color: #fff;
}


.products-grid {
  display: grid;
  gap: 16px;
}

/* 📱 موبایل: 2 ستون */
@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 💻 لپ‌تاپ و بالاتر: 4 ستون */
@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}












/* باکس اطلاع‌رسانی انیمیشنی */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.order-box-animated {
  background-color: #fff8e1; /* رنگ گرم و جذاب */
  border: 2px solid #FF9800;
  border-radius: 15px;
  padding: 20px 30px;
  margin: 30px auto;
  max-width: 650px;
  text-align: center;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
  font-family: 'Vazirmatn', sans-serif;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  transition: transform 0.3s ease;
}

.order-box-animated:hover {
  transform: translateY(-5px);
}

.order-box-animated i {
  font-size: 30px;
  color: #FF9800;
  margin-bottom: 10px;
}

.order-box-animated p {
  font-size: 18px;
  color: #333;
  margin: 0;
}

.order-box-animated a {
  color: #FF9800;
  font-weight: bold;
  text-decoration: none;
}

.order-box-animated a:hover {
  text-decoration: underline;
}











/* ماژول‌ها */
.modules-grid a {
  color: inherit;       /* رنگ متن را از عنصر والد می‌گیرد */
  text-decoration: none; /* هیچ زیرخطی نمایش داده نشود */
  cursor: pointer;      /* نشانگر موس تغییر کند */
  transition: none;     /* هیچ افکتی روی هاور نباشد */
}

/* اگر خواستی هاور هم تغییری ایجاد نکند */
.modules-grid a:hover {
  color: inherit;
  text-decoration: none;
}












