.cart-page {
  width: min(1120px, 88%);
  margin: 46px auto 70px;
  min-height: 45vh;
}
.cart-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
.cart-page-heading h1 {
  margin: 8px 0;
  font-size: clamp(30px, 5vw, 44px);
  letter-spacing: -1.7px;
  line-height: 1.12;
}
.cart-page-heading p {
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0 0;
}
.continue-shopping {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--green-2);
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}
.cart-panel, .summary-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
}
.cart-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cart-panel h2, .summary-panel h2 {
  font-size: 18px;
  margin: 0 0 16px;
  letter-spacing: -.4px;
}
.cart-panel-heading h2 { margin: 0; }
.clear-button {
  background: transparent;
  border: 0;
  color: #9b3730;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  padding: 8px;
}
.cart-page .cart-items { display: grid; gap: 0; }
.cart-page .cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-name { font-size: 14px !important; }
.cart-item-price { color: var(--green); font-size: 14px !important; }
.cart-item-detail { display: block; margin-top: 5px; }
.cart-item-controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}
.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.quantity-control button {
  min-width: 36px;
  min-height: 35px;
  background: #f6f8f2;
  border: 0;
  font-size: 17px;
  cursor: pointer;
}
.quantity-control button:disabled { opacity: .4; cursor: not-allowed; }
.quantity-control span {
  min-width: 34px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}
.remove-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  color: #9b3730;
  font-size: 11px;
  cursor: pointer;
}
.summary-panel {
  position: sticky;
  top: 18px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.summary-line strong { text-align: right; }
#cart-total { font-size: 20px; color: var(--green); }
.summary-note, .cart-disclaimer {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}
.checkout-button {
  width: 100%;
  margin-top: 12px;
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  padding: 12px;
  background: #e5e9df;
  color: #69746c;
  font-size: 12px;
  font-weight: 800;
  cursor: not-allowed;
}
.location-link {
  display: block;
  text-align: center;
  color: var(--green-2);
  font-size: 11px;
  font-weight: 750;
  margin-top: 16px;
}
.cart-page-status {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #eaf3e2;
  color: var(--green);
  font-size: 12px;
}
.cart-page-status.show { display: block; }
.cart-page-status.error { background: #ffeded; color: #a12c25; }
.cart-page .empty-cart { line-height: 1.7; }
.cart-disclaimer { margin-top: 22px; }
@media (max-width: 760px) {
  .cart-page { width: 90%; margin-top: 30px; }
  .cart-page-heading { align-items: flex-start; flex-direction: column; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary-panel { position: static; }
  .cart-panel, .summary-panel { padding: 18px; }
}
