/* ── Cart page ──────────────────────────────────────────────────────── */

.jsh-cart { padding: 0 0 80px; }
.jsh-cart__header { padding: 48px var(--jsh-pad-x) 24px; }
.jsh-cart__pill { margin-bottom: 12px; }
.jsh-cart__title {
  font-family: var(--jsh-font-display); font-weight: 400;
  font-size: clamp(48px, 7vw, 72px); line-height: 0.95; letter-spacing: -2px;
  margin: 0; color: var(--jsh-text);
}
.jsh-cart__title em { font-style: italic; color: var(--jsh-forest-mid); }
body.jsh-dark .jsh-cart__title em { color: var(--jsh-gold); }

.jsh-cart__body {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start;
  padding: 0 var(--jsh-pad-x);
}
@media (max-width: 900px) { .jsh-cart__body { grid-template-columns: 1fr; } }

/* ── Line items ─────────────────────────────────────────────────────── */
.jsh-cart__lines { display: grid; gap: 14px; }
.jsh-cart-line {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 18px;
  background: var(--jsh-surface); border: 1px solid var(--jsh-border);
  border-radius: 16px; padding: 16px;
}
.jsh-cart-line__thumb {
  width: 96px; height: 96px; border-radius: 12px; cursor: pointer;
  background: linear-gradient(180deg, var(--jsh-cream-soft), var(--jsh-cream-warm));
  border: 1px solid var(--jsh-border);
  display: flex; align-items: center; justify-content: center; color: var(--jsh-accent);
}
body.jsh-dark .jsh-cart-line__thumb {
  background: linear-gradient(180deg, var(--jsh-forest-dark), var(--jsh-forest-deep));
}
.jsh-cart-line__info { display: flex; flex-direction: column; min-width: 0; }
.jsh-cart-line__name {
  font-family: var(--jsh-font-body); font-weight: 700;
  font-size: 17px; color: var(--jsh-text);
}
.jsh-cart-line__tag {
  font-family: var(--jsh-font-mono); font-size: 10px;
  color: var(--jsh-text-dim); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px;
}
.jsh-cart-line__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.jsh-cart-line__chip {
  font-family: var(--jsh-font-mono); font-size: 10px; color: var(--jsh-text-soft);
  background: var(--jsh-surface-2); border: 1px solid var(--jsh-border);
  padding: 4px 9px; border-radius: 999px; letter-spacing: 0.4px;
}
.jsh-cart-line__controls {
  display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 12px;
}
.jsh-cart-qty {
  display: flex; align-items: center; border-radius: 999px;
  border: 1.5px solid var(--jsh-border); background: var(--jsh-bg); overflow: hidden;
}
.jsh-cart-qty__btn {
  width: 36px; height: 36px; background: transparent; border: none; cursor: pointer;
  color: var(--jsh-text); font-size: 19px;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.jsh-cart-qty__val {
  min-width: 30px; text-align: center;
  font-family: var(--jsh-font-mono); font-weight: 700; font-size: 14px; color: var(--jsh-text);
}
.jsh-cart-line__remove {
  background: transparent; border: none; cursor: pointer;
  font-family: var(--jsh-font-body); font-weight: 600; font-size: 13px;
  color: var(--jsh-text-dim);
}
.jsh-cart-line__remove:hover { color: var(--jsh-text); }
.jsh-cart-line__price { text-align: right; display: flex; flex-direction: column; justify-content: space-between; }
.jsh-cart-line__total {
  font-family: var(--jsh-font-display); font-size: 24px; color: var(--jsh-text);
}
.jsh-cart-line__each {
  font-family: var(--jsh-font-mono); font-size: 11px; color: var(--jsh-text-dim); margin-top: 4px;
}
.jsh-cart__keep {
  margin-top: 6px; background: transparent; border: none; cursor: pointer;
  font-family: var(--jsh-font-body); font-weight: 600; font-size: 14px; color: var(--jsh-accent);
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}

/* ── Order summary sidebar ──────────────────────────────────────────── */
.jsh-cart__sidebar { position: sticky; top: 130px; display: grid; gap: 16px; }
.jsh-cart-summary {
  background: var(--jsh-surface); border: 1px solid var(--jsh-border);
  border-radius: 20px; padding: 28px;
}
.jsh-cart-summary__title {
  font-family: var(--jsh-font-display); font-size: 28px; color: var(--jsh-text); margin-bottom: 20px;
}
.jsh-cart-summary__rows { display: grid; gap: 12px; }
.jsh-summary-row {
  display: flex; justify-content: space-between; align-items: baseline;
}
.jsh-summary-row__label { font-size: 14px; color: var(--jsh-text-soft); }
.jsh-summary-row__value { font-size: 14px; font-weight: 600; color: var(--jsh-text); }
.jsh-summary-row__value--muted { color: var(--jsh-teal); font-family: var(--jsh-font-mono); }
.jsh-cart-summary__total {
  border-top: 1px solid var(--jsh-border); margin: 20px 0; padding-top: 18px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.jsh-cart-summary__total-label { font-family: var(--jsh-font-body); font-weight: 700; font-size: 16px; color: var(--jsh-text); }
.jsh-cart-summary__total-amount { font-family: var(--jsh-font-display); font-size: 38px; color: var(--jsh-text); letter-spacing: -0.5px; }
.jsh-cart-summary__cta {
  width: 100%; background: var(--jsh-accent); color: var(--jsh-accent-fg); border: none;
  padding: 15px 24px; border-radius: 999px;
  font-family: var(--jsh-font-body); font-weight: 700; font-size: 15px; cursor: pointer;
  transition: opacity 150ms;
}
.jsh-cart-summary__cta:hover { opacity: 0.88; }
.jsh-cart-summary__note {
  font-family: var(--jsh-font-mono); font-size: 10.5px; color: var(--jsh-text-dim);
  text-align: center; margin-top: 14px; line-height: 1.6; letter-spacing: 0.3px;
}

/* WhatsApp help card */
.jsh-cart-wa {
  background: #25D366; color: #fff; border: none; border-radius: 16px;
  padding: 20px; text-align: left; cursor: pointer;
  font-family: var(--jsh-font-body); width: 100%;
  display: flex; align-items: center; gap: 14px;
}
.jsh-cart-wa__text-title { font-weight: 700; font-size: 15px; }
.jsh-cart-wa__text-sub { font-size: 12px; opacity: 0.9; margin-top: 2px; }

/* ── Empty cart ─────────────────────────────────────────────────────── */
.jsh-cart-empty {
  max-width: 560px; margin: 96px auto; text-align: center;
  background: var(--jsh-surface); border: 1px solid var(--jsh-border);
  border-radius: 24px; padding: 64px 48px;
}
.jsh-cart-empty__icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
  background: rgba(79,227,193,.12); color: var(--jsh-accent);
  display: flex; align-items: center; justify-content: center;
}
.jsh-cart-empty__title {
  font-family: var(--jsh-font-display); font-weight: 400; font-size: 48px;
  letter-spacing: -1px; margin: 0; color: var(--jsh-text);
}
.jsh-cart-empty__body { font-size: 16px; color: var(--jsh-text-soft); margin-top: 12px; line-height: 1.55; }
.jsh-cart-empty__actions { display: flex; gap: 10px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
