/* Plan detail page (one marketing plan). Shared classes come from site.css. */

/* Opening: plan description on the left, price card on the right */
.pd-top .wrap { padding-block: 20px var(--section); }
.pd-top__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.pd-crumbs { color: var(--body); }
.pd-crumbs a:hover { color: var(--red-text); }
.pd-crumbs [aria-current] { font-weight: 700; color: var(--ink); }
.pd-kicker { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--red-text); }
.pd-kicker::before { content: ""; flex: none; width: 34px; height: 3px; background: var(--red); }
/* The title scales with its column, so the longest one-word names (Polish) stay on one line. */
.pd-top__main { container-type: inline-size; }
.pd-title { margin-top: 12px; font-size: 34px; font-size: clamp(30px, 9.8cqi, 76px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; text-transform: uppercase; color: var(--ink); overflow-wrap: break-word; }
.pd-lead { margin-top: 18px; max-width: 32em; font-size: 17px; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 700; color: var(--ink); }
.pd-tags li { padding: 8px 14px; background: var(--grey); }
.pd-h2 { margin-top: 48px; font-size: 26px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; color: var(--ink); }
.pd-does { margin: 20px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.pd-does li { display: flex; gap: 16px; padding-block: 20px; border-top: 1px solid var(--line); }
.pd-does li:first-child { border-top: 2px solid var(--ink); }
.pd-does svg { flex: none; margin-top: 3px; }
.pd-does div { min-width: 0; }
.pd-does h3 { font-size: 19px; line-height: 1.3; font-weight: 800; color: var(--ink); }
.pd-does p { margin-top: 4px; font-size: 16px; }

.pd-buy { padding: 28px 24px; background: var(--white); border-top: 6px solid var(--red); box-shadow: 0 12px 40px rgba(29, 29, 33, 0.1); }
.pd-buy__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.pd-buy__price { margin-top: 10px; font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.pd-buy__price span { font-size: 18px; font-weight: 600; letter-spacing: 0; color: var(--body); }
.pd-buy__vat { margin-top: 6px; font-size: 15px; }
.pd-buy__billing { margin-top: 20px; padding: 16px 18px; background: var(--grey); font-size: 16px; color: var(--ink); }
.pd-buy__billing strong { font-weight: 800; }
.pd-buy__spend { margin-top: 8px; padding: 14px 18px; border-inline-start: 4px solid var(--red); background: var(--grey); font-size: 15px; color: var(--ink); }
.pd-buy .btn { margin-top: 20px; padding-block: 18px; }
.pd-buy__pay { margin-top: 12px; font-size: 14px; text-align: center; }
.pd-buy__points { margin-top: 22px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 600; color: var(--ink); }
.pd-buy__points li { padding-block: 12px; border-top: 1px solid var(--line); }
.pd-buy__points li::before { top: 20px; }

[dir="rtl"] .pd-kicker, [dir="rtl"] .pd-buy__label, [dir="rtl"] .pd-buy__price, [dir="rtl"] .pd-h2 { letter-spacing: 0; }
[dir="rtl"] .pd-title { letter-spacing: 0; line-height: 1.3; }

@media (min-width: 1000px) {
  .pd-top .wrap { padding-block: 44px var(--section); }
  .pd-top__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 72px; align-items: start; }
  .pd-kicker { margin-top: 22px; }
  .pd-title { margin-top: 16px; line-height: 1; }
  .pd-lead { margin-top: 26px; font-size: 19px; }
  .pd-tags { margin-top: 26px; }
  .pd-h2 { margin-top: 64px; font-size: clamp(28px, 3.2vw, 38px); }
  .pd-does { margin-top: 24px; }
  .pd-does li { gap: 20px; padding-block: 22px; }
  .pd-does h3 { font-size: 20px; }
  .pd-buy { position: sticky; top: 24px; margin-top: 12px; padding: 40px 36px; }
  .pd-buy__price { font-size: 60px; line-height: 1; }
}

/* The four stages, on the dark band */
.pd-stages .step { background: var(--tile); border-top: 4px solid var(--red); }
.pd-stages .step__no { color: var(--red); }
.pd-stages .step h3 { font-size: 22px; color: var(--white); }
.pd-stages .step p { color: var(--muted-dark); }
@media (min-width: 1000px) { .pd-stages .step__no { font-size: 54px; } .pd-stages .step h3 { font-size: 24px; } }

/* What the customer sees in the account */
.pd-rows { margin: 28px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 700; color: var(--ink); }
.pd-rows li { position: relative; padding-block: 16px; padding-inline-start: 26px; border-top: 1px solid var(--line); }
.pd-rows li::before { content: ""; position: absolute; inset-inline-start: 0; top: 26px; width: 10px; height: 10px; background: var(--red); }
@media (min-width: 1000px) { .pd-rows { font-size: 19px; } .pd-rows li { padding-block: 20px; } .pd-rows li::before { top: 31px; } }

/* What the plan does not include */
.pd-not { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.pd-not__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pd-not__list li { display: flex; gap: 16px; align-items: flex-start; }
.pd-not__list svg { flex: none; margin-top: 2px; }
.pd-not__list div { min-width: 0; }
.pd-not__list p { margin-top: 6px; font-size: 16px; }
.pd-not__list .more { display: inline-block; margin-top: 8px; }
@media (min-width: 1000px) {
  .pd-not { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 72px; align-items: start; }
  .pd-not__list li { gap: 22px; padding: 28px 32px; }
}

/* Related plans */
.pd-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-top: 32px; }
.pd-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--white); box-shadow: 0 12px 40px rgba(29, 29, 33, 0.1); }
.pd-card:hover { color: inherit; box-shadow: 0 12px 40px rgba(29, 29, 33, 0.1), inset 0 -4px 0 var(--red); }
.pd-card__name { font-size: 22px; line-height: 1.25; font-weight: 800; color: var(--ink); }
.pd-card__text { font-size: 16px; }
.pd-card__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-top: auto; padding-top: 10px; }
.pd-card__price { font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.pd-card__price span { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--body); }
.pd-card__more { padding-block: 10px 4px; border-bottom: 3px solid var(--red); font-size: 15px; font-weight: 800; color: var(--ink); }
[dir="rtl"] .pd-card__price { letter-spacing: 0; }
@media (min-width: 1000px) { .pd-related { gap: 24px; margin-top: 44px; } .pd-card { padding: 34px 30px; } }

/* Questions: three short answers, always open */
.pd-faq { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
.pd-faq__item { padding-block: 24px; border-top: 2px solid var(--ink); }
.pd-faq__item h3 { font-size: 20px; line-height: 1.3; font-weight: 800; color: var(--ink); }
.pd-faq__item p { margin-top: 10px; font-size: 16px; }
@media (min-width: 1000px) {
  .pd-faq { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 48px; }
  .pd-faq__item { padding-block: 28px 0; }
  .pd-faq__item h3 { font-size: 21px; }
}

/* Closing band */
.pd-cta__label { margin-bottom: 12px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
[dir="rtl"] .pd-cta__label { letter-spacing: 0; }

/* A tick reads the same in both directions: keep it unmirrored, like the ticks in the list beside it. */
[dir="rtl"] .pd-buy__points li::before { transform: rotate(-45deg); }
