/* Troop 4 fundraiser page. Volunteers don't need to edit this file.
   Matches the look of the Troop 4 TroopWebHost site: orange bar, mint page, Walter Turncoat lettering. */

:root {
  --orange: #cc6633;      /* troop site top bar */
  --orange-2: #d4875b;    /* troop site page-title bar */
  --orange-dark: #a84f22; /* buttons (darker so white text is easy to read) */
  --mint: #eefff9;        /* troop site background */
  --lavender: #ddddff;    /* troop site "Contact Us" box */
  --text: #333333;
  --muted: #5c5c5c;
  --line: #cfe3dc;
  --red: #b3261e;
  --hand: "Walter Turncoat", "Comic Sans MS", "Segoe Print", cursive;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
/* Paragraphs use an easy-to-read font; headings, labels and buttons keep the troop's hand lettering. */
body { margin: 0; background: var(--mint); color: var(--text); font: 17px/1.6 var(--sans); }
.bar, .subbar, h1, h2, h3, .motto, .facts li, .help-label, .deadline, .signoff, .now-tag,
.prices li, .now-prices li, .slot-name, .soon, .film figcaption, .pillars strong,
.snapshot figcaption, .thanks strong { font-family: var(--hand); }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--orange-dark); }
[hidden] { display: none !important; }

/* Bars, like the troop site */
.bar { background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; }
.bar a { color: #fff; text-decoration: none; }
.bar-title { font-size: 1.3rem; }
.bar-link { font-size: .95rem; border: 1px solid rgba(255,255,255,.6); border-radius: 4px; padding: 2px 10px; white-space: nowrap; }
.bar-link:hover { background: rgba(255,255,255,.15); }
.subbar { background: var(--orange-2); color: #fff; text-align: center; padding: 6px 16px; font-size: 1rem; letter-spacing: .02em; }

.page { max-width: 760px; margin: 0 auto; padding: 24px 16px 36px; }

/* Top of the page: Support Troop 4 / Scouting Builds Leaders */
.intro { text-align: center; padding: 18px 16px 14px; }
.intro h1 { margin: 0; font-size: clamp(2.1rem, 6vw, 2.8rem); }
.motto { margin: 2px 0 0; font-size: clamp(1.25rem, 3.6vw, 1.6rem); color: var(--orange-dark); }

/* Filmstrip: slow-moving photos so people get the idea and keep scrolling */
.film { position: relative; background: #1f1f1f; padding: 24px 0; overflow: hidden; }
/* Sprocket holes ride on the moving track, like real film. Each photo + gap is a
   multiple of the 30px hole spacing (270px, 180px on phones) so the loop has no jump. */
.film-track { position: relative; display: flex; width: max-content; padding-left: 12px; }
.film-track::before, .film-track::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(255,255,255,.8) 9px 21px, transparent 21px 30px); }
.film-track::before { top: -17px; }
.film-track::after { bottom: -17px; }
.film.rolling .film-track { animation: film-roll 120s linear infinite; padding-left: 0; }
.film.rolling:hover .film-track { animation-play-state: paused; }
@keyframes film-roll { to { transform: translateX(-50%); } }
.film figure { position: relative; flex: none; width: 258px; margin: 0 12px 0 0; }
.film img { width: 258px; height: 194px; object-fit: cover; border-radius: 3px; }
.film figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; border-radius: 0 0 3px 3px;
  color: #fff; font-size: .85rem; line-height: 1.3; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
@media (max-width: 600px) {
  .film { padding: 20px 0; }
  .film-track::before { top: -13px; }
  .film-track::after { bottom: -13px; }
  .film figure { width: 172px; margin-right: 8px; }
  .film img { width: 172px; height: 129px; }
  .film figcaption { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .film { overflow-x: auto; }
  .film.rolling .film-track { animation: none; padding-left: 12px; }
}

/* Orange bar becomes a link to the current sale */
.subbar a { color: #fff; text-decoration: none; }
.subbar a:hover { text-decoration: underline; }

/* Who we are: between the filmstrip and the sale */
.about { max-width: 760px; margin: 0 auto; padding: 26px 16px 0; text-align: center; }
.about h2 { font-size: clamp(1.6rem, 4.4vw, 2rem); margin: 0 0 8px; }
.about-text { max-width: 560px; margin: 0 auto; font-size: 1.1rem; line-height: 1.6; color: #3a3a3a; }
.facts { list-style: none; margin: 16px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; max-width: 640px; }
.facts li { background: #fff; border: 1px solid #d9e9e3; border-radius: 999px; padding: 4px 14px; font-size: .92rem; line-height: 1.4; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.facts span { margin-right: 2px; }

/* "This season, here's how you can help" + small Buy button */
.help-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; max-width: 900px; margin: 28px auto 0; padding: 14px 16px 0; border-top: 2px dashed #cfe3dc; }
.help-label { font-size: 1.2rem; color: var(--orange-dark); }
.btn.btn-small { min-height: 42px; padding: 4px 20px; font-size: 1.05rem; }
@media (max-width: 480px) { .btn.btn-small { width: auto; } .help-row { margin-top: 22px; } }

/* "Now selling" card, right under the filmstrip */
.now-wrap { max-width: 900px; margin: 0 auto; padding: 16px 16px 0; text-align: center; }
.now { display: grid; grid-template-columns: 42% 1fr; text-align: left; background: #fff; border: 2px solid var(--orange); border-radius: 12px; overflow: hidden; box-shadow: 0 6px 20px rgba(168, 79, 34, .15); scroll-margin-top: 10px; }
.now-photo img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; object-position: 50% 30%; }
.now-body { padding: 20px 22px 18px; display: flex; flex-direction: column; gap: 8px; }
.now-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.now-tag { background: var(--red); color: #fff; border-radius: 999px; padding: 2px 14px; font-size: .9rem; letter-spacing: .03em; }
.now h2 { text-align: left; margin: 2px 0 0; font-size: clamp(1.7rem, 4.5vw, 2.2rem); }
.now-sum { margin: 0; }
.now-prices { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.now-prices li { background: var(--lavender); border-radius: 999px; padding: 0 10px; font-size: .88rem; line-height: 1.7; }
.now-facts { list-style: none; margin: 2px 0; padding: 0; display: grid; gap: 4px; font-size: .98rem; line-height: 1.45; }
.now-facts .hot { color: var(--red); }
.now-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 6px; }
.now-link { font-size: 1rem; }
.share-btn { background: #fff; border: 2px solid var(--orange-dark); color: var(--orange-dark); border-radius: 999px; padding: 7px 16px; font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; min-height: 40px; }
.share-btn:hover { background: #fff4ee; }
.share-line { text-align: center; margin: 34px 0 0; color: var(--muted); }
.now .cta-line { margin: 6px 0 0; font-size: .95rem; color: var(--muted); text-align: left; }
.cta-line { max-width: 620px; margin: 0 auto; font-size: clamp(1.15rem, 3.4vw, 1.4rem); line-height: 1.5; }
.btn.btn-big { font-size: 1.35rem; min-height: 58px; padding: 10px 34px; box-shadow: 0 4px 12px rgba(168, 79, 34, .3); }
@media (max-width: 720px) {
  .now { grid-template-columns: 1fr; }
  .now-photo img { min-height: 0; height: 210px; object-position: 50% 32%; }
  .now-body { padding: 12px 14px 14px; gap: 6px; }
  .now-sum { line-height: 1.4; }
  .now-prices li { font-size: .9rem; }
  .now-wrap { padding-top: 16px; }
}
@media (max-width: 480px) { .btn.btn-big { width: 100%; } }

/* Why support Troop 4 */
/* Section rhythm: generous space + a dashed divider between the big sections */
.why, .memories { margin-top: 64px; padding-top: 40px; border-top: 2px dashed #cfe3dc; }
.why h2, .memories h2 { margin-bottom: 18px; }
.why p { margin: 0 0 14px; }

/* "Buy a wreath" buttons at the end of sections */
.cta-slot { text-align: center; margin-top: 26px; }
.cta-slot .small { margin: 8px 0 0; }
.pillars { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
.pillars li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; line-height: 1.5; }
.pillars span { font-size: 1.4rem; margin-right: 8px; }
.pillars strong { font-weight: 400; font-size: 1.15rem; color: var(--orange-dark); }
.pillars strong::after { content: ""; display: block; }

h1, h2 { font-family: var(--hand); font-weight: 400; color: var(--text); text-align: center; line-height: 1.2; margin: 0 0 14px; }
h1 { font-size: 2.3rem; }
h2 { font-size: 1.9rem; }
.hello p { margin: 0; }
.loading, .oops { color: var(--muted); text-align: center; }

/* Photos as snapshots */
.snapshot { margin: 0 auto 20px; max-width: 560px; background: #fff; padding: 10px 10px 6px; border: 1px solid #ddd; box-shadow: 0 3px 10px rgba(0,0,0,.12); transform: rotate(-1deg); }
.snapshot.wide { max-width: 620px; }
.snapshot figcaption { text-align: center; font-size: .95rem; color: var(--muted); padding: 6px 0 2px; }

/* Each sale */
.sale { scroll-margin-top: 12px; margin-top: 30px; padding: 26px 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
@media (max-width: 600px) { .sale { padding: 22px 14px 20px; } }
.deadline { text-align: center; font-size: 1.25rem; color: var(--red); margin: -4px 0 16px; }
.photo { margin: 4px auto 18px; max-width: 600px; background: #fff; padding: 8px; border: 1px solid #ddd; box-shadow: 0 3px 10px rgba(0,0,0,.12); transform: rotate(.8deg); }
.sale p { margin: 0 0 14px; }
.photo figcaption { font-family: var(--hand); text-align: center; color: var(--orange-dark); font-size: 1.05rem; padding: 8px 4px 2px; }
.prices { list-style: none; margin: 0 auto 16px; padding: 14px 18px; background: var(--lavender); border-radius: 6px; max-width: 460px; text-align: center; }
.prices li { font-size: 1.15rem; padding: 2px 0; }
.where { color: var(--muted); }

.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 10px 24px; border-radius: 6px; background: var(--orange-dark); color: #fff; font: 1.1rem var(--hand); text-decoration: none; border: 2px solid var(--orange-dark); cursor: pointer; }
.btn:hover { background: #8f421c; border-color: #8f421c; }
.btn.alt { background: #fff; color: var(--orange-dark); }
.btn.alt:hover { background: #fff4ee; }
@media (max-width: 480px) { .btn { width: 100%; } }
.small { font: .9rem/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--muted); text-align: center; }
.soon { text-align: center; font-size: 1.2rem; color: var(--muted); }

.in-person { margin-top: 22px; padding-top: 18px; border-top: 2px dashed var(--line); }
.in-person h3 { font-weight: 400; font-size: 1.5rem; text-align: center; margin: 0 0 4px; }
.in-person .small { margin: 0 0 12px; }
/* Sale-table schedule */

/* Pickup options: date buttons in a row, details for the chosen date below */
.tabs-label { font-family: var(--hand); font-size: 1.1rem; text-align: center; margin: 4px 0 10px; }
.date-tabs { display: flex; gap: 8px; }
.date-tab { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border: 2px solid var(--orange); border-radius: 10px; background: #fff; color: var(--orange-dark); font-family: var(--hand); line-height: 1.1; cursor: pointer; }
.date-tab:hover { background: #fff4ee; }
.date-tab:focus-visible { outline: 3px solid #2f6db5; outline-offset: 2px; }
.date-tab .dow { font-size: .85rem; letter-spacing: .04em; }
.date-tab .md { font-size: 1.2rem; white-space: nowrap; }
.date-tab .small-md { font-size: .9rem; white-space: normal; }
.date-tab[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 3px 0 var(--orange-dark); }
.date-tab.today:not([aria-selected="true"]) { border-color: var(--red); color: var(--red); }
.date-tab.past { opacity: .5; }
.date-tab.tbc { border-style: dashed; border-color: #8d8d8d; color: #6b6b6b; }
.date-tab.tbc[aria-selected="true"] { background: #8d8d8d; border-style: solid; color: #fff; box-shadow: 0 3px 0 #6b6b6b; }
.date-panel { display: grid; gap: 12px; margin-top: 12px; padding: 14px 16px; background: #fff; border: 1px solid #ead9cc; border-radius: 10px; text-align: left; }
.date-panel:focus-visible { outline: 3px solid #2f6db5; outline-offset: 2px; }
.panel-date { margin: 0; font-weight: 600; }
.slot { border-left: 5px solid var(--c); padding-left: 10px; line-height: 1.4; }
.slot-name { display: block; font-size: 1.05rem; }
.slot-addr { display: block; color: var(--muted); font-size: .9rem; }
.slot-time { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 3px; }
.slot-label { color: var(--muted); font-size: .9rem; margin-right: 2px; }
.chip { background: #fff4ee; border: 1px solid #f0d6c6; border-radius: 999px; padding: 0 10px; font-size: .92rem; white-space: nowrap; }
@media (max-width: 480px) { .date-tabs { gap: 6px; } .date-tab { padding: 8px 2px; } .date-tab .md { font-size: 1.02rem; } .date-panel { padding: 12px; } }
/* ---------- Website order form (order.js) ---------- */
.formbox-own { margin: 10px 0 18px; }
.of { background: #fffdf9; border: 2px solid var(--orange); border-radius: 12px; padding: 20px 18px 0; text-align: left; }
.of-title { font-family: var(--hand); font-weight: 400; font-size: 1.6rem; text-align: center; margin: 0; }
.of-lead { text-align: center; color: var(--muted); margin: 2px 0 6px; font-size: .95rem; }
.of-step { border: 0; border-top: 1px solid #f0e2d8; margin: 14px 0 0; padding: 16px 0 4px; min-width: 0; }
.of-step legend { font-family: var(--hand); font-size: 1.25rem; padding: 0; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.of-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange-dark); color: #fff; font-family: var(--sans); font-size: .95rem; font-weight: 700; }
.of-small { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.of-q { font-weight: 600; margin: 14px 0 6px; font-size: .98rem; }

/* quantity stepper */
.of-qty { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.of-qbtn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--orange-dark); background: #fff; color: var(--orange-dark); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.of-qbtn:hover:not(:disabled) { background: #fff4ee; }
.of-qbtn:disabled { opacity: .35; cursor: default; }
.of-qval { min-width: 44px; text-align: center; font-size: 2rem; font-weight: 700; }
.of-qprice { margin-left: 6px; display: flex; flex-direction: column; line-height: 1.25; }
.of-qprice strong { font-size: 1.4rem; color: var(--orange-dark); }
.of-qprice span { font-size: .88rem; color: var(--muted); }

/* tappable choice cards */
.of-cards { display: grid; gap: 10px; margin-top: 12px; }
.of-cards-2 { grid-template-columns: 1fr 1fr; }
.of-cards-3 { grid-template-columns: repeat(3, 1fr); }
.of-cards-1 { grid-template-columns: 1fr; }
@media (max-width: 560px) { .of-cards-2, .of-cards-3 { grid-template-columns: 1fr; } }
.of-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.of-card { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 2px solid #e4d8cf; border-radius: 10px; background: #fff; cursor: pointer; min-height: 56px; transition: border-color .12s, background .12s; }
.of-card:hover { border-color: #d4a88e; }
.of-card:has(.of-radio:checked) { border-color: var(--orange-dark); background: #fff4ee; box-shadow: 0 0 0 1px var(--orange-dark) inset; }
.of-card:has(.of-radio:focus-visible), .of-chip:has(.of-radio:focus-visible) { outline: 3px solid #f2b48f; outline-offset: 2px; }
.of-card-icon { font-size: 1.4rem; flex: none; }
.of-card-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.of-card-title { font-weight: 600; }
.of-card-sub { font-size: .86rem; color: var(--muted); overflow-wrap: anywhere; }
.of-card-badge { margin-left: auto; flex: none; font-size: .8rem; font-weight: 700; color: var(--orange-dark); background: #fff4ee; border: 1px solid #f0d6c6; border-radius: 999px; padding: 1px 8px; }

/* date chips */
.of-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.of-chip { position: relative; padding: 8px 16px; border: 2px solid #e4d8cf; border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; }
.of-chip:has(.of-radio:checked) { border-color: var(--orange-dark); background: var(--orange-dark); color: #fff; }

/* text fields */
.of-sub { margin-top: 4px; }
.of-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .of-grid { grid-template-columns: 1fr; } }
.of-field { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.of-field label { font-weight: 600; font-size: .95rem; }
.of-field input, .of-field textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 2px solid #e4d8cf; border-radius: 8px; background: #fff; color: var(--text); width: 100%; }
.of-field input:focus, .of-field textarea:focus { outline: none; border-color: var(--orange-dark); box-shadow: 0 0 0 3px #f8d9c6; }
.of-hint { font-size: .82rem; color: var(--muted); }
.of-paynote { background: #eef7f3; border: 1px solid #cfe3dc; border-radius: 8px; padding: 10px 12px; margin: 12px 0 0; font-size: .95rem; }
/* Missing required answers: a bright, true red (clearly different from the orange "selected" look) */
.of-invalid { border-color: #e00000 !important; box-shadow: 0 0 0 3px rgba(224, 0, 0, .2) !important; background-color: #fff5f5 !important; border-radius: 10px; }
div.of-invalid { border: 2px solid #e00000; padding: 6px; }
.of-field input.of-invalid:focus, .of-field textarea.of-invalid:focus { box-shadow: 0 0 0 3px rgba(224, 0, 0, .3) !important; }
.of-error { background: #fdecea; color: #7a1c14; border: 1px solid #f2b8b0; border-radius: 8px; padding: 10px 14px; margin: 16px 0 0; font-size: .95rem; }
.of-error ul { margin: 4px 0 0; padding-left: 20px; }
.of-pay .of-howto-warn { background: #fff8e1; border: 1px solid #f1d98a; border-radius: 8px; padding: 8px 10px; color: #5c3b00; font-weight: 600; }
.of-pick-hint { margin: -2px 0 8px; font-size: .92rem; color: var(--orange-dark); font-weight: 600; }
.of-error.of-error-ok { background: #eef7f0; color: #2e6b3c; border-color: #bfe0c7; }

/* sticky total + submit */
.of-summary { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 16px -18px 0; padding: 12px 18px; background: #fff; border-top: 2px solid #f0e2d8; border-radius: 0 0 10px 10px; box-shadow: 0 -6px 14px rgba(0,0,0,.06); }
.of-sumtext { font-size: .9rem; color: var(--muted); }
.of-sumtotal { font-size: 1.35rem; font-weight: 700; color: var(--orange-dark); }
.btn.of-submit { min-height: 52px; font-size: 1.2rem; padding: 8px 26px; }
.btn.of-submit:disabled { opacity: .6; cursor: default; }
@media (max-width: 480px) { .btn.of-submit { width: 100%; } }

/* thank-you screen */
.of-done { background: #fffdf9; border: 2px solid var(--orange); border-radius: 12px; padding: 22px 20px; text-align: center; outline: none; }
.of-done h3 { font-family: var(--hand); font-weight: 400; font-size: 1.6rem; margin: 4px 0 8px; }
.of-done-list { list-style: none; padding: 0; margin: 14px auto; max-width: 440px; text-align: left; border: 1px solid #f0d6c6; border-radius: 8px; overflow: hidden; }
.of-done-list li { display: flex; gap: 12px; padding: 8px 12px; border-top: 1px solid #f0d6c6; }
.of-done-list li:first-child { border-top: 0; }
.of-done-list li span { flex: 0 0 96px; color: var(--orange-dark); font-weight: 600; }
.of-pay { background: #fff4ee; border: 3px solid var(--orange); border-radius: 12px; padding: 16px 14px; margin: 14px auto; max-width: 460px; box-shadow: 0 4px 0 #f0d6c6; }
.of-pay p { margin: 4px 0; }
.of-pay-title { font-weight: 700; font-size: 1.1rem; }
.btn.of-pay-btn { width: 100%; max-width: 360px; margin: 8px 0 4px; min-height: 58px; font-size: 1.35rem; }
/* "Order saved -> Pay" progress on the thank-you screen */
.of-progress { list-style: none; padding: 0; margin: 0 auto 12px; display: flex; justify-content: center; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.of-progress li { display: flex; align-items: center; gap: 6px; }
.of-progress li + li::before { content: ""; width: 28px; height: 2px; background: #e0c7b6; margin-right: 4px; }
.of-progress-dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: .85rem; }
.of-progress-done { color: #3d8b4f; }
.of-progress-done .of-progress-dot { background: #3d8b4f; color: #fff; }
.of-progress-now { color: var(--orange-dark); }
.of-progress-now .of-progress-dot { background: var(--orange-dark); color: #fff; box-shadow: 0 0 0 3px #f6d3bf; }
.of-unpaid { display: inline-block; background: #fff8e1; border: 1px solid #f1d98a; border-radius: 8px; padding: 6px 12px; margin: 0; }
.of-done-sub { font-weight: 700; margin: 18px 0 0; }
.of-done-icon { font-size: 2.4rem; }
/* Switch payment method / finish */
.of-done .of-switched { background: #eef7f3; border: 1px solid #cfe3dc; border-radius: 8px; padding: 8px 12px; margin: 12px auto 0; max-width: 460px; font-size: .95rem; }
.of-switch { margin: 6px auto 22px; max-width: 460px; }
.of-switch p { margin: 0 0 6px; font-weight: 600; }
.of-switch-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.of-switch-btn { border: 2px solid var(--orange-dark); background: #fff; color: var(--orange-dark); border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; }
.of-switch-btn:hover { background: #fff4ee; }
.of-finish { margin: 16px auto 0; padding-top: 12px; border-top: 1px dashed #e0c7b6; max-width: 460px; }
.of-finish .of-small { margin: 0 0 6px; }
.btn.of-paid-btn { min-height: 44px; padding: 6px 20px; font-size: 1rem; }
.of-error-line { color: #b3261e; font-weight: 600; margin: 6px 0 0; }
.of-error-line:empty { display: none; }
.of-linkbtn { background: none; border: 0; padding: 0; color: var(--orange-dark); text-decoration: underline; font: inherit; cursor: pointer; }
.of-to { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.of-to code { background: #fff; border: 1px solid #f0d6c6; border-radius: 6px; padding: 4px 10px; font-size: 1rem; overflow-wrap: anywhere; }
.of-copy { border: 1px solid var(--orange-dark); background: #fff; color: var(--orange-dark); border-radius: 6px; padding: 4px 10px; cursor: pointer; font: inherit; font-size: .85rem; }

.formbox { margin: 6px 0 16px; scroll-margin-top: 12px; }
.formbox iframe { display: block; width: 100%; height: 1900px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
@media (max-width: 600px) { .formbox iframe { height: 2300px; } }
.formbox .small { margin: 6px 0 0; }

/* Last year's photos */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.strip img { background: #fff; padding: 6px; border: 1px solid #ddd; box-shadow: 0 2px 8px rgba(0,0,0,.1); aspect-ratio: 1; object-fit: cover; }
.strip img:nth-child(1) { transform: rotate(-1.5deg); }
.strip img:nth-child(3) { transform: rotate(1.5deg); }
@media (max-width: 480px) { .strip { gap: 8px; } .strip img { padding: 4px; } }

.thanks { margin-top: 56px; }
.thanks ul { list-style: none; margin: 0 auto; padding: 0; max-width: 520px; display: grid; gap: 12px; }
.thanks li { background: #fff; border: 1px solid #d9e9e3; border-radius: 10px; padding: 14px 18px; text-align: center; }
.thanks li strong { display: block; font-weight: 400; font-size: 1.2rem; color: var(--orange-dark); }
.thanks li span { display: block; margin-top: 2px; color: #3a3a3a; text-wrap: balance; }

.signoff { text-align: center; font-size: 1.4rem; margin: 34px 0 0; line-height: 1.4; }

.foot { max-width: 760px; margin: 0 auto; padding: 0 16px 40px; font: .88rem/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--muted); text-align: center; }
.foot p { margin: 0 0 8px; }
