/* User-supplied brand font (IRANSansWeb / font_nbt.ttf) — used site-wide, replacing the
   previous system-font fallback stack. */
@font-face {
  font-family: "IRANSansWeb";
  src: url("/fonts/IRANSansWeb.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bs-font-sans-serif: "IRANSansWeb", Tahoma, "Segoe UI", "Vazirmatn", sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
}

html, body {
  font-family: "IRANSansWeb", Tahoma, "Segoe UI", "Vazirmatn", sans-serif;
  background: #f7f7f9;
  color: #23272f;
}

a { text-decoration: none; }

.brand-text { font-weight: 700; font-size: 1.1rem; color: #b91c1c; }
.phone-badge { font-weight: 600; }

/* ---------- Hero Slider ---------- */
.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin: 1.25rem 0;
  background: #111;
  height: 340px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease-in-out;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.55);
}
.hero-caption {
  position: absolute;
  right: 5%;
  color: #fff;
  max-width: 90%;
  z-index: 2;
}
.hero-caption h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: .4rem; }
.hero-caption p { font-size: 1rem; opacity: .9; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,.85);
  border: none;
  border-radius: 50%;
  width: 42px; height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
}
.hero-arrow.prev { right: 16px; }
.hero-arrow.next { left: 16px; }

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none; cursor: pointer;
}
.hero-dot.active { background: #fff; }

/* ---------- Brand circles ---------- */
.brand-circles {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1.5rem 0;
}
.brand-circle { text-align: center; }
.brand-circle .circle-img {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.brand-circle .circle-name { display: block; margin-top: .5rem; font-weight: 700; }
.brand-circle .circle-count { display: block; font-size: .8rem; color: #777; }

/* ---------- Product cards ---------- */
.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  height: 100%;
  transition: box-shadow .2s;
}
.product-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.product-card img { border-radius: 10px 10px 0 0; width: 100%; height: 180px; object-fit: cover; }
.product-card .card-body { padding: .9rem; }
.product-price { color: #b91c1c; font-weight: 700; }
.brand-badge { display: inline-block; font-size: .75rem; background: #eee; border-radius: 6px; padding: 2px 8px; margin-bottom: .3rem; }

/* ---------- Product details ---------- */
.product-detail-img { width: 100%; max-height: 420px; object-fit: contain; background: #fff; border-radius: 10px; }
.product-detail-price { font-size: 1.6rem; }
