/* Checkout sheet (shared by the microsite and the app). Ticket look: white ground, pale grey panels, black actions. */
.ftc { position: fixed; inset: 0; z-index: 100; display: none; font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace; color: #111; }
.ftc.open { display: block; }
.ftc-scrim { position: absolute; inset: 0; background: rgba(17, 17, 17, .38); animation: ftc-fade .2s ease; }
.ftc-sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); overflow: auto; background: #fff; padding: 28px 28px 36px; box-shadow: -12px 0 40px rgba(0, 0, 0, .12); animation: ftc-in .28s cubic-bezier(.2, .8, .2, 1); outline: none; }
@keyframes ftc-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ftc-fade { from { opacity: 0; } }
.ftc-x { position: absolute; top: 18px; right: 20px; height: 32px; padding: 0 12px; border: 0; background: #f2f2f0; font: inherit; font-size: 12px; text-transform: uppercase; cursor: pointer; }
.ftc-h { margin: 18px 0 0; font: 500 26px/1.05 "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: -.02em; padding-right: 72px; }
.ftc-p { margin: 12px 0 18px; font: 400 17px/1.45 "Newsreader", Georgia, serif; }
.ftc-f { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.ftc-f > span, .ftc-f legend { font-size: 12px; text-transform: uppercase; color: #5c5c5a; padding: 0; margin-bottom: 6px; }
.ftc-f input, .ftc-f select { height: 42px; border: 0; background: #f2f2f0; padding: 0 12px; font: inherit; font-size: 15px; color: #111; border-radius: 0; }
.ftc-f input:focus, .ftc-f select:focus { outline: 2px solid #111; outline-offset: 0; }
.ftc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.ftc-seg { display: flex; gap: 4px; }
.ftc-seg label { flex: 1; }
.ftc-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ftc-seg span { display: flex; align-items: center; justify-content: center; height: 40px; background: #f2f2f0; font-size: 12.5px; text-transform: uppercase; cursor: pointer; text-align: center; padding: 0 6px; }
.ftc-seg input:checked + span { background: #111; color: #fff; }
.ftc-seg input:focus-visible + span { outline: 2px solid #111; outline-offset: 2px; }
.ftc-actions { display: flex; gap: 6px; margin-top: 18px; }
.ftc-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border: 0; background: #111; color: #fff; font: inherit; font-size: 13px; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .12s, background .15s; }
.ftc-btn:hover { background: #333; }
.ftc-btn:active { transform: scale(.98); }
.ftc-btn[disabled] { opacity: .6; cursor: wait; }
.ftc-ghost { background: #f2f2f0; color: #111; flex: 0 0 auto; }
.ftc-ghost:hover { background: #e7e7e4; }
.ftc-err { margin: 6px 0 0; padding: 10px 12px; background: #fdecea; color: #8a1c14; font-size: 13px; }
.ftc-warn { margin: 12px 0 0; font-size: 12.5px; color: #8a1c14; }
.ftc-small { margin: 14px 0 0; font-size: 11.5px; color: #5c5c5a; line-height: 1.5; }
.ftc-lines { list-style: none; margin: 0; padding: 0; }
.ftc-lines li { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; border-top: 1px solid #ececea; }
.ftc-lines b { display: block; font-weight: 500; font-size: 12.5px; text-transform: uppercase; }
.ftc-t { display: block; font: 400 15px/1.3 "Newsreader", Georgia, serif; margin-top: 3px; }
.ftc-s { display: block; font-size: 12px; color: #5c5c5a; margin-top: 4px; }
.ftc-pr { font-variant-numeric: tabular-nums; font-size: 13px; }
.ftc-tag { font-style: normal; background: #111; color: #fff; font-size: 10.5px; padding: 1px 5px; margin-left: 4px; }
.ftc-sum { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 6px 0 0; padding-top: 12px; border-top: 1px solid #ececea; font-size: 12.5px; text-transform: uppercase; }
.ftc-sum dt { color: #5c5c5a; } .ftc-sum dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.ftc-sum .ftc-tot { color: #111; font-weight: 600; font-size: 16px; padding-top: 6px; }
.ftc-gift { display: flex; align-items: flex-end; gap: 6px; margin-top: 18px; }
.ftc-gift .ftc-f { flex: 1; margin: 0; }
.ftc-gift .ftc-btn { min-height: 42px; }
.ftc-seg { flex-wrap: wrap; }
.ftc-seg label { min-width: 72px; }
.ftc-guide { margin: 10px 0 0; padding: 12px 14px; background: #f2f2f0; font-size: 12px; }
.ftc-guide b { font-weight: 500; text-transform: uppercase; }
.ftc-guide ul { margin: 6px 0 0; padding-left: 18px; font: 400 14.5px/1.45 "Newsreader", Georgia, serif; }
.ftc-file { display: flex; margin-top: 10px; cursor: pointer; }
.ftc-file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ftc-file span { flex: 1; display: flex; align-items: center; justify-content: center; height: 42px; background: #111; color: #fff; font-size: 12.5px; text-transform: uppercase; }
.ftc-file input:focus-visible + span { outline: 2px solid #111; outline-offset: 2px; }
.ftc-thumb { display: block; max-height: 140px; margin-top: 10px; }
.ftc-fit { margin-top: 16px; }
.ftc-fit img { display: block; width: 100%; height: auto; background: #f2f2f0; }
.ftc-skel { display: block; height: 48px; margin-top: 10px; background: #f2f2f0; }
@media (max-width: 520px) { .ftc-sheet { padding: 20px 16px 28px; } .ftc-h { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .ftc-sheet, .ftc-scrim { animation: none; } }

/* No black buttons: outlined. */
.ftc-btn { background: #fff; color: #111; border: 1px solid #111; }
.ftc-btn:hover { background: #f2f2f0; }
.ftc-ghost { border-color: #c9c9c6; }
.ftc-seg input:checked + span { background: #fff; color: #111; box-shadow: inset 0 0 0 1px #111; font-weight: 600; }
.ftc-file span { background: #fff; color: #111; border: 1px solid #111; }
.ftc-tag { background: #fff; color: #111; border: 1px solid #111; }
/* Store gift cards and discount codes */
.ftc-more { margin-top: 14px; background: #f7f7f5; padding: 10px 12px; }
.ftc-more summary { cursor: pointer; font-size: 12.5px; text-transform: uppercase; }
.ftc-more .ftc-grid { margin-top: 10px; }
.ftc-more .ftc-f input { background: #fff; }
.ftc-row { margin: 8px 0 0; font-size: 12.5px; }
.ftc-link { border: 0; background: none; padding: 0 0 0 6px; font: inherit; text-decoration: underline; cursor: pointer; }/* Shipping speed choice in checkout. */
.ftc-speed { margin: 14px 0 6px; } .ftc-speed .ftc-sp { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--ink, #111); margin-top: 6px; cursor: pointer; font-size: 14px; } .ftc-speed .ftc-sp input { margin-top: 3px; }

/* ---------- Centred card, v2 (Benedict, 28 Nov) ----------
   Cart and sizes float in the middle of the page, wider than tall, with the moving gradient stroke (same as Twin a
   fit), big bold Archivo titles, product photos on every cart row. Smooth, fast, no bounce. */
@property --lava { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes lava { from { --lava: 360deg; } to { --lava: 0deg; } }
.ftc { font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; }
.ftc-scrim { background: rgba(255, 255, 255, .72); backdrop-filter: blur(3px); }
.ftc-sheet { top: 50%; left: 50%; right: auto; bottom: auto; translate: -50% -50%;
  width: min(1040px, calc(100vw - 48px)); max-height: min(86vh, 820px); padding: 36px 44px 32px;
  border: 5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--lava), var(--g0) 0deg, var(--g1) 60deg, var(--g2) 120deg, var(--g3) 175deg, var(--g4) 220deg, var(--g1) 290deg, var(--g0) 360deg) border-box;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .18);
  animation: ftc-pop .26s cubic-bezier(.2, .8, .2, 1) both, lava 3.5s linear infinite; }
@keyframes ftc-pop { from { opacity: 0; scale: .97; } to { opacity: 1; scale: 1; } }
.ftc-x { top: 18px; right: 20px; height: 36px; padding: 0 14px; background: #fff; border: 1px solid #111; font: 600 12px/1 "Archivo", sans-serif; letter-spacing: .06em; }
.ftc-x:hover { background: #111; color: #fff; }
.ftc-h { margin: 10px 0 0; padding-right: 96px; font: 800 clamp(30px, 3.6vw, 48px)/.98 "Archivo", system-ui, sans-serif; font-stretch: 125%; letter-spacing: -.01em; text-transform: uppercase; }
.ftc-p { margin: 12px 0 26px; font: 400 17px/1.45 "Archivo", system-ui, sans-serif; color: #444; }
.ftc-f > span, .ftc-f legend { font: 600 11.5px/1 "Archivo", sans-serif; letter-spacing: .08em; color: #5c5c5a; }
.ftc-f input, .ftc-f select { font: 400 16px "Archivo", sans-serif; height: 46px; }
.ftc-seg span { height: 44px; font: 600 12.5px/1 "Archivo", sans-serif; letter-spacing: .04em; transition: box-shadow .15s, background .15s; }
.ftc-seg span:hover { background: #e9e9e6; }
.ftc-seg input:checked + span { box-shadow: inset 0 0 0 2px #111; background: #fff; }
.ftc-btn { min-height: 52px; font: 700 13.5px/1 "Archivo", sans-serif; letter-spacing: .08em; }
.ftc-btn.lava { border: 3px solid transparent; color: #111; animation: lava 3.5s linear infinite;
  background: linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--lava), var(--g0) 0deg, var(--g1) 60deg, var(--g2) 120deg, var(--g3) 175deg, var(--g4) 220deg, var(--g1) 290deg, var(--g0) 360deg) border-box; }
.ftc-btn.lava:hover { background: linear-gradient(#f6f6f3, #f6f6f3) padding-box,
    conic-gradient(from var(--lava), var(--g0) 0deg, var(--g1) 60deg, var(--g2) 120deg, var(--g3) 175deg, var(--g4) 220deg, var(--g1) 290deg, var(--g0) 360deg) border-box; }
/* Two columns: sizes split left / right; the cart has its pieces on the left, totals and paying on the right. */
.ftc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; align-items: start; }
.ftc-two > .ftc-col { min-width: 0; }
.ftc-two .ftc-actions { margin-top: 22px; }
.ftc-lines li { grid-template-columns: 76px 1fr auto; align-items: start; gap: 16px; padding: 14px 0;
  animation: ftc-row .32s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
.ftc-lines li:first-child { border-top: 0; padding-top: 0; }
@keyframes ftc-row { from { opacity: 0; translate: 0 8px; } }
.ftc-im { width: 76px; height: 76px; background: #f4f4f2; display: grid; place-items: center; overflow: hidden; }
.ftc-im img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ftc-lines b { font: 800 13px/1.2 "Archivo", sans-serif; letter-spacing: .04em; }
.ftc-t { font: 400 15.5px/1.3 "Archivo", sans-serif; }
.ftc-pr { font: 800 17px/1.2 "Archivo", sans-serif; }
.ftc-size { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.ftc-size input { height: 34px; width: 150px; border: 1px solid #c9c9c6; padding: 0 10px; font: 500 14px "Archivo", sans-serif; }
.ftc-size input:focus { outline: 2px solid #111; outline-offset: 0; border-color: #111; }
.ftc-two > .ftc-col:first-child .ftc-lines { max-height: min(58vh, 560px); overflow: auto; padding-right: 8px; }
.ftc-confirm { display: flex; gap: 10px; align-items: flex-start; font: 400 14px/1.45 "Archivo", sans-serif; cursor: pointer; }
.ftc-confirm input { width: 18px; height: 18px; margin-top: 1px; accent-color: #f12233; }
.ftc-speed .ftc-sp { border: 1px solid #c9c9c6; font: 400 14.5px/1.3 "Archivo", sans-serif; transition: border-color .15s; }
.ftc-speed .ftc-sp:has(input:checked) { border: 2px solid #111; }
.ftc-speed .ftc-sp input { accent-color: #f12233; }
.ftc-sum { font: 500 12.5px/1.3 "Archivo", sans-serif; letter-spacing: .04em; }
.ftc-sum .ftc-tot { font: 800 24px/1.1 "Archivo", sans-serif; font-stretch: 125%; }
.ftc-small { font: 400 12.5px/1.5 "Archivo", sans-serif; }
.ftc-more summary { font: 600 12px/1 "Archivo", sans-serif; letter-spacing: .06em; }
@media (max-width: 760px) {
  .ftc-sheet { width: calc(100vw - 32px); max-height: 90vh; padding: 26px 18px 22px; border-width: 4px; }
  .ftc-two { grid-template-columns: 1fr; }
  .ftc-two > .ftc-col:first-child .ftc-lines { max-height: none; overflow: visible; padding-right: 0; }
  .ftc-h { font-size: 28px; padding-right: 80px; }
  .ftc-lines li { grid-template-columns: 60px 1fr auto; gap: 12px; } .ftc-im { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) { .ftc-sheet, .ftc-btn.lava, .ftc-lines li { animation: none; } }
/* Pay stays in view at the bottom of the card while the rest scrolls. */
.ftc-two .ftc-actions { position: sticky; bottom: -32px; z-index: 2; background: #fff; padding: 12px 0 14px; margin-bottom: -14px; }
@media (max-width: 760px) { .ftc-two .ftc-actions { bottom: -22px; } }
.ftc-lines li > span:nth-child(2) { min-width: 0; }
.ftc-size input { max-width: 100%; min-width: 0; flex: 0 1 150px; }
.ftc-size > span { white-space: nowrap; }
.ftc-terms { display: block; margin: 0; color: #555; font-size: 13.5px; }

/* ===== Checkout review, hierarchy pass (Benedict, 28 Nov: "not designed well at all") =====
   Title smaller with the delivery line under it; totals first; real choices only; gift cards and codes folded into
   one line; the size confirmation sits right above Pay; Pay is the one solid button. */
.ftc-h { font-size: clamp(24px, 2.4vw, 32px) !important; line-height: 1.02 !important; margin-top: 0 !important; max-width: 22ch; }
.ftc-h + .ftc-p { margin: 8px 0 26px; font-size: 15px; color: #555; }
.ftc-sum { font-size: 12px; letter-spacing: .04em; }
.ftc-sum dt small { display: block; margin-top: 2px; font-size: 11.5px; letter-spacing: 0; text-transform: none; color: #6b6b67; }
.ftc-sum .ftc-tot { font: 800 22px/1.1 "Archivo", sans-serif; font-stretch: 125%; letter-spacing: 0; padding-top: 10px; }
.ftc-extras { margin: 16px 0 0; border-top: 1px solid #ececea; padding-top: 12px; }
.ftc-extras > summary { cursor: pointer; font: 600 13px/1.3 "Archivo", sans-serif; color: #111; text-decoration: underline; text-underline-offset: 4px; list-style: none; }
.ftc-extras > summary::-webkit-details-marker { display: none; }
.ftc-extras[open] > summary { margin-bottom: 12px; text-decoration: none; }
.ftc-extras .ftc-more { margin-top: 10px; }
.ftc-confirm { margin: 20px 0 0 !important; padding: 12px 14px; background: #f6f6f3; font-size: 13.5px !important; line-height: 1.45 !important; }
.ftc-confirm input { flex: none; accent-color: #111 !important; }
.ftc-two .ftc-actions { margin-top: 12px !important; gap: 10px; }
.ftc-btn.ftc-pay { flex: 1; background: #111 !important; color: #fff !important; border: 1px solid #111 !important; min-height: 54px; font-size: 14px; }
.ftc-btn.ftc-pay:hover { background: #2a2a2a !important; }
.ftc-btn.ftc-pay:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
.ftc-actions .ftc-ghost { flex: 0 0 auto; min-height: 54px; }
.ftc-tag { white-space: nowrap; }
.ftc-lines b { line-height: 1.35; }
.ftc-size input { border: 0; border-bottom: 1px solid #c9c9c6; background: transparent; width: 130px; height: 30px; padding: 0 2px; font-weight: 700; }
.ftc-size input:hover { border-bottom-color: #111; }
.ftc-size input:focus { outline: none; border-bottom: 2px solid #111; }
.ftc-size > span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #6b6b67; }
@media (max-width: 760px) { .ftc-actions { flex-direction: column-reverse; } .ftc-actions .ftc-btn { width: 100%; } }
.ftc-size input { field-sizing: content; min-width: 90px; width: auto; max-width: 100%; } /* long sizes like "US 8 (EU 38.5)" show in full */
.ftc-btn.ftc-pay[disabled] { background: #d9d9d6 !important; border-color: #d9d9d6 !important; color: #6b6b67 !important; cursor: not-allowed; opacity: 1; } /* locked until the box is ticked */
