/* Bestellshop von New Delhi (08.11.2026): Karte, Warenkorb, Kasse, Statusseite. Daten, Preise und Zeiten kommen aus
   dem Analytics Hub (lib/shop/), diese Seite zeigt sie nur. Ersetzt seinen Shop bei FoodAmigos
   (https://www.newdelhis.com/speisekarte/newdelhirestaurant). */

.shop-kopf { background-color: var(--flaeche); background-image: var(--muster); background-size: 180px 180px; border-bottom: 1px solid var(--linie); padding-block: clamp(1.75rem, 5vw, 3rem) 1.25rem; }
.shop-kopf h1 { font-weight: 800; text-transform: uppercase; color: var(--rot); font-size: clamp(1.7rem, 6vw, 2.8rem); }
.shop-status { margin-top: .4rem; color: var(--leise); display: flex; align-items: flex-start; gap: .5rem; font-size: .95rem; }
.punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--sehr-leise); flex: none; margin-top: .5em; }
.punkt.offen { background: var(--gruen); box-shadow: 0 0 0 4px rgba(51, 196, 122, .2); }
.punkt.zu { background: var(--rot-hell); }
.shop-wahl { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; align-items: center; }
.art-wahl { display: inline-grid; grid-template-columns: 1fr 1fr; background: #000; border: 1px solid var(--linie-hell); border-radius: 999px; padding: 4px; }
.art-wahl button { border: 0; background: transparent; color: var(--leise); border-radius: 999px; padding: .65rem 1.2rem; font-weight: 600; font-size: .95rem; cursor: pointer; display: inline-flex; gap: .45rem; align-items: center; justify-content: center; min-width: 8.5rem; }
.art-wahl button[aria-pressed="true"] { background: var(--rot); color: #fff; }
.art-wahl button[disabled] { opacity: .4; cursor: not-allowed; }
.zeit-knopf { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--linie-hell); background: #000; border-radius: 999px; padding: .7rem 1.1rem; font-weight: 600; font-size: .92rem; cursor: pointer; max-width: 100%; }
.zeit-knopf span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-hinweise { display: grid; gap: .5rem; margin-top: 1rem; }
.shop-hinweis { display: flex; gap: .6rem; align-items: flex-start; padding: .75rem 1rem; border-radius: var(--radius-klein); font-size: .92rem; background: #000; border: 1px solid var(--linie-hell); }
.shop-hinweis.rot { background: rgba(202, 22, 21, .18); border-color: rgba(229, 48, 46, .55); }
.shop-hinweis.gelb { background: rgba(245, 185, 65, .1); border-color: rgba(245, 185, 65, .45); color: #ffe2a6; }
.shop-hinweis.gruen { background: rgba(51, 196, 122, .1); border-color: rgba(51, 196, 122, .45); }

.kategorien { position: sticky; top: var(--kopf); z-index: 20; background: rgba(5, 5, 5, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.kategorien-innen { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: .75rem var(--rand); max-width: 1440px; margin: 0 auto; align-items: center; }
.kategorien-innen::-webkit-scrollbar { display: none; }
.kategorien a { flex: none; text-decoration: none; font-size: .88rem; font-weight: 600; padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--linie-hell); color: var(--leise); white-space: nowrap; }
.kategorien a[aria-current="true"] { background: #fff; color: #000; border-color: #fff; }
.suche { flex: none; position: relative; }
.suche input { min-height: 38px; width: 12rem; border-radius: 999px; border: 1px solid var(--linie-hell); background: #000; color: #fff; padding: .4rem .9rem .4rem 2.2rem; font-size: 16px; }
.suche svg { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--sehr-leise); }

.shop-raster { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2rem; align-items: start; padding-block: 1.5rem 7rem; }
@media (max-width: 1020px) { .shop-raster { grid-template-columns: minmax(0, 1fr); } .korb-seite { display: none; } }

.karte-abschnitt { padding-top: 1.25rem; }
.karte-abschnitt + .karte-abschnitt { margin-top: 1.25rem; }
.karte-abschnitt > h2 { font-weight: 800; text-transform: uppercase; font-size: clamp(1.25rem, 3.5vw, 1.6rem); color: #fff; display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.karte-abschnitt > h2::before { content: ""; width: 6px; height: 1.1em; background: var(--rot); border-radius: 3px; align-self: center; }
.karte-abschnitt > p { color: var(--sehr-leise); font-size: .9rem; margin-top: .35rem; }
.gerichte { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .9rem; margin-top: 1rem; }
@media (max-width: 680px) { .gerichte { grid-template-columns: 1fr; } }
.gericht { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .9rem; padding: 1rem; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); cursor: pointer; text-align: left; color: inherit; width: 100%; transition: border-color .15s ease, transform .15s ease; }
@media (hover: hover) { .gericht:hover { border-color: rgba(229, 48, 46, .7); } }
.gericht:active { transform: scale(.99); }
.gericht h3 { font-size: 1.02rem; font-weight: 700; }
.gericht .nr { color: var(--sehr-leise); font-weight: 500; margin-right: .3rem; font-size: .9rem; }
.gericht p { color: var(--leise); font-size: .88rem; line-height: 1.5; margin-top: .3rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gericht .preis { margin-top: .55rem; display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.gericht .preis strong { font-size: 1.02rem; }
.gericht .preis s { color: var(--sehr-leise); font-size: .88rem; }
.gericht .zusatz { font-size: .76rem; color: var(--sehr-leise); margin-top: .2rem; }
.gericht .bild { width: 104px; height: 104px; border-radius: var(--radius-klein); object-fit: cover; }
.gericht .plus { position: absolute; right: .8rem; bottom: .8rem; width: 38px; height: 38px; border-radius: 50%; background: var(--rot); color: #fff; display: grid; place-items: center; border: 0; font-size: 1.4rem; line-height: 1; pointer-events: none; }
.gericht.mit-bild .plus { right: 1.1rem; bottom: 1.1rem; box-shadow: 0 4px 12px rgba(0,0,0,.6); }
.gericht .im-korb { position: absolute; top: .7rem; right: .8rem; background: #fff; color: #000; border-radius: 999px; font-size: .75rem; font-weight: 800; padding: .1rem .5rem; }
.gericht.mit-bild .im-korb { right: 1rem; }
.gericht.aus { cursor: default; opacity: .5; }
.gericht.aus .plus { display: none; }
.merkmale { display: inline-flex; gap: .3rem; margin-left: .2rem; vertical-align: middle; }
.merkmal { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .1rem .45rem; border-radius: 999px; border: 1px solid var(--linie-hell); color: var(--leise); }
.merkmal.vegan, .merkmal.vegetarisch { border-color: rgba(51, 196, 122, .6); color: #8ee6b6; }
.merkmal.scharf { border-color: rgba(229, 48, 46, .7); color: #ff9c9a; }
.nichts-gefunden { color: var(--sehr-leise); padding: 2rem 0; text-align: center; }

/* Warenkorb */
.korb-seite { position: sticky; top: calc(var(--kopf) + 70px); }
.korb { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.1rem; display: grid; gap: .9rem; }
.korb h2 { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; }
.korb-leer { color: var(--sehr-leise); font-size: .92rem; text-align: center; padding: 1.5rem .5rem; }
.korb-zeilen { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; max-height: 46vh; overflow-y: auto; }
.korb-zeile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .6rem; align-items: start; }
.korb-zeile .name { font-weight: 600; font-size: .92rem; }
.korb-zeile small { display: block; color: var(--sehr-leise); font-size: .8rem; }
.korb-zeile .betrag { font-size: .92rem; text-align: right; white-space: nowrap; }
.korb-zeile .betrag s { display: block; color: var(--sehr-leise); font-size: .78rem; }
.menge { display: inline-flex; align-items: center; border: 1px solid var(--linie-hell); border-radius: 999px; }
.menge button { width: 32px; height: 32px; border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 1.1rem; border-radius: 50%; }
.menge span { min-width: 1.4rem; text-align: center; font-weight: 700; font-size: .9rem; }
.summen { border-top: 1px dashed var(--linie-hell); padding-top: .75rem; display: grid; gap: .3rem; font-size: .92rem; }
.summen div { display: flex; justify-content: space-between; gap: 1rem; color: var(--leise); }
.summen .gesamt { color: #fff; font-weight: 800; font-size: 1.1rem; padding-top: .3rem; }
.summen .rabatt { color: #8ee6b6; }
.summen .steuer { font-size: .78rem; color: var(--sehr-leise); justify-content: flex-end; }
.korb .knopf { width: 100%; }
.korb-hinweis { font-size: .85rem; color: var(--gelb); }

.korb-leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .75rem var(--rand) calc(.75rem + env(safe-area-inset-bottom)); background: rgba(0, 0, 0, .96); border-top: 1px solid var(--linie); display: none; }
.korb-leiste .knopf { width: 100%; justify-content: space-between; text-transform: none; letter-spacing: 0; font-size: 1rem; }
@media (max-width: 1020px) { .korb-leiste.zeigen { display: block; } }

/* Fenster (Gericht, Zeit, Warenkorb am Handy, Kasse) */
.fenster-hg { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .72); display: grid; place-items: center; padding: 1rem; }
.fenster-hg[hidden] { display: none; }
.fenster { width: min(560px, 100%); max-height: min(92vh, 900px); overflow: auto; background: var(--flaeche); border: 1px solid var(--linie-hell); border-radius: 22px; padding: 1.4rem; position: relative; overscroll-behavior: contain; }
.fenster.breit { width: min(760px, 100%); }
.fenster h2 { font-size: 1.3rem; font-weight: 800; padding-right: 2.5rem; }
.fenster .zu { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linie-hell); background: #000; color: #fff; cursor: pointer; display: grid; place-items: center; }
.fenster .fenster-bild { width: calc(100% + 2.8rem); margin: -1.4rem -1.4rem 1rem; max-width: none; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px 22px 0 0; }
.fenster p.text { color: var(--leise); margin-top: .5rem; font-size: .95rem; }
.fenster-fuss { position: sticky; bottom: -1.4rem; margin: 1.25rem -1.4rem -1.4rem; padding: 1rem 1.4rem calc(1rem + env(safe-area-inset-bottom)); background: var(--flaeche); border-top: 1px solid var(--linie); display: flex; gap: .75rem; align-items: center; }
.fenster-fuss .knopf { flex: 1; }
/* Fuß der Fenster (Gericht, Kasse): Knopftexte am Handy in einer Zeile, 320 px über cqi (Regel 360 bis 440 px einzeilig).
   Gemessen am 08.11.2026, Poppins 600 mit .08em Laufweite, Breite je Pixel Schriftgröße: „Zahlungspflichtig bestellen“
   17,74, „In den Warenkorb“ 11,13, „· 199,99 €“ 5,47. Erst ab 430 px Fußbreite passt der Betrag mit in den Knopf; darunter
   steht er in einer eigenen Zeile über dem Knopf. */
.fenster-fuss { container-type: inline-size; flex-wrap: wrap; }
.fenster-fuss .knopf { padding-inline: 1.2em; }
.fenster-fuss .knopf[data-bestellen] { font-size: min(.95rem, 4.75cqi); }
.fuss-betrag { display: none; }
@container (max-width: 429.98px) {
  .fenster-fuss .knopf { flex: 1 1 100%; }
  .fenster-fuss .knopf-betrag { display: none; }
  .fuss-betrag { display: flex; flex: 1; justify-content: space-between; align-items: baseline; gap: .75rem; font-size: .95rem; color: var(--leise); }
  .fuss-betrag:only-child, .fuss-betrag:empty { display: none; }
  .menge + .fuss-betrag { justify-content: flex-end; }
  .fuss-betrag strong { color: #fff; font-size: 1.1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
}
@media (max-width: 640px) {
  .fenster-hg { padding: 0; align-items: end; }
  .fenster { border-radius: 22px 22px 0 0; max-height: 94vh; width: 100%; }
  .fenster .fenster-bild { border-radius: 22px 22px 0 0; }
}
.optionen { margin-top: 1.25rem; }
.optionen fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.optionen legend { font-weight: 700; margin-bottom: .5rem; display: flex; gap: .5rem; align-items: center; }
.optionen legend small { color: var(--sehr-leise); font-weight: 500; }
.option { display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; border: 1px solid var(--linie); border-radius: var(--radius-klein); margin-bottom: .45rem; cursor: pointer; background: #000; }
.option input { width: 20px; height: 20px; accent-color: var(--rot); }
.option span { flex: 1; }
.option em { font-style: normal; color: var(--leise); font-size: .9rem; }
.option.aus { opacity: .45; cursor: not-allowed; }

.zeit-tage { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-top: 1rem; scrollbar-width: thin; }
.zeit-tage button, .zeit-raster button { border: 1px solid var(--linie-hell); background: #000; color: #fff; border-radius: 12px; padding: .55rem .8rem; cursor: pointer; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.zeit-tage button[aria-pressed="true"], .zeit-raster button[aria-pressed="true"] { background: var(--rot); border-color: var(--rot); }
.zeit-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .45rem; margin-top: .75rem; max-height: 40vh; overflow-y: auto; }
.zeit-sofort { width: 100%; text-align: left; margin-top: 1rem; }

/* Kasse */
.kasse-abschnitt { margin-top: 1.4rem; }
.kasse-abschnitt > h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--leise); margin-bottom: .7rem; font-weight: 600; }
.vorschlaege { position: relative; }
.vorschlaege ul { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 5; list-style: none; margin: 0; padding: .35rem; background: #111; border: 1px solid var(--linie-hell); border-radius: var(--radius-klein); max-height: 260px; overflow-y: auto; box-shadow: 0 16px 40px rgba(0,0,0,.6); }
.vorschlaege li button { width: 100%; text-align: left; border: 0; background: transparent; color: #fff; padding: .65rem .75rem; border-radius: 8px; cursor: pointer; }
.vorschlaege li button small { color: var(--sehr-leise); margin-left: .4rem; }
.vorschlaege li button:hover, .vorschlaege li button[aria-selected="true"] { background: var(--karte-2); }
.zone-info { font-size: .88rem; padding: .65rem .9rem; border-radius: var(--radius-klein); }
.zahlarten { display: grid; gap: .5rem; }
.zahlart { display: flex; gap: .75rem; align-items: center; padding: .85rem 1rem; border: 1px solid var(--linie-hell); border-radius: var(--radius-klein); background: #000; cursor: pointer; }
.zahlart input { width: 20px; height: 20px; accent-color: var(--rot); }
.zahlart span { flex: 1; }
.zahlart small { display: block; color: var(--sehr-leise); }
.zahlart:has(input:checked) { border-color: var(--rot); }
.trinkgeld { display: flex; gap: .45rem; flex-wrap: wrap; }
.trinkgeld button { border: 1px solid var(--linie-hell); background: #000; color: #fff; border-radius: 999px; padding: .5rem 1rem; cursor: pointer; font-weight: 600; }
.trinkgeld button[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.rechtliches { font-size: .8rem; color: var(--sehr-leise); margin-top: 1rem; }
.rechtliches a { color: var(--leise); }

/* Statusseite */
.status-seite { padding-block: 2rem 5rem; max-width: 720px; }
.status-karte { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2rem); }
.status-gross { font-size: clamp(1.5rem, 5vw, 2.2rem); font-weight: 800; line-height: 1.2; margin-top: .4rem; }
.status-nr { color: var(--sehr-leise); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }
.schritte { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.schritte li { display: flex; gap: .75rem; align-items: center; color: var(--sehr-leise); }
.schritte li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--linie-hell); flex: none; }
.schritte li.erledigt { color: #fff; }
.schritte li.erledigt::before { background: var(--gruen); border-color: var(--gruen); }
.schritte li.jetzt { color: #fff; font-weight: 700; }
.schritte li.jetzt::before { background: var(--rot); border-color: var(--rot); box-shadow: 0 0 0 5px rgba(202, 22, 21, .25); animation: puls 1.6s ease-in-out infinite; }
@keyframes puls { 50% { box-shadow: 0 0 0 9px rgba(202, 22, 21, .05); } }
.status-positionen { list-style: none; margin: 1.25rem 0 0; padding: 1rem 0 0; border-top: 1px dashed var(--linie-hell); display: grid; gap: .4rem; }
.status-positionen li { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.status-positionen small { display: block; color: var(--sehr-leise); }

/* Gutschein und Aktionen (lib/shop/aktionen.js im Hub) */
.code-zeile { display: flex; gap: .5rem; }
.code-zeile .feld { flex: 1; min-width: 0; }
.aktion-marke { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .03em; padding: .12rem .5rem; border-radius: 999px; background: var(--rot); color: #fff; }
