/* جزئیات طرح */
.pd-main { padding-top: clamp(50px, 6vw, 80px); }
.pd-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 32px; align-items: start; }
.pd-aside { position: sticky; top: 112px; }
.pd-body { display: grid; gap: 28px; min-width: 0; }

/* کارت قیمت (بر پایهٔ کارت پیشنهادی صفحهٔ اول) */
.pd-price.f-plan--hot, .pd-price.f-plan--hot:hover { transform: none; }
.pd-price:hover { transform: translateY(-4px) !important; }
.pd-price { padding-bottom: 1.8rem; }
.pd-price .f-plan__top { margin-bottom: 1.3rem; }
.pd-price__name { font-size: 1.4rem; font-weight: 800; line-height: 1.4; }
.pd-price .f-plan__price b { font-size: clamp(2.1rem, 3vw, 2.6rem); }
.pd-price .f-plan__price small { color: rgba(255, 255, 255, .85); }
.pd-price__period { display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start; margin-top: .6rem !important; padding: .2rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: .85rem; font-weight: 700; }
.fl .pd-price__period svg { width: 16px; height: 16px; }
.pd-price .pd-price__facts { flex: none; margin-block: 1.2rem 1.4rem; }
.pd-price .f-btn { margin-top: .2rem; }
.pd-price .f-btn + .f-btn { margin-top: .7rem; }
.pd-price__call { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.pd-price__call:hover { background: rgba(255, 255, 255, .22); }

/* عنوان بلوک‌ها */
.pd-title { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.pd-title h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 800; color: var(--ink); line-height: 1.4; }
.pd-title__count { margin-inline-start: auto; padding: .25rem .85rem; border-radius: 999px; background: #fde8e9; color: var(--red-d); font-size: .82rem; font-weight: 800; white-space: nowrap; }

/* درباره این طرح */
.pd-about { isolation: isolate; }
.pd-about::after { content: ''; position: absolute; z-index: -1; left: -30px; bottom: -30px; width: 180px; height: 180px; background: var(--dots); -webkit-mask: radial-gradient(circle, #000, transparent 70%); mask: radial-gradient(circle, #000, transparent 70%); }
.pd-short { position: relative; padding: 1.1rem 1.3rem; padding-inline-start: 1.5rem; border-radius: 16px; background: linear-gradient(150deg, #fff3f4, #fff); border: 1px solid #f6dfe2; color: var(--ink); font-weight: 700; font-size: 1.05rem; line-height: 1.9; }
.pd-short::before { content: ''; position: absolute; top: 14px; bottom: 14px; inset-inline-start: 0; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--red-2), var(--red-d)); }
.pd-detailed { margin-top: 1.4rem; white-space: pre-line; text-align: justify; }

/* ویژگی‌ها */
.pd-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: f; }
.pd-grid li { position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: .75rem; padding: .9rem 1rem; padding-inline-end: 2.6rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: .94rem; line-height: 1.8; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.pd-grid li:hover { transform: translateY(-3px); border-color: rgba(227, 36, 43, .28); box-shadow: 0 20px 40px -30px rgba(179, 20, 27, .45); }
.pd-grid__ico { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-top: .1rem; border-radius: 9px; color: #fff; background: var(--badge); box-shadow: 0 8px 16px -8px rgba(227, 36, 43, .7); }
.fl .pd-grid__ico svg { width: 16px; height: 16px; stroke-width: 2.8; }
.pd-grid__txt { min-width: 0; overflow-wrap: anywhere; }
.pd-grid em { position: absolute; top: .55rem; inset-inline-end: .8rem; font-style: normal; font-size: .75rem; font-weight: 900; color: rgba(227, 36, 43, .35); }
.pd-grid li.is-off { color: var(--muted); background: #fafafb; }
.pd-grid li.is-off .pd-grid__txt { text-decoration: line-through; text-decoration-color: rgba(107, 112, 136, .5); }
.pd-grid li.is-off .pd-grid__ico { background: #e9e6ea; color: var(--muted); box-shadow: none; }

/* طرح قبلی / بعدی */
.pd-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 18px; }
.pd-nav__btn { position: relative; overflow: hidden; display: flex; align-items: center; gap: 1rem; min-height: 92px; padding: 1.1rem 1.3rem; border-radius: 22px; background: #fff; border: 1px solid rgba(235, 228, 231, .9); box-shadow: 0 24px 50px -40px rgba(22, 26, 44, .5); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.pd-nav__btn.next { justify-content: flex-end; text-align: left; }
.pd-nav__btn::before { content: ''; position: absolute; top: 0; right: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--rose), var(--red), var(--red-2)); transition: width .5s var(--ease); }
.pd-nav__btn:hover { transform: translateY(-5px); border-color: rgba(227, 36, 43, .22); box-shadow: 0 36px 70px -40px rgba(227, 36, 43, .45); }
.pd-nav__btn:hover::before { width: 100%; }
.pd-nav__btn small { display: block; color: var(--red-d); font-size: .8rem; font-weight: 700; }
.pd-nav__btn b { display: block; color: var(--ink); font-size: 1.05rem; }
.pd-nav__ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fde8e9; color: var(--red); transition: background .3s, color .3s, transform .3s var(--ease); }
.pd-nav__btn:hover .pd-nav__ico { background: var(--red); color: #fff; }
.pd-nav__btn.prev:hover .pd-nav__ico { transform: translateX(4px); }
.pd-nav__btn.next:hover .pd-nav__ico { transform: translateX(-4px); }
.pd-nav__counter { display: grid; justify-items: center; gap: .15rem; text-align: center; }
.pd-nav__counter b { display: grid; place-items: center; grid-auto-flow: column; gap: .1rem; width: 78px; height: 78px; border-radius: 50%; color: #fff; font-size: 1.35rem; font-weight: 900; background: var(--badge); box-shadow: 0 14px 26px -12px rgba(227, 36, 43, .75), 0 0 0 6px #fff, 0 0 0 7px rgba(227, 36, 43, .15); }
.pd-nav__counter b i { font-style: normal; opacity: .55; font-weight: 400; }
.pd-nav__counter span { margin-top: .5rem; color: var(--muted); font-size: .8rem; font-weight: 700; }

/* مقایسهٔ طرح‌ها */
.pd-others { margin-top: clamp(40px, 5vw, 64px); }
.pd-others__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.pd-chip { position: relative; display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -34px rgba(22, 26, 44, .5); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.pd-chip:hover { transform: translateY(-4px); border-color: rgba(227, 36, 43, .3); }
.pd-chip__ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: var(--red); background: #fde8e9; transition: background .3s, color .3s; }
.fl .pd-chip__ico svg { width: 22px; height: 22px; }
.pd-chip:hover .pd-chip__ico { background: var(--red); color: #fff; }
.pd-chip__txt { min-width: 0; }
.pd-chip b { display: block; color: var(--ink); font-size: 1rem; }
.pd-chip small { color: var(--muted); font-size: .84rem; font-weight: 600; }
.pd-chip em { position: absolute; top: -10px; inset-inline-end: 14px; display: inline-flex; align-items: center; gap: .25rem; padding: .05rem .65rem; border-radius: 999px; background: var(--red); color: #fff; font-style: normal; font-size: .72rem; font-weight: 800; box-shadow: 0 6px 14px -6px rgba(227, 36, 43, .7); }
.fl .pd-chip em svg { width: 12px; height: 12px; }
.pd-chip.is-on { border-color: transparent; color: #fff; background: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.6px) 0 0 / 14px 14px, linear-gradient(140deg, var(--red-2), var(--red) 45%, var(--red-d)); box-shadow: 0 24px 44px -26px rgba(227, 36, 43, .8); }
.pd-chip.is-on b { color: #fff; }
.pd-chip.is-on small { color: rgba(255, 255, 255, .85); }
.pd-chip.is-on .pd-chip__ico { background: #fff; color: var(--red); }
.pd-chip.is-on em { background: #fff; color: var(--red-d); }

@media (max-width: 1100px) {
    .pd-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
    .pd-layout { grid-template-columns: 1fr; }
    .pd-aside { position: static; max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 700px) {
    .pd-nav { grid-template-columns: 1fr; }
    .pd-nav__counter { order: -1; }
    .pd-nav__btn.next { justify-content: space-between; text-align: right; }
    .pd-title { flex-wrap: wrap; }
}
