/* =========================================================================
   صفحه‌ی حریم خصوصی (page-privacy.php)
   پایه: page-buying-guide.css + page-returns.css (شیشه‌ی پاپ‌آپ، ردیف‌های بازشونده، دکمه‌های پشتیبانی)
   دکمه‌ها و کارت‌های کوچک بدون backdrop-filter تا روی موبایل سبک بماند.
   ========================================================================= */
.rp-upd { margin-top: 2px !important; font-size: 11px !important; color: rgba(19, 39, 63, .55) !important; }

/* آیکون کاشی */
.rp-ic {
  display: flex; flex: 0 0 36px; height: 36px; align-items: center; justify-content: center; border-radius: 12px;
  border: 1px solid rgba(78, 0, 0, .14); background: rgba(255, 255, 255, .55); box-shadow: inset 0 1px 0 #fff;
}
.rp-ic svg { width: 18px; height: 18px; fill: none; stroke: var(--rg-b); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* چه می‌دانیم، چرا و تا کی */
.rp-led__q { align-items: flex-start; }
.rp-led__q .rr-tg { margin-top: 4px; }
.rp-led__tx { flex: 1; min-width: 0; }
.rp-led__tx b { display: block; font-size: 13px; line-height: 1.7; color: var(--rg-nd); }
.rp-led__tx small { display: block; font-size: 11.5px; font-weight: 500; line-height: 1.9; color: rgba(19, 39, 63, .75); }
.rp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.rp-tags em {
  padding: 2px 10px; border-radius: 999px; font-style: normal; font-size: 10px; font-weight: 800; line-height: 1.8;
  border: 1px solid rgba(19, 39, 63, .14); background: rgba(255, 255, 255, .55); color: var(--rg-nd);
}
.rp-tags em.is-k { border-color: transparent; background: var(--rg-nd); color: #fff; }
.rp-led .rr-a { margin-right: 48px; }

/* فقط این‌ها می‌بینند */
.rp-share { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.rp-share li {
  padding: 14px 8px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 22px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(240, 242, 246, .42));
  box-shadow: inset 0 1.5px 0 #fff, 0 18px 34px -24px rgba(20, 25, 35, .5);
}
.rp-share__ic {
  display: flex; width: 40px; height: 40px; margin: 0 auto 8px; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(19, 39, 63, .2); background: rgba(255, 255, 255, .72);
}
.rp-share__ic svg { width: 19px; height: 19px; fill: none; stroke: var(--rg-n); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rp-share b { display: block; font-size: 12px; color: var(--rg-nd); }
.rp-share small { display: block; font-size: 10.5px; line-height: 1.7; color: rgba(19, 39, 63, .68); }
.rp-note {
  margin-top: 10px !important; padding: 11px 14px; border-radius: 18px; text-align: center;
  background: rgba(255, 255, 255, .32); box-shadow: inset 0 0 0 1px rgba(78, 0, 0, .18);
  font-size: 12px; font-weight: 800; line-height: 1.8; color: var(--rg-b);
}
.rp-note span { display: block; font-size: 11px; font-weight: 500; color: rgba(19, 39, 63, .7); }

/* حق شما */
.rp-rights { display: flex; flex-direction: column; gap: 8px; }
.rp-rights a {
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 12px 9px 18px;
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(240, 242, 246, .42));
  box-shadow: inset 0 1.5px 0 #fff, 0 16px 30px -24px rgba(20, 25, 35, .5);
  color: var(--rg-nd); font-size: 13px; font-weight: 800; text-decoration: none;
  -webkit-tap-highlight-color: transparent; transition: transform .35s var(--rg-e);
}
.rp-rights__ic {
  display: flex; flex: 0 0 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%;
  border: 1px solid rgba(19, 39, 63, .2); background: rgba(255, 255, 255, .72); transition: border-color .3s ease;
}
.rp-rights__ic svg { width: 18px; height: 18px; fill: none; stroke: var(--rg-n); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rp-rights__t { flex: 1; min-width: 0; line-height: 1.6; }
.rp-rights__t small { display: block; font-size: 11px; font-weight: 500; color: rgba(19, 39, 63, .6); }
.rp-rights__ar { color: var(--rg-b); font-size: 15px; transition: transform .35s var(--rg-e); }
.rp-rights a:active { transform: scale(.98); }
.rp-rights a:focus-visible { outline: 2px solid var(--rg-b); outline-offset: 2px; }
@media (hover: hover) {
  .rp-rights a:hover .rp-rights__ic { border-color: var(--rg-b); }
  .rp-rights a:hover .rp-rights__ar { transform: translateX(-3px); }
}

/* لنگر تماس زیر هدر ثابت نرود */
#rp-contact { scroll-margin-top: 90px; }
.rp-foot { margin: 14px 10px 0 !important; font-size: 11px; line-height: 1.9; color: rgba(19, 39, 63, .6); }

@media (min-width: 768px) {
  .rp-rights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .rp-rights a, .rp-rights__ar { transition: none; }
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
