body:has(#mittagstisch),
body:has(#mtCheckout),
body:has(#mtOrderSuccess) {
  background-color: #fbfaf7;
  background-image: url("../pics/systems/kitchen-pattern.svg");
  background-repeat: repeat;
  background-position: center top;
  background-size: 720px 720px;
}

#mittagstisch,
#mtCheckout {
  margin-top: 22px !important;
  padding-top: 34px !important;
}

@media (max-width: 767px) {
  #mittagstisch,
  #mtCheckout {
    margin-top: 10px !important;
    padding-top: 24px !important;
  }
}

#mittagstisch .mt-date-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px;
  border: 3px solid #f4b34e;
  border-radius: 3px;
  position: relative;
}

#mittagstisch .mt-date-fields {
  display: flex;
  flex: 0 1 440px;
  gap: 12px;
  min-width: 0;
}

#mittagstisch .mt-date-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
  background: #fff;
  color: #344653;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.2;
  margin: 0;
  box-sizing: border-box;
}

#mittagstisch .mt-date-field input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 26px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: #344653;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 26px;
  box-sizing: border-box;
}

#mittagstisch .mt-month-arrow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  min-height: 52px;
  color: #f4b34e;
  font-size: 43px;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease;
}

#mittagstisch a.mt-month-arrow:hover {
  color: #ffffff;
}

#mittagstisch .mt-month-arrow.is-disabled {
  opacity: 0.3;
  cursor: default;
}

#mittagstisch .mt-date-submit {
  background: #f4b34e;
  border: 0;
  border-radius: 3px;
  color: #344653;
  padding: 12px 18px;
  font-weight: 700;
}

#mittagstisch .mt-date-submit:hover {
  background: #ffffff;
  color: #344653;
}

#mittagstisch .mt-cart-shortcut {
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #f4b34e;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  transition: color 0.2s ease;
}

#mittagstisch .mt-cart-shortcut svg {
  display: block;
  width: 28px;
  height: 28px;
}

#mittagstisch .mt-cart-shortcut:hover {
  background: transparent;
  color: #ffffff;
  border: none;
  text-decoration: none;
}

#mittagstisch .mt-cart-count {
  position: absolute;
  top: 0;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  background: #f4b34e;
  color: #344653;
  border: 2px solid #344653;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 1100px) {
  #mittagstisch .mt-cart-shortcut {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin-left: auto;
  }
}

@media (min-width: 768px) and (max-width: 1000px) {
  #mittagstisch .mt-date-bar {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr) 44px;
    column-gap: 12px;
    row-gap: 14px;
    align-items: center;
  }

  #mittagstisch .mt-date-bar > .mt-month-arrow:first-child {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }

  #mittagstisch .mt-date-bar > .mt-date-fields {
    grid-column: 2 / 4;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    min-width: 0;
    flex: none;
    order: 0;
  }

  #mittagstisch .mt-date-bar > .mt-month-arrow:nth-child(3) {
    grid-column: 4;
    grid-row: 1;
    justify-self: center;
  }

  #mittagstisch .mt-date-bar > .mt-date-submit {
    grid-column: 2 / 4;
    grid-row: 2;
    justify-self: center;
    width: auto;
    min-width: 160px;
    min-height: 46px;
    margin: 0;
  }

  #mittagstisch .mt-date-bar > .mt-cart-shortcut {
    grid-column: 4;
    grid-row: 2;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    justify-self: center;
    align-self: center;
    margin: 0;
  }
}

@media (max-width: 720px) {
  #mittagstisch .mt-date-bar {
    gap: 12px;
  }

  #mittagstisch .mt-date-fields {
    flex-basis: 100%;
    order: -1;
    gap: 10px;
  }

  #mittagstisch .mt-date-field {
    padding: 6px 8px;
    font-size: 12px;
  }

  #mittagstisch .mt-date-field input {
    font-size: 13px;
  }

  #mittagstisch .mt-month-arrow {
    min-height: 40px;
    font-size: 34px;
  }
}

@media (max-width: 767px) {
  #mittagstisch .mt-date-bar {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1fr) 30px;
    column-gap: 6px;
    row-gap: 12px;
    align-items: center;
    padding: 12px 10px;
    width: 100%;
    box-sizing: border-box;
  }

  #mittagstisch .mt-date-bar::before {
    content: none;
    display: none;
  }

  #mittagstisch .mt-date-bar > .mt-month-arrow:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  #mittagstisch .mt-date-bar > .mt-month-arrow:nth-child(3) {
    grid-column: 4;
    grid-row: 1;
  }

  #mittagstisch .mt-date-bar > .mt-month-arrow {
    width: 30px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    margin: 0;
    font-size: 26px;
    border: 0;
    background: transparent;
    justify-self: center;
    align-self: center;
  }

  #mittagstisch .mt-date-bar > .mt-date-fields {
    grid-column: 2 / 4;
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
    width: 100%;
    min-width: 0;
    flex: none;
    order: 0;
    margin: 0;
  }

  #mittagstisch .mt-date-bar .mt-date-field {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 5px 6px 4px;
    font-size: 11px;
    box-sizing: border-box;
  }

  #mittagstisch .mt-date-bar .mt-date-field input {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 26px;
    margin: 0;
    padding: 0;
    font-size: 12px;
    box-sizing: border-box;
  }

  #mittagstisch .mt-date-bar > .mt-date-submit {
    grid-column: 2 / 4;
    grid-row: 2;
    justify-self: center;
    width: 100%;
    max-width: 180px;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
  }

  #mittagstisch .mt-date-bar > .mt-cart-shortcut {
    grid-column: 4;
    grid-row: 2;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    transform: none;
    justify-self: center;
    align-self: center;
    margin: 0;
    width: 36px;
    height: 44px;
  }
}

@media (max-width: 360px) {
  #mittagstisch .mt-date-bar {
    grid-template-columns: 24px minmax(0, 1fr) minmax(0, 1fr) 24px;
    column-gap: 4px;
    padding: 10px 8px;
  }

  #mittagstisch .mt-date-bar > .mt-month-arrow {
    width: 24px;
    font-size: 23px;
  }

  #mittagstisch .mt-date-bar > .mt-date-fields {
    gap: 4px;
  }

  #mittagstisch .mt-date-bar .mt-date-field {
    padding: 5px 3px;
  }

  #mittagstisch .mt-date-bar .mt-date-field input {
    font-size: 12px;
  }
}

#mittagstisch .mt-day-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid #d9d9d9;
  background: #ffffff;
  overflow: hidden;
}

#mittagstisch .mt-day-left {
  width: 260px;
  min-width: 260px;
  background: #344653;
  color: #ffffff;
  padding: 22px 20px;
  border-right: 4px solid #f4b34e;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#mittagstisch .mt-day-weekday {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 8px;
}

#mittagstisch .mt-day-date {
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 12px;
}

#mittagstisch .mt-day-cutoff {
  font-size: 15px;
  line-height: 1.4;
  opacity: 0.95;
}

#mittagstisch .mt-day-right {
  flex: 1;
  background: #ffffff;
  padding: 0;
}

#mittagstisch .mt-product-row {
  border-bottom: 1px solid #ececec;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  min-height: 78px;
  padding: 8px 14px;
}

#mittagstisch .mt-product-row:last-child {
  border-bottom: none;
}

#mittagstisch .mt-product-image-wrap {
  width: 78px;
  min-width: 78px;
}

#mittagstisch .mt-product-image {
  width: 78px;
  height: 78px;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  background: #f3f3f3;
}

#mittagstisch .mt-no-image {
  background: #f0f0f0;
}

#mittagstisch .mt-product-title {
  color: #344653;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 6px;
}

#mittagstisch .mt-product-extra {
  color: #5c6a73;
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 4px;
}

#mittagstisch .mt-product-description {
  color: #5c6a73;
  font-size: 14px;
  line-height: 1.35;
}

#mittagstisch .mt-product-price {
  width: 120px;
  min-width: 120px;
  text-align: right;
  color: #f4b34e;
  font-size: 20px;
  line-height: 1.2;
  white-space: nowrap;
}

#mittagstisch section.mt-day-row {
  margin-bottom: 22px !important;
}

#mittagstisch .mt-day-week {
  color: #f4b34e;
  font-size: 15px;
  margin-bottom: 12px;
}

#mittagstisch .mt-product-content {
  flex: 1;
  min-width: 0;
}

#mittagstisch .mt-product-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
  margin-left: auto;
}

#mittagstisch .mt-qty-box {
  display: flex;
  align-items: center;
  height: 34px;
  border: 1px solid #d6dce0;
  border-radius: 3px;
  overflow: hidden;
}

#mittagstisch .mt-qty-box button {
  width: 30px;
  height: 34px;
  border: none;
  background: #f2f3f4;
  color: #344653;
  font-size: 18px;
  cursor: pointer;
}

#mittagstisch .mt-qty-box button:hover:not(:disabled) {
  background: #f4b34e;
}

#mittagstisch .mt-qty-input {
  width: 35px;
  height: 34px;
  padding: 0;
  text-align: center;
  border: none;
  background: #fff;
  color: #344653;
  font-size: 14px;
  appearance: textfield;
  -moz-appearance: textfield;
}

#mittagstisch .mt-qty-input::-webkit-inner-spin-button,
#mittagstisch .mt-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#mittagstisch .mt-product-actions .mt-product-price {
  width: 90px;
  min-width: 90px;
  margin: 0;
  padding: 0;
  text-align: right;
  color: #f4b34e;
  font-size: 18px;
  white-space: nowrap;
}

#mittagstisch .mt-cart-add {
  min-width: 150px;
  height: 34px;
  padding: 0 12px;
  background: #f4b34e;
  color: #344653;
  border: none;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  text-align: center;
}

#mittagstisch .mt-cart-add:hover:not(:disabled) {
  background: #344653;
  color: #fff;
}

#mittagstisch .mt-cart-add:disabled,
#mittagstisch .mt-qty-box button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#mittagstisch .mt-week-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 0;
  margin: 18px 0 24px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

#mittagstisch .mt-week-separator-line {
  display: block !important;
  flex: 1 1 0;
  min-width: 15px;
  height: 2px;
  background: #bd852f;
  border: none;
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(251, 250, 247, 0.92);
}

#mittagstisch .mt-week-separator-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px 20px;
  margin: 0;
  background: #344653;
  color: #f4b34e;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border: 2px solid #f4b34e;
  border-radius: 30px;
  box-shadow: 0 0 0 4px #fbfaf7;
}

#mittagstisch > h1,
#mtCheckout > h1 {
  font-size: 46px !important;
  font-weight: 600 !important;
  line-height: 1.2;
  letter-spacing: 0.3px;
  color: #344653 !important;
  margin-bottom: 12px !important;
  text-shadow: 0 0 14px rgba(251, 250, 247, 0.95);
}

#mittagstisch > p,
#mtCheckout > p {
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1.5;
  color: #50606c !important;
  margin-bottom: 36px !important;
}

#mittagstisch > h1::after,
#mtCheckout > h1::after {
  content: "";
  display: block;
  width: 55px;
  height: 3px;
  background: #f4b34e;
  margin: 14px auto 0;
  border-radius: 3px;
}

#mittagstisch .mt-cart-add.is-loading,
#mittagstisch .mt-cart-add.is-loading:disabled {
  background: #344653;
  color: #ffffff;
  opacity: 1;
  cursor: wait;
}

#mittagstisch .mt-cart-add.is-added,
#mittagstisch .mt-cart-add.is-added:disabled {
  background: #2f8058;
  color: #ffffff;
  opacity: 1;
  cursor: default;
}

#mittagstisch .mt-cart-add.is-failed,
#mittagstisch .mt-cart-add.is-failed:disabled {
  background: #b34437;
  color: #ffffff;
  opacity: 1;
}

#mittagstisch .mt-add-spinner {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 7px;
  vertical-align: -2px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: mt-add-spin 0.65s linear infinite;
}

@media (max-width: 1199px) {
  #mittagstisch .mt-product-row {
    flex-wrap: wrap;
    min-height: 0;
    margin: 0 0 10px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e0e5e8;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(52, 70, 83, 0.04);
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) max-content;
    grid-template-rows: auto 1px auto;
    column-gap: 12px;
    row-gap: 10px;
    align-items: start;
  }

  #mittagstisch .mt-product-actions {
    justify-content: flex-end;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    align-items: center;
    column-gap: 12px;
    row-gap: 0;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding-top: 9px;
    border-top: 1px solid #eef0f2;
    display: contents;
  }

  #mittagstisch .mt-day-right {
    min-width: 0;
    padding: 10px;
    background: #f6f7f8;
  }

  #mittagstisch .mt-product-row:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid #e0e5e8;
  }

  #mittagstisch .mt-product-image-wrap {
    width: 70px;
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
  }

  #mittagstisch .mt-product-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
  }

  #mittagstisch .mt-product-content {
    width: 100%;
    flex: none;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  #mittagstisch .mt-product-title {
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 4px;
  }

  #mittagstisch .mt-product-extra,
  #mittagstisch .mt-product-description {
    font-size: 13px;
    line-height: 1.45;
  }

  #mittagstisch .mt-qty-box {
    width: max-content;
    height: 40px;
    grid-column: 1 / 3;
    grid-row: 3;
    align-self: center;
    justify-self: start;
    margin: 0;
  }

  #mittagstisch .mt-qty-box button {
    width: 36px;
    height: 40px;
    padding: 0;
  }

  #mittagstisch .mt-qty-input {
    width: 38px;
    height: 40px;
    padding: 0;
  }

  #mittagstisch .mt-cart-add {
    padding: 0 8px;
    border-radius: 4px;
    font-size: 12px;
    grid-column: 2 / 4;
    grid-row: 3;
    align-self: center;
    justify-self: end;
    width: 145px;
    min-width: 0;
    height: 40px;
    margin: 0;
  }

  #mittagstisch .mt-product-actions .mt-product-price {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
    color: #f4b34e;
    font-size: 19px;
  }

  #mittagstisch .mt-product-row::before {
    content: "";
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: center;
    width: 100%;
    border-top: 1px solid #eef0f2;
  }
}

@media (max-width: 991px) {
  #mittagstisch .mt-day-row {
    flex-direction: column;
  }

  #mittagstisch .mt-day-left {
    width: 100%;
    min-width: 0;
    border-right: none;
    border-bottom: 4px solid #f4b34e;
    padding: 15px 18px;
  }

  #mittagstisch .mt-product-price {
    width: 90px;
    min-width: 90px;
    font-size: 18px;
  }

  #mittagstisch .mt-day-week {
    margin-bottom: 6px;
  }

  #mittagstisch .mt-day-weekday {
    font-size: 20px;
    margin-bottom: 5px;
  }

  #mittagstisch .mt-day-date {
    font-size: 16px;
    margin-bottom: 7px;
  }

  #mittagstisch .mt-day-cutoff {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  #mittagstisch .mt-week-separator {
    gap: 9px;
    margin: 14px 0 20px;
  }

  #mittagstisch .mt-week-separator-label {
    padding: 7px 14px;
    font-size: 12px;
  }

  #mittagstisch > h1,
  #mtCheckout > h1 {
    font-size: 36px !important;
    margin-bottom: 10px !important;
  }

  #mittagstisch > p,
  #mtCheckout > p {
    font-size: 15px !important;
    margin-bottom: 26px !important;
  }
}

@media (max-width: 640px) {
  #mittagstisch .mt-product-price {
    width: 100%;
    min-width: 100%;
    text-align: left;
    padding-left: 76px;
    margin-top: 4px;
  }

  #mittagstisch .mt-product-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  #mittagstisch .mt-day-right {
    padding: 7px;
  }

  #mittagstisch .mt-product-row {
    padding: 10px;
    margin-bottom: 8px;
    grid-template-columns: 62px minmax(0, 1fr) max-content;
    column-gap: 8px;
  }

  #mittagstisch .mt-product-image-wrap {
    width: 62px;
  }

  #mittagstisch .mt-product-image {
    width: 62px;
    height: 62px;
  }

  #mittagstisch .mt-product-title {
    font-size: 15px;
  }

  #mittagstisch .mt-product-extra,
  #mittagstisch .mt-product-description {
    font-size: 12px;
  }

  #mittagstisch .mt-product-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    row-gap: 10px;
    column-gap: 8px;
    padding-top: 10px;
  }

  #mittagstisch .mt-product-actions .mt-product-price {
    grid-column: 3;
    grid-row: 1;
    font-size: 18px;
  }

  #mittagstisch .mt-qty-box {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  #mittagstisch .mt-cart-add {
    grid-column: 2 / 4;
    grid-row: 3;
    width: 135px;
    min-width: 0;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  #mittagstisch .mt-product-row {
    grid-template-columns: 56px minmax(0, 1fr) max-content;
    column-gap: 6px;
  }

  #mittagstisch .mt-product-image-wrap,
  #mittagstisch .mt-product-image {
    width: 56px;
    height: 56px;
  }

  #mittagstisch .mt-qty-box button {
    width: 28px;
  }

  #mittagstisch .mt-qty-input {
    width: 30px;
  }

  #mittagstisch .mt-cart-add {
    width: 120px;
    font-size: 10px;
    padding: 0 5px;
  }

  #mittagstisch .mt-product-actions .mt-product-price {
    font-size: 17px;
  }
}

@keyframes mt-add-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  #mittagstisch .mt-add-spinner {
    animation: none;
  }

  #mittagstisch .mt-cart-add {
    transition: none;
  }
}

#mittagstisch .mt-cart-box {
  border: 1px solid #d9dfe3;
  border-left: 4px solid #f4b34e;
  background: #fafafa;
  color: #344653;
  padding: 14px 18px;
  border-radius: 3px;
}

#mittagstisch .mt-cart-box[hidden] {
  display: none !important;
}

#mittagstisch .mt-cart-box summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  padding: 4px 0;
}

#mittagstisch .mt-cart-box summary i {
  color: #f4b34e;
  margin-right: 8px;
}

#mittagstisch .mt-cart-items {
  margin-top: 12px;
}

#mittagstisch .mt-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
}

#mittagstisch .mt-cart-remove {
  border: 0;
  background: transparent;
  color: #a54b37;
  cursor: pointer;
  padding: 5px;
}

#mittagstisch .mt-cart-remove:hover {
  text-decoration: underline;
}

#mittagstisch .mt-cart-note {
  display: block;
  color: #68747c;
  font-size: 12px;
  margin-top: 12px;
}

#mtCheckout {
  color: #344653;
}

#mtCheckout .mtc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 325px;
  gap: 24px;
  align-items: start;
}

#mtCheckout .mtc-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

#mtCheckout .mtc-card {
  background: #fff;
  border: 1px solid #e2e5e7;
  box-shadow: 0 2px 6px rgb(0 0 0 / 4%);
  padding: 24px;
  min-width: 0;
}

#mtCheckout .mtc-card-heading {
  background: #344653;
  border-left: 4px solid #f4b34e;
  color: #fff;
  margin: -24px -24px 24px;
  padding: 15px 20px;
  font-size: 24px;
  line-height: 1.3;
}

#mtCheckout .mtc-day-heading {
  font-size: 17px;
  font-weight: 700;
  background: #edf0f2;
  padding: 10px 14px;
  border-left: 3px solid #f4b34e;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#mtCheckout .mtc-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 98px 85px 28px;
  gap: 14px;
  align-items: center;
  padding: 14px 2px;
  border-bottom: 1px solid #e9ecee;
}

#mtCheckout .mtc-image {
  width: 68px;
  height: 68px;
  object-fit: cover;
  background: #edf0f2;
  border-radius: 2px;
}

#mtCheckout .mtc-name {
  font-weight: 700;
  font-size: 16px;
}

#mtCheckout .mtc-extra {
  font-size: 13px;
  color: #6b7780;
  margin-top: 3px;
}

#mtCheckout .mtc-price {
  font-weight: 700;
  color: #db9634;
  text-align: right;
  white-space: nowrap;
}

#mtCheckout .mtc-qty {
  display: flex;
  border: 1px solid #d9dfe3;
  border-radius: 3px;
  overflow: hidden;
}

#mtCheckout .mtc-qty button {
  width: 29px;
  flex-grow: 1;
  padding: 0;
  background: #edf0f2;
  border: 0;
  color: #344653;
}

#mtCheckout .mtc-qty input {
  width: 35px;
  border: 0;
  text-align: center;
  -moz-appearance: textfield;
}

#mtCheckout .mtc-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

#mtCheckout .mtc-remove {
  background: transparent;
  border: 0;
  color: #a45147;
  font-size: 22px;
}

#mtCheckout .mtc-warning {
  color: #a45147;
  font-size: 13px;
  padding-top: 3px;
}

#mtCheckout .mtc-empty {
  color: #6b7780;
  padding: 20px 0;
}

#mtCheckout .mtc-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#mtCheckout .mtc-fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
}

#mtCheckout .mtc-fields input:not([type="checkbox"]),
#mtCheckout .mtc-fields textarea {
  display: block;
  width: 100%;
  border: 1px solid #cbd3d8;
  background: #fff;
  padding: 11px;
  border-radius: 3px;
  font-size: 15px;
  color: #344653;
}

#mtCheckout .mtc-fields input:focus,
#mtCheckout .mtc-fields textarea:focus {
  outline: 2px solid #f4b34e;
  outline-offset: 1px;
}

#mtCheckout .mtc-fields .mtc-wide {
  grid-column: 1/-1;
}

#mtCheckout .mtc-fields .mtc-privacy {
  display: block;
  font-weight: 400;
}

#mtCheckout .mtc-summary {
  position: sticky;
  top: 85px;
}

#mtCheckout .mtc-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e3e6e8;
}

#mtCheckout .mtc-total {
  font-size: 22px;
  color: #344653;
}

#mtCheckout .mtc-total strong {
  color: #db9634;
}

#mtCheckout .mtc-help,
#mtCheckout .mtc-required {
  font-size: 13px;
  color: #667781;
  margin: 16px 0;
}

#mtCheckout .mtc-order-button {
  background: #f4b34e;
  color: #344653;
  width: 100%;
  font-weight: 700;
  padding: 14px;
  border: 0;
  border-radius: 3px;
}

#mtCheckout .mtc-order-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#mtCheckout #mtcMessage {
  margin: 18px 0 0;
  font-weight: 600;
}

#mtCheckout #mtcMessage.is-error {
  color: #9c3e35;
}

#mtCheckout #mtcMessage.is-success {
  color: #245c3b;
}

#mtCheckout .mtc-item.is-expired {
  background-color: #fff7f5;
  background: #fff2f1;
  border-left: 4px solid #b34437;
  padding-left: 12px;
  padding-right: 12px;
}

#mtCheckout .mtc-item.is-expired .mtc-name,
#mtCheckout .mtc-item.is-expired .mtc-price,
#mtCheckout .mtc-item.is-expired .mtc-extra,
#mtCheckout .mtc-item.is-expired .mtc-remove {
  color: #b34437;
}

#mtCheckout .mtc-deadline-alert {
  background-color: #fff2f0;
  color: #96362e;
  border: 1px solid #e8beb9;
  border-radius: 3px;
  padding: 12px 15px;
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 600;
}

#mtCheckout .mtc-deadline-alert.is-checking {
  background: #edf0f2;
  color: #344653;
  border-color: #d9dfe3;
}

#mtCheckout .mtc-php-cart .mtc-item.is-expired {
  background: #fff2f1;
  border-left: 4px solid #b34437;
  padding-left: 12px;
  padding-right: 12px;
}

#mtCheckout .mtc-php-cart .mtc-item.is-expired .mtc-name,
#mtCheckout .mtc-php-cart .mtc-item.is-expired .mtc-price,
#mtCheckout .mtc-php-cart .mtc-item.is-expired .mtc-remove {
  color: #b34437;
}

#mtCheckout .mtc-php-cart .mtc-warning {
  display: block;
  color: #b34437;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 6px;
}

#mtCheckout .mtc-php-cart .mtc-deadline-alert {
  display: block;
  background: #fff2f1;
  color: #a7352e;
  border-left: 4px solid #b34437;
  padding: 12px 15px;
  margin-bottom: 18px;
  font-weight: 600;
}

#mtCheckout .mtc-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid #e3e6e8;
}

#mtCheckout .mtc-form-actions .mtc-required {
  margin: 0;
  color: #667781;
  font-size: 13px;
}

#mtCheckout .mtc-form-actions .mtc-order-button {
  width: auto;
  min-width: 250px;
  padding: 14px 25px;
}

#mtCheckout .mtc-day-week {
  display: inline-block;
  background: #344653;
  color: #f4b34e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  padding: 5px 10px;
  border-radius: 3px;
  white-space: nowrap;
}

#mtCheckout .mtc-item.is-expired .mtc-name,
#mtCheckout .mtc-item.is-expired .mtc-price,
#mtCheckout .mtc-item.is-expired .mtc-remove {
  color: #b34437;
}

#mtCheckout .mtc-item.is-expired .mtc-warning {
  display: block;
  color: #b34437;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 6px;
}

#mtCheckout .mtc-card .mtc-item .mtc-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: #fff7f5;
  color: #a45147;
  border: none;
  border-radius: 4px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

#mtCheckout .mtc-card .mtc-item .mtc-remove:hover {
  background: #fbe5e1;
}

@media (max-width: 991px) {
  #mtCheckout .mtc-grid {
    grid-template-columns: 1fr;
  }

  #mtCheckout .mtc-summary {
    position: static;
  }

  #mtCheckout .mtc-card .mtc-item {
    position: relative;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    grid-template-rows: auto 1px auto;
    column-gap: 12px;
    row-gap: 12px;
    align-items: start;
    margin-bottom: 10px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e1e5e8;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(52, 70, 83, 0.05);
  }

  #mtCheckout .mtc-card .mtc-item > .mtc-image {
    grid-column: 1;
    grid-row: 1;
    display: block;
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 4px;
  }

  #mtCheckout .mtc-card .mtc-item > :nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    padding-right: 34px;
    overflow-wrap: anywhere;
  }

  #mtCheckout .mtc-card .mtc-name {
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 5px;
  }

  #mtCheckout .mtc-card .mtc-extra {
    font-size: 13px;
    line-height: 1.45;
    margin-top: 0;
  }

  #mtCheckout .mtc-card .mtc-item::before {
    content: "";
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    border-top: 1px solid #edf0f2;
  }

  #mtCheckout .mtc-card .mtc-item > .mtc-qty {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
    align-self: center;
    width: max-content;
    height: 38px;
    margin: 0;
  }

  #mtCheckout .mtc-card .mtc-qty button {
    width: 35px;
    min-width: 35px;
    height: 38px;
    padding: 0;
  }

  #mtCheckout .mtc-card .mtc-qty input {
    width: 38px;
    height: 38px;
    padding: 0;
    text-align: center;
  }

  #mtCheckout .mtc-card .mtc-item > span:nth-child(3):not(.mtc-image) {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
    align-self: center;
    font-size: 14px;
  }

  #mtCheckout .mtc-card .mtc-item > .mtc-price {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: end;
    align-self: center;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #db9634;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    text-align: right;
    white-space: nowrap;
  }

  #mtCheckout .mtc-card .mtc-item > .mtc-remove,
  #mtCheckout .mtc-card .mtc-item > form {
    position: absolute;
    top: 9px;
    right: 9px;
    margin: 0;
  }

  #mtCheckout .mtc-card .mtc-day-heading {
    gap: 10px;
    margin: 16px 0 10px;
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1.4;
  }

  #mtCheckout .mtc-card .mtc-day-week {
    font-size: 12px;
  }
}

@media (min-width: 992px) {
  #mtCheckout .mtc-card .mtc-item {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 98px 90px 36px;
    column-gap: 12px;
    align-items: center;
  }

  #mtCheckout .mtc-card .mtc-item > .mtc-image {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  #mtCheckout .mtc-card .mtc-item > :nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    align-self: center;
  }

  #mtCheckout .mtc-card .mtc-item > .mtc-qty {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    margin: 0;
  }

  #mtCheckout .mtc-card .mtc-item > .mtc-price {
    grid-column: 4;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    margin: 0;
    text-align: right;
  }

  #mtCheckout .mtc-card .mtc-item > .mtc-remove,
  #mtCheckout .mtc-card .mtc-item > form {
    position: static;
    grid-column: 5;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    top: auto;
    right: auto;
    transform: none;
    margin: 0;
  }
}

@media (max-width: 650px) {
  #mtCheckout .mtc-card {
    padding: 16px;
  }

  #mtCheckout .mtc-card-heading {
    margin: -16px -16px 18px;
  }

  #mtCheckout .mtc-fields {
    grid-template-columns: 1fr;
  }

  #mtCheckout .mtc-item {
    grid-template-columns: 60px 1fr 80px;
    gap: 8px;
  }

  #mtCheckout .mtc-image {
    width: 58px;
    height: 58px;
  }

  #mtCheckout .mtc-qty {
    grid-column: 2;
    grid-row: 2;
    width: max-content;
  }

  #mtCheckout .mtc-price {
    grid-column: 3;
    grid-row: 2;
  }

  #mtCheckout .mtc-remove {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  #mtCheckout .mtc-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  #mtCheckout .mtc-form-actions .mtc-order-button {
    width: 100%;
    min-width: 0;
  }

  #mtCheckout .mtc-day-heading {
    gap: 8px;
    font-size: 15px;
  }

  #mtCheckout .mtc-day-week {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  #mtCheckout .mtc-card .mtc-item {
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 10px;
    padding: 10px;
    margin-bottom: 9px;
  }

  #mtCheckout .mtc-card .mtc-item > .mtc-image {
    width: 58px;
    height: 58px;
  }

  #mtCheckout .mtc-card .mtc-name {
    font-size: 15px;
  }

  #mtCheckout .mtc-card .mtc-extra {
    font-size: 12px;
  }

  #mtCheckout .mtc-card .mtc-item > .mtc-price {
    font-size: 18px;
  }

  #mtCheckout .mtc-card .mtc-day-heading {
    gap: 7px;
    padding: 9px 10px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  #mtCheckout .mtc-card .mtc-qty button {
    width: 29px;
    min-width: 29px;
  }

  #mtCheckout .mtc-card .mtc-qty input {
    width: 30px;
  }

  #mtCheckout .mtc-card .mtc-item > .mtc-price {
    font-size: 16px;
  }
}

#mtOrderSuccess {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 75px 15px 95px;
}

#mtOrderSuccess .mt-success-card {
  width: 100%;
  max-width: 690px;
  padding: 58px 38px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e3e6e8;
  border-top: 4px solid #f4b34e;
  border-radius: 5px;
  box-shadow: 0 6px 25px rgba(52, 70, 83, 0.08);
}

#mtOrderSuccess .mt-success-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf5ee;
  color: #43855a;
  border-radius: 50%;
}

#mtOrderSuccess h1 {
  margin: 0 0 18px;
  color: #344653;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.25;
}

#mtOrderSuccess .mt-success-rule {
  display: block;
  width: 55px;
  height: 3px;
  margin: 0 auto 25px;
  background: #f4b34e;
  border-radius: 3px;
}

#mtOrderSuccess p {
  margin-bottom: 12px;
  color: #667781;
  font-size: 17px;
  line-height: 1.6;
}

#mtOrderSuccess .mt-success-last {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  #mtOrderSuccess {
    min-height: 55vh;
    padding: 45px 12px 65px;
  }

  #mtOrderSuccess .mt-success-card {
    padding: 42px 22px;
  }

  #mtOrderSuccess h1 {
    font-size: 30px;
  }

  #mtOrderSuccess p {
    font-size: 15px;
  }
}

.mt-edit-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 34px;
}

.mt-edit-actions .mt-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.mt-edit-actions .mt-edit-btn--discard {
  background: #fff;
  color: #a6534b;
  border-color: #d9aaa4;
}

.mt-edit-actions .mt-edit-btn--discard:hover {
  background: #fff3f1;
  border-color: #a6534b;
  color: #8c3831;
  text-decoration: none;
}

.mt-edit-actions .mt-edit-btn--finish {
  background: #344856;
  color: #fff;
  border-color: #344856;
}

.mt-edit-actions .mt-edit-btn--finish:hover {
  background: #263945;
  border-color: #263945;
  color: #fff;
  text-decoration: none;
}

.mt-edit-actions .mt-edit-btn:focus-visible {
  outline: 2px solid #e9a12b;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .mt-edit-actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
  }

  .mt-edit-actions .mt-edit-btn {
    width: 100%;
    max-width: 300px;
  }
}

#mtCheckout .mtc-fields input[readonly] {
  background-color: #f1f3f4;
  color: #52616d;
  border-color: #d6dde1;
  cursor: default;
  opacity: 1;
}

#mtCheckout .mtc-fields input[readonly]:focus {
  outline: none;
  box-shadow: none;
  border-color: #d6dde1;
}

#mtCheckout .mtc-edit-add {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #dde3e6;
}

#mtCheckout .mtc-edit-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  margin: 0;
  background: #344653;
  border-left: 4px solid #f4b34e;
  color: #fff;
  font-size: 23px;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

#mtCheckout .mtc-edit-toggle::marker {
  content: "";
}

#mtCheckout .mtc-edit-toggle::-webkit-details-marker {
  display: none;
}

#mtCheckout .mtc-edit-toggle:hover {
  background: #293c49;
}

#mtCheckout .mtc-edit-toggle:focus-visible {
  outline: 2px solid #f4b34e;
  outline-offset: 3px;
}

#mtCheckout .mtc-edit-chevron {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  border-right: 2px solid #f4b34e;
  border-bottom: 2px solid #f4b34e;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

#mtCheckout .mtc-edit-add[open] .mtc-edit-chevron {
  transform: rotate(225deg);
}

#mtCheckout .mtc-edit-content {
  padding: 18px 0 0;
}

#mtCheckout #mtEditAddMessage {
  margin: 12px 0 0;
  color: #52616d;
  font-size: 14px;
}

#mtCheckout #mtEditAddMessage:empty {
  display: none;
}

#mtCheckout .mtc-edit-menu .mt-day-row {
  display: flex;
  align-items: stretch;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid #d9dfe3;
  overflow: hidden;
}

#mtCheckout .mtc-edit-menu .mt-day-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 185px;
  width: 185px;
  min-width: 0;
  padding: 18px 15px;
  background: #344653;
  color: #fff;
  border-right: 4px solid #f4b34e;
}

#mtCheckout .mtc-edit-menu .mt-day-week {
  margin-bottom: 10px;
  color: #f4b34e;
  font-size: 14px;
}

#mtCheckout .mtc-edit-menu .mt-day-weekday {
  margin-bottom: 6px;
  font-size: 21px;
  line-height: 1.25;
}

#mtCheckout .mtc-edit-menu .mt-day-date {
  margin-bottom: 10px;
  font-size: 17px;
}

#mtCheckout .mtc-edit-menu .mt-day-cutoff {
  font-size: 13px;
  line-height: 1.4;
}

#mtCheckout .mtc-edit-menu .mt-day-right {
  flex: 1;
  min-width: 0;
  background: #fff;
}

#mtCheckout .mtc-edit-menu .mt-product-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border-bottom: 1px solid #ececec;
}

#mtCheckout .mtc-edit-menu .mt-product-row:last-child {
  border-bottom: none;
}

#mtCheckout .mtc-edit-menu .mt-product-image-wrap {
  flex: 0 0 66px;
  width: 66px;
}

#mtCheckout .mtc-edit-menu .mt-product-image {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 3px;
  background: #f0f0f0;
}

#mtCheckout .mtc-edit-menu .mt-product-content {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

#mtCheckout .mtc-edit-menu .mt-product-title {
  margin-bottom: 4px;
  color: #344653;
  font-size: 15px;
  line-height: 1.3;
}

#mtCheckout .mtc-edit-menu .mt-product-extra {
  margin-bottom: 3px;
  color: #5c6a73;
  font-size: 12px;
}

#mtCheckout .mtc-edit-menu .mt-product-description {
  color: #5c6a73;
  font-size: 12px;
  line-height: 1.4;
  white-space: pre-line;
}

#mtCheckout .mtc-edit-menu .mt-product-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex: 0 0 auto;
}

#mtCheckout .mtc-edit-menu .mt-qty-box {
  display: flex;
  align-items: center;
  height: 34px;
  border: 1px solid #d6dce0;
  border-radius: 3px;
  overflow: hidden;
}

#mtCheckout .mtc-edit-menu .mt-qty-box button {
  width: 28px;
  height: 34px;
  padding: 0;
  background: #f2f3f4;
  color: #344653;
  border: none;
  font-size: 17px;
  cursor: pointer;
}

#mtCheckout .mtc-edit-menu .mt-qty-box button:hover:not(:disabled) {
  background: #f4b34e;
}

#mtCheckout .mtc-edit-menu .mt-qty-input {
  width: 33px;
  height: 34px;
  padding: 0;
  background: #fff;
  color: #344653;
  border: none;
  text-align: center;
  font-size: 13px;
  appearance: textfield;
  -moz-appearance: textfield;
}

#mtCheckout .mtc-edit-menu .mt-qty-input::-webkit-inner-spin-button,
#mtCheckout .mtc-edit-menu .mt-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#mtCheckout .mtc-edit-menu .mt-product-price {
  width: 85px;
  min-width: 85px;
  color: #f4b34e;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

#mtCheckout .mtc-edit-menu .mt-cart-add {
  width: 145px;
  min-height: 36px;
  padding: 7px 8px;
  background: #f4b34e;
  color: #344653;
  border: none;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
}

#mtCheckout .mtc-edit-menu .mt-cart-add:hover:not(:disabled) {
  background: #344653;
  color: #fff;
}

#mtCheckout .mtc-edit-menu .mt-cart-add:disabled,
#mtCheckout .mtc-edit-menu .mt-qty-box button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#mtCheckout .mtc-edit-menu .mt-week-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 20px;
}

#mtCheckout .mtc-edit-menu .mt-week-separator-line {
  flex: 1;
  height: 2px;
  background: #bd852f;
}

#mtCheckout .mtc-edit-menu .mt-week-separator-label {
  padding: 7px 16px;
  background: #344653;
  color: #f4b34e;
  border: 2px solid #f4b34e;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 1500px) {
  #mtCheckout .mtc-edit-menu .mt-day-row {
    flex-direction: column;
  }

  #mtCheckout .mtc-edit-menu .mt-day-left {
    flex: 0 0 auto;
    width: 100%;
    border-right: none;
    border-bottom: 4px solid #f4b34e;
    padding: 14px 18px;
  }

  #mtCheckout .mtc-edit-menu .mt-product-row {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    align-items: start;
  }

  #mtCheckout .mtc-edit-menu .mt-product-image-wrap {
    grid-column: 1;
    grid-row: 1;
  }

  #mtCheckout .mtc-edit-menu .mt-product-content {
    grid-column: 2;
    grid-row: 1;
  }

  #mtCheckout .mtc-edit-menu .mt-product-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-top: 9px;
    border-top: 1px solid #eef0f2;
  }
}

@media (max-width: 575px) {
  #mtCheckout .mtc-edit-toggle {
    padding: 14px;
    font-size: 20px;
  }

  #mtCheckout .mtc-edit-menu .mt-day-left {
    padding: 13px;
  }

  #mtCheckout .mtc-edit-menu .mt-product-row {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 9px;
    padding: 9px;
  }

  #mtCheckout .mtc-edit-menu .mt-product-image-wrap {
    width: 62px;
  }

  #mtCheckout .mtc-edit-menu .mt-product-image {
    width: 62px;
    height: 62px;
  }

  #mtCheckout .mtc-edit-menu .mt-product-actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 12px;
  }

  #mtCheckout .mtc-edit-menu .mt-qty-box {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  #mtCheckout .mtc-edit-menu .mt-product-price {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: auto;
    min-width: 0;
    font-size: 17px;
  }

  #mtCheckout .mtc-edit-menu .mt-cart-add {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-height: 40px;
  }
}
/* iPhone Safari Date Alignment */
@media (max-width: 767px) {
  #mittagstisch .mt-date-field input[type="date"] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-align: left !important;
  }

  #mittagstisch .mt-date-field input[type="date"]::-webkit-date-and-time-value {
    text-align: left !important;
    margin: 0 !important;
    width: 100%;
  }

  #mittagstisch .mt-date-field input[type="date"]::-webkit-datetime-edit {
    text-align: left !important;
    padding: 0;
  }
}
@media (max-width: 767px) {
  #mittagstisch .mt-date-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
  }

  #mittagstisch .mt-date-field {
    min-width: 0;
    box-sizing: border-box;
    padding: 8px 10px;
  }

  #mittagstisch .mt-date-field input[type="date"] {
    width: 100%;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
    font-size: 12px;
    text-align: left !important;
  }

  #mittagstisch .mt-date-field input[type="date"]::-webkit-date-and-time-value {
    text-align: left !important;
    width: 100%;
  }
}

/* Mittagstisch: Artikel im Warenkorb */
#mittagstisch .mt-product-row.is-in-cart {
  background: #fff9ec;
  box-shadow: inset 4px 0 0 #f4b34e;
}

#mittagstisch .mt-cart-status {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  margin: 2px 0 5px;
  background: #fff0ce;
  border: 1px solid #f4b34e;
  border-radius: 20px;
  color: #344653;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

#mittagstisch .mt-cart-status[hidden],
#mittagstisch .mt-qty-box .mt-qty-delete[hidden] {
  display: none !important;
}

#mittagstisch .mt-qty-box {
  border: none;
  overflow: visible;
}

#mittagstisch .mt-qty-box button.mt-qty-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  padding: 0;
  border: none;
  background: transparent;
  color: #c0392b;
  cursor: pointer;
}

#mittagstisch .mt-qty-box button.mt-qty-delete:hover:not(:disabled) {
  background: transparent;
  color: #922b21;
}

#mittagstisch .mt-qty-box button.mt-qty-minus {
  border: 1px solid #d6dce0;
  border-radius: 3px 0 0 3px;
}

#mittagstisch .mt-qty-input {
  border-top: 1px solid #d6dce0;
  border-bottom: 1px solid #d6dce0;
}

#mittagstisch .mt-qty-box button.mt-qty-plus {
  border: 1px solid #d6dce0;
  border-radius: 0 3px 3px 0;
}

#mittagstisch .mt-qty-delete svg {
  display: block;
  flex-shrink: 0;
}

#mittagstisch .mt-cart-add.is-cart-saved:disabled {
  background: #f4b34e;
  color: #344653;
  opacity: 1;
  cursor: default;
}

@media (max-width: 1199px) {
  #mittagstisch .mt-product-row.is-in-cart {
    box-shadow:
      inset 4px 0 0 #f4b34e,
      0 2px 5px rgba(52, 70, 83, 0.04);
  }
}

@media (max-width: 575px) {
  #mittagstisch .mt-product-row.is-in-cart .mt-qty-box {
    grid-column: 1 / 3;
    grid-row: 3;
    justify-self: start;
  }

  #mittagstisch .mt-product-row.is-in-cart .mt-cart-add {
    grid-column: 2 / 4;
    grid-row: 3;
    justify-self: end;
  }
}
