/* محصولات در راه. ردیف‌هایی که direction:ltr دارند ترتیب عکس را از چپ به راست نگه می‌دارند. */
.way-page { padding: 12px 0 28px; }
.way-desk {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 28px;
  font-weight: 900;
  margin: 8px 0 16px;
}
.way-desk .bi { color: var(--brand); }
.way-hero {
  position: relative;
  margin-bottom: 18px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, #f7fbf4 0%, #eaf6e6 100%);
  padding: 22px 28px;
}
.way-hero-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 168px;
}
.way-hero-art {
  flex: 0 0 auto;
  width: min(280px, 38%);
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.way-hero-art picture {
  display: block;
  width: 100%;
  height: 100%;
}
.way-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.way-hero-copy {
  flex: 1 1 0;
  min-width: 0;
  text-align: right;
}
.way-hero-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-weight: 900;
  line-height: 1.55;
  color: #1f6b33;
}
.way-hero-copy p {
  margin: 0 0 14px;
  font-size: 14px;
  color: #5f6a58;
  font-weight: 700;
}
.way-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px;
  padding: 4px 12px;
  border: 0;
  border-radius: 999px;
  background: #2f7a3a;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
}
.way-hero-cta .bi { font-size: 13px; }
.way-hero-cta:hover { background: #276832; color: #fff; }
.way-tools {
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  position: relative;
  z-index: 5;
}
.way-tools h2 { margin: 0; direction: rtl; font-size: 14px; font-weight: 800; text-align: right; }
.way-sort-wrap { position: relative; }
.way-sort {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #5c615b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}
.way-sort-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 6;
  min-width: 148px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(30, 40, 20, .14);
  direction: rtl;
}
.way-sort-menu button {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}
.way-sort-menu button.is-on { background: #eef6ea; color: var(--brand); }
.way-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  direction: rtl;
}
.way-grid .mj-plus-card { min-width: 0; direction: rtl; }
.way-card {
  position: relative;
  direction: rtl;
  background: #fff;
  border: 1px solid #f0f0ec;
  border-radius: 16px;
  padding: 8px 8px 10px;
  text-align: center;
}
.way-shot { position: relative; display: block; height: 108px; }
.way-shot img { width: 100%; height: 100%; object-fit: contain; }
.way-flag { position: absolute; top: 4px; left: 4px; color: var(--brand); font-size: 12px; font-weight: 800; }
.way-card .wish-btn,
.way-heart {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #8a8e86;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
}
.way-card .wish-btn svg {
  width: 16px;
  height: 16px;
}
.way-card .wish-btn.on,
.way-card .wish-btn.is-on { color: var(--red); }
.way-card .wish-btn.on svg,
.way-card .wish-btn.is-on svg { fill: currentColor; }
.way-card .p-name { margin: 8px 0 2px; font-size: 13px; font-weight: 800; }
.way-card .p-name a { color: inherit; }
.way-pack { margin: 0; font-size: 12px; color: #6d7268; }
.way-origin { margin: 2px 0 8px; font-size: 11px; color: var(--brand); font-weight: 700; }
.way-origin .bi { font-size: 12px; }
.way-bell {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #eef6ea;
  color: var(--brand);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  padding: 8px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.way-bell.on { background: var(--brand); color: #fff; }
.way-empty { text-align: center; color: #6d7268; margin: 18px 0; }
.way-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  direction: ltr;
  margin-top: 18px;
}
.way-info article {
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f6f7f4;
  border-radius: 16px;
  padding: 12px;
}
.way-info strong { display: block; font-size: 13px; }
.way-info p { margin: 4px 0 0; font-size: 11px; color: #6d7268; line-height: 1.7; }
.way-info-ico {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e7f6e4;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
@media (min-width: 768px) {
  .way-grid { gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .way-grid { gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .way-desk { font-size: 20px; margin: 4px 0 12px; }
  .way-hero { padding: 18px 16px; border-radius: 18px; }
  .way-hero-row { gap: 16px; min-height: 0; }
  .way-hero-art { width: min(200px, 40%); height: 132px; }
  .way-hero-copy h2 { font-size: 1.25rem; }
  .way-hero-copy p { font-size: 12px; margin-bottom: 10px; }
  .way-hero-cta { font-size: 11px; min-height: 30px; padding: 3px 10px; }
}
@media (max-width: 575.98px) {
  .way-hero { padding: 14px 12px 16px; }
  .way-hero-row { gap: 10px; min-height: 0; }
  .way-hero-art { width: 108px; height: 88px; }
  .way-hero-copy h2 { font-size: 1.05rem; margin-bottom: 4px; }
  .way-hero-copy p { font-size: 11px; margin-bottom: 8px; font-weight: 600; }
  .way-hero-cta { font-size: 10px; min-height: 28px; padding: 3px 9px; gap: 4px; }
  .way-hero-cta .bi { font-size: 11px; }
  .way-info { grid-template-columns: 1fr; }
}
