.detail-main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 5rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.breadcrumb a {
  color: #fff;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.detail-media {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(227, 6, 19, 0.36);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22, 23, 29, 0.98), rgba(10, 11, 15, 0.98));
  box-shadow: var(--shadow);
}

.detail-media img {
  width: 100%;
  height: 100%;
  min-height: 24rem;
  object-fit: cover;
}

.detail-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.detail-gallery-strip button,
.product-control-row button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.detail-actions button {
  cursor: pointer;
  font: inherit;
}

.detail-gallery-strip button {
  min-height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.detail-gallery-strip button.active,
.detail-gallery-strip button:hover,
.detail-gallery-strip button:focus-visible {
  border-color: rgba(227, 6, 19, 0.66);
  background: rgba(227, 6, 19, 0.18);
}

.detail-panel,
.detail-card,
.policy-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22, 23, 29, 0.98), rgba(10, 11, 15, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.detail-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.25rem);
}

.detail-panel h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.detail-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.detail-price {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 950;
  text-shadow: none;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  min-width: 0;
}

.product-action-card {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.buyer-journey-strip,
.seller-proof-strip,
.hub-handoff-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(227, 6, 19, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(227, 6, 19, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(12, 13, 18, 0.96);
}

.buyer-journey-strip strong,
.buyer-journey-strip span,
.seller-proof-strip strong,
.seller-proof-strip span,
.hub-handoff-strip strong,
.hub-handoff-strip span {
  display: block;
  min-width: 0;
}

.buyer-journey-strip strong,
.seller-proof-strip strong,
.hub-handoff-strip strong {
  color: #fff;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.buyer-journey-strip span,
.seller-proof-strip span,
.hub-handoff-strip span {
  margin-top: 0.2rem;
  color: var(--muted);
  line-height: 1.35;
}

.buyer-journey-actions,
.seller-proof-actions,
.hub-handoff-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0.5rem;
}

.buyer-journey-actions .primary-action,
.buyer-journey-actions .secondary-action,
.seller-proof-actions .primary-action,
.seller-proof-actions .secondary-action,
.hub-handoff-actions .primary-action,
.hub-handoff-actions .secondary-action,
.product-control-row .primary-action,
.product-control-row .secondary-action,
.product-control-row .primary-link,
.product-control-row .secondary-link,
.checkout-route-actions .primary-action,
.checkout-route-actions .secondary-action {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

body.journey-active .buyer-journey-strip {
  position: sticky;
  top: calc(var(--topbar-height) + var(--walkthrough-bar-height) + 0.5rem);
  z-index: 64;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.hub-state-grid,
.auction-state-grid,
.checkout-boundary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.hub-state-chip,
.auction-state-chip,
.checkout-boundary-chip {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 12%, rgba(227, 6, 19, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.055);
}

.hub-state-chip strong,
.hub-state-chip span,
.hub-state-chip small,
.auction-state-chip strong,
.auction-state-chip span,
.auction-state-chip small,
.checkout-boundary-chip strong,
.checkout-boundary-chip span,
.checkout-boundary-chip small {
  display: block;
  min-width: 0;
}

.hub-state-chip strong,
.auction-state-chip strong,
.checkout-boundary-chip strong {
  color: #fff;
  font-size: 0.96rem;
  line-height: 1.2;
}

.hub-state-chip span,
.auction-state-chip span,
.checkout-boundary-chip span {
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.35;
}

.hub-state-chip small,
.auction-state-chip small,
.checkout-boundary-chip small {
  margin-top: 0.55rem;
  color: #fff;
  font-weight: 950;
}

.auction-history-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auction-history-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auction-history-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.auction-history-list strong,
.auction-history-list span,
.auction-history-list small {
  display: block;
  min-width: 0;
}

.auction-history-list span {
  color: var(--muted);
  line-height: 1.35;
}

.auction-history-list small {
  color: #fff;
  font-weight: 950;
  text-align: right;
  white-space: nowrap;
}

.product-control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.product-control-row .primary-action,
.product-control-row .secondary-action,
.product-control-row .primary-link,
.product-control-row .secondary-link {
  min-width: min(100%, 10.5rem);
  min-height: 2.85rem;
  padding: 0.6rem 0.85rem;
  line-height: 1.12;
  text-align: center;
  text-wrap: balance;
  white-space: normal;
}

.product-control-row input {
  min-height: 2.8rem;
  width: min(11rem, 100%);
  padding: 0 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: inherit;
  font-weight: 900;
}

.product-status {
  min-height: 2.5rem;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(227, 6, 19, 0.34);
  border-radius: 8px;
  background: rgba(227, 6, 19, 0.1);
  color: #fff;
  font-weight: 850;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.detail-card,
.policy-card {
  padding: 1rem;
}

.detail-card h2,
.policy-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.detail-card p,
.policy-card p,
.detail-card li,
.policy-card li {
  color: var(--muted);
  line-height: 1.55;
}

.detail-card ul,
.policy-card ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.1rem;
}

.stat-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.stat-list div {
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.stat-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-list dd {
  margin: 0.2rem 0 0;
  color: #fff;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.category-layout,
.hub-layout,
.policy-layout {
  display: grid;
  gap: 1rem;
}

.category-hero,
.hub-hero,
.policy-hero {
  display: grid;
  gap: 0.75rem;
  padding: 1.1rem;
  border: 1px solid rgba(227, 6, 19, 0.38);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(227, 6, 19, 0.22), rgba(255, 255, 255, 0.045));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.category-hero h1,
.hub-hero h1,
.policy-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.category-hero p,
.hub-hero p,
.policy-hero p {
  max-width: 56rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.route-grid .detail-card {
  display: grid;
  gap: 0.55rem;
}

.route-grid .detail-card[hidden] {
  display: none;
}

.route-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 7px;
  object-fit: cover;
  background: var(--panel-2);
}

/* Related route links use words, not unrelated merchandise photography. */
.route-grid a.detail-card:not([data-search-card]):not([data-catalog-item]):not([href^="/listing-"]) > img {
  display: none;
}

.seller-first-run {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.2rem);
}

.seller-first-run.compact {
  margin-top: 1rem;
}

.seller-first-run-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.seller-first-run-head h2,
.seller-first-run-head p {
  margin: 0;
}

.seller-first-run-head h2 {
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.05;
}

.seller-first-run-head p {
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.55;
}

.seller-setup-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

.seller-setup-track.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seller-setup-track a,
.seller-checklist li {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

.seller-setup-track a {
  display: grid;
  gap: 0.45rem;
  min-height: 9.5rem;
  padding: 0.85rem;
  color: #fff;
}

.seller-setup-track a:hover,
.seller-setup-track a:focus-visible,
.seller-checklist li:focus-within {
  border-color: rgba(227, 6, 19, 0.68);
  background: linear-gradient(180deg, rgba(227, 6, 19, 0.2), rgba(255, 255, 255, 0.045));
}

.seller-setup-track strong {
  color: var(--accent-hot);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.seller-setup-track span {
  font-size: 1rem;
  font-weight: 950;
}

.seller-setup-track small {
  color: var(--muted);
  line-height: 1.42;
}

.seller-command-center {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.2rem);
}

.seller-command-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: end;
  justify-content: space-between;
}

.seller-command-head h2,
.seller-command-head p {
  margin: 0;
}

.seller-command-head h2 {
  margin-top: 0.5rem;
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.05;
}

.seller-command-head p {
  max-width: 46rem;
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.55;
}

.seller-command-link {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-weight: 950;
  text-align: center;
}

.seller-command-link:hover,
.seller-command-link:focus-visible {
  border-color: rgba(227, 6, 19, 0.68);
  background: rgba(227, 6, 19, 0.18);
}

.seller-action-queue {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.seller-action-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 10rem;
  align-content: start;
  gap: 0.45rem;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  color: #fff;
}

.seller-action-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.seller-action-card:hover,
.seller-action-card:focus-visible {
  border-color: rgba(227, 6, 19, 0.7);
  background: linear-gradient(180deg, rgba(227, 6, 19, 0.18), rgba(255, 255, 255, 0.045));
  transform: translateY(-1px);
}

.seller-action-card.urgent {
  border-color: rgba(227, 6, 19, 0.5);
  background: linear-gradient(180deg, rgba(227, 6, 19, 0.22), rgba(255, 255, 255, 0.045));
}

.seller-action-card.calm {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.028));
}

.seller-action-rank {
  width: fit-content;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  background: rgba(227, 6, 19, 0.2);
  color: var(--accent-hot);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.seller-action-card strong {
  color: #fff;
  font-size: 1.04rem;
  font-weight: 950;
  line-height: 1.15;
}

.seller-action-card span:not(.seller-action-rank) {
  color: var(--muted);
  line-height: 1.45;
}

.seller-action-card small {
  align-self: end;
  width: fit-content;
  margin-top: 0.2rem;
  padding: 0.32rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 950;
}

.seller-checklist {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: seller-step;
}

.seller-checklist li {
  position: relative;
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0.85rem 0.85rem 3.2rem;
  counter-increment: seller-step;
}

.seller-checklist li::before {
  content: counter(seller-step, decimal-leading-zero);
  position: absolute;
  left: 0.85rem;
  top: 0.9rem;
  color: var(--accent-hot);
  font-size: 0.8rem;
  font-weight: 950;
}

.seller-checklist a {
  color: #fff;
  font-weight: 950;
}

.seller-checklist span {
  color: var(--muted);
  line-height: 1.5;
}

.seller-proof-matrix {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.2rem);
}

.seller-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.seller-proof-grid article {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.052);
}

.seller-proof-grid strong {
  display: block;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 950;
}

.seller-proof-grid ul {
  display: grid;
  gap: 0.35rem;
  margin: 0.55rem 0 0;
  padding-left: 1rem;
}

.seller-proof-grid li {
  color: var(--muted);
  line-height: 1.45;
}

.checkout-trust-sequence {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.2rem);
}

.checkout-trust-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.checkout-trust-head h2,
.checkout-trust-head p {
  margin: 0;
}

.checkout-trust-head h2,
.checkout-review-panel h2 {
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.05;
}

.checkout-trust-head p,
.checkout-boundary-card p {
  color: var(--muted);
  line-height: 1.55;
}

.checkout-trust-head p {
  margin-top: 0.35rem;
}

.checkout-trust-grid,
.checkout-review-panel {
  display: grid;
  gap: 0.75rem;
}

.checkout-trust-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.checkout-review-panel {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.checkout-trust-grid a {
  display: grid;
  gap: 0.45rem;
  min-height: 9.5rem;
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  color: #fff;
}

.checkout-trust-grid a:hover,
.checkout-trust-grid a:focus-visible {
  border-color: rgba(227, 6, 19, 0.68);
  background: linear-gradient(180deg, rgba(227, 6, 19, 0.2), rgba(255, 255, 255, 0.045));
}

.checkout-trust-grid strong {
  color: var(--accent-hot);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkout-trust-grid span {
  font-size: 1rem;
  font-weight: 950;
}

.checkout-trust-grid small {
  color: var(--muted);
  line-height: 1.42;
}

.checkout-total-card,
.checkout-boundary-card {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: clamp(1rem, 2vw, 1.2rem);
}

.checkout-total-card dl {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}

.checkout-total-card div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.checkout-total-card dt {
  color: var(--muted);
  font-weight: 850;
}

.checkout-total-card dd {
  margin: 0;
  color: #fff;
  font-weight: 950;
  text-align: right;
}

.checkout-route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.checkout-route-actions .primary-action,
.checkout-route-actions .secondary-action {
  min-height: 2.85rem;
  padding: 0.6rem 0.9rem;
}

.search-filter-row {
  margin-top: 0.65rem;
}

.search-filter-row .section-filter {
  min-width: 6.4rem;
  cursor: pointer;
}

.search-live-summary {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-weight: 800;
}

.search-active-tags,
.search-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.search-active-tags {
  margin-top: 0.6rem;
}

.search-active-tags span,
.search-result-tags span {
  min-height: 1.7rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(227, 6, 19, 0.34);
  border-radius: 999px;
  background: rgba(227, 6, 19, 0.12);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  padding: 0 0.55rem;
}

.search-ranking-reason {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.search-recovery-panel {
  border-color: rgba(227, 6, 19, 0.44);
  background:
    radial-gradient(circle at top left, rgba(227, 6, 19, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.055);
}

.search-recovery-panel p {
  color: var(--muted);
  font-weight: 800;
}

.search-recovery-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.search-recovery-actions .primary-action,
.search-recovery-actions .secondary-action {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
}

.hub-hours {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.hub-hours article {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.hub-hours strong,
.hub-hours span {
  display: block;
}

.hub-hours span {
  margin-top: 0.3rem;
  color: var(--muted);
}

.offer-lifecycle,
.offer-decision-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.2rem);
}

.offer-lifecycle-head,
.offer-decision-panel > div:first-child {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.offer-lifecycle-head h2,
.offer-lifecycle-head p,
.offer-decision-panel h2,
.offer-decision-panel p {
  margin: 0;
}

.offer-lifecycle-head h2,
.offer-decision-panel h2 {
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.05;
}

.offer-lifecycle-head p,
.offer-decision-panel p {
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.55;
}

.offer-flow-grid,
.offer-decision-grid {
  display: grid;
  gap: 0.75rem;
}

.offer-flow-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.offer-decision-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.offer-flow-grid a,
.offer-decision-grid a {
  display: grid;
  min-width: 0;
  min-height: 9.5rem;
  align-content: start;
  gap: 0.45rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  color: #fff;
}

.offer-flow-grid a:hover,
.offer-flow-grid a:focus-visible,
.offer-decision-grid a:hover,
.offer-decision-grid a:focus-visible {
  border-color: rgba(227, 6, 19, 0.68);
  background: linear-gradient(180deg, rgba(227, 6, 19, 0.19), rgba(255, 255, 255, 0.045));
  transform: translateY(-1px);
}

.offer-decision-grid a.primary {
  border-color: rgba(227, 6, 19, 0.62);
  background: linear-gradient(180deg, rgba(227, 6, 19, 0.3), rgba(227, 6, 19, 0.13));
}

.offer-flow-grid strong,
.offer-decision-grid strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.18;
}

.offer-flow-grid span,
.offer-decision-grid span {
  color: var(--muted);
  line-height: 1.42;
}

.offer-flow-grid small {
  align-self: end;
  width: fit-content;
  margin-top: 0.15rem;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 950;
}

.exception-workbench {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.2rem);
}

.exception-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.exception-head h2,
.exception-head p {
  margin: 0;
}

.exception-head h2 {
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.05;
}

.exception-head p {
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.55;
}

.exception-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.exception-grid a {
  display: grid;
  min-width: 0;
  min-height: 9.25rem;
  align-content: start;
  gap: 0.45rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 12%, rgba(227, 6, 19, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  color: #fff;
}

.exception-grid a:hover,
.exception-grid a:focus-visible {
  border-color: rgba(227, 6, 19, 0.68);
  background:
    radial-gradient(circle at 16% 12%, rgba(227, 6, 19, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(227, 6, 19, 0.17), rgba(255, 255, 255, 0.045));
  transform: translateY(-1px);
}

.exception-grid strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.18;
}

.exception-grid span {
  color: var(--muted);
  line-height: 1.42;
}

.exception-grid small {
  align-self: end;
  width: fit-content;
  margin-top: 0.15rem;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: rgba(227, 6, 19, 0.16);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 950;
}

@media (max-width: 900px) {
  .detail-hero,
  .detail-grid,
  .route-grid,
  .hub-hours {
    grid-template-columns: 1fr;
  }

  .detail-gallery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-media img {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .seller-setup-track,
  .seller-setup-track.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seller-action-queue {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seller-first-run-head {
    grid-template-columns: 1fr;
  }

  .seller-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-trust-head {
    grid-template-columns: 1fr;
  }

  .checkout-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-review-panel {
    grid-template-columns: 1fr;
  }

  .buyer-journey-strip,
  .seller-proof-strip,
  .hub-handoff-strip {
    grid-template-columns: 1fr;
  }

  .buyer-journey-actions,
  .seller-proof-actions,
  .hub-handoff-actions {
    justify-content: stretch;
  }

  .offer-lifecycle-head,
  .offer-decision-panel > div:first-child {
    grid-template-columns: 1fr;
  }

  .offer-flow-grid,
  .offer-decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exception-head {
    grid-template-columns: 1fr;
  }

  .exception-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-state-grid,
  .auction-state-grid,
  .checkout-boundary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .search-filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-filter-row .section-filter {
    width: 100%;
    min-width: 0;
  }

  .search-recovery-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buyer-journey-actions,
  .seller-proof-actions,
  .hub-handoff-actions,
  .checkout-route-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .buyer-journey-actions .primary-action,
  .seller-proof-actions .primary-action,
  .hub-handoff-actions .primary-action,
  .checkout-route-actions .primary-action {
    grid-column: 1 / -1;
  }

  .buyer-journey-actions .primary-action,
  .buyer-journey-actions .secondary-action,
  .seller-proof-actions .primary-action,
  .seller-proof-actions .secondary-action,
  .hub-handoff-actions .primary-action,
  .hub-handoff-actions .secondary-action,
  .checkout-route-actions .primary-action,
  .checkout-route-actions .secondary-action {
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.85rem;
    padding-inline: 0.55rem;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    white-space: nowrap;
  }

  .checkout-route-actions .primary-action,
  .checkout-route-actions .secondary-action {
    width: 100%;
  }

  .detail-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-actions .primary-link {
    grid-column: 1 / -1;
  }

  .detail-actions .primary-link,
  .detail-actions .secondary-link {
    width: 100%;
    min-height: 3rem;
    padding: 0.65rem 0.55rem;
  }

  .product-control-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-control-row input,
  .product-control-row output,
  .product-control-row .primary-action,
  .product-control-row .primary-link,
  .product-status {
    grid-column: 1 / -1;
    width: 100%;
  }

  .product-control-row .secondary-action,
  .product-control-row .secondary-link {
    width: 100%;
    min-height: 3rem;
    padding: 0.65rem 0.55rem;
  }

  .seller-setup-track,
  .seller-setup-track.compact {
    grid-template-columns: 1fr;
  }

  .seller-setup-track a {
    min-height: auto;
  }

  .seller-command-head {
    display: grid;
    align-items: start;
  }

  .seller-command-link {
    width: 100%;
  }

  .seller-action-queue {
    grid-template-columns: 1fr;
  }

  .seller-action-card {
    min-height: auto;
  }

  .seller-proof-grid {
    grid-template-columns: 1fr;
  }

  .checkout-trust-grid {
    grid-template-columns: 1fr;
  }

  .checkout-trust-grid a {
    min-height: auto;
  }

  .offer-flow-grid,
  .offer-decision-grid {
    grid-template-columns: 1fr;
  }

  .offer-flow-grid a,
  .offer-decision-grid a {
    min-height: auto;
  }

  .exception-grid {
    grid-template-columns: 1fr;
  }

  .exception-grid a {
    min-height: auto;
  }

  .hub-state-grid,
  .auction-state-grid,
  .checkout-boundary-grid {
    grid-template-columns: 1fr;
  }

  .auction-history-list li {
    grid-template-columns: 1fr;
  }

  .auction-history-list small {
    text-align: left;
  }

  .checkout-total-card div {
    grid-template-columns: 1fr;
  }

  .checkout-total-card dd {
    text-align: left;
  }
}

@media (max-width: 760px) and (max-height: 680px) {
  .detail-main {
    width: min(100% - 0.75rem, 1120px);
    padding-top: 0.65rem;
    padding-bottom: calc(var(--mobile-nav-safe-height, 5rem) + 1.25rem);
  }

  .breadcrumb {
    margin-bottom: 0.55rem;
    font-size: 0.74rem;
  }

  .policy-hero,
  .category-hero,
  .detail-panel,
  .detail-card,
  .policy-card,
  .exception-workbench,
  .checkout-trust-sequence {
    padding: 0.75rem;
  }

  .policy-hero h1,
  .category-hero h1,
  .detail-panel h1 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
    line-height: 1.02;
  }

  .policy-hero p,
  .category-hero p,
  .detail-panel p,
  .checkout-trust-head p,
  .checkout-boundary-card p {
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .hub-hours {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .hub-hours article {
    padding: 0.62rem;
  }

  .hub-hours strong {
    font-size: 0.85rem;
  }

  .hub-hours span {
    font-size: 0.75rem;
    line-height: 1.25;
  }

  .buyer-journey-strip,
  .seller-proof-strip,
  .hub-handoff-strip {
    position: sticky;
    top: calc(var(--topbar-height) + var(--walkthrough-bar-height) + 0.25rem);
    z-index: 62;
    grid-template-columns: 1fr;
    padding: 0.65rem;
    gap: 0.6rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  }

  body.journey-active .buyer-journey-strip,
  body.journey-active .seller-proof-strip,
  body.journey-active .hub-handoff-strip {
    position: sticky;
    top: calc(var(--topbar-height) + var(--walkthrough-bar-height) + 0.25rem);
    z-index: 62;
    max-height: min(36svh, 14rem);
    overflow: auto;
    overscroll-behavior: contain;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  }

  .buyer-journey-strip strong,
  .seller-proof-strip strong,
  .hub-handoff-strip strong {
    font-size: 0.95rem;
  }

  .buyer-journey-strip span,
  .seller-proof-strip span,
  .hub-handoff-strip span {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .buyer-journey-actions,
  .seller-proof-actions,
  .hub-handoff-actions,
  .checkout-route-actions,
  .search-recovery-actions {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buyer-journey-actions .primary-action,
  .buyer-journey-actions .secondary-action,
  .seller-proof-actions .primary-action,
  .seller-proof-actions .secondary-action,
  .hub-handoff-actions .primary-action,
  .hub-handoff-actions .secondary-action,
  .checkout-route-actions .primary-action,
  .checkout-route-actions .secondary-action {
    min-height: 2.55rem;
    padding-inline: 0.45rem;
  }

  .search-recovery-actions .primary-action,
  .search-recovery-actions .secondary-action {
    min-height: 2.55rem;
    padding-inline: 0.4rem;
  }

  .auction-state-grid,
  .checkout-boundary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .auction-state-chip,
  .checkout-boundary-chip {
    padding: 0.62rem;
  }

  .auction-state-chip strong,
  .checkout-boundary-chip strong {
    font-size: 0.88rem;
  }

  .auction-state-chip span,
  .checkout-boundary-chip span {
    font-size: 0.75rem;
    line-height: 1.25;
  }

  .auction-state-chip small,
  .checkout-boundary-chip small,
  .exception-grid small {
    font-size: 0.68rem;
  }

  .exception-head,
  .checkout-trust-head {
    gap: 0.45rem;
  }

  .exception-head h2,
  .checkout-trust-head h2,
  .detail-card h2,
  .policy-card h2 {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
    line-height: 1.08;
  }

  .exception-grid,
  .checkout-trust-grid {
    gap: 0.5rem;
  }

  .exception-grid a,
  .checkout-trust-grid a {
    min-height: auto;
    padding: 0.65rem;
  }

  .exception-grid span,
  .checkout-trust-grid small,
  .policy-card li {
    font-size: 0.78rem;
    line-height: 1.32;
  }

  .checkout-review-panel {
    gap: 0.65rem;
  }

  .checkout-total-card dl {
    gap: 0.45rem;
  }

  .checkout-total-card div {
    padding-block: 0.45rem;
  }

  .detail-actions {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .detail-actions .primary-link,
  .detail-actions .secondary-link {
    width: 100%;
    min-height: 2.6rem;
    padding: 0.55rem 0.45rem;
  }

  .product-control-row {
    grid-template-columns: 1fr;
  }

  .product-control-row .primary-action,
  .product-control-row .secondary-action,
  .product-control-row .primary-link,
  .product-control-row .secondary-link,
  .product-control-row input,
  .product-control-row output,
  .product-status {
    width: 100%;
    grid-column: 1 / -1;
  }

  .search-ranking-reason,
  .search-result-tags span {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .checkout-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) and (max-height: 680px) {
  .buyer-journey-strip,
  .seller-proof-strip,
  .hub-handoff-strip {
    max-height: min(32svh, 11.5rem);
    overflow: auto;
    overscroll-behavior: contain;
  }

  body.journey-active .buyer-journey-strip,
  body.journey-active .seller-proof-strip,
  body.journey-active .hub-handoff-strip {
    position: sticky;
    top: calc(var(--topbar-height) + var(--walkthrough-bar-height) + 0.2rem);
    z-index: 62;
    max-height: min(30svh, 10.5rem);
    overflow: auto;
    overscroll-behavior: contain;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  }

  .buyer-journey-actions,
  .seller-proof-actions,
  .hub-handoff-actions,
  .checkout-route-actions,
  .search-recovery-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
    align-items: stretch;
  }

  .detail-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .detail-actions .primary-link,
  .detail-actions .secondary-link,
  .buyer-journey-actions .primary-action,
  .buyer-journey-actions .secondary-action,
  .seller-proof-actions .primary-action,
  .seller-proof-actions .secondary-action,
  .hub-handoff-actions .primary-action,
  .hub-handoff-actions .secondary-action,
  .checkout-route-actions .primary-action,
  .checkout-route-actions .secondary-action,
  .search-recovery-actions .primary-action,
  .search-recovery-actions .secondary-action {
    width: 100%;
    min-height: 2.55rem;
    padding-inline: 0.45rem;
    align-items: center;
    justify-content: center;
    line-height: 1.12;
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }
}

@media (max-width: 640px) {
  .detail-main {
    width: min(100% - 1rem, 1120px);
    padding-top: 1rem;
  }

  .stat-list {
    grid-template-columns: 1fr;
  }
}
