/* ============================================================
   PACKS PAGE — packs.css
   Tokens come from components/base.css (not redeclared here).
   Rhythm: dark hero + Super Pack → light packs → subtle compare
   → light FAQ → dark final CTA.
   ============================================================ */

/* ============================================================
   SHARED — eyebrow, section header, tags, buttons, links
   ============================================================ */
.pk-eyebrow {
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--primary-on-light);
  margin-bottom: 14px;
}
.pk-eyebrow--dark { color: var(--primary-on-dark); }

.pk-section-header { max-width: 640px; margin-bottom: var(--sp-6); }
.pk-section-header--center { margin-inline: auto; text-align: center; }

.pk-section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: var(--fw-strong);
  letter-spacing: var(--tr-h2);
  line-height: 1.1;
  color: var(--text-primary);
  text-wrap: balance;
  margin-bottom: 16px;
}

.pk-section-sub {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-secondary);
  text-wrap: pretty;
}
.pk-section-sub a { color: var(--primary-on-light); text-decoration: underline; text-underline-offset: 3px; }

/* Small capital tag ("Best value") */
.pk-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 169, 138, 0.14);
  color: var(--primary-on-dark);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}
.pk-tag--solid { background: var(--primary-solid); color: #fff; }

/* Buttons: one solid orange, one outline, one ghost for dark */
.pk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: var(--fw-medium);
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.pk-btn:active { transform: scale(0.98); }
.pk-btn svg { flex-shrink: 0; transition: transform var(--transition); }
@media (hover: hover) and (pointer: fine) { .pk-btn:hover svg { transform: translateX(2px); } }

.pk-btn--lg { min-height: 52px; padding: 0 28px; font-size: var(--fs-body); }
.pk-btn--sm { min-height: 44px; padding: 0 18px; font-size: var(--fs-small); }

.pk-btn--primary {
  background: var(--primary-solid);
  color: #fff;
  box-shadow: 0 6px 18px rgba(209, 64, 0, 0.22);
}
.pk-btn--primary:hover { background: var(--primary-solid-hover); box-shadow: 0 10px 26px rgba(209, 64, 0, 0.3); }

.pk-btn--outline {
  background: #fff;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.pk-btn--outline:hover { border-color: var(--text-primary); }

.pk-btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.pk-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }

.pk-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  text-decoration: underline;
  text-decoration-color: rgba(242, 240, 237, 0.35);
  text-underline-offset: 4px;
  transition: text-decoration-color var(--transition), color var(--transition);
}
.pk-link--dark { color: var(--text-on-dark); }
.pk-link--dark:hover { text-decoration-color: currentColor; }

/* Static film grain shared by the dark sections */
.pk-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
}

/* ============================================================
   S1 — HERO
   Centered, one message, two actions. Kept short so the Super
   Pack card starts inside the first viewport.
   ============================================================ */
.pk-hero {
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
  color: var(--text-on-dark);
  padding: calc(var(--nav-height, 58px) + var(--sp-8)) 0 var(--sp-6);
  text-align: center;
}

.pk-hero-bg { position: absolute; inset: 0; pointer-events: none; }

.pk-hero-glow {
  position: absolute;
  left: 50%;
  top: -460px;
  width: 1100px;
  height: 800px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 90, 31, 0.18) 0%, transparent 62%);
}

.pk-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pk-hero-title {
  font-size: clamp(44px, 6.6vw, 88px);
  font-weight: var(--fw-book);
  letter-spacing: var(--tr-display);
  line-height: 1.02;
  color: var(--text-on-dark);
  margin-bottom: var(--sp-3);
}
.pk-hero-title .pk-title-gradient { display: block; }

/* Warm-only gradient: every stop is ≥ 4.5:1 on --dark-bg */
.pk-title-gradient {
  background: linear-gradient(118deg, #FFF3EC 0%, #FFB79D 50%, #FF8A5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (forced-colors: active) {
  .pk-title-gradient { background: none; -webkit-text-fill-color: CanvasText; color: CanvasText; }
}

.pk-hero-sub {
  max-width: 46ch;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--text-muted-on-dark);
  text-wrap: balance;
  margin-bottom: var(--sp-5);
}

.pk-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
@media (hover: hover) and (pointer: fine) { .pk-btn:hover .pk-icon-down { transform: translateY(2px); } }

.pk-hero-sub span { display: block; }

.pk-hero-note { font-size: var(--fs-meta); line-height: 1.7; color: var(--text-muted-on-dark); }
.pk-hero-note span { white-space: nowrap; }

/* ============================================================
   S2 — SUPER PACK
   ============================================================ */
.pk-super {
  position: relative;
  background: var(--dark-bg);
  color: var(--text-on-dark);
  padding: 0 0 var(--sp-8);
  scroll-margin-top: var(--nav-height, 58px);
}

.pk-super-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 169, 138, 0.22);
  border-radius: 28px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Pack artwork: real templates and the Site Designer editor */
.pk-super-media {
  position: relative;
  aspect-ratio: 21 / 8;
  overflow: hidden;
  background: var(--dark-elevated);
}
.pk-super-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
/* Soft edge into the card body */
.pk-super-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(22, 18, 13, 0.5) 100%);
  pointer-events: none;
}

.pk-super-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-6);
  padding: var(--sp-6);
}

.pk-super-head { display: flex; align-items: center; gap: 14px; margin-bottom: var(--sp-3); }
.pk-super-icon { width: 56px; height: 56px; object-fit: contain; }

.pk-super-title {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tr-h1);
  line-height: 1.05;
  margin-bottom: 16px;
}

.pk-super-desc {
  max-width: 44ch;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-muted-on-dark);
  text-wrap: pretty;
  margin-bottom: var(--sp-4);
}

.pk-super-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.pk-super-price-num {
  font-size: clamp(56px, 6vw, 72px);
  font-weight: var(--fw-book);
  letter-spacing: var(--tr-display);
  line-height: 1;
}
.pk-super-price-was { font-size: 22px; color: var(--text-muted-on-dark); }
.pk-super-price-was s { text-decoration-thickness: 2px; text-decoration-color: rgba(255, 169, 138, 0.8); }

.pk-super-save { margin-top: 14px; font-size: 15px; color: var(--text-muted-on-dark); }
.pk-super-save strong { color: var(--primary-on-dark); font-weight: var(--fw-bold); }
.pk-super-price-note { margin-top: 4px; font-size: var(--fs-small); color: var(--text-muted-on-dark); }

.pk-super-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: var(--sp-4);
}

/* ── Value receipt ── */
.pk-receipt {
  align-self: start;
  padding: var(--sp-4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
}

.pk-receipt-title {
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--text-muted-on-dark);
  margin-bottom: 8px;
}

.pk-receipt-table { width: 100%; border-collapse: collapse; }
.pk-receipt-table th,
.pk-receipt-table td {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 15px;
  font-weight: var(--fw-regular);
  vertical-align: middle;
}
.pk-receipt-table th { text-align: left; color: var(--text-on-dark); }
.pk-receipt-item { display: flex; align-items: center; gap: 12px; line-height: 1.35; }
.pk-receipt-table th img { display: block; flex-shrink: 0; width: 28px; height: 28px; border-radius: 7px; object-fit: contain; }
.pk-receipt-table th a { display: inline-block; padding: 13px 0; margin: -9px 0; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color var(--transition); }
.pk-receipt-table th a:hover { text-decoration-color: currentColor; }

.pk-receipt-glyph {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark);
}

/* Three overlapping app icons */
.pk-receipt-stack { display: flex; flex-shrink: 0; }
.pk-receipt-stack img + img { margin-left: -8px; }
.pk-receipt-stack img { box-shadow: 0 0 0 2px #1E1912; border-radius: 50%; }

.pk-receipt-table td {
  text-align: right;
  white-space: nowrap;
  color: var(--text-muted-on-dark);
  padding-left: 16px;
}
.pk-receipt-incl { font-size: var(--fs-meta) !important; }

.pk-receipt-total th,
.pk-receipt-total td { border-bottom: 0; padding-top: 16px; color: var(--text-muted-on-dark); }
.pk-receipt-total s { text-decoration-thickness: 2px; text-decoration-color: rgba(255, 169, 138, 0.8); }

.pk-receipt-final th,
.pk-receipt-final td {
  border-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 14px;
  font-size: 20px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-h3);
  color: var(--text-on-dark);
}

/* ============================================================
   S3 — FOCUSED PACKS
   ============================================================ */
.pk-packs {
  padding: var(--sp-8) 0;
  background: var(--surface);
  color: var(--text-primary);
}

.pk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
}

.pk-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 2px rgba(33, 26, 20, 0.04), 0 16px 48px rgba(33, 26, 20, 0.06);
  scroll-margin-top: calc(var(--nav-height, 58px) + 24px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
@media (hover: hover) and (pointer: fine) {
  .pk-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: 0 1px 2px rgba(33, 26, 20, 0.04), 0 24px 56px rgba(33, 26, 20, 0.1);
  }
}

.pk-card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-subtle); }
.pk-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pk-card:hover .pk-card-media img { transform: scale(1.03); } }

.pk-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--sp-4);
}

.pk-card-title {
  font-size: 22px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-h3);
  line-height: 1.2;
  margin-bottom: 8px;
}

.pk-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  text-wrap: pretty;
  margin-bottom: 20px;
}

.pk-card-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.pk-card-price-num {
  font-size: 36px;
  font-weight: var(--fw-strong);
  letter-spacing: var(--tr-h2);
  line-height: 1;
}
.pk-card-price-was { font-size: var(--fs-body); color: var(--text-secondary); }
.pk-card-price-was s { text-decoration-thickness: 1.5px; }

.pk-save {
  margin-left: auto;
  align-self: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 90, 31, 0.08);
  border: 1px solid rgba(189, 50, 0, 0.18);
  color: var(--primary-on-light);
  font-size: var(--fs-meta);
  font-weight: var(--fw-bold);
  white-space: nowrap;
}

/* flex: 1 pins the button to the bottom: CTAs line up across cards */
.pk-card-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--sp-4);
}
.pk-card-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-primary);
}
.pk-card-list img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 7px;
  object-fit: contain;
}
.pk-card-list span { display: flex; flex-direction: column; gap: 1px; line-height: 1.35; }
.pk-card-list small { font-size: var(--fs-meta); color: var(--text-secondary); }

.pk-card-list--checks svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary-on-light);
}

.pk-card-cta { width: 100%; }

.pk-upsell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 720px;
  margin: var(--sp-5) auto 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: left;
}
.pk-upsell img { width: 32px; height: 32px; flex-shrink: 0; }
.pk-upsell a { color: var(--primary-on-light); font-weight: var(--fw-medium); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   S4 — COMPARISON TABLE
   ============================================================ */
.pk-compare {
  padding: var(--sp-8) 0;
  background: var(--surface-subtle);
  color: var(--text-primary);
}

.pk-scroll-hint,
.pk-pick-hint,
.pk-pick-row { display: none; }

/* overflow: clip rounds the corners without creating a scroll
   container, so the header can stay pinned under the nav. Only the
   no-JS phone fallback scrolls sideways (see the 720px block). */
.pk-compare-scroll {
  position: relative;   /* contains the .sr-only cells, which are absolutely positioned */
  max-width: 960px;
  margin: 0 auto;
  overflow: clip;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 2px rgba(33, 26, 20, 0.04), 0 16px 48px rgba(33, 26, 20, 0.06);
}

.pk-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
}
.pk-col-feat { width: 30%; }
.pk-col-super { background: rgba(255, 90, 31, 0.05); }

.pk-table th,
.pk-table td {
  padding: 14px 12px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}

/* Feature column stays pinned while the packs scroll */
.pk-table tbody th[scope="row"],
.pk-table .pk-table-corner {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
  text-align: left;
  padding-left: var(--sp-3);
  font-size: 15px;
  font-weight: var(--fw-regular);
}

.pk-table thead th { padding-top: var(--sp-3); padding-bottom: 18px; vertical-align: bottom; }

/* Header pinned under the nav while the rows scroll past. Opaque
   backgrounds (the Super Pack tint pre-mixed on white) so rows never
   show through; the shadow marks the edge. */
.pk-table thead th,
.pk-table thead .pk-table-corner {
  position: sticky;
  top: var(--nav-height, 64px);
  z-index: 2;
  background: #fff;
  box-shadow: 0 1px 0 var(--border-strong);   /* one continuous line: per-cell shadows leave seams */
}
.pk-table thead .pk-table-corner { left: 0; z-index: 3; }
.pk-table thead .pk-th--super { background: #FFF6F2; }
.pk-table thead tr:first-child > * { border-bottom: 0; }

/* Row highlight helps the eye follow a line across the columns */
@media (hover: hover) {
  .pk-table tbody tr:not(.pk-tr-group):hover > * { background-color: rgba(33, 26, 20, 0.03); }
  .pk-table tbody tr:not(.pk-tr-group):hover > th[scope="row"] { background-color: #F9F8F6; }
}
.pk-table thead th > span { display: block; }
.pk-th-name { font-size: 15px; font-weight: var(--fw-bold); line-height: 1.25; }
.pk-th-price { margin-top: 4px; font-size: var(--fs-small); color: var(--text-secondary); font-weight: var(--fw-regular); }
.pk-th--super .pk-tag { display: inline-flex; margin-bottom: 8px; }
.pk-th--super .pk-th-price { color: var(--text-primary); font-weight: var(--fw-bold); }

.pk-tr-group th {
  position: sticky;
  left: 0;
  padding: 22px var(--sp-3) 8px;
  text-align: left;
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pk-yes {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--text-primary);
  color: #fff;
}
.pk-td--super .pk-yes { background: var(--primary-solid); }

/* "Not included": a short bar, visible but quiet (3:1 as a graphic) */
.pk-no {
  display: inline-block;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #8F8A82;
  vertical-align: middle;
}

.pk-table tfoot td { border-bottom: 0; padding-top: 18px; padding-bottom: var(--sp-3); }
.pk-table tfoot .pk-table-corner { background: #fff; }

/* ── Assurances ── */
.pk-assure {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3);
  max-width: 960px;
  margin: var(--sp-6) auto 0;
}
.pk-assure-item { display: flex; align-items: flex-start; gap: 12px; }
.pk-assure-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary-on-light);
}
.pk-assure-item > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-small); color: var(--text-secondary); line-height: 1.45; }
.pk-assure-item strong { font-size: 15px; font-weight: var(--fw-bold); color: var(--text-primary); }

/* ============================================================
   S5 — FAQ
   ============================================================ */
.pk-faq {
  padding: var(--sp-8) 0;
  background: var(--surface);
  color: var(--text-primary);
}

.pk-faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: var(--sp-6);
  align-items: start;
}
.pk-faq-header { position: sticky; top: calc(var(--nav-height, 58px) + var(--sp-4)); }

/* + that turns into × */

/* Collapsed answers are out of the focus order and the accessibility tree */

/* ============================================================
   S6 — FINAL CTA
   ============================================================ */
.pk-cta-final {
  position: relative;
  overflow: hidden;
  padding: var(--sp-8) 0;
  background: var(--dark-bg);
  color: var(--text-on-dark);
  text-align: center;
}
.pk-cta-final-bg { position: absolute; inset: 0; pointer-events: none; }
.pk-cta-final-glow {
  position: absolute;
  left: 50%;
  bottom: -360px;
  width: 900px;
  height: 600px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 90, 31, 0.22) 0%, transparent 65%);
}

.pk-cta-final-inner { position: relative; }

.pk-cta-final-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tr-h1);
  line-height: 1.08;
  text-wrap: balance;
  margin-bottom: var(--sp-3);
}

.pk-cta-final-sub {
  max-width: 520px;
  margin: 0 auto var(--sp-5);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-muted-on-dark);
}

.pk-cta-final-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--sp-3);
}

.pk-cta-final-note { font-size: var(--fs-meta); color: var(--text-muted-on-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .pk-super-body { gap: var(--sp-5); padding: var(--sp-5); }
  .pk-super-media { aspect-ratio: 16 / 7; }
  .pk-receipt { padding: var(--sp-3); }
}

@media (max-width: 900px) {
  .pk-super-body { grid-template-columns: 1fr; }
  .pk-receipt { max-width: 640px; }
}

@media (max-width: 1023px) {
  .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pk-grid .pk-card:last-child { grid-column: 1 / -1; flex-direction: row; }
  .pk-grid .pk-card:last-child .pk-card-media { flex: 0 0 42%; aspect-ratio: auto; }

  .pk-assure { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .pk-faq-inner { grid-template-columns: 1fr; gap: var(--sp-4); }
  .pk-faq-header { position: static; }
}

@media (max-width: 720px) {
  .pk-hero { padding: calc(var(--nav-height, 58px) + var(--sp-6)) 0 var(--sp-5); }
  .pk-super-media { aspect-ratio: 16 / 10; }
  .pk-packs, .pk-compare, .pk-faq, .pk-cta-final { padding: var(--sp-7) 0; }
  .pk-super { padding-bottom: var(--sp-7); }
  .pk-section-header { margin-bottom: var(--sp-5); }

  .pk-grid { grid-template-columns: 1fr; }
  .pk-grid .pk-card:last-child { grid-column: auto; flex-direction: column; }
  .pk-grid .pk-card:last-child .pk-card-media { flex: none; aspect-ratio: 16 / 9; }

  .pk-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 10px;
    font-size: var(--fs-meta);
    color: var(--text-secondary);
  }
  /* No-JS fallback (packs.js never added .is-ready): every pack,
     scrolling sideways, header not pinned */
  .pk-compare:not(.is-ready) .pk-compare-scroll { overflow-x: auto; }
  .pk-compare:not(.is-ready) .pk-table thead th,
  .pk-compare:not(.is-ready) .pk-table thead .pk-table-corner { position: static; }
  .pk-compare.is-ready .pk-scroll-hint { display: none; }
  .pk-table { min-width: 520px; }
  .pk-col-feat { width: 150px; }
  .pk-table tbody th[scope="row"],
  .pk-table .pk-table-corner { padding-left: var(--sp-2); font-size: var(--fs-small); }
  .pk-table th, .pk-table td { padding: 12px 8px; }
  .pk-tr-group th { padding-left: var(--sp-2); }

  /* ── Two-up comparison (packs.js adds .is-picking) ──
     Feature column + the two chosen packs: no sideways scroll. */
  .pk-compare.is-picking .pk-pick-hint {
    display: block;
    margin-bottom: 12px;
    font-size: var(--fs-small);
    text-align: center;
    color: var(--text-secondary);
  }
  .is-picking .pk-compare-scroll { overflow: clip; }
  .is-picking .pk-table { min-width: 0; width: 100%; }
  .is-picking .pk-table [data-col] { width: 31%; }
  .is-picking .pk-pick-row > .pk-table-corner { width: 38%; }
  .is-picking .pk-table .is-off { display: none; }
  .is-picking .pk-table thead tr:first-child { display: none; }
  .is-picking .pk-td--super { background: #FFF6F2; }
  .is-picking .pk-table th,
  .is-picking .pk-table td { padding: 12px 6px; }
  .is-picking .pk-table tbody th[scope="row"] { padding-left: var(--sp-2); padding-right: 8px; line-height: 1.35; }
  .is-picking .pk-table tfoot td:not(.pk-table-corner) { padding: 14px 6px 18px; }
  .is-picking .pk-table tfoot .pk-btn { width: 100%; padding: 0 8px; }

  /* Picker row, pinned under the nav */
  .is-picking .pk-pick-row { display: table-row; }
  .is-picking .pk-table thead .pk-pick-row > * {
    position: sticky;
    top: var(--nav-height, 64px);
    z-index: 2;
    padding: 10px 6px;
    background: #fff;
    box-shadow: 0 1px 0 var(--border-strong);
    vertical-align: middle;
  }
  .is-picking .pk-table thead .pk-pick-row > .pk-td--super { background: #FFF6F2; }
  .is-picking .pk-table thead .pk-pick-row > .pk-table-corner { left: auto; padding-left: var(--sp-2); text-align: left; }
}

/* The select covers its face: tapping anywhere opens the native
   picker; the face shows the pack's name and price. */
.pk-pick-label {
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--text-secondary);
}
.pk-pick { position: relative; }
.pk-pick select {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  font-size: 16px;      /* below 16px iOS zooms the page on focus */
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.pk-pick-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 56px;
  padding: 8px 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: #fff;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pk-td--super .pk-pick-face { border-color: rgba(209, 64, 0, 0.35); }
.pk-pick:hover .pk-pick-face { border-color: rgba(33, 26, 20, 0.35); }
.pk-pick:focus-within .pk-pick-face { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.pk-pick-name { font-size: var(--fs-small); font-weight: var(--fw-bold); line-height: 1.2; color: var(--text-primary); }
.pk-pick-price {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-meta);
  color: var(--text-secondary);
}
.pk-pick-chevron { color: var(--text-primary); }

@media (max-width: 560px) {
  .pk-super-card { border-radius: var(--radius-xl); }
  .pk-super-body { padding: var(--sp-4) var(--sp-3) var(--sp-3); }
  .pk-hero-actions { flex-direction: column; align-self: stretch; }
  /* Scales with the width so the title always sits on two lines */
  .pk-hero-title { font-size: max(34px, 10.8vw); }
  .pk-receipt { padding: var(--sp-3) var(--sp-2); }
  .pk-receipt-table th, .pk-receipt-table td { font-size: var(--fs-small); }
  .pk-super-actions .pk-btn { width: 100%; }
  .pk-card-body { padding: var(--sp-3); }
  .pk-assure { grid-template-columns: 1fr; gap: var(--sp-2); }
  .pk-cta-final-actions .pk-btn { width: 100%; }
}

@media (max-width: 380px) {
  .pk-receipt-item { gap: 8px; }
  .pk-cta-final-actions .pk-btn { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .pk-card, .pk-card-media img, .pk-btn { transition: none; }
  @media (hover: hover) and (pointer: fine) { .pk-card:hover { transform: none; } }
  @media (hover: hover) and (pointer: fine) { .pk-card:hover .pk-card-media img { transform: none; } }
}
