:root {
  /* Brand colors from the logo and the original lastingjoy.kids store */
  --paper: #faf3eb;      /* cream page */
  --paper-deep: #f3e6d4;
  --card: #ffffff;
  --ink: #0e1b4d;        /* navy headings */
  --ink-soft: #3e4a6b;
  --muted: #5f6370;
  --line: #e6dccd;
  --coral: #3e7d73;      /* logo teal (accents) */
  --coral-deep: #2f6158; /* readable teal for small text */
  --gold: #f8d471;       /* sunny yellow buttons */
  --teal: #3e7d73;
  --navy: #0e1b4d;
  --aqua: #b4dce0;       /* aqua sections */
  --aqua-soft: #dcefF1;
  --button-ink: #245c53;
  --good: #246046;
  --bad: #8d2f2f;
  --shadow: 0 18px 40px rgba(36, 32, 24, 0.08);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Poppins", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(226, 177, 90, 0.18), transparent 32rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, .brand {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 8vw, 4.6rem); margin: 0.2rem 0 0.8rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 0.8rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.skip {
  position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: white; padding: 0.5rem 0.8rem;
}
.skip:focus { top: 1rem; }

.mast { position: sticky; top: 0; z-index: 5; background: rgba(246, 240, 230, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.mast-row, .admin-bar-row, .page-head, .cta-row, .inline-form, .issue-actions { display: flex; gap: 0.8rem; align-items: center; }
.page-head { flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
.mast-row { justify-content: space-between; padding: 0.7rem 0; }
.brand img { width: 148px; height: auto; }
.nav { position: relative; }
.nav summary {
  list-style: none; cursor: pointer; background: white; border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.9rem; font-weight: 700;
}
.nav summary::-webkit-details-marker { display: none; }
.nav nav {
  position: absolute; right: 0; top: calc(100% + 0.4rem); background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); padding: 0.6rem; min-width: 200px; display: grid;
}
.nav a, .site-footer a { text-decoration: none; padding: 0.45rem 0.6rem; border-radius: 10px; }
.nav a:hover { background: var(--paper-deep); }

.button, button.button, .admin-bar button, .filters button, .export-row button {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 800;
  background: var(--ink); color: white; text-decoration: none; border-radius: 999px;
  padding: 0.85rem 1.15rem; display: inline-flex; justify-content: center; text-align: center;
}
.button:hover { background: var(--navy); }
.button-quiet { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.button-quiet:hover { background: white; }
.cta-row { flex-wrap: wrap; margin-top: 1.2rem; }
.center { text-align: center; }
.fine, .optional { color: var(--muted); font-size: 0.92rem; }
.optional { font-weight: 600; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 800; color: var(--coral-deep); margin-bottom: 0.3rem; }
.lede { font-size: 1.15rem; color: var(--ink-soft); }
.review-flag {
  background: #fff4d8; border: 1px dashed #c4922e; border-radius: 12px; padding: 0.7rem 0.9rem; color: #6a4b12;
}
.flashes { padding-top: 1rem; }
.flash { border-radius: 12px; padding: 0.7rem 0.9rem; background: white; border: 1px solid var(--line); }
.flash-error { background: #fde8e4; border-color: #e3b2a8; color: var(--bad); }
.flash-success { background: #e7f4ec; border-color: #b7d7c4; color: var(--good); }

.hero { padding: 1.2rem 0 2rem; }
.hero-figure {
  margin: 1.2rem 0 0; background: linear-gradient(160deg, #fff, #f3d7b0); border-radius: 28px; padding: 0.8rem;
  box-shadow: var(--shadow);
}
.hero-figure img, .split img { border-radius: 18px; width: 100%; object-fit: cover; }
.band { background: rgba(255, 253, 249, 0.72); border-block: 1px solid var(--line); padding: 2.5rem 0; margin: 1rem 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li, .plan, .quote, .capture-card, .account-card, .person, .side-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 1.1rem 1.15rem; box-shadow: var(--shadow);
}
.steps span {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--gold); color: var(--ink); font-weight: 800;
}
.plans-block, .page { padding: 2rem 0 3rem; }
.plan-grid, .quote-grid, .split, .footer-grid, .form-grid { display: grid; gap: 1rem; }
.plan { position: relative; }
.plan-featured { outline: 2px solid var(--ink); }
.ribbon {
  position: absolute; top: 0.8rem; right: 0.8rem; background: var(--gold); color: var(--ink);
  border-radius: 999px; padding: 0.15rem 0.6rem; font-size: 0.78rem; font-weight: 800; margin: 0;
}
.price { font-family: var(--serif); font-size: 2.2rem; margin: 0.2rem 0; }
.price span { font-family: var(--sans); font-size: 1rem; color: var(--muted); }
.price-pending { font-family: var(--sans); font-size: 1rem; color: var(--muted); }
.save { color: var(--good); font-weight: 700; }
.plan ul, .ticks { padding-left: 1.1rem; }
.quote-placeholder { border-style: dashed; background: transparent; box-shadow: none; }
.signoff { font-family: var(--serif); font-size: 1.3rem; }
.capture { padding: 0 0 3rem; }
.capture-card { padding: 1.3rem; background: var(--navy); color: white; }
.capture-card a, .capture-card h2 { color: white; }
.inline-form { flex-wrap: wrap; }
.inline-form input, .stack-form input, .stack-form textarea, .stack-form select, .filters select, .filters input, .export-row input {
  width: 100%; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 0.75rem 0.8rem; font: inherit; color: var(--ink);
}
label { display: grid; gap: 0.3rem; font-weight: 700; margin: 0.7rem 0; }
.check { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; }
.check input { width: auto; }
fieldset { border: 1px solid var(--line); border-radius: 16px; margin: 1rem 0; padding: 0.8rem 1rem 1rem; }
legend { font-family: var(--serif); padding: 0 0.3rem; }
.trust { background: #fff4d8; border-radius: 12px; padding: 0.7rem 0.9rem; font-weight: 800; }
.hp { position: absolute; left: -10000px; height: 0; overflow: hidden; }
.flipbook { margin: 1rem 0 1.5rem; background: white; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); min-height: 420px; }
.flipbook iframe { width: 100%; height: 70vh; min-height: 420px; border: 0; }
.page.narrow, .prose { width: min(740px, calc(100% - 2rem)); }
.prose h2 { font-size: 1.6rem; margin-top: 1.6rem; }
.site-footer { background: var(--ink); color: #f6f0e6; padding: 2.2rem 0 1rem; margin-top: 1rem; }
.site-footer a { color: #f6f0e6; display: block; }
.site-footer h2 { font-size: 1.3rem; color: var(--gold); }
.footer-end { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 1rem; padding-top: 0.8rem; color: #d9cbb8; }
.social a { display: inline; margin-right: 0.7rem; }

.gift-fields { display: none; }
form:has(#is_gift:checked) .gift-fields { display: block; }
form:has(input[name="plan_code"][value="digital_monthly"]:checked) .ship-fields { display: none; }
.plan-choice { display: block; cursor: pointer; }
.plan-choice input { position: absolute; opacity: 0; }
.plan-choice:has(input:checked) { outline: 2px solid var(--coral-deep); }
.choice-body, .choice-name, .choice-blurb { display: block; }
.choice-name { font-family: var(--serif); font-size: 1.5rem; }

.account-card, .person { margin: 0 0 1rem; }
.facts, .person dl { display: grid; gap: 0.6rem; margin: 0; }
.facts div, .person dl div { display: grid; gap: 0.1rem; }
dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
dd { margin: 0; }
.status { font-weight: 800; color: var(--coral-deep); }
.issue-list { list-style: none; padding: 0; }
.issue-list li, .page-head, .admin-bar-row { justify-content: space-between; }
.issue-list li { display: flex; flex-wrap: wrap; gap: 0.6rem; border-bottom: 1px solid var(--line); padding: 0.8rem 0; }

.admin-body { background: #f3eee6; }
.admin-bar { background: var(--ink); color: white; }
.admin-bar a, .admin-bar button { color: white; background: transparent; border: 0; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.admin-bar nav { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.admin-bar-row { padding: 0.8rem 0; align-items: center; }
.filters, .export-row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: end; margin: 1rem 0; }
.filters label, .export-row label { margin: 0; min-width: 10rem; }
.roster { display: grid; gap: 0.8rem; }
.side-card { margin-top: 1.5rem; }
code { font-size: 0.92em; }

@media (min-width: 800px) {
  .hero-grid, .split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center; }
  .hero-figure { margin: 0; transform: rotate(1.5deg); }
  .steps, .plan-grid, .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid.three, .facts { grid-template-columns: 1fr 1fr 1fr; }
  .person dl { grid-template-columns: 1fr 1fr; }
  .capture-card { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
  .page-head { align-items: end; }
}
@media (max-width: 799px) {
  .button { width: 100%; }
  .cta-row .button { width: auto; }
  .admin-bar-row { flex-wrap: wrap; }
  .page-head { flex-direction: column; align-items: stretch; }
  .page-head .button { width: 100%; }
}
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.peek-gallery { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 1rem 0 2rem; }
.peek-gallery figure { margin: 0; }
.peek-gallery img { width: 100%; height: auto; border-radius: 12px; display: block; }
.peek-gallery figcaption { font-size: .95rem; margin-top: .5rem; text-align: center; }

/* ---------- Flipbook reader ---------- */
.fb { position: relative; margin: 1.5rem auto 1rem; max-width: 1180px; outline: none; }
.fb:focus-visible { box-shadow: 0 0 0 3px var(--gold); border-radius: 16px; }
.fb-stage { padding: 1.25rem .5rem; background: linear-gradient(180deg, var(--paper-deep), var(--paper)); border-radius: 18px; }
.fb-book { margin: 0 auto; }
.fb-page { background: #fff; overflow: hidden; }
.fb-page img { width: 100%; height: 100%; object-fit: contain; display: block; user-select: none; -webkit-user-drag: none; background: #fff; }
.fb-badge { position: absolute; right: 10px; bottom: 10px; padding: .2rem .55rem; border-radius: 999px; background: rgba(30, 42, 74, .72); color: #fff; font: 700 .7rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.fb-end { background: var(--card); }
.fb-end-inner { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; gap: .6rem; }
.fb-end-inner img { width: 150px; height: auto; object-fit: contain; }
.fb-end-inner h2 { margin: .25rem 0 0; }
.fb-bar { display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.fb-counter { min-width: 7.5rem; text-align: center; font-weight: 700; color: var(--ink-soft); }
.fb-tools { display: inline-flex; gap: .35rem; margin-left: .5rem; }
.fb-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; text-decoration: none; }
.fb-btn:hover { border-color: var(--coral); color: var(--coral-deep); }
.fb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fb-show-thumbs svg path { fill: currentColor; stroke: none; }
.fb-btn[aria-expanded="true"], .fb-btn[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.fb-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .75rem; margin-top: 1rem; padding: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; max-height: 60vh; overflow-y: auto; }
.fb-thumbs[hidden] { display: none; }
.fb-thumb { border: 2px solid transparent; border-radius: 8px; background: none; padding: 2px; cursor: pointer; font: 600 .8rem var(--sans); color: var(--ink-soft); }
.fb-thumb img { width: 100%; height: auto; display: block; border-radius: 4px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.fb-thumb.is-current { border-color: var(--coral); }
.fb-zoom { width: min(96vw, 1100px); max-height: 94vh; padding: 0; border: 0; border-radius: 12px; overflow: auto; background: #fff; }
.fb-zoom::backdrop { background: rgba(20, 24, 40, .75); }
.fb-zoom img { width: 100%; height: auto; display: block; touch-action: pinch-zoom; }
.fb-zoom-close { position: sticky; top: 8px; float: right; margin: 8px; z-index: 1; }
.fb.is-fullscreen { max-width: none; margin: 0; padding: 1rem; background: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.fb.is-fullscreen .fb-stage { flex: 1; display: flex; align-items: center; }
.fb.is-fullscreen .fb-book { width: 100%; }
@media (max-width: 640px) {
  .fb-stage { padding: .75rem .25rem; border-radius: 12px; }
  .fb-tools { margin-left: 0; }
}

/* ---------- Features and ages ---------- */
.feature-grid { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.feature-grid li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem; }
.feature-grid h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.feature-grid p { margin: 0; color: var(--ink-soft); }
.age-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.5rem 0; }
.age-grid article { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; }
.age-grid h3 { margin: .1rem 0 .4rem; }
.age-grid p { margin: 0; }
.age-grid .eyebrow { margin-bottom: .2rem; }
.trust-row { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-weight: 700; color: var(--ink-soft); font-size: .95rem; }
.trust-row li::before { content: "✓ "; color: var(--good); }

/* ---------- Answer pages ---------- */
.answers-images { display: grid; gap: 1.25rem; margin: 1.5rem auto; max-width: 900px; }
.answers-images img { width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow); background: #fff; }
.answers-list { list-style: none; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.answers-list a { display: block; padding: .9rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-weight: 700; text-decoration: none; }
.answer-thumbs { display: flex; flex-wrap: wrap; gap: .75rem; margin: .5rem 0; }
.answer-thumbs figure { margin: 0; width: 150px; }
.answer-thumbs img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; }
.answer-thumbs form { display: flex; gap: .25rem; margin-top: .25rem; }
.answer-thumbs .button { padding: .2rem .5rem; font-size: .8rem; }


/* ---------- Brand refresh: colors from the logo and original store ---------- */
body { background: var(--paper); }
.button, button.button { background: var(--gold); color: var(--button-ink); box-shadow: 0 6px 16px rgba(62, 125, 115, 0.18); }
.button:hover, button.button:hover { background: #f5c94a; color: var(--button-ink); }
.button-quiet, button.button-quiet { background: #fff; color: var(--button-ink); border: 2px solid var(--teal); box-shadow: none; }
.button-quiet:hover, button.button-quiet:hover { background: var(--aqua-soft); }
.band { background: var(--aqua); border-block: 0; }
.band .lede, .band p { color: var(--ink-soft); }
.band .feature-grid li, .band .steps li { border-color: rgba(62, 125, 115, 0.25); }
.hero { background: linear-gradient(180deg, var(--paper) 0%, #fdf7ef 100%); }
.hero-figure { background: linear-gradient(160deg, #fff, var(--aqua)); }
.eyebrow { color: var(--coral-deep); }
h1, h2, h3 { color: var(--ink); }
.trust-row li::before { color: var(--teal); }
.plan-featured { border: 2px solid var(--teal); }
.ribbon { background: var(--gold); color: var(--button-ink); }
.steps span { background: var(--gold); color: var(--button-ink); }
.mast { background: #fff; border-bottom: 3px solid var(--gold); }
.site-footer { background: var(--aqua); color: var(--ink); border-top: 4px solid var(--gold); }
.site-footer a { color: var(--ink); }
.site-footer a:hover { background: rgba(255, 255, 255, 0.55); }
.site-footer h2 { color: var(--coral-deep); }
.site-footer p { color: var(--ink-soft); }
.join-band { background: var(--teal); color: #fff; text-align: center; padding: 3rem 0; }
.join-band h2 { color: #fff; margin-top: 0; }
.join-band p { color: rgba(255, 255, 255, 0.9); max-width: 40rem; margin: 0 auto 1.2rem; }
.answers-page { background: var(--aqua); border-radius: 24px; padding-bottom: 2rem; }
.esa-embed { background: var(--aqua); }
.fb-stage { background: linear-gradient(180deg, var(--aqua), var(--aqua-soft)); }
.fb-btn[aria-expanded="true"], .fb-btn[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); }
.fb-btn:hover { border-color: var(--teal); color: var(--teal); }
.fb-thumb.is-current { border-color: var(--teal); }

.site-footer .footer-end { color: var(--ink-soft); border-top-color: rgba(14, 27, 77, 0.12); }

.plan-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 360px)) !important; justify-content: center; }

.howto { background: var(--aqua-soft); border: 1px solid var(--aqua); border-radius: 14px; padding: .8rem 1.1rem; margin: 1rem 0 1.5rem; }
.howto summary { font-weight: 700; cursor: pointer; }
.howto li { margin: .35rem 0; }
.month-year select { width: 100%; }

input::placeholder, textarea::placeholder { color: #9aa0ab; font-weight: 400; opacity: 1; }

/* ---------- Subscribe / checkout page ---------- */
.checkout-grid { display: grid; gap: 2rem; margin-top: 1.5rem; align-items: start; }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr); } .checkout-summary { position: sticky; top: 1.5rem; } }
.step { border: 0; padding: 0; margin: 0 0 1.75rem; min-width: 0; }
.step legend { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; padding: 0; }
.step-num { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--teal); color: #fff; font: 700 1rem var(--sans); }
.plan-options { display: grid; gap: .85rem; }
.plan-option, .who-option { position: relative; display: block; cursor: pointer; }
.plan-option input, .who-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-option-card { display: block; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 1.1rem 1.2rem; transition: border-color .15s, box-shadow .15s; }
.plan-option:hover .plan-option-card { border-color: var(--aqua); }
.plan-option input:checked + .plan-option-card { border-color: var(--teal); box-shadow: 0 0 0 4px var(--aqua-soft); }
.plan-option input:focus-visible + .plan-option-card, .who-option input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.plan-option-top { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.radio-dot { width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 2px solid #b9c2c9; flex: none; display: inline-block; }
.plan-option input:checked + .plan-option-card .radio-dot { border: 6px solid var(--teal); }
.plan-option-name { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.plan-option-price { margin-left: auto; font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.plan-option-price small, .summary-line small { font-weight: 500; font-size: .8rem; color: var(--muted); }
.plan-option-desc { display: block; margin: .5rem 0 0 1.9rem; color: var(--ink-soft); font-size: .95rem; }
.pill { background: var(--gold); color: var(--button-ink); font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.who-options { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.who-option span { display: block; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: .85rem 1rem; text-align: center; }
.who-option span small { display: block; color: var(--muted); font-size: .85rem; }
.who-option input:checked + span { border-color: var(--teal); box-shadow: 0 0 0 4px var(--aqua-soft); }
.gift-note { display: none; margin-top: .6rem; }
.checkout-grid:has(input[name="is_gift"][value="1"]:checked) .gift-note { display: block; }
.button-big { width: 100%; justify-content: center; align-items: center; gap: .55rem; font-size: 1.1rem; padding: 1rem 1.2rem; }
.lock { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.step-pay .fine { margin: .5rem 0 0; }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.summary-cover { display: block; width: 100%; max-height: 300px; object-fit: cover; object-position: top; background: var(--aqua); }
.summary-body { padding: 1.1rem 1.25rem 1.25rem; }
.summary-plan { display: none; }
.checkout-grid:has(input[value="print_monthly"]:checked) .summary-plan[data-plan="print_monthly"],
.checkout-grid:has(input[value="digital_monthly"]:checked) .summary-plan[data-plan="digital_monthly"] { display: block; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; font-size: 1.1rem; color: var(--ink); padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.summary-list { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .35rem; font-size: .95rem; color: var(--ink-soft); }
.summary-list li::before { content: "✓ "; color: var(--teal); font-weight: 700; }
.trust-badges { list-style: none; padding: 0; margin: 1rem 0 .5rem; display: grid; gap: .55rem; font-weight: 600; color: var(--ink-soft); font-size: .95rem; }
.trust-badges li { display: flex; gap: .55rem; align-items: center; }
.trust-badges svg { width: 1.2rem; height: 1.2rem; flex: none; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.summary-esa { margin-top: .75rem; }
@media (max-width: 899px) { .checkout-summary { order: -1; } .summary-cover { max-height: 220px; } }
.plan-option-desc, .who-option small, .summary-list { font-weight: 400; }
.who-option strong { font-weight: 700; }
@media (max-width: 899px) { .summary-cover { max-height: 170px; } }

/* Admin shipping tracker */
.ship-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 16px 0 24px; }
.ship-month { display: block; padding: 12px 14px; border-radius: 12px; border: 2px solid #e5ddd2; background: #fff; text-decoration: none; color: #0e1b4d; }
.ship-month span { display: block; font-size: .9rem; margin-top: 2px; }
.ship-month.is-owed { border-color: #f8d471; background: #fff8e1; }
.ship-month.is-done { border-color: #b4dce0; background: #eef8f9; }
.ship-month.is-current { outline: 3px solid #3e7d73; }
.ship-table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; background: #fff; }
.ship-table th, .ship-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eee4d8; vertical-align: top; }
.ship-table tr.is-owed td:last-child strong { color: #a5560f; }
.ship-table tr.is-done { color: #557; }
@media (max-width: 640px) { .ship-table th:nth-child(3), .ship-table td:nth-child(3) { display: none; } }

/* Always-visible main menu */
.mast-cta { flex: 0 0 auto; width: auto; padding: 0.55rem 1.1rem; }
.menu { background: #3e7d73; }
.menu-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.15rem 0.2rem; padding: 0.4rem 0; }
.menu a { color: #fff; text-decoration: none; font-weight: 700; font-size: 0.9rem; padding: 0.35rem 0.6rem; border-radius: 999px; white-space: nowrap; }
.menu a:hover { background: rgba(255,255,255,0.15); }
.menu a[aria-current="page"] { background: #f8d471; color: #245c53; }
@media (min-width: 800px) { .menu-row { gap: 0.5rem; } .menu a { font-size: 1rem; padding: 0.45rem 0.8rem; } }
