/* Shop, basket, checkout and account. Builds on site.css tokens; nothing here restyles the prototype. */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }

.nav-icon { position: relative; }
.nav .count:not(:empty) { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--rust); color: var(--cream); font-size: 12px; font-weight: 700; vertical-align: 1px; }
@media (max-width: 720px) { .nav li.keep:has(.nav-icon) { display: none; } }

.flash { margin: 0 0 24px; padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, var(--sage) 22%, transparent); color: var(--sage-deep); font-weight: 600; }
.warn-list { margin: 0 0 24px; padding: 12px 16px 12px 34px; border-radius: 12px; background: rgba(113,32,6,.08); color: var(--rust); }
.note.warn, .err { color: var(--rust); }
.err { display: block; font-size: 13px; font-weight: 600; }
.error-sum { padding: 12px 16px; border-radius: 12px; background: rgba(113,32,6,.08); color: var(--rust); font-weight: 600; margin: 0; }
.form [aria-invalid="true"] { border-color: var(--rust); }
.form.one { grid-template-columns: 1fr; max-width: 520px; }
.form h2 { margin: 18px 0 0; font-size: 1.6rem; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.check { display: inline-flex !important; grid-auto-flow: column; align-items: center; gap: 8px !important; font-weight: 500 !important; }
.check input { width: 18px; height: 18px; accent-color: var(--olive); }

.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--olive); text-decoration: underline; cursor: pointer; }
.btn { cursor: pointer; font: inherit; }
.btn:not(.btn-line) { border: 0; } /* button reset only; .btn-line keeps its outline (8 Oct 2026: Accept, Reject and "Save plan changes" had lost it) */
.buy .btn { cursor: pointer; }
.qty { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.qty input, .qty-in { width: 72px; font: 16px var(--sans); padding: 10px; border-radius: 10px; border: 1.5px solid color-mix(in srgb, var(--olive) 45%, transparent); background: #fbf8f2; }

/* Basket */
.lines { width: 100%; border-collapse: collapse; font-size: 16px; }
.lines th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: color-mix(in srgb, var(--ink) 65%, transparent); padding: 8px 10px; }
.lines td { padding: 14px 10px; border-top: 1px solid color-mix(in srgb, var(--olive) 18%, transparent); vertical-align: middle; }
.lines .num, .totals td { text-align: right; white-space: nowrap; }
.lines .grand td, .totals .grand th, .totals .grand td { font-weight: 700; font-size: 18px; }
.b-ph img { width: 72px; height: 90px; object-fit: cover; border-radius: 8px; }
.basket-foot { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: 32px; margin-top: 28px; align-items: start; }
.code-field { display: grid; gap: 7px; font-size: 14px; font-weight: 600; max-width: 380px; }
.code-field span { display: flex; gap: 8px; }
.code-field input { flex: 1; font: 16px var(--sans); padding: 12px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--olive) 45%, transparent); background: #fbf8f2; }
.totals { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.totals th { text-align: left; font-weight: 500; padding: 8px 0; }
.totals td { padding: 8px 0; }
.totals .grand th, .totals .grand td { border-top: 1.5px solid var(--ink); padding-top: 12px; }
@media (max-width: 760px) {
  .basket-foot { grid-template-columns: 1fr; }
  .lines thead { display: none; }
  .lines .b-ph { width: 80px; }
}

.checkout { max-width: 820px; }
.order-view { max-width: 760px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin: 0 0 28px; }
.facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: color-mix(in srgb, var(--ink) 65%, transparent); }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.prose p { margin: 0 0 12px; }

/* Account */
.account-in { max-width: 560px; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.acct-grid h2 { font-size: 1.7rem; margin: 30px 0 12px; }
.acct-grid section > h2:first-child, .acct-grid aside > h2:first-child { margin-top: 0; }
@media (max-width: 860px) { .acct-grid { grid-template-columns: 1fr; } }
.cards { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.cards a { display: grid; gap: 2px; padding: 16px 18px; border-radius: 14px; background: #fbf8f2; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--olive) 22%, transparent); text-decoration: none; }
.cards b { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.deliveries { list-style: none; padding: 0; margin: 0 0 12px; }
.deliveries li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid color-mix(in srgb, var(--olive) 18%, transparent); }
.deliveries li.st-skipped b, .deliveries li.st-paused b, .deliveries li.st-closed b { text-decoration: line-through; color: color-mix(in srgb, var(--ink) 55%, transparent); }
.deliveries form { margin: 0; }
.plain { padding-left: 18px; }
.plan-row { display: grid !important; grid-template-columns: 1fr auto auto; gap: 14px !important; align-items: center; padding: 14px 0; border-top: 1px solid color-mix(in srgb, var(--olive) 18%, transparent); font-weight: 400 !important; }
.plan-row .price { font-weight: 600; color: var(--sage-deep); white-space: nowrap; }
@media (max-width: 560px) { .plan-row { grid-template-columns: 1fr; } }
.terms { padding: 14px 18px; border-radius: 14px; background: #fbf8f2; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--olive) 22%, transparent); font-size: 15px; }
.terms p { margin: 4px 0; }
details.danger { margin-top: 28px; padding: 12px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(113,32,6,.25); }
details.danger summary { color: var(--rust); font-weight: 600; }
.draft-bar { position: sticky; top: 72px; z-index: 5; margin: 0; padding: 10px var(--gutter); background: var(--rust); color: var(--cream); font-weight: 600; text-align: center; }

footer .credit { margin: 18px 0 0; font-size: 12px; opacity: .7; }
footer .credit a { color: inherit; }

/* Cookie banner (Kyle, 8 Oct 2026). Accept and Reject carry equal weight: same style, same size. */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; margin: 0 auto; padding: 18px 20px; background: var(--cream, #f3ede2); color: var(--ink, #2a2a1f); border: 1px solid rgba(42,42,31,.18); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: 15px; line-height: 1.5; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 14px; }
.consent a { color: inherit; }
.consent-btns { display: flex; gap: 12px; }
.consent-btns .btn { flex: 1 1 0; text-align: center; padding: 12px 18px; }
footer .foot-link { color: inherit; text-decoration: none; }
footer .foot-link:hover { text-decoration: underline; }

/* Journal post date under the H1 (SEO review B7). */
.post-date { font-size: .8em; letter-spacing: .04em; text-transform: uppercase; }

/* Home hero with a seasonal photo instead of the film (Part D item 6). Same box as the film:
   below the nav on wide screens with the copy scrim, a 4:5 picture under the copy on phones. */
.motion .hero.hero-still { height: 100svh; }
.still { position: absolute; inset: 92px 0 0 0; container-type: size; }
.still-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 6%); mask-image: linear-gradient(180deg, transparent 0, #000 6%); }
.still.pos-left .still-img { object-position: 0% 50%; }
.still.pos-right .still-img { object-position: 100% 50%; }
@media (max-aspect-ratio: 1/1) {
  .still { inset: 0; }
  .still-img { inset: auto 0 0 0; height: 125cqw; object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%); mask-image: linear-gradient(180deg, transparent 0, #000 14%); }
  .still.pos-left .still-img, .still.pos-right .still-img { object-position: 50% 50%; }
}
/* Journal blocks (Part D item 8). Text blocks use the article's own styles. */
.article figure { margin: 32px 0; }
.article figure img { display: block; width: 100%; height: auto; border-radius: 16px; }
.article figcaption { margin-top: 8px; font-size: 15px; color: var(--olive); }
.blk-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 32px 0; }
.blk-gallery[data-count="1"] { grid-template-columns: 1fr; }
.blk-gallery[data-count="3"] .blk-g:first-child { grid-column: 1 / -1; }
.blk-gallery .blk-g { margin: 0; }
.blk-gallery .blk-g img { aspect-ratio: 4 / 5; object-fit: cover; }
.blk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 32px 0; padding: 0; }
.blk-facts div { padding: 14px 16px; border-radius: 14px; background: rgba(134,152,129,.14); }
.blk-facts dt { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--olive); }
.blk-facts dd { margin: 4px 0 0; font-weight: 600; }
.blk-quote { margin: 40px 0; padding: 0 0 0 20px; border-left: 3px solid var(--olive); }
.blk-quote p { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; font-style: italic; }
.blk-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 15px; color: var(--olive); }
.blk-btn { margin: 32px 0; }
.article hr.rule { border: 0; height: 1px; background: var(--line, rgba(41,44,28,.18)); margin: 40px 0; }
.article h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 2vw, 1.6rem); margin: 32px 0 10px; }
