/* =========================================================
   MishiLand App-style Home — Namespaced CSS
   همه چیز داخل #mishiland-home یا با پیشوند .ml- است
   تا با استایل‌های WoodMart/WooCommerce تداخل نکند.
   ========================================================= */

#mishiland-home {
  --ml-ink-900: #14181f;
  --ml-ink-700: #2b323d;
  --ml-paper: #f7f4ef;
  --ml-copper-500: #c1743c;
  --ml-copper-600: #a85f2d;
  --ml-saffron-400: #e8b34d;
  --ml-line: #e7e1d6;
  --ml-white: #ffffff;
  --ml-radius-lg: 20px;
  --ml-radius-md: 14px;
  --ml-shadow: 0 8px 24px rgba(20, 24, 31, 0.08);

  direction: rtl;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  background: var(--ml-paper);
  color: var(--ml-ink-900);
  padding-bottom: 24px;
  overflow-x: hidden;
}

#mishiland-home * { box-sizing: border-box; }

#mishiland-home img { max-width: 100%; display: block; }

/* ---------- v17.1.8: promotional banners + auto-moving category carousel ---------- */
#mishiland-home .ml-promo-banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 20px 16px 2px;
  max-width: 1280px;
  margin: 0 auto;
}
#mishiland-home .ml-promo-banner {
  position: relative;
  min-height: 230px;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 14px 34px rgba(18, 24, 33, .14);
  isolation: isolate;
}
#mishiland-home .ml-promo-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  z-index: -2;
}
#mishiland-home .ml-promo-banner:hover img { transform: scale(1.025); }
#mishiland-home .ml-promo-banner__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
#mishiland-home .ml-promo-banner--air-fryer .ml-promo-banner__shade {
  background: linear-gradient(90deg, rgba(255,255,255,.96) 4%, rgba(255,255,255,.84) 38%, rgba(255,255,255,0) 68%);
}
#mishiland-home .ml-promo-banner--small-appliances .ml-promo-banner__shade {
  background: linear-gradient(270deg, rgba(12,12,13,.96) 3%, rgba(12,12,13,.79) 42%, rgba(12,12,13,0) 72%);
}
#mishiland-home .ml-promo-banner__content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}
#mishiland-home .ml-promo-banner--air-fryer .ml-promo-banner__content {
  left: 7%;
  color: #15181d;
  direction: rtl;
  text-align: right;
}
#mishiland-home .ml-promo-banner--small-appliances .ml-promo-banner__content {
  right: 7%;
  color: #fff;
}
#mishiland-home .ml-promo-banner__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  opacity: .78;
}
#mishiland-home .ml-promo-banner__content strong {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 900;
}
#mishiland-home .ml-promo-banner__content > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
}
#mishiland-home .ml-promo-banner--air-fryer .ml-promo-banner__content > span:last-child {
  color: #fff;
  background: #c1743c;
  border-color: #c1743c;
}
#mishiland-home .ml-section__heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
#mishiland-home .ml-section__heading-row .ml-section__title { margin: 3px 0 0; }
#mishiland-home .ml-section__kicker {
  color: #c1743c;
  font-size: 12px;
  font-weight: 800;
}
#mishiland-home .ml-section__all-link {
  color: #596170;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
#mishiland-home .ml-featured-category-cards {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px 4px;
}
#mishiland-home .ml-featured-category-cards__heading { margin-bottom: 14px; }
#mishiland-home .ml-featured-category-cards__heading span {
  color: var(--ml-copper-500);
  font-size: 12px;
  font-weight: 800;
}
#mishiland-home .ml-featured-category-cards__heading h2 {
  margin: 4px 0 0;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
}
#mishiland-home .ml-featured-category-cards__grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 0 2px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
#mishiland-home .ml-featured-category-cards__grid::-webkit-scrollbar { display: none; }
#mishiland-home .ml-featured-category-card {
  position: relative;
  flex: 0 0 min(44vw, 360px);
  min-height: 210px;
  overflow: hidden;
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 12px 28px rgba(18,24,33,.12);
  isolation: isolate;
  scroll-snap-align: start;
}
#mishiland-home .ml-featured-category-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
#mishiland-home .ml-featured-category-card:hover img { transform: scale(1.035); }
#mishiland-home .ml-featured-category-card__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(12,13,15,.88), rgba(12,13,15,.02) 72%);
}
#mishiland-home .ml-featured-category-card__content {
  position: absolute;
  right: 16px;
  bottom: 15px;
  left: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
#mishiland-home .ml-featured-category-card__content small { font-size: 10px; opacity: .78; }
#mishiland-home .ml-featured-category-card__content strong { font-size: 17px; font-weight: 900; }
#mishiland-home .ml-featured-category-card__content > span {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 800;
}

@media (min-width: 768px) {
  #mishiland-home .ml-promo-banners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 28px 48px 6px;
  }
  #mishiland-home .ml-promo-banner { min-height: 280px; }
  #mishiland-home .ml-featured-category-cards { padding: 34px 48px 6px; }
  #mishiland-home .ml-featured-category-cards__grid {
    gap: 18px;
  }
  #mishiland-home .ml-featured-category-card {
    flex-basis: calc((100% - 54px) / 3.2);
    min-height: 300px;
  }
  #mishiland-home .ml-featured-category-card__content { right: 20px; bottom: 20px; left: 20px; }
  #mishiland-home .ml-featured-category-card__content strong { font-size: 21px; }
  #mishiland-home .ml-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    overflow: visible;
  }
  #mishiland-home .ml-categories-grid .ml-cat-chip {
    width: auto;
    padding: 14px 8px;
    border: 1px solid #eceef1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(25,32,44,.06);
    transition: transform .2s ease, box-shadow .2s ease;
  }
  #mishiland-home .ml-categories-grid .ml-cat-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(25,32,44,.11);
  }
  #mishiland-home .ml-categories-grid .ml-cat-chip__img-wrap {
    width: 92px;
    height: 92px;
    margin-inline: auto;
  }
  #mishiland-home .ml-categories-grid .ml-cat-chip__name {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 800;
  }
}

@media (max-width: 767px) {
  #mishiland-home .ml-promo-banner { min-height: 205px; }
  #mishiland-home .ml-promo-banner__content { width: 51%; }
  #mishiland-home .ml-promo-banner__content strong { font-size: 19px; line-height: 1.55; }
  #mishiland-home .ml-promo-banner__content > span:last-child { padding: 7px 10px; font-size: 10.5px; }
  #mishiland-home .ml-section__all-link { display: none; }
  #mishiland-home .ml-featured-category-cards {
    padding-top: 28px;
    padding-left: 0;
    padding-right: 0;
  }
  #mishiland-home .ml-featured-category-cards__heading {
    padding-inline: 16px;
    margin-bottom: 12px;
  }
  #mishiland-home .ml-featured-category-cards__grid {
    gap: 12px;
    padding: 0 16px 14px;
  }
  #mishiland-home .ml-featured-category-card {
    flex: 0 0 min(78vw, 310px);
    min-height: 220px;
    scroll-snap-align: start;
  }
  #mishiland-home .ml-featured-category-card__content {
    right: 18px;
    bottom: 17px;
    left: 18px;
  }
  #mishiland-home .ml-featured-category-card__content strong { font-size: 20px; }
  #mishiland-home .ml-featured-category-card__content > span { font-size: 11px; }
}

/* ---------- Hero ---------- */
#mishiland-home .ml-hero {
  position: relative;
  background: linear-gradient(160deg, var(--ml-ink-900), #1f2733 70%);
  color: #fff;
  border-radius: 0 0 28px 28px;
  padding: 40px 20px 56px;
  overflow: hidden;
}
#mishiland-home .ml-hero__glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(193, 116, 60, 0.55), transparent 70%);
  filter: blur(10px);
}
#mishiland-home .ml-hero__content { position: relative; z-index: 1; max-width: 420px; }
#mishiland-home .ml-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  color: var(--ml-saffron-400);
  background: rgba(232, 179, 77, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
#mishiland-home .ml-hero__title {
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 10px;
}
#mishiland-home .ml-hero__desc {
  font-size: 14px;
  color: #cfd3da;
  margin: 0 0 20px;
}
#mishiland-home .ml-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#mishiland-home .ml-btn--primary {
  background: var(--ml-copper-500);
  color: #fff;
  box-shadow: 0 10px 20px rgba(193, 116, 60, 0.35);
}
#mishiland-home .ml-btn--primary:hover { transform: translateY(-2px); }

/* ---------- Sections ---------- */
#mishiland-home .ml-section { padding: 28px 16px 4px; }
#mishiland-home .ml-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
#mishiland-home .ml-section__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 14px;
}
#mishiland-home .ml-section__head .ml-section__title { margin-bottom: 0; }
#mishiland-home .ml-section__more {
  font-size: 12px;
  color: var(--ml-copper-600);
  text-decoration: none;
}

/* ---------- Horizontal scroll ---------- */
#mishiland-home .ml-scroll-x {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
#mishiland-home .ml-scroll-x::-webkit-scrollbar { display: none; }

/* ---------- Category chips ---------- */
#mishiland-home .ml-cat-chip {
  flex: 0 0 auto;
  width: 78px;
  text-align: center;
  text-decoration: none;
  color: var(--ml-ink-900);
  scroll-snap-align: start;
}
#mishiland-home .ml-cat-chip__img-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ml-white);
  border: 1px solid var(--ml-line);
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#mishiland-home .ml-cat-chip__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
#mishiland-home .ml-cat-chip__name {
  font-size: 11.5px;
  display: block;
  line-height: 1.3;
}

/* ---------- Product cards ---------- */
#mishiland-home .ml-scroll-x--cards .ml-card { flex: 0 0 auto; width: 160px; scroll-snap-align: start; }

#mishiland-home .ml-card {
  background: var(--ml-white);
  border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius-md);
  overflow: hidden;
  box-shadow: var(--ml-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#mishiland-home .ml-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20,24,31,0.12); }

#mishiland-home .ml-card__media { position: relative; display: block; background: #fbfaf7; aspect-ratio: 1/1; }
#mishiland-home .ml-card__img { width: 100%; height: 100%; object-fit: cover; }

#mishiland-home .ml-badge {
  position: absolute;
  top: 8px;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
}
#mishiland-home .ml-badge--sale { right: 8px; background: var(--ml-copper-500); }
#mishiland-home .ml-badge--oos { left: 8px; background: #7a7f88; }

#mishiland-home .ml-card__body { padding: 10px 12px 12px; }
#mishiland-home .ml-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ml-ink-900);
  text-decoration: none;
  min-height: 32px;
  margin-bottom: 8px;
}
#mishiland-home .ml-card__prices { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
#mishiland-home .ml-price--old { font-size: 11px; color: #9aa0a8; text-decoration: line-through; }
#mishiland-home .ml-price--now { font-size: 13.5px; font-weight: 700; color: var(--ml-copper-600); }
#mishiland-home .ml-price--now .woocommerce-Price-currencySymbol,
#mishiland-home .ml-price--old .woocommerce-Price-currencySymbol { font-size: 10px; }

#mishiland-home .ml-card__footer { display: flex; align-items: center; justify-content: space-between; }
#mishiland-home .ml-stock { font-size: 10.5px; color: #7a7f88; }
#mishiland-home .ml-stock--in { color: #3a8a5f; }
#mishiland-home .ml-stock--out { color: #b23b3b; }

#mishiland-home .ml-add-btn,
#mishiland-home a.ml-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ml-copper-500);
  color: #fff !important;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease;
}
#mishiland-home .ml-add-btn:hover { transform: scale(1.08); }
#mishiland-home .ml-add-btn.loading { opacity: 0.6; }
#mishiland-home .ml-add-btn.added::after { content: "✓"; }

/* ---------- Deals / countdown ---------- */
#mishiland-home .ml-section--deals { background: var(--ml-ink-900); border-radius: var(--ml-radius-lg); margin: 28px 16px 0; padding: 20px 16px; color: #fff; }
#mishiland-home .ml-section--deals .ml-section__title { color: #fff; }
#mishiland-home .ml-countdown {
  font-family: monospace, "Vazirmatn";
  font-size: 13px;
  background: rgba(255,255,255,0.08);
  padding: 6px 10px;
  border-radius: 8px;
  letter-spacing: 1px;
}
#mishiland-home .ml-section--deals .ml-card { background: #1c222c; border-color: #2b323d; }
#mishiland-home .ml-section--deals .ml-card__title { color: #fff; }
#mishiland-home .ml-section--deals .ml-card__media { background: #232a35; }

/* ---------- Grid (new products) ---------- */
#mishiland-home .ml-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* ---------- Trust badges ---------- */
#mishiland-home .ml-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}
#mishiland-home .ml-trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ml-white);
  border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius-md);
  padding: 12px;
  font-size: 12px;
}
#mishiland-home .ml-trust__icon { color: var(--ml-copper-500); width: 22px; height: 22px; flex: 0 0 auto; }
#mishiland-home .ml-trust__icon svg { width: 100%; height: 100%; }

/* =========================================================
   Bottom Navigation — site-wide, kept outside #mishiland-home
   ========================================================= */
body.ml-has-bottom-nav { padding-bottom: 64px; }

.ml-bottom-nav {
  direction: rtl;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 9999;
  display: none;
  background: #ffffff;
  border-top: 1px solid #e7e1d6;
  box-shadow: 0 -6px 20px rgba(20,24,31,0.06);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
body.ml-has-bottom-nav .ml-bottom-nav { display: flex; }

.ml-bottom-nav__item {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: #7a7f88;
  font-size: 10.5px;
}
.ml-bottom-nav__item svg { width: 22px; height: 22px; }
.ml-bottom-nav__item.is-active { color: #c1743c; }
.ml-bottom-nav__item--cart .ml-cart-count {
  position: absolute;
  top: -4px;
  left: calc(50% - 2px);
  background: #c1743c;
  color: #fff;
  font-size: 9.5px;
  min-width: 15px;
  height: 15px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* Desktop: hide app bottom-nav, show wider grids */
@media (min-width: 992px) {
  .ml-bottom-nav { display: none !important; }
  body.ml-has-bottom-nav { padding-bottom: 0; }

  #mishiland-home .ml-hero { padding: 64px 48px; border-radius: 0 0 32px 32px; }
  #mishiland-home .ml-hero__title { font-size: 40px; }
  #mishiland-home .ml-section { padding: 40px 48px 8px; max-width: 1280px; margin: 0 auto; }
  #mishiland-home .ml-section--deals { margin: 32px auto 0; max-width: 1280px; padding: 28px 32px; }
  #mishiland-home .ml-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; }
  #mishiland-home .ml-trust { grid-template-columns: repeat(4, 1fr); }
  #mishiland-home .ml-scroll-x--cards .ml-card { width: 200px; }
}

@media (min-width: 576px) and (max-width: 991px) {
  #mishiland-home .ml-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  #mishiland-home .ml-card,
  #mishiland-home .ml-btn--primary { transition: none; }
}


/* ===== v1.2: hero with real WooCommerce product images ===== */
#mishiland-home .ml-hero {
  min-height: 300px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#mishiland-home .ml-hero__content {
  position: relative;
  z-index: 4;
  width: 58%;
}
#mishiland-home .ml-hero__products {
  position: absolute;
  left: 12px;
  top: 16px;
  bottom: 10px;
  width: 44%;
  z-index: 3;
  pointer-events: auto;
}
#mishiland-home .ml-hero-product {
  position: absolute;
  display: block;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 22px;
  box-shadow: 0 18px 35px rgba(0,0,0,.18);
  overflow: hidden;
}
#mishiland-home .ml-hero-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 9px;
}
#mishiland-home .ml-hero-product--1 {
  width: 118px; height: 146px; left: 6px; bottom: 10px; z-index: 3; transform: rotate(-2deg);
}
#mishiland-home .ml-hero-product--2 {
  width: 92px; height: 112px; right: 0; top: 6px; z-index: 2; transform: rotate(4deg);
}
#mishiland-home .ml-hero-product--3 {
  width: 78px; height: 96px; right: 18px; bottom: 6px; z-index: 1; transform: rotate(2deg);
}

/* ===== v1.2: category images ===== */
#mishiland-home .ml-cat-chip__img-wrap {
  overflow: hidden;
}
#mishiland-home .ml-cat-chip__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  background: #fff;
}

/* ===== v1.2: compact horizontal product rails ===== */
#mishiland-home .ml-scroll-x--cards {
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}
#mishiland-home .ml-scroll-x--cards .ml-card {
  scroll-snap-align: start;
}
#mishiland-home .ml-scroll-x--compact {
  padding-bottom: 14px;
}
#mishiland-home .ml-scroll-x--compact .ml-card {
  width: 145px;
  min-width: 145px;
}
#mishiland-home .ml-scroll-x--compact .ml-card__media {
  height: 118px;
}
#mishiland-home .ml-scroll-x--compact .ml-card__body {
  padding: 9px;
}
#mishiland-home .ml-scroll-x--compact .ml-card__title {
  font-size: 11px;
  min-height: 38px;
  line-height: 1.65;
}
#mishiland-home .ml-scroll-x--compact .ml-price {
  font-size: 10.5px;
}
#mishiland-home .ml-scroll-x--compact .ml-add-btn,
#mishiland-home .ml-scroll-x--compact a.ml-add-btn {
  width: 28px;
  height: 28px;
  font-size: 17px;
}

/* ناموجود در ریل‌های صفحه اصلی عمداً نمایش داده نمی‌شود؛
   کوئری‌های این صفحه فقط محصولات instock را برمی‌گردانند. */

@media (max-width: 480px) {
  #mishiland-home .ml-hero {
    min-height: 285px;
    padding-left: 12px;
  }
  #mishiland-home .ml-hero__content {
    width: 61%;
  }
  #mishiland-home .ml-hero__title {
    font-size: 25px;
  }
  #mishiland-home .ml-hero__desc {
    font-size: 11px;
    max-width: 190px;
  }
  #mishiland-home .ml-hero__products {
    left: 5px;
    width: 43%;
  }
  #mishiland-home .ml-hero-product--1 {
    width: 104px; height: 132px;
  }
  #mishiland-home .ml-hero-product--2 {
    width: 76px; height: 96px;
  }
  #mishiland-home .ml-hero-product--3 {
    width: 68px; height: 82px;
  }

  /* کارت‌های ریل جدیدترین‌ها: حدود 2.3 کارت در عرض صفحه */
  #mishiland-home .ml-scroll-x--compact .ml-card {
    width: 142px;
    min-width: 142px;
  }
}

@media (min-width: 768px) {
  #mishiland-home .ml-hero__products {
    width: 42%;
    left: 40px;
  }
  #mishiland-home .ml-hero-product--1 {
    width: 190px; height: 230px; left: 30px;
  }
  #mishiland-home .ml-hero-product--2 {
    width: 142px; height: 170px; right: 14px;
  }
  #mishiland-home .ml-hero-product--3 {
    width: 118px; height: 142px; right: 70px;
  }

  /* حتی روی لپ‌تاپ هم جدیدترین‌ها افقی باقی می‌مانند */
  #mishiland-home .ml-scroll-x--compact .ml-card {
    width: 172px;
    min-width: 172px;
  }
  #mishiland-home .ml-scroll-x--compact .ml-card__media {
    height: 145px;
  }
}

@media (min-width: 1200px) {
  #mishiland-home .ml-scroll-x--compact .ml-card {
    width: 185px;
    min-width: 185px;
  }
}


/* ===== v1.3: two-row synchronized horizontal product rail ===== */
#mishiland-home .ml-section--available {
  margin-top: 30px;
}
#mishiland-home .ml-section__sub {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: #8a909a;
  font-weight: 600;
}
#mishiland-home .ml-double-row-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 14px 10px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
}
#mishiland-home .ml-double-row-scroll::-webkit-scrollbar {
  display: none;
}
#mishiland-home .ml-double-row-track {
  display: flex;
  gap: 8px;
  width: max-content;
  direction: rtl;
}
#mishiland-home .ml-double-row-column {
  flex: 0 0 144px;
  width: 144px;
  display: grid;
  grid-template-rows: repeat(2, auto);
  gap: 8px;
  scroll-snap-align: start;
}
#mishiland-home .ml-double-row-column .ml-card {
  width: 144px;
  min-width: 144px;
  margin: 0;
}
#mishiland-home .ml-double-row-column .ml-card__media {
  height: 108px;
}
#mishiland-home .ml-double-row-column .ml-card__body {
  padding: 8px;
}
#mishiland-home .ml-double-row-column .ml-card__title {
  font-size: 10.5px;
  line-height: 1.55;
  min-height: 34px;
  max-height: 34px;
  overflow: hidden;
}
#mishiland-home .ml-double-row-column .ml-price {
  font-size: 10px;
}
#mishiland-home .ml-double-row-column .ml-stock {
  font-size: 8.5px;
}
#mishiland-home .ml-double-row-column .ml-add-btn,
#mishiland-home .ml-double-row-column a.ml-add-btn {
  width: 27px;
  height: 27px;
  font-size: 17px;
}

@media (max-width: 480px) {
  #mishiland-home .ml-double-row-column {
    flex-basis: 140px;
    width: 140px;
  }
  #mishiland-home .ml-double-row-column .ml-card {
    width: 140px;
    min-width: 140px;
  }
  #mishiland-home .ml-double-row-column .ml-card__media {
    height: 104px;
  }
}

@media (min-width: 768px) {
  #mishiland-home .ml-double-row-scroll {
    padding-left: 34px;
    padding-right: 34px;
  }
  #mishiland-home .ml-double-row-track {
    gap: 10px;
  }
  #mishiland-home .ml-double-row-column {
    flex-basis: 170px;
    width: 170px;
    gap: 10px;
  }
  #mishiland-home .ml-double-row-column .ml-card {
    width: 170px;
    min-width: 170px;
  }
  #mishiland-home .ml-double-row-column .ml-card__media {
    height: 132px;
  }
}

@media (min-width: 1200px) {
  #mishiland-home .ml-double-row-column {
    flex-basis: 182px;
    width: 182px;
  }
  #mishiland-home .ml-double-row-column .ml-card {
    width: 182px;
    min-width: 182px;
  }
}


/* =========================================================
   v1.4 — MISHILAND BRAND PALETTE
   حذف رنگ‌های صورتی/قرمز رابط WoodMart و هماهنگ‌سازی با برند
   ========================================================= */

/* رنگ‌های اصلی WoodMart */
:root,
html,
body {
  --wd-primary-color: #C7773A !important;
  --wd-alternative-color: #E2B04A !important;
  --wd-link-color: #A95F2F !important;
  --wd-link-color-hover: #C7773A !important;

  --btn-accented-bgcolor: #C7773A !important;
  --btn-accented-bgcolor-hover: #A95F2F !important;
  --btn-accented-color: #FFFFFF !important;
  --btn-accented-color-hover: #FFFFFF !important;

  --btn-default-bgcolor: #111827 !important;
  --btn-default-bgcolor-hover: #1F2937 !important;

  --ml-brand-bronze: #C7773A;
  --ml-brand-bronze-dark: #A95F2F;
  --ml-brand-gold: #E2B04A;
  --ml-brand-ink: #111827;
  --ml-brand-paper: #F7F4EF;
}

/* دکمه‌های اصلی ووکامرس/وودمارت */
body .button,
body button.button,
body input.button,
body .btn.btn-color-primary,
body .wd-button-wrapper .btn-color-primary,
body .single_add_to_cart_button,
body .checkout-button,
body #place_order,
body .woocommerce-mini-cart__buttons .checkout,
body .cart-actions .button[name="update_cart"] {
  background-color: var(--ml-brand-bronze) !important;
  border-color: var(--ml-brand-bronze) !important;
  color: #fff !important;
}

body .button:hover,
body button.button:hover,
body input.button:hover,
body .btn.btn-color-primary:hover,
body .wd-button-wrapper .btn-color-primary:hover,
body .single_add_to_cart_button:hover,
body .checkout-button:hover,
body #place_order:hover,
body .woocommerce-mini-cart__buttons .checkout:hover {
  background-color: var(--ml-brand-bronze-dark) !important;
  border-color: var(--ml-brand-bronze-dark) !important;
  color: #fff !important;
}

/* Badge تخفیف/فروش */
body .product-label.onsale,
body .onsale,
body .wd-product .product-label.onsale {
  background-color: var(--ml-brand-gold) !important;
  color: var(--ml-brand-ink) !important;
}

/* قیمت حراجی و لینک‌های تأکیدی */
body .price ins,
body .amount,
body .wd-entities-title a:hover,
body .woocommerce-MyAccount-navigation-link.is-active > a,
body .wd-nav[class*="wd-style-underline"] > li:is(.current-menu-item,.wd-active,.active) > a {
  color: var(--ml-brand-bronze-dark);
}

/* آیکن‌ها و شمارنده‌های هدر */
body .wd-header-cart .wd-tools-count,
body .wd-header-wishlist .wd-tools-count,
body .wd-header-compare .wd-tools-count,
body .shopping-cart-widget-footer .woocommerce-mini-cart__total strong {
  background-color: var(--ml-brand-bronze) !important;
  color: #fff !important;
}

/* منوی فعال / المان‌های نارنجی */
body .wd-nav-main > li:is(.current-menu-item,.wd-active,.active) > a,
body .wd-nav-main > li > a:hover,
body .wd-header-nav .wd-nav > li > a:hover,
body .wd-dropdown-menu li > a:hover,
body .wd-dropdown-menu li.current-menu-item > a {
  color: var(--ml-brand-bronze) !important;
}

/* فرم جستجو و فوکوس */
body input:focus,
body textarea:focus,
body select:focus {
  border-color: rgba(199,119,58,.65) !important;
}

/* لینک‌ها/آیکن‌هایی که از primary color وودمارت استفاده می‌کنند */
body .wd-action-btn > a:hover,
body .wd-tools-element:hover > a,
body .star-rating span:before {
  color: var(--ml-brand-bronze) !important;
}

/* رنگ‌بندی اختصاصی صفحه اصلی */
#mishiland-home {
  --ml-copper-500: #C7773A;
  --ml-copper-600: #A95F2F;
  --ml-saffron-400: #E2B04A;
  --ml-ink-900: #111827;
  --ml-paper: #F7F4EF;
}

#mishiland-home .ml-btn--primary,
#mishiland-home .ml-add-btn,
#mishiland-home a.ml-add-btn,
#mishiland-home .ml-bottom-nav__badge {
  background: var(--ml-brand-bronze) !important;
  color: #fff !important;
}

#mishiland-home .ml-btn--primary:hover,
#mishiland-home .ml-add-btn:hover,
#mishiland-home a.ml-add-btn:hover {
  background: var(--ml-brand-bronze-dark) !important;
}

#mishiland-home .ml-badge,
#mishiland-home .ml-badge--sale {
  background: var(--ml-brand-gold) !important;
  color: var(--ml-brand-ink) !important;
}

/* جلوگیری از صورتی‌های باقی‌مانده در عناصر عمومی WoodMart */
body .bgcolor-primary,
body .color-scheme-light .bgcolor-primary,
body .wd-fill,
body .wd-progress-bar .progress-area {
  background-color: var(--ml-brand-bronze) !important;
}

/* اعلان‌ها را خوانا نگه می‌داریم و فقط رنگ برند می‌دهیم */
body .woocommerce-message,
body .woocommerce-info {
  border-color: var(--ml-brand-bronze) !important;
}


/* =========================================================
   v1.5 — SINGLE PRODUCT REDESIGN (WoodMart + WooCommerce)
   فقط ظاهر صفحه تک محصول؛ منطق ووکامرس دست‌نخورده می‌ماند.
   ========================================================= */

body.single-product {
  background: #F7F4EF;
}

/* فضای کلی صفحه */
body.single-product .site-content,
body.single-product .main-page-wrapper {
  background: #F7F4EF;
}

body.single-product .product-image-summary-wrap,
body.single-product .single-product-content {
  max-width: 1320px;
  margin-inline: auto;
}

/* باکس اصلی محصول */
body.single-product div.product {
  background: #fff;
  border: 1px solid #E7E2DA;
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 14px 40px rgba(17,24,39,.06);
}

/* گالری */
body.single-product .woocommerce-product-gallery,
body.single-product .product-images {
  border-radius: 22px;
  overflow: hidden;
  background: #FBFAF8;
}

body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .product-image-wrap {
  background: #FBFAF8;
}

body.single-product .woocommerce-product-gallery img,
body.single-product .product-image-wrap img {
  object-fit: contain;
}

/* خلاصه محصول */
body.single-product .summary.entry-summary,
body.single-product .product-summary-shadow {
  background: #fff;
}

body.single-product .product_title,
body.single-product h1.product_title {
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.65;
  font-weight: 900;
  color: #111827;
  margin-bottom: 14px;
}

/* متا و امتیاز */
body.single-product .product_meta,
body.single-product .woocommerce-product-rating {
  color: #7B818C;
  font-size: 12px;
}

body.single-product .star-rating span:before {
  color: #E2B04A !important;
}

/* قیمت */
body.single-product div.product p.price,
body.single-product div.product span.price {
  font-size: 24px;
  font-weight: 900;
  color: #A95F2F;
}

body.single-product div.product p.price del,
body.single-product div.product span.price del {
  color: #9CA3AF;
  font-size: 14px;
  font-weight: 600;
}

body.single-product div.product p.price ins,
body.single-product div.product span.price ins {
  color: #A95F2F;
  text-decoration: none;
}

/* موجودی */
body.single-product .stock.in-stock {
  color: #1F8A4C !important;
  background: #EDF9F1;
  border: 1px solid #CFEED9;
  border-radius: 999px;
  display: inline-flex;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
}

body.single-product .stock.out-of-stock {
  color: #8A3F31 !important;
  background: #FFF2EE;
  border: 1px solid #F4D4CA;
  border-radius: 999px;
  display: inline-flex;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
}

/* فرم افزودن به سبد */
body.single-product form.cart {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

body.single-product .quantity {
  border: 1px solid #E2DED7;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

body.single-product .quantity input.qty {
  min-height: 50px;
  font-weight: 800;
}

body.single-product .single_add_to_cart_button {
  min-height: 52px;
  border-radius: 14px !important;
  padding-inline: 26px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  background: #C7773A !important;
  box-shadow: 0 10px 24px rgba(199,119,58,.22);
}

body.single-product .single_add_to_cart_button:hover {
  background: #A95F2F !important;
  transform: translateY(-1px);
}

/* علاقه‌مندی / مقایسه */
body.single-product .wd-action-btn > a,
body.single-product .compare.button,
body.single-product .wd-wishlist-btn a {
  border: 1px solid #E4DFD8;
  border-radius: 12px;
  background: #fff;
  padding: 9px 12px;
}

/* مزایای کنار محصول */
body.single-product .wd-product-brands,
body.single-product .wd-product-info,
body.single-product .product-additional-galleries {
  border-radius: 16px;
}

/* تب‌های توضیحات */
body.single-product .woocommerce-tabs,
body.single-product .wd-tabs {
  margin-top: 28px;
  background: #fff;
  border: 1px solid #E7E2DA;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(17,24,39,.04);
}

body.single-product .woocommerce-tabs ul.tabs,
body.single-product .wd-tabs-header {
  border-bottom: 1px solid #ECE7DF;
  gap: 8px;
}

body.single-product .woocommerce-tabs ul.tabs li a,
body.single-product .wd-nav-tabs > li > a {
  font-weight: 800;
  color: #4B5563;
}

body.single-product .woocommerce-tabs ul.tabs li.active a,
body.single-product .wd-nav-tabs > li.wd-active > a {
  color: #C7773A !important;
}

/* جدول مشخصات */
body.single-product table.shop_attributes {
  border-radius: 14px;
  overflow: hidden;
}

body.single-product table.shop_attributes th {
  background: #FAF7F2;
  font-weight: 800;
}

/* محصولات مرتبط */
body.single-product .related.products,
body.single-product .upsells.products {
  margin-top: 34px;
}

body.single-product .related.products > h2,
body.single-product .upsells.products > h2 {
  font-size: 20px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 16px;
}

/* ریل افقی محصولات مرتبط در موبایل/دسکتاپ */
body.single-product .related.products ul.products,
body.single-product .upsells.products ul.products {
  display: flex !important;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

body.single-product .related.products ul.products::-webkit-scrollbar,
body.single-product .upsells.products ul.products::-webkit-scrollbar {
  display: none;
}

body.single-product .related.products ul.products li.product,
body.single-product .upsells.products ul.products li.product {
  flex: 0 0 170px !important;
  width: 170px !important;
  min-width: 170px !important;
  margin: 0 !important;
  scroll-snap-align: start;
  border: 1px solid #E7E2DA;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

/* موبایل */
@media (max-width: 767px) {
  body.single-product div.product {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 14px;
    box-shadow: none;
  }

  body.single-product .product_title,
  body.single-product h1.product_title {
    font-size: 20px;
    line-height: 1.7;
    margin-top: 8px;
  }

  body.single-product div.product p.price,
  body.single-product div.product span.price {
    font-size: 21px;
  }

  body.single-product form.cart {
    gap: 8px;
  }

  body.single-product .single_add_to_cart_button {
    flex: 1 1 auto;
    min-width: 180px;
  }

  body.single-product .woocommerce-tabs,
  body.single-product .wd-tabs {
    border-radius: 18px;
    padding: 12px;
    margin-inline: 0;
  }

  body.single-product .woocommerce-tabs ul.tabs,
  body.single-product .wd-nav-tabs {
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    gap: 4px;
    scrollbar-width: none;
  }

  body.single-product .related.products ul.products li.product,
  body.single-product .upsells.products ul.products li.product {
    flex-basis: 148px !important;
    width: 148px !important;
    min-width: 148px !important;
  }
}

/* دسکتاپ */
@media (min-width: 992px) {
  body.single-product .product-image-summary-wrap {
    gap: 30px;
  }

  body.single-product .summary.entry-summary {
    padding: 10px 6px;
  }

  body.single-product .related.products ul.products li.product,
  body.single-product .upsells.products ul.products li.product {
    flex-basis: 190px !important;
    width: 190px !important;
    min-width: 190px !important;
  }
}


/* =========================================================
   v1.6 — Footer tone unification + redesigned trust cards
   ========================================================= */

/* --- Trust / benefits section: 5 cards, more attractive --- */
#mishiland-home .ml-trust-section {
  padding-top: 30px;
}
#mishiland-home .ml-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 8px;
}
#mishiland-home .ml-trust__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  background: linear-gradient(180deg, #ffffff, #fbf8f4);
  border: 1px solid #eadfce;
  border-radius: 18px;
  padding: 14px 12px;
  box-shadow: 0 8px 24px rgba(17,24,39,.06);
}
#mishiland-home .ml-trust__item:before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, #E2B04A, #C7773A);
}
#mishiland-home .ml-trust__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: #A95F2F;
  background: linear-gradient(180deg, rgba(226,176,74,.18), rgba(199,119,58,.10));
  border: 1px solid rgba(199,119,58,.14);
}
#mishiland-home .ml-trust__icon svg {
  width: 22px;
  height: 22px;
}
#mishiland-home .ml-trust__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
#mishiland-home .ml-trust__copy strong {
  font-size: 12.5px;
  line-height: 1.5;
  color: #111827;
}
#mishiland-home .ml-trust__copy small {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.6;
  color: #7b818c;
}
#mishiland-home .ml-trust__item--featured {
  background: linear-gradient(180deg, #fffaf2, #fff);
}
#mishiland-home .ml-trust__item--featured .ml-trust__icon {
  background: linear-gradient(180deg, rgba(226,176,74,.25), rgba(199,119,58,.18));
}
@media (max-width: 767px) {
  #mishiland-home .ml-trust__item--featured {
    grid-column: 1 / -1;
  }
}
@media (min-width: 768px) {
  #mishiland-home .ml-trust {
    grid-template-columns: repeat(5, minmax(0,1fr));
  }
  #mishiland-home .ml-trust__item {
    min-height: 108px;
    padding: 16px 14px;
  }
  #mishiland-home .ml-trust__copy strong {
    font-size: 13px;
  }
  #mishiland-home .ml-trust__copy small {
    font-size: 10.5px;
  }
}

/* --- Footer / old white section => unified dark theme --- */
/* Targets WoodMart footer and common footer wrappers globally */
body .main-footer,
body .footer-container,
body .wd-footer,
body footer.site-footer,
body .copyrights-wrapper,
body .wd-prefooter {
  background: #111827 !important;
  color: #d3d9e2 !important;
  border-color: rgba(255,255,255,.08) !important;
}

body .main-footer .widget,
body .footer-container .widget,
body .wd-footer .widget,
body footer.site-footer .widget {
  color: #d3d9e2 !important;
}

body .main-footer h1,
body .main-footer h2,
body .main-footer h3,
body .main-footer h4,
body .main-footer h5,
body .main-footer h6,
body .footer-container h1,
body .footer-container h2,
body .footer-container h3,
body .footer-container h4,
body .footer-container h5,
body .footer-container h6,
body .wd-footer h1,
body .wd-footer h2,
body .wd-footer h3,
body .wd-footer h4,
body .wd-footer h5,
body .wd-footer h6,
body footer.site-footer h1,
body footer.site-footer h2,
body footer.site-footer h3,
body footer.site-footer h4,
body footer.site-footer h5,
body footer.site-footer h6 {
  color: #ffffff !important;
}

body .main-footer p,
body .main-footer li,
body .main-footer span,
body .footer-container p,
body .footer-container li,
body .footer-container span,
body .wd-footer p,
body .wd-footer li,
body .wd-footer span,
body footer.site-footer p,
body footer.site-footer li,
body footer.site-footer span,
body .copyrights-wrapper,
body .copyrights-wrapper p {
  color: #c3cad5 !important;
}

body .main-footer a,
body .footer-container a,
body .wd-footer a,
body footer.site-footer a,
body .copyrights-wrapper a {
  color: #e7ecf3 !important;
}
body .main-footer a:hover,
body .footer-container a:hover,
body .wd-footer a:hover,
body footer.site-footer a:hover,
body .copyrights-wrapper a:hover {
  color: #E2B04A !important;
}

/* footer widgets / icon boxes / logos */
body .main-footer .vc_column_container,
body .footer-container .vc_column_container,
body .wd-footer .vc_column_container {
  border-color: rgba(255,255,255,.08) !important;
}

body .main-footer img,
body .footer-container img,
body .wd-footer img {
  opacity: 1;
}

/* footer form / newsletter */
body .main-footer input[type="email"],
body .main-footer input[type="text"],
body .footer-container input[type="email"],
body .footer-container input[type="text"],
body .wd-footer input[type="email"],
body .wd-footer input[type="text"] {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #fff !important;
}
body .main-footer input::placeholder,
body .footer-container input::placeholder,
body .wd-footer input::placeholder {
  color: #aab3bf !important;
}
body .main-footer button,
body .main-footer .button,
body .footer-container button,
body .footer-container .button,
body .wd-footer button,
body .wd-footer .button {
  background: #C7773A !important;
  color: #fff !important;
  border-color: #C7773A !important;
}
body .main-footer button:hover,
body .main-footer .button:hover,
body .footer-container button:hover,
body .footer-container .button:hover,
body .wd-footer button:hover,
body .wd-footer .button:hover {
  background: #A95F2F !important;
  border-color: #A95F2F !important;
}

/* footer spacing refinement */
body .main-footer .widget,
body .footer-container .widget,
body .wd-footer .widget {
  margin-bottom: 18px;
}
body .copyrights-wrapper {
  border-top: 1px solid rgba(255,255,255,.08) !important;
}

/* bottom nav should also feel cohesive with footer */
.ml-bottom-nav {
  background: #111827 !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
}
.ml-bottom-nav__item {
  color: #b6bfcb !important;
}
.ml-bottom-nav__item.is-active,
.ml-bottom-nav__item[aria-current="page"] {
  color: #E2B04A !important;
}

/* ===== MishiLand SEO Magazine v1.9.0 ===== */
.ml-home-magazine{padding:18px 0 8px;direction:rtl}.ml-home-magazine .ml-section-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:0 0 14px}.ml-section-kicker{display:block;color:#9a642f;font-size:12px;font-weight:800;margin-bottom:3px}.ml-home-magazine h2{margin:0;font-size:22px}.ml-section-link{font-size:13px;font-weight:800;color:#9a642f}.ml-home-magazine__rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ml-home-magazine__card{display:grid;grid-template-columns:120px 1fr;background:#fff;border:1px solid #ece7df;border-radius:18px;overflow:hidden;min-height:130px;color:#1f2937;box-shadow:0 5px 18px rgba(17,24,39,.05)}.ml-home-magazine__thumb{background:linear-gradient(145deg,#faf5ee,#f0e5d5);display:flex;align-items:center;justify-content:center;color:#a66731;font-weight:900;text-align:center}.ml-home-magazine__thumb img{width:100%;height:100%;object-fit:cover}.ml-home-magazine__text{padding:14px;display:flex;flex-direction:column;justify-content:center;gap:7px}.ml-home-magazine__text small{color:#a66731;font-weight:800}.ml-home-magazine__text strong{font-size:15px;line-height:1.8}.ml-home-magazine__text em{font-style:normal;font-size:12px;color:#687386;font-weight:700}
.ml-mag-page,.ml-guide-page{direction:rtl;max-width:1180px;margin:0 auto;padding:36px 18px 70px;font-family:Vazirmatn,inherit}.ml-mag-head{background:linear-gradient(135deg,#17191d,#2b2d31);border-radius:24px;padding:34px;color:#fff;margin-bottom:18px}.ml-mag-head span{color:#e2b04a;font-weight:800;font-size:13px}.ml-mag-head h1{color:#fff;margin:7px 0 10px;font-size:34px}.ml-mag-head p{color:#d8dde5;max-width:760px;margin:0;line-height:2}.ml-mag-topics{display:flex;gap:8px;overflow:auto;padding:5px 1px 18px;scrollbar-width:none}.ml-mag-topics a{white-space:nowrap;background:#fff;border:1px solid #e7e1d8;border-radius:999px;padding:8px 13px;color:#374151;font-size:13px;font-weight:700}.ml-mag-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ml-mag-card{background:#fff;border:1px solid #ece7df;border-radius:20px;overflow:hidden;box-shadow:0 7px 24px rgba(17,24,39,.05)}.ml-mag-card__media{height:190px;background:linear-gradient(145deg,#faf5ee,#efe4d3);display:flex;align-items:center;justify-content:center}.ml-mag-card__media img{width:100%;height:100%;object-fit:cover}.ml-mag-card__placeholder{color:#a66731;font-weight:900;font-size:20px}.ml-mag-card__body{padding:18px}.ml-mag-card__body>span{font-size:12px;color:#a66731;font-weight:800}.ml-mag-card h2{font-size:18px;line-height:1.8;margin:6px 0}.ml-mag-card h2 a{color:#1d2530}.ml-mag-card p{font-size:13px;color:#687386;line-height:2;margin:0 0 12px}.ml-mag-card__more{font-size:13px;font-weight:900;color:#a66731}
.ml-guide-breadcrumb{font-size:12px;color:#7b8491;display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}.ml-guide-breadcrumb a{color:#76522f}.ml-guide-article{background:#fff;border:1px solid #ece7df;border-radius:24px;padding:30px;box-shadow:0 8px 28px rgba(17,24,39,.05)}.ml-guide-hero__meta{color:#a66731;font-weight:800;font-size:13px}.ml-guide-hero h1{font-size:34px;line-height:1.55;margin:7px 0 8px}.ml-guide-hero>p{font-size:16px;color:#667085;line-height:2;max-width:820px}.ml-guide-hero__image{margin:20px 0;border-radius:18px;overflow:hidden;max-height:500px}.ml-guide-hero__image img{width:100%;height:100%;object-fit:cover}.ml-guide-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:28px;align-items:start}.ml-guide-content{font-size:16px;line-height:2.15;color:#303946}.ml-guide-content h2{font-size:23px;margin:30px 0 8px;color:#171d25}.ml-guide-content h3{font-size:19px;margin:24px 0 7px}.ml-guide-content p{margin:0 0 16px}.ml-guide-side{position:sticky;top:105px;background:#fbf7f0;border:1px solid #eadbc6;border-radius:18px;padding:17px}.ml-guide-side strong{display:block;font-size:16px}.ml-guide-side p{font-size:13px;line-height:2;color:#6b7280}.ml-guide-side a{display:block;text-align:center;background:#a66731;color:#fff;border-radius:12px;padding:10px;font-weight:800}.ml-guide-products{margin-top:34px;border-top:1px solid #eee7de;padding-top:24px}.ml-guide-products__head{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-bottom:14px}.ml-guide-products__head span{color:#a66731;font-size:12px;font-weight:800}.ml-guide-products__head h2{font-size:22px;margin:3px 0}.ml-guide-products__head>a{font-size:13px;font-weight:800;color:#a66731}.ml-guide-products__rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ml-guide-product{border:1px solid #ece7df;border-radius:16px;padding:11px;color:#26303d;display:flex;flex-direction:column;gap:8px}.ml-guide-product__img{aspect-ratio:1;background:#fafafa;border-radius:12px;overflow:hidden}.ml-guide-product__img img{width:100%;height:100%;object-fit:contain}.ml-guide-product strong{font-size:13px;line-height:1.8;min-height:46px}.ml-guide-product__price{font-weight:900;color:#202938}.ml-guide-product__cta{font-size:12px;color:#a66731;font-weight:800}.ml-product-guide{margin:20px 0;border:1px solid #e8dac5;border-radius:17px;background:#fffaf3;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:14px;direction:rtl}.ml-product-guide div span{display:block;font-size:11px;color:#a66731;font-weight:800}.ml-product-guide strong{display:block;margin-top:3px;font-size:15px}.ml-product-guide>a{white-space:nowrap;background:#a66731;color:#fff;border-radius:11px;padding:9px 12px;font-size:12px;font-weight:800}
@media(max-width:900px){.ml-home-magazine__rail,.ml-mag-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ml-guide-layout{grid-template-columns:1fr}.ml-guide-side{position:static}.ml-guide-products__rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.ml-guide-product{min-width:185px;scroll-snap-align:start}.ml-guide-article{padding:22px}.ml-guide-hero h1{font-size:28px}}
@media(max-width:600px){.ml-home-magazine{padding-inline:12px}.ml-home-magazine__rail{display:flex;overflow-x:auto;gap:10px;scroll-snap-type:x mandatory;padding-bottom:5px}.ml-home-magazine__card{min-width:285px;grid-template-columns:96px 1fr;scroll-snap-align:start}.ml-mag-page,.ml-guide-page{padding:18px 10px 80px}.ml-mag-head{padding:24px 20px;border-radius:18px}.ml-mag-head h1{font-size:27px}.ml-mag-grid{grid-template-columns:1fr}.ml-guide-article{padding:18px;border-radius:18px}.ml-guide-hero h1{font-size:25px}.ml-guide-content{font-size:15px}.ml-guide-products__head{align-items:start}.ml-product-guide{align-items:flex-start;flex-direction:column}.ml-product-guide>a{width:100%;text-align:center}}


/* ===== MishiLand SEO Magazine v1.9.1 Mobile Width Hotfix ===== */
.ml-mag-page,.ml-guide-page,
.ml-mag-page *,.ml-guide-page *{box-sizing:border-box}
.ml-mag-page,.ml-guide-page{
  width:100%!important;
  max-width:1180px!important;
  float:none!important;
  clear:both!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.ml-guide-article,.ml-guide-hero,.ml-guide-layout,.ml-guide-content,.ml-guide-products{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  float:none!important;
  clear:both!important;
}
.ml-guide-content.entry-content{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
.ml-guide-content.entry-content>*,
.ml-guide-content.entry-content p,
.ml-guide-content.entry-content h2,
.ml-guide-content.entry-content h3,
.ml-guide-content.entry-content ul,
.ml-guide-content.entry-content ol{
  max-width:100%!important;
}
@media(max-width:900px){
  .ml-guide-layout{display:block!important}
  .ml-guide-side{width:100%!important;max-width:none!important;margin:22px 0 0!important}
}
@media(max-width:600px){
  .ml-guide-page{padding:14px 12px 86px!important;overflow-x:hidden!important}
  .ml-guide-breadcrumb{width:100%!important;margin:0 0 12px!important;overflow:hidden!important}
  .ml-guide-article{width:100%!important;padding:18px 16px!important;margin:0!important;border-radius:18px!important}
  .ml-guide-hero h1{font-size:25px!important;line-height:1.65!important;word-break:normal!important;overflow-wrap:break-word!important}
  .ml-guide-hero>p,.ml-guide-content{font-size:15px!important;line-height:2.05!important}
  .ml-guide-content h2{font-size:21px!important;line-height:1.7!important}
  .ml-guide-content h3{font-size:18px!important;line-height:1.7!important}
  .ml-home-magazine{padding-inline:0!important}
  .ml-home-magazine__rail{display:flex!important;overflow-x:auto!important;gap:10px!important;padding:2px 12px 8px!important;scroll-padding-inline:12px!important;scroll-snap-type:x mandatory!important;-webkit-overflow-scrolling:touch!important}
  .ml-home-magazine__card{flex:0 0 calc(100vw - 42px)!important;min-width:0!important;max-width:360px!important;grid-template-columns:100px minmax(0,1fr)!important;scroll-snap-align:center!important}
}

/* ===== MishiLand SEO Magazine v1.9.2 Universal Guide Layout Fix =====
   Removes dependence on WoodMart's .entry-content layout and forces every
   ml_guide article to use the same full-width mobile layout. */
body.single-ml_guide .ml-guide-page,
body.single-ml_guide .ml-guide-page *{box-sizing:border-box}
body.single-ml_guide .ml-guide-page{
  display:block!important;
  width:100%!important;
  max-width:1180px!important;
  min-width:0!important;
  margin-inline:auto!important;
  float:none!important;
  clear:both!important;
}
body.single-ml_guide .ml-guide-article,
body.single-ml_guide .ml-guide-hero,
body.single-ml_guide .ml-guide-layout,
body.single-ml_guide .ml-guide-content,
body.single-ml_guide .ml-guide-products{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  float:none!important;
  clear:both!important;
}
body.single-ml_guide .ml-guide-content{
  display:block!important;
  padding:0!important;
  column-count:1!important;
  columns:auto!important;
}
body.single-ml_guide .ml-guide-content > *{
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
}
@media (max-width:900px){
  body.single-ml_guide .ml-guide-layout{
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    gap:0!important;
  }
  body.single-ml_guide .ml-guide-content{order:1!important}
  body.single-ml_guide .ml-guide-side{
    order:2!important;
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    margin:22px 0 0!important;
  }
}
@media (max-width:600px){
  body.single-ml_guide .ml-guide-page{
    padding:10px 10px 88px!important;
    overflow-x:clip!important;
  }
  body.single-ml_guide .ml-guide-breadcrumb{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 10px!important;
    padding:0 2px!important;
    overflow:hidden!important;
  }
  body.single-ml_guide .ml-guide-article{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    padding:16px 14px!important;
    margin:0!important;
    border-radius:18px!important;
  }
  body.single-ml_guide .ml-guide-hero h1{
    width:100%!important;
    max-width:100%!important;
    font-size:23px!important;
    line-height:1.7!important;
    margin:8px 0 8px!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
  }
  body.single-ml_guide .ml-guide-hero>p,
  body.single-ml_guide .ml-guide-content{
    width:100%!important;
    max-width:100%!important;
    font-size:15px!important;
    line-height:2.05!important;
    text-align:right!important;
  }
  body.single-ml_guide .ml-guide-content p,
  body.single-ml_guide .ml-guide-content h2,
  body.single-ml_guide .ml-guide-content h3,
  body.single-ml_guide .ml-guide-content ul,
  body.single-ml_guide .ml-guide-content ol{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.single-ml_guide .ml-guide-content h2{font-size:20px!important;line-height:1.75!important}
  body.single-ml_guide .ml-guide-content h3{font-size:18px!important;line-height:1.75!important}
}
