/* Extra styles for /reseller/ and /ebay-fee-calculator/. Uses the same tokens as site.css. */

.nav-links a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--teal); }

.page-hero { padding-bottom: 72px; }
.page-hero .lead { margin-bottom: 30px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--text); }

.block-intro { color: var(--muted); max-width: 60ch; margin: -22px 0 40px; }

/* plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.plan { padding: 40px 36px; display: flex; flex-direction: column; position: relative; }
.plan + .plan { border-left: 1px solid var(--line); background: var(--bg2); }
.plan + .plan::before { content: ""; position: absolute; left: 0; top: 0; height: 6px; width: 88px; background: var(--grad); }
.plan h3 { font-size: 26px; font-variation-settings: 'wdth' 114; }
.plan .price { font-size: 34px; font-weight: 800; font-variation-settings: 'wdth' 112; margin: 14px 0 4px; letter-spacing: -0.01em; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan .sub { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 18px; flex: 1; align-content: start; }
.plan li strong { display: block; font-weight: 700; font-size: 17px; line-height: 1.35; }
.plan li span { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; margin-top: 3px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border: 2px solid var(--teal); }
.plan li.inc strong { color: #BBA4FB; }
.plan .note { font-size: 14px; color: #BBA4FB; margin: -14px 0 22px; }
.plan .btn { align-self: flex-start; }

/* UK / USA warehouses */
.where { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.where .h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 16px; }
.where p { color: var(--muted); max-width: 50ch; }

/* reasons */
.reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line); }
.reasons li { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.reasons strong { display: block; font-size: 19px; font-variation-settings: 'wdth' 108; margin-bottom: 6px; }
.reasons span { color: var(--muted); font-size: 15px; }

/* final call to action */
.cta-band { padding: 96px 0; background: var(--bg2); border-top: 1px solid var(--line); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-in .h2 { margin: 0; }
.cta-in p { color: var(--muted); margin: 12px 0 0; }

/* ---------- calculator ---------- */
.calc-block { padding-top: 8px; }
.calc { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.calc-in { padding: 32px; background: var(--panel); }
.calc-out { padding: 32px; background: var(--bg2); border-left: 1px solid var(--line); }
.calc .field { margin-bottom: 16px; }
.calc .field > span, .calc .field > label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.calc .field input[type=number], .calc .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r); padding: 11px 13px;
}
.calc .field input:focus, .calc .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45,212,191,.18); }
.calc .field input:disabled { opacity: .65; }
.calc .hint { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.calc .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.money { position: relative; }
.money i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); pointer-events: none; font-size: 15px; }
.money input[type=number] { padding-left: 38px !important; }
.pct { position: relative; }
.pct i { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); pointer-events: none; }
.tick { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; cursor: pointer; font-size: 15px; }
.tick input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); flex: none; }
.tick small { display: block; color: var(--muted); font-size: 13px; }
.site-note { font-size: 13px; color: #BBA4FB; background: rgba(139,92,246,.1); border-radius: var(--r); padding: 10px 12px; margin: 0 0 16px; }

.calc-out h2 { font-size: 20px; font-variation-settings: 'wdth' 108; margin-bottom: 18px; }
.big { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.big div { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; background: var(--bg); }
.big span { display: block; font-size: 13px; color: var(--muted); }
.big strong { display: block; font-size: 24px; font-weight: 800; font-variation-settings: 'wdth' 110; margin-top: 2px; overflow-wrap: anywhere; }
.big .profit { grid-column: 1 / -1; }
.big .profit strong { font-size: 34px; }
.pos { color: var(--teal); }
.neg { color: #FCA5A5; }
.lines { width: 100%; border-collapse: collapse; font-size: 15px; }
.lines td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.lines td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lines tr.sub td { color: var(--muted); font-size: 14px; padding-left: 14px; }
.lines tr.total td { font-weight: 700; border-bottom-width: 2px; }
.calc-warn { color: #FCA5A5; font-size: 14px; margin: 14px 0 0; }

.promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg2); position: relative; }
.promo::before { content: ""; position: absolute; left: 0; top: 0; height: 6px; width: 88px; background: var(--grad); }
.promo h2 { font-size: 22px; font-variation-settings: 'wdth' 110; }
.promo p { color: var(--muted); margin: 6px 0 0; max-width: 54ch; }
.reverse { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.reverse h3 { font-size: 17px; font-variation-settings: 'wdth' 108; margin-bottom: 12px; }
.rev-row { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-bottom: 10px; font-size: 15px; }
.rev-row strong { font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rev-row label { flex: 1; }
.money.small { width: 120px; flex: none; }
.money.small input { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 10px; }
.money.small input:focus { outline: none; border-color: var(--teal); }
.calc .hint:empty { display: none; }
.checked { font-size: 14px; color: var(--muted); margin: 16px 0 0; }

.howto { margin: 0; padding-left: 22px; display: grid; gap: 12px; max-width: 70ch; }
.howto li { color: var(--muted); padding-left: 6px; }
.howto li strong { color: var(--text); }

@media (max-width: 980px) {
  .calc { grid-template-columns: 1fr; }
  .calc-out { border-left: 0; border-top: 1px solid var(--line); }
  .where { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .plan { padding: 32px 22px; }
  .calc-in, .calc-out { padding: 22px 16px; }
  .calc .two { grid-template-columns: 1fr; }
  .big { grid-template-columns: 1fr 1fr; }
  .big strong { font-size: 20px; }
  .big .profit strong { font-size: 28px; }
  .big .fees { grid-column: 1 / -1; }
  .promo { padding: 26px 18px; }
  .cta-band { padding: 72px 0; }
}
