:root {
  --ink: #182c37;
  --green: #163b33;
  --wine: #893328;
  --light: #fffdf8;
  --rule: #d8d9ce;
  --muted: #545f5b;
  --gold: #eed39b;
  font: 100%/1.5 "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--light);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, fieldset, ul { margin: 0; }
button, select, input { font: inherit; }
button, select, .date { cursor: pointer; }
a { color: inherit; text-underline-offset: .25em; }
button:focus-visible, select:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #ba6528; outline-offset: 3px; }
button { color: inherit; }
button:disabled { cursor: default; }
.wrap { width: min(1160px, 89%); margin: auto; }
.foot { display: flex; align-items: center; justify-content: space-between; }
.hero { background: var(--green); color: var(--light); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.25fr 1fr; }
.hero-copy { padding: clamp(2rem,4.1vw,3.7rem) clamp(1.75rem,4vw,4.2rem) clamp(2rem,4.1vw,3.7rem) 0; align-self: center; }
.season, .section-label { text-transform: uppercase; font-size: .77rem; font-weight: 700; letter-spacing: .15em; line-height: 1.5; }
.season { display: flex; align-items: center; gap: .6rem; color: var(--gold); }
.season::before { content: ""; width: 1.9rem; border-top: 1px solid; }
.season span { color: #bfac81; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { font-size: clamp(3.4rem,5.8vw,5.8rem); letter-spacing: -.065em; line-height: .99; margin: .7rem 0 1rem; }
h1 em { color: #f2d6a1; font-weight: 400; }
.hero-copy > p:not(.season) { max-width: 31rem; line-height: 1.55; color: #f1eee3; font-size: 1.03rem; }
.hero-link { display: inline-block; margin-top: 1.05rem; padding: .36rem 0; text-decoration-color: var(--gold); text-underline-offset: .38em; font-weight: 600; }
.hero-photo { position: relative; min-height: 100%; }
.hero-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(295px,.49fr); gap: clamp(2rem,5vw,5rem); align-items: start; padding-block: clamp(2.2rem,4vw,3.9rem) 4rem; }
.section-label { color: var(--wine); margin-bottom: .4rem; }
h2 { font-size: clamp(1.8rem,3vw,2.55rem); line-height: 1.13; letter-spacing: -.046em; }
.hint, .address, .preview-note { color: var(--muted); }
.hint { margin: .65rem 0 1.15rem; }
.hint strong { color: var(--ink); font-weight: 600; }
.days { border: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.date { padding: .8rem 1rem; display: flex; gap: .8rem; align-items: center; background: white; border: 1px solid #a9b3aa; border-radius: .25rem; }
.date:hover, .date:has(input:checked) { background: #edf2eb; border-color: var(--green); }
.date:has(input:checked) { box-shadow: inset 0 0 0 1px var(--green); }
.date input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--green); }
.date small, .date b { display: block; }
.date small { font-size: .86rem; color: var(--muted); }
.address { font-size: .9rem; margin-top: .8rem; }
#menu { margin-top: 2rem; border-top: 1px solid var(--rule); padding-top: 1.8rem; }
.filters { display: flex; gap: .55rem; flex-wrap: wrap; margin: 1.1rem 0 .35rem; }
.filters button { padding: .47rem 1.05rem; min-height: 42px; background: transparent; border: 1px solid #aab3aa; border-radius: 2rem; font-size: .95rem; }
.filters button[aria-pressed=true] { background: var(--green); color: white; border-color: var(--green); }
.menu-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
h3 { font-size: 1.33rem; line-height: 1.18; letter-spacing: -.025em; }
.price { font-size: .91rem; color: var(--muted); margin-top: .3rem; }
.size { max-width: 100%; margin-top: .5rem; border: 1px solid #aeb7ad; border-radius: .25rem; min-height: 36px; padding: .28rem 2rem .28rem .5rem; color: var(--ink); background: #fff; font-size: .9rem; }
.stepper { display: grid; align-items: center; grid-template-columns: 36px auto 36px; justify-content: center; border: 1px solid #abb5ac; border-radius: .28rem; background: white; flex: 0 0 auto; }
.stepper button { border: 0; background: none; height: 40px; font-size: 1.25rem; line-height: 1; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper button:disabled { color: #aeb2ac; }
.stepper button:not(:disabled):hover { color: var(--wine); background: #f6f3e9; }
.stepper input { appearance: textfield; -moz-appearance: textfield; background: transparent; color: var(--ink); border: none; width: 3rem; padding-inline: .1rem; text-align: center; font-size: .91rem; font-variant-numeric: tabular-nums; }
#order { position: sticky; top: 1.25rem; }
.ticket { padding: 1.45rem; border: 1px solid var(--rule); border-top: 4px solid var(--wine); background: white; }
.ticket h2 { font-size: 2.05rem; }
.ticket-head { padding-bottom: .9rem; }
.pickup-line { border-block: 1px solid var(--rule); padding: .72rem 0; font-size: .93rem; }
.empty { padding: 1rem 0; color: var(--muted); font-size: .94rem; }
.cart-list { list-style: none; padding: .65rem 0; }
.cart-line, .sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; font-variant-numeric: tabular-nums; }
.cart-line { font-size: .94rem; padding: .42rem 0; }
.cart-line small { display: block; font-size: .84rem; color: var(--muted); }
.sum-row { margin-top: .3rem; font-size: .92rem; }
.sum-row.total { border-top: 1px solid var(--rule); font-weight: 700; font-size: 1.08rem; margin: .7rem 0 .55rem; padding-top: .55rem; }
.deposit { margin-top: .9rem; padding: .7rem; background: #f1f4ee; color: var(--green); }
.deposit .sum-row { margin: 0; }
.deposit .sum-row:first-child { font-weight: 700; }
.deposit .sum-row + .sum-row { margin-top: .2rem; }
.primary { width: 100%; border: 0; border-radius: .24rem; background: var(--wine); color: white; font-weight: 700; padding: .8rem; margin-top: 1rem; }
.primary:disabled { background: #e2e3dd; color: #5e6761; }
.preview-note { font-size: .85rem; text-align: center; margin-top: .65rem; }
dialog { width: min(440px,calc(100vw - 28px)); max-height: 88dvh; padding: 0; border: none; color: var(--ink); background: var(--light); }
dialog::backdrop { background: #10221ed9; }
.dialog-inner { padding: 1.5rem; border-top: 4px solid var(--wine); }
#review-day { margin-top: 1rem; font-weight: bold; }
#review-items { border-block-start: 1px solid var(--rule); margin-top: 1rem; }
.foot { border-top: 1px solid var(--rule); padding-block: 1.3rem; gap: 1rem; font-size: .93rem; }
.skip, .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { width: auto; height: auto; clip-path: none; background: white; z-index: 5; padding: .75rem; }
@media (max-width: 780px) {
  .layout { grid-template-columns: 1fr; gap: 2rem; }
  #order { position: static; }
  .hero-inner { width: 100%; grid-template-columns: 1.35fr 1fr; }
  .hero-copy { padding-inline: 8% 6%; }
}
@media (max-width: 540px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding: 1.8rem 5.5% 1.3rem; }
  h1 { font-size: clamp(2.8rem,11.8vw,3.8rem); }
  .hero-photo { height: 115px; }
  .hero-photo img { object-position: 50% 48%; }
  .layout { padding-top: 1.7rem; }
  .date { padding: .68rem; gap: .48rem; }
  .days { gap: .48rem; }
  .foot { flex-wrap: wrap; }
}

.hero-copy > p.deadline { margin-top: .8rem; color: var(--gold); font-weight: 600; }
#menu-limits { font-size: .91rem; }

#invoice-form { margin-top: 1.2rem; }
#invoice-form label { display:block; font-weight:600; margin-block:.7rem; }
#invoice-form input, #invoice-form select { display:block; font:inherit; color:var(--ink); width:100%; padding:.55rem; background:white; border:1px solid #abb5ac; border-radius:.25rem; }
#invoice-form .hint, #invoice-result { font-size:.92rem; margin-top:.85rem; }
#invoice-result a { display:block; padding:.5rem 0; color:var(--wine); font-weight:700; }
#edit { background:transparent; color:var(--green); border:1px solid var(--green); }
