* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Gold brand palette, from the Elevented logo */
  --accent: #b8952a;
  --accent-dark: #96781c;
  --accent-soft: #f5edd6;
  --accent-text: #7a5f10;   /* gold that reads as text on light backgrounds */
  --link: #8a6d11;
  --bg: #faf9f7;
  --card: #ffffff;
  --input-bg: #ffffff;
  --btn2-hover: #f3f1ec;
  --text: #211f1c;
  --muted: #6f6a62;
  --border: #e6e2da;
  --danger: #b3261e;
  --danger-soft: #fbeae9;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(30, 25, 15, 0.08);
}

/* Black-and-gold theme for buyer-facing pages and the login screen */
body.theme-dark {
  --accent: #d9b74a;
  --accent-dark: #c9a227;
  --accent-soft: rgba(217, 183, 74, 0.14);
  --accent-text: #e3c05c;
  --link: #e3c05c;
  --bg: #000000; /* pure black so the logo artwork blends seamlessly */
  --card: #161510;
  --input-bg: #1c1a13;
  --btn2-hover: #24211a;
  --text: #f4f1e9;
  --muted: #a49d8f;
  --border: #2e2b22;
  --danger: #e06a62;
  --danger-soft: rgba(224, 106, 98, 0.14);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); }
button { font: inherit; }

input[type="text"], input[type="number"], input[type="password"],
input[type="date"], input[type="tel"], input[type="email"], input[type="search"],
textarea, select {
  width: 100%;
  font: inherit;
  font-size: 16px; /* prevents iOS zoom */
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--text);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--accent);
  color: #171204;
  text-decoration: none;
}
.btn:hover { background: var(--accent-dark); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-secondary { background: var(--card); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--btn2-hover); }
.btn-danger { background: var(--card); color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); }
.btn-small { font-size: 14px; padding: 7px 12px; }
.linklike {
  background: none;
  border: 0;
  color: var(--link);
  cursor: pointer;
  font-size: 15px;
  padding: 0;
  text-decoration: underline;
}

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.hint { font-size: 13px; color: var(--muted); }
.error-box {
  background: var(--danger-soft);
  color: var(--danger);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  margin-bottom: 16px;
}
.notice-box {
  background: var(--accent-soft);
  color: var(--accent-text);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  margin-bottom: 16px;
}
.muted { color: var(--muted); }
.center { text-align: center; }
.pre-line { white-space: pre-line; }
.loading { text-align: center; color: var(--muted); padding: 40px 0; }

.pill {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 600;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---- Buyer claim page (mobile-first, 375px) ---- */

.claim-wrap { max-width: 430px; margin: 0 auto; padding: 20px 16px 48px; }
.claim-brand { display: flex; justify-content: center; margin: 6px 0 20px; }
.brand-logo { width: 150px; height: auto; }
.claim-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 24px 20px;
}
.claim-title { font-size: 24px; line-height: 1.25; font-weight: 700; margin-bottom: 6px; }
.claim-price { font-size: 22px; color: var(--accent-text); font-weight: 700; }
.claim-meta { margin: 12px 0 16px; }
.claim-image {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 0 0 16px;
}
.claim-desc {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 20px;
  white-space: pre-line; /* line breaks show exactly as typed */
}

.stepper { display: flex; align-items: stretch; gap: 10px; }
.stepper button {
  width: 56px;
  min-height: 56px;
  font-size: 26px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--input-bg);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
}
.stepper button:disabled { opacity: 0.35; cursor: default; }
.stepper input {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  border-radius: 10px;
}

.claim-submit { width: 100%; min-height: 56px; font-size: 18px; margin-top: 4px; }

/* Ship-preference radio cards */
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--input-bg);
  padding: 13px 14px;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
}
.choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.choice input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  flex: none;
}

/* "Buying as {name}" chip for recognized devices */
.recognized {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent-text);
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hp-field { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }

.checkmark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: #171204;
  font-size: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 18px;
}
.success-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.success-text { font-size: 16px; }
.state-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }

/* ---- Public invoice page (/i/{token}, dark buyer theme) ---- */

.inv-public-head { text-align: center; margin-bottom: 18px; }
.inv-public-head .biz { font-size: 20px; font-weight: 700; }
.inv-public-head .num { color: var(--muted); margin-top: 2px; }
.inv-lines { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.inv-lines td { padding: 9px 4px; border-bottom: 1px solid var(--border); vertical-align: top; }
.inv-lines td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.inv-lines tr.total td {
  border-bottom: 0;
  border-top: 2px solid var(--text);
  font-weight: 800;
  font-size: 17px;
}
.pay-box {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 14px 16px;
  white-space: pre-line;
  font-size: 14.5px;
  margin: 16px 0;
}
.status-banner {
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent-text);
}

/* ---- Catalog homepage: small logo, Genre chips, count + "All filters" pill, grid ---- */

.catalog-wrap { max-width: 1200px; }
/* state cards (empty, error, no match) stay a centred 430 px on the wide page */
.catalog-wrap .claim-card { max-width: 430px; margin-left: auto; margin-right: auto; }
/* A smaller logo and no title, so about six cards show on the first phone screen */
.catalog-wrap .brand-logo { width: 100px; }
.catalog-wrap .claim-brand { margin: 2px 0 12px; }

/* Genre chips: one centred line under the logo */
.genre-row .chips.center { justify-content: center; }
/* Chips wrap onto more lines rather than scrolling sideways, so every value
   stays visible and one tap away on a phone (owner's choice over a dropdown). */
.chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.chip {
  flex: none;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 13px;
  cursor: pointer;
}
.chip.active { background: var(--accent); border-color: var(--accent); color: #171204; font-weight: 700; }
.chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Count at the left, "All filters" pill at the right */
.catalog-bar { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 10px; }
.catalog-count { font-size: 13px; color: var(--muted); }
.filters-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.filters-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.filters-pill .chev, .frow .chev { transition: transform .15s; }
.filters-pill[aria-expanded="true"] .chev { transform: rotate(90deg); }

/* The filters panel: Search / Metal / Weight / Sort rows, one open at a time */
.filters-panel { border: 1px solid var(--border); background: var(--card); border-radius: 12px; margin: 0 0 12px; overflow: hidden; }
.frow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  background: none;
  border: 0;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}
.frow:first-child { border-top: 0; }
.frow:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
/* the value and chevron sit together at the right */
.frow-value { color: var(--muted); margin-left: auto; padding-left: 12px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frow-value.on { color: var(--accent-text); font-weight: 600; }
.frow .chev { margin-left: 8px; color: var(--muted); }
.frow[aria-expanded="true"] .chev { transform: rotate(90deg); }
.frow-body { padding: 4px 14px 14px; }
.filters-panel .linklike { display: block; padding: 10px 14px 12px; font-size: 13px; }
/* state cards in the catalog results (Nothing matches) */
.catalog-results .claim-card .btn { margin-top: 8px; }

.lot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
@media (min-width: 640px) {
  .lot-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
  /* PC: Genre chips at the left, count + pill at the right, on one line;
     the panel drops down under the pill */
  .catalog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 12px; }
  .catalog-head .genre-row .chips.center { justify-content: flex-start; }
  .catalog-head .catalog-bar { margin: 0 0 0 auto; gap: 16px; }
  .filters-panel { max-width: 420px; margin-left: auto; }
}
.lot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0; /* let the photo shrink to the column instead of widening it */
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--text);
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
@media (hover: hover) {
  .lot-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.6); }
}
.lot-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  min-width: 0;
  background: #fff;
  overflow: hidden;
}
.lot-card-link { display: block; width: 100%; height: 100%; }
.lot-card-media img { width: 100%; height: 100%; max-width: 100%; object-fit: contain; display: block; }
.lot-card-noimg {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; color: #999; font-size: 13px;
}
.lot-card-body {
  flex: 1;
  padding: 7px 9px 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text);
}
.lot-card-body:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.lot-card-title {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lot-card-meta { font-size: 11px; color: var(--muted); }
/* price at the left, "N left" at the right */
.lot-card-foot { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 3px; }
.lot-card-price { color: var(--accent-text); font-weight: 700; font-size: 15px; }
.lot-card .pill { font-size: 11px; padding: 2px 8px; margin: 0; }

/* Links from the BIN page back to the catalog */
.claim-foot { text-align: center; margin-top: 18px; font-size: 15px; }
.claim-top { font-size: 14px; margin: 0 0 10px; }
.claim-top a { color: var(--muted); text-decoration: none; }
.claim-top a:hover { color: var(--link); text-decoration: underline; }
.claim-more { margin-top: 18px; min-width: 200px; }

/* Lot photo gallery: main photo plus tappable thumbnails */
.thumb-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.thumb-small {
  width: 64px; height: 64px; object-fit: cover; border-radius: 8px;
  border: 2px solid var(--border); cursor: pointer; background: var(--card);
}
.thumb-small.active { border-color: var(--accent); }

/* BIN page: zoomable main photo; two columns from 900 px (form state only) */
/* Phones: the photo keeps today's 16 px below it; the strip's 8 px top margin
   collapses into it as before (the gallery div has no padding or border). */
.bin-gallery { margin: 0; }
.claim-photo { position: relative; cursor: zoom-in; margin: 0 0 16px; }
.claim-photo .claim-image { margin: 0; }
.claim-photo:focus-visible { outline: 2px solid var(--accent); border-radius: 10px; }
.claim-photo .zoom-cue { pointer-events: none; }
/* Fact tiles on the buy page (Weight / Metal / Purity / Genre): one row at
   every width, the value large and the label small (owner's call: four
   across, "what it is" over "what the column is called"). On phones and on
   the narrow no-photo card each tile is as wide as its text plus an equal
   share of the leftover, so "Sovereign" gets the room it needs and the
   values keep their 17 px; claim.js shrinks the row's values together only
   when even that does not fit. The wide two-column card on PC keeps its
   equal-width tiles. */
.bin-details { display: flex; gap: 6px; margin: 0 0 18px; }
.bin-gallery .bin-details { margin: 12px 0 16px; }
.bin-detail { flex: 1 1 auto; max-width: 150px; min-width: 0; text-align: center; border: 1px solid var(--border); border-radius: 10px; background: var(--input-bg); padding: 6px; }
.bin-detail .k { display: block; font-size: 9.5px; line-height: 1.2; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.bin-detail .v { display: block; font-size: 17px; line-height: 1.2; font-weight: 700; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 899px) { .bin-detail { max-width: none; } }
/* A 320 px phone: four across would mean 12 px values, so two per row there. */
@media (max-width: 339px) {
  .bin-details.four { flex-wrap: wrap; }
  .bin-details.four .bin-detail { flex: 0 0 calc(50% - 3px); }
}
@media (min-width: 900px) {
  .bin-card .bin-details { gap: 10px; }
  .bin-card .bin-detail { flex: 1 1 0; padding: 10px 8px; }
  .bin-card .bin-detail .k { font-size: 10px; line-height: inherit; }
  .bin-card .bin-detail .v { line-height: inherit; margin-top: 2px; }
}
/* PC: the left column is the photo, thumbnails and the fact tiles (Weight / Metal / Purity / Genre); the
   right column is title, price, description, then the form ending at Buy It
   Now (owner's choice on the third look). The DOM order (head, gallery with the
   box, description, form) is the phone order; the grid areas rearrange it. */
@media (min-width: 900px) {
  .claim-wrap.bin-wide { max-width: 1040px; }
  .bin-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "gallery head" "gallery desc" "gallery form";
    align-items: start;
    column-gap: 32px;
    padding: 28px;
  }
  .bin-head { grid-area: head; }
  .bin-gallery { grid-area: gallery; margin: 0; }
  .bin-card .claim-photo { margin: 0 0 8px; }
  .bin-form { grid-area: form; }
  .bin-desc { grid-area: desc; margin: 0 0 20px; }
  .bin-card .claim-image { max-height: 560px; }
  .bin-card .claim-title { font-size: 28px; }
  .bin-card .claim-price { font-size: 24px; }
}

/* ---- Lightbox (shared by the catalog and the BIN page) ---- */
html.lightbox-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, 0.94); }
.lightbox[hidden] { display: none; }
.lightbox-stage { position: absolute; inset: 0; overflow: auto; display: flex; }
.lightbox-img { margin: auto; max-width: 100vw; max-height: 100vh; object-fit: contain; cursor: zoom-in; user-select: none; }
.lightbox-img.zoomed { max-width: none; max-height: none; cursor: zoom-out; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 26px; line-height: 44px; text-align: center; cursor: pointer;
}
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox-counter, .lightbox-caption {
  position: absolute; left: 0; right: 0; z-index: 2; text-align: center; color: #e8e4da; font-size: 14px; pointer-events: none;
}
.lightbox-counter { bottom: 14px; }
.lightbox-caption { bottom: 40px; padding: 0 60px; }
.lightbox-caption a { color: var(--accent-text); font-weight: 700; margin-left: 10px; pointer-events: auto; }
.lightbox-spinner { position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px;
  border: 3px solid rgba(255,255,255,0.25); border-top-color: #fff; border-radius: 50%; animation: lb-spin 0.8s linear infinite; }
.lightbox-spinner[hidden] { display: none; }
@keyframes lb-spin { to { transform: rotate(360deg); } }
/* Additions: the spinner never catches a tap; hidden controls stay hidden; buttons reset padding */
.lightbox-spinner { pointer-events: none; }
.lightbox-img.zoomed { flex-shrink: 0; } /* else the flex stage shrinks the 2x width back toward the viewport */
.lightbox-close[hidden], .lightbox-prev[hidden], .lightbox-next[hidden],
.lightbox-counter[hidden], .lightbox-caption[hidden], .lightbox-caption a[hidden] { display: none; }
.lightbox-close, .lightbox-prev, .lightbox-next { padding: 0; }
/* Round magnifier badge used on card photos and the BIN main photo */
.zoom-cue {
  position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, 0.55); color: #fff; display: flex; align-items: center; justify-content: center; cursor: zoom-in; padding: 0;
}
.zoom-cue svg { width: 18px; height: 18px; }
.zoom-cue:hover { background: var(--accent); color: #171204; }

/* ---- "My box": the link on the catalog and item pages, and the item list
   on the /box page and inside the invoice page's box card ---- */
.mybox-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-text);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent-soft);
  white-space: nowrap;
}
.mybox-link:hover { background: var(--accent); color: #171204; }
.catalog-mybox { margin-left: auto; margin-right: 10px; }
.catalog-mybox:empty { display: none; }
.claim-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.claim-top .mybox-link, .claim-top .mybox-link:hover { text-decoration: none; }
.claim-top a.mybox-link { color: var(--accent-text); }
.claim-top a.mybox-link:hover { color: #171204; }
.claim-foot .mybox-link { margin-top: 4px; }

.box-list { margin: 12px 0 0; white-space: normal; }
.box-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.box-item:first-child { border-top: 0; padding-top: 4px; }
.box-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--input-bg);
  border: 1px solid var(--border);
}
.box-main { flex: 1 1 auto; min-width: 0; }
.box-title { font-weight: 700; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.box-meta { font-size: 14px; color: var(--muted); margin-top: 2px; }
.box-line { flex: 0 0 auto; font-weight: 700; font-size: 15px; white-space: nowrap; }
.box-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid currentColor; /* visible on the tinted invoice card too */
  color: var(--muted);
}
.box-tag.paid { color: #2e9d5b; border-color: #2e9d5b; }
.box-tag.confirming, .box-tag.invoiced { color: var(--accent-text); border-color: var(--accent); }
.box-tag.presale { color: #8ab8e6; border-color: #8ab8e6; }
.box-presale-note { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.35; }

/* ---- Pre-sale: stock not in hand yet ---- */
.lot-card-presale { font-size: 11px; font-weight: 700; color: #8ab8e6; margin-top: 2px; }
/* A spot pre-sale: the rule is the headline, today's estimate sits under it. */
.lot-card-rule { margin-top: 3px; white-space: nowrap; }
.lot-card-rule + .lot-card-foot { margin-top: 0; }
.lot-card-estimate { font-size: 11px; color: var(--muted); }
.lot-card .pill { white-space: nowrap; flex: none; }
.claim-estimate { font-size: 15px; color: var(--muted); margin-top: 2px; }
.presale-note {
  border: 1px solid #8ab8e6;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.4;
}
.presale-note-head { font-weight: 800; color: #8ab8e6; margin-bottom: 4px; }
.presale-note p { margin: 4px 0 0; }
.box-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 2px solid var(--text);
  font-weight: 800;
  font-size: 17px;
  white-space: normal;
}
.box-shipping { font-size: 14px; margin: 8px 0 0; white-space: normal; }
.box-ship { margin-top: 18px; }
.box-ship-note { margin: 0 0 10px; font-size: 14px; }
