/* =========================================================================
   Reboot Store UI 2.0 — single source of truth
   RTL · WooCommerce · Blog · Account · Responsive
   ========================================================================= */

/* 1. Tokens & reset ------------------------------------------------------ */
:root {
  /* Palette — «نارنجی ریبوت (اصلاح‌شده)»
     نارنجی فقط برای اکشن اصلی؛ لینک و متن ثانویه تیره/خنثی.
     هر رنگ متن با نسبت کنتراست ≥ ۴٫۵:۱ روی سفید و کرم انتخاب شده است. */
  --rb-bg: #faf7f2;
  --rb-bg-2: #f3ece1;
  --rb-surface: #ffffff;
  --rb-surface-2: #fdfbf7;
  --rb-ink: #2a2018;
  --rb-ink-2: #4a3b2c;
  --rb-muted: #6b5b4a;
  --rb-faint: #8a7a67;
  --rb-line: #e6dccc;
  --rb-line-2: #f3ece1;
  --rb-navy: #2f2118;
  --rb-orange: #9c6b43;        /* لهجه/آیکون/حالت فعال — روی سفید ۳٫۶:۱ */
  --rb-orange-600: #5c3d26;    /* پرکنندهٔ دکمهٔ اصلی — متن سفید ۴٫۶:۱ */
  --rb-orange-700: #6b4a2f;    /* متن و لینک نارنجی — ۵٫۵:۱ */
  --rb-orange-soft: #efe3d2;
  --rb-orange-softer: #f7efe4;
  --rb-green: #10b981;
  --rb-green-soft: #ecfdf5;
  --rb-red: #ef4444;
  --rb-red-soft: #fef2f2;
  --rb-blue: #3b82f6;
  --rb-blue-soft: #eff6ff;
  --rb-purple: #8b5cf6;
  --rb-purple-soft: #f5f3ff;
  --rb-radius: 16px;
  --rb-radius-sm: 12px;
  --rb-radius-lg: 22px;
  --rb-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 14px 34px -22px rgba(15, 23, 42, .22);
  --rb-shadow-lg: 0 30px 70px -34px rgba(15, 23, 42, .35);
  --rb-container: 1280px;
  --rb-font: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --rb-ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.rb-body {
  margin: 0;
  direction: rtl;
  background: var(--rb-bg);
  color: var(--rb-ink);
  font-family: var(--rb-font);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.rb-body.rb-drawer-open { overflow: hidden; }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { line-height: 1.45; font-weight: 800; }
::selection { background: var(--rb-orange); color: #fff; }
:focus-visible { outline: 3px solid rgba(232, 89, 12, .5); outline-offset: 2px; border-radius: 8px; }

.rb-ic { flex: none; vertical-align: middle; }
.rb-skip {
  position: fixed; top: -100px; right: 16px; z-index: 9999;
  background: var(--rb-ink); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 12px;
  transition: top .2s;
}
.rb-skip:focus { top: 0; }
.rb-container { width: 100%; max-width: var(--rb-container); margin-inline: auto; padding-inline: 20px; }
.rb-main { min-height: 55vh; }
.rb-section { padding: 38px 0; }
.rb-section--tight { padding: 24px 0; }
.rb-section--soft { background: var(--rb-bg-2); }
.rb-hidden { display: none !important; }
.rb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 2. Shared components --------------------------------------------------- */
.rb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border: 1px solid transparent; border-radius: 12px;
  font-weight: 800; font-size: 13.5px; line-height: 1; cursor: pointer; transition: all .2s var(--rb-ease);
  background: var(--rb-ink); color: #fff;
}
.rb-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(15, 23, 42, .5); }
.rb-btn:active { transform: translateY(0); }
/* اکشن اصلی: تنها جای نارنجیِ پُر */
.rb-btn--primary { background: var(--rb-orange-600); color: #fff; }
.rb-btn--primary:hover { background: var(--rb-orange-700); box-shadow: 0 10px 22px -14px rgba(184, 67, 10, .75); }
.rb-btn--dark { background: var(--rb-navy); color: #fff; }
.rb-btn--soft { background: var(--rb-orange-soft); color: var(--rb-orange-700); }
.rb-btn--soft:hover { background: var(--rb-orange-600); color: #fff; }
.rb-btn--ghost { background: #fff; border-color: var(--rb-line); color: var(--rb-ink-2); }
.rb-btn--ghost:hover { border-color: var(--rb-ink-2); color: var(--rb-ink); }
.rb-btn--block { width: 100%; }
.rb-btn--sm { min-height: 38px; padding: 8px 14px; font-size: 12.5px; border-radius: 10px; }
.rb-btn[disabled], .rb-btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.rb-badge {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 999px; padding: 4px 9px; font-size: 10.5px; font-weight: 800; line-height: 1.6;
}
.rb-badge--sale { background: var(--rb-red); color: #fff; }
.rb-badge--new { background: var(--rb-ink); color: #fff; }
.rb-badge--out { background: #e2e8f0; color: #475569; }
.rb-badge--soft { background: var(--rb-orange-soft); color: var(--rb-orange-700); }
.rb-badge--green { background: var(--rb-green-soft); color: #047857; }

.rb-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--rb-orange-soft); color: var(--rb-orange-700); font-size: 12px; font-weight: 700;
}
.rb-crumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  font-size: 12.5px; color: var(--rb-muted); padding: 14px 0;
}
.rb-crumbs a { color: var(--rb-ink-2); font-weight: 600; }
.rb-crumbs a:hover { color: var(--rb-ink); }
.rb-crumbs__sep { color: var(--rb-faint); display: inline-flex; }
.rb-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 26px 0 8px; }
.rb-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 11px;
  background: #fff; border: 1px solid var(--rb-line); color: var(--rb-ink-2);
  font-weight: 700; font-size: 13px; transition: .2s;
}
.rb-pagination .page-numbers:hover { border-color: var(--rb-ink-2); color: var(--rb-ink); }
.rb-pagination .page-numbers.current { background: var(--rb-ink); border-color: var(--rb-ink); color: #fff; }
.rb-pagination .dots { border: 0; background: transparent; }
.rb-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; min-width: 0; }
.rb-section-head__text { display: flex; align-items: center; gap: 12px; }
.rb-section-head__icon {
  width: 42px; height: 42px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--rb-bg-2); color: var(--rb-ink-2); flex: none;
}
.rb-section-head h2 { font-size: 20px; font-weight: 900; letter-spacing: -.2px; }
.rb-section-head p { margin-top: 3px; color: var(--rb-muted); font-size: 12.5px; }
.rb-section-head__link { display: inline-flex; align-items: center; gap: 6px; color: var(--rb-ink-2); font-weight: 800; font-size: 12.5px; white-space: nowrap; }
.rb-section-head__link:hover { gap: 10px; color: var(--rb-ink); }
.rb-stars { display: inline-flex; align-items: center; gap: 1px; color: #fbbf24; }
.rb-stars svg { color: #e2e8f0; }
.rb-stars svg.is-on { color: #f59e0b; }
.rb-stars__count { color: var(--rb-faint); font-size: 10.5px; margin-inline-start: 3px; }
.rb-empty {
  background: #fff; border: 1px dashed var(--rb-line); border-radius: var(--rb-radius);
  padding: 46px 24px; text-align: center; color: var(--rb-muted);
}
.rb-empty__icon {
  width: 72px; height: 72px; border-radius: 22px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--rb-orange-soft); color: var(--rb-orange-600);
}
.rb-empty h2, .rb-empty h3 { font-size: 18px; color: var(--rb-ink); margin-bottom: 6px; }
.rb-empty p { font-size: 13px; max-width: 420px; margin: 0 auto 18px; }
.rb-empty__actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.rb-thumb-fallback {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
  background: linear-gradient(135deg, #efe3d2, #e8d9c4); color: var(--rb-orange-700);
}

/* 3. Top bar & header ---------------------------------------------------- */
/* هدر سبک: یک نوار باریک ۳۰px + هدر ۶۸px + منوی ۴۶px (قبلاً ۱۷۶px بود). */
.rb-topbar {
  background: var(--rb-navy); color: rgba(255, 255, 255, .78); font-size: 11.5px;
}
.rb-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 30px; }
.rb-topbar__promo { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .78); }
.rb-topbar__promo .rb-ic { color: #c9a279; }
.rb-topbar__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.rb-topbar__muted { color: rgba(255, 255, 255, .62); }
.rb-topbar__links { display: flex; align-items: center; gap: 18px; }
.rb-topbar__links a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .72); transition: color .2s; }
.rb-topbar__links a:hover { color: #c9a279; }
.rb-topbar__phone { color: #fff !important; font-weight: 700; direction: ltr; }

.rb-header {
  position: sticky; top: 0; z-index: 120; background: #fff;
  border-bottom: 1px solid var(--rb-line-2);
  transition: box-shadow .25s, border-color .25s;
}
.rb-header.is-stuck { box-shadow: 0 14px 30px -22px rgba(15, 23, 42, .35); border-color: transparent; }
body.admin-bar { padding-top: 32px; }
body.admin-bar .rb-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar { padding-top: 46px; }
  body.admin-bar .rb-header { top: 46px; }
}
.rb-header__mainin {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 26px; min-height: 68px;
}
.rb-burger {
  display: none; align-items: center; gap: 7px; background: var(--rb-bg);
  border: 1px solid var(--rb-line); border-radius: 12px; height: 44px; padding: 0 12px;
  color: var(--rb-ink); font-weight: 700; font-size: 12px;
}
.rb-burger:hover { border-color: var(--rb-ink-2); color: var(--rb-ink); }
.rb-burger__label { display: none; }

.rb-logo { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.rb-logo__mark {
  width: 42px; height: 42px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--rb-orange), var(--rb-orange-600)); color: #fff;
  box-shadow: 0 10px 20px -14px rgba(184, 67, 10, .9);
}
.rb-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.rb-logo__word { font-size: 20px; font-weight: 900; letter-spacing: -.4px; color: var(--rb-ink); }
.rb-logo__sep { color: #cbd5e1; font-weight: 300; margin: 0 5px; }
.rb-logo__tag { font-size: 8px; letter-spacing: 2.4px; color: var(--rb-faint); margin-top: 4px; font-weight: 600; }
.rb-logo--footer .rb-logo__word { color: #fff; }
.rb-logo--footer .rb-logo__tag { color: rgba(255, 255, 255, .4); }
.rb-logo--footer .rb-logo__mark { width: 44px; height: 44px; }
.rb-logo--drawer .rb-logo__word { font-size: 18px; }

.rb-search {
  position: relative; display: flex; align-items: center; height: 50px;
  background: var(--rb-bg); border: 1px solid var(--rb-line); border-radius: 14px;
  padding: 4px; max-width: 640px; width: 100%; justify-self: center;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.rb-search:focus-within { background: #fff; border-color: var(--rb-orange); box-shadow: 0 0 0 4px rgba(232, 89, 12, .12); }
.rb-search__icon { display: inline-flex; color: var(--rb-faint); padding-inline-start: 10px; }
.rb-search__input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 10px; font-size: 13px; outline: 0; }
.rb-search__input::placeholder { color: var(--rb-faint); }
.rb-search__btn {
  display: inline-flex; align-items: center; gap: 7px; height: 100%; padding: 0 22px;
  border: 0; border-radius: 10px; background: var(--rb-orange-600);
  color: #fff; font-weight: 800; font-size: 13px; white-space: nowrap;
}
.rb-search__btn:hover { background: var(--rb-orange-700); }

.rb-actions { display: flex; align-items: center; gap: 6px; }
.rb-action {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 9px; border: 1px solid transparent;
  border-radius: 12px; background: transparent; color: var(--rb-ink); transition: .2s;
}
.rb-action:hover { background: var(--rb-bg); border-color: var(--rb-line); }
.rb-action__icon {
  position: relative; width: 40px; height: 40px; border-radius: 11px; display: inline-flex;
  align-items: center; justify-content: center; background: var(--rb-bg); color: var(--rb-ink);
}
.rb-action--cart .rb-action__icon { background: var(--rb-orange-soft); color: var(--rb-orange-700); }
.rb-action__text { display: flex; flex-direction: column; line-height: 1.25; text-align: right; }
.rb-action__text small { color: var(--rb-faint); font-size: 10px; font-weight: 500; }
.rb-action__text strong { font-size: 12px; font-weight: 800; }
.rb-action__chev { color: var(--rb-faint); }
.rb-avatar { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; display: inline-flex; background: var(--rb-orange-soft); flex: none; }
.rb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rb-avatar--lg { width: 42px; height: 42px; }
.rb-cart-count {
  position: absolute; top: -5px; left: -5px; min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rb-orange-600); color: #fff; border-radius: 999px; font-size: 10px; font-weight: 800;
  border: 2px solid #fff;
}
.rb-cart-count[hidden] { display: none !important; }
.rb-account { position: relative; }
.rb-account__menu {
  position: absolute; top: calc(100% + 10px); left: 0; width: 254px; z-index: 50;
  background: #fff; border: 1px solid var(--rb-line); border-radius: 16px; padding: 8px;
  box-shadow: var(--rb-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .2s var(--rb-ease);
}
.rb-account.is-open .rb-account__menu,
.rb-account:hover .rb-account__menu,
.rb-account:focus-within .rb-account__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.rb-account__head { display: flex; align-items: center; gap: 10px; padding: 8px 10px 12px; border-bottom: 1px solid var(--rb-line-2); margin-bottom: 6px; }
.rb-account__head div { display: flex; flex-direction: column; min-width: 0; }
.rb-account__head strong { font-size: 12.5px; }
.rb-account__head small { color: var(--rb-faint); font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; }
.rb-account__menu a {
  display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 10px;
  font-size: 12.5px; font-weight: 600; color: var(--rb-ink-2);
}
.rb-account__menu a:hover { background: var(--rb-orange-softer); color: var(--rb-orange-700); }
.rb-account__menu a.rb-account__logout { color: #dc2626; border-top: 1px solid var(--rb-line-2); margin-top: 5px; padding-top: 11px; border-radius: 0 0 10px 10px; }
.rb-account__menu a.rb-account__logout:hover { background: var(--rb-red-soft); }

.rb-navbar { border-top: 1px solid var(--rb-line-2); background: #fff; }
.rb-navbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.rb-nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.rb-nav__item { position: static; }
.rb-nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 9px;
  color: var(--rb-ink-2); font-size: 12.5px; font-weight: 700; white-space: nowrap; transition: .18s;
}
.rb-nav__link .rb-ic { color: var(--rb-faint); transition: color .18s; }
/* نارنجی فقط برای «اینجا هستید»؛ hover خنثی می‌ماند */
.rb-nav__link:hover { background: var(--rb-bg-2); color: var(--rb-ink); }
.rb-nav__link:hover .rb-ic { color: var(--rb-ink-2); }
.rb-nav__link.is-active { background: var(--rb-orange-soft); color: var(--rb-orange-700); }
.rb-nav__link.is-active .rb-ic { color: var(--rb-orange-600); }
.rb-nav__chev { opacity: .6; }
.rb-navbar__extra { flex: none; }
.rb-navbar__service {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700;
  color: var(--rb-ink-2); background: #fff; border: 1px solid var(--rb-line);
  padding: 7px 12px; border-radius: 999px;
}
.rb-navbar__service .rb-ic { color: var(--rb-orange-600); }
.rb-navbar__service:hover { border-color: var(--rb-orange); color: var(--rb-orange-700); }

/* Mega menu */
.rb-mega {
  position: absolute; top: calc(100% - 4px); left: 50%; width: min(1160px, calc(100vw - 36px));
  transform: translate(-50%, 10px); opacity: 0; visibility: hidden; pointer-events: none;
  background: #fff; border: 1px solid var(--rb-line); border-radius: 20px;
  box-shadow: 0 30px 70px -30px rgba(15, 23, 42, .4); padding: 18px;
  transition: opacity .2s var(--rb-ease), transform .2s var(--rb-ease), visibility .2s;
  z-index: 40;
}
.rb-nav__item:hover .rb-mega, .rb-nav__item:focus-within .rb-mega, .rb-nav__item.is-open .rb-mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.rb-mega__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 2px 6px 14px; border-bottom: 1px solid var(--rb-line-2); margin-bottom: 14px; }
.rb-mega__title { display: flex; align-items: center; gap: 10px; }
.rb-mega__titleic { width: 38px; height: 38px; border-radius: 11px; background: var(--rb-orange-soft); color: var(--rb-orange-600); display: inline-flex; align-items: center; justify-content: center; }
.rb-mega__title div { display: flex; flex-direction: column; }
.rb-mega__title strong { font-size: 14px; font-weight: 900; }
.rb-mega__title small { color: var(--rb-muted); font-size: 11px; }
.rb-mega__all { display: inline-flex; align-items: center; gap: 6px; color: var(--rb-orange-700); font-weight: 800; font-size: 12px; }
.rb-mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 250px; gap: 14px; }
.rb-mega__grid--all { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rb-mega__col { background: var(--rb-surface-2); border: 1px solid var(--rb-line-2); border-radius: 14px; padding: 13px; }
.rb-mega__colhead { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 900; padding-bottom: 9px; margin-bottom: 7px; border-bottom: 2px solid var(--rb-line); }
.rb-mega__colhead--plain { border-bottom-color: var(--rb-line); color: var(--rb-ink); }
.rb-tone-orange .rb-mega__colhead { color: var(--rb-orange-700); border-bottom-color: var(--rb-orange); }
.rb-tone-blue .rb-mega__colhead { color: #1d4ed8; border-bottom-color: #93c5fd; }
.rb-tone-pink .rb-mega__colhead { color: #be185d; border-bottom-color: #f9a8d4; }
.rb-tone-green .rb-mega__colhead { color: #047857; border-bottom-color: #6ee7b7; }
.rb-tone-dark .rb-mega__colhead { color: #4a3b2c; border-bottom-color: #94a3b8; }
.rb-tone-purple .rb-mega__colhead { color: #6d28d9; border-bottom-color: #c4b5fd; }
.rb-mega__col ul { display: grid; gap: 1px; }
.rb-mega__col li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 7px; border-radius: 8px; font-size: 12px; color: #475569; transition: .16s; }
.rb-mega__col li a:hover { background: #fff; color: var(--rb-orange-700); box-shadow: 0 2px 10px -6px rgba(15, 23, 42, .2); }
.rb-mega__catname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-mega__count { font-size: 10px; color: var(--rb-faint); background: #fff; border: 1px solid var(--rb-line); border-radius: 999px; padding: 1px 6px; flex: none; }
.rb-mega__soon { font-size: 9px; color: var(--rb-faint); background: var(--rb-bg-2); border-radius: 999px; padding: 1px 6px; flex: none; }
.rb-mega__promo {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 8px; padding: 18px; border-radius: 16px; min-height: 230px;
  background: linear-gradient(150deg, var(--rb-navy) 10%, #3d2d20 55%, #6b4a2f 145%); color: #fff;
}
.rb-mega__promo-badge { align-self: flex-start; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 3px 9px; font-size: 10px; font-weight: 700; }
.rb-mega__promo strong { font-size: 19px; line-height: 1.5; font-weight: 900; }
.rb-mega__promo-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #c9a279; font-weight: 800; }
.rb-mega__promo-orb { position: absolute; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 89, 12, .5), transparent 68%); top: -50px; left: -40px; }
.rb-mega--all { width: min(1220px, calc(100vw - 36px)); }

/* 4. Drawer -------------------------------------------------------------- */
.rb-drawer {
  position: fixed; inset-block: 0; right: 0; width: 350px; max-width: 90vw; z-index: 300;
  background: #fff; display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .3s var(--rb-ease);
  box-shadow: -30px 0 60px -30px rgba(15, 23, 42, .4);
}
.rb-drawer.is-open { transform: translateX(0); }
.rb-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-bottom: 1px solid var(--rb-line-2); }
.rb-drawer__close { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--rb-line); background: var(--rb-bg); display: inline-flex; align-items: center; justify-content: center; }
.rb-drawer__close:hover { background: var(--rb-orange-soft); color: var(--rb-orange-700); }
.rb-drawer__search { display: flex; align-items: center; gap: 8px; margin: 12px 16px 4px; padding: 0 12px; height: 46px; background: var(--rb-bg); border: 1px solid var(--rb-line); border-radius: 12px; color: var(--rb-faint); }
.rb-drawer__search input { flex: 1; min-width: 0; border: 0; background: transparent; height: 100%; outline: 0; font-size: 13px; color: var(--rb-ink); }
.rb-drawer__search button { border: 0; background: var(--rb-orange); color: #fff; border-radius: 8px; padding: 7px 11px; font-size: 11.5px; font-weight: 800; }
.rb-drawer__body { flex: 1; overflow-y: auto; padding: 12px 16px 24px; overscroll-behavior: contain; }
.rb-drawer__nav { display: grid; gap: 3px; }
.rb-drawer__link { display: flex; align-items: center; gap: 10px; padding: 11px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: var(--rb-ink-2); }
.rb-drawer__link .rb-ic { color: var(--rb-faint); }
.rb-drawer__link:hover { background: var(--rb-orange-softer); color: var(--rb-orange-700); }
.rb-drawer__link:hover .rb-ic { color: var(--rb-orange-600); }
.rb-drawer__group { border-radius: 12px; background: var(--rb-surface-2); border: 1px solid var(--rb-line-2); overflow: hidden; margin: 3px 0; }
.rb-drawer__group summary { display: flex; align-items: center; gap: 10px; padding: 11px 10px; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 800; }
.rb-drawer__group summary::-webkit-details-marker { display: none; }
.rb-drawer__group summary .rb-ic:first-child { color: var(--rb-orange-600); }
.rb-drawer__group summary span { flex: 1; }
.rb-drawer__chev { color: var(--rb-faint); transition: transform .2s; }
.rb-drawer__group[open] .rb-drawer__chev { transform: rotate(180deg); }
.rb-drawer__sub { padding: 2px 10px 10px; display: grid; gap: 1px; border-top: 1px solid var(--rb-line-2); }
.rb-drawer__subhead { font-size: 10px; font-weight: 800; color: var(--rb-orange-700); padding: 8px 4px 3px; }
.rb-drawer__sub a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 8px; border-radius: 7px; color: #475569; font-size: 12px; }
.rb-drawer__sub a:hover { background: #fff; color: var(--rb-orange-700); }
.rb-drawer__sub a span { color: var(--rb-faint); font-size: 10px; }
.rb-drawer__account { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rb-line-2); display: grid; gap: 2px; }
.rb-drawer__user { display: flex; align-items: center; gap: 10px; padding: 4px 6px 10px; }
.rb-drawer__user div { display: flex; flex-direction: column; }
.rb-drawer__user strong { font-size: 12.5px; }
.rb-drawer__user small { color: var(--rb-faint); font-size: 10.5px; }
.rb-drawer__account a { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: var(--rb-ink-2); }
.rb-drawer__account a:hover { background: var(--rb-orange-softer); color: var(--rb-orange-700); }
.rb-drawer__login { background: var(--rb-orange-soft); color: var(--rb-orange-700) !important; font-weight: 800 !important; }
.rb-drawer__contact { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rb-line-2); display: grid; gap: 6px; }
.rb-drawer__contact a, .rb-drawer__contact span { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--rb-muted); }
.rb-drawer__contact .rb-ic { color: var(--rb-orange-600); }
.rb-backdrop {
  position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 290;
  backdrop-filter: blur(2px); opacity: 0; transition: opacity .25s;
}
.rb-backdrop.is-open { opacity: 1; }

/* 5. Home: hero ---------------------------------------------------------- */
.rb-hero { padding-top: 22px; }
.rb-hero__shell {
  position: relative; overflow: hidden; border-radius: var(--rb-radius-lg);
  background: linear-gradient(120deg, #fff 0%, #faf7f2 55%, #efe3d2 100%);
  border: 1px solid var(--rb-line);
  min-height: 400px;
}
.rb-hero__track { position: relative; min-height: 400px; }
.rb-hero__slide {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1.05fr .95fr;
  opacity: 0; visibility: hidden; transition: opacity .55s var(--rb-ease), visibility .55s;
}
.rb-hero__slide.is-active { opacity: 1; visibility: visible; position: relative; }
.rb-hero__content { padding: 48px 46px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; position: relative; z-index: 2; }
.rb-hero__pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(232, 89, 12, .12); color: var(--rb-orange-700); border: 1px solid rgba(232, 89, 12, .24); padding: 6px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.rb-hero__title { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.4; font-weight: 900; letter-spacing: -.5px; }
.rb-hero__title span { color: var(--rb-orange-600); }
.rb-hero__desc { color: var(--rb-muted); font-size: 13.5px; max-width: 430px; line-height: 1.95; }
.rb-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.rb-hero__stats { display: flex; gap: 18px; margin-top: 10px; color: var(--rb-muted); font-size: 11.5px; }
.rb-hero__stat { display: inline-flex; align-items: center; gap: 6px; }
.rb-hero__stat .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rb-orange); box-shadow: 0 0 0 3px rgba(232, 89, 12, .16); }
.rb-hero__media { position: relative; overflow: hidden; }
.rb-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.rb-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, transparent 55%, #faf7f2 100%); }
.rb-hero__arrows { position: absolute; inset-inline: 14px; top: 50%; transform: translateY(-50%); display: flex; justify-content: space-between; pointer-events: none; }
.rb-hero__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rb-line); background: rgba(255, 255, 255, .9); color: var(--rb-ink); display: inline-flex; align-items: center; justify-content: center; pointer-events: auto; box-shadow: var(--rb-shadow); }
.rb-hero__arrow:hover { background: var(--rb-ink); color: #fff; }
.rb-hero__dots { position: absolute; bottom: 16px; right: 46px; display: flex; gap: 6px; z-index: 3; }
.rb-hero__dot { width: 7px; height: 7px; border-radius: 999px; border: 0; background: #c3c8d1; transition: .25s; padding: 0; }
.rb-hero__dot.is-active { width: 24px; background: var(--rb-orange); }

/* 6. Home: quick categories / trust / grids ----------------------------- */
.rb-quickcat { margin-top: 18px; background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: 18px 16px; box-shadow: var(--rb-shadow); }
.rb-quickcat__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.rb-quickcat__item { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 8px 4px; border-radius: 12px; transition: .2s; }
.rb-quickcat__item:hover { background: var(--rb-orange-softer); transform: translateY(-2px); }
.rb-quickcat__icon { width: 56px; height: 56px; border-radius: 17px; display: inline-flex; align-items: center; justify-content: center; background: var(--rb-orange-soft); color: var(--rb-orange-600); }
.rb-quickcat__item:nth-child(2n) .rb-quickcat__icon { background: var(--rb-blue-soft); color: #2563eb; }
.rb-quickcat__item:nth-child(3n) .rb-quickcat__icon { background: var(--rb-purple-soft); color: #7c3aed; }
.rb-quickcat__item:nth-child(4n) .rb-quickcat__icon { background: var(--rb-green-soft); color: #059669; }
.rb-quickcat__name { font-size: 12px; font-weight: 800; }
.rb-quickcat__count { font-size: 10px; color: var(--rb-faint); }

.rb-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.rb-trust__item { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--rb-line); border-radius: 16px; padding: 14px 16px; }
.rb-trust__icon { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--rb-orange-soft); color: var(--rb-orange-600); flex: none; }
.rb-trust__item:nth-child(2) .rb-trust__icon { background: #eff6ff; color: #2563eb; }
.rb-trust__item:nth-child(3) .rb-trust__icon { background: #ecfdf5; color: #059669; }
.rb-trust__item:nth-child(4) .rb-trust__icon { background: #f5f3ff; color: #7c3aed; }
.rb-trust__item strong { display: block; font-size: 12.5px; font-weight: 800; }
.rb-trust__item span { color: var(--rb-muted); font-size: 10.5px; }

/* 7. Product cards ------------------------------------------------------- */
.rb-products { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.rb-products--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rb-products--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rb-products--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.rb-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--rb-line); border-radius: 16px; overflow: hidden;
  transition: transform .22s var(--rb-ease), box-shadow .22s var(--rb-ease), border-color .22s;
}
.rb-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -26px rgba(15, 23, 42, .38); border-color: #ded7c9; }
/* ناموجودها عقب‌تر می‌نشینند تا موجودها اول دیده شوند */
.rb-card.is-out { background: var(--rb-surface-2); }
.rb-card.is-out .rb-card__media { background: var(--rb-surface-2); }
.rb-card.is-out .rb-card__img { filter: grayscale(.55); opacity: .75; }
.rb-card__media { position: relative; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; border-bottom: 1px solid var(--rb-line-2); }
.rb-card__image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 10px; }
.rb-card__img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s var(--rb-ease), filter .25s, opacity .25s; }
.rb-card:hover .rb-card__img { transform: scale(1.04); }
.rb-card__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--rb-faint); background: var(--rb-surface-2); }
.rb-card__badges { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; z-index: 2; }
.rb-card__wish {
  position: absolute; top: 8px; left: 8px; width: 31px; height: 31px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--rb-line); color: var(--rb-muted);
  display: inline-flex; align-items: center; justify-content: center; z-index: 2; transition: .2s;
}
.rb-card__wish:hover { background: var(--rb-red); color: #fff; border-color: var(--rb-red); }
.rb-card__quick {
  position: absolute; inset-inline: 8px; bottom: 8px; opacity: 0; transform: translateY(6px);
  transition: .22s; z-index: 2;
}
.rb-card:hover .rb-card__quick { opacity: 1; transform: translateY(0); }
.rb-card__quick a { display: flex; align-items: center; justify-content: center; gap: 6px; background: rgba(17, 24, 39, .9); color: #fff; border-radius: 9px; padding: 7px; font-size: 11px; font-weight: 700; backdrop-filter: blur(4px); }
.rb-card__body { padding: 11px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rb-card__cat { font-size: 10.5px; font-weight: 600; color: var(--rb-muted); }
.rb-card__cat:hover { color: var(--rb-ink); text-decoration: underline; text-underline-offset: 3px; }
.rb-card__title { font-size: 12.5px; font-weight: 700; line-height: 1.7; min-height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rb-card__title a:hover { color: var(--rb-orange-700); }
.rb-card__price { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; flex-wrap: wrap; }

/* قیمت: نهایی بزرگ در یک خط، خط‌خوردهٔ کوچک زیرش — هرگز روی هم نمی‌افتند */
.rb-price {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px;
  font-weight: 900; color: var(--rb-ink); font-size: 14.5px; line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.rb-price ins { text-decoration: none; font-weight: 900; color: var(--rb-ink); white-space: nowrap; }
.rb-price del { color: var(--rb-muted); font-weight: 500; font-size: 11px; text-decoration: line-through; white-space: nowrap; }
.rb-price .woocommerce-Price-currencySymbol { font-size: .8em; font-weight: 600; color: var(--rb-muted); }
.rb-price--out, .rb-price--soon { color: var(--rb-muted); font-size: 12px; font-weight: 700; }
.rb-card.is-out .rb-price ins { color: var(--rb-ink-2); }

/* اکشن کارت: نرم و کم‌نارنجی؛ نارنجیِ پُر فقط برای دکمهٔ اصلی صفحه */
.rb-card__cta {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
  margin-top: 6px; padding: 9px 10px; border-radius: 9px; background: var(--rb-orange-soft);
  color: var(--rb-orange-700); font-size: 11.5px; font-weight: 800; transition: .2s;
}
.rb-card__cta:hover { background: var(--rb-orange-600); color: #fff; }
.rb-card__cta.is-disabled { background: #eef0f3; color: var(--rb-muted); cursor: not-allowed; }
.rb-card__cta--ghost {
  background: #fff; color: var(--rb-ink-2); border: 1px solid var(--rb-line);
}
.rb-card__cta--ghost:hover { background: var(--rb-ink); border-color: var(--rb-ink); color: #fff; }
.rb-card__cta.loading { opacity: .6; pointer-events: none; }
.rb-card__cta.added { background: #ecfdf5; color: #047857; }

/* 8. Home: category showcase -------------------------------------------- */
.rb-catshow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rb-catshow__card { background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); overflow: hidden; box-shadow: var(--rb-shadow); }
.rb-catshow__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--rb-line-2); background: linear-gradient(120deg, #fff, #fdfaf5); }
.rb-catshow__title { display: flex; align-items: center; gap: 10px; }
.rb-catshow__icon { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--rb-orange-soft); color: var(--rb-orange-600); }
.rb-catshow__card--mobile .rb-catshow__icon { background: var(--rb-purple-soft); color: #7c3aed; }
.rb-catshow__title h3 { font-size: 15px; font-weight: 900; }
.rb-catshow__title p { color: var(--rb-muted); font-size: 10.5px; }
.rb-catshow__view { color: var(--rb-ink-2); font-size: 11.5px; font-weight: 800; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.rb-catshow__view:hover { color: var(--rb-ink); }
.rb-catshow__body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 18px 18px; }
.rb-catshow__grouphead { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 900; padding-bottom: 8px; border-bottom: 1px solid var(--rb-line); margin-bottom: 7px; color: var(--rb-ink); }
.rb-catshow__card--mobile .rb-catshow__grouphead { border-bottom-color: var(--rb-line); color: var(--rb-ink); }
.rb-catshow__list { display: grid; gap: 2px; }
.rb-catshow__list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: 12.5px; color: var(--rb-ink-2); transition: .16s; }
.rb-catshow__list a:hover { background: var(--rb-bg-2); color: var(--rb-ink); }
.rb-catshow__list a span { font-size: 10.5px; color: var(--rb-muted); background: var(--rb-bg); border-radius: 999px; padding: 1px 7px; flex: none; }
.rb-catshow__soon { font-size: 9px; color: var(--rb-faint); }

.rb-allcats { margin-top: 14px; background: #fff; border: 1px solid var(--rb-line); border-radius: 16px; padding: 14px 18px; }
.rb-allcats__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rb-allcats__head strong { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 900; }
.rb-allcats__head strong .rb-ic { color: var(--rb-orange-600); }
.rb-allcats__head a { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--rb-orange-700); }
.rb-allcats__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.rb-allcats__chips a { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--rb-line); background: var(--rb-surface-2); border-radius: 999px; padding: 6px 11px; font-size: 11.5px; color: var(--rb-ink-2); }
.rb-allcats__chips a:hover { border-color: var(--rb-orange); color: var(--rb-orange-700); background: var(--rb-orange-softer); }
.rb-allcats__chips .rb-ic { color: var(--rb-orange-600); }
.rb-allcats__chips em { font-style: normal; color: var(--rb-faint); font-size: 9.5px; background: #fff; border-radius: 999px; padding: 1px 5px; }

/* 9. Home: services / games / brands / blog ------------------------------ */
.rb-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rb-service { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; transition: .22s; }
.rb-service:hover { transform: translateY(-4px); box-shadow: var(--rb-shadow); border-color: #ded7c9; }
.rb-service__icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--rb-orange-soft); color: var(--rb-orange-600); }
.rb-service:nth-child(2) .rb-service__icon { background: var(--rb-blue-soft); color: #2563eb; }
.rb-service:nth-child(3) .rb-service__icon { background: var(--rb-purple-soft); color: #7c3aed; }
.rb-service:nth-child(4) .rb-service__icon { background: var(--rb-green-soft); color: #059669; }
.rb-service h3 { font-size: 14px; font-weight: 900; }
.rb-service p { color: var(--rb-muted); font-size: 11.5px; line-height: 1.9; }
.rb-service__link { margin-top: auto; color: var(--rb-orange-700); font-size: 11.5px; font-weight: 800; display: inline-flex; align-items: center; gap: 5px; }

.rb-games { background: #2f2118; border-radius: var(--rb-radius-lg); padding: 24px; color: #fff; }
.rb-games__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.rb-games__title { display: flex; align-items: center; gap: 11px; }
.rb-games__icon { width: 44px; height: 44px; border-radius: 13px; background: rgba(232, 89, 12, .24); color: #b98b5e; display: inline-flex; align-items: center; justify-content: center; }
.rb-games__title h2 { font-size: 19px; font-weight: 900; }
.rb-games__title p { color: rgba(255, 255, 255, .55); font-size: 11px; }
.rb-games__tabs { display: inline-flex; background: rgba(255, 255, 255, .08); padding: 3px; border-radius: 10px; gap: 2px; }
.rb-games__tab { border: 0; background: transparent; color: rgba(255, 255, 255, .6); padding: 6px 14px; border-radius: 8px; font-size: 11.5px; font-weight: 700; }
.rb-games__tab.is-active { background: #fff; color: var(--rb-ink); }
.rb-games__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.rb-game { background: #3d2d20; border-radius: 13px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .06); transition: .2s; }
.rb-game:hover { transform: translateY(-3px); border-color: rgba(232, 89, 12, .38); }
.rb-game__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.rb-game__media img { width: 100%; height: 100%; object-fit: cover; }
.rb-game__platform { position: absolute; top: 7px; right: 7px; background: rgba(15, 23, 42, .82); border: 1px solid rgba(255, 255, 255, .15); color: #fff; border-radius: 999px; padding: 2px 7px; font-size: 9px; font-weight: 800; }
.rb-game__body { padding: 9px; }
.rb-game__title { font-size: 11px; font-weight: 700; line-height: 1.6; min-height: 34px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #e2e8f0; }
.rb-game__price { margin-top: 5px; color: #c9a279; font-size: 11.5px; font-weight: 800; }
.rb-game__price .rb-price { color: #c9a279; font-size: 12px; }
.rb-game__price .rb-price ins { color: #c9a279; font-size: 12.5px; }
.rb-game__price .rb-price del { color: rgba(255, 255, 255, .55); font-size: 10.5px; }
.rb-games__foot { text-align: center; margin-top: 16px; }
.rb-games__foot a { color: #c9a279; font-size: 11.5px; font-weight: 800; display: inline-flex; align-items: center; gap: 5px; }

/* برندها: نام تجاری به‌شکل لوگوتایپ یک‌رنگ، نه کادر متنی */
.rb-brands { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.rb-brand {
  display: flex; align-items: center; justify-content: center; height: 66px;
  background: #fff; border: 1px solid var(--rb-line); border-radius: 13px;
  font-weight: 900; color: var(--rb-ink-2); font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase; font-variant-caps: all-small-caps;
  filter: grayscale(1); opacity: .78; transition: .2s;
}
.rb-brand:hover { border-color: var(--rb-ink-2); color: var(--rb-ink); opacity: 1; transform: translateY(-2px); box-shadow: var(--rb-shadow); filter: none; }

.rb-bloggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rb-post { background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); overflow: hidden; display: flex; flex-direction: column; transition: .22s; }
.rb-post:hover { transform: translateY(-4px); box-shadow: var(--rb-shadow); }
.rb-post__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--rb-bg); }
.rb-post__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rb-post:hover .rb-post__img { transform: scale(1.04); }
.rb-post__cat { position: absolute; top: 10px; right: 10px; background: rgba(15, 23, 42, .82); color: #fff; border-radius: 999px; padding: 3px 9px; font-size: 9.5px; font-weight: 700; backdrop-filter: blur(4px); }
.rb-post__body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.rb-post__meta { display: flex; gap: 12px; color: var(--rb-faint); font-size: 10.5px; }
.rb-post__meta span { display: inline-flex; align-items: center; gap: 4px; }
.rb-post__title { font-size: 14px; font-weight: 800; line-height: 1.7; }
.rb-post__title a:hover { color: var(--rb-orange-700); }
.rb-post__excerpt { color: var(--rb-muted); font-size: 11.5px; line-height: 1.9; }
.rb-post__more { margin-top: auto; color: var(--rb-orange-700); font-weight: 800; font-size: 11.5px; display: inline-flex; align-items: center; gap: 5px; }

/* 10. Footer ------------------------------------------------------------- */
.rb-trustband { background: #fff; border-top: 1px solid var(--rb-line); border-bottom: 1px solid rgba(255,255,255,.08); }
.rb-trustband__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-block: 18px; }
.rb-trustband__item { display: flex; align-items: center; gap: 10px; }
.rb-trustband__item .rb-ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--rb-orange-soft); color: var(--rb-orange-600); }
.rb-trustband__item strong { display: block; font-size: 12px; font-weight: 800; }
.rb-trustband__item span { color: var(--rb-muted); font-size: 10px; }
/* rb-newsletter removed per request — section deleted from footer.php */
.rb-footer {
  background: linear-gradient(180deg, var(--rb-navy) 0%, #080d17 100%);
  color: rgba(255, 255, 255, .76);
  position: relative; overflow: hidden;
}
.rb-footer::before{
  content:""; position:absolute; top:-140px; right:-100px;
  width:380px; height:380px;
  background: radial-gradient(circle, rgba(232, 89, 12, .13), transparent 70%);
  pointer-events:none;
}
.rb-footer__main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; padding-block: 46px 34px; }
.rb-footer__brand p { margin-top: 14px; font-size: 12px; line-height: 2; color: rgba(255, 255, 255, .68); max-width: 330px; }
.rb-socials { display: flex; gap: 7px; margin-top: 16px; }
.rb-socials a { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .78); transition: .2s; }
.rb-socials a:hover { background: var(--rb-orange-600); color: #fff; border-color: var(--rb-orange-600); }
.rb-footer__col h3 { color: #fff; font-size: 13px; font-weight: 800; margin-bottom: 14px; position: relative; padding-inline-start: 11px; }
.rb-footer__col h3::before { content: ""; position: absolute; right: 0; top: 5px; bottom: 5px; width: 3px; border-radius: 3px; background: var(--rb-orange); }
.rb-footer__col > a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; font-size: 12px; color: rgba(255, 255, 255, .72); transition: .18s; }
.rb-footer__col > a:hover { color: #c9a279; padding-inline-start: 4px; }
.rb-footer__col > a span { font-size: 10px; color: rgba(255, 255, 255, .5); }
.rb-footer__more { color: #c9a279 !important; font-weight: 700; }
.rb-footer__col--contact > a, .rb-footer__addr { display: flex; align-items: flex-start; gap: 9px; padding: 6px 0; font-size: 12px; color: rgba(255, 255, 255, .76); }
.rb-footer__col--contact .rb-ic { color: #c9a279; margin-top: 3px; }
.rb-footer__col--contact span { display: flex; flex-direction: column; line-height: 1.6; }
.rb-footer__col--contact small { color: rgba(255, 255, 255, .56); font-size: 10px; }
.rb-footer__hours { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; color: rgba(255, 255, 255, .62); }
.rb-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-block: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 11px; color: rgba(255, 255, 255, .68); background: rgba(0,0,0,.18); }
.rb-footer__badges { display: flex; gap: 14px; }
.rb-footer__badges span { display: inline-flex; align-items: center; gap: 4px; }
.rb-footer__links { display: flex; gap: 12px; }
.rb-footer__links a:hover { color: #c9a279; }
.rb-to-top {
  position: fixed; bottom: 20px; right: 18px; z-index: 80; width: 40px; height: 40px;
  border-radius: 12px; background: #fff; border: 1px solid var(--rb-line); color: var(--rb-ink);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--rb-shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s;
}
.rb-to-top .rb-ic { transform: rotate(180deg); }
.rb-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* دکمه‌های شناور: یک دکمهٔ جمع‌شونده — باز شدن با کلیک (و hover در دسکتاپ) */
.rb-float { position: fixed; bottom: 18px; left: 18px; z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rb-float__toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 0; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rb-ink); color: #fff; box-shadow: 0 12px 24px -12px rgba(15, 23, 42, .55);
  transition: transform .2s var(--rb-ease), background .2s;
}
.rb-float__toggle:hover { background: var(--rb-ink-2); }
.rb-float.is-open .rb-float__toggle { transform: rotate(45deg); }
.rb-float__toggle .rb-ic { transition: transform .2s; }
.rb-float__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0;
  width: 44px; height: 44px; border-radius: 50%; color: #fff; flex: none;
  box-shadow: 0 10px 22px -12px rgba(15, 23, 42, .5); overflow: hidden;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px) scale(.86);
  transition: opacity .2s var(--rb-ease), transform .2s var(--rb-ease), visibility .2s, width .2s;
}
.rb-float__btn span { display: none; font-size: 12px; font-weight: 700; white-space: nowrap; }
.rb-float__btn--phone { background: var(--rb-ink); }
.rb-float__btn--wa { background: #128c3f; }
.rb-float.is-open .rb-float__btn { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
@media (hover: hover) and (min-width: 1024px) {
  .rb-float:hover .rb-float__btn { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .rb-float__btn:hover { width: auto; border-radius: 999px; padding: 0 14px; gap: 7px; }
  .rb-float__btn:hover span { display: inline; }
}

/* 11. Page hero (blog/shop/static) -------------------------------------- */
.rb-pagehead { padding: 26px 0 8px; }
.rb-pagehead__in { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.rb-pagehead h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: -.4px; }
.rb-pagehead p { color: var(--rb-muted); font-size: 13px; margin-top: 4px; }
.rb-pagehead__side { color: var(--rb-muted); font-size: 12px; }

/* 12. Shop --------------------------------------------------------------- */
.rb-shop { padding: 8px 0 40px; }
.rb-shop__layout { display: grid; grid-template-columns: 278px minmax(0, 1fr); gap: 20px; align-items: start; }
.rb-shop__side { position: sticky; top: 158px; display: grid; gap: 12px; }
.rb-panel { background: #fff; border: 1px solid var(--rb-line); border-radius: 16px; padding: 15px; }
.rb-panel__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 900; margin-bottom: 10px; }
.rb-panel__title .rb-ic { color: var(--rb-orange-600); }
.rb-catnav { display: grid; gap: 1px; }
.rb-catnav a { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 7px 8px; border-radius: 8px; font-size: 12px; color: #475569; }
.rb-catnav a:hover { background: var(--rb-orange-softer); color: var(--rb-orange-700); }
.rb-catnav a.is-active { background: var(--rb-orange-soft); color: var(--rb-orange-700); font-weight: 800; }
.rb-catnav a span { color: var(--rb-faint); font-size: 10.5px; background: var(--rb-bg); border-radius: 999px; padding: 1px 6px; min-width: 26px; display: inline-flex; align-items: center; justify-content: center; }
.rb-catnav__parent { font-weight: 800; color: var(--rb-ink) !important; margin-top: 5px; }
.rb-catnav__children { padding-inline-start: 10px; border-inline-start: 1px dashed var(--rb-line); margin-inline-start: 8px; }
.rb-catnav details summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 7px 8px; border-radius: 8px; font-size: 12px; font-weight: 800; }
.rb-catnav details summary::-webkit-details-marker { display: none; }
.rb-catnav details summary span { color: var(--rb-faint); font-size: 10.5px; font-weight: 500; min-width: 26px; display: inline-flex; align-items: center; justify-content: center; }
.rb-catnav details[open] summary { background: var(--rb-bg); }
.rb-catnav__empty { margin-top: 6px; border-top: 1px dashed var(--rb-line); padding-top: 4px; }
.rb-catnav__empty summary { color: var(--rb-muted) !important; font-weight: 700 !important; }
.rb-catnav__empty summary span { color: var(--rb-faint); font-size: 10px; }
.rb-panel--cta { background: linear-gradient(140deg, var(--rb-navy), #5c3d26); color: #fff; border: 0; }
.rb-panel--cta .rb-panel__title { color: #fff; }
.rb-panel--cta .rb-panel__title .rb-ic { color: #c9a279; }
.rb-panel--cta p { font-size: 11.5px; line-height: 1.9; color: rgba(255, 255, 255, .74); margin-bottom: 10px; }
.rb-pricefilter { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.rb-pricefilter input { min-width: 0; height: 40px; border: 1px solid var(--rb-line); border-radius: 9px; padding: 0 9px; font-size: 11.5px; background: var(--rb-surface-2); outline: 0; width: 100%; }
.rb-pricefilter input:focus { border-color: var(--rb-orange); background: #fff; }
.rb-pricefilter button { grid-column: 1 / -1; }
/* وضعیت موجودی: یک انتخاب دوگانهٔ روشن به‌جای چک‌باکس بدون استایل */
.rb-stockfilter { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--rb-bg); border-radius: 10px; padding: 4px; }
.rb-stockfilter a {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  min-height: 34px; border-radius: 8px; font-size: 11.5px; font-weight: 700; color: var(--rb-muted);
  transition: .18s;
}
.rb-stockfilter a:hover { color: var(--rb-ink); }
.rb-stockfilter a.is-active { background: #fff; color: var(--rb-ink); box-shadow: 0 2px 8px -4px rgba(15, 23, 42, .28); }
.rb-stockfilter a.is-active .rb-ic { color: #059669; }
.rb-check { display: flex; align-items: center; gap: 8px; padding: 6px 4px; font-size: 12px; color: var(--rb-ink-2); cursor: pointer; }
.rb-check input { width: 16px; height: 16px; accent-color: var(--rb-orange-600); }
.rb-shop__main { min-width: 0; }
.rb-shoptop { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--rb-line); border-radius: 14px; padding: 10px 14px; margin-bottom: 14px; min-width: 0; }
.rb-shoptop > div { min-width: 0; }
.rb-resultcount { color: var(--rb-muted); font-size: 12px; }
.rb-resultcount strong { color: var(--rb-ink); }
.rb-sorts { display: flex; gap: 3px; flex-wrap: wrap; background: var(--rb-bg); border-radius: 10px; padding: 3px; min-width: 0; max-width: 100%; }
.rb-sorts a { padding: 6px 11px; border-radius: 8px; font-size: 11.5px; font-weight: 700; color: var(--rb-muted); }
.rb-sorts a:hover { color: var(--rb-orange-700); }
.rb-sorts a.is-active { background: #fff; color: var(--rb-ink); box-shadow: 0 2px 8px -4px rgba(15, 23, 42, .25); }
.rb-shop__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rb-activefilters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.rb-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--rb-orange-soft); color: var(--rb-orange-700); border-radius: 999px; padding: 5px 9px; font-size: 11px; font-weight: 700; }
.rb-chip a { color: inherit; display: inline-flex; }
.rb-mobile-filter { display: none; }
.rb-shop__empty { grid-column: 1 / -1; }

/* WooCommerce loop reset */
.woocommerce ul.products, .woocommerce-page ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 !important; padding: 0 !important; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: 100% !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.woocommerce .rb-shop__grid ul.products { grid-template-columns: inherit; }

/* 13. Single product ----------------------------------------------------- */
.rb-product { padding: 8px 0 40px; }
.rb-product__top { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.rb-gallery { position: sticky; top: 160px; display: grid; gap: 10px; }
.rb-gallery__main { position: relative; background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); overflow: hidden; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 24px; }
.rb-gallery__main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rb-gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.rb-gallery__thumb { background: #fff; border: 1px solid var(--rb-line); border-radius: 11px; aspect-ratio: 1; padding: 6px; cursor: pointer; transition: .2s; }
.rb-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.rb-gallery__thumb.is-active, .rb-gallery__thumb:hover { border-color: var(--rb-orange); box-shadow: 0 0 0 3px rgba(232, 89, 12, .12); }
.rb-product__summary { display: flex; flex-direction: column; gap: 12px; }
.rb-product__cat { display: inline-flex; align-items: center; gap: 5px; color: var(--rb-orange-700); font-size: 11.5px; font-weight: 700; }
.rb-product__title { font-size: clamp(21px, 2.4vw, 27px); font-weight: 900; line-height: 1.6; }
.rb-product__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--rb-muted); font-size: 11.5px; }
.rb-product__pricebox { background: linear-gradient(120deg, #f7efe4, #fff); border: 1px solid #ffe2ce; border-radius: 15px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rb-product__pricebox .rb-price { flex-direction: row; align-items: baseline; gap: 10px; font-size: 22px; }
.rb-product__pricebox .rb-price ins { font-size: 22px; }
.rb-product__pricebox .rb-price del { font-size: 12.5px; }
.rb-product__pricebox del { font-size: 12px; }
.rb-product__save { background: var(--rb-red); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 800; }
.rb-product__excerpt { color: var(--rb-muted); font-size: 13px; line-height: 2; }
.rb-product__excerpt p { margin: 0 0 6px; }
.rb-product__buy { background: #fff; border: 1px solid var(--rb-line); border-radius: 15px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.rb-product__stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #047857; }
.rb-product__stock.is-out { color: #b91c1c; }
.rb-product__stock .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.rb-product__notecopy { font-size: 11.5px; line-height: 1.9; color: var(--rb-muted); margin-top: 8px; }
.rb-product form.cart { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.rb-product form.cart .quantity.rb-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--rb-line); border-radius: 10px; overflow: hidden; height: 46px; background: #fff; }
.rb-product form.cart .quantity.rb-qty input.qty { width: 44px; height: 100%; border: 0; text-align: center; font-weight: 800; background: transparent; -moz-appearance: textfield; }
.rb-product form.cart .quantity input.qty::-webkit-outer-spin-button, .rb-product form.cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rb-product form.cart .quantity.rb-qty--fixed { display: none; }
.rb-product form.cart .single_add_to_cart_button { flex: 1; min-height: 46px; border: 0; border-radius: 11px; background: var(--rb-orange-600); color: #fff; font-weight: 900; font-size: 13.5px; padding: 0 22px; cursor: pointer; }
.rb-product form.cart .single_add_to_cart_button:hover { background: var(--rb-orange-700); }
.rb-product form.cart .variations { width: 100%; margin-bottom: 8px; border-collapse: collapse; }
.rb-product form.cart .variations th, .rb-product form.cart .variations td { padding: 5px 0; text-align: right; font-size: 12px; }
.rb-product form.cart .variations select { min-height: 40px; border: 1px solid var(--rb-line); border-radius: 9px; padding: 0 9px; background: #fff; width: 100%; }
.rb-product .stock { font-size: 12px; }
.woocommerce div.product p.price { margin: 0; }
.rb-product__trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.rb-product__trust div { display: flex; align-items: center; gap: 7px; background: var(--rb-surface-2); border: 1px solid var(--rb-line-2); border-radius: 10px; padding: 8px 9px; font-size: 10.5px; color: var(--rb-muted); }
.rb-product__trust .rb-ic { color: var(--rb-orange-600); }
.rb-product__info { display: grid; gap: 6px; margin-top: 4px; font-size: 11.5px; color: var(--rb-muted); }
.rb-product__info div { display: flex; gap: 6px; }
.rb-product__info strong { color: var(--rb-ink-2); font-weight: 700; }
.rb-tabs { margin-top: 34px; background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); overflow: hidden; }
.rb-tabs__nav { display: flex; gap: 2px; border-bottom: 1px solid var(--rb-line); padding: 0 14px; background: var(--rb-surface-2); }
.rb-tabs__btn { border: 0; background: transparent; padding: 14px 16px; font-size: 13px; font-weight: 800; color: var(--rb-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.rb-tabs__btn.is-active { color: var(--rb-orange-700); border-bottom-color: var(--rb-orange); background: #fff; }
.rb-tabs__panel { padding: 22px; display: none; }
.rb-tabs__panel.is-active { display: block; }
.rb-specs { width: 100%; border-collapse: collapse; }
.rb-specs tr { border-bottom: 1px solid var(--rb-line-2); }
.rb-specs tr:last-child { border: 0; }
.rb-specs th { text-align: right; width: 220px; padding: 10px 12px; background: var(--rb-surface-2); font-size: 12px; font-weight: 700; color: var(--rb-ink-2); }
.rb-specs td { padding: 10px 12px; font-size: 12px; color: var(--rb-muted); }
.rb-related { margin-top: 34px; }

/* 14. Blog --------------------------------------------------------------- */
.rb-bloghero {
  position: relative; overflow: hidden; border-radius: var(--rb-radius-lg); color: #fff;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .16), transparent 30%),
              radial-gradient(circle at 85% 0%, rgba(232, 89, 12, .38), transparent 36%),
              linear-gradient(125deg, #312e81 0%, #6d28d9 45%, #be185d 100%);
  padding: 46px 32px; text-align: center;
}
.rb-bloghero::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .13); left: -100px; bottom: -220px; }
.rb-bloghero__badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 6px 14px; font-size: 11.5px; font-weight: 700; backdrop-filter: blur(6px); }
.rb-bloghero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; margin-top: 14px; letter-spacing: -1px; }
.rb-bloghero p { color: rgba(255, 255, 255, .72); font-size: 13.5px; margin-top: 6px; }
.rb-bloghero__stats { display: flex; justify-content: center; gap: 34px; margin-top: 22px; }
.rb-bloghero__stat { display: flex; flex-direction: column; }
.rb-bloghero__stat strong { font-size: 24px; font-weight: 900; color: #fde68a; }
.rb-bloghero__stat span { font-size: 10.5px; color: rgba(255, 255, 255, .55); }
.rb-bloghero__search { display: flex; gap: 6px; max-width: 520px; margin: 22px auto 0; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .22); padding: 5px; border-radius: 13px; backdrop-filter: blur(8px); }
.rb-bloghero__search input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 0 12px; outline: 0; font-size: 13px; }
.rb-bloghero__search input::placeholder { color: rgba(255, 255, 255, .55); }
.rb-bloghero__search button { border: 0; background: #fff; color: var(--rb-ink); border-radius: 9px; padding: 9px 18px; font-weight: 800; font-size: 12px; }
.rb-blogfeatured { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.rb-blogfeatured .rb-post--feature { position: relative; min-height: 330px; border: 0; }
.rb-blogfeatured .rb-post--feature .rb-post__media { position: absolute; inset: 0; aspect-ratio: auto; }
.rb-blogfeatured .rb-post--feature .rb-post__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 23, 42, .92), rgba(15, 23, 42, .15) 60%, transparent); }
.rb-blogfeatured .rb-post--feature .rb-post__body { position: relative; z-index: 2; margin-top: auto; padding: 22px; color: #fff; }
.rb-blogfeatured .rb-post--feature .rb-post__title { font-size: 19px; color: #fff; }
.rb-blogfeatured .rb-post--feature .rb-post__excerpt { color: rgba(255, 255, 255, .7); }
.rb-blogfeatured .rb-post--feature .rb-post__meta { color: rgba(255, 255, 255, .55); }
.rb-bloggrid--2 { grid-template-columns: repeat(2, 1fr); }
.rb-bloglayout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; align-items: start; }
.rb-blogside { display: grid; gap: 14px; position: sticky; top: 158px; }
.rb-widget { background: #fff; border: 1px solid var(--rb-line); border-radius: 16px; padding: 16px; }
.rb-widget h3 { font-size: 13px; font-weight: 900; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.rb-widget h3 .rb-ic { color: var(--rb-orange-600); }
.rb-widget__search { display: flex; gap: 5px; }
.rb-widget__search input { flex: 1; min-width: 0; height: 42px; border: 1px solid var(--rb-line); border-radius: 9px; padding: 0 10px; font-size: 12px; background: var(--rb-surface-2); outline: 0; }
.rb-widget__search button { width: 42px; border: 0; border-radius: 9px; background: var(--rb-orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.rb-widget__cats { display: grid; gap: 1px; }
.rb-widget__cats a { display: flex; align-items: center; justify-content: space-between; padding: 7px 8px; border-radius: 8px; font-size: 12px; color: var(--rb-ink-2); }
.rb-widget__cats a:hover { background: var(--rb-orange-softer); color: var(--rb-orange-700); }
.rb-widget__cats span { font-size: 10px; color: var(--rb-faint); background: var(--rb-bg); border-radius: 999px; padding: 1px 6px; }
.rb-widget__post { display: flex; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--rb-line-2); }
.rb-widget__post:last-child { border: 0; }
.rb-widget__post img, .rb-widget__post .rb-thumb-fallback { width: 58px; height: 52px; border-radius: 9px; object-fit: cover; flex: none; }
.rb-widget__post strong { font-size: 11.5px; font-weight: 700; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rb-widget__post small { color: var(--rb-faint); font-size: 9.5px; }
.rb-widget__cta { background: linear-gradient(135deg, #2f2118, #5c3d26); color: #fff; border: 0; }
.rb-widget__cta p { color: rgba(255, 255, 255, .65); font-size: 11.5px; margin: 4px 0 12px; }
.rb-widget__cta a { display: inline-flex; align-items: center; gap: 5px; background: var(--rb-orange); color: #fff; border-radius: 9px; padding: 8px 13px; font-size: 11.5px; font-weight: 800; }

.rb-article { background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); overflow: hidden; }
.rb-article__cover { aspect-ratio: 16 / 8; overflow: hidden; background: var(--rb-bg); }
.rb-article__cover img { width: 100%; height: 100%; object-fit: cover; }
.rb-article__head { padding: 24px 28px 6px; }
.rb-article__head h1 { font-size: clamp(25px, 3.6vw, 38px); font-weight: 900; line-height: 1.55; margin-top: 10px; }
.rb-article__meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--rb-muted); font-size: 11.5px; margin-top: 12px; }
.rb-article__meta span { display: inline-flex; align-items: center; gap: 5px; }
.rb-article__body { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; padding: 20px 28px 28px; }
.rb-prose { color: #4a3b2c; font-size: 14.5px; line-height: 2.15; }
.rb-prose > * + * { margin-top: 16px; }
.rb-prose h2 { font-size: 21px; font-weight: 900; margin-top: 28px; color: var(--rb-ink); }
.rb-prose h3 { font-size: 17px; font-weight: 800; margin-top: 22px; color: var(--rb-ink); }
.rb-prose p { margin: 0; }
.rb-prose a { color: var(--rb-orange-700); text-decoration: underline; text-underline-offset: 3px; }
.rb-prose img { border-radius: 14px; height: auto; }
.rb-prose ul, .rb-prose ol { padding-inline-start: 22px; }
.rb-prose ul { list-style: disc; }
.rb-prose ol { list-style: decimal; }
.rb-prose li { margin: 6px 0; }
.rb-prose blockquote { margin: 20px 0; border-inline-start: 4px solid var(--rb-orange); background: var(--rb-orange-softer); padding: 14px 18px; border-radius: 0 12px 12px 0; color: #475569; }
.rb-prose table { width: 100%; border-collapse: collapse; }
.rb-prose th, .rb-prose td { border: 1px solid var(--rb-line); padding: 8px 10px; font-size: 12.5px; }
.rb-prose th { background: var(--rb-surface-2); }
.rb-prose code { background: #f1f5f9; padding: 2px 5px; border-radius: 5px; font-size: 12px; }
.rb-toc { position: sticky; top: 158px; background: var(--rb-surface-2); border: 1px solid var(--rb-line); border-radius: 14px; padding: 14px; }
.rb-toc h3 { font-size: 12px; font-weight: 900; margin-bottom: 8px; }
.rb-toc a { display: block; font-size: 11.5px; color: var(--rb-muted); padding: 4px 0; border-inline-start: 2px solid transparent; padding-inline-start: 8px; }
.rb-toc a:hover, .rb-toc a.is-active { color: var(--rb-orange-700); border-inline-start-color: var(--rb-orange); }
.rb-toc a.is-sub { padding-inline-start: 18px; font-size: 10.5px; }
.rb-article__foot { padding: 0 28px 24px; }
.rb-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.rb-tags a { background: var(--rb-bg); border: 1px solid var(--rb-line); border-radius: 999px; padding: 5px 11px; font-size: 11px; color: var(--rb-ink-2); }
.rb-tags a:hover { border-color: var(--rb-orange); color: var(--rb-orange-700); }
.rb-share { display: flex; align-items: center; gap: 7px; margin-top: 16px; }
.rb-share span { color: var(--rb-muted); font-size: 11.5px; }
.rb-share a, .rb-share button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--rb-line); background: #fff; color: var(--rb-ink-2); display: inline-flex; align-items: center; justify-content: center; }
.rb-share a:hover, .rb-share button:hover { background: var(--rb-orange); color: #fff; border-color: var(--rb-orange); }
.rb-authorbox { display: flex; gap: 14px; align-items: center; background: var(--rb-surface-2); border: 1px solid var(--rb-line); border-radius: 14px; padding: 15px; margin-top: 20px; }
.rb-authorbox img { width: 54px; height: 54px; border-radius: 50%; }
.rb-authorbox strong { font-size: 13px; }
.rb-authorbox p { color: var(--rb-muted); font-size: 11.5px; margin-top: 2px; }
.rb-comments { margin-top: 24px; }
.rb-comments .comment-list { display: grid; gap: 12px; }
.rb-comments .comment-body { background: #fff; border: 1px solid var(--rb-line); border-radius: 14px; padding: 14px; }
.rb-comments .comment-author img { border-radius: 50%; margin-inline-end: 6px; }
.rb-comments .comment-meta { font-size: 11px; color: var(--rb-faint); }
.rb-comments .reply a { font-size: 11px; color: var(--rb-orange-700); font-weight: 700; }
.comment-respond { background: #fff; border: 1px solid var(--rb-line); border-radius: 16px; padding: 18px; margin-top: 18px; }
.comment-respond h3 { font-size: 15px; margin-bottom: 10px; }
.comment-form { display: grid; gap: 10px; }
.comment-form label { font-size: 11.5px; font-weight: 700; display: block; margin-bottom: 3px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid var(--rb-line); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; background: var(--rb-surface-2); outline: 0; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--rb-orange); background: #fff; }
.comment-form .submit { background: var(--rb-ink); color: #fff; border: 0; border-radius: 10px; padding: 11px 20px; font-weight: 800; font-size: 12.5px; }
.comment-form .form-submit { margin: 0; }

/* 15. Account ------------------------------------------------------------ */
.rb-accountwrap { padding: 10px 0 42px; }
.rb-account-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; }
.rb-account-side { position: sticky; top: 158px; background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); overflow: hidden; }
.rb-account-side__head { padding: 20px 16px; text-align: center; background: linear-gradient(150deg, #2f2118, #3d2d20 65%, #5c3d26); color: #fff; }
.rb-account-side__avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; margin: 0 auto 8px; border: 3px solid rgba(255, 255, 255, .2); }
.rb-account-side__avatar img { width: 100%; height: 100%; object-fit: cover; }
.rb-account-side__head strong { display: block; font-size: 13.5px; }
.rb-account-side__head small { color: rgba(255, 255, 255, .5); font-size: 10.5px; }
.rb-account-nav { padding: 8px; display: grid; gap: 1px; }
.rb-account-nav a { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: var(--rb-ink-2); }
.rb-account-nav .rb-ic { color: var(--rb-faint); }
.rb-account-nav a:hover { background: var(--rb-orange-softer); color: var(--rb-orange-700); }
.rb-account-nav a:hover .rb-ic { color: var(--rb-orange-600); }
.rb-account-nav a.is-active { background: var(--rb-orange-soft); color: var(--rb-orange-700); font-weight: 800; }
.rb-account-nav a.is-active .rb-ic { color: var(--rb-orange-600); }
.rb-account-nav a.rb-account-nav__logout { color: #b91c1c; border-top: 1px solid var(--rb-line-2); margin-top: 6px; padding-top: 11px; border-radius: 0 0 9px 9px; }
.rb-account-content { min-width: 0; }
.rb-account-content > h2, .rb-account-content > h3 { font-size: 19px; margin-bottom: 14px; }
.rb-dash-hero { position: relative; overflow: hidden; background: linear-gradient(125deg, #2f2118, #3d2d20 60%, #4a3222); color: #fff; border-radius: var(--rb-radius); padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rb-dash-hero h2 { font-size: 20px; font-weight: 900; }
.rb-dash-hero p { color: rgba(255, 255, 255, .62); font-size: 12px; margin-top: 3px; }
.rb-dash-hero__actions { display: flex; gap: 7px; flex-wrap: wrap; }
.rb-dash-hero__actions a { display: inline-flex; align-items: center; gap: 5px; border-radius: 9px; padding: 8px 13px; font-size: 11.5px; font-weight: 800; background: #fff; color: var(--rb-ink); }
.rb-dash-hero__actions a.is-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.rb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.rb-stat { background: #fff; border: 1px solid var(--rb-line); border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 10px; }
.rb-stat__icon { width: 40px; height: 40px; border-radius: 11px; background: var(--rb-orange-soft); color: var(--rb-orange-600); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.rb-stat:nth-child(2) .rb-stat__icon { background: var(--rb-blue-soft); color: #2563eb; }
.rb-stat:nth-child(3) .rb-stat__icon { background: var(--rb-green-soft); color: #059669; }
.rb-stat:nth-child(4) .rb-stat__icon { background: var(--rb-purple-soft); color: #7c3aed; }
.rb-stat strong { display: block; font-size: 18px; font-weight: 900; line-height: 1.2; }
.rb-stat span { color: var(--rb-muted); font-size: 10.5px; }
.rb-dash-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: 14px; }
.rb-dash-card { background: #fff; border: 1px solid var(--rb-line); border-radius: 16px; padding: 16px; }
.rb-dash-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.rb-dash-card__head h3 { font-size: 13px; font-weight: 900; }
.rb-dash-card__head a { color: var(--rb-orange-700); font-size: 11px; font-weight: 700; }
.rb-orderrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rb-line-2); }
.rb-orderrow:last-child { border: 0; }
.rb-orderrow__id { font-size: 12px; font-weight: 800; }
.rb-orderrow__date { color: var(--rb-faint); font-size: 10px; }
.rb-orderrow__total { font-size: 12px; font-weight: 800; }
.rb-status { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 9px; font-size: 9.5px; font-weight: 800; background: var(--rb-bg); color: var(--rb-muted); }
.rb-status--processing { background: #eff6ff; color: #1d4ed8; }
.rb-status--completed { background: #ecfdf5; color: #047857; }
.rb-status--pending { background: #fffbeb; color: #b45309; }
.rb-status--cancelled, .rb-status--failed { background: #fef2f2; color: #b91c1c; }
.rb-quicklinks { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.rb-quicklinks a { display: flex; align-items: center; gap: 7px; background: var(--rb-surface-2); border: 1px solid var(--rb-line-2); border-radius: 10px; padding: 9px; font-size: 11.5px; font-weight: 700; color: var(--rb-ink-2); }
.rb-quicklinks a:hover { border-color: var(--rb-orange); color: var(--rb-orange-700); }
.rb-address-box { background: var(--rb-surface-2); border: 1px solid var(--rb-line-2); border-radius: 11px; padding: 11px; font-size: 11.5px; color: var(--rb-muted); line-height: 1.9; }
.rb-address-box strong { color: var(--rb-ink); }

/* Woo account tables/forms */
.woocommerce-MyAccount-content { margin: 0; float: none !important; width: 100% !important; }
.woocommerce-MyAccount-content p { font-size: 13px; }
.woocommerce table.my_account_orders, .woocommerce-page table.my_account_orders, .woocommerce table.shop_table {
  width: 100%; border-collapse: separate; border-spacing: 0; background: #fff;
  border: 1px solid var(--rb-line); border-radius: 14px; overflow: hidden; margin: 0 0 14px;
}
.woocommerce table.shop_table th { background: var(--rb-surface-2); color: var(--rb-ink-2); font-size: 11.5px; font-weight: 800; padding: 11px 12px; text-align: right; border-bottom: 1px solid var(--rb-line); }
.woocommerce table.shop_table td { padding: 12px; font-size: 12.5px; border-bottom: 1px solid var(--rb-line-2); vertical-align: middle; }
.woocommerce table.shop_table tr:last-child td { border-bottom: 0; }
.woocommerce table.shop_table .button { min-height: 34px; padding: 6px 12px; font-size: 11px; border-radius: 8px; background: var(--rb-orange-soft); color: var(--rb-orange-700); font-weight: 800; }
.woocommerce table.shop_table .button:hover { background: var(--rb-orange); color: #fff; }
.woocommerce-orders-table__cell-order-status { font-size: 10px; }
.woocommerce-orders-table__cell-order-status mark { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 9px; background: var(--rb-bg); color: var(--rb-muted); font-size: 9.5px; font-weight: 800; }
.woocommerce-orders-table__cell-order-status mark.status-processing { background: #eff6ff; color: #1d4ed8; }
.woocommerce-orders-table__cell-order-status mark.status-completed { background: #ecfdf5; color: #047857; }
.woocommerce-orders-table__cell-order-status mark.status-cancelled,
.woocommerce-orders-table__cell-order-status mark.status-failed { background: #fef2f2; color: #b91c1c; }
.woocommerce-orders-table__cell-order-status mark.status-pending { background: #fffbeb; color: #b45309; }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr; gap: 12px; width: 100% !important; }
.woocommerce-address-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.woocommerce-Address { background: #fff; border: 1px solid var(--rb-line); border-radius: 14px; padding: 15px; float: none !important; width: 100% !important; }
.woocommerce-Address h3 { font-size: 13px; margin-bottom: 8px; }
.woocommerce-Address address { font-style: normal; color: var(--rb-muted); font-size: 12px; line-height: 2; }
.woocommerce-Address .edit { color: var(--rb-orange-700); font-size: 11px; font-weight: 700; }
.woocommerce form .form-row { margin-bottom: 12px; padding: 0; }
.woocommerce form .form-row label { font-size: 12px; font-weight: 700; margin-bottom: 4px; display: block; color: var(--rb-ink-2); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce .select2-container .select2-selection--single {
  width: 100%; min-height: 44px; border: 1px solid var(--rb-line); border-radius: 10px; padding: 8px 12px; background: #fff; font-size: 12.5px; outline: 0;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce form .form-row select:focus { border-color: var(--rb-orange); box-shadow: 0 0 0 3px rgba(232, 89, 12, .12); }
.woocommerce form .form-row .required { color: var(--rb-red); }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 6px); display: inline-block; }
.woocommerce form .form-row-first { margin-inline-end: 8px; }
.woocommerce form .form-row-wide { width: 100%; }
.woocommerce form .form-row .woocommerce-input-wrapper { display: block; }
.woocommerce form .form-row textarea { min-height: 90px; }
.woocommerce .woocommerce-Button.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  min-height: 44px; padding: 10px 20px; border: 0; border-radius: 10px; background: var(--rb-ink); color: #fff; font-weight: 800; font-size: 12.5px; cursor: pointer;
}
.woocommerce .woocommerce-Button.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--rb-orange-600); }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.edit-account, .woocommerce form.edit-address { background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: 22px; margin: 0; width: 100%; max-width: 100%; }
.woocommerce form.login .lost_password { font-size: 11.5px; }
.woocommerce .woocommerce-privacy-policy-text { font-size: 11px; color: var(--rb-muted); line-height: 1.9; }
.woocommerce .woocommerce-form__label-for-checkbox { font-size: 11.5px; }

/* Login / register */
.rb-auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius-lg); overflow: hidden; }
.rb-auth__brand { position: relative; overflow: hidden; padding: 40px; color: #fff; background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .18), transparent 35%), linear-gradient(140deg, #2f2118, #3d2d20 50%, #4a3222); display: flex; flex-direction: column; justify-content: space-between; }
.rb-auth__brand h2 { font-size: 24px; font-weight: 900; line-height: 1.6; margin-top: 26px; }
.rb-auth__brand p { color: rgba(255, 255, 255, .6); font-size: 12.5px; margin-top: 8px; line-height: 2; }
.rb-auth__benefits { display: grid; gap: 10px; margin-top: 24px; }
.rb-auth__benefits div { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255, 255, 255, .78); }
.rb-auth__benefits .rb-ic { color: #c9a279; }
.rb-auth__form { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.rb-auth__form h1 { font-size: 22px; font-weight: 900; }
.rb-auth__form > p { color: var(--rb-muted); font-size: 12px; margin: 4px 0 18px; }
.rb-authtabs { display: flex; background: var(--rb-bg); padding: 4px; border-radius: 11px; margin-bottom: 18px; }
.rb-authtabs button { flex: 1; border: 0; background: transparent; padding: 8px; border-radius: 8px; font-size: 12px; font-weight: 800; color: var(--rb-muted); }
.rb-authtabs button.is-active { background: #fff; color: var(--rb-ink); box-shadow: 0 2px 8px -4px rgba(15, 23, 42, .25); }
.rb-auth .woocommerce-form-login, .rb-auth .woocommerce-form-register { border: 0; padding: 0; background: transparent; }
.rb-auth .form-row { margin-bottom: 11px; }
.rb-auth .woocommerce-form-login__submit, .rb-auth .woocommerce-form-register__submit { width: 100%; min-height: 48px; background: var(--rb-orange-600) !important; color: #fff !important; font-size: 13.5px; border-radius: 11px; }
.rb-auth .woocommerce-form-login__submit:hover, .rb-auth .woocommerce-form-register__submit:hover { background: var(--rb-orange-700) !important; }
.rb-auth .lost_password { text-align: center; margin-top: 10px; }
.rb-auth .woocommerce-form-login-toggle, .rb-auth .woocommerce-form-register-toggle { display: none; }

/* فیلدها: بلندتر، برچسب بالای فیلد، دکمهٔ نمایش رمز در انتهای فیلد */
.rb-auth .woocommerce-Input,
.rb-auth input.input-text {
  min-height: 50px; font-size: 13.5px; padding: 10px 14px; border-radius: 11px;
  border: 1px solid var(--rb-line); background: var(--rb-surface-2); width: 100%;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.rb-auth .woocommerce-Input:focus,
.rb-auth input.input-text:focus {
  border-color: var(--rb-orange); background: #fff; box-shadow: 0 0 0 4px rgba(232, 89, 12, .12); outline: 0;
}
.rb-auth .form-row label { font-size: 12.5px; font-weight: 700; margin-bottom: 6px; display: block; color: var(--rb-ink-2); }
.rb-auth .form-row .required { color: var(--rb-red); text-decoration: none; }
.rb-pw { position: relative; display: block; }
.rb-pw .woocommerce-Input { padding-inline-end: 46px; }
.rb-pw__toggle {
  position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border: 0; border-radius: 9px; background: transparent;
  color: var(--rb-muted); display: inline-flex; align-items: center; justify-content: center;
}
.rb-pw__toggle:hover { background: var(--rb-bg-2); color: var(--rb-ink); }
.rb-pw__toggle.is-on { background: var(--rb-orange-soft); color: var(--rb-orange-700); }
/* چک‌باکس استایل‌دار */
.rb-auth .woocommerce-form__label-for-checkbox,
.rb-auth .woocommerce-form-login__rememberme {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 12px; color: var(--rb-ink-2); cursor: pointer;
}
.rb-auth input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; flex: none; margin: 0;
  border: 1.5px solid #c3c8d1; border-radius: 6px; background: #fff;
  display: inline-grid; place-content: center; cursor: pointer; transition: .18s;
}
.rb-auth input[type="checkbox"]::after {
  content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0;
  transform: rotate(-45deg) scale(0); transition: transform .15s var(--rb-ease);
}
.rb-auth input[type="checkbox"]:checked { background: var(--rb-orange-600); border-color: var(--rb-orange-600); }
.rb-auth input[type="checkbox"]:checked::after { transform: rotate(-45deg) scale(1); }
.rb-auth input[type="checkbox"]:focus-visible { outline: 3px solid rgba(232, 89, 12, .4); outline-offset: 2px; }
.rb-loginrow { display: grid; gap: 10px; margin-top: 4px; }
.rb-loginrow .woocommerce-form-login__submit { width: 100%; }

/* 16. Cart & checkout ---------------------------------------------------- */
.rb-cartwrap, .rb-checkoutwrap { padding: 10px 0 44px; }
.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce { display: block; }
.woocommerce .cart-collaterals, .woocommerce-page .cart-collaterals { width: 100%; float: none; }
.woocommerce-cart-form { background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: 8px 16px 16px; }
.woocommerce table.shop_table.cart { border: 0; margin: 0; }
.woocommerce table.shop_table.cart th { background: transparent; border-bottom: 1px solid var(--rb-line); }
.woocommerce table.shop_table.cart td { border-bottom: 1px solid var(--rb-line-2); }
.woocommerce table.shop_table.cart td.product-thumbnail img { width: 70px; height: 70px; object-fit: contain; border-radius: 9px; border: 1px solid var(--rb-line); background: #fff; }
.woocommerce table.shop_table.cart td.product-name a { font-size: 12.5px; font-weight: 700; }
.woocommerce table.shop_table.cart .product-remove a { color: #b91c1c; font-size: 18px; }
/* Quantity stepper buttons — shared by product page & cart */
.rb-qty-btn { width: 38px; border: 0; background: transparent; color: var(--rb-ink-2); font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; user-select: none; transition: background .15s ease, color .15s ease; }
.rb-qty-btn:hover:not(:disabled) { background: var(--rb-orange-soft); color: var(--rb-orange-700); }
.rb-qty-btn:disabled { opacity: .3; cursor: default; }
.woocommerce table.shop_table.cart .quantity.rb-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--rb-line); border-radius: 8px; overflow: hidden; height: 38px; }
.woocommerce table.shop_table.cart .quantity.rb-qty input.qty { width: 40px; height: 100%; border: 0; text-align: center; background: #fff; font-weight: 800; -moz-appearance: textfield; }
.woocommerce table.shop_table.cart .quantity.rb-qty .rb-qty-btn { width: 32px; font-size: 17px; }
.woocommerce table.shop_table.cart .quantity.rb-qty input.qty::-webkit-outer-spin-button, .woocommerce table.shop_table.cart .quantity.rb-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.woocommerce .cart_totals, .woocommerce-page .cart_totals { background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: 18px; width: 100% !important; float: none !important; }
.woocommerce .cart_totals h2 { font-size: 16px; font-weight: 900; margin-bottom: 10px; }
.woocommerce .cart_totals table.shop_table { border: 0; }
.woocommerce .cart_totals table.shop_table th { background: transparent; }
.woocommerce .cart_totals .checkout-button { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; background: var(--rb-orange-600); font-size: 13.5px; }
.woocommerce .cart-collaterals .cross-sells { width: 100%; margin-top: 18px; }
.woocommerce-cart .cart-empty { text-align: center; padding: 40px 20px; }
.woocommerce-cart .return-to-shop { text-align: center; }
.woocommerce-cart .return-to-shop .button { background: var(--rb-orange); }
.woocommerce .coupon { display: flex; gap: 6px; margin: 12px 0; }
.woocommerce .coupon input.input-text { min-height: 40px; border: 1px solid var(--rb-line); border-radius: 9px; padding: 0 10px; font-size: 12px; }
.woocommerce .coupon .button { background: var(--rb-ink); }
.woocommerce-checkout .col2-set { width: 100%; float: none; display: grid; grid-template-columns: 1fr; gap: 14px; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
.woocommerce-checkout #customer_details { background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: 20px; width: 100% !important; float: none !important; }
.woocommerce-checkout #customer_details h3 { font-size: 15px; margin-bottom: 10px; }
.woocommerce-checkout #order_review_heading { font-size: 16px; margin: 18px 0 10px; }
.woocommerce-checkout #order_review { background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: 18px; width: 100% !important; float: none !important; }
.woocommerce-checkout #order_review table.shop_table { border: 0; }
.woocommerce-checkout #payment { background: var(--rb-surface-2); border-radius: 13px; padding: 12px; }
.woocommerce-checkout #payment ul.payment_methods { border: 0; }
.woocommerce-checkout #payment div.payment_box { background: #fff; border-radius: 9px; font-size: 11.5px; }
.woocommerce-checkout #payment #place_order { width: 100%; min-height: 50px; background: var(--rb-orange-600); font-size: 14px; font-weight: 900; }
.woocommerce-checkout .woocommerce-info, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message, .woocommerce .woocommerce-error {
  border-radius: 12px; border: 0; border-inline-start: 4px solid var(--rb-orange);
  background: #fff; padding: 12px 16px; font-size: 12.5px; box-shadow: var(--rb-shadow);
}
.woocommerce .woocommerce-message { border-inline-start-color: var(--rb-green); }
.woocommerce .woocommerce-error { border-inline-start-color: var(--rb-red); }

@media (min-width: 1024px) {
  .woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
  .woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
  .woocommerce-cart .woocommerce > .woocommerce-message,
  .woocommerce-cart .woocommerce > .woocommerce-info,
  .woocommerce-cart .woocommerce > .woocommerce-error { grid-column: 1 / -1; }
  .woocommerce-cart .woocommerce-cart-form { grid-column: 1; }
  .woocommerce-cart .cart-collaterals { grid-column: 2; position: sticky; top: 160px; }
  .woocommerce-cart .cart-collaterals .cross-sells { display: none; }

  .woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 18px; align-items: start; }
  /* The right column (heading + order summary) is ONE grid cell. Previously the
     heading and the summary were separate rows while #customer_details spanned
     both, so the tall address column stretched row 1 and left a ~190px empty
     gap under «سفارش شما» on desktop. */
  .woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1; margin: 0; }
  .woocommerce-checkout .rb-review-col { grid-column: 2; grid-row: 1; min-width: 0; align-self: stretch; }
  .woocommerce-checkout #order_review_heading { margin: 2px 0 10px; font-size: 16px; }
  .woocommerce-checkout #order_review { position: sticky; top: 160px; }
  .woocommerce-checkout form.checkout > .woocommerce-NoticeGroup,
  .woocommerce-checkout form.checkout > .woocommerce-form-coupon-toggle,
  .woocommerce-checkout form.checkout > .woocommerce-info { grid-column: 1 / -1; }
}

/* 17. Static pages / contact / services / about -------------------------- */
.rb-page { padding: 8px 0 42px; }
.rb-page__hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #fff, #f7efe4 65%, #efe3d2); border: 1px solid var(--rb-line); border-radius: var(--rb-radius-lg); padding: 42px; margin-bottom: 24px; }
.rb-page__hero h1 { font-size: clamp(27px, 3.6vw, 42px); font-weight: 900; line-height: 1.5; letter-spacing: -.6px; }
.rb-page__hero p { color: var(--rb-muted); font-size: 13.5px; line-height: 2; max-width: 640px; margin-top: 8px; }
.rb-page__hero .rb-pill { margin-bottom: 12px; }
.rb-page__hero-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 18px; }
.rb-page__hero--center { text-align: center; }
.rb-page__hero--center p { margin-inline: auto; }
.rb-page__hero--center .rb-page__hero-actions { justify-content: center; }
.rb-page__layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; align-items: start; }
.rb-page__content { background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: 24px 28px; }
.rb-page__side { display: grid; gap: 12px; position: sticky; top: 158px; }
.rb-sidecard { background: #fff; border: 1px solid var(--rb-line); border-radius: 15px; padding: 16px; }
.rb-sidecard h3 { font-size: 13px; font-weight: 900; margin-bottom: 8px; }
.rb-sidecard a { display: flex; align-items: center; gap: 7px; padding: 6px 0; font-size: 12px; color: var(--rb-muted); }
.rb-sidecard a:hover { color: var(--rb-orange-700); }
.rb-sidecard--cta { background: linear-gradient(140deg, #2f2118, #5c3d26); color: #fff; border: 0; }
.rb-sidecard--cta p { color: rgba(255, 255, 255, .6); font-size: 11.5px; line-height: 1.9; margin: 4px 0 10px; }
.rb-sidecard--cta .rb-btn { width: 100%; background: var(--rb-orange); }

.rb-statsrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.rb-statsrow__item { background: #fff; border: 1px solid var(--rb-line); border-radius: 15px; padding: 18px; text-align: center; }
.rb-statsrow__item strong { display: block; font-size: 26px; font-weight: 900; color: var(--rb-orange-600); }
.rb-statsrow__item span { color: var(--rb-muted); font-size: 11.5px; }
.rb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rb-info-card { background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: 22px; }
.rb-info-card__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--rb-orange-soft); color: var(--rb-orange-600); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.rb-info-card h3 { font-size: 14px; font-weight: 900; }
.rb-info-card p { color: var(--rb-muted); font-size: 12px; line-height: 2; margin-top: 5px; }
.rb-info-card a { color: var(--rb-orange-700); font-weight: 700; font-size: 11.5px; display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }

.rb-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; align-items: start; }
.rb-contact__info { display: grid; gap: 10px; }
.rb-contact__card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--rb-line); border-radius: 13px; padding: 14px; }
.rb-contact__card .rb-ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--rb-orange-soft); color: var(--rb-orange-600); }
.rb-contact__card strong { display: block; font-size: 12px; }
.rb-contact__card span { color: var(--rb-muted); font-size: 11.5px; direction: ltr; }
.rb-contact__form { background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: 22px; }
.rb-form { display: grid; gap: 11px; }
.rb-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.rb-field label { display: block; font-size: 11.5px; font-weight: 700; margin-bottom: 4px; color: var(--rb-ink-2); }
.rb-field input, .rb-field textarea, .rb-field select { width: 100%; min-height: 44px; border: 1px solid var(--rb-line); border-radius: 10px; padding: 9px 12px; background: var(--rb-surface-2); font-size: 12.5px; outline: 0; transition: .2s; }
.rb-field textarea { min-height: 120px; resize: vertical; }
.rb-field input:focus, .rb-field textarea:focus, .rb-field select:focus { border-color: var(--rb-orange); background: #fff; box-shadow: 0 0 0 3px rgba(232, 89, 12, .12); }
.rb-field--full { grid-column: 1 / -1; }
.rb-notice { border-radius: 11px; padding: 11px 14px; font-size: 12px; margin-bottom: 12px; }
.rb-notice--ok { background: var(--rb-green-soft); color: #047857; border: 1px solid #a7f3d0; }
.rb-notice--err { background: var(--rb-red-soft); color: #b91c1c; border: 1px solid #fecaca; }

.rb-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.rb-process__step { position: relative; background: #fff; border: 1px solid var(--rb-line); border-radius: 15px; padding: 20px; }
.rb-process__num { width: 34px; height: 34px; border-radius: 10px; background: var(--rb-orange-soft); color: var(--rb-orange-700); font-weight: 900; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 9px; }
.rb-process__step h3 { font-size: 13px; }
.rb-process__step p { color: var(--rb-muted); font-size: 11.5px; line-height: 1.9; margin-top: 3px; }
.rb-cta { position: relative; overflow: hidden; background: linear-gradient(125deg, #2f2118, #3d2d20 60%, #4a3222); color: #fff; border-radius: var(--rb-radius-lg); padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rb-cta h2 { font-size: 22px; font-weight: 900; }
.rb-cta p { color: rgba(255, 255, 255, .6); font-size: 12.5px; margin-top: 4px; }

/* 18. Search / 404 ------------------------------------------------------- */
.rb-searchpage { padding: 16px 0 42px; }
.rb-searched { display: grid; gap: 10px; }
.rb-searched__tabs { display: flex; gap: 4px; background: #fff; border: 1px solid var(--rb-line); border-radius: 11px; padding: 4px; width: max-content; }
.rb-searched__tabs a { padding: 7px 14px; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--rb-muted); }
.rb-searched__tabs a.is-active { background: var(--rb-ink); color: #fff; }
.rb-searchresult { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--rb-line); border-radius: 13px; padding: 12px; }
.rb-searchresult img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.rb-searchresult h3 { font-size: 13px; }
.rb-searchresult p { color: var(--rb-muted); font-size: 11.5px; }
.rb-searchresult__type { margin-inline-start: auto; font-size: 10px; color: var(--rb-faint); background: var(--rb-bg); border-radius: 999px; padding: 3px 8px; }
.rb-404 { min-height: 62vh; display: flex; align-items: center; justify-content: center; padding: 30px 0; }
.rb-404__card { max-width: 620px; text-align: center; background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius-lg); padding: 44px 30px; box-shadow: var(--rb-shadow); }
.rb-404__code { font-size: 64px; font-weight: 900; line-height: 1; color: var(--rb-orange); letter-spacing: -3px; }
.rb-404__card h1 { font-size: 22px; margin-top: 8px; }
.rb-404__card p { color: var(--rb-muted); font-size: 13px; margin: 6px 0 18px; }

/* 19. Responsive --------------------------------------------------------- */
@media (max-width: 1240px) {
  .rb-nav__link { padding: 8px 8px; font-size: 12px; }
  .rb-navbar__extra { display: none; }
  .rb-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rb-quickcat__grid { grid-template-columns: repeat(8, 1fr); }
  .rb-mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) 220px; }
}
@media (max-width: 1100px) {
  .rb-header__mainin { gap: 16px; }
  .rb-action__text { display: none; }
  .rb-action--cart .rb-action__text { display: none; }
  .rb-nav__link { padding: 8px 7px; font-size: 11.5px; }
  .rb-nav__link .rb-ic { display: none; }
  .rb-nav__link .rb-nav__chev { display: none; }
  .rb-shop__layout { grid-template-columns: 248px minmax(0, 1fr); }
  .rb-shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-catshow { grid-template-columns: 1fr; }
  .rb-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rb-games__grid { grid-template-columns: repeat(4, 1fr); }
  .rb-brands { grid-template-columns: repeat(4, 1fr); }
  .rb-blogfeatured { grid-template-columns: 1fr 1fr; }
  .rb-blogfeatured .rb-post--feature:first-child { grid-column: 1 / -1; }
  .rb-footer__main { grid-template-columns: 1.4fr 1fr 1fr; }
  .rb-footer__col--contact { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .rb-footer__col--contact h3 { grid-column: 1 / -1; }
  .rb-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  .rb-topbar__links { display: none; }
  .rb-topbar__in { min-height: 28px; justify-content: center; }
  .rb-float { display: flex; }
  .rb-to-top { bottom: 20px; right: 14px; width: 38px; height: 38px; }
  /* هدر موبایل: لوگو دقیقاً وسط، برگر راست، اکشن‌ها چپ.
     ستون‌های 1fr/1fr دو طرف برابرند، پس مرکز لوگو با مرکز صفحه یکی است. */
  .rb-header__mainin {
    display: grid; grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "burger logo actions" "search search search";
    align-items: center; gap: 10px; padding-block: 10px; min-height: 0;
  }
  .rb-burger { display: inline-flex; grid-area: burger; justify-self: start; }
  .rb-burger__label { display: inline; }
  .rb-logo { grid-area: logo; justify-self: center; margin: 0; }
  .rb-logo__mark { width: 40px; height: 40px; border-radius: 12px; }
  .rb-logo__word { font-size: 18px; }
  .rb-logo__tag { display: none; }
  .rb-search { grid-area: search; width: 100%; max-width: none; height: 46px; }
  .rb-actions { grid-area: actions; justify-self: end; gap: 2px; }
  .rb-action__text { display: none; }
  .rb-navbar { display: none; }
  .rb-account__menu { left: 0; right: auto; }
  .rb-drawer { display: flex; }
  .rb-account__menu { display: none; }
  .rb-account.is-open .rb-account__menu { display: block; }
  .rb-shop__layout { grid-template-columns: 1fr; }
  .rb-shop__side { position: static; display: none; }
  .rb-shop__side.is-open { display: grid; }
  .rb-mobile-filter { display: inline-flex; }
  .rb-shop__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rb-product__top { grid-template-columns: 1fr; }
  .rb-gallery { position: static; }
  .rb-account-layout { grid-template-columns: 1fr; }
  .rb-account-side { position: static; }
  .rb-account-nav { display: flex; overflow-x: auto; gap: 4px; padding: 10px; scrollbar-width: none; }
  .rb-account-nav::-webkit-scrollbar { display: none; }
  .rb-account-nav a { white-space: nowrap; font-size: 11.5px; padding: 8px 10px; }
  .rb-account-nav a.rb-account-nav__logout { border: 0; margin: 0; padding: 8px 10px; }
  .rb-account-side__head { display: flex; align-items: center; gap: 10px; text-align: right; padding: 14px; }
  .rb-account-side__avatar { width: 46px; height: 46px; margin: 0; }
  .rb-dash-grid { grid-template-columns: 1fr; }
  .rb-bloglayout { grid-template-columns: 1fr; }
  .rb-blogside { position: static; grid-template-columns: 1fr 1fr; }
  .rb-article__body { grid-template-columns: 1fr; }
  .rb-toc { position: static; order: -1; }
  .rb-page__layout { grid-template-columns: 1fr; }
  .rb-page__side { position: static; grid-template-columns: 1fr 1fr; }
  .rb-contact { grid-template-columns: 1fr; }
  .rb-auth { grid-template-columns: 1fr; }
  .rb-auth__brand { display: none; }
  .rb-statsrow { grid-template-columns: repeat(2, 1fr); }
  .rb-process { grid-template-columns: repeat(2, 1fr); }
  .rb-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .rb-container { padding-inline: 14px; }
  .rb-topbar { font-size: 10.5px; }
  .rb-topbar__promo { gap: 5px; text-align: center; }
  .rb-topbar__muted, .rb-topbar__dot { display: none; }
  .rb-burger { padding: 0 10px; height: 42px; }
  .rb-burger__label { display: none; }
  .rb-action__icon { width: 38px; height: 38px; }
  .rb-search { height: 44px; }
  .rb-search__btn span { display: none; }
  .rb-search__btn { padding: 0 14px; }
  .rb-quickcat { padding: 14px 8px; }
  .rb-quickcat__grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .rb-quickcat__icon { width: 48px; height: 48px; border-radius: 15px; }
  .rb-quickcat__name { font-size: 11px; }
  .rb-hero__shell, .rb-hero__track { min-height: 0; }
  .rb-hero__slide { grid-template-columns: 1fr; }
  .rb-hero__slide.is-active { display: flex; flex-direction: column-reverse; }
  .rb-hero__content { padding: 24px 20px 30px; gap: 10px; }
  .rb-hero__title { font-size: 27px; }
  .rb-hero__desc { font-size: 12.5px; }
  .rb-hero__media { height: 210px; }
  .rb-hero__media::after { background: linear-gradient(to top, #fdf8f1, transparent 40%); }
  .rb-hero__dots { right: 20px; bottom: 12px; }
  .rb-hero__arrows { display: none; }
  .rb-trust { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rb-trust__item { padding: 10px; gap: 8px; }
  .rb-trust__icon { width: 34px; height: 34px; border-radius: 10px; }
  .rb-trust__item strong { font-size: 11px; }
  .rb-trust__item span { font-size: 9px; }
  .rb-section { padding: 26px 0; }
  .rb-section-head { align-items: flex-start; }
  .rb-section-head h2 { font-size: 17px; }
  .rb-section-head p { font-size: 11px; }
  .rb-section-head__link { font-size: 11px; }
  .rb-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .rb-card__body { padding: 9px 9px 10px; gap: 5px; }
  .rb-card__title { font-size: 11.5px; min-height: 38px; }
  .rb-card__cat { font-size: 9px; }
  .rb-card__cta { font-size: 10.5px; padding: 7px; }
  .rb-price { font-size: 12px; }
  .rb-catshow__body { grid-template-columns: 1fr 1fr; }
  .rb-catshow__head { padding: 13px; }
  .rb-catshow__title h3 { font-size: 13px; }
  .rb-services { grid-template-columns: 1fr 1fr; gap: 9px; }
  .rb-service { padding: 14px; }
  .rb-service__icon { width: 40px; height: 40px; border-radius: 11px; }
  .rb-service h3 { font-size: 12px; }
  .rb-service p { font-size: 10.5px; }
  .rb-games { padding: 16px; border-radius: 20px; }
  .rb-games__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rb-games__title h2 { font-size: 16px; }
  .rb-games__grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .rb-brands { grid-template-columns: repeat(3, 1fr); }
  .rb-brand { height: 54px; font-size: 11px; }
  .rb-bloggrid { grid-template-columns: 1fr; }
  .rb-blogfeatured { grid-template-columns: 1fr; }
  .rb-bloghero { padding: 30px 18px; border-radius: 20px; }
  .rb-bloghero h1 { font-size: 28px; }
  .rb-bloghero__stats { gap: 20px; }
  .rb-bloghero__stat strong { font-size: 19px; }
  .rb-blogside { grid-template-columns: 1fr; }
  .rb-article__head { padding: 16px 16px 4px; }
  .rb-article__body { padding: 14px 16px 18px; }
  .rb-article__foot { padding: 0 16px 18px; }
  .rb-article__head h1 { font-size: 23px; }
  .rb-prose { font-size: 13.5px; }
  .rb-footer__main { grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 30px 24px; }
  .rb-footer__brand { grid-column: 1 / -1; }
  .rb-footer__col--contact { grid-template-columns: 1fr; }
  .rb-footer__bottom { flex-direction: column; text-align: center; }  .rb-newsletter__in { flex-direction: column; align-items: stretch; padding-block: 22px; }
  .rb-newsletter__form { width: 100%; }
  .rb-trustband__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rb-trustband__item strong { font-size: 10.5px; }
  .rb-trustband__item span { font-size: 9px; }
  .rb-trustband__item .rb-ic { width: 34px; height: 34px; padding: 8px; }
  .rb-to-top { bottom: 16px; right: 12px; }
  .rb-shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-shoptop { padding: 8px 10px; }
  .rb-shoptop > div:last-child { flex: 1 1 100%; min-width: 0; }
  .rb-sorts { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .rb-sorts::-webkit-scrollbar { display: none; }
  .rb-sorts a { white-space: nowrap; }
  .rb-resultcount { font-size: 11px; }
  .rb-shop__side.is-open { display: grid; }
  .rb-product__pricebox .rb-price { flex-direction: row; align-items: baseline; gap: 8px; }
  .rb-product__pricebox .rb-price ins { font-size: 18px; }
  .rb-product__trust { grid-template-columns: 1fr 1fr; }
  .rb-gallery__main { aspect-ratio: 4 / 3; padding: 14px; }
  .rb-contact__card { padding: 10px 12px; gap: 9px; }
  .rb-contact__card .rb-ic { width: 36px; height: 36px; padding: 8px; }
  .rb-contact__info { gap: 7px; }
  .rb-tabs__nav { overflow-x: auto; }
  .rb-tabs__btn { white-space: nowrap; font-size: 11.5px; padding: 12px; }
  .rb-tabs__panel { padding: 16px; }
  .rb-specs th { width: 120px; font-size: 11px; }
  .rb-accountwrap { padding-top: 4px; }
  .rb-dash-hero { flex-direction: column; align-items: flex-start; padding: 18px; }
  .rb-stats { grid-template-columns: 1fr 1fr; }
  .rb-auth__form { padding: 22px 18px; }
  .rb-woocommerce-Addresses, .woocommerce-Addresses { grid-template-columns: 1fr; }
  .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; margin: 0; }
  .woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td { text-align: right; }
  .rb-page__hero { padding: 26px 20px; border-radius: 20px; }
  .rb-page__hero h1 { font-size: 26px; }
  .rb-page__content { padding: 18px; }
  .rb-page__side { grid-template-columns: 1fr; }
  .rb-cards { grid-template-columns: 1fr; }
  .rb-contact__form { padding: 16px; }
  .rb-form__row { grid-template-columns: 1fr; }
  .rb-statsrow { grid-template-columns: 1fr 1fr; }
  .rb-process { grid-template-columns: 1fr; }
  .rb-cta { flex-direction: column; text-align: center; padding: 24px 18px; }
  .rb-cta h2 { font-size: 19px; }
  .rb-bloglayout { gap: 16px; }
  .rb-blogside { position: static; }
}
@media (max-width: 420px) {
  .rb-logo__word { font-size: 16px; }
  .rb-logo__mark { width: 36px; height: 36px; }
  .rb-burger { padding: 0 8px; }
  .rb-actions { gap: 0; }
  .rb-action { padding: 5px; }
  .rb-action__icon { width: 36px; height: 36px; }
  .rb-products { gap: 7px; }
  .rb-quickcat__grid { grid-template-columns: repeat(4, 1fr); }
  .rb-games__grid { grid-template-columns: repeat(2, 1fr); }
  .rb-catshow__body { grid-template-columns: 1fr; }
  .rb-footer__main { grid-template-columns: 1fr; }
  .rb-footer__brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 20. WooCommerce compatibility cleanup ---------------------------------- */
.woocommerce .woocommerce-breadcrumb { display: none; }
.woocommerce .star-rating { color: #f59e0b; }
.woocommerce .star-rating::before { color: #e2e8f0; }
.woocommerce nav.woocommerce-pagination { display: none; }
.woocommerce .products .star-rating { display: none; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin: 0; }
.woocommerce .woocommerce-ordering select { min-height: 40px; border: 1px solid var(--rb-line); border-radius: 9px; background: #fff; padding: 0 10px; font-size: 12px; }
.select2-container--default .select2-selection--single { background: var(--rb-surface-2) !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px !important; padding-inline: 12px !important; }
.select2-dropdown { border-color: var(--rb-line) !important; border-radius: 10px !important; }
.yith-wcwl-add-to-wishlist { margin: 8px 0; }
.wishlist-title-container, .wishlist-title { display: none !important; }
.woocommerce .wishlist_table { width: 100%; border-collapse: collapse; }
.woocommerce .wishlist_table th, .woocommerce .wishlist_table td { padding: 10px; font-size: 12px; border-bottom: 1px solid var(--rb-line-2); }
.woocommerce .wishlist_table .product-name a { font-weight: 700; }
.yith-wcwl-add-to-wishlist a { font-size: 11.5px; color: var(--rb-muted); }

/* --- علاقه‌مندی‌ها: حالت خالی -------------------------------------------- */
/* YITH برای جدول خالی هم ۶ ستون با تیترهای خالی می‌سازد و خط‌های عمودی
   بی‌معنا نشان می‌دهد؛ اینجا هدر پنهان و یک empty-state تمیز جایگزین می‌شود. */
.woocommerce .wishlist_table:has(.wishlist-empty) thead { display: none; }
.woocommerce .wishlist_table .wishlist-empty {
  border: 0 !important;
  padding: 0 !important;
  background: transparent;
  color: var(--rb-muted);
  font-size: 13px;
  line-height: 2;
  text-align: center;
}
.woocommerce .wishlist_table .wishlist-empty::before {
  content: "";
  display: block;
  width: 72px; height: 72px;
  margin: 0 auto 14px;
  border-radius: 22px;
  background: var(--rb-orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 24 24' fill='none' stroke='%23ce4a09' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 5.6a5.4 5.4 0 0 0-7.7 0L12 6.7l-1.1-1.1a5.4 5.4 0 0 0-7.7 7.7L12 22l8.8-8.7a5.4 5.4 0 0 0 0-7.7z'/%3E%3C/svg%3E") center / 34px no-repeat;
}
.woocommerce .wishlist_table:has(.wishlist-empty) tbody { display: block; }
.woocommerce .wishlist_table:has(.wishlist-empty) tr { display: block; }
/* کارت سفید اطراف empty-state */
.woocommerce .wishlist_table:has(.wishlist-empty) {
  background: #fff;
  border: 1px dashed var(--rb-line);
  border-radius: var(--rb-radius);
  padding: 46px 24px;
}
/* دکمهٔ «مرور محصولات» که YITH بعد از empty می‌گذارد */
.woocommerce .wishlist_table:has(.wishlist-empty) .wishlist-empty + * { margin-top: 12px; }
.rb-wishlist-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { margin-bottom: 14px !important; }
.woocommerce-notices-wrapper:empty { display: none; }
.screen-reader-text { position: absolute !important; clip: rect(0 0 0 0); width: 1px; height: 1px; overflow: hidden; }

/* =========================================================================
   21. Home section layouts — «مدل چیدمان بخش‌های صفحه»
   دسته‌بندی‌ها (کاشی) · جدیدترین‌ها (تب) · خدمات (کارت + مراحل) ·
   پرفروش‌ها (شاخص + ۴) · بازی‌ها (پوستر + تب) · وبلاگ (شاخص + لیست)
   ========================================================================= */

/* --- تب‌بار ------------------------------------------------------------- */
.rb-tabbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.rb-tabbar__btn {
  min-height: 38px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--rb-line); background: #fff; color: var(--rb-ink-2);
  font-size: 12.5px; font-weight: 700; transition: .18s;
}
.rb-tabbar__btn:hover { border-color: var(--rb-ink-2); color: var(--rb-ink); }
.rb-tabbar__btn.is-active { background: var(--rb-navy); border-color: var(--rb-navy); color: #fff; }
/* wrapper سبک است تا خودِ کارت آیتم گرید بماند */
.rb-tabitem { display: contents; }
.rb-tabitem.is-hidden { display: none !important; }

/* --- دسته‌بندی‌ها: کاشی بزرگ (وسط‌چین) ---------------------------------- */
.rb-cattiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rb-cattile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 6px;
  background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius);
  padding: 22px 16px 20px; transition: .2s var(--rb-ease);
}
.rb-cattile:hover { transform: translateY(-3px); border-color: #ded7c9; box-shadow: var(--rb-shadow); }
.rb-cattile__icon {
  width: 52px; height: 52px; border-radius: 15px; margin-bottom: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rb-bg-2); color: var(--rb-ink-2); transition: .2s;
}
.rb-cattile:hover .rb-cattile__icon { background: var(--rb-orange-soft); color: var(--rb-orange-700); }
.rb-cattile__name { font-size: 14px; font-weight: 800; line-height: 1.5; }
.rb-cattile__count { font-size: 11.5px; color: var(--rb-muted); }
.rb-cattile__go { display: none; }

/* --- خدمات: ۳ کارت + نوار مراحل ---------------------------------------- */
.rb-services--3 { grid-template-columns: repeat(3, 1fr); }
.rb-steps {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
  background: #fff; border: 1px solid var(--rb-line); border-radius: 14px; padding: 14px 18px;
}
.rb-step { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.rb-step:last-child { flex: none; }
.rb-step__num {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--rb-orange-600); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.rb-step__label { font-size: 12.5px; font-weight: 700; color: var(--rb-ink-2); white-space: nowrap; }
.rb-step__line { flex: 1; border-top: 2px dashed var(--rb-line); min-width: 14px; }

/* --- پرفروش‌ترین‌ها: گرید یکدست + دکمهٔ «بیشتر» ------------------------- */
/* ۱۲ کارت اول دیده می‌شود (دو ردیف ۶تایی)؛ بقیه با دکمه باز می‌شوند */
#rbBestGrid > .rb-card:nth-child(n + 13) { display: none; }
#rbBestGrid.is-revealed > .rb-card:nth-child(n + 13) { display: flex; }
.rb-more { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 18px; }
.rb-more__btn { min-width: 220px; gap: 7px; }
.rb-more__btn .rb-ic { transition: transform .2s; }
.rb-more__btn.is-done { opacity: .55; cursor: default; }
.rb-more__btn.is-done .rb-ic { transform: rotate(180deg); }
.rb-more__count { font-size: 11.5px; color: var(--rb-muted); }

/* --- بازی‌ها: پوستر با تب ----------------------------------------------- */
.rb-games__tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rb-games__arrows { display: flex; gap: 6px; }
.rb-games__arrow {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; transition: .18s;
}
.rb-games__arrow:hover { background: rgba(255, 255, 255, .16); }
.rb-games__row {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 4px; scrollbar-width: none;
}
.rb-games__row::-webkit-scrollbar { display: none; }
.rb-games__row .rb-game { flex: 0 0 calc((100% - 48px) / 5); scroll-snap-align: start; }
.rb-games__row .rb-game[hidden] { display: none !important; }
.rb-game__discount {
  position: absolute; top: 7px; left: 7px; z-index: 1;
  background: #b91c1c; color: #fff; border-radius: 999px; padding: 2px 8px;
  font-size: 10px; font-weight: 800; line-height: 1.7;
}
.rb-game__price .rb-price { color: #c9a279; }
.rb-game__price .rb-price ins { color: #c9a279; font-size: 13.5px; }
.rb-game__price .rb-price del { color: rgba(255, 255, 255, .55); font-size: 10.5px; }

/* --- وبلاگ: یک شاخص + لیست ---------------------------------------------- */
.rb-blogfeat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.rb-blogfeat__main { min-width: 0; }
.rb-blogfeat__main .rb-post { height: 100%; }
.rb-blogfeat__main .rb-post--feature .rb-post__media { aspect-ratio: 16 / 10; }
.rb-blogfeat__main .rb-post--feature .rb-post__body { padding: 16px 18px 18px; gap: 8px; }
.rb-blogfeat__main .rb-post--feature .rb-post__title { font-size: 18px; }
.rb-blogfeat__main .rb-post--feature .rb-post__excerpt { font-size: 12.5px; }
.rb-bloglist { display: grid; gap: 10px; align-content: start; }
.rb-blogitem {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  background: #fff; border: 1px solid var(--rb-line); border-radius: 14px; padding: 10px;
  transition: .18s;
}
.rb-blogitem:hover { border-color: #ded7c9; box-shadow: var(--rb-shadow); }
.rb-blogitem__thumb { width: 84px; height: 68px; border-radius: 10px; overflow: hidden; flex: none; background: var(--rb-bg); display: block; }
.rb-blogitem__img { width: 100%; height: 100%; object-fit: cover; }
.rb-blogitem__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rb-blogitem__cat { font-size: 10.5px; font-weight: 700; color: var(--rb-orange-700); }
.rb-blogitem__title {
  font-size: 13px; font-weight: 700; line-height: 1.7; color: var(--rb-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rb-blogitem__meta { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--rb-muted); }

/* --- برندها + نوار اعتماد ----------------------------------------------- */
.rb-brands + .rb-trustband {
  margin-top: 16px; border: 1px solid var(--rb-line); border-radius: 14px;
  border-top: 1px solid var(--rb-line); border-bottom: 1px solid var(--rb-line);
}
.rb-brands + .rb-trustband .rb-trustband__grid { padding: 14px 16px; }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1240px) {
  .rb-products--6 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .rb-cattiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rb-products--6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rb-products--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rb-blogfeat { grid-template-columns: 1fr; }
  .rb-games__row .rb-game { flex-basis: calc((100% - 24px) / 3); }
}
@media (max-width: 767px) {
  .rb-cattiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .rb-cattile { padding: 16px 12px 14px; }
  .rb-cattile__icon { width: 44px; height: 44px; border-radius: 13px; }
  .rb-cattile__name { font-size: 12.5px; }
  .rb-products--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-products--5,
  .rb-products--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .rb-services--3 { grid-template-columns: 1fr 1fr; }
  .rb-games__row .rb-game { flex-basis: calc((100% - 12px) / 2); }
  .rb-games__tools { width: 100%; justify-content: space-between; }
  .rb-steps { flex-wrap: wrap; gap: 8px 14px; }
  .rb-step { flex: 1 1 40%; }
  .rb-step__line { display: none; }
  .rb-tabbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .rb-tabbar::-webkit-scrollbar { display: none; }
  .rb-tabbar__btn { white-space: nowrap; }
  .rb-blogitem__thumb { width: 72px; height: 60px; }
  .rb-blogitem__title { font-size: 12px; }
  .rb-more__btn { width: 100%; }
}
@media (max-width: 420px) {
  .rb-services--3 { grid-template-columns: 1fr; }
}

/* =========================================================================
   22. Mobile centering — وسط‌چین در حالت ریسپانسیو
   کارت‌های خدمات، برند/معرفی فوتر و ستون‌های لینک فوتر
   ========================================================================= */
@media (max-width: 767px) {

  /* --- کارت‌های خدمات: آیکون، عنوان، متن و لینک وسط‌چین ---------------- */
  .rb-service,
  .rb-info-card {
    align-items: center;
    text-align: center;
  }
  .rb-service__link,
  .rb-info-card a {
    justify-content: center;
    margin-inline: auto;
  }
  .rb-service p,
  .rb-info-card p { max-width: 42ch; margin-inline: auto; }

  /* --- فوتر: برند و معرفی ------------------------------------------------ */
  .rb-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .rb-footer__brand .rb-logo { justify-content: center; }
  .rb-footer__brand p { margin-inline: auto; text-align: center; }
  .rb-socials { justify-content: center; }

  /* --- فوتر: ستون‌های دسته‌بندی و دسترسی سریع --------------------------- */
  .rb-footer__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .rb-footer__col h3 {
    padding-inline: 0;
    width: 100%;
    text-align: center;
  }
  /* تیتر بدون نوار کنارِ راست؛ نوار کوتاه وسط‌چین زیر عنوان */
  .rb-footer__col h3::before {
    position: static;
    display: block;
    width: 22px;
    height: 3px;
    margin: 7px auto 0;
    border-radius: 3px;
  }
  .rb-footer__col > a {
    justify-content: center;
    gap: 7px;
    width: 100%;
    text-align: center;
  }
  .rb-footer__col > a:hover { padding-inline-start: 0; }
  .rb-footer__more { justify-content: center !important; }

  /* --- فوتر: ستون تماس --------------------------------------------------- */
  .rb-footer__col--contact > a,
  .rb-footer__addr {
    justify-content: center;
    text-align: center;
  }
  .rb-footer__col--contact span { align-items: center; }
  .rb-footer__col--contact .rb-ic { margin-top: 0; }
  .rb-footer__hours { justify-content: center; }

  /* --- نوار اعتماد ------------------------------------------------------- */
  .rb-trustband__item { text-align: center; justify-content: center; flex-direction: column; gap: 6px; }
  .rb-trustband__item strong { text-align: center; }

  /* --- بخش خدمات صفحهٔ اصلی: مراحل هم وسط ------------------------------- */
  .rb-steps { justify-content: center; }
  .rb-step { justify-content: center; }
}

/* =========================================================================
   Live Search — پنل پیشنهادهای لحظه‌ای جستجو
   ========================================================================= */
.rb-ls {
  position: absolute; top: calc(100% + 8px); inset-inline: 0;
  background: var(--rb-surface); border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius); box-shadow: var(--rb-shadow-lg);
  z-index: 60; max-height: min(70vh, 540px); overflow-y: auto;
  overscroll-behavior: contain; animation: rbLsIn .18s var(--rb-ease);
}
@keyframes rbLsIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.rb-ls__loading {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 26px 0; color: var(--rb-faint); font-size: 12.5px;
}
.rb-ls__spin {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--rb-line); border-top-color: var(--rb-orange);
  animation: rbLsSpin .7s linear infinite;
}
@keyframes rbLsSpin { to { transform: rotate(360deg); } }

.rb-ls__empty {
  display: flex; align-items: center; gap: 14px; padding: 20px 18px; color: var(--rb-faint);
}
.rb-ls__empty svg { flex: 0 0 auto; opacity: .55; }
.rb-ls__empty strong { display: block; font-size: 13px; color: var(--rb-ink); margin-bottom: 3px; }
.rb-ls__empty strong i { font-style: normal; color: var(--rb-orange-700); }
.rb-ls__empty small { font-size: 11.5px; }

.rb-ls__sec + .rb-ls__sec { border-top: 1px solid var(--rb-line-2); }
.rb-ls__head {
  padding: 12px 16px 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .4px;
  color: var(--rb-faint);
}

.rb-ls__cats { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 16px 14px; }
.rb-ls__cat {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px;
  background: var(--rb-orange-softer); border: 1px solid var(--rb-line);
  border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--rb-ink);
  transition: .15s;
}
.rb-ls__cat:hover { border-color: var(--rb-orange); background: var(--rb-orange-soft); }
.rb-ls__cat small { font-size: 10px; font-weight: 600; color: var(--rb-faint); }

.rb-ls__item {
  display: flex; align-items: center; gap: 12px; padding: 9px 16px;
  border-inline-start: 3px solid transparent; transition: background .12s;
}
.rb-ls__item:hover, .rb-ls__item.is-cursor {
  background: var(--rb-orange-softer); border-inline-start-color: var(--rb-orange);
}
.rb-ls__img {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 10px; overflow: hidden;
  background: var(--rb-bg); display: inline-flex; align-items: center; justify-content: center;
  color: var(--rb-faint);
}
.rb-ls__img img { width: 100%; height: 100%; object-fit: cover; }
.rb-ls__img.is-fallback svg { opacity: .5; }
.rb-ls__meta { flex: 1; min-width: 0; display: grid; gap: 2px; }
.rb-ls__title {
  font-size: 12.5px; font-weight: 700; color: var(--rb-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rb-ls__catname { font-size: 10.5px; color: var(--rb-faint); }
.rb-ls__price { flex: 0 0 auto; font-size: 12px; font-weight: 800; color: var(--rb-ink); }
.rb-ls__price.is-out { color: var(--rb-red); font-weight: 700; font-size: 11px; }
.rb-ls__date { flex: 0 0 auto; font-size: 10.5px; color: var(--rb-faint); }
.rb-ls mark { background: var(--rb-orange-soft); color: var(--rb-orange-700); border-radius: 3px; padding: 0 1px; }

.rb-ls__all {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 16px; margin-top: 2px; border-top: 1px solid var(--rb-line-2);
  font-size: 12.5px; font-weight: 800; color: var(--rb-orange-700); background: var(--rb-surface-2);
  transition: background .12s;
}
.rb-ls__all:hover { background: var(--rb-orange-softer); }
.rb-ls__all::after { content: "‹"; font-size: 16px; line-height: 1; }

/* داخل منوی موبایل: پنل وابسته به فرمِ دراور است */
.rb-drawer__search { position: relative; margin-bottom: 8px; }
.rb-ls--drawer { max-height: 56vh; }

@media (max-width: 920px) {
  .rb-ls { max-height: 60vh; }
}
