/* Cart + checkout extras: promo code box, item kind chips, custom-mural
   thumbnails, material lines. Linked from cart.html and checkout.html.
   Only additive — design tokens come from src/styles.css. */

/* ---------- promo code box (cart summary) ---------- */
.promo { display: grid; gap: 8px; }
.promo__form { display: flex; gap: 8px; }
.promo__form input {
  flex: 1;
  min-width: 0;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 9px 12px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  outline: none;
  text-transform: uppercase;
}
.promo__form input::placeholder {
  text-transform: none;
  font-weight: 600;
  color: var(--ink-soft);
  opacity: 0.7;
}
.promo__form input:focus { border-color: var(--violet); }
.promo__form button {
  border: none;
  border-radius: 12px;
  padding: 9px 16px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  background: var(--violet);
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.promo__form button:hover { filter: brightness(1.07); transform: translateY(-1px); }
.promo__on {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--tint);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.promo__on a { color: var(--pink); font-weight: 800; text-decoration: none; }
.promo__on a:hover { text-decoration: underline; }
.promo__err { color: #e05a5a; font-weight: 700; font-size: 13px; margin: 0; }

/* ---------- discount row (cart + checkout summaries) ---------- */
.promo__disc span:last-child { color: #2fae7d; font-weight: 800; }

/* ---------- item kind chips ---------- */
.chip {
  font-style: normal;
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 2px 9px;
  border-radius: 999px;
  vertical-align: 2px;
  white-space: nowrap;
}
.chip--custom { background: #efe7ff; color: var(--violet); }
.chip--sample { background: var(--tint); color: var(--ink-soft); border: 1px solid var(--line); }

/* ---------- extra cart-item lines ---------- */
.cartitem__mat { font-size: 13px; font-weight: 600; color: var(--ink-soft); }

/* ---------- custom mural thumbnail / fallback ---------- */
.cartitem__ph {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  font-size: 36px;
  background: var(--tint);
  border-radius: 14px;
}
