/* AKU Restaurant Core — neutral structure only. Themes restyle through these variables. */
:where(.aku-menu, .aku-res, .aku-open, .aku-hours, .aku-address, .aku-btn) {
	--aku-ink: currentColor;
	--aku-muted: color-mix(in srgb, currentColor 62%, transparent);
	--aku-line: color-mix(in srgb, currentColor 18%, transparent);
	--aku-accent: #b08a4a;
	--aku-accent-ink: #fff;
	--aku-surface: transparent;
	--aku-radius: 6px;
	--aku-name-font: inherit;
	--aku-gap: 1.25rem;
}

.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* Menu */
.aku-menu { display: grid; gap: calc(var(--aku-gap) * 2); }
.aku-menu__filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.aku-chip { font: inherit; font-size: .85em; padding: .45em 1em; border-radius: 999px; border: 1px solid var(--aku-line); background: transparent; color: inherit; cursor: pointer; }
.aku-chip[aria-pressed="true"] { background: var(--aku-accent); border-color: var(--aku-accent); color: var(--aku-accent-ink); }
.aku-chip:focus-visible, .aku-btn:focus-visible, .aku-dish__order:focus-visible { outline: 2px solid var(--aku-accent); outline-offset: 2px; }
.aku-menu__group { display: grid; gap: var(--aku-gap); }
.aku-menu__group[hidden] { display: none; }
.aku-menu__title { margin: 0; font-family: var(--aku-name-font); }
.aku-menu__note { margin: -.5rem 0 0; color: var(--aku-muted); }
.aku-menu__items { display: grid; gap: var(--aku-gap); }
.aku-menu--grid .aku-menu__items, .aku-menu--cards .aku-menu__items { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

.aku-dish[hidden] { display: none; }
.aku-dish { display: grid; gap: .75rem; align-content: start; }
.aku-dish__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--aku-radius); }
.aku-dish__body { display: grid; gap: .35rem; }
.aku-dish__head { display: flex; align-items: baseline; gap: .6rem; }
.aku-dish__name { margin: 0; font-family: var(--aku-name-font); font-size: 1.1em; }
.aku-dish__leader { flex: 1; border-bottom: 1px dotted var(--aku-line); transform: translateY(-.3em); min-width: 1rem; }
.aku-menu--grid .aku-dish__leader, .aku-menu--cards .aku-dish__leader { border: 0; }
.aku-dish__price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.aku-dish__desc { margin: 0; color: var(--aku-muted); max-width: 60ch; }
.aku-dish__sizes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .9em; font-variant-numeric: tabular-nums; }
.aku-dish__sizes li span:first-child { color: var(--aku-muted); }
.aku-dish__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-size: .8em; }
.aku-tag { border: 1px solid var(--aku-line); border-radius: 999px; padding: .15em .65em; }
.aku-spice { display: inline-flex; align-items: center; gap: .35em; }
.aku-spice__dots { display: inline-flex; gap: 2px; }
.aku-spice__dots::before { content: ""; width: calc(var(--n, 1) * 7px); height: 5px; background: radial-gradient(circle at 2.5px 2.5px, #c0392b 2.5px, transparent 3px) 0 0 / 7px 5px repeat-x; }
.aku-spice--1 { --n: 1; } .aku-spice--2 { --n: 2; } .aku-spice--3 { --n: 3; }
.aku-dish__order { margin-left: auto; color: inherit; text-underline-offset: .2em; }
.aku-empty { padding: 1rem; border: 1px dashed var(--aku-line); }

/* Buttons */
.aku-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: inherit; padding: .8em 1.4em; border-radius: var(--aku-radius); border: 1px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.2; }
.aku-btn--primary { background: var(--aku-accent); color: var(--aku-accent-ink); }
.aku-btn--ghost { border-color: var(--aku-line); color: inherit; background: transparent; }
.aku-btn--whatsapp { background: #1f8f4e; color: #fff; }

/* Open now */
.aku-open { display: inline-flex; align-items: center; gap: .5em; font-size: .9em; }
.aku-open__dot { width: .55em; height: .55em; border-radius: 50%; background: #9aa0a6; }
.aku-open.is-open .aku-open__dot { background: #2e9d5b; box-shadow: 0 0 0 .25em color-mix(in srgb, #2e9d5b 25%, transparent); }

/* Hours */
.aku-hours { border-collapse: collapse; width: 100%; max-width: 26rem; font-variant-numeric: tabular-nums; }
.aku-hours th, .aku-hours td { text-align: left; padding: .45em 0; border-bottom: 1px solid var(--aku-line); font-weight: 400; }
.aku-hours td { text-align: right; }
.aku-hours .is-today th, .aku-hours .is-today td { font-weight: 600; }

/* Address */
.aku-address { font-style: normal; display: grid; gap: .3rem; }
.aku-address a { color: inherit; }

/* Offer + countdown */
:where(.aku-offer, .aku-qr) { --aku-accent: #b08a4a; --aku-accent-ink: #fff; --aku-line: color-mix(in srgb, currentColor 18%, transparent); --aku-muted: color-mix(in srgb, currentColor 62%, transparent); --aku-radius: 6px; }
.aku-offer { display: grid; gap: 14px; justify-items: start; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--aku-line); border-radius: var(--aku-radius); }
.aku-offer__title { margin: 0; font-size: 1.4em; font-weight: 600; }
.aku-offer__text, .aku-offer__ends { margin: 0; color: var(--aku-muted); }
.aku-offer.is-ended .aku-countdown { opacity: 0.4; }
.aku-countdown { display: flex; gap: 10px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.aku-countdown__unit { display: grid; justify-items: center; min-width: 64px; padding: 10px 8px; border: 1px solid var(--aku-line); border-radius: var(--aku-radius); }
.aku-countdown__num { font-size: 1.8em; font-weight: 600; line-height: 1; }
.aku-countdown__label { font-size: 0.7em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aku-muted); margin-top: 4px; }
.aku-offer__code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.aku-offer__code[hidden] { display: none; }
.aku-offer__code-label { font-size: 0.75em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aku-muted); }
.aku-offer__code-value { font: 600 1.1em/1 ui-monospace, Consolas, monospace; letter-spacing: 0.12em; padding: 8px 12px; border: 1px dashed var(--aku-accent); border-radius: var(--aku-radius); }

/* QR */
.aku-qr { margin: 0; display: inline-grid; gap: 8px; justify-items: center; text-align: center; }
.aku-qr__code { background: #fff; padding: 8px; border-radius: var(--aku-radius); }
.aku-qr__code svg { display: block; width: 100%; height: auto; }
.aku-qr figcaption { font-size: 0.85em; color: var(--aku-muted); }

/* Reservation form */
.aku-res { display: grid; gap: 1rem; }
.aku-res__title { margin: 0; }
.aku-res__notice { margin: 0; padding: .8rem 1rem; border-radius: var(--aku-radius); border: 1px solid; }
.aku-res__notice.is-success { border-color: #2e9d5b; }
.aku-res__notice.is-error { border-color: #c0392b; }
.aku-res__form { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 1rem; }
.aku-res__field { margin: 0; display: grid; gap: .35rem; min-width: 0; }
.aku-res__field--wide, .aku-res__actions { grid-column: 1 / -1; }
.aku-res__field label { font-size: .85em; color: var(--aku-muted); }
.aku-res__field input, .aku-res__field textarea { font: inherit; color: inherit; background: var(--aku-surface); border: 1px solid var(--aku-line); border-radius: var(--aku-radius); padding: .7em .8em; width: 100%; box-sizing: border-box; }
.aku-res__field input:focus, .aku-res__field textarea:focus { outline: 2px solid var(--aku-accent); outline-offset: 1px; }
.aku-res__actions { margin: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.aku-res__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Carte with photos: a small picture beside the dish, and an optional section photo. */
.aku-dish.has-thumb { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 1rem; align-items: start; }
.aku-dish__thumb { overflow: hidden; border-radius: var(--aku-radius); aspect-ratio: 1; }
.aku-dish__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aku-menu__group.has-cover { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.aku-menu__cover { margin: 0; position: sticky; top: 6rem; overflow: hidden; border-radius: var(--aku-radius); }
.aku-menu__cover img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.aku-menu__main { display: grid; gap: inherit; min-width: 0; }
@media (max-width: 760px) {
	.aku-menu__group.has-cover { grid-template-columns: 1fr; }
	.aku-menu__cover { position: static; }
	.aku-menu__cover img { aspect-ratio: 16 / 9; }
}
