/* Compact, stable cart rows for desktop, tablet and mobile checkout. */
.yk-checkout-page .checkout-cart-list {
  gap: 9px;
}

.yk-checkout-page .checkout-cart-list .order-line.cart-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 8px 14px;
  align-items: start;
  min-width: 0;
  min-height: 0;
  padding: 12px;
  border: 1px solid #dfe7ee;
  border-radius: 14px;
  background: #fbfcfd;
}

.yk-checkout-page .checkout-cart-list .cart-line__media {
  grid-column: 1;
  grid-row: 1 / 3;
  display: block;
  width: 96px;
  height: 84px;
  align-self: start;
  overflow: hidden;
  padding: 6px;
  border: 1px solid #e0e7ee;
  border-radius: 11px;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.yk-checkout-page .checkout-cart-list .cart-line__media:hover,
.yk-checkout-page .checkout-cart-list .cart-line__media:focus-visible {
  border-color: #e31b35;
  box-shadow: 0 0 0 3px rgba(227, 27, 53, .09);
  outline: 0;
}

.yk-checkout-page .checkout-cart-list .cart-line__media > img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.yk-checkout-page .checkout-cart-list .cart-line__info {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  gap: 4px;
  align-content: start;
  min-width: 0;
}

.yk-checkout-page .checkout-cart-list .cart-line__name {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #101b2a;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.yk-checkout-page .checkout-cart-list .cart-line__name:hover,
.yk-checkout-page .checkout-cart-list .cart-line__name:focus-visible {
  color: #c9142d;
  text-decoration: underline;
  text-underline-offset: 2px;
  outline: 0;
}

.yk-checkout-page .checkout-cart-list .cart-line__name > b {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
}

.yk-checkout-page .checkout-cart-list .cart-line__info > p {
  margin: 0;
  color: #68798d;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.4;
}

.yk-checkout-page .checkout-cart-list .cart-line__info > .cart-line__options {
  display: -webkit-box;
  overflow: hidden;
  color: #14745f;
  font-size: 9px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.yk-checkout-page .checkout-cart-list .cart-line__bottom {
  display: flex;
  grid-column: 2;
  grid-row: 2;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.yk-checkout-page .checkout-cart-list .cart-controls {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.yk-checkout-page .checkout-cart-list .qty-control {
  display: inline-grid;
  flex: 0 0 auto;
  grid-template-columns: 34px 46px 34px;
  width: auto;
  height: 40px;
  overflow: hidden;
  border: 1px solid #d7e1ea;
  border-radius: 10px;
  background: #fff;
}

.yk-checkout-page .checkout-cart-list .qty-control button,
.yk-checkout-page .checkout-cart-list .qty-control input {
  min-width: 0;
  min-height: 40px;
  height: 40px;
  padding: 0;
  border-radius: 0;
}

.yk-checkout-page .checkout-cart-list .qty-control button {
  display: grid;
  place-items: center;
  border: 0;
  background: #fff;
  color: #132033;
  cursor: pointer;
}

.yk-checkout-page .checkout-cart-list .qty-control input {
  width: 46px;
  border: 0;
  border-right: 1px solid #d7e1ea;
  border-left: 1px solid #d7e1ea;
  outline: 0;
  background: #fff;
  color: #101b2a;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  appearance: textfield;
}

.yk-checkout-page .checkout-cart-list .qty-control input::-webkit-inner-spin-button,
.yk-checkout-page .checkout-cart-list .qty-control input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.yk-checkout-page .checkout-cart-list .cart-remove {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 54px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid #f1cbd1;
  border-radius: 10px;
  background: #fff6f7;
  color: #c51e34;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.yk-checkout-page .checkout-cart-list .cart-line__price {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 116px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 11px;
  background: #111b2a;
  color: #fff;
  box-shadow: 0 7px 16px rgba(17, 27, 42, .11);
  font-size: 16px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: .005em;
  white-space: nowrap;
}

@media (min-width: 721px) and (max-width: 1024px) {
  .yk-checkout-page .checkout-cart-list .order-line.cart-line {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 11px;
  }

  .yk-checkout-page .checkout-cart-list .cart-line__media {
    width: 88px;
    height: 78px;
  }

  .yk-checkout-page .checkout-cart-list .cart-line__price {
    min-width: 108px;
    font-size: 15px;
  }
}

@media (max-width: 720px) {
  .yk-checkout-page .step-card > .step-body {
    padding: 10px;
  }

  .yk-checkout-page .checkout-cart-list {
    gap: 8px;
  }

  .yk-checkout-page .checkout-cart-list .order-line.cart-line {
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 8px 10px;
    padding: 9px;
    border-radius: 12px;
  }

  .yk-checkout-page .checkout-cart-list .cart-line__media {
    grid-row: 1;
    width: 76px;
    height: 70px;
    padding: 5px;
    border-radius: 9px;
  }

  .yk-checkout-page .checkout-cart-list .cart-line__info {
    grid-row: 1;
  }

  .yk-checkout-page .checkout-cart-list .cart-line__name {
    -webkit-line-clamp: 3;
  }

  .yk-checkout-page .checkout-cart-list .cart-line__name > b {
    font-size: 12px;
    line-height: 1.32;
  }

  .yk-checkout-page .checkout-cart-list .cart-line__info > p {
    font-size: 9.5px;
    line-height: 1.35;
  }

  .yk-checkout-page .checkout-cart-list .cart-line__bottom {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 7px;
  }

  .yk-checkout-page .checkout-cart-list .cart-controls {
    gap: 6px;
  }

  .yk-checkout-page .checkout-cart-list .qty-control {
    grid-template-columns: 32px 42px 32px;
    height: 40px;
  }

  .yk-checkout-page .checkout-cart-list .qty-control input {
    width: 42px;
  }

  .yk-checkout-page .checkout-cart-list .cart-remove {
    min-width: 48px;
    min-height: 40px;
    padding: 0 8px;
  }

  .yk-checkout-page .checkout-cart-list .cart-line__price {
    min-width: 96px;
    min-height: 42px;
    padding: 6px 9px;
    font-size: 14.5px;
  }

  .yk-checkout-page .checkout-cart-summary-inline {
    margin-top: 10px;
    padding-top: 10px;
  }
}

@media (max-width: 370px) {
  .yk-checkout-page .checkout-cart-list .order-line.cart-line {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 7px 8px;
    padding: 8px;
  }

  .yk-checkout-page .checkout-cart-list .cart-line__media {
    width: 68px;
    height: 64px;
  }

  .yk-checkout-page .checkout-cart-list .cart-line__name > b {
    font-size: 11.5px;
  }

  .yk-checkout-page .checkout-cart-list .qty-control {
    grid-template-columns: 28px 38px 28px;
    height: 38px;
  }

  .yk-checkout-page .checkout-cart-list .qty-control button,
  .yk-checkout-page .checkout-cart-list .qty-control input {
    min-height: 38px;
    height: 38px;
  }

  .yk-checkout-page .checkout-cart-list .qty-control input {
    width: 38px;
  }

  .yk-checkout-page .checkout-cart-list .cart-remove {
    min-width: 40px;
    min-height: 38px;
    padding: 0 7px;
  }

  .yk-checkout-page .checkout-cart-list .cart-remove span {
    display: none;
  }

  .yk-checkout-page .checkout-cart-list .cart-line__price {
    min-width: 88px;
    min-height: 40px;
    padding: 5px 7px;
    font-size: 13.5px;
  }
}
