/* Thanksgiving landing page (/thanksgiving/), on top of styles.css. */

.tg h1 {
  font-family: var(--display);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin: 0.4em 0 0.35em;
}
.tg h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin: 0 0 0.3em;
}
.tg-accent { color: #B5532B; }
.tg-sub { color: var(--slate); max-width: 680px; margin: 0 0 1.6em; }

/* Hero */
.tg-hero { padding: 36px 0 64px; position: relative; overflow: hidden; }
.tg-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.tg-lede { font-size: 1.12rem; color: var(--slate); margin: 0 0 1em; }
.tg-points { list-style: none; padding: 0; margin: 0 0 1.5em; }
.tg-points li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 0.6em;
  color: var(--slate);
}
.tg-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #F6E3CC;
  color: #B5532B;
  font-size: 12px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}
.tg-points strong { color: var(--ink); }
.tg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-bottom: 1.2em; }
.tg-when { font-size: 0.95rem; color: #B5532B; font-weight: 700; }
.tg-hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  display: block;
}

/* Menu */
.tg-menu { padding: 56px 0; background: #FFFFFF; }
.tg-dishes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tg-dishes figure { margin: 0; }
.tg-dishes img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: var(--green-tint);
}
.tg-dishes figcaption { font-weight: 700; font-size: 0.95rem; margin-top: 8px; line-height: 1.3; }

/* Plan */
.tg-plan { padding: 64px 0; }
.tg-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tg-day {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
}
.tg-day h3 { font-family: var(--display); font-size: 1.3rem; margin: 0 0 0.5em; color: #B5532B; }
.tg-day ul { margin: 0; padding-left: 18px; color: var(--slate); }
.tg-day li { margin-bottom: 0.55em; }
.tg-day strong { color: var(--ink); }
.tg-more { margin-top: 1.4em; color: var(--slate); }

/* The cart, sized to the guest count */
.tg-cart { padding: 64px 0 72px; background: var(--green-tint); }
.tg-cart .tg-sub { margin-bottom: 1.8em; }
.tg-eyebrow {
  margin: 0 0 0.5em;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #B5532B;
}
.tg-cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
  align-items: start;
}
.tg-guests, .tg-basket {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
}
.tg-guests-label { margin: 0 0 12px; font-weight: 800; color: var(--ink); }
.tg-stepper { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.tg-stepper output {
  font-family: var(--display);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
  min-width: 2ch;
  text-align: center;
  color: var(--ink);
}
.tg-stepper button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--green-deep);
  background: #FFFFFF;
  color: var(--green-deep);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.tg-stepper button:hover:not(:disabled) { background: var(--green-tint); }
.tg-stepper button:disabled { opacity: 0.3; cursor: default; }
.tg-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.tg-facts dt { font-size: 0.85rem; color: var(--slate); }
.tg-facts dd { margin: 2px 0 0; font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.tg-basket-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 2px 12px;
  margin-bottom: 8px;
}
.tg-basket-head h3 { font-family: var(--display); font-size: 1.35rem; margin: 0; }
.tg-basket-store { font-size: 0.85rem; font-weight: 700; color: var(--green-deep); }
.tg-items { list-style: none; margin: 0; padding: 0; }
.tg-items li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 8px;
  margin: 0 -8px;
  border-radius: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
}
.tg-items li strong { white-space: nowrap; color: var(--ink); }
.tg-items li.tg-changed { animation: tg-flash 0.9s ease-out; }
@keyframes tg-flash { from { background: #F6E3CC; } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .tg-items li.tg-changed { animation: none; } }
.tg-items-more { margin: 12px 0 0; font-weight: 700; color: #B5532B; }
.tg-steps {
  list-style: none;
  counter-reset: tg;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0 22px;
  padding: 0;
}
.tg-steps li { counter-increment: tg; color: var(--slate); }
.tg-steps li::before {
  content: counter(tg);
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--green-deep);
  color: #FFFFFF;
  font-weight: 800;
  line-height: 30px;
  text-align: center;
}
.tg-steps strong { color: var(--ink); }
.tg-stores { font-weight: 700; color: var(--green-deep); margin: 0 0 18px; }

/* Final call to action */
.tg-cta { padding: 72px 0 96px; text-align: center; }
.tg-cta p { color: var(--slate); font-size: 1.05rem; margin: 0 0 1.4em; }
.tg-cta-badges { justify-content: center; margin-top: 1.4em; }

@media (max-width: 900px) {
  .tg-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .tg-dishes { grid-template-columns: repeat(3, 1fr); }
  .tg-days { grid-template-columns: 1fr; }
  .tg-cart-grid, .tg-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tg-dishes { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tg-dishes figcaption { font-size: 0.85rem; }
}
