.cpu-view-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 20px;
  min-width: 0;
}
.cpu-view-toolbar[hidden], .cpu-parameter-view[hidden],
.catalog-results > [data-cpu-cards][hidden] { display: none; }
.cpu-view-label { font-size: 14px; color: var(--muted); }
.cpu-view-buttons { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.cpu-view-button {
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.cpu-view-button[aria-pressed="true"] { border-color: var(--cyan); background: #e4effb; color: #0f1b26; }
.cpu-view-button:hover { border-color: var(--cyan); color: var(--ink); }
.cpu-view-button:focus-visible, .cpu-table a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.cpu-parameter-view { container-type: inline-size; min-width: 0; max-width: 100%; }
.cpu-parameters-heading { margin-bottom: 20px; }
.cpu-parameters-heading h2 { margin: 0 0 12px; font-size: 26px; line-height: 1.2; overflow-wrap: anywhere; }
.cpu-parameters-heading p { margin: 0; max-width: 76ch; font-size: 14px; line-height: 1.65; color: var(--muted); overflow-wrap: anywhere; }
.cpu-table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
}
.cpu-model-col { width: 25%; }
.cpu-socket-col { width: 10%; }
.cpu-cores-col { width: 11%; }
.cpu-graphics-col { width: 16%; }
.cpu-power-col { width: 16%; }
.cpu-price-col { width: 22%; }
.cpu-table th, .cpu-table td { padding: 16px 12px; min-width: 0; overflow-wrap: anywhere; vertical-align: top; border-bottom: 1px solid var(--line); }
.cpu-table thead th { font-size: 13px; line-height: 1.5; font-weight: 600; background: #f6f8fb; color: #2b3a47; }
.cpu-table thead th:first-child { border-top-left-radius: 11px; }
.cpu-table thead th:last-child { border-top-right-radius: 11px; }
.cpu-table tbody th { background: transparent; font-weight: 400; color: var(--ink); }
.cpu-table tbody tr:nth-child(even) { background: #ffffff; }
.cpu-table tbody tr:last-child > * { border-bottom: 0; }
.cpu-model-name { display: block; color: var(--ink); font: 650 17px/1.4 var(--display); overflow-wrap: anywhere; }
.cpu-model-name:hover { color: var(--cyan); }
.cpu-model-mpn { display: block; margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.cpu-source { display: inline-block; margin-top: 10px; color: var(--cyan); font-size: 13px; }
.cpu-cell-label { display: none; }
.cpu-cell-value { display: block; min-width: 0; }
.cpu-power-values { display: grid; gap: 8px; min-width: 0; }
.cpu-power-values > div { display: grid; gap: 2px; min-width: 0; }
.cpu-power-values span { font-size: 12px; color: var(--muted); }
.cpu-power-values strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.cpu-price-content { min-width: 0; }
.cpu-price { display: block; color: var(--ink); font: 700 20px/1.3 var(--display); overflow-wrap: anywhere; }
.cpu-price-unavailable { color: var(--muted); }
.cpu-table .purchase-actions { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin-top: 14px; }
.cpu-table .purchase-actions > .button { flex: 1 1 100%; min-width: 0; max-width: 100%; min-height: 42px; padding: 9px 10px; font-size: 14px; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; text-align: center; }
.cpu-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@container (max-width: 899px) {
  .cpu-table { display: block; border: 0; background: transparent; }
  .cpu-table colgroup { display: none; }
  .cpu-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .cpu-table tbody { display: grid; gap: 16px; min-width: 0; }
  .cpu-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); min-width: 0; }
  .cpu-table tbody tr:nth-child(even) { background: var(--panel); }
  .cpu-table th, .cpu-table td { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .cpu-table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
  .cpu-table .cpu-model-cell { display: block; padding: 0 0 16px; }
  .cpu-model-name { font-size: 20px; }
  .cpu-cell-label { display: block; min-width: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
  .cpu-table .cpu-price-cell { display: block; padding: 16px 0 0; border-bottom: 0; }
  .cpu-price-cell > .cpu-cell-label { margin-bottom: 10px; }
  .cpu-table tbody tr:last-child > .cpu-price-cell { border-bottom: 0; }
  .cpu-table .purchase-actions > .button { flex-basis: 140px; }
  .cpu-power-values > div { grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: baseline; }
}
@media (max-width: 899px) {
  .cpu-table { display: block; border: 0; background: transparent; }
  .cpu-table colgroup { display: none; }
  .cpu-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .cpu-table tbody { display: grid; gap: 16px; min-width: 0; }
  .cpu-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); min-width: 0; }
  .cpu-table tbody tr:nth-child(even) { background: var(--panel); }
  .cpu-table th, .cpu-table td { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .cpu-table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
  .cpu-table .cpu-model-cell { display: block; padding: 0 0 16px; }
  .cpu-model-name { font-size: 20px; }
  .cpu-cell-label { display: block; min-width: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
  .cpu-table .cpu-price-cell { display: block; padding: 16px 0 0; border-bottom: 0; }
  .cpu-price-cell > .cpu-cell-label { margin-bottom: 10px; }
  .cpu-table tbody tr:last-child > .cpu-price-cell { border-bottom: 0; }
  .cpu-table .purchase-actions > .button { flex-basis: 140px; }
  .cpu-power-values > div { grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: baseline; }
}
