/* =========================================================
   content.css — دسته‌ها، امتیاز، نظرها، وبلاگ، صفحه‌های ثابت، درخواست محصول و نظرسنجی
   ========================================================= */
:root { --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4-4.7-4.4 6.4-.8z'/%3E%3C/svg%3E"); }

/* ---------- ستاره‌ی امتیاز ---------- */
.stars {
  --v: 0; display: inline-block; width: 5em; height: 1em; vertical-align: -.14em; direction: ltr; flex: none;
  background: linear-gradient(90deg, #ffc233 calc(var(--v) * 20%), rgba(255, 255, 255, .2) calc(var(--v) * 20%));
  -webkit-mask: var(--star) 0 0 / 1em 1em repeat-x; mask: var(--star) 0 0 / 1em 1em repeat-x;
}

/* ---------- دسته‌ها ---------- */
.cat-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.cat-grid .cat-card { flex: 1 1 240px; max-width: 330px; }
.cat-card {
  --c: #7950FF; position: relative; display: flex; align-items: center; gap: .9rem; padding: 16px 18px; border-radius: var(--r-lg, 20px); overflow: hidden;
  background: var(--g-fill); background-color: rgba(18, 15, 30, .3); -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur);
  border: 1px solid color-mix(in srgb, var(--c) 30%, rgba(255, 255, 255, .08)); box-shadow: var(--g-shine), var(--g-drop);
  transition: transform .45s var(--ease, ease), border-color .3s, box-shadow .35s; animation: card-in .6s var(--ease, ease) backwards; animation-delay: calc(var(--i, 0) * 50ms);
}
.cat-card::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%); opacity: .55; pointer-events: none; transition: opacity .3s, transform .5s var(--ease, ease); }
.cat-card:hover, .cat-card:focus-visible { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c) 70%, transparent); box-shadow: var(--g-shine), 0 26px 50px -26px color-mix(in srgb, var(--c) 85%, transparent); }
.cat-card:hover::before { opacity: .9; transform: scale(1.15); }
.cat-ico { flex: none; width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.7rem; line-height: 1; border-radius: 16px; background: color-mix(in srgb, var(--c) 22%, rgba(0, 0, 0, .25)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.cat-card:hover .cat-ico { transform: scale(1.1) rotate(-6deg); }
.cat-txt { position: relative; min-width: 0; display: grid; gap: 2px; }
.cat-txt b { font-size: 15.5px; color: var(--text-strong, #fff); }
.cat-txt small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-n { position: relative; margin-inline-start: auto; min-width: 30px; height: 30px; padding-inline: 8px; display: grid; place-items: center; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #fff; background: color-mix(in srgb, var(--c) 40%, rgba(0, 0, 0, .3)); }

/* ---------- کارت محصول: تخفیف و امتیاز ---------- */
.pcard-off { position: absolute; bottom: 10px; right: 10px; z-index: 1; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #ff4d6d, #f33cc0); box-shadow: 0 6px 16px -8px #ff4d6d; }
.pcard-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .8rem; font-size: 12px; color: var(--muted); }
.pcard-rate { display: inline-flex; align-items: center; gap: .3rem; }
.pcard-rate .stars { font-size: .95rem; }
.pcard-rate b { color: var(--text-strong, #fff); font-weight: 700; }
.pcard-rate small { font-size: 12px; }

/* ---------- نظرهای مشتریان ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.review-card { display: flex; flex-direction: column; gap: .7rem; padding: 18px 20px; border-radius: var(--r-lg, 20px); }
.rc-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; font-size: 12px; color: var(--muted); }
.rc-top .stars { font-size: 1.05rem; }
.rc-body { margin: 0; font-size: 14.5px; line-height: 2; color: var(--text); }
.review-card footer { display: flex; align-items: center; gap: .6rem; margin-top: auto; }
.review-card footer b { font-size: 14px; color: var(--text-strong, #fff); }
.review-card footer small { margin-inline-start: auto; font-size: 12px; color: #8ff0bb; }
.rc-av { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--pink, #b50d61), var(--indigo, #4349ff)); }
.rc-reply { margin: 0; padding: 8px 12px; border-radius: var(--r-sm, 10px); font-size: 13px; line-height: 1.9; color: var(--text-soft, #b4b0c8); background: rgba(255, 255, 255, .05); border-inline-start: 3px solid rgba(var(--accent-rgb, 243, 60, 192), .7); }
.rc-reply b { color: var(--text-strong, #fff); }

/* ---------- کارت مطلب وبلاگ ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: .9rem; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg, 20px); transition: transform .45s var(--ease, ease), border-color .3s, box-shadow .35s; }
.post-card:hover, .post-card:focus-visible { transform: translateY(-5px); border-color: rgba(var(--accent-rgb, 243, 60, 192), .5); box-shadow: var(--g-shine), 0 26px 50px -28px rgba(var(--accent-rgb, 243, 60, 192), .7); }
.post-cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, rgba(var(--accent-rgb, 243, 60, 192), .25), rgba(var(--accent2-rgb, 67, 73, 255), .25)); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease, ease); }
.post-card:hover .post-cover img { transform: scale(1.06); }
.post-ph { display: grid; place-items: center; width: 100%; height: 100%; font-size: 2.6rem; }
.post-body { display: flex; flex-direction: column; gap: .5rem; padding: 16px 18px 18px; flex: 1; }
.post-body b { font-size: 16px; line-height: 1.7; color: var(--text-strong, #fff); }
.post-body small { font-size: 13.5px; line-height: 1.9; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .4rem; font-size: 12px; color: var(--muted); }
.post-meta i { font-style: normal; }

/* ---------- نوار درخواست محصول ---------- */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap; padding: clamp(1.2rem, 3vw, 2rem) clamp(1.2rem, 3vw, 2.2rem); border-radius: var(--r-lg, 22px); background-image: radial-gradient(60% 140% at 100% 0, rgba(var(--accent-rgb, 243, 60, 192), .22), transparent 70%), radial-gradient(60% 140% at 0 100%, rgba(var(--accent2-rgb, 67, 73, 255), .22), transparent 70%); }
.cta-band h2 { margin: 0 0 .4rem; font-size: clamp(1.15rem, 2.6vw, 1.5rem); color: var(--text-strong, #fff); line-height: 1.7; }
.cta-band p { margin: 0; max-width: 56ch; font-size: 14.5px; line-height: 2; color: var(--text-soft, #b4b0c8); }

/* ---------- صفحه‌های محتوایی (وبلاگ، صفحه ثابت، درخواست، نظرسنجی) ---------- */
.page-main { padding-block: 1.6rem 0; min-height: 70vh; }
.page-hero { text-align: center; margin-bottom: 1.6rem; }
.page-hero h1 { margin: .5rem 0 .3rem; font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--text-strong, #fff); line-height: 1.5; text-wrap: balance; }
.page-hero p { margin: 0 auto; max-width: 60ch; color: var(--muted); line-height: 2; }
.blog-tools { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; max-width: 720px; margin: 0 auto 1.4rem; }
.blog-tools .input-wrap { flex: 1; min-width: 220px; }
.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-bottom: 1.4rem; }
.tag-row a { padding: 4px 13px; font-size: 13px; border-radius: 999px; color: var(--text); border: 1px solid var(--line); background: rgba(255, 255, 255, .04); transition: background .2s, border-color .2s, color .2s; }
.tag-row a:hover, .tag-row a.is-active { color: #fff; border-color: rgba(var(--accent-rgb, 243, 60, 192), .6); background: rgba(var(--accent-rgb, 243, 60, 192), .16); }
.pager-row { display: flex; justify-content: center; align-items: center; gap: .8rem; margin-top: 1.6rem; font-size: 13.5px; color: var(--muted); }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-state b { display: block; margin-bottom: .4rem; font-size: 1.05rem; color: var(--text-strong, #fff); }

/* مقاله */
.article { max-width: 780px; margin-inline: auto; }
.article-head { text-align: center; margin-bottom: 1.4rem; }
.article-head h1 { margin: .7rem 0 .6rem; font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.6; color: var(--text-strong, #fff); text-wrap: balance; }
.article-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: 13px; color: var(--muted); }
.article-cover { margin: 0 0 1.6rem; border-radius: var(--r-lg, 22px); overflow: hidden; box-shadow: var(--g-drop); }
.article-cover img { width: 100%; max-height: 420px; object-fit: cover; }
.prose { padding: clamp(1.1rem, 3vw, 2rem); border-radius: var(--r-lg, 22px); font-size: 16px; line-height: 2.15; color: var(--text); }
.prose > :first-child { margin-top: 0; } .prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 { color: var(--text-strong, #fff); line-height: 1.7; margin: 1.8em 0 .6em; }
.prose h2 { font-size: 1.4rem; } .prose h3 { font-size: 1.2rem; } .prose h4 { font-size: 1.05rem; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-inline-start: 1.4em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: rgba(var(--accent-rgb, 243, 60, 192), 1); }
.prose a { color: #b9a2ff; text-decoration: underline; text-underline-offset: 4px; }
.prose a:hover { color: #fff; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r-md, 14px); margin-block: .6em; }
.prose blockquote { margin: 1.2em 0; padding: .8em 1.1em; border-inline-start: 4px solid rgba(var(--accent-rgb, 243, 60, 192), .8); background: rgba(255, 255, 255, .05); border-radius: var(--r-sm, 10px); color: var(--text-soft, #b4b0c8); }
.prose code { padding: 1px 7px; border-radius: 6px; background: rgba(255, 255, 255, .1); font-size: .9em; direction: ltr; unicode-bidi: embed; }
.prose pre { overflow: auto; padding: 1em; border-radius: var(--r-sm, 10px); background: rgba(0, 0, 0, .35); direction: ltr; text-align: left; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14.5px; }
.prose th, .prose td { padding: 9px 12px; border: 1px solid var(--line); text-align: start; }
.prose th { background: rgba(255, 255, 255, .06); color: var(--text-strong, #fff); }
.prose hr { border: 0; height: 1px; margin: 1.8em 0; background: var(--line); }
.share-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; margin: 1.6rem 0 .4rem; font-size: 13.5px; color: var(--muted); }
.share-row a, .share-row button { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); transition: background .2s, border-color .2s, transform .25s; }
@media (hover: hover) { .share-row a:hover, .share-row button:hover { background: rgba(255, 255, 255, .1); border-color: var(--line-strong); transform: translateY(-2px); } }
.share-row svg { width: 16px; height: 16px; }
.related-block { margin-top: 2.4rem; }
.related-block > h2 { margin: 0 0 1rem; font-size: 1.15rem; color: var(--text-strong, #fff); text-align: center; }

/* فرم‌ها (درخواست محصول، نظرسنجی) */
.form-card { max-width: 640px; margin: 0 auto; padding: clamp(1.2rem, 3vw, 1.8rem); border-radius: var(--r-lg, 22px); display: grid; gap: 1.1rem; }
.form-card .field { display: grid; gap: .45rem; }
.form-card .field > span { font-size: 14px; font-weight: 600; color: var(--text-strong, #fff); }
.form-card .field > span i { font-style: normal; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.form-card input:not([type="radio"]):not([type="checkbox"]), .form-card textarea, .form-card select {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--r-md, 14px); font: inherit; font-size: 16px; color: var(--text-strong, #fff);
  background: rgba(0, 0, 0, .25); border: 1px solid var(--line); outline: 0; transition: border-color .2s, box-shadow .25s;
}
.form-card textarea { min-height: 120px; padding: 12px 14px; line-height: 1.9; resize: vertical; }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { border-color: rgba(var(--accent2-rgb, 67, 73, 255), .9); box-shadow: 0 0 0 4px rgba(var(--accent2-rgb, 67, 73, 255), .22); }
.form-card .two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 480px) { .form-card .two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-msg { margin: 0; padding: .7rem 1rem; border-radius: var(--r-md, 14px); font-size: 14px; line-height: 1.9; }
.form-msg.ok { color: #8ff0bb; background: rgba(47, 191, 113, .12); border: 1px solid rgba(47, 191, 113, .34); }
.form-msg.bad { color: #ffb3c2; background: rgba(255, 107, 139, .1); border: 1px solid rgba(255, 107, 139, .32); }
.form-msg[hidden] { display: none; }
.rate-input { display: flex; flex-direction: row-reverse; justify-content: center; gap: .35rem; font-size: 2.2rem; }
.rate-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-input label { cursor: pointer; line-height: 1; color: rgba(255, 255, 255, .22); transition: color .15s, transform .2s; }
.rate-input label:hover, .rate-input label:hover ~ label, .rate-input input:checked ~ label { color: #ffc233; }
.rate-input label:hover { transform: scale(1.15); }
.rate-input input:focus-visible + label { outline: 2px solid var(--accent2, #4349ff); outline-offset: 3px; border-radius: 6px; }
.rate-labels { text-align: center; font-size: 13px; color: var(--muted); min-height: 1.5em; }
.check-row { display: flex; align-items: center; gap: .6rem; font-size: 14px; color: var(--text); cursor: pointer; }
.check-row input { width: 18px; height: 18px; min-height: 0 !important; accent-color: var(--magenta, #f33cc0); }

/* امتیاز و نظر روی صفحه‌ی محصول */
.rating-box { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; padding: 1rem 1.2rem; border-radius: var(--r-lg, 20px); }
.rating-big { text-align: center; } .rating-big b { display: block; font-size: 2.4rem; line-height: 1.1; color: var(--text-strong, #fff); }
.rating-big .stars { font-size: 1.1rem; } .rating-big small { display: block; color: var(--muted); font-size: 12.5px; margin-top: .2rem; }
.rating-bars { display: grid; gap: .3rem; }
.rating-bars div { display: grid; grid-template-columns: 14px 1fr 28px; align-items: center; gap: .6rem; font-size: 12px; color: var(--muted); }
.rating-bars i { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; } .rating-bars i > u { display: block; height: 100%; background: #ffc233; border-radius: 4px; }
.reviews-section { margin-top: 2rem; display: grid; gap: 1rem; }
.reviews-section > h2 { margin: 0; font-size: 1.15rem; color: var(--text-strong, #fff); }
.reco-line { margin: 0; font-size: 13.5px; color: var(--text-soft, #b4b0c8); }
.reco-line b { color: #8ff0bb; }
.review-list { display: grid; gap: .8rem; }
.review-list .review-card { padding: 14px 16px; }
.review-form { max-width: none; }
.detail-share { margin-top: 1rem; }
.detail-related { margin-top: 2.2rem; }
.detail-related > h2 { margin: 0 0 1rem; font-size: 1.15rem; color: var(--text-strong, #fff); }

/* امتیاز زیر عنوان صفحه‌ی محصول */
.detail-rating { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 0; font-size: 13.5px; color: var(--muted); }
.detail-rating[hidden] { display: none; }
.detail-rating .stars { font-size: 1.05rem; } .detail-rating b { color: var(--text-strong, #fff); }
.detail-rating .reco { padding: 0 10px; border-radius: 999px; font-size: 12px; color: #8ff0bb; background: rgba(47, 191, 113, .12); border: 1px solid rgba(47, 191, 113, .3); }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.btn-sm { min-height: 44px; padding-inline: 16px; font-size: 14px; }

/* ---------- اطلاعات تماس در صفحه‌ی «تماس با ما» ---------- */
.contact-card { margin: 1.2rem 0 0; padding: clamp(1.1rem, 3vw, 1.6rem); border-radius: var(--r-lg, 22px); }
.contact-card h2 { margin: 0 0 .8rem; font-size: 1.05rem; color: var(--text-strong, #fff); }
.contact-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.contact-card li { display: flex; align-items: flex-start; gap: .65rem; font-size: 14.5px; line-height: 1.9; color: var(--text); }
.contact-card li svg { width: 18px; height: 18px; flex: none; margin-top: 5px; color: rgba(var(--accent-rgb, 243, 60, 192), 1); }
.contact-card a { color: var(--text-strong, #fff); }
.contact-card a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   صفحه‌ی اصلی، از «سرویس‌ها» تا فوتر — طراحی «مخصوص موبایل» (زیر 768px) که با دسکتاپ فرق دارد
   موبایل: کارت قیمت = ردیف فشرده (ماه + قیمت + دکمه + چیپ‌های مزیت)، «محبوب» اول لیست؛ ویژگی‌ها = آیکون کنار عنوان + چیپ‌ها
   از 768px به بالا همان چیدمان کارتیِ دسکتاپ برمی‌گردد.
   ========================================================= */
/* مراحل خرید */
.step-inner { padding: 1rem; gap: .5rem; }
.step-top img { width: 40px; height: 40px; }
.step h3 { font-size: 1.05rem; }
.step p { font-size: 14px; line-height: 1.85; }

/* ---------- قیمت‌ها (موبایل) ---------- */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; }
.price-card {
  position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title price" "desc unit" "perks perks" "cta cta";
  align-items: center; justify-items: start; text-align: start; gap: .15rem .9rem; padding: 1.05rem 1.1rem 1.1rem; border-radius: 20px;
}
.price-card h3 { grid-area: title; font-size: 1.25rem; line-height: 1.5; }
.price-card .desc { grid-area: desc; max-width: none; font-size: 12.5px; line-height: 1.7; }
.price-card .amount { grid-area: price; justify-self: end; font-size: 1.75rem; line-height: 1.3; }
.price-card .unit { grid-area: unit; justify-self: end; margin: 0; font-size: 12px; }
.price-card ul { grid-area: perks; display: flex; flex-wrap: wrap; gap: .4rem; width: 100%; margin: .6rem 0 .1rem; }
.price-card li { padding: .22rem .75rem; font-size: 12px; line-height: 1.7; border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; background: rgba(255, 255, 255, .04); }
.price-card li svg { display: none; }
.price-card li:nth-child(-n+2) { display: none; }   /* دو مزیت مشترک در موبایل حذف می‌شود؛ «ماهانه» و درصد صرفه‌جویی می‌ماند */
.price-card .btn { grid-area: cta; width: 100%; margin-top: .55rem; }
.price-card .tag { position: absolute; top: -11px; inset-inline-start: 16px; padding: 2px 12px; font-size: 12px; box-shadow: 0 6px 16px -8px var(--pink); }
/* «محبوب» اول لیست و با درخشش ثابت (بدون چرخش سنگین حاشیه) */
.price-card.is-featured { order: -1; padding-block: 1.3rem 1.1rem; animation: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 22px 44px -26px rgba(var(--accent-rgb, 243, 60, 192), .7); }
.price-card.is-featured .amount { background: linear-gradient(90deg, #ffffff, #ffa6e0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price-foot { margin-top: 1.1rem; font-size: 13px; padding-inline: .5rem; }

/* ---------- ویژگی‌ها (موبایل): آیکون کنار عنوان، مزیت‌ها چیپ ---------- */
.feature { grid-template-columns: auto minmax(0, 1fr); padding: .8rem .9rem .75rem; gap: .3rem .7rem; align-items: center; }
.feature-body { display: contents; }
.feature-art { grid-column: 1; grid-row: 1; order: 0; width: 44px; height: 44px; object-fit: contain; margin: 0; align-self: center; justify-self: center; }
.feature-body h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 1rem; line-height: 1.55; text-wrap: balance; }
.feature-body p { grid-column: 1 / -1; font-size: 13px; line-height: 1.75; text-wrap: pretty; }
.perks { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); gap: .3rem; margin: .2rem 0 0; padding: .55rem 0 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.perks li { align-items: flex-start; gap: .5rem; padding: 0; font-size: 13px; line-height: 1.55; text-align: start; }
.perks svg { width: 14px; height: 14px; margin-top: 3px; flex: none; }

/* مطالب وبلاگ */
.post-cover { aspect-ratio: 2 / 1; }
.post-body { padding: 14px 16px 16px; }
/* سوالات متداول */
.faq summary { min-height: 52px; padding: .8rem 1rem; font-size: 15px; }
.faq .answer { padding: 0 1rem 1rem; font-size: 14px; line-height: 1.95; }
/* درباره‌ی ما */
.about { padding-block: clamp(2.8rem, 10vw, 9rem); }
.about-points { margin-top: 1.4rem; }
/* فوتر: دکمه‌های شناور (چت و بازگشت به بالا) کنار کپی‌رایت می‌نشینند و روی آن نمی‌افتند (عرض کپی‌رایت در layout.css محدود شده) */
.footer-bottom .container { padding-bottom: calc(.55rem + env(safe-area-inset-bottom, 0px)); }

@media (min-width: 480px) {
  .step-inner { padding: 1.3rem; gap: .6rem; }
  .step-top img { width: 46px; height: 46px; }
  .post-body { padding: 16px 18px 18px; }
  .price-card h3 { font-size: 1.35rem; }
  .price-card .amount { font-size: 1.95rem; }
  .feature { padding: 1.1rem 1.2rem 1rem; gap: .5rem .9rem; }
  .feature-art { width: 56px; height: 56px; }
  .feature-body h3 { font-size: 1.08rem; }
  .feature-body p { font-size: 14px; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1.2rem; padding-top: .8rem; }
  .perks li { font-size: 13.5px; }
  .perks svg { width: 16px; height: 16px; margin-top: 2px; }
}
/* از 768px: چیدمان کارتیِ دسکتاپ */
@media (min-width: 768px) {
  .step-inner { padding: 1.5rem 1.5rem 1.4rem; gap: .7rem; }
  .step h3 { font-size: 1.15rem; }
  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 1rem; }
  .price-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; padding: 1.6rem 1.4rem 1.4rem; }
  .price-card h3 { font-size: 1.7rem; line-height: 1.4; }
  .price-card .desc { max-width: 15rem; font-size: 13px; }
  .price-card .amount { font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.3; }
  .price-card .unit { margin-top: -.6rem; font-size: 13px; }
  .price-card ul { display: block; margin: .6rem 0 0; text-align: start; }
  .price-card li { display: flex; gap: .5rem; align-items: center; padding: .7rem .4rem; font-size: 13.5px; line-height: inherit; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; background: none; }
  .price-card li:nth-child(-n+2) { display: flex; }
  .price-card li svg { display: block; }
  .price-card li:last-child { border-bottom: 0; }
  .price-card .btn { margin-top: .4rem; }
  .price-card .tag { position: static; padding: 1px 8px; font-size: 12px; box-shadow: none; }
  .price-card.is-featured { order: 0; padding-block: 2.2rem 1.8rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 30px 60px -30px rgba(var(--accent-rgb, 243, 60, 192), .55); animation: spin-ang 6s linear infinite; }
  .price-card.is-featured .amount { background: none; -webkit-text-fill-color: #fff; }
  .price-foot { margin-top: 1.6rem; }
  .feature { grid-template-columns: 40px minmax(0, 1fr) 150px; padding: clamp(1.4rem, 3.5vw, 2.4rem); gap: clamp(1rem, 3vw, 2.2rem); align-items: stretch; }
  .feature-body { display: block; }
  .feature-art { grid-column: auto; grid-row: auto; width: 140px; height: auto; align-self: center; }
  .feature-body h3 { margin: 0 0 .6rem; font-size: clamp(1.15rem, 2.3vw, 1.35rem); }
  .feature-body p { font-size: 15px; line-height: 2; text-wrap: wrap; }
  .feature-body h3 { text-wrap: wrap; }
  .perks { gap: .45rem 1.2rem; margin-top: 1rem; padding-top: 0; border-top: 0; }
  .perks li { align-items: flex-start; gap: .5rem; font-size: 14px; line-height: 1.8; }
  .perks svg { width: 18px; height: 18px; margin-top: 4px; }
  .post-cover { aspect-ratio: 16 / 9; }
  .post-grid { gap: 1.1rem; }
  .faq summary { padding: 1.05rem 1.3rem; }
  .faq .answer { padding: 0 1.3rem 1.15rem; font-size: 14.5px; }
  .about { padding-block: clamp(4rem, 12vw, 9rem); }
  .footer-bottom .container { padding-bottom: 1rem; }
}
@media (min-width: 1024px) {
  .price-grid { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 1.5rem; }
  .price-card { width: 290px; padding: 1.75rem 1.5rem 1.6rem; }
  .price-card.is-featured { padding-block: 2.4rem 2.2rem; }
  .feature-art { width: 170px; }
}

/* ---------- هیرو: اندازه‌ی تصویر و فاصله‌ها متناسب با عرض (تصویر خودش حاشیه‌ی شفاف دارد) ---------- */
.hero-stage { margin-top: .2rem; }
.hero-art-wrap { width: min(250px, 70%); margin-block: 0; }
.hero-art { height: auto; }   /* بدون این، ویژگی height=440 تصویر را عمودی کش می‌داد */
.hero-chips { margin-top: .2rem; }
@media (min-width: 480px) { .hero-art-wrap { width: min(290px, 60%); } }
@media (min-width: 768px) {
  .hero-stage { margin-top: 1.2rem; }
  .hero-art-wrap { width: min(380px, 54%); }
  .hero-chips { margin-top: 1.2rem; }
}
@media (min-width: 1024px) {
  .hero-stage { margin-top: 2.2rem; }
  .hero-art-wrap { width: min(440px, 78%); }
  .hero-chips { margin-top: 0; }
}
