/* ==========================================================
   میوه‌جو — Shop page (shop.html)
   ========================================================== */
.sh-page { padding: 6px 0 20px; }
.sh-block { margin-top: 18px; }
#shPacks { border-color: #cfe0c9; background: #fff; }
#shPacks .pg-scroller { min-width: 0; }

.btn-blue {
  --bs-btn-color: #fff;
  --bs-btn-bg: #2f6fe4;
  --bs-btn-border-color: #2f6fe4;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #255fcb;
  --bs-btn-hover-border-color: #255fcb;
  --bs-btn-active-bg: #1f52b3;
  --bs-btn-active-border-color: #1f52b3;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: #9db9ef;
  --bs-btn-disabled-border-color: #9db9ef;
  --bs-btn-disabled-color: #fff;
  font-weight: 700;
}

/* ---------- Tools: location, search, filter ---------- */
.sh-tools { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sh-crumb { margin: 10px 0 8px; }
.sh-crumb-list { margin: 0; font-size: 13px; }
.sh-crumb-list a { color: var(--muted); }
.sh-crumb-list .active { color: var(--brand); }

.sh-loc { display: flex; min-width: 0; }
.sh-loc-btn,
.sh-filter-btn {
  height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #ebebe6;
  border-radius: 7px;
  background: #fff;
  font: inherit;
  color: var(--ink);
  white-space: nowrap;
  transition: border-color .2s, box-shadow .2s;
}
.sh-loc-btn { max-width: 100%; gap: 10px; }
.sh-loc-btn > span {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  text-align: start;
}
/* دکمه ی تغییر/ورود جدا از متن آدرس می‌ماند و داخل جعبه دیده می‌شود. */
.sh-loc-change {
  flex: 0 0 auto;
  margin-inline-start: 24px;
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.sh-loc-change i { font-size: 14px; }
.sh-loc-btn:hover, .sh-filter-btn:hover { border-color: #cfe0c9; box-shadow: var(--shadow-soft); }
.sh-loc-btn > .bi-geo-alt-fill { color: var(--brand); font-size: 19px; }
.sh-loc-btn small { font-size: 11px; color: var(--muted); }
.sh-loc-btn b { font-size: 13px; font-weight: 800; }
.sh-loc-btn .bi-chevron-down { font-size: 12px; color: var(--muted); }
.sh-loc-menu { border: 0; border-radius: 14px; box-shadow: var(--shadow-card); padding: 6px; min-width: 220px; }
.sh-loc-menu .dropdown-item { border-radius: 10px; padding: 9px 12px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.sh-loc-menu .dropdown-item i { color: var(--muted); }
.sh-loc-menu .dropdown-item.active,
.sh-loc-menu .dropdown-item:active { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.sh-loc-menu .dropdown-item.active i { color: var(--brand); }

.sh-search { position: relative; flex: 1; min-width: 0; }
.sh-search > i {
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  pointer-events: none;
}
.sh-search input {
  width: 100%;
  height: 52px;
  border: 1px solid #ebebe6;
  border-radius: 7px;
  background: #fff;
  padding: 0 46px 0 16px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.sh-search input::placeholder { color: #9a9a94; }
.sh-search input:focus { border-color: #cfe0c9; box-shadow: 0 0 0 4px rgba(43, 106, 37, .08); }

.sh-suggest {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  inset-inline: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 6px;
  max-height: 340px;
  overflow-y: auto;
}
.sh-sug {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 0;
  background: none;
  border-radius: 10px;
  font: inherit;
  text-align: start;
}
.sh-sug:hover, .sh-sug.is-focus { background: #f4f7f1; }
.sh-sug img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #f7f7f3; flex: 0 0 auto; }
.sh-sug img.is-photo { object-fit: cover; }
.sh-sug span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sh-sug b { font-size: 14px; }
.sh-sug small { font-size: 12px; color: var(--muted); }
.sh-sug em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--red); white-space: nowrap; }
.sh-sug-empty { padding: 14px; text-align: center; font-size: 13px; color: var(--muted); margin: 0; }

.sh-filter-btn { font-weight: 700; font-size: 14px; position: relative; }
.sh-filter-btn i { font-size: 19px; }
.sh-filter-count {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  line-height: 20px;
  text-align: center;
  padding: 0 4px;
}

/* ---------- Smart pick ---------- */
.sh-smart {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 24px;
  border-radius: 20px;
  background: linear-gradient(90deg, #f1f7ec, #fbfcf9 60%, #f6f9f2);
  border: 1px solid #e5eedf;
}
.sh-smart-btn {
  flex: 0 0 auto;
  height: 50px;
  padding: 0 24px;
  border-radius: var(--btn-radius);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 22px rgba(43, 106, 37, .22);
}
.sh-smart-btn i { color: #ffd34d; }
.sh-smart-text { flex: 1; min-width: 0; text-align: center; }
.sh-smart h2 { font-size: 19px; font-weight: 900; margin: 0 0 6px; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.sh-smart h2 i { color: var(--brand); }
.sh-smart h2 span { color: var(--brand); }
.sh-smart p { font-size: 13px; color: #6a6c64; margin: 0 0 10px; }
.sh-smart-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}
.sh-smart-chips i { color: var(--brand); margin-inline-end: 4px; }
.sh-smart-img { flex: 0 0 auto; width: 170px; height: 110px; object-fit: contain; }

/* ---------- Spotlight carousel — همان پوشش عکس هیرو خانه ---------- */
.sh-hero {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, #f3f4e6 0%, #f8f8f0 45%, #f4f5e7 100%);
  overflow: hidden;
}
.sh-slide {
  position: relative;
  display: flex;
  direction: ltr;
  align-items: stretch;
  height: 418px;
  overflow: hidden;
}
.sh-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to left, rgba(15, 18, 12, .82) 0%, rgba(15, 18, 12, .48) 38%, rgba(15, 18, 12, .12) 62%, transparent 82%);
}
.sh-slide-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sh-slide-media a,
.sh-slide-media img {
  display: block;
  width: 100%;
  height: 100%;
}
.sh-slide-media img {
  object-fit: cover;
  object-position: center;
}
.sh-slide-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.sh-slide-copy {
  position: relative;
  z-index: 3;
  pointer-events: none;
  direction: rtl;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 14px;
  text-align: right;
  padding: 40px 48px 56px;
  padding-inline-end: 42%;
}
.sh-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 30px; text-decoration: none; text-shadow: 0 1px 10px rgba(0, 0, 0, .3); }
.sh-kicker i { font-size: 22px; }
.sh-slide-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  width: min(100%, 440px);
}
.sh-slide-info > :not(.sh-kicker) { margin-inline-start: 18px; }
.sh-slide .rc-tags { margin-bottom: 12px; }
.sh-slide .rc-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(48, 155, 86, .35);
  border: 1px solid rgba(94, 205, 134, .45);
  color: #d8f5e1;
  font-size: 10.5px;
  font-weight: 700;
}
.sh-slide .rc-tag i { font-size: 11px; line-height: 1; }
.sh-slide-info h2 { font-size: 34px; font-weight: 900; margin-bottom: 12px; line-height: 1.4; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.sh-from { color: rgba(255, 255, 255, .9); font-weight: 700; font-size: 15px; margin: 0; }
.sh-slide .sh-tags { margin-bottom: 0; }
.sh-slide-deal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  width: min(100%, 440px);
}
.sh-slide-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 0; }
.sh-slide-price strong { color: #ffe08a; font-size: 32px; font-weight: 900; line-height: 1.2; }
.sh-slide-price strong small { font-size: 14px; font-weight: 700; }
.sh-slide-price del { color: rgba(255, 255, 255, .55); font-size: 16px; }
.sh-slide-sub { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .86); margin: 0; }
.sh-off-pill { background: #fdecea; color: var(--red); font-weight: 800; border-radius: 8px; padding: 3px 10px; font-size: 12px; }
.sh-quick {
  height: 32px;
  padding: 0 12px;
  border-radius: var(--btn-radius);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.sh-slide-deal .sh-quick,
.sh-slide-deal .miveh-cart { width: auto; flex: 0 0 auto; }
.sh-slide-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  width: min(100%, 440px);
  margin-inline-start: 18px;
}
.sh-slide-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  min-width: 0;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .94);
  border: 0;
  border-radius: 12px;
  font-size: 12px;
  box-shadow: 0 4px 14px rgba(15, 18, 12, .16);
}
.sh-slide-badges i { flex: 0 0 auto; font-size: 18px; color: var(--brand); }
.sh-slide-badges span { min-width: 0; }
.sh-slide-badges b { display: block; font-weight: 800; line-height: 1.3; }
.sh-slide-badges small { display: block; font-size: 10px; color: var(--muted); }
.sh-slide-badges .is-stock { display: block; color: var(--brand); font-weight: 800; font-size: 11px; }

.sh-hero-dots {
  position: absolute;
  z-index: 5;
  bottom: 14px;
  left: 0;
  right: 0;
  inset-inline: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.sh-hero-dots [data-bs-target] {
  width: 9px;
  height: 9px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: #d8d2c5;
  opacity: 1;
  transition: width .25s ease, background .25s ease;
}
.sh-hero-dots .active { width: 28px; background: var(--brand); }

/* ---------- Occasions ---------- */
.sh-occ-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.sh-occ {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 14px 10px 10px;
  border: 1px solid #efefe9;
  border-radius: 18px;
  background: #fff;
  font: inherit;
  text-align: center;
  color: var(--ink);
  transition: border-color .2s, box-shadow .25s, transform .25s;
}
.sh-occ:hover { border-color: #cfe0c9; box-shadow: 0 10px 24px rgba(30, 40, 20, .07); transform: translateY(-2px); }
.sh-occ b { font-size: 14px; font-weight: 800; }
.sh-occ small { font-size: 12px; color: var(--muted); }
.sh-occ img { height: 70px; max-width: 100%; object-fit: contain; margin-top: 6px; }
a.sh-occ { text-decoration: none; }
.sh-occ--orders { justify-content: center; }
.sh-occ-ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f4f6f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 6px;
}

/* ---------- Fruit types ---------- */
.sh-fruits {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  justify-content: flex-start;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.sh-fruits::-webkit-scrollbar { display: none; }
.sh-fruits { cursor: grab; touch-action: pan-x pan-y; }
.sh-fruits.is-dragging { cursor: grabbing; user-select: none; scroll-snap-type: none; }
.sh-fruits .sh-fruit { cursor: pointer; }

.sh-slide-copy a,
.sh-slide-copy button,
.sh-slide-copy .miveh-cart { pointer-events: auto; }
.sh-hero { cursor: grab; touch-action: pan-x pan-y; }
.sh-hero.is-dragging { cursor: grabbing; user-select: none; }
.sh-hero a,
.sh-hero button { cursor: pointer; }
.sh-fruits--ltr { direction: ltr; }
.sh-fruit {
  flex: 0 0 auto;
  width: auto;
  min-width: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 6px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color .2s, background .2s, color .2s;
}
.sh-fruit-name {
  display: block;
  white-space: nowrap;
  line-height: 1.3;
  text-align: center;
}
.sh-fruit-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f6f7f2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform .25s;
}
.sh-fruit-img img { width: 58px; height: 58px; object-fit: contain; }
.sh-fruit-img img.is-photo { width: 100%; height: 100%; object-fit: cover; }
.sh-fruit-img i { font-size: 26px; color: var(--ink); }
.sh-fruit:hover .sh-fruit-img { transform: translateY(-3px); }
.sh-fruit:hover { color: var(--brand); }
.sh-fruit.active { border-color: #9cbf92; background: #f3f8ef; color: var(--brand); }
.sh-fruit.active .sh-fruit-img { background: #fff; }
.sh-fruit.active .sh-fruit-img i { color: var(--brand); }
.sh-fruit[data-fruit="all"] .sh-fruit-img,
.sh-fruit[data-cat="all"] .sh-fruit-img {
  border-radius: 50%;
}

/* ---------- Chips ---------- */
.sh-chips { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.sh-chips::-webkit-scrollbar { display: none; }
.sh-chips .soon-chip { height: 38px; font-size: 13px; }
.sh-new { background: var(--brand); color: #fff; font-size: 9px; font-weight: 900; padding: 2px 5px; border-radius: 5px; letter-spacing: .5px; }
.sh-result { margin-inline-start: auto; font-size: 13px; color: var(--muted); white-space: nowrap; padding-inline-start: 8px; }

/* ---------- Product cards ---------- */
.sh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sh-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #efefe9;
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.sh-card:hover { box-shadow: 0 14px 34px rgba(30, 40, 20, .08); border-color: transparent; }
.sh-card.is-flash { animation: shFlash 1.6s ease; }
@keyframes shFlash { 0%, 60% { box-shadow: 0 0 0 3px rgba(43, 106, 37, .45); } }
.sh-card.is-out .sh-media img { filter: grayscale(.7); opacity: .7; }

.sh-media { position: relative; aspect-ratio: 16 / 11; background: #fff; overflow: hidden; }
.sh-media .p-img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 22px 56px 12px; }
.sh-media .p-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .45s ease, opacity .2s; }
.sh-media .p-img.is-photo { padding: 0; }
.sh-media .p-img.is-photo img { width: 100%; height: 100%; object-fit: cover; }
.sh-card:hover .sh-media .p-img img { transform: scale(1.04); }
.sh-media .p-img img.is-swap { opacity: 0; }

.sh-badges { position: absolute; z-index: 2; top: 12px; inset-inline: 12px; display: flex; gap: 6px; pointer-events: none; }
.sh-badge { font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 8px; color: #fff; }
.sh-badge--org { background: var(--brand); }
.sh-badge--off { background: var(--red); margin-inline-start: auto; }
.sh-badge--out { background: #6f716a; margin-inline-start: auto; }

.sh-media-tools { position: absolute; z-index: 2; top: 50px; inset-inline-end: 12px; display: flex; flex-direction: column; gap: 8px; }
.sh-tool,
.sh-tool.wish-btn {
  position: static;
  opacity: 1;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #eeeee8;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.sh-tool:hover { color: var(--brand); border-color: #cfe0c9; }
.sh-tool.wish-btn:hover, .sh-tool.wish-btn.on { color: var(--red); }
.sh-tool.wish-btn.bump { animation: bump .4s ease; }
.sh-tool.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.sh-tool.wish-btn.is-on, .sh-tool.wish-btn.on { background: #fff; border-color: #eeeee8; color: var(--red); }
.sh-tool.wish-btn svg { width: 18px; height: 18px; }

.sh-counter {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  inset-inline-end: 12px;
  background: rgba(40, 42, 38, .7);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  direction: ltr;
}
.sh-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity .2s, color .2s;
}
.sh-nav--prev { right: 10px; }
.sh-nav--next { left: 10px; }
.sh-media:hover .sh-nav, .sh-nav:focus-visible { opacity: 1; }
.sh-nav:hover { color: var(--brand); }

.sh-body { padding: 14px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.sh-card .p-name { font-size: 19px; font-weight: 900; margin: 0 0 4px; text-align: center; }
.sh-fire { margin-inline-end: 4px; }
.sh-origin { text-align: center; font-size: 13px; color: var(--muted); margin: 0 0 12px; }

.sh-tags { list-style: none; padding: 0; margin: 0 0 12px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.sh-tags li { border: 1px solid #ecece7; border-radius: 14px; padding: 2px 14px; font-size: 12px; font-weight: 700; color: var(--ink-2); background: #fff; }
.sh-slide .sh-tags { justify-content: flex-start; }

.sh-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: #6f6f69; margin-bottom: 12px; }
.sh-rate { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--ink-2); }
.sh-rate i { color: #f5b301; }
.sh-rate small { color: var(--muted); font-weight: 500; }
.sh-weekly { position: relative; padding-inline-start: 12px; }
.sh-weekly::before { content: ""; position: absolute; inset-inline-start: 0; top: 3px; bottom: 3px; width: 1px; background: #deded8; }

.sh-attrs {
  list-style: none;
  padding: 10px 6px;
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #efefe9;
  border-radius: 14px;
}
.sh-attrs li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; text-align: center; }
.sh-attrs li + li { border-inline-start: 1px solid #f0f0ec; }
.sh-attrs b { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--ink-2); }
.sh-attrs b i, .sh-attrs b img { color: var(--brand); font-size: 14px; }
.sh-attrs span { color: var(--muted); }

.sh-stock {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.sh-stock i { font-size: 16px; color: var(--ink-2); }
.sh-stock .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sh-stock b { font-weight: 800; }
.sh-stock--ok { background: #eef6ea; color: var(--brand); }
.sh-stock--low { background: #fdf4e3; color: #d48806; }
.sh-stock--out { background: #f3f3f1; color: #8b8b86; }
.sh-stock em { font-style: normal; color: var(--ink-2); font-weight: 700; }
.sh-stock--ok em { color: var(--brand); }

.sh-price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.sh-now { color: var(--red); font-size: 24px; font-weight: 900; }
.sh-price small { font-size: 13px; color: #6f6f69; }
.sh-price del { color: #b0b0aa; font-size: 16px; }
.sh-per { display: block; text-align: end; font-size: 12px; color: var(--muted); margin: 2px 0 10px; }
.sh-save {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fdf0ef;
  color: var(--red);
  border-radius: 10px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
.sh-save b { background: #fbdcd9; border-radius: 6px; padding: 1px 6px; font-weight: 900; }

.sh-buy { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.sh-add {
  flex: 1;
  height: 46px;
  border: 0;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .2s, transform .15s;
}
.sh-add i { font-size: 19px; }
.sh-add:not(.is-notify):hover { filter: brightness(0.94); }
.sh-add:active { transform: scale(.97); }
.sh-add.added { background: #3c8a33; }
.sh-add.is-notify { background: #fff; color: #c4302b; border: 1.5px solid #e6e6e2; }
.sh-add.is-notify:hover { background: #f4f4f2; color: #c4302b; }
.sh-add.is-notify.on { background: #fde8ea; color: #c4302b; border-color: #f0c4c4; }
.sh-unit { font-size: 12px; color: var(--muted); }
.sh-qty {
  display: inline-flex;
  align-items: center;
  height: 46px;
  border: 1px solid #ebebe6;
  border-radius: 7px;
  padding: 0 6px;
}
.sh-qty button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: none;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.sh-qty button:hover:not(:disabled) { background: #f2f4ef; color: #2a2a28; }
.sh-qty button:disabled { opacity: .35; }
.sh-qty output { flex: 0 0 3ch; width: 3ch; min-width: 3ch; text-align: center; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.sh-incart { display: block; text-align: center; font-size: 12px; font-weight: 700; color: var(--brand); margin-top: 8px; min-height: 18px; }

.sh-perks {
  list-style: none;
  padding: 10px 6px;
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f7f7f4;
  border-radius: 14px;
}
.sh-perks li { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; font-size: 12px; }
.sh-perks li + li { border-inline-start: 1px solid #e9e9e4; }
.sh-perks b { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; color: var(--ink-2); }
.sh-perks b i { font-size: 16px; color: var(--ink-2); }
.sh-perks span { color: var(--muted); font-size: 11px; }

/* ---------- Floating cart bar ---------- */
.sh-cartbar {
  position: fixed;
  z-index: 1025;
  left: 0;
  right: 0;
  bottom: 16px;
  pointer-events: none;
  display: none;
  transform: translateY(140%);
  transition: transform .35s ease;
}
.sh-cartbar.is-visible {
  display: block;
  transform: none;
}
.sh-cartbar-inner {
  pointer-events: auto;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px 8px 18px;
  background: #fff;
  border: 1px solid #eeeee8;
  border-radius: 7px;
  box-shadow: 0 10px 34px rgba(20, 30, 10, .16);
}
.sh-cartbar-img { position: relative; width: 52px; height: 46px; flex: 0 0 auto; }
.sh-cartbar-img img { width: 100%; height: 100%; object-fit: contain; }
.sh-cartbar-img b {
  position: absolute;
  top: -6px;
  inset-inline-start: -6px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  line-height: 20px;
  text-align: center;
  padding: 0 4px;
}
.sh-cartbar-img b.bump { animation: bump .45s ease; }
.sh-cartbar-btn { height: 44px; border-radius: 7px; padding: 0 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; flex: 0 0 auto; }
.sh-cartbar-total { font-size: 13px; color: var(--muted); white-space: nowrap; }
.sh-cartbar-total b { font-size: 19px; font-weight: 800; color: var(--ink); }
.sh-cartbar-count { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.sh-cartbar-count b { font-weight: 900; }
.sh-cartbar-more {
  margin-inline-start: auto;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
body.has-cartbar { padding-bottom: 96px; }
body.has-cartbar .toast-container { bottom: 76px !important; }

.sh-compare-fab {
  position: fixed;
  z-index: 1026;
  inset-inline-start: 18px;
  bottom: 96px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}
.sh-compare-fab:not(.d-none) { display: inline-flex; animation: shIn .3s ease; }

/* ---------- Cart sheet ---------- */
.sh-cart.offcanvas-bottom { height: auto; max-height: 82vh; border-radius: 22px 22px 0 0; }
.sh-cart.offcanvas-end { width: 420px; }
.sh-cart .offcanvas-header { border-bottom: 1px solid var(--line); }
.sh-cart .offcanvas-title { font-weight: 900; display: flex; align-items: center; gap: 8px; }
.sh-cart .offcanvas-header small { color: var(--muted); }
.sh-cart-list { display: grid; gap: 10px; }
.sh-line {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid #efefe9;
  border-radius: 14px;
}
.sh-line img { width: 58px; height: 58px; border-radius: 10px; object-fit: contain; background: #f7f7f3; }
.sh-line img.is-photo { object-fit: cover; }
.sh-line h6 { font-size: 14px; font-weight: 800; margin: 0 0 2px; }
.sh-line small { font-size: 12px; color: var(--muted); display: block; }
.sh-line .sh-line-price { font-size: 14px; font-weight: 800; color: var(--ink); }
.sh-line .sh-qty { height: 38px; padding: 0 3px; }
.sh-line .sh-qty button { width: 30px; height: 30px; font-size: 14px; }
.sh-line .sh-qty output { min-width: 22px; font-size: 15px; }
.sh-cart-empty { text-align: center; color: var(--muted); padding: 20px 0; margin: 0; }
.sh-cart-empty i { display: block; font-size: 40px; color: #c4c4bc; margin-bottom: 6px; }
.sh-cart-foot { padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.sh-cart-sum { margin: 0 0 12px; display: grid; gap: 6px; font-size: 14px; }
.sh-cart-sum div { display: flex; justify-content: space-between; }
.sh-cart-sum dt { font-weight: 500; color: #6f6f69; }
.sh-cart-sum dd { margin: 0; font-weight: 700; }
.sh-cart-sum .is-save dd { color: var(--red); }
.sh-cart-sum .is-total { font-size: 16px; padding-top: 6px; border-top: 1px dashed #e4e4de; }
.sh-cart-sum .is-total dt, .sh-cart-sum .is-total dd { color: var(--ink); font-weight: 800; }
.sh-cart-foot .btn { height: 50px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

/* ---------- Filters ---------- */
.sh-filters { width: 360px !important; }
.sh-filters .offcanvas-header { border-bottom: 1px solid var(--line); }
.sh-filters .offcanvas-title { font-weight: 900; display: flex; align-items: center; gap: 8px; }
.sh-filters h6 { font-weight: 800; font-size: 14px; margin: 18px 0 10px; }
.sh-filters h6:first-child { margin-top: 0; }
.sh-sort, .sh-texture { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-sort label, .sh-texture label { position: relative; margin: 0; cursor: pointer; }
.sh-sort input, .sh-texture input { position: absolute; opacity: 0; pointer-events: none; }
.sh-sort span, .sh-texture span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border: 1px solid #ecece7;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  transition: border-color .2s, background .2s, color .2s;
}
.sh-sort input:checked + span,
.sh-texture input:checked + span { border-color: #9cbf92; background: #f3f8ef; color: var(--brand); }
.sh-sort input:focus-visible + span,
.sh-texture input:focus-visible + span { box-shadow: 0 0 0 3px rgba(43, 106, 37, .2); }
.sh-range { padding-inline: 0.7rem; overflow: visible; }
.sh-range .form-range::-webkit-slider-thumb { background: var(--brand); }
.sh-range .form-range::-moz-range-thumb { background: var(--brand); }
.sh-range-labels { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.sh-range-labels > span { flex: 1 1 0; min-width: 0; line-height: 1.45; }
.sh-range-labels b { display: block; color: var(--brand); font-size: 13px; }
/* محور را چپ‌به‌راست قفل می‌کنیم و یک بار برمی‌گردانیم تا قیمت کم سمت راست و قیمت زیاد سمت چپ بماند. */
.sh-range-sliders {
  position: relative;
  isolation: isolate;
  height: 1.75rem;
  direction: ltr;
  overflow: visible;
  touch-action: none;
  cursor: pointer;
}
.sh-range-sliders::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0.55rem;
  right: 0.55rem;
  top: 50%;
  height: 0.4rem;
  transform: translateY(-50%);
  background: #ecece7;
  border-radius: 1rem;
  pointer-events: none;
}
.sh-range-fill {
  position: absolute;
  z-index: 3;
  top: 50%;
  height: 0.4rem;
  transform: translateY(-50%);
  background: var(--brand);
  border-radius: 1rem;
  pointer-events: none;
}
.sh-range-sliders .form-range {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  height: 1.125rem;
  margin: -0.5625rem 0 0;
  padding: 0;
  transform: scaleX(-1);
  pointer-events: none;
  touch-action: none;
  background: none;
  accent-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  overflow: visible;
}
/* وب‌کیت و موزیلا در یک انتخابگر نباشند؛ کروم کل قانون را دور می‌ریزد و نوار خاکستری بوت‌استرپ بازه ی سبز را می‌پوشاند. */
.sh-range-sliders .form-range::-webkit-slider-runnable-track {
  background: transparent;
  background-color: transparent;
  border: 0;
  height: 0;
  color: transparent;
  box-shadow: none;
}
.sh-range-sliders .form-range::-moz-range-track {
  background: transparent;
  background-color: transparent;
  border: 0;
  height: 0;
  color: transparent;
  box-shadow: none;
}
.sh-range-sliders .form-range::-moz-range-progress {
  background: transparent;
  background-color: transparent;
  height: 0;
  border: 0;
}
.sh-range-sliders .form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
  opacity: 0;
  box-sizing: border-box;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.sh-range-sliders .form-range::-moz-range-thumb {
  pointer-events: none;
  opacity: 0;
  box-sizing: border-box;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.sh-range-knob {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 1.125rem;
  height: 1.125rem;
  box-sizing: border-box;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px rgba(43, 106, 37, .28);
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.sh-checks { display: grid; gap: 10px; }
.sh-checks .form-check { display: flex; align-items: center; gap: 10px; padding: 0; margin: 0; font-size: 14px; cursor: pointer; }
.sh-checks .form-check-input { float: none; margin: 0; width: 2.4em; height: 1.3em; cursor: pointer; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { border-color: #9fc496; box-shadow: 0 0 0 4px rgba(43, 106, 37, .12); }
.sh-filters-foot { display: flex; gap: 10px; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.sh-filters-foot .btn { height: 48px; border-radius: 7px; font-weight: 700; }

/* ---------- SMS modal ---------- */
.sms-steps { padding-inline-start: 20px; margin: 0 0 16px; display: grid; gap: 6px; font-size: 14px; line-height: 1.9; }
.sms-builder { display: grid; grid-template-columns: 1fr 100px 46px; gap: 8px; margin-bottom: 12px; }
.sms-builder .form-select { height: 46px; border-radius: 12px; font-size: 14px; }
.sms-builder .btn { height: 46px; border-radius: 7px; padding: 0; font-size: 18px; }
.sms-preview { background: #f4f7fe; border-radius: 14px; padding: 10px 14px 12px; margin-bottom: 14px; }
.sms-preview-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #5c6a8a; font-weight: 700; margin-bottom: 4px; }
.sms-clear { border: 0; background: none; font: inherit; color: var(--red); font-size: 12px; }
.sms-preview pre { font-family: "Vazirmatn", monospace; font-size: 16px; font-weight: 800; margin: 0; white-space: pre-wrap; color: #1f3d80; min-height: 4px; }
.sms-hint { margin: 0; font-size: 13px; color: var(--muted); }
.sms-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.sms-code {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid #efefe9;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  text-align: start;
  transition: border-color .2s, background .2s;
}
.sms-code:hover { border-color: #b7cdf6; background: #f7f9ff; }
.sms-code b { direction: ltr; min-width: 30px; text-align: center; background: #e8efff; color: #2f6fe4; border-radius: 6px; font-weight: 900; padding: 1px 4px; }
.sms-code:disabled { opacity: .45; }
#smsModal .modal-footer .btn { height: 48px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

/* ---------- Compare modal ---------- */
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; min-width: 460px; }
.cmp-table th, .cmp-table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid #f0f0ec; vertical-align: middle; }
.cmp-table tbody th { text-align: start; color: var(--muted); font-weight: 600; white-space: nowrap; width: 110px; }
.cmp-table thead td { border-bottom: 0; }
.cmp-head { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.cmp-head img { width: 90px; height: 76px; object-fit: contain; }
.cmp-head img.is-photo { object-fit: cover; border-radius: 12px; }
.cmp-head b { font-size: 14px; font-weight: 800; }
.cmp-remove { position: absolute; top: -4px; inset-inline-end: 0; border: 0; background: #f3f3f1; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; color: var(--muted); }
.cmp-remove:hover { color: var(--red); }
.cmp-best { color: var(--brand); font-weight: 900; }
.cmp-empty { text-align: center; color: var(--muted); padding: 20px; }

/* ---------- Previous orders ---------- */
.orders-list { display: grid; gap: 12px; }
.order-card { border: 1px solid #efefe9; border-radius: 16px; padding: 12px 14px; }
.order-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.order-head b { color: var(--ink); font-size: 14px; }
.order-status { background: #eef6ea; color: var(--brand); font-weight: 800; font-size: 12px; padding: 2px 10px; border-radius: 8px; }
.order-items { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.order-items span { display: inline-flex; align-items: center; gap: 6px; background: #f7f7f4; border-radius: 10px; padding: 4px 10px 4px 4px; font-size: 13px; }
.order-items img { width: 30px; height: 30px; object-fit: contain; border-radius: 6px; background: #fff; }
.order-items img.is-photo { object-fit: cover; }
.order-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.order-foot strong { font-size: 15px; font-weight: 900; }
.order-foot .btn { border-radius: 7px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (min-width: 768px) and (max-width: 991.98px) {
  .sh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}

@media (min-width: 992px) {
  .page-shop .site-header .header-actions { margin-inline-start: auto; }
  .sh-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
  .sh-fruit { min-width: 96px; }
  .sh-fruit-img { width: 80px; height: 80px; }
  .sh-fruit-img img { width: 64px; height: 64px; }
}

@media (max-width: 1199.98px) {
  .sh-slide-info h2 { font-size: 28px; }
  .sh-slide-price strong { font-size: 28px; }
  .sh-smart-img { width: 130px; }
}

@media (max-width: 991.98px) {
  .sh-cartbar { bottom: 84px; padding: 0 8px; }
  body.has-cartbar { padding-bottom: 160px; }
  .sh-compare-fab { bottom: 156px; inset-inline-start: 12px; }
  .toast-container { bottom: 80px !important; }
  body.has-cartbar .toast-container { bottom: 150px !important; }

  .sh-tools { flex-wrap: wrap; }
  .sh-search { order: 3; flex: 1 1 100%; }
  .sh-loc { flex: 1; min-width: 0; }
  .sh-loc-btn { width: 100%; }
  .sh-loc-btn span { flex: 1; min-width: 0; }
  .sh-loc-btn b { overflow: hidden; text-overflow: ellipsis; }
  .sh-loc-change { margin-inline-start: 16px; }

  .sh-smart { flex-wrap: wrap; padding: 16px; gap: 12px; }
  .sh-smart-text { order: -1; flex: 1 1 0; text-align: start; }
  .sh-smart h2, .sh-smart-chips { justify-content: flex-start; }
  .sh-smart-img { order: -1; width: 110px; height: 84px; }
  .sh-smart-btn { flex: 1 1 100%; justify-content: center; }

  .sh-slide { height: 300px; }
  .sh-slide::after {
    background: linear-gradient(to top, rgba(15, 18, 12, .5) 0%, rgba(15, 18, 12, .72) 42%, rgba(15, 18, 12, .5) 100%);
  }
  .sh-slide-copy {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    bottom: auto;
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    padding-inline-end: 14px;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    transform: translateY(-50%);
  }
  .sh-slide-info { flex: 0 1 auto; }
  .sh-slide-badges { display: none; }
  .sh-kicker { font-size: 13px; margin-bottom: 8px; }
  .sh-kicker i { font-size: 13px; }
  .sh-slide-info > :not(.sh-kicker) { margin-inline-start: 0; }
  .sh-slide .rc-tags { margin-bottom: 6px; }
  .sh-slide-info h2 { font-size: 18px; margin-bottom: 6px; }
  .sh-slide-sub { font-size: 11px; gap: 6px; }
  .sh-off-pill { font-size: 10px; padding: 2px 7px; }
  .sh-slide-price strong { font-size: 18px; }
  .sh-slide-price strong small { font-size: 11px; }
  .sh-slide-price del { font-size: 12px; }
  .sh-slide-deal {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }
  .sh-quick {
    height: 26px;
    padding: 0 8px;
    border-radius: var(--btn-radius);
    font-size: 11px;
    gap: 4px;
    width: auto;
  }
  .sh-slide-info .miveh-cart-step {
    height: 24px;
    padding: 1px 2px;
    gap: 4px;
  }
  .sh-slide-info .miveh-cart-step button,
  .sh-slide-info .miveh-cart-step [data-cart-up] {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    flex-basis: 20px;
    border-radius: 5px;
    font-size: 11px;
  }
  .sh-slide-info .miveh-cart-step [data-cart-up]::before {
    width: 8px;
    height: 8px;
    background:
      linear-gradient(#fff, #fff) center / 8px 1.5px no-repeat,
      linear-gradient(#fff, #fff) center / 1.5px 8px no-repeat;
  }
  .sh-slide-info .miveh-cart-step strong {
    min-width: 1.5rem;
    padding: 0 4px;
    font-size: 11px;
  }
  .sh-hero-dots {
    z-index: 5;
    left: 0;
    right: 0;
    inset-inline: 0;
    bottom: 10px;
    gap: 6px;
    transform: none;
  }
  .sh-hero-dots [data-bs-target] {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
  }
  .sh-hero-dots .active { width: 14px; }

  .sh-occ-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 148px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; scroll-snap-type: x mandatory; }
  .sh-occ-row::-webkit-scrollbar { display: none; }
  .sh-occ { scroll-snap-align: start; }
  .sh-nav { opacity: 1; }

  .sh-cartbar-inner { padding: 2px 8px 2px 2px; gap: 8px; }
  .sh-cartbar-img { width: 32px; height: 28px; }
  .sh-cartbar-btn { height: 28px; padding: 0 8px; font-size: 12px; gap: 4px; }
}

@media (max-width: 767.98px) {
  .sh-slide { height: 270px; }
  .sh-cartbar-count { display: none; }
}

@media (max-width: 575.98px) {
  .sh-block { margin-top: 14px; }
  .sh-tools { gap: 8px; }
  .sh-loc-btn, .sh-filter-btn { height: 46px; padding: 0 10px; border-radius: 7px; }
  .sh-loc-change { margin-inline-start: 12px; padding: 5px 11px; font-size: 12px; }
  .sh-search input { height: 46px; border-radius: 7px; font-size: 13px; }

  .sh-smart-text p { display: none; }
  .sh-smart-chips { gap: 4px 12px; font-size: 12px; }
  .sh-smart h2 { font-size: 16px; }

  .sh-hero { border-radius: 16px; }
  .sh-slide { height: 260px; }
  .sh-slide-copy { padding: 10px 12px; gap: 4px; }
  .sh-slide-info h2 { font-size: 16px; }
  .sh-slide-price strong { font-size: 16px; }
  .sh-quick { width: auto; justify-content: center; }

  .sh-fruit { min-width: 76px; font-size: 12px; }
  .sh-fruit-img { width: 64px; height: 64px; }
  .sh-fruit-img img { width: 52px; height: 52px; }

  .sh-result { display: none; }

  /* compact two-column cards */
  .sh-grid { gap: 10px; }
  .sh-card { border-radius: 16px; }
  .sh-media { aspect-ratio: 1 / 1; }
  .sh-media .p-img { padding: 34px 12px 10px; }
  .sh-badges { top: 8px; inset-inline: 8px; }
  .sh-badge { font-size: 10px; padding: 2px 7px; border-radius: 6px; }
  .sh-media-tools { top: 34px; inset-inline-end: 8px; gap: 6px; }
  .sh-tool, .sh-tool.wish-btn { width: 30px; height: 30px; font-size: 14px; border-radius: 8px; }
  .sh-counter { bottom: 8px; inset-inline-end: 8px; font-size: 10px; padding: 1px 7px; }
  .sh-nav { display: none; }
  .sh-body { padding: 10px 10px 12px; }
  .sh-card .p-name { font-size: 14px; }
  .sh-origin { font-size: 11px; margin-bottom: 8px; color: var(--brand); }
  .sh-tags { gap: 4px; margin-bottom: 8px; }
  .sh-tags li { font-size: 10px; padding: 1px 8px; }
  .sh-tags li:nth-child(n+3) { display: none; }
  .sh-weekly, .sh-attrs, .sh-save, .sh-perks, .sh-per { display: none; }
  .sh-meta { justify-content: center; margin-bottom: 6px; }
  .sh-stock { align-self: stretch; justify-content: center; font-size: 11px; padding: 4px 6px; gap: 5px; margin-bottom: 8px; }
  .sh-stock i, .sh-stock em { display: none; }
  .sh-price { flex-direction: column-reverse; align-items: center; gap: 0; margin-bottom: 8px; }
  .sh-now { font-size: 18px; }
  .sh-price del { font-size: 12px; }
  .sh-buy { flex-wrap: wrap; justify-content: center; gap: 6px; }
  .sh-add { order: 3; flex: 1 1 100%; height: 40px; font-size: 13px; gap: 6px; }
  .sh-add i { font-size: 16px; }
  .sh-qty { height: 36px; padding: 0 2px; }
  .sh-qty button { width: 28px; height: 28px; font-size: 14px; }
  .sh-qty output { min-width: 20px; font-size: 15px; }
  .sh-unit { font-size: 11px; }
  .sh-incart { font-size: 11px; margin-top: 6px; }

  .sh-cartbar-inner { border-radius: 7px; gap: 8px; padding: 2px 8px 2px 2px; }
  .sh-cartbar-img { width: 32px; height: 28px; }
  .sh-cartbar-btn { height: 28px; padding: 0 8px; font-size: 12px; gap: 4px; }
  .sh-cartbar-total b { font-size: 16px; }
  .sh-cartbar-more { font-size: 12px; }

  .sh-filters { width: 100% !important; }
  .sh-compare-fab { height: 36px; padding: 0 12px; font-size: 12px; bottom: 150px; inset-inline-start: auto; inset-inline-end: 10px; }
  .sms-codes { grid-template-columns: 1fr; }
  .sms-builder { grid-template-columns: 1fr 88px 46px; }
}

.sh-buy .miveh-cart { flex: 1; width: auto; margin-top: 0; }
.sh-buy .sh-add,
.sh-buy .miveh-deal-card-add { width: 100%; margin-top: 0; }
.sh-buy .miveh-cart-step {
  height: 46px;
  margin-top: 0;
  border-radius: 7px;
  background: #fff;
  border: 1.5px solid var(--brand);
  color: var(--brand);
  padding: 4px 6px;
  box-sizing: border-box;
}
.sh-buy .miveh-cart-step button {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background: transparent;
  color: var(--brand);
}
.sh-buy .miveh-cart-step strong { color: var(--brand); }
.sh-slide-info .miveh-cart { width: auto; margin: 0; }
.sh-slide-info .miveh-deal-card-add { width: auto; margin-top: 0; }
.sh-slide-info .miveh-cart-error { margin-top: 8px; }
.sh-slide-info .miveh-cart-step {
  /* چپ و راست فیزیکی: سطل/منفی چپ، مثبت راست. */
  direction: ltr;
  height: 28px;
  width: auto;
  min-width: 0;
  padding: 2px;
  gap: 4px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid #e6e6e2;
  color: #2a2a28;
  box-shadow: none;
  box-sizing: border-box;
}
.sh-slide-info .miveh-cart-step button {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 6px;
  background: transparent;
  color: #2a2a28;
  font-size: 11px;
}
.sh-slide-info .miveh-cart-step [data-cart-up] {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
  border-radius: 6px;
  background: #c4302b;
  color: #fff;
}
.sh-slide-info .miveh-cart-step [data-cart-up]::before {
  width: 9px;
  height: 9px;
  background:
    linear-gradient(#fff, #fff) center / 9px 1.5px no-repeat,
    linear-gradient(#fff, #fff) center / 1.5px 9px no-repeat;
}
.sh-slide-info .miveh-cart-step [data-cart-down]::before {
  background: #4a4a46;
}
.sh-slide-info .miveh-cart-step strong {
  flex: 0 0 auto;
  width: auto;
  min-width: 1.75rem;
  padding: 0 4px;
  color: #1c1c1a;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
