/* ==========================================================
   میوه‌چی — صفحه ی دستور اسموتی (Views/Recipes/Details.cshtml)
   ========================================================== */

.page-recipe {
  --rc-green: #1f8a4c;
  --rc-green-dark: #15703c;
  --rc-soft: #eef8f1;
  --rc-line: #e9ede4;
  --rc-bg: #f3f6f2;
  --rc-muted: #8a938a;
}

/* هدر و فوتر مثل بقیه ی صفحه‌ها سفید می‌مانند؛ فقط کشیده ی محتوا رنگ صفحه را دارد. */
.page-recipe .miveh-main {
  padding: 12px 0 24px;
  padding-bottom: 0px;
  /*background: var(--rc-bg);*/
}

/* ---------- Empty / error ---------- */
.rc-empty {
  margin-top: 24px;
  padding: 42px 20px;
  border-radius: 20px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.rc-empty i { font-size: 46px; color: #a9c6ad; }
.rc-empty h1 { margin: 12px 0 6px; font-size: 18px; font-weight: 900; }
.rc-empty p { margin: 0 0 16px; color: var(--rc-muted); font-size: 13px; }

/* ---------- Hero ---------- */
.rc-hero {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 40, 24, .08);
  isolation: isolate;
}
.rc-hero-stage {
  position: relative;
  display: grid;
  direction: ltr;
  min-height: 280px;
  color: #fff;
  background: #0b2414;
  overflow: hidden;
}
.rc-hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to left, rgba(11, 36, 20, .94) 0%, rgba(11, 36, 20, .72) 36%, rgba(11, 36, 20, .28) 62%, rgba(11, 36, 20, 0) 100%);
}
.rc-hero-copy {
  grid-area: 1 / 1;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-self: end;
  width: 62%;
  padding-top: 52px;
  direction: rtl;
}
.rc-hero-media {
  grid-area: 1 / 1;
  z-index: 0;
  width: 100%;
  min-width: 0;
  min-height: 0;
}
.rc-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}
.rc-round {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #173324;
  display: grid;
  place-items: center;
  font-size: 15px;
  padding: 0;
  line-height: 0;
  box-shadow: 0 2px 8px rgba(16, 32, 20, .16);
  transition: background .2s, color .2s;
}
.rc-round:hover { background: #f4f7f4; color: #173324; }
.rc-round.is-on { color: #d23b4a; }
.rc-hero-back {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
}
.rc-hero-tools {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}
.rc-hero-body {
  width: 100%;
  padding: 0 18px 18px;
  text-align: right;
}
.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;
}
.rc-tag i { font-size: 11px; line-height: 1; }
.rc-hero h1 {
  margin: 8px 0 6px;
  font-size: clamp(24px, 4.6vw, 38px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -.4px;
}
.rc-rate {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 10px;
  font-size: 12px;
  color: #e7efe5;
}
.rc-rate i { color: #ffc42e; font-size: 13px; }
.rc-rate b { font-size: 14px; color: #fff; }
.rc-rate span { color: #b9c8b8; font-size: 10.5px; }
.rc-meta {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.rc-meta li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.rc-meta i { color: #cfe4d3; font-size: 15px; }
.rc-meta span { display: flex; flex-direction: column; line-height: 1.5; }
.rc-meta b { font-size: 11px; font-weight: 700; white-space: nowrap; }
.rc-meta small { font-size: 8.5px; color: #9fb3a1; white-space: nowrap; }
.rc-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #2aa45a, #1f8a4c);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(15, 90, 45, .35);
  transition: filter .2s, transform .2s;
}
.rc-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
.rc-cta i { font-size: 15px; }
.rc-cta.is-off {
  background: rgba(255, 255, 255, .14);
  box-shadow: none;
  color: #d8e4d8;
  font-weight: 600;
  font-size: 11.5px;
}

/* ---------- Fact chips ---------- */
.rc-facts {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 10px 12px 12px;
  overflow-x: auto;
  background: #fff;
  scrollbar-width: none;
}
.rc-facts::-webkit-scrollbar { display: none; }
.rc-fact {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: #f6f7f4;
  color: #3d463c;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.rc-fact i { color: var(--rc-green); font-size: 14px; }
.rc-fact i.bi-fire { color: #ef8a24; }
.rc-fact--have {
  align-items: center;
  background: var(--rc-soft);
  color: var(--rc-green-dark);
  text-align: right;
  line-height: 1.55;
  white-space: normal;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.rc-fact--have.is-on { background: var(--rc-green); color: #fff; }
.rc-fact--have.is-on i { color: #fff; }

/* ---------- Cards ---------- */
.rc-card {
  margin-top: 10px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(30, 50, 30, .05);
}
.rc-card h2,
.rc-sec-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}
.rc-sec-head { margin-bottom: 8px; }

/* ---------- Servings ---------- */
.rc-servings-copy p {
  margin: 3px 0 0;
  font-size: 10.5px;
  color: var(--rc-muted);
  line-height: 1.7;
}
.rc-seg {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}
.rc-seg-btn {
  padding: 7px 13px;
  border: 1px solid var(--rc-line);
  border-radius: 10px;
  background: #fff;
  color: #3c443b;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.rc-seg-btn.is-on {
  border-color: transparent;
  background: linear-gradient(180deg, #27a45a, #1f8a4c);
  color: #fff;
  box-shadow: 0 4px 10px rgba(31, 138, 76, .25);
}

/* ---------- Ingredients ---------- */
.rc-ing-search {
  position: relative;
  flex: 1 1 auto;
  max-width: 300px;
  margin: 0;
}
.rc-ing-search i {
  position: absolute;
  top: 50%;
  right: 11px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 1em;
  height: 1em;
  color: #9aa39a;
  font-size: 13px;
  line-height: 0;
  pointer-events: none;
}
.rc-ing-search input {
  width: 100%;
  height: 34px;
  padding: 0 32px 0 10px;
  border: 1px solid var(--rc-line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 11.5px;
  outline: none;
}
.rc-ing-search input:focus { border-color: #b9d8c2; box-shadow: 0 0 0 3px rgba(31, 138, 76, .08); }
.rc-ing-list { margin-top: 4px; }
.rc-ing-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #f2f4ee;
}
.rc-ing-row:last-child { border-bottom: 0; }
.rc-ing-shot {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 13px;
  background: #f7f8f4;
  color: #b8c2b8;
  font-size: 18px;
}
.rc-ing-shot img { width: 100%; height: 100%; object-fit: contain; }
/* عکسی که از کاتالوگ نیامد جای خالی نگذارد؛ آیکن خود بخش می‌نشیند. */
.rc-ing-shot.is-empty::after,
.rc-suggest-shot.is-empty::after,
.rc-sub-shot.is-empty::after,
.rc-step-shot.is-empty::after,
.rc-pick-shot.is-empty::after {
  content: "\f5df";
  font-family: "bootstrap-icons";
  color: #b8c2b8;
  font-size: 17px;
}
.rc-ing-shot.is-empty img,
.rc-suggest-shot.is-empty img,
.rc-sub-shot.is-empty img,
.rc-step-shot.is-empty img,
.rc-pick-shot.is-empty img { display: none; }

.rc-ing-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.rc-ing-copy b {
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rc-ing-price { font-size: 11px; font-weight: 600; color: #268653; }
.rc-ing-price.is-off { color: #a0a59c; font-weight: 500; }
.rc-ing-stock {
  flex: 0 0 auto;
  font-size: 10px;
  color: #2f8d5a;
  white-space: nowrap;
}
/* در طرح، منفی سمت چپ شمارنده و مثبت سمت راست آن است. */
.rc-qty {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid #e4e8df;
  border-radius: 10px;
  direction: ltr;
}
.rc-qty button {
  width: 25px;
  height: 29px;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--rc-green);
  font-size: 12px;
  line-height: 1;
}
.rc-qty button:hover { background: var(--rc-soft); }
.rc-qty output {
  min-width: 25px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}
.rc-ing-del {
  flex: 0 0 auto;
  width: 28px;
  height: 29px;
  padding: 0;
  border: 1px solid #e9ece4;
  border-radius: 9px;
  background: #fff;
  color: #8b928a;
  font-size: 12px;
}
.rc-ing-need {
  flex: 0 0 auto;
  min-width: 28px;
  color: var(--rc-muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.rc-ing-del:hover { color: #c04141; border-color: #f0d4d4; background: #fff7f7; }
.rc-ing-row[data-selected="0"] .rc-qty,
.rc-ing-row[data-selected="0"] .rc-ing-del { opacity: .45; }
.rc-ing-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 10px;
  padding: 9px;
  border: 0;
  border-radius: 10px;
  background: var(--rc-soft);
  color: var(--rc-green-dark);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.rc-note { margin: 6px 0 0; color: var(--rc-muted); font-size: 12px; }

/* ---------- Sections ---------- */
.rc-block { margin-top: 14px; }
.rc-more {
  padding: 0;
  border: 0;
  background: none;
  color: var(--rc-green-dark);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
/* ---------- Steps ---------- */
.rc-steps,
.rc-suggest {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.rc-steps::-webkit-scrollbar,
.rc-suggest::-webkit-scrollbar,
.rc-rev-track::-webkit-scrollbar,
.rc-subs-row::-webkit-scrollbar { display: none; }
.rc-step {
  flex: 0 0 166px;
  scroll-snap-align: start;
}
.rc-step-shot {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-radius: 14px;
  background: #eef0ea;
}
.rc-step-shot img { width: 100%; height: 100%; object-fit: contain; }
.rc-step-no {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--rc-green);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .22);
}
.rc-step p {
  margin: 6px 2px 0;
  color: #4a5248;
  font-size: 11px;
  line-height: 1.8;
}
.rc-step-all b {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rc-green);
  color: #fff;
  font-size: 11px;
}
.rc-step-all span { line-height: 1.8; }

.rcTipsTitle {
    font-size: 20px;
}

/* ---------- Tips + substitutes ---------- */
.rc-duo {
    margin-top: 14px;
}
.rc-duo .rc-card { margin-top: 0; }
.rc-subs {
  display: flex;
  background: #f7f8f4;
  flex-direction: column;
  gap: 9px;
  margin-top: 0;
}
.rc-subs h2 { font-size: 13px; }
.rc-subs-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.rc-sub {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 12px;
  background: #fff;
  color: #2c3a2b;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.rc-sub-shot {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}
.rc-sub-shot img { width: 100%; height: 100%; object-fit: contain; }
.rc-tips {
  margin-top: 0;
  padding: 13px;
  border: 1px solid #f6edd2;
  background: #fdf8e8;
}
.rc-tips h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b5a1d;
  font-size: 16px;
}
.rc-tips h2 i { color: #d9a521; }
.rc-tips ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.rc-tips li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #5c5746;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.85;
}
.rc-tips li i { margin-top: 3px; color: #2f8d5a; font-size: 11px; }

/* ---------- Suggestions ---------- */
.rc-suggest-card {
  position: relative;
  flex: 0 0 196px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(30, 50, 30, .05);
  scroll-snap-align: start;
}
.rc-suggest-link {
  display: flex;
  /*align-items: center;*/
  justify-content: space-between;
  gap: 6px;
  min-height: 120px;
  padding: 10px;
}
.rc-suggest-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding-top: 15px;
}
.rc-suggest-copy b {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}
.rc-suggest-price { color: #268653; font-size: 10.5px; font-weight: 600; }
.rc-suggest-shot {
  display: grid;
  place-items: center;
  flex: 0 0 92px;
  width: 92px;
  height: 80px;
  overflow: hidden;
  border-radius: 6px;
  background: #f3f6f2;
}
.rc-suggest-shot img { width: 100%; height: 100%; object-fit: cover; }
.rc-suggest-add {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 1px solid #cfe6d5;
  border-radius: 50%;
  background: #fff;
  color: var(--rc-green);
  font-size: 12px;
  line-height: 0;
}
.rc-suggest-add:hover { background: var(--rc-soft); }
/* گلیف بوت‌استرپ با vertical-align پایین می‌افتد؛ جعبه و ::before هر دو وسط می‌مانند. */
.rc-round i,
.rc-round svg,
.rc-suggest-add i {
  display: grid;
  place-items: center;
  width: 1em;
  height: 1em;
  line-height: 0;
}
.rc-round svg {
  width: 16px;
  height: 16px;
}
.rc-round i::before,
.rc-suggest-add i::before,
.rc-ing-search i::before {
  display: block;
  line-height: 1;
  vertical-align: 0;
}
/* ---------- Reviews ---------- */
.rc-rev-track {
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-bottom: 2px;
}
.rc-rev {
  flex: 0 0 168px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(30, 50, 30, .05);
  scroll-snap-align: start;
}
.rc-ava {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  object-fit: cover;
}
.rc-rev-who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rc-rev-who b { font-size: 11px; }
.rc-rev-who small { color: #9aa399; font-size: 9px; }
.rc-rev-meta { margin-top: 6px; }
.rc-stars {
  display: flex;
  align-items: center;
  gap: 1px;
  color: #f3b71c;
  font-size: 10px;
}
.rc-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--rc-soft);
  color: var(--rc-green);
  font-size: 8.5px;
  font-weight: 600;
}
.rc-pending {
  display: inline-flex;
  align-items: center;
  padding: 1px 5px;
  border-radius: 6px;
  background: #fff4d6;
  color: #9a6b00;
  font-size: 8.5px;
  font-weight: 600;
}
.rc-rev p {
  margin: 6px 0 0;
  color: #485046;
  font-size: 10px;
  line-height: 1.7;
}
.rc-rev .rc-sheet-photos {
  margin-top: 6px;
  gap: 4px;
}
.rc-rev .rc-sheet-photos img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}
/* ---------- Buy bar ---------- */
.rc-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 18px 0 14px;
  padding: 10px 12px;
  border-radius: 16px;
  background: linear-gradient(100deg, #1f8a4c, #177a41);
  color: #fff;
  box-shadow: 0 10px 26px rgba(20, 80, 40, .28);
}
.rc-bar-count {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  white-space: nowrap;
}
.rc-bar-count > span:last-child { display: flex; flex-direction: column; line-height: 1.5; }
.rc-bar-basket {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .16);
  font-size: 17px;
}
.rc-bar-basket b {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 3px;
  border-radius: 50%;
  background: #fff;
  color: var(--rc-green-dark);
  font-size: 9.5px;
  font-weight: 800;
}
.rc-bar-total {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}
.rc-bar-total small { font-size: 9px; color: #cfe6d5; }
.rc-bar-total b { font-size: 16px; font-weight: 900; }
.rc-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border: 0;
  border-radius: 11px;
  background: #fff;
  color: var(--rc-green-dark);
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}
.rc-bar-btn:disabled { opacity: .55; }
.rc-bar-btn i { font-size: 11px; }

.rc-reviews {
    box-shadow: 0 4px 16px rgba(30, 50, 30, .05);
    padding: 14px;
    border-radius: 18px;
}
.rc-reviews .pd-rev-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 18px;
    align-items: stretch;
}
.rc-reviews .pd-rev-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    scrollbar-width: none;
}
.rc-reviews .pd-rev-track::-webkit-scrollbar { display: none; }
.rc-reviews .rc-rev {
    flex: none;
    width: auto;
    min-width: 0;
}
.rc-reviews .rc-note { grid-column: 1 / -1; margin: 0; align-self: center; }
.pd-rev-summary {
    display: grid;
    grid-template-columns: 1fr 120px;
    grid-template-areas: "bars score" "btn btn";
    gap: 16px 18px;
    background: #fff;
    border: 1px solid #efefeb;
    border-radius: 16px;
    padding: 20px;
}
.pd-rev-score { grid-area: score; text-align: center; align-self: center; }
.pd-rev-score strong { display: block; font-size: 48px; font-weight: 900; color: var(--brand); line-height: 1.1; }
.pd-rev-score .stars { color: #f5b301; font-size: 15px; margin: 6px 0; display: flex; justify-content: center; gap: 2px; }
.pd-rev-score span { font-size: 13px; color: var(--muted); }
.pd-rev-bars { grid-area: bars; list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pd-rev-bars button {
    width: 100%;
    display: grid;
    grid-template-columns: 58px 1fr 38px;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    padding: 3px 4px;
    border-radius: 8px;
    font: inherit;
    font-size: 13px;
    color: var(--ink-2);
}
.pd-rev-bars button:hover { background: #f5f8f2; }
.pd-rev-bars i { height: 7px; border-radius: 4px; background: #edf0ea; position: relative; overflow: hidden; }
.pd-rev-bars i::after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 0;
    background: var(--brand);
    border-radius: 4px;
    transition: width 1s cubic-bezier(.2, .8, .2, 1);
}
.pd-rev-bars i.low::after { background: #f2a33a; }
.in-view .pd-rev-bars i::after { width: var(--w); }
.pd-rev-bars small { text-align: left; color: var(--muted); }
.pd-rev-summary > .btn { grid-area: btn; height: 44px; gap: 8px; }
/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .rc-reviews .pd-rev-grid { grid-template-columns: 1fr; }
}

@media (max-width: 991.98px) {
  .rc-reviews .pd-rev-track {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .rc-reviews .rc-rev { scroll-snap-align: start; }
  .pd-rev-summary { grid-template-columns: 1fr 96px; padding: 16px; }
  .pd-rev-score strong { font-size: 40px; }
}

@media (max-width: 575.98px) {
    .rc-hero-body {
        padding: 0 14px 14px;
    }

    .rc-hero h1 {
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .rc-meta {
        gap: 10px;
    }

        .rc-meta i {
            font-size: 13px;
        }

        .rc-meta b {
            font-size: 10px;
        }

    .rc-cta {
        padding: 6px 9px;
        font-size: 10px;
        gap: 4px;
        border-radius: 9px;
    }

    .rc-cta i {
        font-size: 12px;
    }

    .rc-card {
        padding: 12px;
    }

    .rc-seg {
        overflow-x: auto;
    }

    .rc-ing-shot {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }

    .rc-ing-stock {
        font-size: 9px;
    }

    .rc-ing-row {
        gap: 6px;
    }

    .rc-bar {
        gap: 6px;
        padding: 8px 10px;
    }

    .rc-bar-count {
        font-size: 9.5px;
        gap: 6px;
    }

    .rc-bar-basket {
        width: 33px;
        height: 33px;
        font-size: 15px;
    }

    .rc-bar-total b {
        font-size: 14px;
    }

    .rc-bar-btn {
        padding: 8px 10px;
        font-size: 10.5px;
    }
}

@media (min-width: 992px) {
  /* دسکتاپ: متن بزرگ‌تر است و از لبه راست فاصله دارد. */
  .rc-hero-stage { min-height: 480px; }
  .rc-hero-copy { width: 56%; }
  .rc-hero-body { padding: 0 48px 32px 24px; }
  .rc-hero h1 { font-size: 52px; margin: 12px 0 10px; }
  .rc-tag { font-size: 13px; padding: 5px 12px; }
  .rc-tag i { font-size: 14px; }
  .rc-rate { font-size: 15px; gap: 8px; margin: 0 0 16px; }
  .rc-rate i { font-size: 16px; }
  .rc-rate b { font-size: 18px; }
  .rc-rate span { font-size: 13px; }
  .rc-meta { gap: 22px; margin: 0 0 18px; }
  .rc-meta i { font-size: 22px; }
  .rc-meta b { font-size: 15px; }
  .rc-meta small { font-size: 11px; }
  .rc-cta { padding: 14px 22px; font-size: 16px; gap: 10px; border-radius: 14px; }
  .rc-cta i { font-size: 18px; }
  .rc-step-shot { height: 175px; }
  .rc-rev { flex: 1 1 0; }
  .rc-bar { padding: 12px 18px; }
  .rc-bar-total b { font-size: 18px; }
}

/* ---------- Reviews sheet ---------- */
html.rc-sheet-open,
body.rc-sheet-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}
body.rc-sheet-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}
.rc-sheet.offcanvas.offcanvas-bottom {
  inset-inline: 0;
  width: min(1240px, 100%);
  height: min(92vh, 920px);
  margin-inline: auto;
  border: 0;
  border-radius: 22px 22px 0 0;
  background: #f6f7f4;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.rc-sheet-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin-inline: 0;
  padding: 0 40px;
}
.rc-sheet-bar,
.rc-sheet-scroll {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  box-sizing: border-box;
}
.rc-sheet.offcanvas.offcanvas-bottom:not(.showing):not(.show) {
  transform: translateY(100%);
}
.rc-sheet.offcanvas.offcanvas-bottom.showing,
.rc-sheet.offcanvas.offcanvas-bottom.show:not(.hiding) {
  transform: translateY(0);
}
.rc-sheet-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 0 6px;
}
.rc-sheet-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #243028;
  font-size: 20px;
  text-decoration: none;
}
.rc-sheet-badge {
  position: absolute;
  top: 2px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid #f6f7f4;
  border-radius: 9px;
  background: var(--rc-green);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}
.rc-sheet-heading {
  min-width: 0;
  text-align: center;
}
.rc-sheet-heading b {
  display: block;
  font-size: 15px;
  font-weight: 800;
}
.rc-sheet-product {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: #5d675f;
  font-size: 12px;
}
.rc-sheet-product img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.rc-sheet-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 22px 0 16px;
}
.rc-sheet-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 4px 12px;
}
.rc-sheet-rate {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 132px;
  text-align: center;
}
.rc-sheet-rate strong {
  color: #1c1c1c;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}
.rc-sheet-stars,
.rc-sheet-pick {
  display: flex;
  gap: 2px;
  color: #f5b400;
  font-size: 14px;
}
.rc-sheet-rate small,
.rc-sheet-rate > span {
  color: #7d867e;
  font-size: 12px;
}
.rc-sheet-rec {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  padding: 6px 8px;
  border-radius: 12px;
  background: #e7f6ec;
  color: var(--rc-green-dark);
  font-size: 10px;
  line-height: 1.45;
  text-align: right;
}
.rc-sheet-rec i {
  flex: 0 0 auto;
  font-size: 16px;
}
.rc-sheet-bars {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rc-sheet-bars li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: #667067;
  font-size: 11px;
}
.rc-sheet-bars i {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: #e5eee7;
  overflow: hidden;
}
.rc-sheet-bars i span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--rc-green);
}
.rc-sheet-bars b {
  min-width: 1.6em;
  color: #3d463f;
  font-weight: 700;
  text-align: left;
}
.rc-sheet-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin: 4px 0 10px;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.rc-sheet-chips button {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid #e3e8e1;
  border-radius: 999px;
  background: #fff;
  color: #3e4840;
  font-size: 11px;
  font-weight: 700;
}
.rc-sheet-chips button.is-on {
  border-color: var(--rc-green);
  background: var(--rc-green);
  color: #fff;
}
.rc-sheet-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #e8f7ee;
  color: #3d8b5a;
  font-size: 12px;
  font-weight: 700;
}
.rc-sheet-card {
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(30, 50, 30, .05);
}
.rc-sheet-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rc-sheet-ava {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e7f6ec;
  color: var(--rc-green-dark);
  font-size: 14px;
  font-weight: 800;
}
.rc-sheet-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.rc-sheet-who b { font-size: 13px; }
.rc-sheet-who small { color: #9aa399; font-size: 11px; }
.rc-sheet-card .rc-verified,
.rc-sheet-card .rc-pending { font-size: 10px; }
.rc-sheet-card .rc-stars {
  margin-inline-start: auto;
  font-size: 12px;
}
.rc-sheet-card p {
  margin: 8px 0 0;
  color: #3c453e;
  font-size: 13px;
  line-height: 1.8;
}
.rc-sheet-photos {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.rc-sheet-photos img {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
  background: #f6f7f4;
}
.rc-sheet-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #8b938c;
  font-size: 11px;
}
.rc-sheet-help button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 0;
  border-radius: 999px;
  background: #f4f6f3;
  color: #4d574f;
  font-size: 11px;
}
.rc-sheet-help button.is-on {
  background: #e7f6ec;
  color: var(--rc-green-dark);
}
.rc-sheet-empty {
  margin: 12px 0;
  color: var(--rc-muted);
  font-size: 13px;
  text-align: center;
}
.rc-sheet-write {
  margin-top: 8px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(30, 50, 30, .05);
}
.rc-sheet-compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rc-sheet-compose b {
  display: block;
  font-size: 14px;
}
.rc-sheet-compose p {
  margin: 2px 0 8px;
  color: #8b938c;
  font-size: 11px;
}
.rc-sheet-pick button {
  padding: 0;
  border: 0;
  background: none;
  color: #d5d8d2;
  font-size: 22px;
  line-height: 1;
}
.rc-sheet-pick button.is-on,
.rc-sheet-pick .bi-star-fill { color: #f5b400; }
.rc-sheet-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 92px;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--rc-green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.rc-sheet-send:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.rc-sheet-form { margin-top: 12px; }
.rc-sheet-form textarea { border-radius: 12px; font-size: 13px; }
.rc-sheet-files {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.rc-sheet-file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 10px;
  border: 1px dashed #c9d4cb;
  border-radius: 10px;
  color: var(--rc-green-dark);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.rc-sheet-file input { display: none; }
.rc-sheet-files small { color: #8b938c; font-size: 11px; }
.rc-sheet-previews {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.rc-sheet-previews figure {
  position: relative;
  margin: 0;
}
.rc-sheet-previews img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: contain;
  object-position: center;
  background: #f6f7f4;
}
.rc-sheet-previews button {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: #243028;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
}
.rc-sheet-recommend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
}
.rc-sheet-msg {
  margin: 8px 0 0;
  font-size: 12px;
}
.rc-sheet-msg.is-ok { color: var(--rc-green-dark); }
.rc-sheet-msg.is-bad { color: #b42318; }

@media (min-width: 992px) {
  .rc-sheet-scroll {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.35fr);
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: 22px;
    /*direction: ltr;*/
    align-items: stretch;
    overflow: hidden;
    padding-bottom: 18px;
  }
  .rc-sheet-score,
  .rc-sheet-write,
  .rc-sheet-feed { direction: rtl; }
  .rc-sheet-score {
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin: 0;
    padding: 18px 16px 14px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(30, 50, 30, .06);
  }
  .rc-sheet-rate { align-self: center; }
  .rc-sheet-bars { width: 100%; }
  .rc-sheet-write {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-top: 25px;
  }
  .rc-sheet-compose {
    flex-direction: column;
    align-items: stretch;
  }
  .rc-sheet-send { width: 100%; }
  .rc-sheet-feed {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 0;
    overflow: auto;
    padding-inline-end: 2px;
  }
  .rc-sheet-chips {
    position: sticky;
    top: 0;
    z-index: 1;
    margin-top: 0;
    padding-top: 2px;
    background: #f6f7f4;
  }
}

/* صفحه ی همه ی پیشنهادها. هدر عکس نیست؛ فقط عنوان، دسته ی همین فهرست و کارت پرفروش. */
.rc-rel {
  --rc-green: #1f8a4c;
  --rc-muted: #8a938a;
  padding: 18px 0 32px;
}
.rc-rel-head {
  margin-bottom: 16px;
  text-align: center;
}
.rc-rel-head h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.rc-rel-head p {
  margin: 6px 0 0;
  color: var(--rc-muted);
  font-size: 13px;
}
.rc-rel-cats {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.rc-rel-cats::-webkit-scrollbar { display: none; }
.rc-rel-cats button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  background: #fff;
  color: #2c2c2c;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.rc-rel-cats button.is-on {
  border-color: var(--rc-green);
  color: var(--rc-green);
  font-weight: 800;
}
.rc-rel-cats img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
}
.rc-rel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.rc-rel-miss {
  margin: 8px 0 0;
  color: var(--rc-muted);
  text-align: center;
}
.rc-rel-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f3faf4;
  color: #3d6b4a;
  font-size: 12.5px;
  line-height: 1.8;
  text-align: center;
}
.rc-rel-note i {
  flex: 0 0 auto;
  color: #e0a106;
  font-size: 16px;
}
@media (min-width: 768px) {
  .rc-rel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1200px) {
  .rc-rel-head h1 { font-size: 22px; }
  .rc-rel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}

/* ---------- افزودن ماده ---------- */
html.rc-pick-open,
body.rc-pick-open {
  overflow: hidden !important;
  height: 100%;
  overscroll-behavior: none;
}
body.rc-pick-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  touch-action: none;
}
.rc-pick {
  position: fixed;
  inset: 0;
  z-index: 1040;
  display: flex;
  justify-content: center;
  background: #fff;
  color: #1c2418;
  transform: translateY(100%);
  transition: transform .42s cubic-bezier(.22, 1, .36, 1);
}
.rc-pick.is-on { transform: translateY(0); }
.rc-pick[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .rc-pick { transition: none; }
}
.rc-pick-col {
  display: flex;
  flex-direction: column;
  width: min(480px, 100%);
  min-height: 0;
  height: 100%;
  background: #fff;
}
.rc-pick-head {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  direction: ltr;
  padding: 14px 16px 6px;
}
.rc-pick-head h2 {
  margin: 0;
  direction: rtl;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
}
.rc-pick-back,
.rc-pick-cart {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #243028;
  font-size: 20px;
  text-decoration: none;
}
.rc-pick-cart { position: relative; justify-self: end; }
.rc-pick-cart b {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--rc-green);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}
.rc-pick-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 16px 0;
  padding: 0 12px;
  border-radius: 12px;
  background: #f3f5f2;
  color: #8b948c;
}
.rc-pick-search input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 0;
  background: transparent;
  color: #243028;
  font: inherit;
  font-size: 13px;
}
.rc-pick-search input:focus { outline: none; }
.rc-pick-cats {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 0 16px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.rc-pick-cats::-webkit-scrollbar { display: none; }
.rc-pick-cats button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e6ebe4;
  border-radius: 999px;
  background: #fff;
  color: #3c463f;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.rc-pick-cats button.is-on {
  border-color: var(--rc-green);
  color: var(--rc-green-dark);
}
.rc-pick-cats img,
.rc-pick-cats i {
  width: 18px;
  height: 18px;
  object-fit: contain;
  object-position: center;
  font-size: 16px;
}
.rc-pick-tools {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 16px;
}
.rc-pick-filter,
.rc-pick-sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #e6ebe4;
  border-radius: 10px;
  background: #fff;
  color: #3c463f;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.rc-pick-current {
  color: var(--rc-green);
  font-size: 13px;
  font-weight: 800;
}
.rc-pick-sort { position: relative; margin-inline-start: auto; }
.rc-pick-menu,
.rc-pick-panel {
  position: absolute;
  z-index: 2;
  top: calc(100% + 6px);
  min-width: 180px;
  padding: 6px;
  border: 1px solid #e6ebe4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 40, 20, .08);
}
.rc-pick-menu { inset-inline-end: 0; }
.rc-pick-panel { inset-inline-start: 0; }
.rc-pick-menu button,
.rc-pick-panel button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #243028;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  cursor: pointer;
}
.rc-pick-menu button[aria-selected="true"] { color: var(--rc-green); }
.rc-pick-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
}
.rc-pick-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 16px 12px;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.rc-pick-cats { overscroll-behavior: contain; touch-action: pan-x; }
.rc-pick-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f3ee;
}
.rc-pick-row[hidden] { display: none; }
.rc-pick-plus { display: none; }
.rc-pick-shot {
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid #e4ebe3;
  border-radius: 12px;
  background: #f3f6f2;
  color: #b7c3b8;
  font-size: 22px;
}
.rc-pick-shot img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}
.rc-pick-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: right;
}
.rc-pick-copy b {
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rc-pick-copy small { color: #9aa39a; font-size: 11px; }
.rc-pick-copy span { color: var(--rc-green); font-size: 12px; font-weight: 800; }
.rc-pick-copy em { font-style: normal; font-weight: 600; }
.rc-pick-add,
.rc-pick-stepper {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #b7dfc4;
  border-radius: 999px;
  background: #fff;
  color: var(--rc-green-dark);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}
.rc-pick-add { cursor: pointer; }
.rc-pick-add:disabled { opacity: .4; cursor: default; }
.rc-pick-stepper button {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rc-green);
  cursor: pointer;
}
.rc-pick-stepper output {
  min-width: 18px;
  color: #243028;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}
.rc-pick-empty {
  margin: 28px 0;
  color: var(--rc-muted);
  font-size: 13px;
  text-align: center;
}
.rc-pick-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  direction: ltr;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid #eef2ec;
  background: #fff;
  box-shadow: 0 -8px 24px rgba(20, 40, 20, .05);
}
.rc-pick-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
  color: #5d675f;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.rc-pick-meta b { font-size: 13px; }
.rc-pick-clear {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e6ebe4;
  border-radius: 12px;
  background: #fff;
  color: #7d877f;
  cursor: pointer;
}
.rc-pick-sum {
  direction: rtl;
  color: #243028;
  font-size: 11px;
  text-align: center;
}
.rc-pick-sum b {
  display: inline;
  font-size: 14px;
  font-weight: 900;
}
.rc-pick-sum small { color: #8b948c; }
.rc-pick-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--rc-green);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.rc-pick-apply:disabled { opacity: .45; cursor: default; }

/* دسکتاپ: ردیف موبایل جایش را به کارت پیشنهاد ویژه می‌دهد. زیر ۹۹۲ همان ردیف می‌ماند. */
@media (min-width: 992px) {
  .rc-pick-col { width: min(1120px, calc(100% - 48px)); }
  .rc-pick-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
    gap: 12px;
    align-content: start;
    padding: 8px 16px 16px;
  }
  .rc-pick-empty { grid-column: 1 / -1; }
  .rc-pick-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-height: 120px;
    padding: 10px;
    border-bottom: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(30, 50, 30, .05);
  }
  .rc-pick-copy {
    order: -1;
    gap: 6px;
    padding-top: 15px;
    padding-bottom: 22px;
  }
  .rc-pick-copy small { display: none; }
  .rc-pick-copy b {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
    white-space: normal;
  }
  .rc-pick-copy span { color: #268653; font-size: 10.5px; font-weight: 600; }
  .rc-pick-shot {
    flex: 0 0 92px;
    width: 92px;
    height: 80px;
    overflow: hidden;
    border: 0;
    border-radius: 6px;
    background: #f3f6f2;
    font-size: 22px;
  }
  .rc-pick-shot img { object-fit: cover; }
  .rc-pick-add { display: none; }
  .rc-pick-plus {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border: 1px solid #cfe6d5;
    border-radius: 50%;
    background: #fff;
    color: var(--rc-green);
    font-size: 12px;
    cursor: pointer;
  }
  .rc-pick-plus:disabled { opacity: .35; cursor: default; }
  .rc-pick-plus:hover { background: var(--rc-soft); }
  .rc-pick-stepper:not([hidden]) {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 1;
    height: 28px;
    padding: 0 4px;
  }
  .rc-pick-row:has(.rc-pick-stepper:not([hidden])) .rc-pick-plus { display: none; }
}
