/* =========================================================
   Packages — option D
   featured "دوره جامع" card (features + price panel),
   regional price strip, and the 3 steps after purchase.
   ========================================================= */
.pkd { --gold-1: #ffd24d; --gold-2: #f5aa03; --line: rgba(255,255,255,.08); --mut: #8d8d92;
  display: grid; gap: max(18px, calc(24 * var(--u))); margin-top: max(36px, calc(48 * var(--u))); }
.pkd + .courses { margin-top: max(36px, calc(56 * var(--u))); }
.pkd .en, .pkd bdi { font-family: var(--font-wix); }

/* ---------- featured card ---------- */
.pkd-main {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: max(24px, calc(40 * var(--u))); align-items: center;
  padding: max(28px, calc(40 * var(--u)));
  border-radius: 28px;
  background:
    radial-gradient(90% 60% at 50% 120%, rgba(245,170,3,.12), transparent 70%),
    linear-gradient(180deg, #151517 0%, #0e0e10 100%);
  border: 1px solid rgba(245,170,3,.55);
  box-shadow: 0 0 0 1px rgba(245,170,3,.08), 0 30px 80px -30px rgba(245,170,3,.35);
}
.pkd-main__pop {
  position: absolute; top: 0; inset-inline-end: max(28px, calc(48 * var(--u))); transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: #0b0b0b;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  box-shadow: 0 6px 20px -6px rgba(245,170,3,.6);
}
.pkd-main__pop svg { width: 13px; height: 13px; fill: #0b0b0b; }
.pkd-main__kicker { margin: 0; font-size: 14px; font-weight: 500; color: var(--gold-1); }
.pkd-main__title { margin: 8px 0 0; font-size: max(28px, calc(40 * var(--u))); font-weight: 700; line-height: 1.25; color: #fff; }
.pkd-main__lead { margin: 10px 0 0; font-size: 15px; line-height: 1.8; color: var(--mut); }
.pkd-main__label { margin: 22px 0 12px; font-size: 14px; font-weight: 500; color: #e9e9e9; }

.pkd-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pkd-feats li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; border-radius: 16px;
  background: rgba(255,255,255,.025); border: 1px solid var(--line);
}
.pkd-feats__ic {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(245,170,3,.12); border: 1px solid rgba(245,170,3,.28);
}
.pkd-feats__ic svg { width: 19px; height: 19px; fill: none; stroke: var(--gold-1); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pkd-feats b { display: block; font-size: 15px; font-weight: 700; color: #fff; }
.pkd-feats li span:not(.pkd-feats__ic):not(.en) { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.6; color: #85858a; }

/* price panel */
.pkd-price {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 26px 22px 20px; border-radius: 22px;
  background: #050505; border: 1px solid rgba(255,255,255,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 20px 50px -20px rgba(0,0,0,.9);
}
.pkd-price::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 45% at 50% 110%, rgba(245,170,3,.35), transparent 70%);
}
.pkd-price__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pkd-price__badge {
  padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; direction: ltr;
  color: var(--gold-1); background: rgba(245,170,3,.08); border: 1px solid rgba(245,170,3,.45);
}
html.bf .pkd-price__badge.p-bf { display: inline-flex !important; }
.pkd-price__was { font-family: var(--font-wix); font-size: 15px; color: rgba(255,255,255,.4); }
.pkd-price__now {
  margin-top: 14px; display: flex; align-items: flex-start; justify-content: flex-end; gap: 4px; direction: ltr;
  font-family: var(--font-wix-display); font-weight: 700; font-size: max(64px, calc(84 * var(--u))); line-height: 1; color: #fff;
}
.pkd-price__now i { font-style: normal; font-size: .42em; margin-top: .18em; color: var(--gold-1); }
.pkd-price__note { margin: 12px 0 0; font-size: 12.5px; color: var(--mut); }
.pkd-price__calc { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.pkd-price__calc div { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.pkd-price__calc dt { color: #9a9aa0; }
.pkd-price__calc dd { margin: 0; font-family: var(--font-wix); color: rgba(255,255,255,.45); }
.pkd-price__calc .pkd-price__pay dt { font-weight: 700; color: #fff; }
.pkd-price__calc .pkd-price__pay dd { font-weight: 700; color: var(--gold-1); }
.pkd-price__save {
  margin: 14px 0 0; padding: 10px; border-radius: 10px; text-align: center;
  font-size: 13px; font-weight: 500; color: #7fe0a0;
  background: rgba(46,160,90,.12); border: 1px solid rgba(46,160,90,.3);
}
.pkd-price__buy {
  margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px; border-radius: 14px;
  font-size: 16px; font-weight: 700; color: #0b0b0b;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  box-shadow: 0 10px 30px -10px rgba(245,170,3,.7), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.pkd-price__buy:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(245,170,3,.85), inset 0 1px 0 rgba(255,255,255,.5); }
.pkd-price__buy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pkd-price__safe { margin: 12px 0 0; text-align: center; font-size: 12px; color: #77777c; }

/* ---------- regional strip ---------- */
.pkd-region {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px;
  padding: max(20px, calc(26 * var(--u))) max(20px, calc(30 * var(--u)));
  border-radius: 20px; background: linear-gradient(180deg, #151517, #0f0f11); border: 1px solid var(--line);
}
.pkd-region__txt h3 { margin: 0; font-size: 17px; font-weight: 700; color: #fff; }
.pkd-region__chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.pkd-region__chips span { padding: 6px 14px; border-radius: 999px; font-size: 13px; color: #e6e6e6; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.pkd-region__deal { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; }
.pkd-region__price { display: flex; align-items: center; gap: 10px; }
.pkd-region__price s { font-family: var(--font-wix); font-size: 15px; color: rgba(255,255,255,.4); }
.pkd-region__price b { font-family: var(--font-wix-display); font-size: max(30px, calc(38 * var(--u))); color: var(--gold-1); line-height: 1; }
.pkd-region__price i { font-style: normal; font-size: 12.5px; color: var(--mut); }
.pkd-region__buy {
  padding: 12px 20px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--gold-1);
  border: 1px solid rgba(245,170,3,.55); background: rgba(245,170,3,.05);
  transition: background .3s, border-color .3s;
}
.pkd-region__buy:hover { background: rgba(245,170,3,.12); border-color: var(--gold-1); }

/* ---------- steps after purchase ---------- */
.pkd-steps { margin-top: max(12px, calc(20 * var(--u))); }
.pkd-steps__title { margin: 0 0 18px; font-size: max(22px, calc(28 * var(--u))); font-weight: 700; color: #fff; }
.pkd-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pkd-steps li { padding: 20px; border-radius: 18px; background: linear-gradient(180deg, #151517, #0f0f11); border: 1px solid var(--line); }
.pkd-steps li > .en {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font-weight: 700; font-size: 15px; color: #0b0b0b; background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
}
.pkd-steps b { display: block; margin-top: 14px; font-size: 15.5px; font-weight: 700; color: #fff; }
.pkd-steps p { margin: 6px 0 0; font-size: 13px; line-height: 1.7; color: #85858a; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .pkd-main { grid-template-columns: 1fr; }
  .pkd-steps ol { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pkd-main { padding: 30px 16px 16px; border-radius: 22px; }
  .pkd-main__pop { inset-inline-end: 50%; transform: translate(50%, -50%); white-space: nowrap; }
  html[dir="rtl"] .pkd-main__pop { transform: translate(-50%, -50%); }
  .pkd-feats { grid-template-columns: 1fr; }
  .pkd-region, .pkd-region__deal { flex-direction: column; align-items: stretch; }
  .pkd-region__buy { text-align: center; }
}

/* ---------- live (in-person) classes card — deep red, stands apart from the gold packages ---------- */
.pkd-live {
  --v1: #fca5a5; --v2: #dc2626; --v3: #991b1b;
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); gap: 22px 32px; align-items: center;
  padding: max(22px, calc(32 * var(--u)));
  border-radius: 24px;
  background: linear-gradient(160deg, #2a0f12 0%, #140708 100%);
  border: 1px solid rgba(248,113,113,.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.pkd-live::before {   /* soft dotted texture */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px) 0 0 / 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.pkd-live__tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #ffe4e6;
  background: rgba(248,113,113,.14); border: 1px solid rgba(248,113,113,.4);
}
.pkd-live__tag i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
@keyframes pkd-live { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }
.pkd-live h3 { margin: 12px 0 0; font-size: max(22px, calc(28 * var(--u))); font-weight: 700; color: #fff; line-height: 1.35; }
.pkd-live h3 .en { color: var(--v1); }
.pkd-live p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.8; color: #d4b8bb; }
.pkd-live__facts { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pkd-live__facts li {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px;
  font-size: 13px; color: #f7e6e7; background: rgba(255,255,255,.05); border: 1px solid rgba(248,113,113,.22);
}
.pkd-live__facts svg { width: 15px; height: 15px; fill: none; stroke: var(--v1); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.pkd-live__deal {
  display: flex; flex-direction: column; align-items: stretch; text-align: center;
  padding: 20px 18px 16px; border-radius: 18px;
  background: rgba(18,6,8,.65); border: 1px solid rgba(248,113,113,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.pkd-live__label { font-size: 12.5px; color: #b89a9d; }
.pkd-live__price { margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 10px; direction: ltr; }
.pkd-live__price b { font-family: var(--font-wix-display); font-size: max(44px, calc(52 * var(--u))); line-height: 1.05; color: #fff; }
.pkd-live__price b i { font-style: normal; font-size: .45em; color: var(--v1); vertical-align: .7em; margin-inline-end: 2px; }
.pkd-live__price s { font-family: var(--font-wix); font-size: 15px; color: rgba(255,255,255,.38); }
.pkd-live__buy {
  margin-top: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; border-radius: 14px;
  font-size: 15.5px; font-weight: 700; color: #fff;
  background: linear-gradient(180deg, #ef4444, var(--v3));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .3s var(--ease-spring), box-shadow .3s, filter .3s;
}
.pkd-live__buy:hover { transform: translateY(-2px); filter: brightness(1.1); }
.pkd-live__buy svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pkd-live__more { margin-top: 10px; font-size: 13px; color: #fca5a5; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(252,165,165,.35); }
.pkd-live__more:hover { color: #fff; }
@media (max-width: 760px) {
  .pkd-live { grid-template-columns: 1fr; padding: 20px 16px 16px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { .pkd-live__tag i { animation: none; } }
/* live card: centred text */
.pkd-live__txt { text-align: center; }
.pkd-live p { margin-inline: auto; }
.pkd-live__facts { justify-content: center; }

/* regional strip in front: no glow bleeding from the card above */
.pkd-main { background: linear-gradient(180deg, #151517 0%, #0e0e10 100%); }
.pkd-region { position: relative; z-index: 2; margin-top: 6px;
  background: linear-gradient(180deg, #1a1a1d, #121214); border-color: rgba(245,170,3,.28);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05); }
