/* =========================================================
   Price Action / courses page — builds on styles.css
   ========================================================= */
.en { font-family: var(--font-wix); direction: ltr; unicode-bidi: isolate; }

/* ---------- Section shell ---------- */
.pa {
  background: #0e0e0f;
  padding: max(40px, calc(64 * var(--u))) var(--gutter) max(72px, calc(110 * var(--u)));
  position: relative;
}
.pa::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 140px;
  background: linear-gradient(180deg, rgba(14,14,15,0), #000);
  pointer-events: none;
}
.pa__inner { max-width: var(--container); margin: 0 auto; position: relative; z-index: 1; }
.pa__head { text-align: center; margin-bottom: max(26px, calc(40 * var(--u))); }
.pa__head h2 { color: var(--gold); font-weight: 500; font-size: max(23px, calc(32 * var(--u))); line-height: 1.4; }
.pa__head p { margin-top: 8px; color: #b9b9bb; font-weight: 300; font-size: max(15px, calc(17.5 * var(--u))); line-height: 1.85; }

/* ---------- Promo carousel ---------- */
.promo-slider { position: relative; margin-bottom: max(64px, calc(100 * var(--u))); }
.slides {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: 20px;
}
.slides::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  aspect-ratio: 16 / 7;
  background: #141414;
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-nav {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 16px;
}
.slider-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04);
  color: #ddd; cursor: pointer; font-size: 18px;
  transition: border-color .3s, color .3s;
}
.slider-btn:hover { border-color: rgba(245,170,3,.5); color: var(--yellow); }
.dots { display: flex; gap: 8px; }
.dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.25); cursor: pointer;
  transition: width .4s cubic-bezier(.16,1,.3,1), background .3s;
}
.dots button.is-active { width: 28px; background: var(--yellow); }

/* ---------- Bundle ---------- */
.bundle {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  margin-bottom: max(22px, calc(28 * var(--u)));
}
.bundle__main {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: max(26px, calc(44 * var(--u)));
  background: linear-gradient(23.58deg, #f5aa03 4.19%, #f3c02a 86.97%);
  color: #0b0b0b;
  box-shadow: 0 40px 100px rgba(245,170,3,.18);
}
.bundle__main::after {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 150%;
  background: radial-gradient(closest-side, rgba(255,255,255,.35), transparent);
  pointer-events: none;
}
.badge {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: #0b0b0b; color: var(--yellow);
  font-size: 13px; font-weight: 500;
}
.bundle__title { position: relative; z-index: 1; margin-top: 14px; font-size: max(34px, calc(60 * var(--u))); font-weight: 700; line-height: 1.2; }
.bundle__sub { position: relative; z-index: 1; margin-top: 6px; color: #3a2c06; font-size: 15.5px; }
.includes { position: relative; z-index: 1; list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.includes li { display: flex; align-items: center; gap: 10px; font-size: max(15.5px, calc(18 * var(--u))); font-weight: 500; }
.includes li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: #0b0b0b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5aa03' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.bundle__foot {
  position: relative; z-index: 1;
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid rgba(0,0,0,.15);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.price { display: flex; align-items: baseline; gap: 12px; }
.price__now { font-family: var(--font-wix-display); font-weight: 700; font-size: max(40px, calc(56 * var(--u))); line-height: 1; direction: ltr; }
.price__was { font-family: var(--font-wix); font-size: 22px; color: rgba(0,0,0,.5); text-decoration: line-through; direction: ltr; }
.buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding-inline: 30px;
  border-radius: 999px;
  font-weight: 500; font-size: 16px;
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s, background .3s;
}
.buy--dark { background: #0b0b0b; color: #fff; }
.buy--dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.buy--yellow { background: var(--yellow); color: #080808; }
.buy--yellow:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245,170,3,.3); }
.buy--ghost { border: 1px solid rgba(245,170,3,.5); color: var(--yellow); background: rgba(245,170,3,.06); }
.buy--ghost:hover { background: rgba(245,170,3,.14); }

.bundle__region {
  border-radius: 24px;
  padding: max(24px, calc(36 * var(--u)));
  border: 1px solid rgba(245,170,3,.3);
  background: radial-gradient(90% 90% at 50% 0%, rgba(245,170,3,.16), rgba(245,170,3,0) 70%), #121212;
  display: flex; flex-direction: column; justify-content: center; text-align: center; gap: 10px;
}
.bundle__region .flag { font-size: 13.5px; color: var(--yellow); }
.bundle__region h3 { color: #f3f3f3; font-size: max(20px, calc(24 * var(--u))); font-weight: 500; line-height: 1.5; }
.bundle__region .price__now { color: var(--yellow); margin-inline: auto; }
.bundle__region p { color: #a9a9ab; font-weight: 300; font-size: 14.5px; line-height: 1.85; }
.bundle__region .buy { margin-top: 8px; align-self: center; }

/* ---------- Course cards ---------- */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: max(16px, calc(22 * var(--u))); }
.course {
  display: flex; flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: #141414;
  padding: 14px;
  transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .4s, box-shadow .4s;
}
.course:hover { transform: translateY(-4px); border-color: rgba(245,170,3,.4); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.course--top { border-color: rgba(245,170,3,.45); box-shadow: 0 0 0 1px rgba(245,170,3,.15), 0 30px 70px rgba(245,170,3,.08); }
.course__art {
  position: relative;
  aspect-ratio: 860 / 496;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}
/* source art has a white panel on a yellow card — show just the panel */
.course__art img { position: absolute; width: 116.28%; height: auto; max-width: none; left: -8.14%; top: -11.69%; }
.course__tag {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 10px; border-radius: 999px;
  background: #0b0b0b; color: var(--yellow); font-size: 12px; font-weight: 500;
}
.course__body { padding: 18px 8px 6px; display: flex; flex-direction: column; flex: 1; }
.course__name { color: #f4f4f4; font-size: max(20px, calc(23 * var(--u))); font-weight: 700; }
.course__dur { margin-top: 4px; color: #a9a9ab; font-weight: 300; font-size: 15px; }
.course__price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; color: var(--yellow); }
.course__price b { font-family: var(--font-wix-display); font-size: 36px; line-height: 1; direction: ltr; }
.course .buy { margin-top: 18px; width: 100%; }

/* ---------- Pay help ---------- */
.payhelp {
  margin-top: max(28px, calc(40 * var(--u)));
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.payhelp__item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: #121212;
}
.payhelp__icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(245,170,3,.1); border: 1px solid rgba(245,170,3,.3);
}
.payhelp__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.payhelp h3 { color: #f0f0f0; font-size: 16.5px; font-weight: 500; }
.payhelp p { margin-top: 4px; color: #a9a9ab; font-weight: 300; font-size: 14.5px; line-height: 1.85; }
.payhelp a { color: var(--yellow); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .bundle { grid-template-columns: 1fr; }
  .courses { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .pa { padding-inline: 16px; }
  .slide { aspect-ratio: 16 / 9; }
  .courses { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .bundle__foot { flex-direction: column; align-items: stretch; }
  .bundle__foot .buy { width: 100%; }
  .payhelp { grid-template-columns: 1fr; }
}

.slider-nav[hidden] { display: none !important; }
