:root{--dealer-ink:#14243d;--dealer-muted:#57687e;--dealer-surface:#fff;--dealer-soft:#f5f8fc;--dealer-line:#dce4ee;--dealer-blue:#245ee8;--dealer-highlight:#edf3ff}
.dark{--dealer-ink:#eef3fc;--dealer-muted:#aebcd1;--dealer-surface:#192638;--dealer-soft:#111d2d;--dealer-line:#35455d;--dealer-blue:#6293ff;--dealer-highlight:#203859}
.dealer-workspace,.dealer-dialog{color:var(--dealer-ink);font-family:inherit}
.dealer-workspace{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:18px 0 20px;margin-top:4px}
.dealer-workspace-title{display:flex;flex-direction:column;gap:5px}.dealer-workspace-title strong{font-size:19px;letter-spacing:-.025em}.dealer-workspace-title span{font-size:12px;color:var(--dealer-muted)}
.dealer-workspace-actions,.dealer-inline-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.dealer-button{display:inline-flex;justify-content:center;align-items:center;gap:7px;padding:10px 13px;border:1px solid var(--dealer-line);border-radius:8px;background:var(--dealer-surface);color:var(--dealer-ink);font:inherit;font-size:12px;font-weight:600;line-height:1.45;cursor:pointer;min-height:38px}
.dealer-button:hover{background:var(--dealer-highlight);border-color:var(--dealer-blue)}.dealer-button:disabled{opacity:.45;cursor:default}.dealer-button[aria-pressed=true]{background:var(--dealer-highlight);color:var(--dealer-blue);border-color:var(--dealer-blue)}
.dealer-button.dealer-primary{background:#245ee8;border-color:#245ee8;color:#fff}.dealer-button.dealer-primary:hover{background:#174dcc}.dealer-button:focus-visible,.dealer-text-button:focus-visible{outline:3px solid var(--dealer-blue);outline-offset:3px}
.dealer-tech-filters{padding:12px 0 0;border-top:1px solid var(--dealer-line);color:var(--dealer-ink)}.dealer-tech-filters>summary{font-size:13px;font-weight:600;cursor:pointer;padding:4px 0}
.dealer-filter-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;padding:14px 0}.dealer-filter-fields>.dealer-button{align-self:end}
.dealer-field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:500;min-width:0;color:var(--dealer-muted)}
.dealer-field input,.dealer-field select,.dealer-showroom-toolbar input{width:100%;min-width:0;border:1px solid var(--dealer-line);border-radius:7px;padding:10px 11px;background:var(--dealer-surface);color:var(--dealer-ink);font:inherit;font-size:14px;min-height:40px}
.dealer-field input[type=checkbox]{width:20px;min-height:20px;align-self:start}.dealer-field input:focus,.dealer-field select:focus{outline:2px solid var(--dealer-blue);outline-offset:1px}
.dealer-muted{font-size:12px;line-height:1.7;color:var(--dealer-muted);margin:9px 0}.dealer-notice{color:var(--dealer-blue);font-size:13px;margin:0 0 12px}.dealer-notice:empty{display:none}
.dealer-product-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:6px}.dealer-text-button{font-size:11px;color:var(--dealer-blue);background:none;border:0;padding:3px 0;cursor:pointer;text-align:left;font-weight:600}.dealer-text-button[aria-pressed=true]{text-decoration:underline}
.dealer-product-brief{font-size:11px;color:var(--dealer-muted);margin:5px 0 0}
html[data-dealer-view=cards] #tableScrollWrapper{display:none!important}
html[data-dealer-view=cards] #mobileCardsContainer{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}
html[data-dealer-view=cards] #mobileCardsContainer>div{margin:0!important;box-shadow:none;border-color:var(--dealer-line);border-radius:12px;padding:18px}
html[data-dealer-view=cards] #mobileCardsContainer .product-img-container{width:95px;height:100px;flex:0 0 95px}
html[data-dealer-view=cards] #mobileCardsContainer .product-img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
.dealer-dialog{position:fixed;margin:auto;inset:0;width:min(1000px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--dealer-line);border-radius:14px;background:var(--dealer-surface);box-shadow:0 24px 90px #07162c40;z-index:150;overflow:hidden}
.dealer-dialog[open]{display:flex;flex-direction:column}.dealer-dialog::backdrop{background:#0b172b80;backdrop-filter:blur(3px)}
.dealer-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 24px;border-bottom:1px solid var(--dealer-line);flex-shrink:0;background:var(--dealer-surface)}
.dealer-dialog-header h2{font-size:18px;font-weight:700;line-height:1.5;margin:0;overflow-wrap:anywhere}.dealer-dialog-header .dealer-close{flex-shrink:0}
.dealer-dialog-body{padding:24px;overflow:auto;overscroll-behavior:contain;min-height:0}.dealer-dialog-body h3{font-size:14px;font-weight:700;margin:22px 0 10px}.dealer-dialog-body a{color:var(--dealer-blue);font-size:12px}
.dealer-product-drawer{inset:0 0 0 auto;margin:0;width:min(620px,100vw);height:100dvh;max-height:100dvh;border-radius:0;border-right:0}
.dealer-product-hero{display:grid;grid-template-columns:150px 1fr;gap:24px;align-items:center;margin-bottom:20px}.dealer-product-price{font-size:22px;font-weight:700;line-height:1.5;font-variant-numeric:tabular-nums;display:block}
.dealer-photo{display:flex;justify-content:center;align-items:center;min-width:0}.dealer-photo .product-img-container{width:100%!important;height:180px!important;max-width:220px;min-width:0;display:flex;align-items:center;justify-content:center;flex-shrink:1!important;background:#fff;border-radius:8px}
.dealer-photo .product-img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain}.dealer-photo .product-img-fallback{font-size:32px}
.dealer-spec-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.6}.dealer-spec-table th,.dealer-spec-table td{padding:10px 12px;border-bottom:1px solid var(--dealer-line);text-align:left;vertical-align:top;overflow-wrap:anywhere}.dealer-spec-table th{font-weight:500;color:var(--dealer-muted);width:45%}.dealer-spec-table td{font-weight:500}.dealer-spec-table tr:last-child>*{border-bottom:0}
.dealer-size-summary{padding:1px 16px 12px;margin:18px 0;background:var(--dealer-soft);border-radius:8px}.dealer-size-summary p{font-size:13px;line-height:1.8}
.dealer-buy-row{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:20px 0 0}.dealer-buy-row .dealer-field{max-width:100px}.dealer-buy-row .dealer-primary{min-height:42px}.dealer-inline-actions{margin:16px 0}
.dealer-comparison-dialog{width:min(1200px,calc(100vw - 32px))}.dealer-comparison-scroll{overflow-x:auto;margin-top:16px}.dealer-comparison-table{table-layout:fixed;min-width:600px}.dealer-comparison-table th{width:auto}.dealer-comparison-table thead th{color:var(--dealer-ink);font-size:13px}.dealer-comparison-table .dealer-photo .product-img-container{height:130px!important;margin-bottom:12px}.dealer-comparison-table thead p{margin:7px 0;font-variant-numeric:tabular-nums}
.dealer-showroom{width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0}.dealer-showroom .dealer-dialog-header{padding:18px 32px}.dealer-showroom .dealer-dialog-body{padding:24px 32px;background:var(--dealer-soft)}
.dealer-showroom-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:20px}.dealer-showroom-toolbar input{flex:1}.dealer-showroom-toolbar .dealer-button{flex-shrink:0}
.dealer-showroom-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;align-items:start}.dealer-showroom-card{background:var(--dealer-surface);border:1px solid var(--dealer-line);border-radius:12px;padding:24px;min-width:0}
.dealer-showroom-card h3{font-size:19px;margin-top:6px}.dealer-showroom-card>.dealer-field{margin:12px 0}.dealer-showroom-card .dealer-photo .product-img-container{height:230px!important;max-width:100%}.dealer-showroom-card .dealer-spec-table th{width:55%}
.dealer-showroom-search-results{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.dealer-quote-total{display:block;text-align:right;font-size:25px;font-variant-numeric:tabular-nums;margin:28px 0}.dealer-print-price{display:none}
.dealer-bundle-dialog{width:min(900px,calc(100vw - 32px))}.dealer-bundle-builder{display:grid;grid-template-columns:1fr;gap:12px;margin:15px 0}.dealer-bundle-option{padding:16px 0;border-bottom:1px solid var(--dealer-line)}.dealer-bundle-option h3{margin:0 0 7px}.dealer-bundle-option p{font-size:12px;color:var(--dealer-muted);margin-bottom:8px}.dealer-bundle-option .dealer-button{margin-left:15px}.dealer-bundle-dialog .dealer-product-price{margin-top:16px}
.dealer-offer-save{display:flex;gap:10px;align-items:center;margin:0 0 22px}.dealer-offer-save input{flex:1;min-width:0;padding:10px 12px;font-size:14px;border:1px solid var(--dealer-line);border-radius:7px;background:var(--dealer-surface);color:var(--dealer-ink)}.dealer-saved-offer{padding:12px 0;border-bottom:1px solid var(--dealer-line)}.dealer-showroom-card input[data-sale-sku]{font-size:21px;font-weight:700}
.basket-line-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.basket-line-actions button{margin:0!important;font-size:11px!important}.basket-remove{background:none;border:0;color:#be123c;padding:7px;cursor:pointer}
.replacement-card .replacement-differences{font-size:12px;line-height:1.8;padding:10px 0}.replacement-card .replacement-differences li{list-style:disc;margin-left:18px}.replacement-card .dealer-button{margin-right:7px}
@media(min-width:1000px){
 #modalItemsList>.basket-item{display:grid;grid-template-columns:minmax(200px,1fr) 125px 125px 135px 135px;align-items:center;gap:16px;padding:16px 0!important;border-radius:0!important;border-width:0 0 1px!important;box-shadow:none!important;background:transparent!important}
 #modalItemsList .basket-item-heading{display:block;padding:0!important;border:0!important;min-width:0}#modalItemsList .basket-item-heading h4{font-size:13px;line-height:1.6}#modalItemsList .basket-item-meta{font-size:10px;gap:5px;flex-wrap:wrap}
 #modalItemsList .basket-item-details{display:contents}#modalItemsList .basket-unit-price,#modalItemsList .basket-quantity,#modalItemsList .basket-line-total{width:auto!important;margin:0!important;padding:0!important}#modalItemsList .basket-line-total strong{font-size:16px}#modalItemsList .basket-field-label{font-size:10px}#modalItemsList .basket-line-actions{flex-direction:column;align-items:stretch}
 #modalItemsList .basket-price-notice{margin-top:8px}#modalItemsList .basket-price-notice button{white-space:normal!important}
}
@media(max-width:767px){
 .dealer-workspace{gap:12px;padding:12px 0}.dealer-workspace-title strong{font-size:17px}.dealer-workspace-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.dealer-workspace-actions .dealer-button{padding:10px 7px;min-height:44px}#dealerTableView,#dealerCardsView{display:none}.dealer-workspace-actions #dealerShowroom{grid-column:auto}.dealer-offer-save{flex-wrap:wrap}.dealer-offer-save input{font-size:16px;min-height:44px;flex-basis:100%}
 .dealer-dialog{width:100vw;max-height:100dvh;height:100dvh;border-radius:0;border:0}.dealer-dialog-header{padding:14px 16px}.dealer-dialog-header h2{font-size:16px}.dealer-dialog-body{padding:18px 16px}.dealer-field input,.dealer-field select,.dealer-showroom-toolbar input{font-size:16px;min-height:44px}
 .dealer-product-hero{grid-template-columns:110px 1fr;gap:14px}.dealer-product-price{font-size:19px}.dealer-product-hero .dealer-photo .product-img-container{height:140px!important}.dealer-showroom .dealer-dialog-header,.dealer-showroom .dealer-dialog-body{padding:16px}.dealer-showroom-toolbar{flex-wrap:wrap}.dealer-showroom-toolbar input{flex-basis:100%}.dealer-showroom-grid{grid-template-columns:1fr}.dealer-showroom-card{padding:18px}.dealer-button{min-height:44px}.dealer-filter-fields{grid-template-columns:1fr 1fr}.dealer-comparison-dialog{width:100vw}.dealer-comparison-table{min-width:650px}.dealer-bundle-option .dealer-button{margin:12px 0 0;display:flex}.dealer-spec-table th,.dealer-spec-table td{padding:10px 6px}
}
@media(max-width:380px){.dealer-filter-fields{grid-template-columns:1fr}.dealer-product-hero{grid-template-columns:90px 1fr}}
@media print{
 body.dealer-showroom-active>dialog.dealer-showroom,body.dealer-showroom-active>dialog.dealer-showroom *{visibility:visible!important}
 body.dealer-showroom-active>*{display:none!important}body.dealer-showroom-active>dialog.dealer-showroom{display:block!important;position:static!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;border:0!important;color:#111!important;background:#fff!important}
 .dealer-showroom::backdrop{display:none}.dealer-showroom .dealer-dialog-body{display:block!important;height:auto!important;max-height:none!important;overflow:visible!important;background:#fff!important;padding:12px 0!important}.dealer-showroom .dealer-dialog-header{padding:0 0 15px!important;background:#fff!important}.dealer-showroom button,.dealer-showroom .dealer-field,.dealer-showroom-toolbar,.dealer-showroom-search-results,.dealer-offer-save{display:none!important}.dealer-showroom .dealer-print-price{display:block;font-size:18px;font-weight:700}.dealer-showroom-grid{display:block}.dealer-showroom-card{break-inside:avoid;page-break-inside:avoid;margin-bottom:20px;background:#fff!important;color:#111!important}.dealer-showroom .dealer-photo .product-img-container{height:150px!important}.dealer-showroom .dealer-muted{color:#444!important}.dealer-quote-total{font-size:22px}
}

.dealer-advanced-tools{position:relative}.dealer-advanced-tools summary{cursor:pointer;padding:9px 12px;border:1px solid #cbd5e1;border-radius:9px}.dealer-advanced-tools[open]{display:flex;flex-wrap:wrap;gap:8px}.dealer-advanced-tools[open] summary{width:100%}.zigzag-product-ask[hidden]{display:none!important}
