/* Thanksgiving preorder (mock, 2026-10-26). Colours come from EAT's printed sheet:
   the burnt-orange script and the field-green headings. */
.page-thanksgiving { background: var(--c-bone); }
.tg { --tg-r: 18px; --tg-gut: clamp(20px, 5vw, 56px); /* = .container, so every edge lines up with the header */ color: var(--c-ink); }
.tg img { display: block; width: 100%; height: 100%; object-fit: cover; }

.tg-kicker { margin: 0 0 14px; font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-harvest-ink); }

/* ---------- buttons ---------- */
.tg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 600 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s, transform .15s; }
.tg-btn:active { transform: scale(.97); }
.tg-btn--solid { background: var(--c-harvest); color: var(--c-white); }
.tg-btn--solid:hover { background: var(--c-harvest-ink); color: var(--c-white); }
.tg-btn--ghost { border: 1.5px solid var(--c-ink); color: var(--c-ink); }
.tg-btn--ghost:hover { background: var(--c-ink); color: var(--c-cream); }

/* ---------- header band ----------
   One grid, three areas: title | facts | button on desktop; title + button over facts on
   phones. Facts are three EQUAL columns, each label / date / time, so nothing reflows with
   the length of its text. */
.tg-top { background: var(--c-harvest-soft); padding: 14px 0 16px; }
.tg-top__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "title facts btn"; align-items: center; column-gap: 32px; row-gap: 12px; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--tg-gut); }
.tg-top__title { grid-area: title; min-width: 0; }
.tg-top .tg-kicker { margin: 0 0 4px; font-size: .62rem; }
.tg-hero__title { margin: 0; text-transform: none !important; line-height: 1; }
.tg-script { display: block; font-family: var(--font-script); font-weight: 400; font-size: 2.6rem; line-height: 1.15; padding-top: .1em; color: var(--c-harvest); }
.tg-facts { grid-area: facts; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.tg-facts div { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 2px 14px; border-left: 1px solid rgba(62, 90, 34, .25); }
.tg-facts dt { font: 600 .6rem/1.2 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--c-taupe-ink); }
.tg-facts dd { display: flex; flex-direction: column; margin: 0; min-width: 0; }
.tg-facts b { font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--c-field); white-space: nowrap; }
.tg-facts dd > span { font-size: .8rem; line-height: 1.3; color: var(--c-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-facts__accent { border-left: 2px solid var(--c-harvest) !important; }
.tg-facts__accent b { color: var(--c-harvest-ink); }
.tg-howbtn { grid-area: btn; justify-self: end; min-height: 40px; padding: 0 18px; border: 1.5px solid var(--c-field); border-radius: 999px; background: transparent; color: var(--c-field); font: 600 .68rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
.tg-howbtn:hover, .tg-howbtn:focus-visible { background: var(--c-field); color: var(--c-cream); }
.tg-top__note { display: none; }
.tg-apos { margin: 0 .07em 0 .05em; }
@media (max-width: 760px) {
  .tg-top { padding: 12px 0 14px; }
  .tg-top__inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title btn" "facts facts"; column-gap: 12px; }
  .tg-script { font-size: 2.3rem; }
  .tg-howbtn { min-height: 36px; padding: 0 14px; font-size: .62rem; letter-spacing: .1em; }
  .tg-facts div { padding: 0 10px; }
  .tg-facts div:first-child { padding-left: 0; border-left: 0; }
  .tg-facts b { font-size: .82rem; }
  .tg-facts dd > span { font-size: .74rem; }
}

/* ---------- sections ---------- */
.tg-section { max-width: var(--maxw); margin: clamp(36px, 5vw, 64px) auto 0; padding: 0 var(--tg-gut); scroll-margin-top: 90px; }
.tg-section__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--c-line); }
.tg-section__head h2 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: .24em; color: var(--c-field); }
.tg-section__note { font-family: var(--font-script); font-size: 1.4rem; line-height: 1; color: var(--c-harvest); }

.tg-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.tg-card { display: flex; flex-direction: column; background: var(--c-paper); border-radius: var(--tg-r); overflow: hidden; box-shadow: 0 1px 0 var(--c-line); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
@media (hover: hover) {
  .tg-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(35, 37, 31, .45); }
  .tg-card:hover .tg-card__media img { transform: scale(1.04); }
}
.tg-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-cream-2); }
.tg-card__media img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tg-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.tg-card__name { margin: 0; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; letter-spacing: .06em; }
.tg-card__desc { margin: -4px 0 0; font-size: .9rem; color: var(--c-taupe-ink); }
.tg-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.tg-card--plain { background: var(--c-harvest-soft); justify-content: center; }
.tg-card--plain .tg-card__body { justify-content: center; padding: 34px 26px; }
.tg-card--plain .tg-card__name { font-family: var(--font-script); font-size: 2.1rem; line-height: 1.2; letter-spacing: 0; text-transform: none !important; color: var(--c-harvest); }

.tg-price { font-family: var(--font-display); font-size: 1.25rem; color: var(--c-ink); }

.tg-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.tg-tags li { padding: 3px 9px; border: 1px solid var(--c-field); border-radius: 999px; font: 600 .64rem/1.2 var(--font-body); letter-spacing: .1em; color: var(--c-field); }

.tg-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.tg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tg-opt span { display: inline-block; padding: 8px 12px; border: 1px solid var(--c-line); border-radius: 999px; font-size: .8rem; cursor: pointer; transition: border-color .2s, background .2s; }
.tg-opt input:checked + span { border-color: var(--c-harvest); background: var(--c-harvest-soft); color: var(--c-harvest-ink); }
.tg-opt input:focus-visible + span { outline: 2px solid var(--c-harvest); outline-offset: 2px; }

/* add button: circle that becomes a counter */
.tg-add { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 20px; border: 1.5px solid var(--c-harvest); border-radius: 999px; background: transparent; color: var(--c-harvest-ink); font: 600 .74rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.tg-add:hover { background: var(--c-harvest); color: var(--c-white); }
.tg-add:active { transform: scale(.95); }
.tg-add.is-in { background: var(--c-harvest); color: var(--c-white); }
.tg-add--lg { height: 52px; padding: 0 30px; font-size: .8rem; }

.tg-section--first { margin-top: clamp(16px, 2.4vw, 28px); }
.tg-section:last-of-type { margin-bottom: clamp(64px, 8vw, 110px); }
.tg-grid--one { grid-template-columns: minmax(0, 1fr); }
.tg-card--wide { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.tg-card--wide .tg-card__media { aspect-ratio: 16 / 9; }
.tg-card--wide .tg-card__body { justify-content: center; padding: clamp(22px, 3vw, 40px); }
.tg-card--wide .tg-card__name { font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--c-field); }

/* ---------- how pickup works ---------- */
.tg-how { width: min(860px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 20px; background: var(--c-field); color: var(--c-cream); overflow: auto; }
.tg-how[open] { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.tg-how::backdrop { background: rgba(35, 37, 31, .55); }
.tg-how__media { min-height: 100%; }
.tg-how__body { padding: clamp(28px, 4vw, 48px); }
.tg-how .tg-kicker { color: var(--c-gold-bright); }
.tg-how h2 { margin: 0 0 22px; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--c-cream); }
.tg-how__small { margin: 22px 0; font-size: .86rem; color: var(--c-onink-bright); }
.tg-how__small a { color: var(--c-white); }
.tg-how__x { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; background: none; color: var(--c-cream); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.tg-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 18px; }
.tg-steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.tg-steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--c-gold-bright); border-radius: 50%; font-family: var(--font-display); color: var(--c-gold-bright); }
.tg-steps b { font-weight: 600; }
.tg-steps span { color: var(--c-onink-bright); font-size: .9rem; }
.tg-tray__label small { display: block; font-size: .74rem; color: var(--c-onink); letter-spacing: 0; }
.tg-tray__label small:empty { display: none; }

/* ---------- tray ---------- */
.tg-tray { position: fixed; left: 50%; bottom: 20px; z-index: 60; width: min(440px, calc(100% - 32px)); transform: translateX(-50%); }
.tg-tray[hidden] { display: none; }
.tg-tray__inner { background: var(--c-ink-deep); color: var(--c-cream); border-radius: 22px; padding: 10px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55); animation: tg-rise .35s cubic-bezier(.2,.8,.2,1) both; }
@keyframes tg-rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.tg-tray__summary { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.tg-tray__count { display: grid; place-items: center; min-width: 30px; height: 30px; border-radius: 50%; background: var(--c-harvest); color: var(--c-white); font-weight: 600; font-size: .85rem; }
.tg-tray__label { flex: 1; font-size: .9rem; letter-spacing: .04em; }
.tg-tray__total { font-family: var(--font-display); font-size: 1.15rem; }
.tg-tray__lines { list-style: none; margin: 0; padding: 0 10px; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.tg-tray.is-open .tg-tray__lines { max-height: 50vh; overflow: auto; padding: 6px 10px 10px; }
.tg-tray__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.tg-tray__go { width: 100%; margin-top: 6px; }
.tg-tray__tax { margin: 0; padding: 4px 10px 0; font-size: .76rem; text-align: right; opacity: .75; }
.tg-tray__tax[hidden] { display: none; }
@media (max-width: 979px) { .tg-tray { bottom: calc(76px + env(safe-area-inset-bottom)); } }
/* Until cookies are answered the consent bar is pinned at the bottom and sits on top of the
   tray (the tray lives inside #main's stacking, so a bigger z-index cannot win). Lift the
   tray clear of it instead -- the same --consent-h the body padding uses. */
body:has(.cookie-bar:not([hidden]):not(.hidden)) .tg-tray { bottom: calc(var(--consent-h) + 12px); }
@media (max-width: 979px) {
  body:has(.cookie-bar:not([hidden]):not(.hidden)) .tg-tray { bottom: calc(76px + var(--privy-lift, 0px) + var(--consent-h) + env(safe-area-inset-bottom)); }
}

/* ---------- phones ---------- */
@media (max-width: 860px) {
  .tg-card--wide { grid-template-columns: minmax(0, 1fr); }
  .tg-how[open] { grid-template-columns: minmax(0, 1fr); }
  .tg-how__media { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tg *, .tg-tray__inner { animation: none !important; transition: none !important; }
}

/* ---------- live page bits (0277) ---------- */
.tg-preview, .tg-done, .tg-closed { max-width: var(--maxw); margin: 0 auto; padding: 10px var(--tg-gut); font-size: .86rem; }
.tg-preview { background: var(--c-warn-bg); color: var(--c-warn-ink); max-width: none; text-align: center; }
.tg-done { background: var(--c-ok-bg); color: var(--c-ok-ink); max-width: none; text-align: center; font-weight: 600; }
.tg-closed { margin-top: 16px; color: var(--c-harvest-ink); font-weight: 600; }
.tg-tray__lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto 56px; align-items: center; gap: 10px; }
.tg-tray__name { min-width: 0; }
.tg-tray__amt { text-align: right; font-family: var(--font-display); }
.tg-qty { display: inline-flex; align-items: center; gap: 2px; }
.tg-qty b { min-width: 22px; text-align: center; font-weight: 600; }
.tg-qty button { width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: none; color: inherit; font-size: 1rem; line-height: 1; cursor: pointer; }
.tg-qty button:hover { background: rgba(255, 255, 255, .1); }
.tg-tray__go[disabled] { opacity: .6; }
