.suppliers-wrap,
.suppliers-wrap * {
  box-sizing: border-box;
}

.suppliers-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 64px 16px 56px;
  background: transparent;
  font-family: Tahoma, "IRANSans", "Vazirmatn", sans-serif;
  direction: rtl;
}

.suppliers-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.suppliers-title {
  margin: 0 0 32px;
  text-align: center;
  font-size: var(--sup-title-size, 28px);
  line-height: 1.6;
  font-weight: 800;
  color: var(--sup-title-color, #1b4332);
  animation: suppliersFadeUp 0.7s ease both;
}

.suppliers-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 12px auto 0;
  background: var(--sup-accent, #d8b48c);
  border-radius: 99px;
  transform-origin: center;
  animation: suppliersLine 0.8s ease 0.2s both;
}

.suppliers-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  animation: suppliersFadeUp 0.8s ease 0.15s both;
}

.suppliers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.suppliers-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 126px;
  padding: 18px 16px;
  border: 0;
  text-decoration: none !important;
  background: transparent;
  opacity: 0;
  transform: translateY(16px);
  animation: suppliersFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.08s + var(--i, 0) * 0.06s);
}

.suppliers-item img {
  display: block;
  max-width: 88%;
  max-height: var(--sup-logo-height, 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.2);
  opacity: 0.88;
  transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
}

.suppliers-item:hover img {
  transform: translateY(-6px) scale(1.08);
  filter: none;
  opacity: 1;
}

.suppliers-fallback {
  display: block;
  max-width: 92%;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  color: #2b2118;
  transition: transform 0.35s ease, color 0.35s ease;
}

.suppliers-item:hover .suppliers-fallback {
  transform: translateY(-4px);
  color: #1b4332;
}

@keyframes suppliersFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes suppliersLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 980px) {
  .suppliers-wrap {
    padding: 40px 12px 36px;
  }

  .suppliers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .suppliers-item {
    min-height: 110px;
  }
}

@media (max-width: 640px) {
  .suppliers-wrap {
    padding: 32px 12px 36px;
  }

  .suppliers-title {
    font-size: 22px;
  }

  .suppliers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .suppliers-item {
    min-height: 88px;
    padding: 14px 10px;
  }

  .suppliers-item img {
    max-height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .suppliers-wrap *,
  .suppliers-item,
  .suppliers-title,
  .suppliers-title::after,
  .suppliers-card {
    animation: none !important;
    transition: none !important;
  }

  .suppliers-item {
    opacity: 1;
    transform: none;
  }
}
