/* Dense offer cards share the same columns without losing the card affordance. */
.seller-offers .park-grid { gap: 8px; }
.seller-offers .seller-offer-row {
    display: grid;
    grid-template-columns: 96px minmax(190px, 1.7fr) minmax(105px, .8fr) minmax(155px, 1fr) minmax(145px, .9fr) auto;
    gap: 16px;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 5px #273c4605;
}
.seller-offers .seller-offer-row > .park-photo { width: 96px; height: 88px; min-height: 0; aspect-ratio: auto; border-radius: 8px; }
.seller-offers .seller-offer-row .park-photo img { object-fit: contain; }
.seller-offers .seller-offer-row .park-photo-missing { font-size: 9px; padding: 8px; }
.seller-offers .seller-offer-row .park-photo-missing svg { width: 42px; height: 27px; margin-bottom: 5px; }
.seller-offer-row > div { min-width: 0; }
.seller-offers .seller-offer-row h3 { color: #303750; font-size: 16px; line-height: 1.25; letter-spacing: -.2px; margin: 0 0 4px; overflow-wrap: anywhere; }
.seller-offer-row p { margin: 0; }
.seller-offer-row__version, .seller-offer-row__reference { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seller-offer-row__version { color: #647184; font-size: 12px; line-height: 1.5; }
.seller-offer-row__reference { color: #536471; font-size: 11px; line-height: 1.7; }
.seller-offer-row__specs { color: #74808a; font-size: 11px; line-height: 1.5; }
.seller-offer-row__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 7px; }
.seller-offer-row__tags span { padding: 3px 6px; color: #475665; background: #f1f4f5; border-radius: 4px; font-size: 10px; font-weight: 650; }
.seller-offer-row__city { color: #617272; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.seller-offer-row__status { display: inline-block; padding: 4px 7px; border-radius: 5px; background: #f0f2f5; color: #566375; font-size: 11px; font-weight: 700; }
.seller-offer-row[data-eligibility="ELIGIBLE"] .seller-offer-row__status { background: #e5f5eb; color: #17684d; }
.seller-offer-row[data-eligibility="INELIGIBLE"] .seller-offer-row__status { background: #ffeaed; color: #9c3040; }
.seller-offer-row[data-eligibility="INCOMPLETE"] .seller-offer-row__status { background: #fff2d5; color: #80500a; }
.seller-offer-row .seller-offer-row__reason { margin-top: 5px; font-size: 11px; line-height: 1.45; color: #606d7b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.seller-offer-row__demo { display: block; margin-top: 4px; font-size: 10px; color: #6b7481; }
.seller-offer-row__price { display: grid; gap: 4px; padding-left: 14px; border-left: 1px solid #edf0f2; }
.seller-offer-row__caption { font-size: 11px; color: #78818d; }
.seller-offer-row__price > strong { color: #2b3a4c; font-size: 19px; line-height: 1.3; letter-spacing: -.4px; }
.seller-offer-row__price > strong small { font-size: 11px; font-weight: 500; letter-spacing: 0; }
.seller-offer-row__terms { font-size: 11px; color: #657282; line-height: 1.4; }
.seller-offer-row__action { padding: 10px 8px; color: #227763; font-size: 11px; font-weight: 750; white-space: nowrap; }
.seller-offer-row:hover .seller-offer-row__action { color: #174d40; text-decoration: underline; text-underline-offset: 3px; }

/* Seller language and eligibility live in the filter dialog, not above the rows. */
.seller-offers-filter-dialog { width: min(1200px, calc(100% - 40px)); }
.seller-offers-filter-dialog .park-filter-heading { padding: 18px 24px; }
.seller-offers-filter-dialog .park-filter-heading h2 { font-size: 20px; }
.seller-offers-filter-dialog .park-cee-filter { padding: 20px 24px; }
.seller-offers-filter-dialog .park-cee-filter h3 { margin: 0 0 12px; font-size: 14px; }
.seller-offers-filter-dialog .seller-eligibility-filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
.seller-offers-filter-dialog .park-cee-filter-option { width: 100%; min-height: 58px; padding: 10px; justify-content: space-between; text-align: left; gap: 6px; }
.seller-offers-filter-dialog .park-filter-help { font-size: 12px; }
.seller-offers-filter-dialog .park-active-filters:not(:empty) { padding: 12px 0 0; }
.seller-offers-filter-dialog .park-filter-chip { min-height: 32px; font-size: 11px !important; }
.seller-offers-filter-dialog .seller-filter-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; }
.seller-offers-filter-dialog .park-result-count { font-size: 14px; text-align: left; }
.seller-offers-filter-dialog .park-catalogue-info:empty { display: none; }
.seller-header-search .park-filter-toggle { gap: 6px; }
.seller-header-search .park-filter-toggle[data-count]:not([data-count=""])::after { content: attr(data-count); padding: 1px 6px; border-radius: 10px; background: #e3f3ed; color: #217c6f; }
@media (max-width: 1100px) and (min-width: 721px) {
    .seller-offers .seller-offer-row { grid-template-columns: 80px minmax(180px, 1.6fr) minmax(130px, 1fr) 160px; gap: 10px 14px; }
    .seller-offers .seller-offer-row > .park-photo { width: 80px; height: 80px; grid-row: 1 / 3; }
    .seller-offer-row__identity { grid-column: 2; grid-row: 1 / 3; }
    .seller-offer-row__context { grid-column: 3; grid-row: 1; }
    .seller-offer-row__eligibility { grid-column: 3; grid-row: 2; }
    .seller-offer-row__price { grid-column: 4; grid-row: 1; }
    .seller-offer-row__action { grid-column: 4; grid-row: 2; padding: 0 0 0 14px; }
    .seller-offer-row__reason { display: none !important; }
    .seller-offers-filter-dialog .seller-eligibility-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .seller-offers .seller-offer-row { grid-template-columns: 64px minmax(0, 1fr); gap: 8px 12px; padding: 12px; }
    .seller-offers .seller-offer-row > .park-photo { width: 64px; height: 64px; grid-row: 1; }
    .seller-offers .seller-offer-row h3 { font-size: 15px; }
    .seller-offer-row__identity { grid-column: 2; }
    .seller-offer-row__version { font-size: 11px; }
    .seller-offer-row__specs { font-size: 10px; }
    .seller-offer-row__context { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; justify-content: space-between; }
    .seller-offer-row__tags { margin: 0; flex-shrink: 0; }
    .seller-offer-row__city { text-align: right; }
    .seller-offer-row__eligibility { grid-column: 1 / -1; }
    .seller-offer-row__reason { display: none !important; }
    .seller-offer-row__demo { display: inline; margin-left: 6px; }
    .seller-offer-row__price { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #edf0f2; padding: 8px 85px 0 0; }
    .seller-offer-row__action { grid-column: 1 / -1; justify-self: end; align-self: end; margin-top: -44px; }
    .seller-offers-filter-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); }
    .seller-offers-filter-dialog .park-cee-filter, .seller-offers-filter-dialog .park-filter-heading { padding: 16px; }
    .seller-offers-filter-dialog .seller-eligibility-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .seller-offers-filter-dialog .park-cee-filter-option { min-height: 54px; }
    .seller-offers-filter-dialog .seller-filter-footer { padding: 12px 16px; }
}
@media (max-width: 400px) {
    .seller-offers-filter-dialog .park-cee-filter-option { flex-direction: column; align-items: flex-start; justify-content: center; min-height: 76px; }
}

/* Seller comparison: the same offers and estimates in either presentation. */
.seller-catalogue-display { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:18px 0 12px; }
.seller-catalogue-count { color:#586575; font-size:13px; margin:0; }
.seller-catalogue-modes { display:flex; padding:3px; border:1px solid #d9dfe5; border-radius:7px; background:#fff; }
.seller-catalogue-modes button { border:0; background:transparent; color:#536174; padding:9px 17px; border-radius:4px; cursor:pointer; font:inherit; font-size:13px; }
.seller-catalogue-modes button[aria-pressed="true"] { background:#28364b; color:#fff; }
.seller-catalogue-modes button:focus-visible { outline:2px solid #2c9b8a; outline-offset:2px; }
.seller-catalogue-columns { display:none; }
.seller-catalogue-prime { display:block; font-size:21px; color:#176c60; font-variant-numeric:tabular-nums; margin:4px 0; white-space:nowrap; }
.seller-catalogue-prime-note { display:block; color:#75808c; font-size:10px; line-height:1.5; }
[data-catalogue-display] .seller-offer-row__eligibility { text-align:right; }
[data-catalogue-display] .seller-offer-row__price { text-align:right; border:0; padding:0; }
@media (min-width:1101px) {
    [data-catalogue-display="table"] .seller-catalogue-columns,
    .seller-offers [data-catalogue-display="table"] .seller-offer-row { display:grid; grid-template-columns:70px minmax(180px,1.6fr) minmax(105px,.8fr) minmax(135px,.8fr) minmax(205px,1fr) 90px; gap:16px; padding:14px; }
    [data-catalogue-display="table"] .seller-catalogue-columns { font-size:11px; font-weight:650; color:#75808c; background:#f0f3f5; border:1px solid #dce2e7; border-bottom:0; border-radius:8px 8px 0 0; }
    [data-catalogue-display="table"] .seller-catalogue-columns span:nth-child(4), [data-catalogue-display="table"] .seller-catalogue-columns span:nth-child(5) { text-align:right; }
    .seller-offers [data-catalogue-display="table"] .park-grid { display:grid; grid-template-columns:1fr; gap:0; border:1px solid #dce2e7; border-radius:0 0 8px 8px; overflow:hidden; }
    .seller-offers [data-catalogue-display="table"] .seller-offer-row { border:0; border-bottom:1px solid #e1e6eb; border-radius:0; box-shadow:none; }
    .seller-offers [data-catalogue-display="table"] .seller-offer-row:nth-child(even) { background:#f8fafb; }
    .seller-offers [data-catalogue-display="table"] .seller-offer-row:hover { background:#edf5f3; }
    .seller-offers [data-catalogue-display="table"] .seller-offer-row > .park-photo { width:70px; height:64px; }
    [data-catalogue-display="table"] .seller-offer-row__price { grid-column:4; grid-row:1; }
    [data-catalogue-display="table"] .seller-offer-row__eligibility, [data-catalogue-display="table"] .storefront-card-primes { grid-column:5; grid-row:1; }
    [data-catalogue-display="table"] .seller-offer-row__action { grid-column:6; grid-row:1; }
}
.seller-offers [data-catalogue-display="panels"] .park-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; }
.seller-offers [data-catalogue-display="panels"] .seller-offer-row { display:flex; flex-direction:column; align-items:stretch; gap:12px; padding:16px; border:1px solid #dce2e7; border-radius:10px; background:#fff; }
.seller-offers [data-catalogue-display="panels"] .seller-offer-row > .park-photo { width:100%; height:180px; flex:none; }
[data-catalogue-display="panels"] .seller-offer-row__context { display:flex; justify-content:space-between; gap:12px; }
[data-catalogue-display="panels"] .seller-offer-row__price { order:4; text-align:left; margin-top:auto; }
[data-catalogue-display="panels"] .seller-offer-row__eligibility, [data-catalogue-display="panels"] .storefront-card-primes { order:5; text-align:right; border-top:1px solid #e2e7eb; padding-top:12px; }
[data-catalogue-display="panels"] .seller-offer-row__action { order:6; margin:0; padding:10px 0 0; align-self:flex-end; }
@media(max-width:720px) {
    .seller-catalogue-display { flex-wrap:wrap; }
    [data-catalogue-display="table"] .seller-offer-row__eligibility { text-align:left; }
    [data-catalogue-display="table"] .seller-offer-row__price { text-align:left; }
    .seller-offers [data-catalogue-display="panels"] .park-grid { grid-template-columns:minmax(0,1fr); }
}
