.market-cart__inner {
  min-height: 100%;
  height: 100%;
}

.market-cart__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.market-cart__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #f2f2f3;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.market-cart__back svg {
  width: 18px;
  height: 18px;
}

.market-cart__heading {
  text-align: right;
}

.market-cart__eyebrow {
  color: #7d8087;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.market-cart__title {
  margin-top: 8px;
  color: #ffffff;
  font-size: 34px;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.market-cart__notice {
  display: none;
  margin-top: 18px;
  border-radius: 18px;
  background: #111f16;
  color: #8ee3ad;
  padding: 13px 15px;
  font-size: 13px;
  line-height: 1.35;
}

.market-cart__notice.is-visible {
  display: block;
}

.market-cart__content {
  margin-top: 24px;
}

.market-cart__content--empty {
  display: grid;
  min-height: min(560px, calc(100vh - 190px));
  place-items: center;
}

.market-cart__empty {
  display: flex;
  width: 100%;
  min-height: 360px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 0;
  text-align: center;
}

.market-cart__empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #1a1b1f;
  color: #f3f3f4;
  font-size: 28px;
  line-height: 1;
}

.market-cart__empty h2 {
  margin-top: 18px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.market-cart__empty p {
  max-width: 360px;
  margin-top: 10px;
  color: #8f9299;
  font-size: 14px;
  line-height: 1.55;
}

.market-cart__continue,
.market-cart__pay-all,
.market-cart__pay-one,
.market-cart__remove,
.market-cart__quantity-button {
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.market-cart__continue {
  margin-top: 24px;
  min-height: 48px;
  padding: 0 22px;
  background: #f5f5f6;
  color: #101010;
}

.market-cart__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.market-cart__item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border-radius: 30px;
  background: #101113;
  padding: 14px;
}

.market-cart__item-media {
  overflow: hidden;
  width: 118px;
  aspect-ratio: 1;
  border-radius: 22px;
  background: #18191c;
}

.market-cart__item-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-cart__item-body {
  min-width: 0;
}

.market-cart__item-store {
  color: #858891;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.market-cart__item-title {
  margin-top: 8px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.market-cart__item-meta {
  margin-top: 10px;
  color: #8c8f97;
  font-size: 13px;
  line-height: 1.35;
}

.market-cart__item-price {
  color: #f5f5f6;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.market-cart__item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
}

.market-cart__item-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.market-cart__quantity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 12px;
  min-width: 116px;
  min-height: 42px;
  border-radius: 999px;
  background: #191a1e;
  padding: 0 10px;
  color: #f5f5f6;
}

.market-cart__quantity-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  color: #f5f5f6;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.market-cart__quantity-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.market-cart__quantity-button:disabled {
  color: #595d66;
  cursor: default;
  opacity: 0.55;
}

.market-cart__quantity-button:disabled:hover {
  background: transparent;
}

.market-cart__quantity-value {
  min-width: 18px;
  color: #f5f5f6;
  font-size: 16px;
  font-weight: 650;
  line-height: 1;
  text-align: center;
}

.market-cart__pay-one {
  min-height: 42px;
  padding: 0 18px;
  background: #f5f5f6;
  color: #101010;
}

.market-cart__remove {
  min-height: 42px;
  padding: 0 18px;
  background: #191a1e;
  color: #d7d8dc;
}

.market-cart__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  border: 0;
  border-radius: 30px;
  background: #111214;
  padding: 18px;
  color: #f4f4f5;
}

.market-cart__summary-label {
  color: #8b8e96;
  font-size: 13px;
  line-height: 1;
}

.market-cart__summary-count {
  margin-top: 7px;
  color: #d8d9dd;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.market-cart__summary-total {
  margin-left: auto;
  color: #ffffff;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.market-cart__pay-all {
  min-height: 48px;
  padding: 0 24px;
  background: #1c1d21;
  color: #f7f7f8;
}
