/* افزونه صفحه اصلی 7watch */

/* ——— نوار بالای هدر ——— */
.nm-header-top {
  background: var(--nm-ink, #141820);
  overflow: hidden;
}
.nm-header-top-inner {
  min-height: 34px;
  max-height: 34px;
  gap: 10px;
}
.fm-top-ticker {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.fm-top-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: fm-top-scroll 28s linear infinite;
}
.fm-top-track span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.95;
}
.fm-top-track span i {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-style: normal;
  font-size: 0.62rem;
  flex-shrink: 0;
}
.fm-top-track span i svg {
  width: 10px;
  height: 10px;
}
@keyframes fm-top-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.fm-top-ticker .fm-top-track { direction: ltr; }
.nm-header-top-links a {
  font-weight: 700;
  opacity: 1;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  text-decoration: none !important;
  font-size: 0.72rem;
}
.nm-header-top-links a:hover { background: rgba(255,255,255,.22); }

/* ——— سرچ: بدون حلقه آبی ——— */
.nm-search {
  position: relative;
}
.nm-search:focus-within {
  border-color: var(--nm-line) !important;
  box-shadow: none !important;
  background: #fff;
}
html.dark .nm-search:focus-within {
  background: #10161f !important;
  border-color: rgba(45, 212, 191, 0.35) !important;
}
.nm-search input {
  outline: none !important;
  box-shadow: none !important;
}
.nm-search input:focus {
  outline: none !important;
  box-shadow: none !important;
}
.nm-search input::-webkit-search-decoration,
.nm-search input::-webkit-search-cancel-button,
.nm-search input::-webkit-search-results-button,
.nm-search input::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.fm-search-wrap { position: relative; width: 100%; }
@media (max-width: 767px) {
  .fm-search-wrap { grid-area: search; }
}
.fm-suggest {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  inset-inline: 0;
  z-index: 60;
  background: #fff;
  border: 1px solid var(--nm-line, #e2e8f0);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  max-height: 360px;
  overflow-y: auto;
}
.fm-suggest.is-open { display: block; }
.fm-suggest-head {
  padding: 10px 14px 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--nm-muted, #64748b);
}
.fm-suggest a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--nm-line, #e2e8f0);
}
.fm-suggest a:hover { background: var(--nm-soft, #f8fafc); }
.fm-suggest img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--nm-line, #e2e8f0);
  flex-shrink: 0;
}
.fm-suggest strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}
.fm-suggest small {
  color: var(--nm-muted, #64748b);
  font-size: 0.72rem;
}
.fm-suggest-price {
  margin-right: auto;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--nm-accent, #0d9488);
  white-space: nowrap;
}

/* ——— اسلایدر اصلی: تصاویر پوشه slider (۲۸۸۰×۶۰۰) ——— */
.fm-hero {
  position: relative;
  border-radius: var(--nm-radius, 8px);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--nm-line, #e4e2dc);
  background: var(--nm-ink, #141820);
}
.fm-hero-track {
  display: flex;
  transition: transform 0.55s ease;
  direction: ltr;
}
.fm-hero-slide {
  min-width: 100%;
  position: relative;
  direction: rtl;
}
.fm-hero-slide > a { display: block; width: 100%; }
.fm-hero-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 4.8 / 1;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 767px) {
  .fm-hero-slide img { aspect-ratio: 2.2 / 1; min-height: 140px; }
}
.fm-hero-caption {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  top: 0;
  width: min(38%, 380px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.1rem 1.35rem;
  background: rgba(20, 24, 32, 0.82);
  color: #fff;
  pointer-events: none;
  border-inline-end: 3px solid var(--nm-accent, #c4a265);
}
@media (max-width: 640px) {
  .fm-hero-caption {
    width: 100%;
    top: auto;
    background: rgba(20, 24, 32, 0.88);
    padding: 0.85rem 1rem 1.1rem;
    border-inline-end: 0;
    border-top: 2px solid var(--nm-accent, #c4a265);
  }
  .fm-hero-caption p { display: none; }
}
.fm-hero-caption h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(0.95rem, 2.2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.35;
}
.fm-hero-caption p {
  margin: 0;
  font-size: 0.84rem;
  opacity: 0.92;
  line-height: 1.65;
}
.fm-hero-nav {
  position: absolute;
  inset-inline: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 2;
  pointer-events: none;
}
.fm-hero-nav button {
  pointer-events: auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--nm-line, #e4e2dc);
  border-radius: var(--nm-radius, 8px);
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.fm-hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.fm-hero-dots button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
}
.fm-hero-dots button.is-on { width: 18px; background: #fff; }

/* بنر تکی */
.fm-wide {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  margin: 1.75rem 0;
  border: 1px solid var(--nm-line, #e2e8f0);
}
.fm-wide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 1;
  object-fit: cover;
}
.fm-wide.is-tall img { aspect-ratio: 4.8 / 1; }

.fm-mid-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 1.75rem 0;
}
@media (min-width: 768px) {
  .fm-mid-row { grid-template-columns: 1fr 1fr; }
}
.fm-mid-row a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--nm-line, #e2e8f0);
}
.fm-mid-row img {
  display: block;
  width: 100%;
  aspect-ratio: 2.5 / 1;
  object-fit: cover;
}

.fm-sq-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 1.25rem 0 1.75rem;
}
@media (min-width: 768px) {
  .fm-sq-row { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
.fm-sq-row a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--nm-line, #e2e8f0);
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fm-sq-row a:hover {
  transform: translateY(-3px);
  box-shadow: var(--nm-shadow, 0 10px 30px rgba(15, 23, 42, 0.08));
}
.fm-sq-row img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ——— بلوک‌های متنی خلاقانه بین بخش‌ها ——— */
.fm-story {
  margin: 2rem 0;
  padding: 1.35rem 0.25rem 1.25rem;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--nm-line, #e2e8f0);
  border-bottom: 1px solid var(--nm-line, #e2e8f0);
  text-align: center;
  position: relative;
}
.fm-story::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: 0 auto 0.85rem;
  background: var(--nm-accent, #0d9488);
  border-radius: 2px;
}
@media (min-width: 768px) {
  .fm-story { padding: 1.55rem 1rem 1.4rem; }
}
.fm-story-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--nm-accent, #0d9488);
  background: none;
  padding: 0;
  border-radius: 0;
  margin-bottom: 0.45rem;
  letter-spacing: 0.04em;
}
.fm-story h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 800;
  color: var(--nm-ink, #0f172a);
  line-height: 1.5;
}
.fm-story p {
  margin: 0 auto;
  max-width: 44ch;
  color: var(--nm-muted, #64748b);
  font-size: 0.88rem;
  line-height: 1.85;
}

.fm-quote {
  margin: 2rem 0;
  padding: 1.2rem 1.35rem;
  border-radius: 14px;
  background: #0f172a;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-inline-start: 3px solid var(--nm-accent, #0d9488);
}
.fm-quote::before {
  content: "";
  display: none;
}
.fm-quote p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.75;
  position: relative;
}
.fm-quote span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  opacity: 0.65;
  font-weight: 500;
}

.fm-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 1.75rem 0;
}
@media (min-width: 768px) {
  .fm-steps { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
.fm-step {
  background: #fff;
  border: 1px solid var(--nm-line, #e2e8f0);
  border-radius: 14px;
  padding: 1rem 1rem 1.05rem;
  transition: border-color .2s ease;
}
.fm-step:hover {
  border-color: rgba(13, 148, 136, 0.4);
}
.fm-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--nm-accent-soft, rgba(13, 148, 136, 0.12));
  color: var(--nm-accent, #0d9488);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.fm-step strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  color: var(--nm-ink, #0f172a);
}
.fm-step span:not(.fm-step-num) {
  font-size: 0.78rem;
  color: var(--nm-muted, #64748b);
  line-height: 1.65;
}

/* برندها — اسلایدر پیوسته آهسته */
.fm-brands-wrap {
  margin: 1.25rem 0 2rem;
  position: relative;
  border: 1px solid var(--nm-line, #e2e8f0);
  border-radius: 18px;
  background: #fff;
  padding: 14px 0;
  overflow: hidden;
}
.fm-brands-wrap::before,
.fm-brands-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}
.fm-brands-wrap::before {
  inset-inline-start: 0;
  background: linear-gradient(90deg, #fff, transparent);
}
.fm-brands-wrap::after {
  inset-inline-end: 0;
  background: linear-gradient(270deg, #fff, transparent);
}
.fm-brands-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--nm-muted, #64748b);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.fm-brands-marquee {
  overflow: hidden;
  direction: ltr;
}
.fm-brands-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: fm-brand-move 45s linear infinite;
}
.fm-brands-track:hover { animation-play-state: paused; }
.fm-brands-track a {
  flex: 0 0 92px;
  height: 72px;
  border: 1px solid var(--nm-line, #e2e8f0);
  border-radius: 14px;
  background: var(--nm-soft, #f8fafc);
  display: grid;
  place-items: center;
  padding: 10px;
  text-decoration: none;
}
.fm-brands-track img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}
@keyframes fm-brand-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* اسلایدر محصول */
.fm-slider-wrap {
  position: relative;
  margin-bottom: 0.5rem;
}
.fm-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  scrollbar-width: none;
}
.fm-slider::-webkit-scrollbar { display: none; }
.fm-slider .fz-product {
  flex: 0 0 158px;
  scroll-snap-align: start;
}
@media (min-width: 480px) {
  .fm-slider .fz-product { flex-basis: 176px; }
}
@media (min-width: 768px) {
  .fm-slider .fz-product { flex-basis: 200px; }
}
.fm-slider .fz-product-media { aspect-ratio: 1; }
.fm-slider .fz-product-body { padding: 0.7rem 0.75rem 0.85rem; gap: 0.3rem; }
.fm-slider .fz-product-name { font-size: 0.8rem; min-height: 2.4rem; }
.fm-slider .fz-price { font-size: 0.88rem; }
.fm-slider .fz-price-old { font-size: 0.68rem; }
.fm-slider .fz-product-cta { padding: 0.42rem 0.55rem; font-size: 0.72rem; }
.fm-slider-btn {
  display: none;
  position: absolute;
  top: 38%;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--nm-line, #e2e8f0);
  background: #fff;
  box-shadow: var(--nm-shadow, 0 10px 30px rgba(15, 23, 42, 0.08));
  cursor: pointer;
}
@media (min-width: 768px) {
  .fm-slider-btn { display: grid; place-items: center; }
}
.fm-slider-btn.prev { right: -6px; }
.fm-slider-btn.next { left: -6px; }

.fm-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .fm-cat-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; }
}
.fm-cat-grid a {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #0f172a;
  outline: none;
  transition: box-shadow .25s ease, transform .25s ease;
}
.fm-cat-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -16px rgba(13, 148, 136, 0.55);
}
.fm-cat-grid a:focus-visible {
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.45);
}
.fm-cat-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.fm-cat-grid a:hover img {
  transform: scale(1.06);
}
.fm-cat-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.72) 100%);
  pointer-events: none;
  transition: background .25s ease;
}
.fm-cat-grid a:hover::after {
  background: linear-gradient(180deg, transparent 25%, rgba(13, 148, 136, 0.55) 100%);
}
.fm-cat-grid span {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: 0.7rem 0.45rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.fm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .fm-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .fm-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
}
.fm-grid .fz-product-media { aspect-ratio: 1; }
.fm-grid .fz-product-body { padding: 0.7rem 0.8rem 0.85rem; }
.fm-grid .fz-product-name { font-size: 0.82rem; min-height: 2.4rem; }

/* ——— Homepage dark luxury polish ——— */
html.dark .fm-story {
  border-top-color: rgba(212, 175, 110, 0.16);
  border-bottom-color: rgba(212, 175, 110, 0.16);
}
html.dark .fm-story::before {
  background: linear-gradient(90deg, #e3a93d, #2dd4bf);
}
html.dark .fm-story-kicker { color: #f0d78c; }
html.dark .fm-story h3 { color: #f8f4eb; }
html.dark .fm-story p { color: #9aa3b2; }

html.dark .fm-quote {
  background: linear-gradient(135deg, #121820 0%, #0c1018 100%);
  border-inline-start-color: #e3a93d;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 110, 0.1);
}
html.dark .fm-quote p { color: #f3efe6; }
html.dark .fm-quote span { color: #9aa3b2; }

html.dark .fm-step {
  background: linear-gradient(165deg, #121820, #0e131a);
  border-color: rgba(212, 175, 110, 0.12);
}
html.dark .fm-step:hover { border-color: rgba(227, 169, 61, 0.35); }
html.dark .fm-step-num {
  background: rgba(227, 169, 61, 0.14);
  color: #f0d78c;
}
html.dark .fm-step strong { color: #f3efe6; }
html.dark .fm-step span:not(.fm-step-num) { color: #8b95a5; }

html.dark .fm-cat-grid a {
  box-shadow: 0 0 0 1px rgba(212, 175, 110, 0.1);
}
html.dark .fm-cat-grid a:hover {
  box-shadow: 0 16px 36px -14px rgba(227, 169, 61, 0.4);
}

html.dark .fm-brands-wrap {
  background: #10161f;
  border-color: rgba(212, 175, 110, 0.12);
}
html.dark .fm-brands-wrap::before {
  background: linear-gradient(90deg, #10161f, transparent);
}
html.dark .fm-brands-wrap::after {
  background: linear-gradient(270deg, #10161f, transparent);
}
html.dark .fm-brands-label { color: #8b95a5; }

html.dark .fm-slider-btn {
  background: #141b24;
  border-color: rgba(212, 175, 110, 0.2);
  color: #f0d78c;
}

/* ParaCake product card */
.fz-product { border-color: #e4d6e8; background: #fff; border-radius: 18px; overflow: hidden; }
.fz-product-media { aspect-ratio: 1 / 1; background: #e8d8ea; position: relative; }
.fz-product-media img { width: 100%; height: 100%; object-fit: cover; }
.pc-wishlist { position: absolute; z-index: 4; top: 0; right: 0; width: 58px; height: 58px; border: 0; cursor: pointer; color: #6d2d87; background: #fff; border-radius: 0 0 0 38px; display: grid; place-items: center; padding: 0 0 8px 8px; }
.pc-wishlist svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pc-wishlist.is-active svg { fill: currentColor; }
.fz-product-body { padding: 1rem; gap: .55rem; }
.fz-product-cat { color: #7d4293; font-size: .72rem; font-weight: 600; }
.fz-product-name { font-size: 1rem; font-weight: 850; min-height: 3.1rem; color: #241b2b; }
.pc-slice-row, .pc-price-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; color: #6c6570; font-size: .78rem; }
.pc-stepper { display: inline-flex; align-items: center; gap: .7rem; border: 1px solid #e2ccea; border-radius: 999px; padding: .18rem .3rem; color: #4f2169; }
.pc-stepper button { border: 0; width: 27px; height: 27px; border-radius: 50%; background: #eadcf0; color: #5e2c76; font-size: 1.15rem; line-height: 1; cursor: pointer; }
.pc-stepper button:last-child { background: #6e2c87; color: #fff; }
.pc-stepper output { min-width: 1.2rem; text-align: center; color: #241b2b; font-weight: 800; }
.pc-price-row { border-top: 1px solid #eadff0; padding-top: .7rem; }
.pc-price-row strong { color: #68277f; font-size: .94rem; }
.pc-divider { height: 1px; background: #eadff0; margin-top: .15rem; }
.pc-hints { height: 1.4rem; border-radius: 8px; background: #f7eff9; }
.pc-cart-btn { width: 100%; border: 0; background: #632478 !important; color: #fff !important; border-radius: 12px; padding: .7rem; font-weight: 800; cursor: pointer; }
.pc-cart-btn:disabled { opacity: .55; cursor: not-allowed; }
.pc-toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #fff; color: #34213c; border: 1px solid #eadff0; border-radius: 14px; box-shadow: 0 14px 40px rgba(74, 24, 91, .18); padding: .8rem 1.2rem; transition: opacity .2s, transform .2s; font-weight: 700; }
.pc-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
html.dark .fz-product { background: #211528; border-color: rgba(214,168,228,.25); }
html.dark .fz-product-name, html.dark .pc-stepper output { color: #f7eef9; }
html.dark .pc-price-row strong { color: #ffffff !important; }
html.dark .pc-toast { background: #211528; color: #fff; }

@media (max-width: 639px) {
  .fm-slider .fz-product { flex-basis: 188px; }
  .fm-slider .fz-product-body { padding: .62rem .58rem .68rem; gap: .34rem; }
  .fm-slider .fz-product-cat { font-size: .62rem; }
  .fm-slider .fz-product-name { font-size: .76rem; line-height: 1.45; min-height: 2.25rem; }
  .fm-slider .pc-slice-row, .fm-slider .pc-price-row { font-size: .64rem; gap: .25rem; }
  .fm-slider .pc-stepper { gap: .22rem; padding: .12rem .2rem; }
  .fm-slider .pc-stepper button { width: 22px; height: 22px; font-size: .9rem; }
  .fm-slider .pc-stepper output { min-width: .8rem; font-size: .72rem; }
  .fm-slider .pc-price-row strong { font-size: .68rem; white-space: nowrap; }
  .fm-slider .pc-hints { height: 1rem; }
  .fm-slider .pc-cart-btn { padding: .5rem .3rem; font-size: .66rem; }
  .fm-slider .pc-wishlist { width: 45px; height: 45px; border-radius: 0 0 0 30px; padding: 0 0 5px 5px; }
  .fm-slider .pc-wishlist svg { width: 19px; height: 19px; }
}
html.dark .fm-hero-caption h2 { text-shadow: 0 8px 28px rgba(0,0,0,.65); }
html.dark .fm-suggest {
  background: #121820;
  border-color: rgba(212, 175, 110, 0.16);
}
/* کانتینر اصلی اسلایدر */
.fm-slider-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
}

/* ردیف افقی محصولات */
.fm-slider.pc-product-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 1.25rem !important;
  overflow-x: auto !important;
  scroll-behavior: smooth;
  scrollbar-width: none; /* حذف اسکرول‌بار زشت در فایرفاکس */
  -ms-overflow-style: none; /* حذف در اینترنت اکسپلورر */
  padding: 1rem 0.25rem;
}

.fm-slider.pc-product-grid::-webkit-scrollbar {
  display: none; /* حذف اسکرول‌بار در کروم و سافاری */
}

/* ثابت کردن عرض کارت‌ها در اسلایدر */
.fm-slider.pc-product-grid > .pc-product-card {
  flex: 0 0 280px !important;
  width: 280px !important;
  max-width: 280px !important;
}


/* استایل دکمه‌های فلش پیشین و پسین */
.fm-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pc-purple, #591875);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(89, 24, 117, 0.3);
  transition: background 0.2s;
}

.fm-slider-btn.prev {
  right: -20px;
}

.fm-slider-btn.next {
  left: -20px;
}

.fm-slider-btn:hover {
  background: #431257;
}
