/* Pricing: two-level tabs, photo strips and package cards. Token-driven, so it also works on the dark podcast page. */
.pr-title { max-width: 900px; }
.pr-bar { position: sticky; top: var(--h); z-index: 30; background: var(--bg); border-block: 1px solid var(--line); padding: 12px 0 10px; }
.pr-groups { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.pr-groups button { font: inherit; font-weight: 600; font-size: .95rem; padding: .55em 1.2em; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; white-space: nowrap; }
.pr-groups button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.pr-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: 10px; padding: 2px 0; }
.pr-tabs::-webkit-scrollbar { display: none; }
.pr-tabs[hidden] { display: none; }
.pr-tabs button { flex: none; font: inherit; font-size: .98rem; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .55em 1.05em; cursor: pointer; white-space: nowrap; }
.pr-tabs button:hover { border-color: var(--accent); }
.pr-tabs button[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }

.pr-panel { padding-block: clamp(28px, 4.5vw, 56px) clamp(36px, 6vw, 80px); scroll-margin-top: calc(var(--h) + 130px); }
.pr-panel[hidden] { display: none; }
.pr-head { display: flex; justify-content: space-between; align-items: end; gap: 20px 40px; flex-wrap: wrap; margin-bottom: clamp(18px, 2.6vw, 30px); }
.pr-head h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.pr-head p { color: var(--muted); margin: 12px 0 0; max-width: 52ch; }
.pr-see { font-weight: 600; white-space: nowrap; }
.pr-photos { display: grid; grid-template-rows: minmax(0, 1fr); overflow: hidden; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(8px, 1.2vw, 16px); height: clamp(190px, 25vw, 340px); margin-bottom: clamp(22px, 3vw, 36px); }
.pr-photos.two { grid-template-columns: 1.4fr 1fr; }
.pr-photos img { min-height: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; border-radius: 12px; background: var(--surface); }

.pr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: clamp(14px, 1.8vw, 24px); align-items: stretch; }
.pr-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 2.4vw, 30px); }
.pr-card h3 { font-size: 1.15rem; line-height: 1.25; }
.pr-card .sub { color: var(--muted); font-size: .95rem; margin: 6px 0 0; }
.pr-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px .5em; margin: 16px 0 18px; }
.pr-price strong { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-track); font-size: clamp(2.3rem, 3.6vw, 3rem); line-height: 1; }
.theme-personal .pr-price strong { font-weight: 400; }
.pr-price span { color: var(--muted); font-size: .95rem; }
.pr-card ul { list-style: none; margin: 0 0 22px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.pr-card li { position: relative; padding-left: 1.55em; font-size: .98rem; line-height: 1.45; }
.pr-card li::before { content: ""; position: absolute; left: 2px; top: .38em; width: .5em; height: .85em; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(40deg) scale(.8); transform-origin: center; }
.pr-card .btn { margin-top: auto; justify-content: center; text-align: center; }
.pr-card.feature { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pr-card .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.pr-card .thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 8px; }

.pr-extra { margin-top: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 10px 24px; align-items: baseline; padding-top: clamp(18px, 2.4vw, 26px); border-top: 1px solid var(--line); }
.pr-extra + .pr-extra { margin-top: 18px; padding-top: 0; border-top: 0; }
.pr-extra h3 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); font-weight: 600; }
.pr-extra ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.pr-extra li { border: 1px solid var(--line); border-radius: 999px; padding: .35em .9em; font-size: .95rem; }
.pr-foot { margin-top: clamp(28px, 4vw, 44px); color: var(--muted); font-size: .95rem; max-width: 64ch; }
.pr-foot a { color: var(--accent); }
.pr-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }

@media (max-width: 760px) {
  .pr-groups { display: flex; width: 100%; }
  .pr-groups button { flex: 1; padding-inline: .6em; }
  .pr-photos { grid-template-columns: 1.4fr 1fr; height: clamp(170px, 46vw, 240px); }
  .pr-photos img:nth-child(3) { display: none; }
  .pr-extra { grid-template-columns: 1fr; }
  .pr-split { grid-template-columns: 1fr; }
}

.pr-photos img { cursor: zoom-in; }
.pr-zoom { padding: 0; border: 0; background: transparent; width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; overflow: hidden; }
.pr-zoom::backdrop { background: rgb(8 10 16 / .94); }
.pr-zoom img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16px 70px; cursor: zoom-out; background: none; border-radius: 0; }
.pr-zoom button { position: absolute; border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); color: #1b1b22; cursor: pointer; line-height: 1; display: grid; place-items: center; box-shadow: 0 4px 14px rgb(0 0 0 / .3); }
.pr-zoom .x { top: 14px; right: 14px; width: 42px; height: 42px; font-size: 1.5rem; }
.pr-zoom .n { top: 50%; translate: 0 -50%; width: 46px; height: 46px; font-size: 1.4rem; }
.pr-zoom .prev { left: 12px; } .pr-zoom .next { right: 12px; }
.pr-zoom button[hidden] { display: none; }
@media (max-width: 600px) { .pr-zoom img { padding: 60px 8px; } .pr-zoom .n { top: auto; bottom: 14px; translate: 0 0; } }

/* LATEST17: mobile maternity image framing */
@media(max-width:760px){.pr-panel#baby .pr-photos img,.pr-panel#maternity .pr-photos img{object-fit:contain;object-position:center center;background:#f5f4f3;} .pr-panel#baby .pr-photos,.pr-panel#maternity .pr-photos{height:clamp(200px,58vw,320px);}}
@media(max-width:760px){
  #maternity .pr-photos {height:clamp(220px,58vw,340px)}
  #maternity .pr-photos img:nth-child(2){object-fit:contain;object-position:center center;background:#f5f4f3}
}
