/* =========================================
   PIZZA INN – BESTELLKORB
   Separates, rückgängig machbares System
   ========================================= */

.menu-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.menu-add-button {
  min-height: 38px;
  padding: 0 13px;
  color: #ffffff;
  background: #b73224;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.menu-add-button:hover {
  background: #942116;
  transform: translateY(-2px);
}

.order-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  color: #ffffff;
  background: #1f1a17;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.order-fab:hover {
  background: #b73224;
  transform: translateY(-3px);
}

.order-badge {
  display: inline-grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: #1f1a17;
  background: #f4cf75;
  border-radius: 50%;
  font-size: 0.74rem;
}

.order-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1200;
  width: min(460px, 100%);
  height: 100dvh;
  padding: 28px;
  overflow-y: auto;
  color: #201d19;
  background: #f8f4ee;
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.18);
  transform: translateX(105%);
  transition: transform 0.32s ease;
}

.order-drawer.is-open {
  transform: translateX(0);
}

.order-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(32, 29, 25, 0.12);
}

.order-drawer-eyebrow {
  margin: 0 0 5px;
  color: #b73224;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.order-drawer h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.order-close-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #201d19;
  background: #ffffff;
  border: 1px solid rgba(32, 29, 25, 0.1);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
}

.order-number {
  margin: 18px 0;
  padding: 10px 12px;
  color: #6f665d;
  background: rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  font-size: 0.82rem;
}

.order-items {
  display: grid;
  gap: 10px;
}

.order-empty {
  padding: 20px;
  color: #6f665d;
  background: rgba(255, 255, 255, 0.64);
  border-radius: 10px;
  text-align: center;
}

.order-item {
  padding: 15px;
  background: #ffffff;
  border: 1px solid rgba(32, 29, 25, 0.08);
  border-radius: 12px;
}

.order-item-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.order-item-name {
  margin: 0;
  font-weight: 800;
}

.order-item-number {
  color: #857a70;
  font-size: 0.77rem;
}

.order-item-price {
  white-space: nowrap;
  color: #b73224;
  font-weight: 800;
}

.order-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.order-quantity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.order-quantity button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #201d19;
  background: #f2ede5;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
}

.order-remove {
  color: #8e281d;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
}

.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(32, 29, 25, 0.15);
  font-size: 1.2rem;
  font-weight: 800;
}

.order-total strong {
  color: #b73224;
  font-size: 1.5rem;
}

.order-form {
  display: grid;
  gap: 12px;
}

.order-form label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 800;
}

.order-form input {
  width: 100%;
  box-sizing: border-box;
  min-height: 47px;
  padding: 0 13px;
  color: #201d19;
  background: #ffffff;
  border: 1px solid rgba(32, 29, 25, 0.16);
  border-radius: 9px;
  font: inherit;
}

.order-form input:focus {
  border-color: #b73224;
  outline: 3px solid rgba(183, 50, 36, 0.16);
}

.order-actions {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.order-send-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 16px;
  color: #ffffff;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.order-whatsapp {
  background: #168b50;
}

.order-sms {
  background: #b73224;
}

.order-send-button:hover {
  filter: brightness(0.94);
}

.order-status {
  min-height: 20px;
  margin: 2px 0 0;
  color: #b73224;
  font-size: 0.82rem;
  font-weight: 700;
}

.order-note {
  margin: 18px 0 0;
  color: #746b62;
  font-size: 0.78rem;
  line-height: 1.55;
}

body.order-drawer-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .menu-card-actions {
    width: 100%;
    justify-content: space-between;
    margin-top: 12px;
  }

  .menu-card {
    flex-wrap: wrap;
  }

  .order-fab {
    right: 16px;
    bottom: 16px;
    min-height: 50px;
    padding: 0 15px;
  }

  .order-drawer {
    padding: 22px 18px;
  }
}


/* FIX: MENU ADD BUTTON SICHTBAR */
.menu-card-left {
  min-width: 0 !important;
}

.menu-card-actions {
  display: flex !important;
  min-width: 122px !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 9px !important;
}

.menu-add-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 116px !important;
  white-space: nowrap !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 900px) {
  .menu-card-actions {
    min-width: 105px !important;
  }

  .menu-add-button {
    min-width: 104px !important;
    padding: 0 10px !important;
    font-size: 0.75rem !important;
  }
}

@media (max-width: 640px) {
  .menu-card-actions {
    width: 100% !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .menu-add-button {
    min-width: 122px !important;
  }
}

/* GANZE SPEISEKARTE KLICKBAR */
.menu-card-clickable {
  cursor: pointer !important;
}

.menu-card-clickable:hover {
  border-color: rgba(183, 50, 36, 0.5) !important;
  box-shadow: 0 16px 30px rgba(35, 24, 16, 0.13) !important;
  transform: translateY(-4px) !important;
}

.menu-card-clickable:focus-visible {
  outline: 3px solid rgba(183, 50, 36, 0.55) !important;
  outline-offset: 4px !important;
}

.order-drawer {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.pizza-customizer-panel {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

body.order-drawer-open {
  overflow: auto !important;
}

.order-drawer {
  height: 100dvh;
}


.order-adjust {
  color: #9b3323;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
}

.order-adjust:hover {
  text-decoration: underline;
}
