/* THE PHOTOBOOTH SITE'S OWN RULES (lib/sitepages/booth-book.js; 9 Nov 2026), on top of site.css: the same tokens, the same
   header, snap and arrows as home. Only that page loads this file. */

/* ---------------- the hero: the strips, the heading over their foot, the two buttons under them ---------------- */
html.ws-snap main > .ws-hero--strips { justify-content: flex-start; height: var(--ws-fh, 100svh); min-height: 320px; padding: calc(var(--ws-hdr-h) + 14px) 0 var(--ws-foot); overflow: hidden; }
.pb-gal { position: relative; flex: 1 1 0; min-height: 0; margin-bottom: 12px; }
.pb-row { position: absolute; inset: 0; container-type: size; display: flex; justify-content: center; align-items: flex-start; column-gap: 12px; overflow: hidden; }
.pb-strip { flex: none; display: flex; flex-direction: column; height: 100cqh; width: 34cqh; padding: 5px 5px 0; background: #fff; }
.pb-a { transform: translateY(-3cqh) rotate(-1.4deg); }
.pb-b { transform: translateY(4cqh) rotate(1.2deg); }
.pb-sets { position: relative; flex: 1 1 0; min-height: 0; }
.pb-set { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 5px; }
.pb-set .ws-pic { height: 100%; min-height: 0; }
.pb-set img { display: block; -webkit-user-drag: none; user-select: none; }
.pb-new { opacity: 0; }
.pb-new.pb-in { opacity: 1; transition: opacity .9s ease; }
.pb-lb { flex: none; height: 26px; margin: 0; display: grid; place-items: center; color: var(--ws-c-ink); font: 500 7.5px/1 var(--ws-font-text); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.pb-cap { --pb-fade: 88px; position: absolute; left: max(var(--ws-gut), env(safe-area-inset-left)); right: max(var(--ws-gut), env(safe-area-inset-right)); bottom: 6px; z-index: 2; display: grid; gap: 12px; }
/* the dark behind the words is measured from the words, so their first line is on it however short the window (it runs the width of the strips) */
.pb-cap::before { content: ""; position: absolute; z-index: -1; inset: calc(-1 * var(--pb-fade)) -100vw -14px; background: linear-gradient(rgb(var(--ws-c-primary-rgb) / 0), rgb(var(--ws-c-primary-rgb) / .78) var(--pb-fade), rgb(var(--ws-c-primary-rgb) / .96)); pointer-events: none; }
.pb-cap h1 { margin: 0; line-height: 1.04; max-width: none; }
.pb-cap p { margin: 0; max-width: 30rem; font-size: var(--ws-t-small); line-height: 1.4; }
.ws-hero--strips .pb-btns { flex: none; display: flex; gap: 10px; padding-inline: max(var(--ws-gut), env(safe-area-inset-left)); }
.ws-hero--strips .pb-btn { flex: 1 1 0; min-width: 0; min-height: 50px; margin: 0; padding-inline: 6px; letter-spacing: .08em; white-space: nowrap; }
/* the arrow where every section's sits */
.ws-hero--strips > .ws-cue { position: absolute; top: auto; bottom: calc(2.5vh + 21px); left: 50%; translate: -50% 0; margin: 0; }
@media (max-width: 359.98px) { .ws-hero--strips .pb-btn { font-size: 11px; letter-spacing: .03em; } }
@media (min-width: 640px) {
  .pb-row { column-gap: 16px; }
  .pb-strip { padding: 7px 7px 0; }
  .pb-set { gap: 7px; }
  .pb-lb { height: 32px; font-size: 9px; }
  .pb-cap { right: auto; max-width: 700px; bottom: 14px; }
  .pb-cap p { font-size: var(--ws-t-lede); }
  /* THE TWO BUTTONS AS HOME'S (12 Nov 2026, the operator, of them centred and wide on his iPad: "Make these size and position
     same as Home Screen"): from the page's left edge under the words, the site's own button (50px, 22px in, its own
     spacing) and the 20px between that home's two have */
  .ws-hero--strips .pb-btns { justify-content: flex-start; gap: 20px; }
  .ws-hero--strips .pb-btn { flex: none; min-height: 50px; padding-inline: 22px; letter-spacing: .1em; }
}
@media (min-width: 1440px) { .pb-cap { left: calc((100% - 1440px) / 2 + var(--ws-gut)); } .ws-hero--strips .pb-btns { padding-left: calc((100% - 1440px) / 2 + var(--ws-gut)); } }
/* Find your picture easier to see ("can you make the find your pictures easier to see"): the outline and the words in the
   page's full light, on a light tint, never the faint edge it had over the photographs */
.ws-hero--strips .pb-btn.ws-btn--line { border-color: var(--ws-c-on-primary); background: rgb(var(--ws-c-on-primary-rgb) / .14); color: var(--ws-c-on-primary); }
/* A SHORT WINDOW, a phone on its side: the strips keep what height there is, the words run one line across, and the two
   buttons go level with the arrow, one each side of it, so all of it is on the one screen */
@media (max-height: 519.98px) and (min-width: 520px) {
  html.ws-snap main > .ws-hero--strips { padding-bottom: calc(2.5vh + 24px); }
  .pb-cap { --pb-fade: 44px; right: max(var(--ws-gut), env(safe-area-inset-right)); max-width: none; gap: 6px; }
  .ws-hero--strips .pb-btns { justify-content: center; gap: 124px; }
  .ws-hero--strips .pb-btn { flex: 0 1 216px; min-height: 46px; }
}

/* ---------------- the sheet: Find your picture ---------------- */
/* IN THE PRICE CALCULATOR'S WINDOW SHAPE (12 Nov 2026, the operator: "this popup needs redesigning to match style"): a white
   window in the middle of the screen, square, its close in its corner, a small spaced label over the heading, the words in
   the page's own size, the field under a small capital label, and its one button across the dark bar at its foot, yellow */
.pb-find { width: min(560px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 32px); margin: auto; padding: 0; border: 0; background: var(--ws-bg); color: var(--ws-fg); overflow: auto; overscroll-behavior: contain; }
.pb-find::backdrop { background: rgb(var(--ws-c-primary-rgb) / .72); }
.pb-find:not([open]):not([data-pb-on]):target { display: block; position: fixed; inset: 0; z-index: 90; }
.pb-find .ws-sec-head { display: grid; gap: 12px; margin: 0; padding: 10px 64px 0 28px; max-width: none; }
.pb-find .ws-sec-head::after { content: none; }
.pb-find-eye { margin: 0; padding: 32px 64px 0 28px; font: var(--ws-w-label) .75rem/1.4 var(--ws-font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ws-fg-2); }
.pb-find h2 { margin: 0; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.25rem); line-height: 1.08; }
.pb-find .ws-lede { margin: 0; max-width: none; font-size: var(--ws-t-body); line-height: 1.55; color: var(--ws-fg-2); }
.pb-find .ws-find-form { display: block; justify-items: stretch; margin-top: 22px; } /* (stretch: a browser applies the form's own justify-items to blocks too, which shrank the bar to its button) */
.pb-find .ws-find-form .ws-fld { padding: 0 28px 24px; }
.pb-find .ws-find-form .ws-lbl { font: var(--ws-w-label) .75rem/1.4 var(--ws-font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ws-fg-2); }
.pb-find .ws-find-said { margin: -10px 28px 20px; }
.pb-find-bar { display: flex; justify-self: stretch; width: 100%; padding: 16px 28px; background: var(--ws-c-primary); }
.pb-find-bar > .ws-btn { flex: 1 1 auto; min-height: 52px; }
.pb-find-x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; color: inherit; }
.pb-find-x .ws-menu-x { width: 20px; height: 20px; }
@media (max-width: 479.98px) {
  .pb-find-eye { padding: 24px 56px 0 20px; }
  .pb-find .ws-sec-head { padding: 8px 56px 0 20px; }
  .pb-find .ws-find-form .ws-fld { padding: 0 20px 20px; }
  .pb-find .ws-find-said { margin-inline: 20px; }
  .pb-find-bar { padding: 14px 20px max(14px, env(safe-area-inset-bottom)); }
}
html.ws-snap:has(.pb-find[open]) body.ws { overflow: hidden; }
@media (min-width: 640px) and (pointer: fine) { html.ws-snap:has(.pb-find[open]) { overflow: hidden; } }

/* ---------------- What you get and Prices: their shared frame ---------------- */
/* no numbers over these headings or the sheet's: nothing here is a sequence */
main :is(.ws-sec--pbget, .ws-sec--pbprice, .pb-find) .ws-sec-head { counter-increment: none; border-top: 0; padding-top: 0; }
main :is(.ws-sec--pbget, .ws-sec--pbprice, .pb-find) .ws-sec-head::before { content: none; }
.pb-get, .pb-tix { list-style: none; margin: 0; padding: 0; }
.pb-get h3, .pb-tix h3 { margin: 0; }
html.ws-snap main > .ws-sec--pbget { padding-bottom: var(--ws-foot); }
html.ws-snap main > .ws-sec--pbget::after { content: none; }
html.ws-snap main > :is(.ws-sec--pbget, .ws-sec--pbprice) > .ws-in { flex: 0 0 auto; width: 100%; min-height: var(--ws-room); }
/* (one column: the number's place in the site's heading is not kept) */
html.ws-snap main > :is(.ws-sec--pbget, .ws-sec--pbprice) > .ws-in > .ws-sec-head { display: block; }
/* (Prices is the page's last: Back to top takes a little more room than an arrow does) */
html.ws-snap main > .ws-sec--pbprice > .ws-in { min-height: calc(var(--ws-room) - 24px); }

/* WHERE THE LIST CANNOT FIT, CARDS SWIPED SIDEWAYS: a phone, and any window too short for the list and its arrow together.
   The row is the site's own (.ws-swipe, site.css 23.6; its bars are drawn by site.js), so a card is 86% of the column on a
   phone and the next one's edge shows, a card at a time; a drag up or down moves the page */
@media (max-width: 639px), (max-height: 519.98px), (max-width: 899.98px) and (max-height: 639.98px) {
  html.ws-snap main > .ws-sec--pbget > .ws-in { display: flex; flex-direction: column; }
  html.ws-snap main .pb-get { flex: 1 1 0; min-height: 170px; }
  html.ws-snap main .pb-get > li { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--ws-c-hover); }
  html.ws-snap main .pb-get .ws-feat-gl { flex: 1 1 auto; display: block; width: auto; height: auto; margin: 0; background: none; }
  html.ws-snap main .ws-swipe.pb-get:not(.ws-kinds) svg.ws-gl { width: 44px; height: 44px; }
  html.ws-snap main .pb-get h3 { font-size: var(--ws-t-h3); line-height: 1.12; }
  html.ws-snap main .pb-get p { margin: 0; font-size: var(--ws-t-body); line-height: 1.4; color: var(--ws-fg-2); }
}
@media (max-width: 639px) {
  /* (home's room under a heading on a phone) */
  html.ws-snap main > :is(.ws-sec--pbget, .ws-sec--pbprice) .ws-sec-head { margin-bottom: clamp(20px, 5.4vh, 36px); }
  html.ws-snap main > .ws-sec--pbprice > .ws-in { display: flex; flex-direction: column; }
  html.ws-snap main .pb-tix { flex: 1 1 0; min-height: 170px; }
  html.ws-snap main .pb-tix > li { display: flex; flex-direction: column; }
}
/* (site.css draws the row below 640 px alone: from there these windows need the same rules for this one list) */
@media (min-width: 640px) and (max-height: 519.98px), (min-width: 640px) and (max-width: 899.98px) and (max-height: 639.98px) {
  html.ws-snap main .pb-get.ws-swipe { display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: none; scrollbar-width: none; }
  html.ws-snap main .pb-get.ws-swipe::-webkit-scrollbar { display: none; }
  html.ws-snap main .pb-get.ws-swipe > li { flex: 0 0 min(72%, 420px); min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  html.ws-snap main .pb-get + .ws-swipe-bars { position: relative; display: flex; gap: 0; height: 20px; align-items: center; width: max-content; max-width: 100%; margin-inline: auto; }
  html.ws-snap main .pb-get + .ws-swipe-bars > span { width: 48px; height: 2px; background: var(--ws-line); }
  html.ws-snap main .pb-get + .ws-swipe-bars::after { content: ""; position: absolute; top: 9px; left: 0; height: 2px; width: calc(var(--ws-len, .25) * 100%); transform: translateX(calc(var(--ws-at, 0) / var(--ws-len, .25) * 100%)); background: var(--ws-no-c); }
}
/* a short window's card: the glyph beside its heading, the words under the heading, in what height there is */
@media (max-height: 519.98px) {
  html.ws-snap main .pb-get { min-height: 0; }
  html.ws-snap main .pb-get > li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; align-content: center; padding: 8px 14px; }
  html.ws-snap main .pb-get .ws-feat-gl { grid-row: 1 / span 2; width: 26px; height: 26px; margin: 2px 0 0; }
  html.ws-snap main .ws-swipe.pb-get:not(.ws-kinds) svg.ws-gl { width: 26px; height: 26px; }
  html.ws-snap main .pb-get h3 { grid-column: 2; font-size: min(var(--ws-t-h3), 1.25rem); line-height: 1.15; }
  html.ws-snap main .pb-get p { grid-column: 2; margin: 2px 0 0; font-size: var(--ws-t-small); line-height: 1.3; }
  html.ws-snap main > :is(.ws-sec--pbget, .ws-sec--pbprice) .ws-sec-head { margin-bottom: 14px; }
}

/* ---------------- What you get as the ruled list: under its heading, two across, until there is width to sit beside it ---------------- */
@media (min-width: 900px) and (min-height: 520px), (min-width: 640px) and (min-height: 640px) {
  html.ws-snap main > .ws-sec--pbget > .ws-in { display: flex; flex-direction: column; }
  .pb-get { flex: 1 1 auto; max-height: 520px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(min-content, 1fr); column-gap: 32px; border-bottom: 1px solid var(--ws-line); }
  .pb-get > li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; align-content: center; border-top: 1px solid var(--ws-line); padding-block: 5px; }
  .pb-get .ws-feat-gl { grid-row: 1 / span 2; width: 26px; height: 26px; margin: 2px 0 0; background: none; }
  .pb-get svg.ws-gl { width: 26px; height: 26px; }
  .pb-get h3 { grid-column: 2; font-size: min(var(--ws-t-h3), 1.5rem); line-height: 1.15; }
  .pb-get p { grid-column: 2; margin: 4px 0 0; font-size: var(--ws-t-body); line-height: 1.3; color: var(--ws-fg-2); }
}
@media (min-width: 900px) and (min-height: 520px) and (max-height: 599.98px) {
  .pb-get { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pb-get h3 { font-size: min(var(--ws-t-h3), 1.25rem); }
  .pb-get p { margin-top: 2px; font-size: var(--ws-t-small); }
}
@media (min-width: 900px) and (min-height: 600px) {
  html.ws-snap main > .ws-sec--pbget > .ws-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(24px, 5vw, 56px); align-items: stretch; }
  .pb-get { max-height: none; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(0, 1fr); }
}

/* ---------------- Prices: three tickets, the hours over a torn line and the figure under it ---------------- */
.pb-tix > li { background: var(--ws-c-surface); color: var(--ws-c-ink); border: 1px solid var(--ws-c-line); }
.pb-tix h3 { display: flex; align-items: center; flex: 1 1 0; padding: 22px; font-size: var(--ws-t-h3); line-height: 1.1; }
.pb-tk-low { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; flex: 1 1 0; gap: 4px; padding: 22px; border-top: 1px dashed var(--ws-c-edge); }
.pb-fig { margin: 0; font: 400 var(--ws-t-figure)/1 var(--ws-font-head); font-variant-numeric: tabular-nums; }
.pb-covers { margin: 0; font-size: var(--ws-t-small); line-height: 1.3; color: var(--ws-c-muted); }
.pb-tix .ws-link--go { color: var(--ws-c-ink); }
/* THE PRICES' LINKS ON ONE LINE (16 Nov 2026, the fit pass of the photobooth site): Safari to 18 breaks a balanced line that
   ends in a picture, the link's arrow, into two even where it fits on one (.ws-link--go is text-wrap: balance), so each
   ticket's Ask for a quote and the foot's Book now stood 20 px taller, always with no script and at random with it, the
   tickets 20 px shorter whenever Book now did. Book now fits one line at every width and Ask for a quote wherever its ticket
   has the room, so they wrap as plain words do, and the arrow stays with its word (.ws-nb), as Read my story's (.ws-me-go)
   and a spread's links are */
.pb-tix .ws-link--go, .pb-fin .ws-link--go { text-wrap: wrap; }
.pb-fin { display: grid; gap: 4px; justify-items: start; margin-top: 10px; }
.pb-fin p { margin: 0; font-size: var(--ws-t-small); line-height: 1.4; color: var(--ws-fg-2); }
@media (min-width: 640px) {
  html.ws-snap main > .ws-sec--pbprice > .ws-in { display: flex; flex-direction: column; flex: 0 0 auto; }
  .pb-tix { flex: 1 1 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-height: 420px; }
  .pb-tix > li { display: flex; flex-direction: column; }
  .pb-fin { grid-template-columns: minmax(0, 1fr) auto; align-items: center; margin-top: 20px; }
}
/* A TICKET HOLDS ITS FIGURE AND WHAT IT COVERS ON A PHONE (16 Nov 2026, the fit pass of the photobooth site): its two halves
   share the ticket and centre what is in them, so their padding is only the least room round the words, 14px above and
   below on a phone. At 22px a figure with What it covers at its longest (80 characters, three lines) ran past its ticket on
   the operator's 376 x 583 phone and at 320 x 568, the last line cut. Where the words have room the look is the same, but
   that on the shortest phones Ask for a quote's half no longer holds the torn line a few px above the ticket's middle; a
   short window's own padding, below, still wins under 560px tall */
@media (max-width: 639px) {
  .pb-tix h3, .pb-tk-low { padding-block: 14px; }
}
/* A SHORT WINDOW: the sentence goes up beside the heading and the tickets close up, so nothing reaches Back to top */
@media (max-height: 559.98px) {
  .pb-tix h3 { padding: 10px 16px; font-size: min(var(--ws-t-h3), 1.5rem); }
  .pb-tk-low { padding: 8px 16px; }
  html.ws-snap main .pb-tix { min-height: 0; }
}
/* (the shortest, a small phone on its side: a ticket's hours beside its figure) */
@media (max-height: 399.98px) and (max-width: 639px) {
  html.ws-snap main .pb-tix > li { flex-direction: row; }
  .pb-tix h3 { flex: 0 0 auto; }
  .pb-tk-low { border-top: 0; border-left: 1px dashed var(--ws-c-edge); }
}
@media (max-height: 559.98px) and (min-width: 520px) {
  html.ws-snap main > .ws-sec--pbprice > .ws-in { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 32px; align-content: start; }
  html.ws-snap main > .ws-sec--pbprice .ws-sec-head { grid-area: 1 / 1; align-self: center; }
  .pb-fin { grid-area: 1 / 2; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; margin: 0 0 14px; }
  .pb-tix { grid-column: 1 / -1; }
  .pb-tix + .ws-swipe-bars { grid-column: 1 / -1; }
}
