html {
  scroll-behavior: smooth;
}
/* hero slider next and prev btn */
.swiper-button-next,
.swiper-button-prev {
  height: 2rem;
  width: 2rem;
  border-radius: 9999px;
  border-width: 1px;
  border-color: rgb(209 213 219);
  background-color: rgb(254 254 255);
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  color: rgb(113 113 122);
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
}
.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
  color: rgb(63 63 70);
}

/* show and hide next and prev hero slider btn */
@media only screen and (max-width: 768px) {
  .swiper-button-next {
    display: none;
  }
  .swiper-button-prev {
    display: none;
  }
  .swiper-btn-next {
    display: none;
  }
  .swiper-btn-prev {
    display: none;
  }
}
.swiper-pagination-bullet {
  width: 30px;
  height: 6px;
  border-radius: 5px;
  background-color: rgb(8, 135, 194);
}
.swiper-pagination-bullet-active {
  background-color: rgb(8, 135, 194);
}
.shadow-box-md {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.shadow-box-sm {
  box-shadow: rgba(91, 93, 95, 0.2) 0px 0px 18px;
}
.shadow-box {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

/* ── Rich text from the database (content pages, FAQ answers) ───────────── */
.prose-content { line-height: 2; color: #3A4554; overflow-wrap: anywhere; }
.prose-content > * + * { margin-top: 1rem; }
.prose-content h2 { font-size: 1.25rem; font-weight: 700; color: #0B1927; margin-top: 2rem; }
.prose-content h3 { font-size: 1.1rem; font-weight: 600; color: #0B1927; margin-top: 1.5rem; }
.prose-content ul, .prose-content ol { padding-inline-start: 1.5rem; }
.prose-content ul { list-style: disc; }
.prose-content ol { list-style: decimal; }
.prose-content li + li { margin-top: .35rem; }
.prose-content a { color: #0069FD; text-decoration: underline; text-underline-offset: 4px; }
.prose-content strong, .prose-content b { font-weight: 700; color: #0B1927; }
.prose-content img { max-width: 100%; height: auto; border-radius: .75rem; }
.prose-content table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.prose-content th, .prose-content td { border: 1px solid #E4E8EE; padding: .5rem .75rem; }
.prose-content blockquote { border-inline-start: 4px solid #ADD6FF; padding-inline-start: 1rem; color: #4D5868; }

details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* ── لوگوی برند (Pages/Shared/_BrandLockup.cshtml) ───────────────────────
   نسخهٔ سفید آیکون فقط در حالت تیره دیده می‌شود (dark.css جای دو تصویر را عوض می‌کند). */
.brand-logo-dark { display: none; }

/* ── نوار ثابت «افزودن به سبد» صفحهٔ محصول در موبایل (دور ۲۳) ─────────────
   فقط زیر ۱۰۲۴px و فقط وقتی فرم اصلی دیده نمی‌شود (engagement.js ویژگی hidden را برمی‌دارد). */
.fs-sticky-buy { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, .08); }
.fs-sticky-buy[hidden] { display: none; }
.fs-sticky-buy-price { display: flex; flex-direction: column; font-size: 13px; color: #3f3f46; }
.fs-sticky-buy-price strong { font-size: 16px; }
.fs-sticky-buy-old { font-size: 11px; color: #a1a1aa; text-decoration: line-through; }
.fs-sticky-buy-btn { flex: 0 0 auto; padding: 10px 20px; border-radius: 10px; color: #fff; font-size: 14px;
  background: linear-gradient(to bottom left, #38bdf8, #0284c7); }
@media (min-width: 1024px) { .fs-sticky-buy { display: none !important; } }
body.has-sticky-buy { padding-bottom: 72px; }
