/* ===================== 09 CART CHECKOUT ===================== */
/* Cart, delivery rows and checkout side panels */

.checkout-shell {
  padding-top: 2.2rem;
}

.checkout-shell__head h1,
.checkout-thanks-title {
  color: var(--bs-primary);
  letter-spacing: 0.01em;
}

.checkout-event-card,
.checkout-deliveries-card,
.checkout-edit-card,
.checkout-panel,
.checkout-summary-card,
.checkout-thanks-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf7 100%);
  border: 1px solid rgba(var(--color-rgb-main), 0.12);
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(var(--color-rgb-main), 0.09);
}

.checkout-panel__header {
  background: #f7f9fd !important;
  border-bottom: 1px solid rgba(var(--color-rgb-main), 0.1);
}

.checkout-deliveries-card__room {
  color: rgba(var(--color-rgb-main), 0.72);
  float: right;
}

.checkout-summary-note p {
  margin-bottom: 0;
}

.checkout-summary-sticky {
  position: sticky;
  align-self: flex-start;
  height: fit-content;
  top: 2rem;
  z-index: 10;
}

.checkout-qty-group {
  width: 100px;
}

.checkout-delete-btn img {
  height: 16px;
  width: 16px;
}

.checkout-item-image {
  aspect-ratio: 3 / 2;
  display: block;
  overflow: hidden;
}

.checkout-item-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.checkout-item-title-link {
  color: var(--bs-primary);
  text-decoration: none;
}

.checkout-item-title-link:hover,
.checkout-item-title-link:focus-visible {
  color: var(--color-darker-grey);
}

.checkout-item-actions {
  width: 100%;
}

.checkout-edit-card .checkout-delete-btn {
  flex: 0 0 38px;
  height: 38px;
  padding: 0;
  width: 38px;
}

.checkout-summary-toplink__icon {
  width: 24px;
}

.checkout-section-title {
  color: var(--bs-primary);
}

.checkout-thanks-shell {
  padding-bottom: 2.2rem;
}

.checkout-thanks-card {
  padding: 1.8rem 1.6rem;
}

.checkout-thanks-back {
  margin-top: 1.1rem;
}

#wkModal .wk-modal-dialog {
  max-width: 720px;
}

.wk-modal-shell {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf7 100%);
  border: 1px solid rgba(var(--color-rgb-main), 0.14);
  border-radius: 20px;
  overflow: hidden;
}

.wk-modal-header {
  background:
    radial-gradient(circle at 10% 0, rgba(49, 235, 193, 0.22) 0, transparent 36%),
    linear-gradient(155deg, #f7f9fd 0%, #ffffff 100%);
  padding: 16px 18px 10px;
}

.wk-modal-title {
  color: var(--bs-primary);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.wk-modal-body {
  padding: 0;
}

.wk-modal-content {
  padding: 12px;
}

.wk-modal-product__media {
  aspect-ratio: 1 / 1;
  background-color: #fff;
  border: 1px solid rgba(var(--color-rgb-main), 0.12);
  max-width: 120px;
}

.wk-modal-product__title {
  line-height: 1.35;
}

.wk-modal-product__price {
  font-size: 1.38rem;
}

.wk-modal-chip {
  background: #ffffff;
  border: 1px solid rgba(var(--color-rgb-main), 0.2) !important;
  color: rgba(var(--color-rgb-main), 0.86) !important;
  font-weight: 600;
}

.wk-modal-deliveries__head {
  border-bottom-color: rgba(var(--color-rgb-main), 0.16) !important;
}

.wk-modal-deliveries__list {
  max-height: 230px;
  overflow-y: auto;
}

.wk-modal-delivery-row {
  border-bottom: 1px dashed #e8e4dc;
}

.wk-modal-delivery-row .func_menge {
  max-width: 84px;
  margin-left: auto;
}

.wk-modal-chip--time {
  font-size: 1rem;
}

.wk-modal-total {
  background: #f5f8fc !important;
}

.wk-modal-submit {
  border-radius: 999px;
  min-height: 38px;
}

.wk-modal-header .btn-close,
.alert-modal-header .btn-close {
  background-color: rgba(var(--color-rgb-main), 0.06);
  border-radius: 999px;
  opacity: 0.78;
  padding: 0.5rem;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.wk-modal-header .btn-close:hover,
.alert-modal-header .btn-close:hover {
  background-color: rgba(var(--color-rgb-main), 0.12);
  opacity: 1;
  transform: rotate(6deg);
}

.wk-modal-header .btn-close:focus,
.alert-modal-header .btn-close:focus {
  box-shadow: 0 0 0 0.2rem rgba(49, 235, 193, 0.45);
  opacity: 1;
}

.alert-modal-dialog {
  max-width: 560px;
}

.alert-modal-shell {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf7 100%);
  border: 1px solid rgba(var(--color-rgb-main), 0.14);
  border-radius: 18px;
  overflow: hidden;
}

.alert-modal-header {
  background:
    radial-gradient(circle at 10% 0, rgba(49, 235, 193, 0.22) 0, transparent 36%),
    linear-gradient(155deg, #f7f9fd 0%, #ffffff 100%);
  padding: 14px 16px 10px;
}

.alert-modal-title {
  color: var(--bs-primary);
  font-size: 1.03rem;
  font-weight: 700;
}

.alert-modal-body {
  color: rgba(var(--color-rgb-main), 0.88);
  line-height: 1.55;
  padding: 10px 16px 8px;
}

.alert-modal-footer {
  padding: 6px 16px 16px;
}

.alert-modal-btn {
  border-radius: 999px;
  min-height: 38px;
}

#alleLieferungen > .row {
  font-size: 16px;
}

#alleLieferungen > .row > div {
  padding: 30px 5px 30px 20px;
}

.lieferungen select,
.lieferungen input {
  width: 100%;
  padding: 14px;
  background-color: var(--color-white);
  border: 0;
  text-align: center;
}

.lieferungen input[type="button"] {
  background-color: var(--color-white);
  color: var(--color-white);
  padding: 17px;
}

#alleLieferungen > .row:hover > .delete > span {
  display: block;
}

.warenkorbBox > .row:hover > .delete {
  display: block;
}

.page_cart_details .productImg {
  padding: 7px;
  height: auto;
}

.page_cart_details .productImg img {
  width: 100%;
  border-radius: 25px;
}

.warenkorbBox,
.loginBox {
  background-color: var(--color-white);
  padding: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.warenkorbBox.wkHeader {
  margin-top: 0;
}

.warenkorbBox h2 {
  text-align: left;
  font-size: 1.6em;
}

.warenkorbBox > .row {
  display: flex;
  flex-wrap: wrap;
  padding-top: 15px;
}

.warenkorbBox.wkHeader > .row {
  border-top: 0;
  font-size: 16px;
}

.warenkorbBox.wkHeader:first-child > .row {
  padding-top: 1px;
}

.warenkorbBox p,
.warenkorbRechts p {
  font-size: 16px;
}

.warenkorbRechts > .row > div {
  padding-right: 0;
  padding-left: 0;
}

.func_delete {
  margin-right: 0;
}

.warenkorbRechts {
  background-color: var(--color-white);
  padding: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: visible;
}

.pauschInfosRechts {
  padding: 10px 0 0;
  color: #8e8079;
}

.pauschInfosRechts p {
  font-size: 1rem;
  letter-spacing: 0.04em;
  line-height: 1.3em;
  margin-bottom: 20px;
}

.warenkorbdetail .totalprice {
  font-size: 24px;
}

@media (max-width: 991px) {
  .checkout-summary-sticky {
    position: static !important;
  }

  .checkout-thanks-card {
    padding: 1.2rem 1rem;
  }

  .warenkorbBox > .row {
    display: inherit;
  }

  #alleLieferungen > .row > div {
    padding: 10px;
    padding-left: 15px;
  }

  .warenkorbRechts {
    padding: 40px 30px 30px 15px;
  }

  .warenkorbRechts #func_price_total_gross {
    font-size: 1.5em;
  }

  .warenkorbRechts > .row > div {
    padding-left: 15px;
    padding-right: 0;
  }

  .warenkorbBox {
    padding: 5px 15px 20px;
  }

  #wkModal .wk-modal-dialog {
    max-width: 100%;
    margin: 0.85rem;
  }

  .wk-modal-content {
    padding: 10px;
  }

  .alert-modal-dialog {
    margin: 0.8rem;
    max-width: 100%;
  }

}

@media (max-width: 767px) {
  .checkout-shell {
    padding-top: 1.1rem;
  }

  .checkout-deliveries-card__room {
    display: block;
    float: none;
    margin-top: 4px;
  }

  .delete,
  .delete > span {
    position: inherit;
  }

  .page_cart_details .productImg {
    padding: 3px;
  }

  .lieferungen select,
  .lieferungen input {
    margin-bottom: 10px;
  }

  .warenkorbBox p,
  .warenkorbRechts p {
    font-size: 1rem;
  }

  .warenkorbBox h2 {
    font-size: 24px;
  }

  .warenkorbBox .productRow .productImg {
    box-shadow: 0 3px 11px 0 rgba(var(--color-rgb-grey), 0);
    margin-bottom: 10px;
  }
}
