.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  width: 100%;
  box-sizing: border-box;
}
.cart-item-image {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 4px;
}
.cart-item-image img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.cart-item-image-placeholder {
  width: 80px;
  height: 80px;
  background: var(--color-bg-light);
}
.cart-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cart-item-row1 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
.cart-item-price {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--color-text);
  opacity: 0.75;
}
.cart-item-row2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-item-quantity {
  display: flex;
  align-items: center;
}
.cart-item-total {
  font-size: 0.9rem;
  white-space: nowrap;
}
.cart-item-quantity-text {
  font-size: 0.9rem;
}
.btn-remove {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.5;
}
.btn-remove:hover {
  opacity: 1;
}
@media (max-width: 767px) {
  .cart-item-row2 {
    justify-content: flex-start;
    gap: 1rem;
  }
}
@media (min-width: 768px) {
  .cart-item {
    gap: 1.5rem;
    padding: 1.25rem 1rem;
  }
  .cart-item-image {
    width: 100px;
    height: 100px;
  }
  .cart-item-image img {
    width: 100px;
    height: 100px;
  }
  .cart-item-image-placeholder {
    width: 100px;
    height: 100px;
  }
  .cart-item-row1 {
    gap: 1.5rem;
  }
  .cart-item-row2 {
    gap: 1.5rem;
    margin-top: 0.5rem;
  }
  .cart-item-total {
    min-width: 100px;
  }
}
