/* Packages page only. Shared pieces (hero, bands, cards, .price, buttons, review strip) live in core.css.
   Layout follows the original: numbered boxes 1 to 3 full width, 4 and 5 side by side, 6 full width,
   then the review strip. Inside a box the items are hairline cells: 4 across on desktop, 2 by 2 on
   tablets, and simple rows (name left, price right) on phones. */

/* ---------- the stack of numbered boxes ---------- */
.pk-band { padding-block: clamp(56px, 2.5rem + 3.5vw, 112px); }
.pk-stack { display: grid; gap: clamp(16px, 0.75rem + 0.9vw, 28px); }

.pk-box {
  padding: clamp(28px, 1.25rem + 1.6vw, 48px) clamp(20px, 0.5rem + 2.4vw, 48px);
  border-radius: var(--radius-lg);
}
.pk-box .icon-ring { margin: 0; }

/* box heading: "1. Single Visits", centred between two hairlines as on the original */
.pk-box__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 0 clamp(24px, 1rem + 1.4vw, 40px);
  text-align: center;
  font-size: clamp(1.75rem, 1.4rem + 0.7vw, 2.25rem);
  line-height: 1.15;
  font-variation-settings: "opsz" 28;
}
.pk-box__title::before,
.pk-box__title::after {
  content: "";
  flex: 0 1000 72px; /* the rules give way first, so the title only wraps when it truly has to */
  min-width: 16px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 81, 214, 0), var(--line-strong));
}
.pk-box__title::after { background: linear-gradient(90deg, var(--line-strong), rgba(255, 81, 214, 0)); }
.pk-box__text { flex: 0 1 auto; min-width: 0; }
.pk-box__num { font-style: italic; font-weight: 400; color: var(--accent); margin-right: 0.08em; }
/* below 760px a long title can need two lines, so the side rules are dropped */
@media (max-width: 759.98px) {
  .pk-box__title { display: block; font-size: 1.75rem; line-height: 1.18; }
  .pk-box__title::before, .pk-box__title::after { content: none; }
}

/* ---------- boxes 1 to 3: price cells ---------- */
.pk-prices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.pk-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  min-width: 0;
}
.pk-price + .pk-price { border-top: 1px solid var(--line-soft); }
.pk-price:first-child { padding-top: 4px; }
.pk-price:last-child { padding-bottom: 0; }
.pk-price__name { font-size: 1.0625rem; font-weight: 500; line-height: 1.35; color: var(--fg); }
/* Prices use a lower optical size than headings: at "opsz" 32 the hairline diagonal of the 4 and the
   bar of the + almost vanish ($34.99 read as $3 1.99). 14 keeps the Bodoni contrast and stays legible. */
.pk-price .price { flex: none; font-size: 1.875rem; white-space: nowrap; font-variation-settings: "opsz" 14; }
.pk-price .price__unit { font-size: 0.5em; margin-left: 3px; }

@media (min-width: 600px) {
  .pk-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pk-price {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 24px 16px;
    text-align: center;
  }
  .pk-price + .pk-price { border-top: 0; }
  .pk-price:nth-child(2n) { border-left: 1px solid var(--line-soft); }
  .pk-price:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .pk-price:first-child, .pk-price:nth-child(2) { padding-top: 4px; }
  .pk-price:nth-child(n+3) { padding-bottom: 4px; }
  .pk-price .price { font-size: clamp(2.375rem, 1.9rem + 1vw, 2.875rem); }
  .pk-price .price__unit { font-size: 0.42em; }
}
@media (min-width: 1024px) {
  .pk-prices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pk-price, .pk-price:nth-child(n) { padding: 4px 20px; border-top: 0; border-left: 0; }
  .pk-price + .pk-price { border-left: 1px solid var(--line-soft); }
  .pk-price__name { font-size: 1.0625rem; }
}

/* ---------- boxes 4 and 5, side by side from 1180px (stacked below, so their titles stay on one line) ---------- */
.pk-pair { display: grid; gap: clamp(16px, 0.75rem + 0.9vw, 28px); }
@media (min-width: 1180px) {
  .pk-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .pk-pair .pk-box__title::before, .pk-pair .pk-box__title::after { flex-basis: 48px; }
}

/* 4. upgrade options: three rows, icon on the left */
.pk-ups { list-style: none; margin: 0; padding: 0; }
.pk-up {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 20px;
  padding: 20px 0;
}
.pk-up:first-child { padding-top: 0; }
.pk-up:last-child { padding-bottom: 0; }
.pk-up + .pk-up { border-top: 1px solid var(--line-soft); }
.pk-up__title {
  margin: 0;
  font-size: clamp(1.25rem, 1.15rem + 0.3vw, 1.375rem);
  line-height: 1.25;
  font-variation-settings: "opsz" 18;
}
.pk-up__opts { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 6px 0 0; color: var(--fg-2); line-height: 1.5; }
.pk-up__opt { display: inline-flex; align-items: baseline; gap: 10px; }
.pk-up__price {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-variation-settings: "opsz" 10;
}

/* 5. double dip: the plum highlight box */
.pk-dip__body { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; align-items: start; }
.pk-dip__note { margin: 12px 0 0; font-weight: 600; line-height: 1.45; color: var(--fg); }
/* the description is the highlight of this box: set in Bodoni, large and calm */
.pk-dip__text {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.2rem + 0.55vw, 1.75rem);
  font-weight: 400;
  line-height: 1.4;
  font-variation-settings: "opsz" 24;
  color: var(--fg);
  max-width: 30ch;
}

@media (max-width: 479.98px) {
  .pk-up { column-gap: 16px; align-items: start; }
  .pk-up .icon-ring, .pk-dip .icon-ring { width: 44px; height: 44px; }
  .pk-up .icon-ring .icon, .pk-dip .icon-ring .icon { width: 22px; height: 22px; }
  /* phones: the icon sits above the text so the Bodoni line keeps the full width */
  .pk-dip__body { grid-template-columns: minmax(0, 1fr); }
  .pk-dip__note { margin-top: 16px; }
  .pk-dip__text { font-size: 1.375rem; }
}

/* ---------- 6. our tanning beds ---------- */
.pk-bedlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.pk-bed {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "icon title" "icon text";
  column-gap: 16px;
  align-items: start;
  align-content: start;
  padding: 20px 0;
}
.pk-bed:first-child { padding-top: 0; }
.pk-bed:last-child { padding-bottom: 0; }
.pk-bed + .pk-bed { border-top: 1px solid var(--line-soft); }
.pk-bed__icon { grid-area: icon; width: 28px; height: 28px; margin-top: 2px; }
.pk-bed__title {
  grid-area: title;
  margin: 0;
  font-size: clamp(1.375rem, 1.2rem + 0.45vw, 1.625rem);
  line-height: 1.2;
  font-variation-settings: "opsz" 22;
}
.pk-bed__text { grid-area: text; margin: 8px 0 0; font-size: 1rem; line-height: 1.6; color: var(--fg-2); }

@media (min-width: 640px) {
  .pk-bedlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pk-bed {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "icon" "title" "text";
    padding: 28px 28px;
  }
  .pk-bed + .pk-bed { border-top: 0; }
  .pk-bed:nth-child(odd) { padding-left: 0; }
  .pk-bed:nth-child(even) { padding-right: 0; border-left: 1px solid var(--line-soft); }
  .pk-bed:nth-child(-n+2) { padding-top: 0; }
  .pk-bed:nth-child(n+3) { border-top: 1px solid var(--line-soft); padding-bottom: 0; }
  .pk-bed__icon { width: 32px; height: 32px; margin: 0 0 18px; }
}
@media (min-width: 1100px) {
  .pk-bedlist { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pk-bed, .pk-bed:nth-child(n) { padding: 0 28px; border-top: 0; border-left: 0; }
  .pk-bed:first-child { padding-left: 4px; }
  .pk-bed:last-child { padding-right: 4px; }
  .pk-bed + .pk-bed { border-left: 1px solid var(--line-soft); }
}

/* ---------- the call prompt and the review strip (ivory band) ---------- */
.pk-end { padding-block: clamp(64px, 3rem + 3vw, 112px); }
.pk-help {
  display: grid;
  gap: 28px 64px;
  align-items: center;
  margin-bottom: clamp(40px, 2rem + 1.5vw, 56px);
}
.pk-help__title {
  font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem);
  line-height: 1.12;
  font-variation-settings: "opsz" 30;
  max-width: 18ch;
}
.pk-help__copy p { color: var(--fg-2); max-width: 52ch; }
.pk-help__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.pk-help__phone { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.pk-help__phone .link { display: inline-block; padding-block: 11px 7px; }
.pk-help .status { flex-basis: 100%; margin: 0; }
@media (min-width: 900px) {
  .pk-help { grid-template-columns: minmax(0, 1fr) auto; }
  .pk-help__act { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pk-help__act .btn { min-width: 220px; }
  .pk-help .status { flex-basis: auto; }
}
@media (max-width: 479.98px) {
  .pk-help__act .btn { width: 100%; }
}
