:root {
  color-scheme: light;
  --paper: #f8f3e9;
  --card: #fffcf5;
  --green: #193b2d;
  --ink: #26382e;
  --muted: #555d53;
  --line: #ddd3bf;
  --gold: #e7bb66;
  --red: #842f2c;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; }
:focus-visible { outline: 3px solid #ad721d; outline-offset: 4px; }
.container { width: min(100% - 3rem, 71rem); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; text-decoration: none; font-weight: 700; font-size: .93rem; }
.brand-star { color: #94631b; font-size: 1.4rem; }
nav { display: flex; gap: 1.5rem; align-items: center; }
nav a { text-decoration: none; font-size: .9rem; font-weight: 650; }
nav a:hover { text-decoration: underline; }
.nav-book { background: #eee6d6; border-radius: .5rem; padding: .55rem .85rem; }
.opening { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.35rem; margin-top: 2rem; }
.hero { position: relative; isolation: isolate; background: var(--green); color: var(--card); overflow: hidden; border-radius: 1rem; min-height: 25rem; display: grid; align-items: center; }
.hero-art { position: absolute; inset: 0 0 0 39%; z-index: -2; background: url(marche-de-noel.webp) center 53% / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--green) 32%, #193b2df4 41%, #193b2d60 64%, transparent 83%); }
.hero-content { padding: 2rem clamp(1.5rem, 3.7vw, 3.4rem); }
.hero-star { color: var(--gold); font-size: 2rem; line-height: 1; }
h1, h2 { margin: 0; font-family: Georgia, serif; font-weight: 500; }
h1 { font-size: clamp(3.25rem, 6.3vw, 6.25rem); line-height: .92; letter-spacing: -.055em; margin: .7rem 0 1.55rem; }
h2 { color: var(--green); font-size: clamp(1.65rem, 3.2vw, 2.2rem); letter-spacing: -.04em; line-height: 1.1; }
.event-details { display: grid; gap: .28rem; font-size: 1rem; line-height: 1.4; }
.event-details time { font-weight: 700; color: #f8d99b; }
.booking { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1.05rem, 2.3vw, 1.75rem); scroll-margin-top: 1rem; }
.booking-intro { margin: .52rem 0 1.1rem; line-height: 1.45; color: var(--muted); }
#menus { display: grid; gap: .75rem; }
fieldset { margin: 0; padding: .2rem .8rem .5rem; min-inline-size: 0; border: 1px solid var(--line); border-radius: .65rem; }
legend { padding: 0 .4rem; margin-inline-start: -.12rem; font-weight: 750; }
.menu-price { margin-left: .3rem; font-weight: 600; color: var(--muted); }
.option { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 2.45rem; font-size: .95rem; }
.stepper { display: grid; grid-template-columns: 2.35rem 1.8rem 2.35rem; align-items: center; text-align: center; }
.stepper button { border: 1px solid #d4c8af; border-radius: .45rem; background: #f6f0e4; color: var(--green); height: 2.15rem; font-size: 1.13rem; line-height: 1; cursor: pointer; }
.stepper button:not(:disabled):hover { background: #ece1cb; }
.stepper button:disabled { opacity: .47; cursor: default; }
.stepper output { font-weight: 650; color: var(--green); font-variant-numeric: tabular-nums; }
.booking-actions { display: flex; justify-content: space-between; align-items: center; gap: .65rem; margin-top: 1rem; }
.booking-total { display: grid; gap: .13rem; white-space: nowrap; }
.booking-total span { font-size: .88rem; color: var(--muted); }
.primary { display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: #fffdf7; border-radius: .58rem; border: 0; min-height: 2.85rem; padding: .65rem 1rem; font-size: .95rem; font-weight: 720; text-decoration: none; text-align: center; cursor: pointer; }
.primary:not(:disabled):hover { background: #67201e; }
.primary:disabled { background: #e8dcd3; color: #604f45; cursor: default; }
.booking-note { color: var(--muted); margin: .7rem 0 0; font-size: .86rem; line-height: 1.4; }
.programme { margin-top: 2.5rem; scroll-margin-top: 1rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem; }
.programme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.programme-grid li { display: flex; flex-direction: column; gap: .25rem; border-top: 2px solid #b98a43; background: #f2eadc; padding: .85rem .95rem; line-height: 1.4; min-height: 5.15rem; }
.programme-grid time, .programme-time { color: var(--red); font-weight: 750; }
.programme-grid span { display: block; color: var(--muted); font-size: .91rem; }
.footer { margin-top: 2.2rem; border-top: 1px solid var(--line); padding-block: 1rem 1.5rem; color: var(--muted); font-size: .88rem; }
dialog { width: min(100% - 2rem, 27rem); border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem; background: var(--card); color: var(--ink); }
dialog::backdrop { background: #15281f9c; }
dialog ul { padding-left: 1.2rem; line-height: 1.7; }
dialog p { color: var(--muted); line-height: 1.45; }
@media (max-width: 54rem) {
  .opening { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .container { width: calc(100% - 2rem); }
}
@media (max-width: 42rem) {
  .top-inner { min-height: 3.5rem; }
  .opening { grid-template-columns: 1fr; margin-top: .75rem; }
  .hero { min-height: auto; }
  .hero-content { padding: 1rem 1.2rem; }
  .hero-star { display: none; }
  h1 { font-size: clamp(2.55rem, 9vw, 3.5rem); margin: .05rem 0 .58rem; }
  h1 br { display: none; }
  .event-details { font-size: .94rem; gap: .12rem; }
  .booking-intro { margin-bottom: .75rem; }
  #menus { gap: .48rem; }
  .option { min-height: 2.75rem; }
  .stepper { grid-template-columns: 2.75rem 1.65rem 2.75rem; }
  .stepper button { height: 2.5rem; }
  .programme { margin-top: 1.75rem; }
  .programme-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 23rem) {
  .programme-grid { grid-template-columns: 1fr; }
  nav { gap: .6rem; }
  .brand { gap: .35rem; font-size: .83rem; }
  nav a { font-size: .85rem; }
}

.opening:has(#payment:not([hidden])) { align-items: start; }
#payment-back, #payment-check { margin-top: .8rem; }
