/* La Pampa Restaurant – Komponenten (nutzt die Design-Tokens des Themes, mit Fallbacks) */
.lp-res, .lp-menu, .lp-hours, .lp-map, .lp-featured {
	--_bg: var(--wp--preset--color--carbon, #12100E);
	--_surface: var(--wp--preset--color--humo, #1E1B18);
	--_surface2: var(--wp--preset--color--tierra, #2A2622);
	--_text: var(--wp--preset--color--crema, #F5EFE6);
	--_muted: var(--wp--preset--color--ceniza, #BDB6AC);
	--_brand: var(--wp--preset--color--brasa, #FF7B00);
	--_line: rgba(245, 239, 230, .14);
	--_serif: var(--wp--preset--font-family--lora, Georgia, serif);
	--_sans: var(--wp--preset--font-family--inter, system-ui, sans-serif);
	--_ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Buttons ---------- */
.lp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font: 600 .8125rem/1 var(--_sans, sans-serif); letter-spacing: .14em; text-transform: uppercase;
	padding: 1.05em 1.8em; border-radius: 2px; border: 1px solid transparent;
	text-decoration: none; cursor: pointer; transition: background .25s var(--_ease), color .25s, border-color .25s, transform .25s var(--_ease);
}
.lp-btn--primary { background: var(--_brand, #FF7B00); color: #12100E; }
.lp-btn--primary:hover { background: #FF9433; transform: translateY(-1px); }
.lp-btn--ghost { background: transparent; color: var(--_text, #F5EFE6); border-color: rgba(245, 239, 230, .4); }
.lp-btn--ghost:hover { border-color: var(--_brand, #FF7B00); color: var(--_brand, #FF7B00); }
.lp-btn--lg { padding: 1.25em 2.4em; font-size: .875rem; }
.lp-btn:focus-visible { outline: 2px solid var(--_brand, #FF7B00); outline-offset: 3px; }
.lp-btn[disabled] { opacity: .6; cursor: progress; }
.lp-btn.is-loading::after { content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: lp-spin .7s linear infinite; }
@keyframes lp-spin { to { transform: rotate(360deg); } }

.lp-notice { padding: 1rem 1.25rem; border-left: 3px solid var(--_brand, #FF7B00); background: rgba(255, 123, 0, .08); }
.lp-eyebrow { font: 600 .75rem/1.2 var(--_sans); letter-spacing: .22em; text-transform: uppercase; color: var(--_brand); margin: 0 0 .6rem; }

/* ---------- Öffnungszeiten ---------- */
.lp-hours { margin: 0; display: grid; gap: 0; }
.lp-hours__row { display: flex; justify-content: space-between; gap: 1.5rem; padding: .55rem 0; border-bottom: 1px solid var(--_line); }
.lp-hours__row dt { font-weight: 500; }
.lp-hours__row dd { margin: 0; color: var(--_muted); font-variant-numeric: tabular-nums; text-align: right; }
.lp-hours__row.is-today dt, .lp-hours__row.is-today dd { color: var(--_brand); }
.lp-hours__note { color: var(--_muted); font-size: .9em; margin-top: .75rem; }

/* ---------- Karte (2-Klick) ---------- */
.lp-map { position: relative; aspect-ratio: 16 / 10; background: var(--_surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 40L40 0M-10 10L10-10M30 50L50 30' stroke='%23F5EFE6' stroke-opacity='.05'/%3E%3C/svg%3E"); border: 1px solid var(--_line); overflow: hidden; }
.lp-map__consent { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(1.25rem, 4vw, 2.5rem); max-width: 34rem; }
.lp-map__title { font: 500 1.5rem/1.2 var(--_serif); margin: 0 0 .5rem; }
.lp-map__consent p { margin: 0 0 1rem; color: var(--_muted); font-size: .9rem; }
.lp-map__consent a:not(.lp-btn) { color: var(--_text); }
.lp-map__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.lp-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Speisekarte ---------- */
.lp-menu-nav { position: sticky; top: var(--lp-header-h, 72px); z-index: 5; background: color-mix(in srgb, var(--_bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--_line); margin: 0 0 2.5rem; }
.lp-menu-nav ul { display: flex; gap: .25rem; overflow-x: auto; list-style: none; margin: 0; padding: .75rem 0; scrollbar-width: none; }
.lp-menu-nav ul::-webkit-scrollbar { display: none; }
.lp-menu-nav a { display: block; white-space: nowrap; padding: .55rem 1rem; font: 500 .8125rem/1 var(--_sans); letter-spacing: .06em; color: var(--_muted); text-decoration: none; border-radius: 99px; border: 1px solid transparent; transition: .2s; }
.lp-menu-nav a:hover { color: var(--_text); border-color: var(--_line); }
.lp-menu-nav a.is-active { color: #12100E; background: var(--_brand); }
.lp-menu-section { scroll-margin-top: calc(var(--lp-header-h, 72px) + 70px); padding: 0 0 3.5rem; }
.lp-menu-section__head { margin-bottom: 1.5rem; }
.lp-menu-section__head h2 { margin: 0; }
.lp-menu-section__intro { color: var(--_muted); max-width: 40rem; }
.lp-dishes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 4rem; }
@media (min-width: 900px) { .lp-dishes { grid-template-columns: 1fr 1fr; } }
.lp-dish { padding: 1.1rem 0; border-bottom: 1px solid var(--_line); }
.lp-dish__head { display: flex; align-items: baseline; gap: .75rem; }
.lp-dish__name { font: 500 1.125rem/1.35 var(--_serif); margin: 0; }
.lp-dish__no { font: 500 .75rem/1 var(--_sans); color: var(--_muted); margin-right: .6rem; font-variant-numeric: tabular-nums; }
.lp-dish__leader { flex: 1; border-bottom: 1px dotted rgba(245, 239, 230, .3); transform: translateY(-.3em); min-width: 1rem; }
.lp-dish__price { font: 600 1rem/1 var(--_sans); color: var(--_brand); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-dish__desc { margin: .35rem 0 0; color: var(--_muted); font-size: .9375rem; line-height: 1.55; }
.lp-dish__size { white-space: nowrap; opacity: .8; }
.lp-badge { display: inline-block; font: 600 .625rem/1 var(--_sans); letter-spacing: .08em; text-transform: uppercase; padding: .3em .55em; border-radius: 99px; border: 1px solid #7fae6a; color: #a9d391; vertical-align: middle; }
.lp-dish__add { font: 500 .625rem/1 var(--_sans); color: var(--_muted); margin-left: .2em; }
.lp-variants { list-style: none; margin: .5rem 0 0; padding: 0; }
.lp-variants li { display: flex; align-items: baseline; gap: .75rem; padding: .2rem 0; font-size: .9375rem; color: var(--_muted); font-variant-numeric: tabular-nums; }
.lp-variant__size { white-space: nowrap; }
.lp-menu-note { color: var(--_muted); font-size: .875rem; }

/* ---------- Empfehlungen ---------- */
.lp-featured { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lp-featured__item { background: var(--_surface); border: 1px solid var(--_line); overflow: hidden; transition: transform .4s var(--_ease), border-color .3s; }
.lp-featured__item:hover { transform: translateY(-4px); border-color: rgba(255, 123, 0, .5); }
.lp-featured__img { aspect-ratio: 4 / 3; overflow: hidden; }
.lp-featured__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--_ease); }
.lp-featured__item:hover img { transform: scale(1.05); }
.lp-featured__body { padding: 1.5rem; }
.lp-featured__body h3 { font: 500 1.375rem/1.25 var(--_serif); margin: 0 0 .5rem; }
.lp-featured__body p { color: var(--_muted); margin: 0; }
.lp-featured__price { margin-top: 1rem !important; color: var(--_brand) !important; font-weight: 600; }

/* ---------- Reservierung ---------- */
.lp-res { color: var(--_text); }
.lp-res--off { padding: 1.5rem; border: 1px solid var(--_line); background: var(--_surface); }
.lp-res__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem; }
.lp-res__label { display: flex; align-items: center; gap: .75rem; font: 500 1.25rem/1.2 var(--_serif); margin: 0 0 1rem; }
.lp-res__label span { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--_brand); color: var(--_brand); font: 600 .8125rem/1 var(--_sans); }
.lp-res__hint { color: var(--_muted); font-size: .875rem; margin: .75rem 0 0; }
.lp-res__hint a, .lp-res__legal a { color: var(--_text); }

.lp-chip { position: relative; display: inline-block; }
.lp-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lp-chip span { display: grid; place-items: center; min-width: 3rem; height: 3rem; padding: 0 .9rem; border: 1px solid var(--_line); border-radius: 2px; font: 500 1rem/1 var(--_sans); font-variant-numeric: tabular-nums; transition: .2s var(--_ease); background: var(--_surface); }
.lp-chip input:hover + span { border-color: rgba(255, 123, 0, .6); }
.lp-chip input:checked + span { background: var(--_brand); color: #12100E; border-color: var(--_brand); font-weight: 600; }
.lp-chip input:focus-visible + span { outline: 2px solid var(--_brand); outline-offset: 2px; }
.lp-chip input:disabled + span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.lp-res__persons, .lp-res__slotgrid { display: flex; flex-wrap: wrap; gap: .5rem; }
.lp-chip--time span { min-width: 4.5rem; }

.lp-cal { max-width: 24rem; background: var(--_surface); border: 1px solid var(--_line); padding: 1rem; }
.lp-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.lp-cal__title { margin: 0; font: 500 1.0625rem/1 var(--_serif); }
.lp-cal__nav { width: 2.5rem; height: 2.5rem; border: 1px solid var(--_line); background: transparent; color: var(--_text); font-size: 1.25rem; border-radius: 2px; cursor: pointer; }
.lp-cal__nav:disabled { opacity: .25; cursor: default; }
.lp-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .25rem; }
.lp-cal__dow { text-align: center; font: 600 .6875rem/2 var(--_sans); letter-spacing: .1em; text-transform: uppercase; color: var(--_muted); }
.lp-cal__day { aspect-ratio: 1; border: 1px solid transparent; background: transparent; color: var(--_text); font: 500 .9375rem/1 var(--_sans); border-radius: 2px; cursor: pointer; transition: .15s; font-variant-numeric: tabular-nums; }
.lp-cal__day:not(:disabled):hover { border-color: var(--_brand); }
.lp-cal__day:disabled { color: rgba(245, 239, 230, .22); cursor: not-allowed; }
.lp-cal__day.is-today { box-shadow: inset 0 -2px 0 var(--_brand); }
.lp-cal__day.is-selected { background: var(--_brand); color: #12100E; font-weight: 700; }
.lp-cal__day:focus-visible, .lp-cal__nav:focus-visible { outline: 2px solid var(--_brand); outline-offset: 2px; }

.lp-res__fields { display: grid; gap: 1rem 1.25rem; grid-template-columns: 1fr; max-width: 40rem; }
@media (min-width: 640px) { .lp-res__fields { grid-template-columns: 1fr 1fr; } .lp-field--wide { grid-column: 1 / -1; } }
.lp-field { margin: 0; }
.lp-field label { display: block; font: 500 .8125rem/1.4 var(--_sans); letter-spacing: .04em; margin-bottom: .4rem; }
.lp-field label span { color: var(--_muted); font-weight: 400; }
.lp-field input[type=text], .lp-field input[type=tel], .lp-field input[type=email], .lp-field textarea {
	width: 100%; box-sizing: border-box; padding: .9rem 1rem; background: var(--_surface); color: var(--_text);
	border: 1px solid var(--_line); border-radius: 2px; font: 400 1rem/1.4 var(--_sans); transition: border-color .2s;
}
.lp-field input:focus, .lp-field textarea:focus { outline: none; border-color: var(--_brand); box-shadow: 0 0 0 3px rgba(255, 123, 0, .2); }
.lp-field [aria-invalid="true"] { border-color: #e5484d; }
.lp-field--check label { display: flex; gap: .75rem; font-weight: 400; color: var(--_muted); line-height: 1.5; letter-spacing: 0; }
.lp-field--check input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--_brand); flex: none; }
.lp-field--check a { color: var(--_text); }
.lp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lp-res__summary { margin-top: 2rem; padding: 0; max-height: 0; overflow: hidden; transition: .3s var(--_ease); font: 500 1.0625rem/1.4 var(--_serif); color: var(--_brand); }
.lp-res__summary.is-visible { max-height: 6rem; padding: 1rem 0; border-top: 1px solid var(--_line); }
.lp-res__error { margin: 1rem 0 0; padding: .9rem 1rem; border-left: 3px solid #e5484d; background: rgba(229, 72, 77, .1); }
.lp-res__submit { margin: 1.5rem 0 .75rem; }
.lp-res__legal { color: var(--_muted); font-size: .8125rem; margin: 0; }
.lp-res__done { padding: clamp(1.5rem, 5vw, 3rem); border: 1px solid var(--_line); background: var(--_surface); text-align: center; outline: none; }
.lp-res__done h3 { font: 500 1.75rem/1.2 var(--_serif); margin: .5rem 0 1rem; }
.lp-res__done p { color: var(--_muted); max-width: 32rem; margin: 0 auto; }
.lp-res__done-icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--_brand); color: #12100E !important; font-size: 1.5rem; }
.lp-res__done.is-pending .lp-res__done-icon { background: transparent; border: 1px solid var(--_brand); color: var(--_brand) !important; }

@media (prefers-reduced-motion: reduce) {
	.lp-res *, .lp-menu *, .lp-featured * { transition: none !important; animation: none !important; }
}
