/* modules/order.css – Bestellseite, Menü, Konfigurator */
/* ── Order Layout ─────────────────────────────────────── */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}
.menu-col { display: flex; flex-direction: column; gap: 0; }
.config-col { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 70px; }
.menu-shop-title { font-size: 13px; font-weight: 600; color: #999; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }

/* ── Aufklappbare Kategorien ─────────────────────────── */
.menu-cat-block { background: #fff; border: 1px solid var(--border); border-radius: var(--rl); margin-bottom: .5rem; overflow: hidden; }
.menu-cat-header {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; color: #1a1a1a;
  gap: 8px; text-align: left;
}
.menu-cat-header:hover { background: #fafaf8; }
.menu-cat-header.open  { border-bottom: 1px solid var(--border); }
.cat-count { font-size: 11px; font-weight: 600; background: var(--bg); color: #999; border-radius: 99px; padding: 1px 7px; margin-left: auto; }
.cat-arrow { font-size: 10px; color: #bbb; }
.menu-cat-body { display: none; padding: .375rem .5rem; }
.menu-cat-body.open { display: block; }

/* ── Gericht-Karte (menu-item2) ─────────────────────── */
.menu-item2 {
  display: flex; align-items: center; justify-content: space-between;
  padding: .625rem .75rem; border-radius: var(--r); cursor: pointer;
  transition: background .1s; gap: 8px; margin-bottom: 2px;
}
.menu-item2:hover { background: var(--green-l); }
.menu-item2.selected { background: var(--green-l); }
.mi2-info { flex: 1; min-width: 0; }
.mi2-name { font-size: 14px; font-weight: 500; color: #1a1a1a; }
.mi2-zutaten { font-size: 11px; color: #bbb; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mi2-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.mi2-price { font-size: 13px; font-weight: 600; color: var(--green-d); white-space: nowrap; }
.mi2-check { font-size: 13px; font-weight: 700; color: var(--green); }

/* ── Konfigurator ────────────────────────────────────── */
.zutaten-section { margin-bottom: .5rem; }
.zutaten-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #bbb; margin-bottom: .5rem; }
.zutaten-label small { font-size: 10px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.zutat-chips { display: flex; flex-wrap: wrap; gap: 5px; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 680px) {
  .order-layout { grid-template-columns: 1fr; }
  .config-col { position: static; }
}
.shop-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--border);
}
.shop-tab {
  padding: 7px 14px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: #f8f8f6;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all .12s;
  white-space: nowrap;
}
.shop-tab:hover { border-color: #bbb; background: #f0f0ec; }
.shop-tab.active { background: var(--green-l); border-color: var(--green); color: var(--green-d); }
.shop-tab.disabled { opacity: .4; cursor: not-allowed; background: #f8f8f6; }
.shop-tab.disabled:hover { border-color: var(--border); background: #f8f8f6; }

/* Zutaten-Chips beim Bestellen */
.zutat-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid var(--border);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  background: #f8f8f6;
  color: #555;
  transition: all .12s;
}
.zutat-chip input { display: none; }
.zutat-chip:hover { border-color: #bbb; }
.zutat-chip.active { background: var(--green-l); border-color: var(--green); color: var(--green-d); font-weight: 500; }

/* Cart add-row alignment */
#add-cart-btn { height: 36px; align-self: flex-end; margin-bottom: 0; }


/* Nochmal-bestellen Karte */
.reorder-card { background: linear-gradient(to right, #fff, var(--green-l)); border-color: #c9e8db; }
