/* Item page (redesign R2, direction B "warmer farm dealer"). Tokens and base components (buttons, badges, tags,
   chips, cards, sections, form controls) come from site.css (R1); this file is the page's layout and its own parts.
   Everything is scoped under .ip so nothing leaks to other pages. */
.ip [hidden] { display: none !important; }

/* ---------- top row: breadcrumb + Save / Share / Print ---------- */
.ip-crumbs-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s3) 0; font-size: var(--t-small); }
.ip-crumbs { color: var(--muted); min-width: 0; }
.ip-crumbs a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap); }
.ip-crumbs a:hover { text-decoration: underline; color: var(--ink); }
.ip-crumbs .sep { margin: 0 6px; }
.ip-util { display: flex; align-items: center; gap: var(--s1) var(--s4); flex: none; }
.ip-util .u-form { margin: 0; display: contents; }
.ip .u-btn { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); min-width: var(--tap); justify-content: center; padding: 0 4px;
  background: none; border: 0; color: var(--ink-2); font-weight: 500; font-size: var(--t-small); text-decoration: none; border-radius: var(--r-ctl); }
.ip .u-btn:hover { color: var(--brand); }
.ip .u-btn.is-on { color: #A3271C; }
.ip .u-btn.is-on .u-txt { color: var(--ink-2); }

/* ---------- the grid ---------- */
.ip-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "gallery aside" "body aside"; column-gap: var(--s10); align-items: start; }
.ip-gallery { grid-area: gallery; min-width: 0; }
.ip-buy { grid-area: aside; position: sticky; top: var(--s4); }
.ip-body { grid-area: body; min-width: 0; }
.ip-body > .sec:first-child { margin-top: var(--s8); }

/* ---------- gallery ---------- */
.ip-hero { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-photo); background: var(--surface-2); }
.ip-hero-link { display: block; width: 100%; height: 100%; }
.ip-hero-link:focus-visible { outline-offset: -4px; }
.ip-hero img { width: 100%; height: 100%; object-fit: cover; }
.ip-video { position: absolute; inset: 0; background: #000; }
.ip-video video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.ip-count { position: absolute; right: var(--s3); bottom: var(--s3); background: rgb(0 0 0 / .68); color: #fff; font-size: var(--t-meta); font-weight: 600;
  padding: 4px 10px; border-radius: var(--r-badge); pointer-events: none; }
.ip-video:not([hidden]) ~ .ip-count { bottom: auto; top: var(--s3); }
.ip-arrow { position: absolute; top: 50%; translate: 0 -50%; width: var(--tap); height: var(--tap); display: grid; place-items: center; border-radius: 50%;
  border: 0; background: rgb(255 255 255 / .94); color: #111; box-shadow: 0 1px 4px rgb(0 0 0 / .25); }
.ip-arrow:hover { background: #fff; }
.ip-arrow.l { left: var(--s3); } .ip-arrow.r { right: var(--s3); }
.ip-video:not([hidden]) ~ .ip-arrow { top: 40%; }
.ip-thumbs { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s2); }
.ip-thumbs li:nth-child(n+7) { display: none; }
.ip-th { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-thumb); overflow: hidden; background: var(--surface-2); outline-offset: -3px; }
.ip-th img { width: 100%; height: 100%; object-fit: cover; }
.ip-th[aria-current="true"] { outline: 3px solid var(--ink); }
.ip-th:focus-visible { outline: 3px solid var(--focus); }
.ip-th .play { position: absolute; inset: 0; display: grid; place-items: center; }
.ip-th .play > span { width: 34px; height: 34px; border-radius: 50%; background: rgb(0 0 0 / .66); display: grid; place-items: center; color: #fff; }
.ip-th .play .ico { width: 14px; height: 14px; margin-left: 2px; fill: currentColor; }
.ip-th .more { position: absolute; inset: 0; background: rgb(0 0 0 / .55); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: var(--t-small); }
.ip-gal-meta { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); font-size: var(--t-small); margin-top: 6px; color: var(--muted); }
.ip .linkish { background: none; border: 0; padding: 0 2px; min-height: var(--tap); color: var(--link); font-weight: 600; font-size: inherit; cursor: pointer; }
.ip .linkish:hover { text-decoration: underline; }
.ip-nophoto { display: grid; place-items: center; align-content: center; gap: var(--s3); text-align: center; color: var(--muted); }
.ip-nophoto svg { width: 140px; height: auto; fill: none; stroke: var(--line-strong); stroke-width: 3; stroke-linejoin: round; }
.ip-nophoto p { font-size: var(--t-small); margin: 0; }

.ip-all { width: min(1100px, 100vw - 32px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--r-panel); background: var(--surface); box-shadow: var(--e2); }
.ip-all::backdrop { background: rgb(20 16 10 / .7); }
.ip-all-bar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s3) var(--s4);
  background: var(--surface); border-bottom: 1px solid var(--line); }
.ip-all-bar .btn { flex: none; }
.ip-all-list { list-style: none; margin: 0; padding: var(--s4); display: grid; gap: var(--s4); }
.ip-all-list img { width: 100%; height: auto; border-radius: var(--r-photo); background: var(--surface-2); }

/* ---------- price box ---------- */
.ip-buy-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: var(--s6); box-shadow: var(--panel-shadow); }
.bb-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s3); font-size: var(--t-meta); min-height: 22px; }
.bb-upd { color: var(--muted); }
.ip .bb-head .title { font-family: var(--font-head); font-size: 28px; line-height: 1.2; font-weight: 700; margin: 2px 0 0; }
.ip .bb-head .title::after { content: ""; display: block; width: 44px; height: 3px; background: var(--accent, var(--gold)); margin: 10px 0 2px; } /* shared-edit(brand01): the logo's red rule */
.keyline { font-size: var(--t-small); color: var(--muted); margin: var(--s2) 0 0; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: var(--s4); flex-wrap: wrap; }
.ip .price-big { font-size: var(--t-price); font-weight: 700; line-height: 1.1; color: var(--ink); letter-spacing: -0.01em; }
.ip .bb-head > .price-big { margin-top: var(--s4); }
.ip .price-big.por { font-size: 22px; }
.ip .price-big.por a { color: var(--link); }
.price-note { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.drop-line { margin: var(--s2) 0 0; font-size: var(--t-small); }
.drop-line .was { color: var(--muted); }
.bb-pending { margin: var(--s3) 0 0; font-size: var(--t-small); color: var(--warn-ink); background: var(--warn-bg); border-radius: var(--r-ctl); padding: var(--s2) var(--s3); }
.ip-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 0 var(--s5); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ip-facts > div { padding: 10px 12px 10px 14px; border-left: 1px solid var(--line); min-width: 0; }
.ip-facts > div:nth-child(3n+1), .ip-facts > div.wide { border-left: 0; padding-left: 0; }
.ip-facts > div:nth-child(n+4) { border-top: 1px solid var(--line); }
.ip-facts > div.wide { grid-column: 1 / -1; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: var(--s3); }
.ip-facts dt { font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ip-facts dd { margin: 0; font-size: var(--t-body); font-weight: 600; overflow-wrap: anywhere; }
.bb-visit { margin: 0; }
.ip-buy .bb-ask-first { width: 100%; margin-bottom: var(--s3); }
.bb-rest > .bb-visit:first-child, .bb-rest > .bb-sold:first-child, .bb-rest > .bb-ask-first:first-child { margin-top: var(--s5); }
.bb-visit > .btn { width: 100%; }
.cta-note { font-size: var(--t-meta); color: var(--muted); text-align: center; margin: var(--s2) 0 var(--s3); }
.ip-buy .btn-secondary { width: 100%; }
.ip-buy .tert { margin-top: var(--s2); }
.trust { list-style: none; padding: var(--s4) 0 0; margin: var(--s4) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--s2); font-size: var(--t-small); color: var(--ink-2); }
.trust li { display: flex; gap: 10px; align-items: flex-start; }
.trust .ico { color: var(--muted); margin-top: 1px; }
.bb-sold { display: grid; gap: var(--s3); }
.bb-sold p { margin: 0; color: var(--ink-2); }
.bb-reviews { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); display: grid; gap: var(--s3); }
.bb-rv-h { font-size: 17px; margin: 0; }
.bb-reviews .stars { margin: 0 0 6px; letter-spacing: 2px; }

/* visit picker inside the price box */
.vp-box { padding: 14px; background: var(--surface-2); border-radius: var(--r-photo); margin-bottom: var(--s3); }
.vp-h { font-family: var(--font-text); font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.vp-days { display: flex; gap: 5px; overflow-x: auto; padding: 2px; margin: -2px; scrollbar-width: none; }
.vp-days::-webkit-scrollbar { display: none; }
.vp-day { flex: 1 1 0; min-width: 44px; min-height: 52px; border: 1px solid var(--input-line); border-radius: var(--r-chip); background: var(--surface);
  display: grid; place-items: center; align-content: center; line-height: 1.15; font-size: var(--t-eyebrow); color: var(--ink); padding: 4px 2px; }
.vp-day b { font-size: 17px; }
.vp-day[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.vp-times { border: 0; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.js .vp-box.is-js .vp-times { margin-top: 12px; }
.vp-legend { font-size: var(--t-meta); font-weight: 600; color: var(--ink-2); margin: 0 0 6px; width: 100%; float: left; }
.vp-box.is-js .vp-legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; float: none; }
.vp-time { position: relative; flex: 1 1 calc(25% - 5px); min-width: 72px; margin: 0; }
.vp-time input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.vp-time span { display: flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 0 4px; border: 1px solid var(--input-line);
  border-radius: var(--r-chip); background: var(--surface); font-size: var(--t-meta); font-weight: 500; white-space: nowrap; }
.vp-time input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.vp-time input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.vp-box:not(.is-js) { max-height: 340px; overflow-y: auto; }
.ip .vp-more { flex: 1 1 100%; min-height: var(--tap); border: 1px dashed var(--input-line); border-radius: var(--r-chip); background: transparent;
  color: var(--link); font-size: var(--t-meta); font-weight: 600; }

/* idem01: later days as a no-JS disclosure of links to the visit page (the first 3 days carry their times) */
.vp-later { margin: var(--s2) 0 0; }
.vp-later > summary { display: inline-flex; align-items: center; min-height: var(--tap); font-size: var(--t-meta); font-weight: 600; color: var(--link); cursor: pointer; }
.vp-later > summary::-webkit-details-marker { display: none; }
.vp-later > summary::before { content: "\25B8"; margin-right: 6px; }
.vp-later[open] > summary::before { content: "\25BE"; }
.vp-later-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.vp-later-list a { display: flex; align-items: center; min-height: var(--tap); font-size: var(--t-meta); }
.vp-later-n { color: var(--ink-2); white-space: pre; }
.vp-own { font-size: var(--t-meta); margin: var(--s2) 0 0; }
.vp-own a { display: inline-flex; align-items: center; min-height: var(--tap); }

/* ---------- sections ---------- */
.ip .sec h3 { font-family: var(--font-text); font-size: var(--t-h3); font-weight: 600; margin: var(--s6) 0 10px; }
.ip .lead { margin: 0; }
.notes { margin-top: 18px; border-left: 3px solid var(--gold); background: var(--surface-warm); padding: 14px var(--s4); border-radius: 0 var(--r-photo) var(--r-photo) 0; }
.notes .lbl { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; }
.notes p { white-space: pre-line; margin: 0; }
.cond-text { max-width: 70ch; }
.walk { border-collapse: collapse; width: 100%; font-size: 15px; }
.walk th { text-align: left; font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line-strong); }
.walk td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.walk td:first-child { font-weight: 500; width: 30%; }
.walk td.res { width: 118px; }
.walk td.ph { width: 72px; padding-right: 0; }
.walk td.ph img { width: 64px; height: 48px; object-fit: cover; border-radius: var(--r-badge); }
.walk-nc { margin-top: var(--s3); font-size: var(--t-small); color: var(--muted); }
.walk-nc summary { display: inline-flex; align-items: center; min-height: var(--tap); cursor: pointer; font-weight: 600; color: var(--ink-2); }
.walk-nc p { margin: 0; }
.work { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.work li { display: flex; justify-content: space-between; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.work li span:last-child { color: var(--muted); white-space: nowrap; }

.legend { font-size: var(--t-meta); color: var(--muted); }
.legend .tag { margin: 0 2px; }
.spec-cols { columns: 2; column-gap: var(--s8); }
.spec-group { break-inside: avoid; margin-bottom: var(--s6); }
.ip .spec-group h3 { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
  margin: 0 0 4px; padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); }
.spec-group dl { margin: 0; font-size: 15px; }
.spec-group dl > div { display: grid; grid-template-columns: 40% 1fr; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.spec-group dt { color: var(--muted); }
.spec-group dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.spec-group .tag { margin-left: 6px; }
.manuals { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s6); padding: var(--s2) 0 0; font-size: 15px; }
.manuals a { display: inline-flex; gap: var(--s2); align-items: center; min-height: var(--tap); font-weight: 500; }
.foot-note { font-size: var(--t-meta); color: var(--muted); margin: var(--s3) 0 0; max-width: 80ch; }

/* hauling */
.haul { border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); }
.haul-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 0; }
.haul-facts > div { padding: 14px var(--s4); border-right: 1px solid var(--line); }
.haul-facts > div:last-child { border-right: 0; }
.haul-facts dt { font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.haul-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.haul-facts dd small { display: block; font-weight: 400; color: var(--muted); font-size: var(--t-meta); }
.haul-row { display: flex; align-items: center; gap: var(--s3) var(--s6); flex-wrap: wrap; padding: 14px var(--s4); border-top: 1px solid var(--line); font-size: 15px; }
.haul-row .terms { flex: 1 1 260px; color: var(--ink-2); margin: 0; }
.ip .zip { display: grid; gap: 4px; margin: 0; }
.ip .zip label { margin: 0; font-size: var(--t-meta); font-weight: 600; }
.zip-in { display: flex; gap: var(--s2); align-items: center; }
.ip .zip input { width: 130px; min-height: var(--tap); }
.haul-est.is-ok { background: var(--ok-bg); color: var(--ok-ink); }
.haul-est.is-warn { background: var(--warn-bg); color: var(--warn-ink); }
.haul-est p { margin: 0; }
.haul-est .muted { color: inherit; opacity: .9; font-size: var(--t-meta); }
.haul-more { align-items: flex-start; gap: var(--s1) var(--s6); }
.haul-d { flex: 1 1 100%; }
.haul-d > summary { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); cursor: pointer; font-weight: 600; color: var(--link); list-style: none; }
.haul-d > summary::-webkit-details-marker { display: none; }
.haul-d > summary .chev { width: 16px; height: 16px; transition: rotate .15s; }
.haul-d[open] > summary .chev { rotate: 180deg; }
.haul-d-body { padding: var(--s2) 0 var(--s3); display: grid; gap: var(--s3); justify-items: start; }
.haul-d-body > p { margin: 0; color: var(--ink-2); }
.haul-d-body label { margin: 0; font-size: var(--t-small); }
.haul-d-body textarea { width: 100%; font-size: var(--t-small); min-height: 0; }
@media (max-width: 900px) { #haul_copy { font-size: 16px; } }  /* fix16b: no iOS zoom on focus */
.haul-links { display: flex; gap: var(--s2); flex-wrap: wrap; }
.haulers { margin: 0; padding-left: 20px; }
.haul-ask { width: 100%; }
.haul-sent { flex: 1 1 100%; margin: 0; color: var(--ok-ink); font-weight: 600; }
.sec-slim { padding: var(--s5) 0; }
.haul-line { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--ink-2); font-size: 15px; }
.haul-line .ico { color: var(--muted); margin-top: 2px; }

/* questions */
.qa-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
.qa-grid.one { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.ip .asked-col h3 { margin-top: 0; }
.asked { margin: 0; padding: 0; list-style: none; }
.ip .asked .qa { padding: var(--s3) 0; border-top: 0; border-bottom: 1px solid var(--line); }
.ip .asked .qa:first-child { padding-top: 0; }
.ip .asked .q { font-weight: 600; }
.asked .a { color: var(--ink-2); margin-top: 2px; font-size: 15px; white-space: pre-line; }
.asked .src { font-size: var(--t-meta); color: var(--muted); margin-top: 4px; }
.chat { border: 1px solid var(--line-strong); border-radius: var(--r-panel); background: var(--surface); overflow: hidden; }
.chat-h { padding: 14px var(--s4); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.ip .chat-h h3 { margin: 0 0 2px; font-size: var(--t-body); }
.chat-h p { font-size: var(--t-small); color: var(--muted); margin: 0; }
.ip .chat-log { display: block; padding: 0 var(--s4); font-size: 15px; margin: 0; }
.ip .chat-log:empty { display: none; }
.ip .chat .msg { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 10px 0; max-width: none; border-radius: 0; background: none;
  color: var(--ink); white-space: pre-wrap; border: 0; margin: 0; }
.ip .chat .msg + .msg { border-top: 1px solid var(--line); }
.ip .chat .msg::before, .ip .chat .msg .who { font-size: var(--t-meta); font-weight: 600; color: var(--muted); padding-top: 1px; white-space: normal; display: block; margin: 0; }
.ip .chat .msg.user::before { content: "You"; }
.ip .chat .msg.bot::before { content: "Assistant"; }
.ip .chat .msg.jordan .who { color: var(--brand); }
.ip .chat .msg.jordan { background: var(--brand-tint); margin: 0 calc(-1 * var(--s4)); padding: 10px var(--s4); }
.ip .chat .msg .cites { grid-column: 2; font-size: var(--t-meta); color: var(--muted); margin-top: 0; white-space: normal; }
.handoff { margin: var(--s1) var(--s4) var(--s3); padding: 14px; background: var(--surface-2); border-radius: var(--r-ctl); font-size: var(--t-small); }
.handoff > p { margin-bottom: 10px; }
.handoff .field { margin-bottom: 10px; }
.handoff .opt { font-weight: 400; color: var(--muted); }
.handoff .error { margin: var(--s2) 0 0; }
.composer { border-top: 1px solid var(--line); padding: var(--s3) var(--s4) var(--s4); margin: 0; }
.chat-log:empty + .handoff[hidden] + .composer { border-top: 0; }
.ip .composer .suggest { margin: 0 0 10px; gap: 6px; }
.ip .composer .chip { min-height: var(--tap); font-size: var(--t-meta); padding: 0 10px; border-radius: var(--r-chip); background: var(--surface); }
.ip .composer label { margin: 0 0 6px; font-size: var(--t-small); }
.composer .box { display: flex; gap: var(--s2); align-items: stretch; }
.ip .composer textarea { flex: 1; min-height: 52px; font-size: 16px; resize: vertical; }
.composer .btn { width: auto; flex: none; }
.ip .status-line { margin: 6px 0 0; min-height: 0; }
.ip .status-line:empty { display: none; }
.chat-reset { margin: 6px 0 0; font-size: var(--t-small); }

/* seller */
.seller { background: var(--surface-2); border-radius: var(--r-panel); padding: var(--s4) var(--s5); font-size: var(--t-small); max-width: 640px; }
.seller .who { display: flex; gap: var(--s3); align-items: center; margin: 0 0 10px; }
.seller .avatar { width: var(--tap); height: var(--tap); border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 17px; flex: none; }
.seller .nm { font-weight: 700; font-size: var(--t-body); line-height: 1.25; }
.seller p { margin: 0; }
.seller .proof { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 6px; }

/* more from the site (cards come from site.css) */
.ip-more { margin-top: var(--s8); }

/* phone sticky bar (reach_sticky.html) */
.reach-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .ip-grid { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 28px; }
}
@media (max-width: 900px) {
  /* one column: title and price above the photo, then the rest of the price box, then the sections */
  .ip-grid { display: flex; flex-direction: column; align-items: stretch; }
  .ip-buy, .ip-buy-panel { display: contents; }
  .bb-head { order: -1; padding: var(--s2) 0 var(--s4); }
  .ip-gallery { order: 0; }
  .bb-rest { order: 1; margin-top: var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 18px var(--s4); box-shadow: var(--panel-shadow); }
  .bb-rest > .ip-facts:first-child { margin-top: 0; }
  .ip-body { order: 2; }
  .qa-grid { grid-template-columns: minmax(0, 1fr); }
  .spec-cols { columns: 1; }
  .ip-more .cards.more-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body:has(.reach-bar) { padding-bottom: 76px; }
  .ip :is(input, select, textarea, button, summary, .btn) { scroll-margin-bottom: 96px; }  /* fix16b: clear of the fixed bar */
  .reach-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; align-items: center; gap: var(--s2);
    padding: 10px var(--s4) calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line);
    box-shadow: 0 -2px 12px rgb(0 0 0 / .12); transition: translate .2s ease; }
  .js .reach-bar:not(.show) { translate: 0 110%; visibility: hidden; }
  .reach-bar .p { margin-right: auto; line-height: 1.1; min-width: 0; }
  .reach-bar .p b { font-size: 20px; display: block; }
  .reach-bar .p span { font-size: var(--t-eyebrow); color: var(--muted); }
  .reach-bar .p-text { font-weight: 600; display: inline-flex; align-items: center; min-height: var(--tap); }
  .reach-bar .btn { width: auto; min-height: var(--tap); padding: 0 14px; font-size: 15px; white-space: nowrap; }
}
@media (max-width: 600px) {
  .ip-crumbs-row { padding: var(--s1) 0; }
  .ip-crumbs { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ip .u-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ip-util { gap: 0; margin-right: -8px; }
  .ip .bb-head .title { font-size: 24px; }
  .bb-top { margin-bottom: var(--s2); }
  .ip-gallery { margin: 0 calc(-1 * var(--wrap-pad)); }
  .ip-hero { border-radius: 0; }
  .ip-arrow { display: none; }
  .ip-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0 var(--wrap-pad); gap: 6px; }
  .ip-thumbs li:nth-child(n+6) { display: none; }
  .ip-gal-meta { padding: 0 var(--wrap-pad); }
  .ip-gal-meta > span { display: none; }
  .ip-gal-meta { justify-content: flex-end; }
  .walk thead { display: none; }
  .walk, .walk tbody, .walk tr, .walk td { display: block; width: auto !important; }
  .walk tr { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--s3); padding: 10px 0; border-bottom: 1px solid var(--line); }
  .walk td { border: 0; padding: 0; }
  .walk td.res { grid-column: 2; grid-row: 1; }
  .walk td.nt { grid-column: 1 / -1; font-size: var(--t-small); color: var(--ink-2); }
  .walk td.nt:empty, .walk td.ph:empty { display: none; }
  .walk td.ph { grid-column: 1 / -1; }
  .haul-facts { grid-template-columns: 1fr 1fr; }
  .haul-facts > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .haul-facts > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .haul-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
  .haul-facts > div:last-child { border-bottom: 0; }
  .ip .chat .msg { grid-template-columns: 1fr; gap: 0; }
  .ip .chat .msg .cites { grid-column: 1; }
  .ip-more .cards.more-row { grid-template-columns: 1fr; gap: 0; }
  .ip-more .more-row .card-link { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
  .ip-more .more-row .card .ph { border-radius: 6px; }
  .ip-more .more-row .card .ph .badge { top: 4px; left: 4px; font-size: 10px; padding: 1px 5px; }
  .ip-more .more-row .card .bd { padding: 0; }

}
@media (prefers-reduced-motion: reduce) { .reach-bar { transition: none; } }
@media print {
  .ip-util, .bb-visit, .cta-note, .ip-buy .btn, .tert, .chat, .reach-bar, .ip-thumbs, .ip-arrow, .ip-more { display: none !important; }
  .ip-grid { display: block; }
  .ip-buy { position: static; }
}


/* Walkaround photo pop-up */
.photo-pop { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
  display: none; align-items: center; justify-content: center; cursor: zoom-out; }
.photo-pop[open] { display: flex; }
.photo-pop::backdrop { background: rgba(20, 22, 18, .82); }
.photo-pop img { max-width: min(92vw, 1100px); max-height: 88vh; width: auto; height: auto; border-radius: var(--r-badge);
  box-shadow: var(--panel-shadow); cursor: default; }
.photo-pop-x { position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.photo-pop-x:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.walk td.ph a[data-pop] { display: inline-block; cursor: zoom-in; }
.walk td.ph a[data-pop]:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
