.model-trim-section{padding:72px 0 90px;background:#fff;border-top:1px solid var(--line);scroll-margin-top:76px}
.trim-catalog-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:30px}
.trim-catalog-heading h2{margin:4px 0 0;font-size:64px;line-height:.92;letter-spacing:-.065em}
.trim-catalog-compare-link{display:inline-flex;min-height:44px;align-items:center;gap:7px;color:var(--black);font-size:14px;font-weight:850;text-decoration:none;white-space:nowrap}
.trim-catalog-compare-link:hover,.trim-catalog-link:hover{color:var(--orange)}
.trim-catalog-compare-link:focus-visible,.trim-catalog-link:focus-visible{outline:3px solid rgba(244,73,36,.32);outline-offset:3px;border-radius:8px}
.trim-catalog-compare-link .material-symbols-rounded{font-size:18px}
.trim-catalog-families{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.trim-catalog-family{min-width:0;border-top:2px solid var(--black);background:#fff}
.trim-catalog-family-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 2px 14px;border-bottom:1px solid var(--line)}
.trim-catalog-family-head h3{margin:0;font-size:22px;line-height:1.05;letter-spacing:-.035em}
.trim-catalog-family-head>strong{color:var(--muted);font-size:13px;white-space:nowrap}
.trim-catalog-list{display:grid}
.trim-catalog-row{display:grid;grid-template-columns:minmax(155px,1.4fr) minmax(120px,.8fr) auto;gap:14px;align-items:center;min-height:86px;padding:14px 2px;border-top:1px solid var(--line)}
.trim-catalog-row:first-child{border-top:0}
.trim-catalog-row:hover{background:#fafafa}
.trim-catalog-name small,.trim-catalog-price small{display:block;margin-bottom:5px;color:var(--muted);font-size:11px;font-weight:750}
.trim-catalog-name h4{margin:0;font-size:18px;line-height:1.14;letter-spacing:-.025em;overflow-wrap:anywhere}
.trim-catalog-price strong,.trim-catalog-price span{display:block}
.trim-catalog-price strong{font-size:16px;line-height:1.15;white-space:nowrap}
.trim-catalog-price span{margin-top:4px;color:var(--muted);font-size:10px;line-height:1.2;white-space:nowrap}
.trim-catalog-link{display:inline-flex;min-height:44px;align-items:center;justify-content:flex-end;gap:4px;padding:8px 2px 8px 8px;color:var(--black);font-size:12px;font-weight:850;text-decoration:none;white-space:nowrap}
.trim-catalog-link .material-symbols-rounded{font-size:17px}
.trim-catalog-status{display:inline-flex;min-height:44px;align-items:center;justify-content:flex-end;color:var(--muted);font-size:12px;font-weight:750;white-space:nowrap}
.trim-matrix-divider{display:flex;align-items:center;gap:16px;margin:70px 0 28px;color:var(--orange);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;scroll-margin-top:84px}
.trim-matrix-divider::after{height:1px;flex:1;background:var(--line);content:""}
.trim-matrix-heading{display:flex;align-items:center;justify-content:space-between;gap:42px;margin-bottom:24px}
.trim-matrix-identity{display:flex;align-items:center;gap:20px;min-width:0}
.trim-matrix-identity img{width:122px;height:78px;object-fit:contain;border-radius:10px;background:#f4f5f6}
.trim-matrix-identity h2{margin:0;font-size:48px;line-height:.98;letter-spacing:-.055em;text-wrap:balance}
.trim-matrix-identity p{margin:8px 0 0;color:var(--muted);font-size:18px}
.trim-selection-status{display:grid;grid-template-columns:auto auto;gap:4px 22px;align-items:center;text-align:right}
.trim-selection-status strong{font-size:16px}
.trim-selection-status strong b{color:var(--orange)}
.trim-selection-status span{grid-column:1;color:var(--muted);font-size:13px}
.trim-selection-status button{grid-column:2;grid-row:1/3;min-height:46px;padding:11px 18px;border:1px solid var(--orange);border-radius:10px;color:#fff;background:var(--orange);cursor:pointer;font:inherit;font-size:14px;font-weight:850;white-space:nowrap;touch-action:manipulation}
.trim-selection-status button:hover{background:#d94220}
.trim-selection-status button:disabled{border-color:var(--line);color:#8b9195;background:#eef0f1;cursor:not-allowed}
#trim-families{display:grid;gap:10px}
.trim-family{padding:18px;border:1px solid var(--line);border-radius:13px;background:#fff}
.trim-family-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}
.trim-family-head h3{margin:0;font-size:18px;line-height:1.1}
.trim-family-head span{color:var(--muted);font-size:13px}
.trim-family-grid{display:grid;grid-template-columns:repeat(var(--family-columns),minmax(0,1fr));gap:9px}
.trim-matrix-choice{display:flex;min-width:0;min-height:148px;flex-direction:column;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;touch-action:manipulation;transition:border-color .16s ease,background-color .16s ease}
.trim-matrix-choice:hover{border-color:#9da3a7}
.trim-matrix-choice:focus-within{outline:3px solid rgba(244,73,36,.28);outline-offset:2px}
.trim-matrix-choice.is-selected{border-color:var(--orange);box-shadow:inset 0 0 0 1px var(--orange)}
.trim-matrix-title{display:flex;align-items:flex-start;gap:9px}
.trim-matrix-title input{width:18px;height:18px;margin:1px 0 0;flex:0 0 auto;accent-color:var(--orange)}
.trim-matrix-title strong,.trim-matrix-title small{display:block}
.trim-matrix-title strong{font-size:15px;line-height:1.16;letter-spacing:-.015em}
.trim-matrix-title small{margin-top:5px;color:var(--muted);font-size:12px;font-weight:700}
.trim-matrix-facts{display:grid;gap:5px;margin-top:auto;padding-top:14px;font-size:11px;line-height:1.28}
.trim-matrix-facts span{display:block;color:var(--muted)}
.trim-matrix-facts b{color:var(--black);font-weight:750}
.trim-selected-comparison{margin-top:12px;border:1px solid var(--line);border-radius:13px;background:#fff;scroll-margin-top:90px}
.trim-selected-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 16px;border-bottom:1px solid var(--line)}
.trim-selected-summary{display:flex;align-items:center;gap:14px}
.trim-selected-head h3{margin:0;font-size:17px}
.trim-selected-head h3 span{color:var(--muted)}
.trim-selection-actions{display:flex;align-items:center;gap:6px}
.trim-selection-actions button{padding:7px 10px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:#fff;cursor:pointer;font:inherit;font-size:12px;font-weight:750;touch-action:manipulation}
.trim-selection-actions button:hover{color:var(--black);border-color:#9da3a7}
.trim-selection-actions button:disabled{color:#aeb2b5;background:#f5f6f6;cursor:not-allowed}
.trim-compare-controls{display:flex;align-items:center;gap:8px}
.comparison-modes{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#f3f4f5}
.comparison-modes button{min-height:36px;padding:7px 13px;border:0;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer;font:inherit;font-size:12px;font-weight:850;white-space:nowrap;touch-action:manipulation}
.trim-fullscreen-button{display:inline-flex;min-height:46px;align-items:center;gap:7px;padding:9px 13px;border:1px solid var(--black);border-radius:10px;color:#fff;background:var(--black);cursor:pointer;font:inherit;font-size:12px;font-weight:850;white-space:nowrap;touch-action:manipulation}
.trim-fullscreen-button:hover{background:#252829}
.trim-fullscreen-button:disabled{border-color:var(--line);color:#a0a5a8;background:#eef0f1;cursor:not-allowed}
.trim-fullscreen-button .material-symbols-rounded{font-size:18px}
.trim-selection-status button:focus-visible,.trim-selected-head button:focus-visible,.comparison-modes button:focus-visible,.trim-dialog-bar button:focus-visible{outline:3px solid rgba(244,73,36,.32);outline-offset:2px}
.comparison-modes button[aria-pressed="true"]{color:#fff;background:var(--black)}
.trim-selected-table-scroll{overflow:auto;border-radius:0 0 13px 13px;scrollbar-color:#a8adb1 #eef0f1}
.trim-selected-table-scroll:focus-visible{outline:3px solid rgba(244,73,36,.32);outline-offset:-3px}
.trim-selected-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-variant-numeric:tabular-nums}
.trim-selected-table th,.trim-selected-table td{padding:13px 16px;border-top:1px solid var(--line);border-left:1px solid var(--line);vertical-align:middle;text-align:left;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.trim-selected-table thead th{border-top:0;background:#fafafa}
.trim-selected-table th:first-child,.trim-selected-table td:first-child{border-left:0}
.trim-selected-table thead th:first-child{width:230px}
.trim-selected-table thead th small{display:block;margin-top:5px;color:var(--muted);font-size:11px;font-weight:700}
.trim-selected-table thead th strong,.trim-selected-table thead th span{display:block}
.trim-selected-table thead th strong{font-size:16px}
.trim-selected-table thead th span{margin-top:4px;color:var(--muted);font-size:12px}
.trim-selected-table tbody th{background:#f2f3f4}
.trim-selected-table tbody th small,.trim-selected-table tbody th strong{display:block}
.trim-selected-table tbody th small{margin-bottom:4px;color:#787f83;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
.trim-selected-table tbody th strong{font-size:13px;line-height:1.25}
.trim-selected-table tbody tr:nth-child(even) td{background:#fcfcfc}
.trim-selected-table td.is-changed{color:var(--orange);font-weight:800}
.trim-selected-table td.is-empty{color:#a0a5a8}
.comparison-table td.is-changed{color:var(--orange);font-weight:800}
.comparison-table td.is-empty{color:#747b81}
.comparison-legend{margin:12px 0;color:#626a70;font-size:13px;line-height:1.5}
.trim-selected-table.is-compact th,.trim-selected-table.is-compact td{padding:10px 6px;font-size:11.5px;line-height:1.22}
.trim-selected-table.is-compact thead th:first-child{width:180px}
.trim-selected-table.is-compact thead th strong{font-size:12px;line-height:1.12}
.trim-selected-table.is-compact thead th span{margin-top:5px;font-size:10px;line-height:1.1}
.trim-selected-table.is-compact thead th small{font-size:9px}
.trim-selected-table.is-compact tbody th small{font-size:8px;line-height:1.15}
.trim-selected-table.is-compact tbody th strong{font-size:11px;line-height:1.18}
.trim-selected-table.is-compact td.is-nowrap{font-size:10px;white-space:nowrap;letter-spacing:-.02em}
.trim-compare-empty{display:flex;min-height:150px;flex-direction:column;align-items:center;justify-content:center;padding:28px;text-align:center}
.trim-compare-empty strong{font-size:20px}
.trim-compare-empty span{margin-top:6px;color:var(--muted);font-size:14px}
.trim-comparison-dialog{width:calc(100vw - 24px);height:calc(100vh - 24px);max-width:none;max-height:none;margin:auto;padding:0;border:0;border-radius:14px;color:var(--black);background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.36);overflow:hidden}
.trim-comparison-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
.trim-comparison-dialog::backdrop{background:rgba(5,7,8,.76);backdrop-filter:blur(5px)}
.trim-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 18px;border-bottom:1px solid var(--line);background:#fff}
.trim-dialog-bar span,.trim-dialog-bar h2{display:block}
.trim-dialog-bar>div>span{margin-bottom:3px;color:var(--orange);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.trim-dialog-bar h2{margin:0;font-size:22px;line-height:1.1;letter-spacing:-.025em}
.trim-dialog-bar button{display:inline-flex;min-height:42px;align-items:center;gap:7px;padding:8px 12px;border:1px solid var(--line);border-radius:9px;color:var(--black);background:#fff;cursor:pointer;font:inherit;font-size:13px;font-weight:800;touch-action:manipulation}
.trim-dialog-bar button:hover{border-color:#92989c;background:#f5f6f6}
.trim-dialog-bar .material-symbols-rounded{font-size:20px}
.comparison-dialog-open{overflow:hidden}
.trim-selected-comparison.is-fullscreen{display:grid;height:100%;min-height:0;grid-template-rows:auto minmax(0,1fr) auto;margin:0;border:0;border-radius:0;overflow:hidden}
.is-fullscreen .comparison-legend{margin:0;padding:10px 18px}
.trim-selected-table,.comparison-table{font-variant-numeric:tabular-nums}
.is-fullscreen .trim-selected-head{padding:12px 18px}
.is-fullscreen .trim-selected-table-scroll{height:100%;min-height:0;border-radius:0}
.trim-selected-table thead th{position:sticky;top:0;z-index:2}
.trim-selected-table thead th:first-child{left:0;z-index:4}
.trim-selected-table tbody th{position:sticky;left:0;z-index:1}
.trim-sticky-table-head{position:fixed;z-index:18;overflow:hidden;border:1px solid var(--line);border-top:2px solid var(--orange);background:#fff;box-shadow:0 8px 22px rgba(16,18,20,.13);visibility:hidden;pointer-events:none}
.trim-sticky-table-head.is-visible{visibility:visible}
.trim-sticky-table-head .trim-selected-table{position:absolute;left:0;top:0;margin:0;background:#fff;will-change:transform}
.trim-sticky-table-head .trim-selected-table thead th{position:static;color:var(--black);background:#fff}
.trim-sticky-table-head .trim-selected-table thead th:first-child{position:relative;z-index:2;transform:translateX(var(--sticky-scroll-x));background:#f2f3f4}
@media(max-width:1200px){.trim-family-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){
  .trim-catalog-heading{align-items:flex-start;flex-direction:column;gap:14px}
  .trim-catalog-heading h2{font-size:52px}
  .trim-catalog-families{grid-template-columns:1fr}
  .trim-matrix-heading{align-items:flex-start;flex-direction:column}
  .trim-selection-status{width:100%;grid-template-columns:1fr auto;text-align:left}
  .trim-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .trim-selected-head{align-items:flex-start;flex-direction:column}
  .trim-selected-summary,.trim-compare-controls{width:100%;justify-content:space-between}
  .comparison-modes{width:100%}
  .comparison-modes button{flex:1}
  .trim-fullscreen-button{flex:none}
}
@media(max-width:560px){
  .model-trim-section{padding:50px 0 66px}
  .trim-catalog-heading h2{font-size:44px}
  .trim-catalog-intro p{font-size:16px}
  .trim-catalog-family-head{padding:18px}
  .trim-catalog-row{grid-template-columns:1fr auto;gap:14px;min-height:0;padding:18px}
  .trim-catalog-price{grid-column:1;grid-row:2}
  .trim-catalog-link,.trim-catalog-status{grid-column:2;grid-row:2}
  .trim-matrix-divider{margin-top:54px}
  .trim-matrix-identity{align-items:flex-start}
  .trim-matrix-identity img{width:84px;height:58px}
  .trim-matrix-identity h2{font-size:35px}
  .trim-matrix-identity p{font-size:15px}
  .trim-selection-status{grid-template-columns:1fr}
  .trim-selection-status span,.trim-selection-status button{grid-column:1;grid-row:auto}
  .trim-selection-status button{width:100%;margin-top:8px}
  .trim-family{padding:14px}
  .trim-family-grid{grid-template-columns:1fr}
  .trim-matrix-choice{min-height:136px}
  .trim-selected-summary,.trim-compare-controls{align-items:flex-start;flex-direction:column;gap:8px}
  .trim-selection-actions,.comparison-modes,.trim-fullscreen-button{width:100%}
  .trim-selection-actions button,.trim-fullscreen-button{justify-content:center;flex:1}
  .trim-selected-table:not(.is-compact){min-width:820px}
  .trim-selected-table.is-compact{min-width:1160px}
  .trim-comparison-dialog{width:100vw;height:100vh;border-radius:0}
  .trim-dialog-bar{padding:11px 12px}
  .trim-dialog-bar h2{font-size:18px}
  .trim-dialog-bar button>span:last-child{display:none}
}
@media(prefers-reduced-motion:reduce){.trim-matrix-choice{transition:none}html{scroll-behavior:auto}}
