.cart-page {
  padding: 30px 0 60px;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto auto auto auto;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 12px 16px;
}

.cart-item__image {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--color-bg);
  border-radius: 4px;
}

.cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-item__name {
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
}

.cart-item__name:hover {
  color: var(--color-accent);
}

.cart-item__variant {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.cart-item__warning {
  color: var(--color-sale);
  font-size: 0.8rem;
}

.cart-item__unit-price,
.cart-item__line-total {
  font-weight: 600;
  white-space: nowrap;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-item__qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.cart-item__qty-input {
  width: 46px;
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 4px;
}

.cart-item__remove {
  border: none;
  background: none;
  font-size: 1.4rem;
  color: var(--color-muted);
  cursor: pointer;
  line-height: 1;
}

.cart-item__remove:hover {
  color: var(--color-sale);
}

.cart-summary {
  max-width: 340px;
  margin-left: auto;
  background: var(--color-bg);
  border-radius: 6px;
  padding: 20px;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cart-summary__checkout {
  display: block;
  text-align: center;
  width: 100%;
}

.cart-summary__checkout.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.cart-summary__note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--color-sale);
}
