* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Tahoma, sans-serif;
}

body {
  direction: rtl;
  background: #f5f5f5;
  min-height: 100vh;
}
html {
  scroll-behavior: smooth;
}

#books-bulletins,
#events-workshops,
#articles-section,
#latest-books {
  scroll-margin-top: 120px;
}

/* =========================
   HEADER
========================= */
.site-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  width: 120px;
  height: auto;
  display: block;
}

/* =========================
   DESKTOP SEARCH
========================= */
.search-box {
  flex: 0 0 280px;
  height: 44px;
  background: #f7f7f7;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.search-box input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 16px;
  font-size: 14px;
  color: #333;
}

.search-box button {
  width: 50px;
  height: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #666;
  font-size: 16px;
}

/* =========================
   DESKTOP NAV
========================= */
.nav-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: 0.2s ease;
}

.nav-menu a:hover {
  color: #02482c;
}

/* =========================
   DESKTOP ACTIONS
========================= */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f7f7f7;
  border: 1px solid #e8e8e8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  position: relative;
  transition: 0.2s ease;
}

.icon-btn:hover {
  background: #f0f0f0;
}

.cart-badge {
  position: absolute;
  top: -3px;
  left: -3px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #02482c;
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.login-btn {
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #02482c;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.login-btn:hover {
  background: #02482c;
}

/* =========================
   MOBILE BUTTONS
========================= */
.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #e6e6e6;
  background: #f7f7f7;
  border-radius: 50%;
  cursor: pointer;
  color: #333;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =========================
   DRAWER OVERLAY
========================= */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 1200;
}

.drawer-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* =========================
   DRAWERS
========================= */
.mobile-drawer {
  position: fixed;
  top: 0;
  width: min(86%, 360px);
  height: 100vh;
  background: #fff;
  z-index: 1300;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.14);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.drawer-right {
  right: 0;
  transform: translateX(100%);
  border-radius: 0 0 0 18px;
}

.drawer-left {
  left: 0;
  transform: translateX(-100%);
  border-radius: 0 0 18px 0;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  min-height: 64px;
  padding: 0 18px;
  border-bottom: 1px solid #efefef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.drawer-close {
  width: 38px;
  height: 38px;
  border: none;
  background: #f7f7f7;
  border-radius: 50%;
  cursor: pointer;
  color: #333;
  font-size: 18px;
}

/* سرچ داخل دراور */
.drawer-search {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-search input {
  width: 100%;
  height: 46px;
  border: 1px solid #e8e8e8;
  background: #fafafa;
  border-radius: 14px;
  outline: none;
  padding: 0 14px;
  font-size: 14px;
}

.drawer-search button {
  width: 46px;
  height: 46px;
  border: none;
  background: #02482c;
  color: #fff;
  border-radius: 14px;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 16px;
}

/* آیتم‌های منو */
.drawer-menu {
  display: flex;
  flex-direction: column;
  padding: 8px 0 18px;
}

.drawer-menu a {
  min-height: 54px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid #f5f5f5;
  transition: 0.2s ease;
}

.drawer-menu a:hover {
  background: #fafafa;
  color: #02482c;
}

.drawer-menu a i {
  width: 20px;
  text-align: center;
  font-size: 16px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .header-container {
    padding: 12px 16px;
  }

  .logo {
    margin: 0 auto;
  }

  .logo img {
    width: 76px;
  }
}

@media (max-width: 576px) {
  .mobile-drawer {
    width: 88%;
  }

  .drawer-header {
    min-height: 60px;
    font-size: 15px;
  }

  .drawer-menu a {
    font-size: 14px;
  }
}
.hero-slider {
  width: 100%;
  padding: 40px 20px;
}

.slider {
   position: relative;
  width: 100%;
  max-width: 1700px;
  height: 750px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: #111;
}

/* اسلاید */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}
.slide img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* اسلاید فعال */
.slide.active {
   opacity: 1;
  z-index: 2;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .slider {
    height: 260px;
  }

  .slide {
    font-size: 28px;
  }
}
.page-wrap {
  width: 100%;
  padding: 34px 20px;
}

/* سکشن */
.product-section {
  max-width: 1400px;
  margin: 0 auto 28px;
  background: #f7f7f7;
  border-radius: 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  padding: 26px 28px 18px;
}

/* هدر سکشن */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 10px;
  border-bottom: 2px solid #cfcfcf;
}

.section-head h2 {
  font-size: 20px;
  font-weight: 700;
  color: #2b2b2b;
}

.more-link {
  text-decoration: none;
  color: #02482c;
  font-size: 17px;
  font-weight: 700;
  transition: 0.2s ease;
}

.more-link:hover {
  opacity: 0.8;
}

/* اسلایدر */
.slider-wrap {
  position: relative;
}

.products-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(20% - 12px);
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 2px;
}

.products-slider::-webkit-scrollbar {
  display: none;
}

/* کارت */
.product-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 10px 10px 14px;
  min-height: 100%;
  transition: 0.25s ease;
  border: 1px solid #ececec;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(2, 72, 44, 0.08);
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  background: #f4efe7;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* عنوان */
.product-title {
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
  color: #2e2e2e;
  min-height: 54px;
  margin-bottom: 10px;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* فوتر کارت */
.product-footer {
  display: flex;
  flex-direction:row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.price-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price {
  font-size: 14px;
  color: #8a8a8a;
  font-weight: 700;
}

.old-price {
  font-size: 13px;
  color: #02482c;
  text-decoration: line-through;
  font-weight: 700;
}

/* دکمه افزودن */
.add-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #02482c;
  color: #02482c;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: 0.2s ease;
}

.add-btn:hover {
  background: #02482c;
  color: #fff;
}

/* تخفیف */
.discount-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  background: #916a00;
  color: #02482c;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 8px;
  border-radius: 0 0 10px 10px;
  z-index: 2;
  min-width: 46px;
  text-align: center;
}

/* دکمه‌های اسلایدر */
.slider-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: #5f5f5f;
  color: #fff;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transition: 0.2s ease;
}

.slider-btn:hover {
  background: #02482c;
}

.slider-btn-prev {
  right: -8px;
}

.slider-btn-next {
  left: -8px;
}

/* ریسپانسیو */
@media (max-width: 1200px) {
  .products-slider {
    grid-auto-columns: calc(25% - 12px);
  }
}

@media (max-width: 992px) {
  .product-section {
    padding: 22px 18px 16px;
  }

  .products-slider {
    grid-auto-columns: calc(33.333% - 11px);
  }

  .section-head h2 {
    font-size: 18px;
  }

  .more-link {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-wrap {
    padding: 20px 12px;
  }

  .product-section {
    border-radius: 16px;
    padding: 18px 14px 14px;
  }

  .products-slider {
    grid-auto-columns: calc(50% - 8px);
    gap: 12px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .slider-btn-prev {
    right: -4px;
  }

  .slider-btn-next {
    left: -4px;
  }

  .product-title {
    font-size: 14px;
    min-height: 50px;
  }

  .price {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .products-slider {
    grid-auto-columns: 78%;
  }

  .section-head {
    padding-bottom: 10px;
  }

  .section-head h2 {
    font-size: 16px;
  }

  .more-link {
    font-size: 14px;
  }

  .discount-badge {
    font-size: 12px;
    min-width: 42px;
    padding: 8px 6px;
  }
}
/* سکشن کلی */
.media-banner {
  width: 100%;
  padding: 30px 20px;
}

/* باکس اصلی */
.banner-box {
  width: 100%;
  max-width: 1400px;
  height: 420px;
  margin: 0 auto;

  background: #9e9e9e; /* رنگ بکگراند مثل عکس */
  border-radius: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 20px;
}

/* متن */
.banner-box h2 {
  color: #ffffff;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.8;
}

/* ریسپانسیو */
@media (max-width: 992px) {
  .banner-box {
    height: 320px;
  }

  .banner-box h2 {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .media-banner {
    padding: 20px 12px;
  }

  .banner-box {
    height: 220px;
    border-radius: 16px;
  }

  .banner-box h2 {
    font-size: 22px;
  }
}
.content-wrap {
  width: 100%;
  padding: 30px 20px;
}

/* سکشن اصلی */
.media-section {
  max-width: 1400px;
  margin: 0 auto 28px;
  background: #f7f7f7;
  border-radius: 22px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  padding: 24px 28px 22px;
}

/* هدر سکشن */
.media-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #c8c8c8;
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.media-section__head h2 {
  font-size: 20px;
  font-weight: 800;
  color: #2f2f2f;
}

.media-section__more {
  text-decoration: none;
  color: #02482c;
  font-size: 17px;
  font-weight: 700;
  transition: 0.2s ease;
}

.media-section__more:hover {
  opacity: 0.8;
}

/* wrapper اسلایدر */
.media-slider-wrap {
  position: relative;
}

/* خود اسلایدر */
.media-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(20% - 13px);
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.media-slider::-webkit-scrollbar {
  display: none;
}

/* کارت */
.media-card {
  background: transparent;
  min-width: 0;
}

.media-card--boxed {
  background: #fcfcfc;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #efefef;
}

/* تصویر */
.media-card__image {
  width: 100%;
  aspect-ratio: 1 / 1.32;
  overflow: hidden;
  background: #efe8de;
  margin-bottom: 12px;
}

.media-card--boxed .media-card__image {
  border-radius: 4px;
}

.media-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* عنوان */
.media-card__title {
  font-size: 15px;
  font-weight: 800;
  color: #2f2f2f;
  line-height: 1.8;
  min-height: 54px;
  margin-bottom: 8px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* فوتر */
.media-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.media-card__price {
  font-size: 14px;
  font-weight: 700;
  color: #8c8c8c;
}

/* دکمه افزودن */
.media-card__add {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #02482c;
  color: #02482c;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: 0.2s ease;
}

.media-card__add:hover {
  background: #02482c;
  border-color: #02482c;
  color: #fff;
}

/* فلش‌های کناری */
.media-slider-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: #666666;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
  z-index: 5;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.media-slider-btn:hover {
  background: #02482c;
}

.media-slider-btn--prev {
  right: -2px;
}

.media-slider-btn--next {
  left: -2px;
}

/* ریسپانسیو */
@media (max-width: 1200px) {
  .media-slider {
    grid-auto-columns: calc(25% - 12px);
  }
}

@media (max-width: 992px) {
  .media-section {
    padding: 20px 18px 18px;
  }

  .media-slider {
    grid-auto-columns: calc(33.333% - 11px);
  }

  .media-section__head h2 {
    font-size: 18px;
  }

  .media-section__more {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .content-wrap {
    padding: 18px 12px;
  }

  .media-section {
    border-radius: 16px;
    padding: 16px 14px;
  }

  .media-slider {
    grid-auto-columns: calc(50% - 8px);
    gap: 12px;
  }

  .media-slider-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .media-card__title {
    font-size: 14px;
    min-height: 48px;
  }

  .media-card__price {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .media-slider {
    grid-auto-columns: 78%;
  }

  .media-section__head {
    margin-bottom: 14px;
  }

  .media-section__head h2 {
    font-size: 16px;
  }

  .media-section__more {
    font-size: 14px;
  }
}
/* سکشن */
.single-banner {
  width: 100%;
  padding: 30px 20px;
}

/* باکس اصلی */
.single-banner__box {
  width: 100%;
  max-width: 1400px;
  height: 360px;
  margin: 0 auto;

  background: #9e9e9e; /* رنگ مثل تصویر */
  border-radius: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 20px;
}

/* متن */
.single-banner__box h2 {
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.8;
}

/* ریسپانسیو */
@media (max-width: 992px) {
  .single-banner__box {
    height: 280px;
  }

  .single-banner__box h2 {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .single-banner {
    padding: 20px 12px;
  }

  .single-banner__box {
    height: 200px;
    border-radius: 16px;
  }

  .single-banner__box h2 {
    font-size: 22px;
  }
}
.event-section {
  padding: 30px 20px;
}

.event-block {
  background: #f7f7f7;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 25px;
}

/* هدر */
.event-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.event-head h2 {
  font-size: 18px;
  font-weight: 800;
}

.event-head a {
  color: #02482c;
  font-weight: bold;
  text-decoration: none;
}

/* اسلایدر */
.event-slider-wrap {
  position: relative;
}

.event-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(20% - 12px);
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

/* کارت */
.event-card {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
}

.event-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 10px;
}

.event-card p {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

.event-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.old {
  text-decoration: line-through;
  color: blue;
  font-size: 13px;
}

.out {
  color: red;
  font-size: 13px;
}

/* دکمه */
.event-bottom button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #2b67ff;
  background: #fff;
  cursor: pointer;
}

/* فلش‌ها */
.event-btn {
  position: absolute;
  top: 40%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #666;
  color: #fff;
  border: none;
  cursor: pointer;
}

.prev {
  right: -10px;
}
.next {
  left: -10px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .event-slider {
    grid-auto-columns: calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .event-slider {
    grid-auto-columns: 80%;
  }
}
.products-section {
  width: 100%;
  padding: 30px 20px;
}

.products-block {
  max-width: 1400px;
  margin: 0 auto 28px;
  background: #f8f8f8;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  padding: 22px 28px 20px;
}

.products-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid #cfcfcf;
}

.products-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #2d2d2d;
}

.more-link {
  color: #02482c;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
}

.products-slider-wrap {
  position: relative;
}

.products-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(20% - 13px);
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 2px 0;
}

.products-slider::-webkit-scrollbar {
  display: none;
}

.product-card {
  background: #fcfcfc;
  border: 1px solid #efefef;
  border-radius: 10px;
  padding: 10px 10px 14px;
  min-width: 0;
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1.25;
  overflow: hidden;
  background: #efe8df;
  margin-bottom: 12px;
}

.product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-title {
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
  color: #2e2e2e;
  min-height: 54px;
  margin-bottom: 10px;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-footer {
  display: flex;
  flex-direction:row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.price-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.price {
  font-size: 14px;
  font-weight: 700;
  color: #8a8a8a;
}

.old-price {
  font-size: 13px;
  font-weight: 700;
  color: #02482c;
  text-decoration: line-through;
}

.add-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #02482c;
  background: #fff;
  color: #02482c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: 0.2s ease;
}

.add-btn:hover {
  background: #02482c;
  border-color: #02482c;
  color: #fff;
}

.product-footer-stock {
  justify-content: center;
  align-items: center;
}

.stock-text {
  color: #ff4b4b;
  font-size: 14px;
  font-weight: 700;
}

.products-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: #666666;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
  z-index: 5;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.products-arrow:hover {
  background: #02482c;
}

.products-arrow-right {
  right: -2px;
}

.products-arrow-left {
  left: -2px;
}

@media (max-width: 1200px) {
  .products-slider {
    grid-auto-columns: calc(25% - 12px);
  }
}

@media (max-width: 992px) {
  .products-block {
    padding: 20px 18px 18px;
  }

  .products-slider {
    grid-auto-columns: calc(33.333% - 11px);
  }

  .products-head h2 {
    font-size: 18px;
  }

  .more-link {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .products-section {
    padding: 18px 12px;
  }

  .products-block {
    border-radius: 16px;
    padding: 16px 14px;
  }

  .products-slider {
    grid-auto-columns: calc(50% - 8px);
    gap: 12px;
  }

  .products-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .product-title {
    font-size: 14px;
    min-height: 50px;
  }

  .price,
  .stock-text {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .products-slider {
    grid-auto-columns: 78%;
  }

  .products-head h2 {
    font-size: 16px;
  }

  .more-link {
    font-size: 14px;
  }
}
.cooperation-banner {
  width: 100%;
  padding: 30px 20px;
}

.cooperation-banner-box {
  width: 100%;
  max-width: 1000px;
  height: 490px;
  margin: 0 auto;
  background: #a8a8a8;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  
  
  
}

.cooperation-banner-box img {
  width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
object-position: center;
border-radius: 9px;
}

@media (max-width: 992px) {
  .cooperation-banner-box {
    height: 280px;
  }

  .cooperation-banner-box h2 {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .cooperation-banner {
    padding: 20px 12px;
  }

  .cooperation-banner-box {
    height: 200px;
    border-radius: 16px;
  }

  .cooperation-banner-box h2 {
    font-size: 22px;
  }
}
.site-footer {
background: #123125 url("productsPicture/slider_optimized_q82.jpg") left center / 100% auto no-repeat;
  color: #fff;
  padding: 60px 20px 35px;
  margin-top: 40px;
    min-height: 450px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* خبرنامه */
.footer-newsletter {
  text-align: center;
  margin-bottom: 60px;
}

.footer-newsletter h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 18px;
  color: #fff;
}

.footer-newsletter p {
  font-size: 18px;
  color: #f1f1f1;
  margin-bottom: 30px;
}

.newsletter-form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 8px;
}

.newsletter-form input {
  flex: 1;
  height: 48px;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 18px;
  padding: 0 8px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.newsletter-form button {
  height: 42px;
  padding: 0 10px;
  border: none;
  background: transparent;
  color: #916a00;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

/* بخش ستون‌ها */
.footer-content {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 45px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 22px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 14px;
  color: #f3f3f3;
  font-size: 17px;
  line-height: 2;
}

.footer-col ul li a {
  text-decoration: none;
  color: #f3f3f3;
  transition: 0.2s ease;
}

.footer-col ul li a:hover {
  color: #ffff;
}

.footer-enamad {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-enamad img {
  max-width: 130px;
  width: 100%;
  height: auto;
  display: block;
}

/* پایین فوتر */
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-social a {
  text-decoration: none;
  color: #fff;
  font-size: 36px;
  transition: 0.2s ease;
}

.footer-social a:hover {
  color: #2b67ff;
}

.footer-logo-text {
  font-size: 22px !important;
  font-weight: 800;
  color: #fff !important;
  margin: 0 10px;
}

/* ریسپانسیو */
@media (max-width: 1100px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-enamad {
    order: 4;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 45px 14px 28px;
  }

  .footer-newsletter h2 {
    font-size: 26px;
  }

  .footer-newsletter p {
    font-size: 16px;
  }

  .newsletter-form {
    gap: 8px;
  }

  .newsletter-form input {
    font-size: 15px;
  }

  .newsletter-form button {
    font-size: 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 35px;
  }

  .footer-col h3 {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .footer-col ul li {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .footer-enamad {
    justify-content: center;
  }

  .footer-social {
    gap: 18px;
  }

  .footer-social a {
    font-size: 28px;
  }

  .footer-logo-text {
    font-size: 18px !important;
  }
}
.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.product-card {
  transition: 0.3s;
}

.product-link:hover .product-card {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

@media (max-width: 900px) {
  .slider {
    height: 360px;
    border-radius: 22px;
  }
}

@media (max-width: 520px) {
  .hero-slider {
    padding: 20px 12px;
  }

  .slider {
    height: 230px;
    border-radius: 16px;
  }
}
.product-card-link {
  color: inherit;
  text-decoration: none;
  display: block;
  cursor: pointer;
  flex: 0 0 auto;
}

.product-card-link:visited,
.product-card-link:hover,
.product-card-link:active,
.product-card-link:focus {
  color: inherit;
  text-decoration: none;
}

.product-card-link:hover .product-card {
  transform: translateY(-4px);
}

.free-price {
  color: #02482c;
  background: #e9f7ef;
  border: 1px solid #cdebd9;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 800;
}
.live-search-wrap {
  position: relative;
  overflow: visible !important;
}

.live-search-results {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  background: #ffffff;
  border: 1px solid #edf0f2;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
  padding: 8px;
  z-index: 9999;
  max-height: 360px;
  overflow-y: auto;
}

.live-search-results.show {
  display: block;
}

.live-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #1f2937;
  transition: 0.2s ease;
  direction: rtl;
}

.live-search-item:hover {
  background: #f5fbf8;
}

.live-search-item img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: #f3f4f6;
  flex: 0 0 auto;
}

.live-search-info {
  min-width: 0;
  flex: 1;
}

.live-search-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-search-meta {
  margin-top: 2px;
  font-size: 12px;
  color: #8b95a5;
}

.live-search-empty {
  padding: 14px;
  text-align: center;
  color: #8b95a5;
  font-size: 13px;
}

.drawer-search .live-search-results {
  position: static;
  margin-top: 8px;
}
/*slider dot*/
.hero-slider {
  position: relative;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
  direction: ltr;
}

.hero-slider-dot {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.hero-slider-dot:hover {
  background: #03492F;
  transform: scale(1.2);
}

.hero-slider-dot.active {
  width: 24px;
  border-radius: 999px;
  background: #03492F;
}

@media (max-width: 500px) {
  .hero-slider-dots {
    gap: 7px;
    margin-top: 10px;
  }

  .hero-slider-dot {
    width: 8px;
    height: 8px;
  }

  .hero-slider-dot.active {
    width: 20px;
  }
}
/* footer-social-apps*/
.footer-social-apps {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 28px;
  padding: 18px 20px 0;
  text-align: center;
  direction: rtl;
}

.footer-social-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-social-item {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  transition: all 0.25s ease;
}

.footer-social-item img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

/*.footer-social-item:hover {*/
/*  background: #4DA9E3;*/
/*  transform: translateY(-4px);*/
/*  box-shadow: 0 12px 28px rgba(77, 169, 227, 0.35);*/
/*}*/

/*.footer-social-item:hover img {*/
/*  transform: scale(1.08);*/
/*}*/