.vh-page--cart {
  background: var(--vh-color-bg-body, #f6f0e6);
  padding: 2.4rem 0 3rem;
}

.vh-page--cart .vh-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.vh-cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.vh-cart-header .vh-title {
  margin: 0.15rem 0 0;
}

.vh-cart-header .vh-subtitle {
  margin: 0.35rem 0 0;
  color: var(--vh-color-text-muted, #5b5450);
}

.vh-cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .vh-cart-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
  }
}

.vh-cart-card {
  display: grid;
  gap: 0.75rem;
}

.vh-cart-items {
  display: grid;
  gap: 1rem;
}

.vh-cart-item {
  display: grid;
  grid-template-columns: 90px 1fr 110px 120px auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid var(--vh-color-border-subtle, #e4d8c7);
  border-radius: var(--vh-radius-lg, 18px);
  background: var(--vh-color-bg-surface, #fff);
}

.vh-cart-item__thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--vh-radius-md, 12px);
  overflow: hidden;
  border: 1px solid var(--vh-color-border-subtle, #e4d8c7);
  background: var(--vh-color-bg-chip, #f8f2e7);
}

.vh-cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vh-cart-item__body {
  display: grid;
  gap: 4px;
}

.vh-cart-item__title {
  margin: 0;
  font-weight: var(--vh-weight-semibold, 600);
}

.vh-cart-item__meta {
  font-size: var(--vh-font-sm, 14px);
  color: var(--vh-color-text-muted, #5b5450);
}

.vh-cart-item__price {
  font-weight: var(--vh-weight-bold, 700);
  color: var(--vh-color-text-main, #1b1a28);
}

.vh-cart-item__qty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.vh-cart-item__qty .qty {
  width: 70px;
  text-align: center;
  border-radius: var(--vh-radius-md, 12px);
  border: 1px solid var(--vh-color-border-subtle, #e4d8c7);
  padding: 0.4rem 0.5rem;
}

.vh-cart-item__total {
  font-weight: var(--vh-weight-bold, 700);
  color: var(--vh-color-text-main, #1b1a28);
}

.vh-cart-item__remove {
  justify-self: end;
}

.vh-cart-item__remove a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: var(--vh-radius-md, 12px);
  border: 1px solid var(--vh-color-border-subtle, #e4d8c7);
  background: #fff;
  color: var(--vh-color-text-main, #1b1a28);
  font-size: 1.1rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.vh-cart-item__remove a:hover {
  transform: translateY(-1px);
  border-color: var(--vh-color-accent, #fead52);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

@media (max-width: 720px) {
  .vh-cart-item {
    grid-template-columns: 90px 1fr;
    grid-template-areas:
      "thumb title"
      "thumb meta"
      "thumb qty"
      "thumb total"
      "thumb remove";
  }
  .vh-cart-item__thumb { grid-area: thumb; }
  .vh-cart-item__body { grid-area: title; }
  .vh-cart-item__meta { grid-area: meta; }
  .vh-cart-item__qty { grid-area: qty; }
  .vh-cart-item__total { grid-area: total; }
  .vh-cart-item__remove { grid-area: remove; justify-self: start; }
}

.vh-cart-coupon {
  display: grid;
  gap: 0.4rem;
  align-items: center;
}

.vh-cart-coupon form,
.vh-cart-coupon .coupon {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.vh-cart-coupon label {
  font-weight: var(--vh-weight-semibold, 600);
}

.vh-cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.vh-cart-actions .vh-button {
  min-width: 180px;
}

.vh-cart-summary {
  display: grid;
  gap: 0.65rem;
}

.vh-cart-totals {
  display: grid;
  gap: 0.35rem;
}

.vh-cart-totals table {
  width: 100%;
  border-collapse: collapse;
}

.vh-cart-totals th,
.vh-cart-totals td {
  padding: 0.35rem 0;
  text-align: left;
  border: 0;
}

.vh-cart-totals .order-total th,
.vh-cart-totals .order-total td {
  font-weight: var(--vh-weight-bold, 700);
  color: var(--vh-color-accent, #fead52);
}

.vh-cart-cross-sell {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.vh-cart-trust {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .vh-cart-trust {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}
