.cart-page {
  background: var(--bg-panel);
  padding-top: 75px;
}

.cart-hero {
  padding: 3rem 0 2rem;
  background: var(--lightblue);
}

.cart-shell {
  padding: 2.5rem 0 4rem;
}

.cart-item-card,
.cart-summary-card,
.cart-empty-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(10, 63, 81, 0.07);
}

.cart-item-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  padding: 1rem;
}

.cart-item-image {
  width: 96px;
  height: 96px;
  border: 1px solid rgba(10, 63, 81, 0.08);
  border-radius: 18px;
  background: #f6fbfc;
  object-fit: contain;
  padding: 0.5rem;
}

.cart-item-title {
  color: var(--brand);
  font-weight: 900;
  margin: 0;
}

.cart-part-pill {
  display: inline-flex;
  border-radius: 999px;
  background: var(--brand-3);
  color: var(--brand);
  padding: 0.38rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 850;
}

.cart-line-meta,
.cart-child-list {
  color: var(--muted);
  font-size: 0.92rem;
}

.cart-child-list {
  margin: 0.75rem 0 0;
  padding: 0.8rem;
  border-radius: 16px;
  background: #f6fbfc;
}

.cart-child-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.cart-qty-control button,
.cart-remove-btn,
.cart-clear-btn {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 900;
}

.cart-qty-control button {
  width: 36px;
  height: 36px;
}

.cart-qty-control input {
  width: 48px;
  height: 36px;
  border: 0;
  text-align: center;
  color: var(--brand);
  font-weight: 850;
}

.cart-line-total {
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 900;
}

.cart-summary-card {
  padding: 1.25rem;
  position: sticky;
  top: 112px;
}

.text-brand {
  color: var(--brand);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(10, 63, 81, 0.08);
  color: var(--muted);
  font-weight: 750;
}

.cart-summary-row strong,
.cart-summary-total {
  color: var(--brand);
}

.cart-summary-total {
  font-size: 1.35rem;
  font-weight: 900;
}

.cart-shipping-message {
  border-radius: 16px;
  background: var(--brand-3);
  color: var(--brand);
  font-weight: 800;
  padding: 0.85rem;
}

.cart-disabled-checkout .btn {
  opacity: 0.55;
  pointer-events: none;
}

.cart-empty-card {
  padding: 3rem 1.5rem;
  text-align: center;
}

@media (max-width: 767.98px) {
  .cart-item-card {
    grid-template-columns: 72px 1fr;
  }

  .cart-item-image {
    width: 72px;
    height: 72px;
  }

  .cart-summary-card {
    position: static;
  }
}
