/* wholesale-market-pdp.css — W2 lot-page depth (Wave C): prev/next arrows,
 * estimated-delivery line, page-bottom recommendation rows, compare table,
 * and the 360–430px mobile adaptation of the lot page. OWN file by stream
 * contract — wholesale-market.css (chrome/catalog) belongs to W1 and
 * wholesale-market-lot.css is the frozen S2 base; neither is edited here.
 * Same design language: Poppins headings, Inter text, JetBrains Mono
 * numbers, accent #452B90. */

/* ── prev/next lot arrows ─────────────────────────────────────────────── */
/* Mobile / tablet: a compact pair just above the title in the buy column. */
.wsp-pnav { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.wsp-arrow { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 16px; background: #fff; border: 1px solid #E4E2EE; border-radius: 999px; color: #1A202C; font-size: 13px; font-weight: 600; }
a.wsp-arrow:hover { border-color: #452B90; color: #452B90; }
.wsp-arrow.off { opacity: 0.35; }

/* Desktop: the SAME compact pair, right-aligned above the title — operator
   2026-08-19: no viewport-fixed arrows riding the screen edge; the controls
   stay put in the buy column and scroll with the page. */
@media (min-width: 1100px) {
  .wsp-pnav { justify-content: flex-end; margin-bottom: 8px; }
  .wsp-arrow { min-height: 38px; padding: 6px 14px; }
}

/* ── supplier strip (buy column, above the title — Stream I2) ─────────── */
.wsp-supplier { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.wsp-sup-chip { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid #E4E2EE; overflow: hidden; flex-shrink: 0; text-decoration: none; }
.wsp-sup-chip img { width: 100%; height: 100%; object-fit: cover; }
.wsp-sup-monogram { font-family: Poppins, Inter, sans-serif; font-weight: 700; font-size: 15px; color: #452B90; }
.wsp-sup-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.wsp-sup-name { font-size: 13.5px; font-weight: 600; color: #1A202C; text-decoration: none; }
.wsp-sup-name:hover { color: #452B90; }
.wsp-sup-sub { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #556070; flex-wrap: wrap; }
.wsp-sup-sub .mono { font-family: 'JetBrains Mono', monospace; color: #1A202C; }
.wsp-sup-stars { color: #B7791F; font-size: 12px; }
.wsp-sup-all { font-weight: 600; color: #452B90; text-decoration: none; }
.wsp-sup-all:hover { color: #321F69; }

/* ── estimated delivery (buy column) ──────────────────────────────────── */
.wsp-delivery { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: #1A202C; flex-wrap: wrap; }
.wsp-delivery svg { color: #452B90; flex-shrink: 0; }
.wsp-delivery-main b { font-weight: 700; }
.wsp-delivery-note { width: 100%; margin-left: 24px; font-size: 11.5px; color: #556070; }
/* `width: 100%` plus a 24px left margin is 24px WIDER than its column — on a
   phone that is a block hanging past the page gutter. */
@media (max-width: 640px) { .wsp-delivery-note { margin-left: 0; } }

/* ── recommendation rows (page bottom) ────────────────────────────────── */
.wsp-reco { padding: 6px 48px 26px; }
.wsp-reco-title { font-family: Poppins, Inter, sans-serif; font-weight: 600; font-size: 18px; }
.wsp-reco-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 14px; }
@media (max-width: 900px) { .wsp-reco-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wsp-recocard .simphoto { position: relative; }
.wsp-recometa { font-size: 11.5px; color: #556070; }
.wsp-fastpill { position: absolute; left: 10px; top: 10px; background: #B02E68; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border-radius: 999px; padding: 4px 9px; }

/* ── compare table ────────────────────────────────────────────────────── */
.wsp-compare { padding: 6px 48px 32px; }
/* Wide content scrolls INSIDE its own container — the page body never
   scrolls horizontally, on any viewport. */
.wsp-compare-scroll { overflow-x: auto; margin-top: 14px; border: 1px solid #E4E2EE; border-radius: 14px; -webkit-overflow-scrolling: touch; }
.wsp-compare-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 13px; }
.wsp-compare-table th, .wsp-compare-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid #F1F0F7; white-space: nowrap; }
.wsp-compare-table tbody tr:last-child th, .wsp-compare-table tbody tr:last-child td { border-bottom: none; }
.wsp-compare-table thead th { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #556070; background: #FAFAFC; border-bottom: 1px solid #E4E2EE; max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
.wsp-compare-table thead th a { color: #452B90; text-decoration: none; }
.wsp-compare-table thead th a:hover { color: #321F69; text-decoration: underline; }
.wsp-compare-table th.rowlabel { color: #556070; font-weight: 500; font-size: 12.5px; text-transform: none; letter-spacing: normal; }
.wsp-compare-table .current { background: #F7F5FC; }
.wsp-compare-table thead th.current { color: #452B90; }
.wsp-compare-table td { font-weight: 600; }

/* ── mobile adaptation, 360–430px (W2 §4) ─────────────────────────────── */
@media (max-width: 640px) {
  .wsp-reco, .wsp-compare { padding-left: 16px; padding-right: 16px; }
  .wsp-reco-grid { gap: 12px; }
}
@media (max-width: 430px) {
  /* Tap targets ≥ 44px on the small band. */
  .wsl-zip, .wsl-zipgo { min-height: 44px; }
  .wsl-zip { width: 84px; }
  .relchip { padding: 11px 18px; }
  .wsl-heart { min-width: 48px; min-height: 48px; }
  .wsl-thumb { min-height: 44px; }
  /* Gallery thumbs: keep every photo reachable without page overflow —
     the strip scrolls inside its own box. */
  .wsl-thumbs { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .wsl-thumbbox { flex: 0 0 64px; width: 64px; height: 64px; }
  /* Buy column CTAs stack full-width; the pair row wraps if cramped. */
  .wsl-ctarow { flex-wrap: wrap; }
  .wsl-cta.ghost, .wsl-cta.wide { flex: 1 1 100%; }
  .wsp-pnav { gap: 8px; }
  .wsp-arrow { flex: 1; }
}

/* ── Insider band, rich (operator 2026-08-19) ─────────────────────────── */
.wsl-insiderbanner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 4px;
  padding: 14px 18px;
  border: 1px solid #DDD3F2;
  border-radius: 14px;
  background:
    radial-gradient(420px 160px at 92% -30%, rgba(108, 64, 181, 0.14), transparent 60%),
    linear-gradient(135deg, #F7F5FC 0%, #FFFFFF 70%);
  text-decoration: none;
  color: #1A202C;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.wsl-insiderbanner:hover {
  border-color: #452B90;
  box-shadow: 0 10px 26px -8px rgba(69, 43, 144, 0.25);
  transform: translateY(-1px);
  color: #1A202C;
}
.wsl-ib-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #452B90;
  color: #fff;
}
.wsl-ib-copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.wsl-ib-copy b { font-family: Poppins, Inter, sans-serif; font-size: 14px; font-weight: 600; }
.wsl-ib-copy span { font-size: 12.5px; color: #556070; }
.wsl-ib-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.wsl-ib-price { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; color: #452B90; background: #EDE8F8; border-radius: 999px; padding: 3px 10px; }
.wsl-ib-more { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: #452B90; }
.wsl-insiderbanner:hover .wsl-ib-more { color: #321F69; }
@media (max-width: 640px) {
  .wsl-insiderbanner { flex-wrap: wrap; }
  .wsl-ib-cta { flex-direction: row; align-items: center; gap: 8px; }
  /* `flex-wrap: wrap` alone does not save the copy: with `flex: 1` its basis
     is 0, so it never asks for room and the icon (42) plus the CTA (178) took
     the row while the text was crushed to 72px — one word per line, a 283px
     tall banner (measured at 390px, 2026-08-20). A real basis makes the CTA
     wrap to its own line and gives the sentence the full width. */
  .wsl-ib-copy { flex: 1 1 200px; }
  .wsl-ib-cta { width: 100%; justify-content: flex-start; }
}
