@import url('../tokens.css');

/* =========================================================
   Cart — /kosik
   ========================================================= */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; }
body { font-family: var(--font-body); color: var(--ink); }

.page { min-height: 100vh; display: flex; flex-direction: column; background: #F7FAFC; }

/* ---------- Top announcement bar ---------- */
.anno {
  background: var(--color-1-darker); color: #fff; font-size: 12px;
  display: flex; align-items: center; justify-content: center; gap: 24px;
  height: 32px; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden;
  padding: 0 16px;
}
.anno > span { display: inline-flex; align-items: center; }
.anno .sep { opacity: .35; }
.anno svg { display: inline-block; vertical-align: -3px; margin-right: 4px; }
@media (max-width: 900px) {
  .anno .sep, .anno > span:nth-child(3), .anno > span:nth-child(4), .anno > span:nth-child(5) { display: none; }
}

/* ---------- Header ---------- */
.hd {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.hd-inner {
  max-width: 1280px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; gap: 20px; flex-wrap: nowrap;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { height: 32px; }
.logo .dot { width: 28px; height: 28px; border-radius: 50%; background: #F9C80E;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; color: var(--color-1); font-family: var(--font-heading); }
.hd-back { margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer;
  padding: 8px 14px; border-radius: 8px; white-space: nowrap; text-decoration: none; flex-shrink: 0; }
.hd-back:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }

.hd-secure { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex-shrink: 0; }
.hd-secure strong { color: var(--ink); font-weight: 700; }

@media (max-width: 1200px) {
  .hd-secure { display: none; }
}
@media (max-width: 1000px) {
  .hd-back span, .hd-back { font-size: 0; }
  .hd-back svg { margin: 0; }
  .hd-back::after { content: 'Späť'; font-size: 14px; }
}

/* ---------- Stepper ---------- */
.stepper { display: flex; align-items: center; gap: 14px; margin-left: 24px; flex-shrink: 0; }
.step { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.step .num { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-heading);
  font-weight: 700; font-size: 12px; color: var(--muted); }
.step.active { color: var(--ink); }
.step.active .num { background: var(--color-1); border-color: var(--color-1); color: #fff; }
.step.done .num { background: var(--color-1-tint); border-color: var(--color-1); color: var(--color-1); }
.step-divider { flex: 0 0 40px; height: 2px; background: var(--line); border-radius: 999px; }

@media (max-width: 1100px) {
  .stepper { gap: 8px; margin-left: 12px; }
  .step-divider { flex: 0 0 20px; }
  .step:not(.active) span:last-child { display: none; }
}

/* ---------- Main grid ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 32px 24px 64px; width: 100%; }

.title-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.title-row h1 { font-family: var(--font-heading); font-weight: 700; font-size: 28px; color: var(--ink-2); letter-spacing: -0.01em; }
.title-row .count { color: var(--muted); font-size: 14px; font-weight: 500; }
.title-row .count strong { color: var(--ink); font-weight: 700; }

.grid { display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start; }
@media (max-width: 1100px) { .grid { grid-template-columns: 1fr; } }

/* ---------- Freeshipping progress ---------- */
.freeship {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 24px; margin-bottom: 16px;
}
.freeship-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.freeship-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--color-1-tint);
  display: inline-flex; align-items: center; justify-content: center; color: var(--color-1);
  flex-shrink: 0;
}
.freeship-msg { font-size: 14px; color: var(--ink); line-height: 1.45; flex: 1; }
.freeship-msg strong { color: var(--color-1); font-family: var(--font-heading); font-weight: 700; font-variant-numeric: tabular-nums; }
.freeship-msg.reached { color: var(--color-ok); }
.freeship-msg.reached strong { color: var(--color-ok); }
.freeship-badge { font-family: var(--font-heading); font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.freeship-badge.active { color: var(--color-ok); }

.track {
  height: 8px; background: var(--bg-alt); border-radius: 999px; position: relative; overflow: hidden;
}
.track-bar {
  height: 100%; background: linear-gradient(90deg, var(--color-1-light), var(--color-1));
  border-radius: 999px; transition: width 600ms var(--ease-out);
}
.track-bar.done { background: linear-gradient(90deg, #26BB59, #1a7a3a); }
.track-ticks { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 2px; pointer-events: none; }
.track-tick {
  width: 2px; height: 14px; background: #fff; border-radius: 1px; opacity: .8;
}
.track-tick:first-child, .track-tick:last-child { opacity: 0; }
.freeship-stops {
  display: flex; justify-content: space-between; margin-top: 10px;
  font-size: 12px; color: var(--muted); font-weight: 600;
}
.freeship-stops span.hit { color: var(--color-1); }
.freeship-stops span.done { color: var(--color-ok); }

/* ---------- Items ---------- */
.items {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
}
.items-head {
  display: grid; grid-template-columns: 96px 1fr 180px 120px 80px 32px;
  gap: 16px; padding: 14px 24px;
  font-family: var(--font-body); font-weight: 700; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line-soft); background: var(--bg-soft);
}
.items-head span:nth-child(3), .items-head span:nth-child(4), .items-head span:nth-child(5) { text-align: center; }
.items-head span:nth-child(4) { text-align: right; }

.item {
  display: grid; grid-template-columns: 96px 1fr 180px 120px 80px 32px;
  gap: 16px; padding: 20px 24px; align-items: center;
  border-bottom: 1px solid var(--line-soft); position: relative;
  transition: background 180ms var(--ease-out);
}
.item:last-child { border-bottom: 0; }
.item:hover { background: var(--bg-soft); }
.item.removing { animation: item-out 320ms var(--ease-out) forwards; }
@keyframes item-out {
  to { opacity: 0; transform: translateX(-8px); max-height: 0; padding-top: 0; padding-bottom: 0; border-color: transparent; }
}

.item-img {
  width: 96px; height: 96px; border-radius: var(--r-md); background: #F7F8FA;
  border: 1px solid var(--line-soft); padding: 10px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.item-img .pack {
  font-family: var(--font-heading); font-weight: 900; font-size: 22px;
  color: var(--color-1); letter-spacing: -0.02em; line-height: 1;
  text-align: center;
}
.item-img .pack small { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; display: block; margin-top: 4px; color: var(--ink-3); }
.item-img .flag {
  position: absolute; top: -6px; left: -6px; background: var(--color-sale); color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 10px;
  padding: 3px 6px; border-radius: 4px;
}
.item-img .flag.new { background: var(--color-1); }

.item-info { min-width: 0; }
.item-brand { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.item-name { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--ink-2); line-height: 1.3; margin-bottom: 6px; }
.item-variant { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.item-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-alt); color: var(--ink-3);
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.item-tag .k { color: var(--muted); font-weight: 600; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.item-actions { display: flex; gap: 14px; font-size: 12px; }
.item-actions button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; color: var(--muted);
  display: inline-flex; align-items: center; gap: 4px;
}
.item-actions button:hover { color: var(--color-1); }
.item-actions button.fav.active { color: var(--color-sale); }

/* Quantity */
.qty {
  display: inline-flex; align-items: center; border: 1.5px solid var(--line);
  border-radius: 10px; overflow: hidden; background: #fff; height: 40px;
  margin: 0 auto;
}
.qty button {
  width: 40px; height: 100%; background: #fff; border: 0;
  font-family: var(--font-heading); font-weight: 700; font-size: 16px;
  color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.qty button:hover { background: var(--bg-soft); color: var(--color-1); }
.qty button:disabled { color: var(--muted-2); cursor: not-allowed; background: #fff; }
.qty input {
  width: 44px; height: 100%; text-align: center; border: 0;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  font-variant-numeric: tabular-nums; color: var(--ink-2);
}
.qty input:focus { outline: none; }

/* Price column */
.item-price { text-align: right; }
.item-price .total { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.item-price .unit { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: 2px; }
.item-price .orig { font-size: 12px; color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.item-price .save { display: inline-block; margin-top: 4px; background: rgba(221,48,48,.1); color: var(--color-sale);
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; letter-spacing: 0.04em; }

.item-stock {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-success-bg); color: #1a7a3a;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  margin: 0 auto; width: fit-content;
}
.item-stock::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--color-success); }

.item-remove {
  width: 32px; height: 32px; border-radius: 8px; border: 0; background: none;
  color: var(--muted); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; margin: 0 auto;
}
.item-remove:hover { background: rgba(221,48,48,.08); color: var(--color-sale); }

/* Gift / sample row */
.gift-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 24px; background: var(--color-1-tint);
  border-top: 1px dashed var(--color-1-lighter);
  font-size: 13px; color: var(--color-1-darker);
}
.gift-row .gift-icon {
  width: 36px; height: 36px; border-radius: 50%; background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-1); flex-shrink: 0;
}
.gift-row strong { color: var(--color-1); font-family: var(--font-heading); font-weight: 700; }
.gift-row .free { margin-left: auto; font-family: var(--font-heading); font-weight: 700; font-size: 13px; color: var(--color-ok); }

/* ---------- Promo / notes ---------- */
.row-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.card-sm {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 20px;
}
.card-sm h3 { font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--ink-2); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px; }
.card-sm h3 svg { color: var(--color-1); }

.promo-form { display: flex; gap: 8px; }
.promo-form input {
  flex: 1; height: 42px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 0 14px; font-family: var(--font-body); font-size: 14px; background: #fff;
  transition: all 150ms var(--ease-out);
}
.promo-form input:focus { outline: none; border-color: var(--color-1); box-shadow: var(--shadow-focus-ring); }
.promo-form button {
  height: 42px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: var(--r-md);
  background: #fff; color: var(--ink); font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  cursor: pointer;
}
.promo-form button:hover { background: var(--ink); color: #fff; }

.promo-applied {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: var(--color-1-tint); border-radius: var(--r-md);
  font-size: 13px; color: var(--color-1-darker); margin-top: 10px;
}
.promo-applied .tag {
  font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: 0.06em;
  background: #fff; color: var(--color-1); padding: 4px 8px; border-radius: 4px;
  border: 1px dashed var(--color-1-lighter);
}
.promo-applied .x { margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--muted); padding: 2px; }
.promo-applied .x:hover { color: var(--color-sale); }

.note-input { width: 100%; min-height: 52px; max-height: 120px; resize: vertical;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 10px 14px; font-family: var(--font-body); font-size: 14px; background: #fff; }
.note-input:focus { outline: none; border-color: var(--color-1); box-shadow: var(--shadow-focus-ring); }

/* ---------- Summary (sticky) ---------- */
.summary { position: sticky; top: 96px; }
.summary-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px;
}
.summary-card h2 {
  font-family: var(--font-heading); font-weight: 700; font-size: 16px;
  color: var(--ink-2); letter-spacing: 0.02em; margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-soft);
}
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; color: var(--ink-3); }
.sum-row.sub { color: var(--ink); }
.sum-row.discount { color: var(--color-sale); }
.sum-row.free { color: var(--color-ok); }
.sum-row .val { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-2); }
.sum-row.discount .val { color: var(--color-sale); }
.sum-row.free .val { color: var(--color-ok); }
.sum-line { height: 1px; background: var(--line-soft); margin: 8px 0; }

.total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 14px; border-top: 1px solid var(--line-soft); margin-top: 8px;
}
.total-row .lbl { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--ink-2); }
.total-row .lbl small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.total-row .val { font-family: var(--font-heading); font-weight: 900; font-size: 28px; color: var(--ink-2); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.total-row .val small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--muted); text-align: right; margin-top: 2px; }

.saved-pill {
  display: flex; align-items: center; gap: 8px;
  background: rgba(38,187,89,.08); color: var(--color-ok);
  padding: 10px 14px; border-radius: var(--r-md);
  font-size: 13px; font-weight: 600; margin-top: 14px;
}
.saved-pill strong { font-family: var(--font-heading); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Shipping selector */
.ship-group { margin-top: 16px; }
.ship-group h3 {
  font-family: var(--font-body); font-weight: 700; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px;
}
.ship {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  cursor: pointer; background: #fff; margin-bottom: 8px;
  transition: all 150ms var(--ease-out);
}
.ship:hover { border-color: var(--ink-3); }
.ship.selected { border-color: var(--color-1); background: var(--color-1-tint); box-shadow: var(--shadow-focus-ring); }
.ship .logo-mini {
  width: 40px; height: 40px; border-radius: 8px; background: #fff; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 900; font-size: 11px; color: var(--ink);
  letter-spacing: -0.02em; flex-shrink: 0;
}
.ship .logo-mini.dpd { background: #DC0032; color: #fff; }
.ship .logo-mini.gls { background: #061AB1; color: #FFD100; }
.ship .logo-mini.pkt { background: #BF1A3B; color: #fff; }
.ship .logo-mini.sps { background: #F59A17; color: #fff; }
.ship .logo-mini.box { background: var(--ink-2); color: #F9C80E; }
.ship-body { flex: 1; min-width: 0; }
.ship-name { font-family: var(--font-heading); font-weight: 700; font-size: 13px; color: var(--ink-2); }
.ship-eta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.ship-eta .green { color: var(--color-ok); font-weight: 600; }
.ship-price { font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.ship-price.free { color: var(--color-ok); }

/* CTA */
.cta {
  width: 100%; height: 56px; margin-top: 20px;
  background: var(--color-1); color: #fff; border: 0; border-radius: var(--r-md);
  font-family: var(--font-heading); font-weight: 700; font-size: 16px;
  cursor: pointer; box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 150ms var(--ease-out);
}
.cta:hover { background: var(--color-1-darker); transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(0,119,188,.65); }
.cta:active { transform: translateY(0); }
.cta svg { transition: transform 180ms var(--ease-out); }
.cta:hover svg { transform: translateX(3px); }

.pay-methods { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.pay-methods .chip {
  height: 28px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line);
  background: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 10px; color: var(--ink-2);
  letter-spacing: -0.01em;
}
.pay-methods .chip.visa { color: #1A1F71; }
.pay-methods .chip.mc { background: #fff; color: #EB001B; letter-spacing: 0; }
.pay-methods .chip.apay { background: #000; color: #fff; letter-spacing: 0; }
.pay-methods .chip.gpay { color: #3C4043; letter-spacing: 0; }
.pay-methods .chip.tb { background: #0062AE; color: #fff; }
.pay-methods .chip.cod { color: var(--muted); }

.trust {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 20px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); margin-top: 16px;
}
.trust .tr {
  display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-3);
}
.trust .tr svg { color: var(--color-ok); flex-shrink: 0; margin-top: 1px; }
.trust .tr strong { color: var(--ink-2); font-weight: 700; font-family: var(--font-heading); }

/* ---------- Cross-sell ---------- */
.cross {
  margin-top: 48px;
}
.cross-head {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px;
}
.cross-head h2 {
  font-family: var(--font-heading); font-weight: 700; font-size: 22px; color: var(--ink-2);
  letter-spacing: -0.01em;
}
.cross-head h2 small {
  display: block; font-family: var(--font-body); font-weight: 500; font-size: 13px;
  color: var(--muted); letter-spacing: 0; margin-top: 2px;
}
.cross-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 900px) { .cross-grid { grid-template-columns: repeat(2, 1fr); } }

.prod {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px; display: flex; flex-direction: column;
  transition: all 150ms var(--ease-out);
  position: relative;
}
.prod:hover { border-color: var(--ink-3); }
.prod .img {
  aspect-ratio: 1; background: #F7F8FA; border-radius: var(--r-md); margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center; padding: 20px; position: relative;
  border: 1px solid var(--line-soft);
}
.prod .pack {
  font-family: var(--font-heading); font-weight: 900; font-size: 26px;
  color: var(--color-1); text-align: center; line-height: 1;
}
.prod .pack small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-3); margin-top: 6px; }
.prod .flag-top {
  position: absolute; top: 10px; left: 10px; background: var(--color-sale); color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 10px;
  padding: 3px 7px; border-radius: 4px;
}
.prod .flag-top.new { background: var(--color-1); }
.prod .badges-top { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 4px; }
.prod .badges-top img { width: 24px; height: 24px; }
.prod-brand { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.prod-name { font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--ink-2); line-height: 1.3; margin: 4px 0 auto; min-height: 36px; }
.prod-rating { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 4px; margin: 8px 0 4px; }
.prod-rating .star { color: #F9C80E; }
.prod-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 10px; }
.prod-price { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.prod-price-orig { font-size: 12px; color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; margin-left: 4px; }
.prod-add {
  width: 36px; height: 36px; border-radius: var(--r-md); background: var(--color-1); color: #fff;
  border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 150ms var(--ease-out);
}
.prod-add:hover { background: var(--color-1-darker); }
.prod-add.added { background: var(--color-ok); }

/* ---------- Reassurance strip ---------- */
.reassure {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 32px 24px; margin-top: 48px;
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.reassure-in { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.reassure .it { display: flex; align-items: flex-start; gap: 14px; }
.reassure svg { color: var(--color-1); flex-shrink: 0; }
.reassure h4 { font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--ink-2); margin-bottom: 4px; }
.reassure p { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }

/* ---------- Footer mini ---------- */
.foot-mini {
  background: #fff; padding: 24px; text-align: center;
  font-size: 12px; color: var(--muted);
}
.foot-mini .certs { display: inline-flex; gap: 20px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; justify-content: center; }
.foot-mini .certs img { height: 36px; opacity: .75; }
.foot-mini .links a { color: var(--muted); margin: 0 8px; }
.foot-mini .links a:hover { color: var(--color-1); }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  background: var(--ink-2); color: #fff; padding: 12px 18px; border-radius: var(--r-md);
  font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  animation: toast-in 280ms var(--ease-out);
}
.toast .ic { color: var(--color-success); display: inline-flex; }
.toast.err .ic { color: var(--color-sale); }
@keyframes toast-in { from { transform: translateY(20px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }

/* ---------- Empty state ---------- */
.empty {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 64px 32px; text-align: center;
}
.empty .icon { width: 72px; height: 72px; border-radius: 50%; background: var(--color-1-tint); display: inline-flex; align-items: center; justify-content: center; color: var(--color-1); margin-bottom: 20px; }
.empty h2 { font-family: var(--font-heading); font-weight: 700; font-size: 22px; color: var(--ink-2); margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 20px; }
.empty .cta { width: auto; display: inline-flex; padding: 0 32px; }

/* ---------- Tweaks panel ---------- */
.tweaks {
  position: fixed; bottom: 20px; right: 20px; z-index: 200;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,.15); padding: 18px; width: 280px;
  font-family: var(--font-body);
}
.tweaks h4 { font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.tweaks label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); margin: 10px 0 6px; }
.tweaks select, .tweaks input[type="text"] {
  width: 100%; height: 32px; border: 1px solid var(--line); border-radius: 6px;
  padding: 0 8px; font-family: var(--font-body); font-size: 12px; background: #fff;
}
.tweaks .switch { display: flex; align-items: center; justify-content: space-between; margin: 8px 0; font-size: 13px; color: var(--ink); }
.tweaks .switch input { width: auto; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
