/* =========================================================
   POKE PANTHER — "Card Shop Counter" design
   Bright cream paper, bold ink outlines, chunky shadows,
   Poké Ball red + electric yellow + trainer blue.
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@500;700;800&display=swap");

:root {
  --paper: #fff8ec;
  --paper-2: #ffefd2;
  --white: #ffffff;
  --ink: #1b1a2e;
  --muted: #5d5a72;
  --red: #e3350d;
  --red-dark: #b8290a;
  --yellow: #ffcb05;
  --blue: #2a75bb;
  --blue-dark: #1d5a94;
  --green: #16a34a;
  --night: #0b0d1a;
  --night-text: #eef0ff;
  --night-muted: #9aa0c3;
  --gold: #fcd34d;
  --border: 2.5px solid var(--ink);
  /* boxes sitting on the dark background get a gold offset shadow so it shows */
  --shadow: 5px 5px 0 var(--gold);
  --shadow-big: 8px 8px 0 var(--gold);
  --radius: 16px;
  --holo: linear-gradient(120deg, #ff5fa2, #ffd84d, #5cf2c8, #5fb4ff, #b07bff, #ff5fa2);
  --display: "Fredoka", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Nunito", "Segoe UI", system-ui, sans-serif; background: var(--night); color: var(--ink);
  line-height: 1.5; min-height: 100vh; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
::selection { background: var(--yellow); color: var(--ink); }

/* Background: dark night sky with soft coloured glows + faint Poké Ball outlines */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(124, 58, 237, .35), transparent 60%),
    radial-gradient(700px 500px at 100% 10%, rgba(14, 165, 233, .22), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(239, 68, 68, .20), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='2'%3E%3Ccircle cx='55' cy='55' r='30'/%3E%3Cpath d='M25 55h60'/%3E%3Ccircle cx='55' cy='55' r='9'/%3E%3Ccircle cx='165' cy='160' r='18'/%3E%3Cpath d='M147 160h36'/%3E%3Ccircle cx='165' cy='160' r='5'/%3E%3C/g%3E%3C/svg%3E"),
    var(--night);
}

/* ---------- Header ---------- */
header { position: sticky; top: 0; z-index: 20; padding: 12px 24px; background: var(--red); color: var(--white);
  border-bottom: var(--border); box-shadow: 0 4px 0 var(--ink); }
.bar { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--display); font-size: 1.6rem; font-weight: 700; text-decoration: none; display: flex;
  align-items: center; gap: 10px; letter-spacing: .01em; text-shadow: 2px 2px 0 var(--ink); }
.ball { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--ink); position: relative;
  background: linear-gradient(var(--red) 0 44%, var(--ink) 44% 56%, var(--white) 56%);
  box-shadow: 2px 2px 0 var(--ink); transition: transform .5s; }
.logo:hover .ball { transform: rotate(360deg); }
.ball::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--white); border: 2.5px solid var(--ink); }
.slogan { flex: 1; text-align: center; font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); text-shadow: 2px 2px 0 var(--ink); }
nav a { text-decoration: none; margin-left: 8px; font-weight: 800; padding: 6px 14px; border-radius: 999px;
  border: 2px solid transparent; transition: background .15s, border-color .15s, color .15s; }
nav a:hover { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
@media (max-width: 640px) {
  header { padding: 10px 16px; }
  .bar { flex-wrap: wrap; gap: 4px 10px; }
  .logo { font-size: 1.3rem; }
  nav { margin-left: auto; }
  nav a { margin-left: 2px; padding: 5px 10px; font-size: .9rem; }
  .slogan { order: 3; flex-basis: 100%; font-size: .8rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; max-width: 1160px; margin: 52px auto 8px; padding: 0 24px; }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); line-height: 1.05; max-width: 15ch; letter-spacing: -.01em; color: var(--night-text); }
.hero h1::after { content: ""; display: block; width: 120px; height: 10px; margin-top: 14px; border-radius: 999px;
  background: var(--yellow); border: var(--border); }
.hero p { color: var(--night-muted); margin-top: 16px; max-width: 60ch; font-size: 1.08rem; font-weight: 700; }
/* big Poké Ball peeking in from the right */
.hero::after { content: ""; position: absolute; right: 24px; top: -14px; width: 150px; height: 150px; border-radius: 50%;
  border: 5px solid var(--ink); box-shadow: var(--shadow-big); transform: rotate(14deg);
  background:
    radial-gradient(circle, var(--white) 0 15px, var(--ink) 15px 23px, transparent 23px),
    linear-gradient(var(--red) 0 45%, var(--ink) 45% 55%, var(--white) 55%); }
@media (max-width: 760px) { .hero::after { display: none; } }

/* ---------- Filters ---------- */
.filters { max-width: 1160px; margin: 30px auto 26px; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.filters button { font: inherit; font-weight: 800; color: var(--ink); background: var(--white); border: var(--border);
  padding: 7px 18px; border-radius: 999px; cursor: pointer; box-shadow: 3px 3px 0 var(--gold); transition: transform .1s, box-shadow .1s, background .15s; }
.filters button:hover { background: var(--paper-2); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--gold); }
.filters button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--gold); }
.filters button.active { background: var(--yellow); box-shadow: 3px 3px 0 var(--red); }

/* ---------- Product grid ---------- */
.grid { max-width: 1160px; margin: 0 auto 80px; padding: 0 24px; display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { position: relative; background: var(--white); border: var(--border); border-radius: var(--radius);
  display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-big); }
/* holo rainbow outline that lights up on hover */
.card::before { content: ""; position: absolute; inset: -2.5px; border-radius: inherit; padding: 4px; pointer-events: none; z-index: 4;
  background: var(--holo); background-size: 300% 300%; opacity: 0; transition: opacity .3s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: holoShift 6s linear infinite; }
@keyframes holoShift { to { background-position: 300% 0; } }
.card:hover::before, .card.tilting::before { opacity: 1; }

/* ---- Card animations ---- */
@keyframes dealIn {
  from { opacity: 0; transform: translateY(30px) rotate(-4deg) scale(.95); }
  to   { opacity: 1; transform: none; }
}
.card { animation: dealIn .55s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 70ms); }
.card.tilting { animation: none; transition: transform .08s linear, box-shadow .15s; box-shadow: var(--shadow-big);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate(-3px, -3px); }
.card .art::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 2;
  transition: opacity .25s; mix-blend-mode: soft-light;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.9), transparent 45%),
    linear-gradient(115deg, transparent 20%, rgba(255,0,150,.5) 35%, rgba(0,220,255,.5) 50%, rgba(255,230,0,.5) 65%, transparent 80%);
  background-size: 100% 100%, 250% 250%;
  background-position: 0 0, var(--mx, 50%) var(--my, 50%); }
.card.tilting .art::after { opacity: .8; }
@keyframes sweep { 0%, 70% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(220%) skewX(-20deg); } }
.card .art::before { content: ""; position: absolute; top: 0; bottom: 0; width: 35%; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
  animation: sweep 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 400ms); }
@media (prefers-reduced-motion: reduce) {
  .card, .card .art::before, .card::before { animation: none; }
  .card.tilting { transform: translate(-3px, -3px); }
}

/* the picture sits in a blue "binder pocket" */
.card .art { display: block; aspect-ratio: 4/5; position: relative; text-decoration: none; overflow: hidden;
  margin: 10px 10px 0; border-radius: 10px; border: 2px solid var(--ink);
  background:
    radial-gradient(rgba(255,255,255,.35) 1.3px, transparent 1.4px) 0 0 / 12px 12px,
    linear-gradient(160deg, #cfe6ff, #9cc8f2); }
.card .art img { width: 100%; height: 100%; object-fit: contain; padding: 10px; display: block;
  filter: drop-shadow(3px 5px 0 rgba(27,26,46,.35)); }
.card .art .hint { position: absolute; z-index: 3; bottom: 10px; left: 50%; transform: translate(-50%, 8px);
  background: var(--yellow); color: var(--ink); font-weight: 800; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  font-size: .8rem; padding: 4px 14px; border-radius: 999px; opacity: 0; transition: opacity .2s, transform .2s; white-space: nowrap; }
.card:hover .hint { opacity: 1; transform: translate(-50%, 0); }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--c) 55%, #fff), var(--c)); }
.placeholder span { font-size: 3.5rem; filter: drop-shadow(2px 3px 0 rgba(0,0,0,.25)); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); font-weight: 800; }
.card h3 { font-size: 1.08rem; line-height: 1.25; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px;
  border-top: 2px dashed rgba(27,26,46,.2); }
.price { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.price.ask { font-family: inherit; font-size: .85rem; color: var(--muted); font-weight: 800; }
.market { font-size: .82rem; color: var(--muted); font-weight: 700; margin-top: 2px; }
.market b { color: var(--green); font-family: var(--display); font-weight: 700; font-size: 1rem; }
.market.none { opacity: .75; font-style: italic; }
.lines .mkt span:last-child { color: var(--green); font-weight: 800; }
.stock { font-size: .75rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; white-space: nowrap;
  background: #d9f7e3; color: #14532d; border: 2px solid var(--ink); }
.stock.low { background: var(--yellow); color: var(--ink); }
.empty { grid-column: 1/-1; text-align: center; color: var(--night-muted); padding: 40px; font-weight: 700; }

/* ---------- Feedback + footer ---------- */
.feedback { padding: 72px 24px; background: var(--blue); border-top: var(--border);
  background-image: radial-gradient(rgba(255,255,255,.14) 1.5px, transparent 1.6px); background-size: 20px 20px; }
.feedback .inner { max-width: 640px; margin: 0 auto; background: var(--white); border: var(--border);
  border-radius: 22px; padding: 32px; box-shadow: var(--shadow-big); }
.feedback h2 { margin-bottom: 4px; font-size: 1.8rem; }
.feedback p { color: var(--muted); margin-bottom: 18px; font-weight: 700; }
.feedback p a { color: var(--blue-dark); }
.feedback form { display: grid; gap: 12px; }
.feedback form p { margin: 0; color: var(--ink); }
.feedback input, .feedback textarea, .panel input, .panel select {
  width: 100%; padding: 12px 14px; border-radius: 12px; font: inherit; font-weight: 600; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); outline: none; transition: box-shadow .15s, background .15s; }
.feedback input::placeholder, .feedback textarea::placeholder, .panel input::placeholder { color: #8f8ba3; }
.feedback input:focus, .feedback textarea:focus, .panel input:focus, .panel select:focus {
  background: var(--white); box-shadow: 0 0 0 4px var(--yellow); }
.feedback textarea { min-height: 120px; resize: vertical; }

.btn { background: var(--red); color: var(--white); border: var(--border); padding: 12px 22px; border-radius: 12px;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; cursor: pointer; text-decoration: none;
  display: inline-block; text-align: center; box-shadow: 4px 4px 0 var(--ink); transition: transform .1s, box-shadow .1s, background .15s; }
.btn:hover { background: var(--red-dark); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.secondary { background: var(--white); color: var(--ink); }
.btn.secondary:hover { background: var(--paper-2); }
footer { text-align: center; font-size: .85rem; color: #d8d5ea; padding: 22px; background: var(--ink); font-weight: 700;
  border-top: 2px solid var(--gold); }
footer a { color: var(--yellow); }

/* ---------- Checkout ---------- */
.checkout { max-width: 960px; margin: 44px auto 72px; padding: 0 24px; display: grid; gap: 26px; grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .checkout { grid-template-columns: 1fr; } }
.panel { background: var(--white); border: var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-big); }
.panel h2 { margin-bottom: 14px; font-size: 1.4rem; }
.item-art { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; margin-bottom: 14px; border: 2px solid var(--ink);
  background: radial-gradient(rgba(255,255,255,.35) 1.3px, transparent 1.4px) 0 0 / 12px 12px, linear-gradient(160deg, #cfe6ff, #9cc8f2); }
.item-art img { width: 100%; height: 100%; object-fit: contain; padding: 10px; filter: drop-shadow(3px 5px 0 rgba(27,26,46,.35)); }
.qty { display: flex; align-items: center; gap: 10px; margin: 14px 0; }
.qty button { width: 36px; height: 36px; border-radius: 10px; border: 2px solid var(--ink); background: var(--yellow);
  color: var(--ink); font-size: 1.2rem; font-weight: 800; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.qty button:active { transform: translate(2px, 2px); box-shadow: none; }
.qty span { min-width: 24px; text-align: center; font-weight: 800; }
.lines div { display: flex; justify-content: space-between; padding: 4px 0; }
.lines .total { border-top: 2px dashed rgba(27,26,46,.25); margin-top: 6px; padding-top: 12px; font-weight: 800; font-size: 1.05rem; }
.lines .total span:last-child { color: var(--red); }
.panel form { display: grid; gap: 12px; }
.panel label { font-size: .85rem; font-weight: 800; color: var(--ink); display: grid; gap: 6px; }
.note { font-size: .8rem; color: var(--muted); font-weight: 600; }
.done { text-align: center; padding: 36px 10px; }
.done p { color: var(--muted); font-weight: 600; }
.negotiate { grid-column: 1/-1; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
  background: var(--yellow); border: var(--border); box-shadow: var(--shadow); color: var(--ink);
  border-radius: 14px; padding: 16px 20px; font-size: 1rem; font-weight: 700; box-shadow: 5px 5px 0 var(--red); }
.negotiate strong { font-family: var(--display); font-size: 1.15rem; }

/* ---------- Dev page ---------- */
.dev { max-width: 1160px; margin: 32px auto 64px; padding: 0 24px; }
.dev .gate { max-width: 480px; margin: 48px auto; text-align: center; }
.dev .gate p { color: var(--muted); margin: 8px 0 20px; }
.gbtn { display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--ink); border: var(--border);
  padding: 11px 20px; border-radius: 12px; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); }
.gbtn:hover { background: var(--paper-2); }
.toolbar { position: sticky; top: 76px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  background: var(--white); border: var(--border); box-shadow: var(--shadow);
  padding: 12px 16px; border-radius: 14px; margin-bottom: 20px; }
.toolbar .who { margin-right: auto; font-size: .9rem; color: var(--muted); font-weight: 700; }
.toolbar .status { font-size: .85rem; font-weight: 800; }
.status.dirty { color: #b45309; } .status.ok { color: var(--green); } .status.err { color: #b91c1c; }
.btn.small { padding: 7px 14px; font-size: .9rem; box-shadow: 3px 3px 0 var(--ink); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.edit-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.ecard { background: var(--white); border: var(--border); box-shadow: var(--shadow);
  border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.ecard.off { opacity: .55; box-shadow: none; }
.ecard .art { aspect-ratio: 4/5; position: relative; overflow: hidden; border-bottom: 2px solid var(--ink);
  background: linear-gradient(160deg, #cfe6ff, #9cc8f2); }
.ecard .art img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.ecard .photo-btns { position: absolute; bottom: 6px; left: 6px; right: 6px; display: flex; gap: 6px; }
.ecard .photo-btns label, .ecard .photo-btns button { background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 6px;
  font: inherit; font-size: .75rem; padding: 3px 8px; cursor: pointer; font-weight: 800; }
.ecard .fields { padding: 12px; display: grid; gap: 8px; }
.ecard label { font-size: .75rem; font-weight: 800; color: var(--muted); display: grid; gap: 3px; }
.ecard input[type=text], .ecard input[type=number] { width: 100%; min-width: 0; padding: 8px 10px; border-radius: 8px; font: inherit; font-size: .9rem;
  color: var(--ink); background: var(--paper); border: 2px solid var(--ink); }
.ecard input:focus { outline: none; box-shadow: 0 0 0 3px var(--yellow); }
.ecard .two { display: grid; grid-template-columns: 1fr 70px; gap: 8px; }
.ecard .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.switch { display: flex !important; grid-auto-flow: column; align-items: center; gap: 6px !important; cursor: pointer; }
.switch input { accent-color: var(--red); }
.del { background: none; border: none; color: #b91c1c; font: inherit; font-weight: 800; cursor: pointer; font-size: .85rem; }
.banner { background: #dbeafe; border: 2px solid var(--ink); color: var(--ink); font-weight: 700;
  padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; font-size: .9rem; }

/* ---------- Shopping cart ---------- */
.cart-btn { position: relative; flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
  background: var(--yellow); color: var(--ink); border: var(--border); border-radius: 12px; box-shadow: 3px 3px 0 var(--ink);
  transition: transform .1s, box-shadow .1s; }
.cart-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.cart-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.cart-count { position: absolute; top: -9px; right: -9px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--white); color: var(--red); border: 2px solid var(--ink); font-size: .78rem; font-weight: 800;
  display: grid; place-items: center; line-height: 1; }
.cart-count.zero { display: none; }
@keyframes cartBump { 0% { transform: scale(1); } 35% { transform: scale(1.22) rotate(-8deg); } 70% { transform: scale(.95); } 100% { transform: scale(1); } }
.cart-btn.bump { animation: cartBump .45s ease; }
@media (max-width: 640px) { .cart-btn { width: 40px; height: 40px; } nav { margin-left: auto; } }

.cart-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(11,13,26,.55); }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(420px, 100vw); display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink); border-left: var(--border); box-shadow: -6px 0 0 var(--ink);
  transform: translateX(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); visibility: hidden; }
.cart-drawer.open { transform: none; visibility: visible; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--red); color: var(--white);
  border-bottom: var(--border); }
.cart-head h2 { font-size: 1.4rem; text-shadow: 2px 2px 0 var(--ink); }
.cart-close { width: 36px; height: 36px; border-radius: 10px; border: 2px solid var(--ink); background: var(--white); color: var(--ink);
  font-weight: 800; font-size: 1rem; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 16px; display: grid; gap: 12px; align-content: start; }
.cart-empty { text-align: center; color: var(--muted); font-weight: 700; padding: 40px 10px; }
.c-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: var(--white);
  border: 2px solid var(--ink); border-radius: 12px; padding: 10px; box-shadow: 3px 3px 0 var(--ink); }
.c-thumb { width: 64px; height: 80px; border-radius: 8px; overflow: hidden; background: #e8f1fb; border: 2px solid var(--ink); }
.c-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.c-thumb .placeholder span { font-size: 1.6rem; }
.c-name { font-weight: 800; font-size: .92rem; line-height: 1.25; }
.c-price { font-size: .85rem; color: var(--green); font-weight: 800; margin-top: 2px; }
.c-price small { color: var(--muted); font-weight: 700; }
.c-qty { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.c-qty button.c-minus, .c-qty button.c-plus { width: 26px; height: 26px; border-radius: 7px; border: 2px solid var(--ink); background: var(--yellow);
  font-weight: 800; cursor: pointer; line-height: 1; }
.c-qty button:disabled { opacity: .4; cursor: default; }
.c-qty span { min-width: 18px; text-align: center; font-weight: 800; }
.c-remove { margin-left: 6px; background: none; border: none; color: #b91c1c; font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer;
  text-decoration: underline; }
.c-sum { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.cart-foot { padding: 16px 20px 20px; border-top: var(--border); background: var(--white); display: grid; gap: 10px; }
.c-total { display: flex; justify-content: space-between; font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.cart-foot .btn { width: 100%; }

/* "Add to cart" button on product cards */
.add-cart { margin-top: 10px; width: 100%; font-size: .95rem; padding: 9px 14px; background: var(--yellow); color: var(--ink); }
.add-cart:hover { background: #ffd83d; }
.add-cart.in { background: var(--green); color: var(--white); }

/* cart list on the checkout page */
.co-lines { display: grid; gap: 10px; margin-bottom: 10px; }
.co-lines .c-line { box-shadow: 2px 2px 0 var(--ink); }
