:root {
  --cream: #ecd4b5;
  --parchment: #f7ead4;
  --parchment-deep: #f0dcc0;
  --ink: #3b2416;
  --ink-soft: #5c3d2e;
  --burgundy: #8b2a1f;
  --burgundy-deep: #6e1f16;
  --plaid: #9c1c1c;
  --green: #3d5c3a;
  --line: rgba(59, 36, 22, 0.22);
  --shadow: 0 10px 30px rgba(59, 36, 22, 0.12);
  --frame-max: 1080px;
  --content-pad: max(1.1rem, calc((100% - min(100%, 1080px)) / 2 + min(100%, 1080px) * 0.155));
  --serif: "Source Serif 4", "Palatino Linotype", Palatino, serif;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --script: "Great Vibes", "Segoe Script", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.55;
  background-color: #ecd4b5;
  position: relative;
  min-height: 100vh;
}

.holiday-frame {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: min(100%, var(--frame-max));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  z-index: 0;
}

.holiday-frame-top,
.holiday-frame-bot {
  width: 100%;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.holiday-frame-mid {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  background-image: url("/images/ck-holiday-middle-repeat.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  background-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--burgundy);
}

a:hover {
  color: var(--burgundy-deep);
}

.site-header,
main,
.site-footer {
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

main {
  padding-bottom: 5.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  background: rgba(236, 212, 181, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.brand {
  display: flex;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.header-logo {
  width: 6rem;
  height: 6rem;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(59, 36, 22, 0.18));
}

.brand-checkered,
.hero-checkered {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-kitchen,
.hero-kitchen {
  font-family: var(--script);
  color: var(--burgundy);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 1.2rem;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover {
  color: var(--burgundy);
}

.cart-fab {
  position: fixed;
  right: 1rem;
  bottom: 1.1rem;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--burgundy-deep);
  background: var(--burgundy);
  color: #f7ead4;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(59, 36, 22, 0.22);
  cursor: pointer;
}

.cart-fab:hover {
  background: var(--burgundy-deep);
  color: #fff;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 5.2rem;
  transform: translateX(-50%);
  z-index: 50;
  background: var(--ink);
  color: #f7ead4;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.item-options {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.55rem;
  margin-top: 0.2rem;
}

.item-options label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: var(--display);
  font-weight: 600;
}

.item-options select {
  font: inherit;
  font-weight: 400;
  font-family: var(--serif);
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffaf1;
  color: inherit;
  width: 100%;
  max-width: 22rem;
}

.option-hint {
  margin: 0;
  font-style: italic;
  color: var(--ink-soft);
}

.hero {
  text-align: center;
  padding-top: 2.2rem;
  padding-bottom: 2rem;
}

.hero-logo {
  width: min(220px, 58vw);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(59, 36, 22, 0.18));
}

.hero h1 {
  margin: 0.85rem 0 0.4rem;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-checkered {
  display: block;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1.15;
}

.hero-kitchen {
  display: block;
  font-size: clamp(3rem, 10vw, 5rem);
  line-height: 1.2;
  padding-top: 0.08em;
}

.tagline {
  font-family: var(--script);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--ink-soft);
  margin: 0.4rem 0;
}

.serving,
.deadline,
.eyebrow,
.tax-note,
.copyright {
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-block;
  background: var(--burgundy);
  color: #f7ead4;
  text-decoration: none;
  border: 1px solid var(--burgundy-deep);
  padding: 0.55rem 1.1rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  cursor: pointer;
}

.btn:hover {
  background: var(--burgundy-deep);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--burgundy);
}

.btn-secondary:hover {
  background: var(--burgundy);
  color: #f7ead4;
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.menu-season,
.contact {
  padding-bottom: 2.4rem;
}

.season-header,
.contact,
.menu-card,
.closed-note {
  background: var(--parchment);
  border: 2px solid rgba(59, 36, 22, 0.28);
  box-shadow: var(--shadow), inset 0 0 0 4px rgba(247, 234, 212, 0.9), inset 0 0 0 6px rgba(140, 42, 31, 0.12);
  border-radius: 8px;
  text-align: center;
}

.season-header,
.contact,
.closed-note {
  padding: 1.4rem 1.1rem 1.2rem;
  margin-bottom: 1.1rem;
}

.eyebrow {
  margin: 0;
  color: var(--green);
}

.season-header h2,
.contact h2,
.cart-header h2,
.checkout-form h3,
.option-dialog h2,
.thank-you h1 {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 4rem);
  margin: 0.15rem 0 0.35rem;
  color: var(--ink);
  line-height: 1.05;
}

.season-header.christmas h2 {
  color: var(--burgundy);
}

.season-header.allyear h2 {
  color: var(--green);
}

.contact-only-note,
.extra-note {
  text-align: left;
  font-style: normal;
  margin: 0.4rem 0 0.9rem;
  line-height: 1.55;
}

.contact-only-note a {
  font-weight: 600;
}

.disclaimer {
  max-width: 38rem;
  margin: 0.7rem auto 0;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ink-soft);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
}

.deadline {
  margin: 0;
}

.menu-card {
  text-align: left;
  padding: 1rem 1rem 0.5rem;
  margin-bottom: 1rem;
}

.menu-card h3 {
  font-family: var(--script);
  font-size: 2.3rem;
  font-weight: 400;
  text-align: center;
  margin: 0 0 0.2rem;
  color: var(--burgundy);
}

.footnote {
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 0 0.8rem;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 0.8rem;
  padding: 0.8rem 0;
  border-top: 1px dashed var(--line);
  align-items: start;
}

.menu-item h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
}

.item-meta,
.item-desc {
  margin: 0.15rem 0 0;
  color: var(--ink-soft);
  grid-column: 1;
}

.item-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  white-space: nowrap;
}

.item-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.qty-input {
  width: 4.2rem;
  padding: 0.35rem 0.4rem;
  border: 1px solid var(--line);
  background: #fffaf1;
  font: inherit;
  color: inherit;
  border-radius: 6px;
}

.closed-note p {
  margin: 0.4rem 0;
}

.contact h2 {
  font-size: 2.6rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.contact-list li {
  margin: 0.7rem 0;
}

.contact-label {
  display: block;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.contact a {
  font-size: 1.15rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.site-footer {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 2.6rem;
}

.site-footer .tagline {
  margin-bottom: 0.2rem;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(59, 36, 22, 0.42);
  z-index: 30;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  width: min(26rem, 100%);
  height: 100%;
  background: var(--parchment);
  border-left: 2px solid rgba(59, 36, 22, 0.28);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding: 1rem 1.1rem 1.5rem;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.icon-close {
  border: 0;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.6rem 0 1rem;
}

.cart-empty {
  color: var(--ink-soft);
  font-style: italic;
}

.cart-line {
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.7rem;
}

.cart-line h3 {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-size: 1.15rem;
}

.cart-line-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.cart-line button.linkish,
button.linkish {
  border: 0;
  background: none;
  color: var(--burgundy);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  padding: 0;
}

.checkout-form {
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.checkout-form label,
.option-dialog label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: var(--display);
  font-weight: 600;
}

.checkout-form input,
.checkout-form textarea,
.option-dialog input,
.option-dialog select {
  font: inherit;
  font-weight: 400;
  font-family: var(--serif);
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffaf1;
  color: inherit;
  width: 100%;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0.3rem 0 0;
}

.form-error {
  color: var(--burgundy);
  margin: 0;
}

.option-dialog {
  border: 2px solid rgba(59, 36, 22, 0.28);
  border-radius: 10px;
  background: var(--parchment);
  padding: 1.1rem;
  width: min(28rem, calc(100% - 1.5rem));
  color: inherit;
}

.option-dialog::backdrop {
  background: rgba(59, 36, 22, 0.42);
}

.flavor-grid {
  display: grid;
  gap: 0.35rem;
  margin: 0.6rem 0 0.8rem;
  max-height: 16rem;
  overflow: auto;
}

.flavor-grid label {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  font-family: var(--serif);
}

.flavor-count {
  margin: 0 0 0.6rem;
  color: var(--ink-soft);
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.thank-you {
  text-align: center;
  padding: 3rem var(--content-pad) 4rem;
}

.thank-you img {
  width: min(180px, 50vw);
  height: auto;
}

@media (min-width: 720px) {
  .header-logo {
    width: 7rem;
    height: 7rem;
  }

  .cart-fab {
    top: 1rem;
    bottom: auto;
  }

  main {
    padding-bottom: 2.4rem;
  }

  .toast {
    top: 5rem;
    bottom: auto;
  }

  .menu-item {
    grid-template-columns: 1fr auto auto;
  }

  .item-actions {
    grid-column: auto;
    margin-top: 0;
  }

  .item-options {
    grid-column: 1 / -1;
  }
}

.cart-drawer[hidden],
.cart-backdrop[hidden],
.toast[hidden] {
  display: none !important;
}

.cart-drawer:not([hidden]) {
  display: flex;
}

body.cart-open {
  overflow: hidden;
}
