/* =========================================================
   Future Playing Cards — shop, cart and checkout (section 07)
   Extends styles.css; every colour, easing and rhythm token
   comes from the :root there. Paper section, ink summary card:
   the form stays maximally legible, the money stays dramatic.
   ========================================================= */

.shop {
  position: relative;
  z-index: 15;                      /* clears the sticky plate stack above */
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 10vw, 104px) var(--gut) clamp(60px, 11vw, 116px);
  scroll-margin-top: var(--header-total);
}

.shop__inner { max-width: var(--max); margin: 0 auto; }

/* A class-level `display` outranks the UA's [hidden] rule, so every element
   this module shows and hides needs to say so itself. */
.product[hidden],
.line[hidden],
.rate[hidden],
.rate__was[hidden],
.totals__row[hidden],
.promo__applied[hidden],
.cart-dot[hidden] { display: none; }

/* ---------- Heading ---------- */
.shop__head {
  max-width: 42ch;
  margin: 0 0 clamp(30px, 6vw, 54px);
}
.shop__head--slim { margin-bottom: clamp(22px, 4vw, 34px); }
.shop__title {
  font-size: clamp(1.95rem, 8vw, 3.4rem);
  font-weight: 400; line-height: 1.02; letter-spacing: -.026em;
  margin: 0 0 clamp(10px, 2vw, 16px);
  text-wrap: balance;
}
.shop__head--slim .shop__title { margin-bottom: 0; }
.shop__lede {
  font-size: clamp(1.05rem, 3.4vw, 1.28rem);
  color: var(--ink); opacity: .78;
  margin: 0;
}

/* =========================================================
   HEADER CART BUTTON
   ========================================================= */
.icon-btn--cart { position: relative; }
/* The cart is the one header icon that has to survive small screens — without
   it there is no way back into the drawer once it's dismissed. */
.header__icons .icon-btn.icon-btn--cart { display: inline-flex; }
.cart-dot {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--violet-lit); color: var(--white);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: .62rem; line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   CART DRAWER
   ========================================================= */
.cart { position: fixed; inset: 0; z-index: 90; }
.cart__scrim {
  position: absolute; inset: 0;
  background: rgba(16, 15, 20, .5);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.cart.is-open .cart__scrim { opacity: 1; }

.cart__panel {
  position: absolute; inset: 0 0 0 auto;
  width: min(430px, 100%);
  display: flex; flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  box-shadow: -30px 0 70px -40px rgba(16, 15, 20, .8);
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  padding-top: var(--safe-top);
}
.cart.is-open .cart__panel { transform: none; }

.cart__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: clamp(16px, 3vw, 22px) clamp(18px, 4vw, 26px);
  border-bottom: 1px solid var(--line);
}
.cart__title {
  font-size: clamp(1.1rem, 4vw, 1.3rem);
  font-weight: 400; letter-spacing: -.01em;
  margin: 0;
}
.cart__close { color: var(--ink); }
@media (hover: hover) { .cart__close:hover { background: rgba(16, 15, 20, .07); } }

.cart__body {
  flex: 1; min-height: 0; overflow-y: auto;
  padding: clamp(18px, 4vw, 26px);
}

.cart__empty { text-align: center; padding: clamp(24px, 6vw, 44px) 0; }
.cart__empty p { margin: 0 0 14px; color: #34313a; }
.cart__emptylink {
  font-family: var(--font-mono);
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet);
  border-bottom: 1px solid var(--line);
}

/* ---------- Cart line item ---------- */
.line { display: grid; grid-template-columns: 84px 1fr; gap: 16px; }
.line__shot {
  margin: 0;
  background: linear-gradient(150deg, #1c1a24, #100f14 70%);
  border-radius: var(--radius);
  padding: 8px;
}
.line__shot img { mix-blend-mode: screen; }
.line__body { min-width: 0; }
.line__name {
  font-size: 1.02rem; letter-spacing: -.01em;
  margin: 0 0 4px;
}
.line__meta {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.line__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.line__price {
  margin: 0;
  font-family: var(--font-mono); font-size: 1rem;
  font-variant-numeric: tabular-nums;
}
.line__remove {
  margin-top: 12px; padding: 0;
  background: none; border: 0;
  font-family: var(--font-mono);
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
@media (hover: hover) {
  .line__remove:hover { color: var(--crimson); border-color: var(--crimson); }
}

/* ---------- Cart footer ---------- */
.cart__foot {
  padding: clamp(16px, 3.4vw, 22px) clamp(18px, 4vw, 26px)
           calc(clamp(16px, 3.4vw, 22px) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}
.cart__row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px;
  font-size: 1.02rem;
}
.cart__row b {
  font-family: var(--font-mono); font-size: 1.2rem; font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.cart__note {
  margin: 8px 0 16px;
  font-size: .8rem; line-height: 1.55;
  color: var(--muted);
}
.cart__go {
  width: 100%;
  font-family: var(--font-mono);
  font-size: clamp(.86rem, 2.4vw, .95rem);
  letter-spacing: .12em; text-transform: uppercase;
}
.cart__go:disabled { opacity: .45; cursor: not-allowed; }
.cart__cont {
  display: block; width: 100%;
  margin-top: 12px; padding: 8px;
  background: none; border: 0;
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color .25s var(--ease);
}
@media (hover: hover) { .cart__cont:hover { color: var(--ink); } }

/* =========================================================
   PRODUCT PANEL
   ========================================================= */
.product {
  display: grid;
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
}
@media (min-width: 900px) {
  .product { grid-template-columns: 1fr 1fr; }
}

.product__shot {
  margin: 0;
  background: linear-gradient(150deg, #1c1a24, #100f14 70%);
  border-radius: var(--radius);
  padding: clamp(18px, 4vw, 40px);
  box-shadow: 0 24px 60px -30px rgba(16, 15, 20, .55);
}
.product__shot img { mix-blend-mode: screen; }

.product__sku {
  font-family: var(--font-mono);
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 10px;
}
.product__name {
  font-size: clamp(1.5rem, 5.5vw, 2.1rem);
  font-weight: 400; letter-spacing: -.02em;
  margin: 0 0 10px;
}
.product__price {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-mono); font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
  margin: 0 0 12px;
}
.product__price em {
  font-style: normal; font-size: .68rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.product__stock {
  font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 clamp(16px, 3vw, 22px);
}
.product__stock [data-stock-count] { color: var(--ink); font-weight: 500; }
.product__desc {
  max-width: 46ch;
  font-size: 1rem; line-height: 1.65;
  color: #34313a;
  margin: 0 0 clamp(20px, 3.6vw, 28px);
}

.product__buy {
  display: flex; align-items: center; gap: clamp(12px, 2.4vw, 18px);
  flex-wrap: wrap;
}
.product__add {
  flex: 1 1 220px;
  font-family: var(--font-mono);
  font-size: clamp(.82rem, 2.2vw, .9rem);
  letter-spacing: .12em; text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.product__add:disabled { opacity: .45; cursor: not-allowed; }
.product__add.is-added { --btn-bg: var(--violet); }

.product__msg {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .06em;
  color: var(--crimson);
}
.product__msg:empty { display: none; }

.product__points {
  list-style: none;
  margin: clamp(20px, 3.6vw, 28px) 0 0;
  padding: 0;
  display: grid; gap: 9px;
}
.product__points li {
  position: relative;
  padding-left: 20px;
  font-size: .86rem; line-height: 1.55;
  color: #4a4650;
}
.product__points li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 7px; height: 7px;
  background: var(--violet-lit);
  border-radius: 999px;
}
.product__points b { font-weight: 500; letter-spacing: .05em; }

/* ---------- Quantity stepper ---------- */
.qty { display: flex; align-items: center; gap: 12px; }
.qty__label {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.qty__control {
  display: flex; align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.qty__btn {
  width: 44px; height: 48px;
  display: grid; place-items: center;
  background: none; border: 0; border-radius: 999px;
  color: var(--ink); font-size: 1.15rem; line-height: 1;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
@media (hover: hover) {
  .qty__btn:hover { background: var(--violet); color: var(--white); }
}
.qty__btn:disabled { opacity: .3; cursor: not-allowed; }
.qty__input {
  width: 3ch;
  background: none; border: 0; color: var(--ink);
  font-family: var(--font-mono); font-size: 1.02rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--compact .qty__btn { width: 38px; height: 40px; }
.qty--compact .qty__label { font-size: .62rem; }

/* =========================================================
   CHECKOUT — step rail
   ========================================================= */
.ckout { scroll-margin-top: calc(var(--header-total) + 24px); }

.steps { margin: 0 0 clamp(24px, 4.4vw, 38px); }
.steps__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px 4px;
}
.steps__item { display: flex; align-items: center; }
.steps__item + .steps__item::before {
  content: "›";
  margin: 0 8px 0 4px;
  color: var(--line);
}
.steps__item button {
  padding: 4px 2px;
  background: none; border: 0;
  font-family: var(--font-mono);
  font-size: clamp(.62rem, 2vw, .7rem);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color .25s var(--ease);
}
.steps__item button:disabled { color: #bdb7ac; cursor: default; }
@media (hover: hover) {
  .steps__item button:not(:disabled):hover { color: var(--violet); }
}
.steps__item.is-done button { color: var(--violet); }
.steps__item.is-current button {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  cursor: default;
}

/* =========================================================
   CHECKOUT — layout
   ========================================================= */
.ckout__grid {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}
@media (min-width: 900px) {
  .ckout__grid { grid-template-columns: 1.16fr minmax(300px, .84fr); }
  /* Summary is first in the source so it leads on mobile; on desktop it
     rides the right-hand column and follows the form down. */
  .ckout__grid > .summary { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-total) + 20px); }
  .ckout__grid > .ck { grid-column: 1; grid-row: 1; }
}

/* =========================================================
   ORDER SUMMARY
   ========================================================= */
.summary {
  background: var(--ink); color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(16, 15, 20, .55);
}
.summary__body { padding: clamp(20px, 3.6vw, 28px); }

.summary__sku {
  font-family: var(--font-mono);
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--violet-lit);
  margin: 0 0 clamp(16px, 3vw, 20px);
}

.summary__line {
  display: grid; grid-template-columns: 60px 1fr auto;
  align-items: center; gap: 14px;
  padding-bottom: clamp(14px, 2.6vw, 18px);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.summary__shot {
  position: relative; margin: 0;
  background: linear-gradient(150deg, #262233, #14131a 70%);
  border-radius: var(--radius);
  padding: 6px;
}
.summary__shot img { mix-blend-mode: screen; }
.summary__badge {
  position: absolute; top: -8px; right: -8px;
  min-width: 21px; height: 21px; padding: 0 6px;
  display: grid; place-items: center;
  background: var(--violet-lit); color: var(--white);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: .64rem; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.summary__lineinfo { min-width: 0; }
.summary__name {
  font-size: 1rem; font-weight: 400; letter-spacing: -.01em;
  margin: 0 0 3px;
}
.summary__meta {
  font-family: var(--font-mono);
  font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: 0;
}
.summary__amt {
  margin: 0;
  font-family: var(--font-mono); font-size: 1rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.summary__edit {
  margin-top: 14px; padding: 0;
  background: none; border: 0;
  font-family: var(--font-mono);
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet-lit);
  border-bottom: 1px solid rgba(106, 88, 207, .5);
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
@media (hover: hover) {
  .summary__edit:hover { color: var(--white); border-color: var(--white); }
}

/* ---------- Totals ---------- */
.totals { margin: clamp(16px, 3vw, 22px) 0 0; }
.totals__row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}
.totals__row dt {
  font-size: .96rem;
  color: rgba(255,255,255,.82);
  display: grid; gap: 2px;
}
.totals__row dd {
  margin: 0;
  font-family: var(--font-mono); font-size: .98rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.totals__note {
  font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.42);
}
.totals__row--grand {
  margin-top: 6px; padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.24);
}
.totals__row--grand dt { font-size: 1.08rem; color: var(--white); }
.totals__row--grand dd { font-size: 1.4rem; font-weight: 500; }

/* ---------- The no-surprises note ---------- */
.fineprint {
  margin-top: clamp(20px, 3.4vw, 26px);
  padding: clamp(15px, 2.6vw, 19px) clamp(16px, 2.8vw, 20px);
  background: rgba(106, 88, 207, .13);
  border-left: 2px solid var(--violet-lit);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.fineprint__head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--violet-lit);
  margin: 0 0 10px;
}
.fineprint__head svg { width: 12px; height: 12px; fill: currentColor; flex: none; }
.fineprint p {
  margin: 0 0 8px;
  font-size: .88rem; line-height: 1.6;
  color: rgba(255,255,255,.78);
}
.fineprint p:last-child { margin-bottom: 0; }
.fineprint b { color: var(--white); font-weight: 500; letter-spacing: .04em; }
.fineprint__soft { color: rgba(255,255,255,.5) !important; font-size: .8rem !important; }

/* =========================================================
   FORM
   ========================================================= */
.ck { display: grid; gap: clamp(18px, 3vw, 24px); }

.step { margin: 0; }
.step__title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 clamp(14px, 2.4vw, 18px);
  font-family: var(--font-mono);
  font-size: clamp(.68rem, 2vw, .74rem);
  font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--violet);
}
.step__title:focus-visible { outline: 2px solid var(--violet); outline-offset: 6px; }
.step__title span {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border: 1px solid var(--violet); border-radius: 999px;
  font-size: .62rem;
}
.step__title--gap { margin-top: clamp(24px, 4vw, 34px); }
.step__lede {
  margin: -6px 0 clamp(16px, 2.8vw, 20px);
  max-width: 56ch;
  font-size: .9rem; line-height: 1.6;
  color: #4a4650;
}

.ck__grid {
  display: grid;
  gap: clamp(14px, 2.4vw, 18px);
}
@media (min-width: 620px) { .ck__grid { grid-template-columns: 1fr 1fr; } }
.field--wide { grid-column: 1 / -1; }

/* ---------- Step navigation ---------- */
.step__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap-reverse;
  margin-top: clamp(22px, 4vw, 32px);
}
.step__foot--end { justify-content: flex-start; margin-top: clamp(16px, 2.6vw, 20px); }
.step__back {
  padding: 8px 0;
  background: none; border: 0;
  font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet);
  cursor: pointer;
  transition: color .25s var(--ease);
}
.step__back::before { content: "← "; }
@media (hover: hover) { .step__back:hover { color: var(--ink); } }
.step__next {
  flex: 1 1 240px;
  font-family: var(--font-mono);
  font-size: clamp(.82rem, 2.2vw, .9rem);
  letter-spacing: .12em; text-transform: uppercase;
}
.step__next:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Locked-in answers from earlier steps ---------- */
.review {
  margin: 0 0 clamp(22px, 4vw, 32px);
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.review__row {
  display: grid; grid-template-columns: 78px 1fr auto;
  align-items: baseline; gap: 12px;
  padding: 14px clamp(14px, 2.6vw, 18px);
}
.review__row + .review__row { border-top: 1px solid var(--line); }
.review__row dt {
  font-family: var(--font-mono);
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.review__row dd {
  margin: 0;
  font-size: .92rem; line-height: 1.5;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.review__change {
  padding: 0;
  background: none; border: 0;
  font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
@media (hover: hover) {
  .review__change:hover { color: var(--ink); border-color: var(--ink); }
}

/* ---------- Shipping method ---------- */
.rates { display: grid; gap: 10px; }
.rates__state {
  margin: 0;
  padding: 18px clamp(14px, 2.6vw, 18px);
  background: var(--white);
  border: 1px dashed var(--line); border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .08em;
  color: var(--muted);
}
.rates.is-bad .rates__state { border-color: var(--crimson); color: #6d1414; }

.rate {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 14px;
  padding: 16px clamp(14px, 2.6vw, 18px);
  background: var(--white);
  border: 1px solid var(--violet); border-radius: var(--radius);
  cursor: default;
}
.rate input { accent-color: var(--violet); width: 17px; height: 17px; }
.rate__body { display: grid; gap: 3px; min-width: 0; }
.rate__name { font-size: .96rem; }
.rate__eta {
  font-family: var(--font-mono);
  font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.rate__price {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-mono); font-size: 1rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rate__was { color: var(--muted); font-size: .82rem; }

/* ---------- Promo code ---------- */
.promo { margin-top: clamp(18px, 3vw, 24px); display: grid; gap: 7px; }
.promo__label {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  display: block; margin-bottom: 7px;
}
.promo__label em {
  font-style: normal; text-transform: none; letter-spacing: .04em; opacity: .7;
}
.promo__row { display: flex; gap: 10px; }
.promo__row input {
  flex: 1 1 auto; min-width: 0;
  min-height: 50px; padding: 12px 14px;
  font-family: var(--font-mono); font-size: .95rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.promo__row input::placeholder {
  color: #b3ada2; letter-spacing: .04em; text-transform: none;
}
.promo__row input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(48, 36, 108, .13);
}
.promo.is-bad .promo__row input { border-color: var(--crimson); }
.promo__apply {
  flex: none;
  padding: 0 clamp(18px, 3.4vw, 26px);
  background: none;
  border: 1px solid var(--ink); border-radius: 2px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
@media (hover: hover) {
  .promo__apply:hover { background: var(--ink); color: var(--white); }
}

.promo__applied {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  margin: 0;
  padding: 13px clamp(14px, 2.6vw, 18px);
  background: rgba(106, 88, 207, .1);
  border-left: 2px solid var(--violet);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .88rem;
  color: #34313a;
}
.promo__applied b {
  font-family: var(--font-mono); letter-spacing: .1em; color: var(--violet);
}
.promo__remove {
  padding: 0;
  background: none; border: 0;
  font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
@media (hover: hover) {
  .promo__remove:hover { color: var(--crimson); border-color: var(--crimson); }
}

/* A discount reads as money coming back, so it gets the accent colour. */
.totals__row--promo dt,
.totals__row--promo dd { color: var(--violet-lit); }
.totals__row--promo .totals__note { color: rgba(106, 88, 207, .75); }

/* ---------- Fields ---------- */
.field { margin: 0; display: grid; gap: 7px; }
.field label {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.field label em {
  font-style: normal; text-transform: none; letter-spacing: .04em;
  opacity: .7;
}
.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field select {
  /* Native arrow, drawn to match the mono/ink language. */
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237d786f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  padding-right: 38px;
  cursor: pointer;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(48, 36, 108, .13);
}
.field input::placeholder { color: #b3ada2; }

.field__msg {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .05em;
  color: var(--crimson);
  min-height: 0;
}
.field__msg:empty { display: none; }
.field.is-bad input,
.field.is-bad select { border-color: var(--crimson); }

/* ---------- Card ---------- */
.ck__card { display: grid; gap: 7px; }
.ck__cardfield {
  min-height: 62px;
  padding: 4px 0 0;
}
.ck__cardloading {
  display: block; padding: 18px 14px;
  background: var(--white);
  border: 1px dashed var(--line); border-radius: 2px;
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.ck__card.is-bad .ck__cardfield { box-shadow: 0 0 0 1px var(--crimson); border-radius: 2px; }

/* Square's field asks for the card's billing postal code, which buyers read as
   a duplicate of the shipping one. Saying so up front avoids AVS declines. */
.ck__hint {
  font-size: .78rem; line-height: 1.55;
  color: var(--muted);
}
.ck__hint b { color: #4a4650; font-weight: 500; }

.ck__pay {
  width: 100%;
  margin-top: clamp(16px, 3vw, 22px);
  font-family: var(--font-mono);
  font-size: clamp(.86rem, 2.4vw, .95rem);
  letter-spacing: .12em; text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.ck__pay:disabled { opacity: .55; cursor: progress; }
.ck__pay.is-busy [data-pay-label]::after {
  content: "";
  display: inline-block;
  width: 1em;
  text-align: left;
  animation: ck-dots 1.1s steps(4, end) infinite;
}
@keyframes ck-dots { to { content: "..."; } }

.ck__reassure {
  display: flex; align-items: flex-start; gap: 9px;
  margin: clamp(14px, 2.4vw, 18px) 0 0;
  font-size: .84rem; line-height: 1.6;
  color: #4a4650;
}
.ck__reassure svg { width: 13px; height: 13px; fill: var(--violet); flex: none; margin-top: 4px; }
.ck__reassure b { font-weight: 500; letter-spacing: .05em; }

/* ---------- Form-level error ---------- */
.ck__error {
  padding: 14px 16px;
  background: rgba(144, 24, 24, .07);
  border-left: 3px solid var(--crimson);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .92rem; line-height: 1.55;
  color: #6d1414;
}

/* =========================================================
   SOLD OUT / OFFLINE
   ========================================================= */
.shop__closed {
  padding: clamp(28px, 5vw, 44px);
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center;
}
.shop__closed-head {
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  letter-spacing: -.02em;
  margin: 0 0 10px;
}
.shop__closed p { color: #34313a; margin: 0 auto; max-width: 44ch; }
.shop__closed-mail { margin-top: 18px !important; }
.shop__closed-mail a {
  font-family: var(--font-mono); font-size: .82rem;
  color: var(--violet);
  border-bottom: 1px solid var(--line);
}

/* =========================================================
   SUCCESS
   ========================================================= */
.done {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--ink); color: var(--white);
  border-radius: var(--radius);
  padding: clamp(34px, 7vw, 72px) clamp(24px, 5vw, 60px);
  box-shadow: 0 30px 70px -34px rgba(16, 15, 20, .6);
}
.done__inner { max-width: 52ch; }
.done .eyebrow { color: var(--violet-lit); }
.done__title {
  font-size: clamp(2.1rem, 9vw, 3.6rem);
  font-weight: 400; line-height: 1; letter-spacing: -.03em;
  margin: 0 0 clamp(14px, 2.6vw, 20px);
}
.done__order {
  font-family: var(--font-mono);
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin: 0 0 clamp(16px, 3vw, 24px);
}
.done__order b { color: var(--white); font-weight: 500; }
.done__body {
  font-size: clamp(1rem, 2.9vw, 1.1rem); line-height: 1.65;
  color: rgba(255,255,255,.82);
  margin: 0 0 12px;
}
.done__body b { color: var(--white); font-weight: 500; }
.done__body--soft { color: rgba(255,255,255,.55); font-size: .92rem; }
.done__links { margin: clamp(18px, 3vw, 26px) 0 0; }
.done__links a {
  font-family: var(--font-mono);
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet-lit);
  border-bottom: 1px solid rgba(106, 88, 207, .5);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
@media (hover: hover) {
  .done__links a:hover { color: var(--white); border-color: var(--white); }
}

/* Reduced motion: the drawer slide and the dots are what's worth killing. */
@media (prefers-reduced-motion: reduce) {
  .ck__pay.is-busy [data-pay-label]::after { animation: none; content: "…"; }
  .cart__panel, .cart__scrim { transition: none; }
}
