/* mt-specs2-1106 — блок «Характеристики»: группы, плашки главного, значки ISO (рендер — mt_spec_groups.php) */
.mt-sg { --sg-ink: #1d2433; --sg-mut: #6b7385; --sg-line: #e6e9ef; --sg-brand: #1f3a5f; }
.mt-sg-key { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.mt-sg-key span { background: #eef2f8; color: var(--sg-brand); font-weight: 600; font-size: 14px; line-height: 1.2; padding: 7px 12px; border-radius: 999px; }
.mt-sg-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 36px; align-items: start; }
.mt-sg-h { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--sg-mut); font-weight: 600; margin: 0 0 4px; padding-bottom: 8px; border-bottom: 2px solid var(--sg-line); }
.mt-sg .mt-sg-list { margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; line-height: 1.45; }
.mt-sg .mt-sg-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--sg-line); list-style: none; background: none; }
.mt-sg .mt-sg-list li::before, .mt-sg .mt-sg-list li::after { display: none; content: none; }
.mt-sg .mt-sg-list li:last-child { border-bottom: 0; }
.mt-sg .mt-sg-list .name { color: var(--sg-mut); flex: 0 1 auto; min-width: 0; }
.mt-sg .mt-sg-list .value { flex: 1 1 auto; margin-left: auto; text-align: right; font-weight: 500; color: var(--sg-ink); min-width: 0; overflow-wrap: anywhere; }
.mt-sg .mt-sg-list .value a { color: var(--sg-brand); text-decoration: none; border-bottom: 1px dashed #9fb0c8; }
.mt-sg .mt-sg-list .value a:hover { border-bottom-style: solid; }
.mt-sg-g--g .mt-sg-list .value { font-weight: 400; color: #3a4252; }
.mt-sg-i { flex: none; width: 17px; height: 17px; padding: 0; border-radius: 50%; border: 1px solid #b8c0cc; background: #fff; color: #8a93a3; font: 600 11px/15px Arial, sans-serif; cursor: pointer; align-self: center; }
.mt-sg-i:hover, .is-tip .mt-sg-i { border-color: var(--sg-brand); color: var(--sg-brand); }
.mt-sg-tip { display: none; flex-basis: 100%; font-size: 13px; line-height: 1.4; color: #4a5263; background: #f5f7fa; border-radius: 8px; padding: 8px 10px; }
.mt-sg .is-tip .mt-sg-tip { display: block; }
.mt-iso-w { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; }
.mt-iso { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; white-space: nowrap; }
.mt-iso i { font-style: normal; width: 21px; height: 21px; border-radius: 5px; color: #fff; font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.mt-iso--P { background: #1d6fd1; } .mt-iso--M { background: #d9a400; } .mt-iso--K { background: #d23a2e; }
.mt-iso--N { background: #2e9b4f; } .mt-iso--S { background: #e07b16; } .mt-iso--H { background: #7a8291; }
@media (max-width: 991.98px) {
  .mt-sg-cols { grid-template-columns: 1fr; }
  .mt-sg-key span { font-size: 13px; padding: 6px 11px; }
  /* свёрнуто: плашки + первая группа, остальное — по кнопке «Все характеристики» */
  .nc-on .nc-specs:not(.open) .mt-sg .mt-sg-g:nth-child(n+2) { display: none; }
  .nc-on .nc-specs:not(.open) .mt-sg .mt-sg-g .mt-sg-list { margin-bottom: 0; }
}

/* mt-specs3-1106: колонки выровнены по высоте (строки перетекают между колонками), строки на одной сетке, подсветка строки;
   краткий список у блока покупки — в том же виде. Откат — /root/backups/specs3-1106/ */
@media (min-width: 992px) {
  .mt-sg-cols { display: block; column-width: 300px; column-count: 4; column-gap: 44px; }
  .mt-sg-g { break-inside: auto; }
  .mt-sg .mt-sg-list { margin: 0; }
  .mt-sg .mt-sg-list li { break-inside: avoid; min-height: 39px; box-sizing: border-box; }
  .mt-sg .mt-sg-list li:last-child { border-bottom: 1px solid var(--sg-line); }
  .mt-sg-h { break-after: avoid; break-inside: avoid; box-sizing: border-box; min-height: 39px; display: flex; align-items: flex-end; margin: 0; padding: 0 0 8px; border-bottom-width: 1px; border-bottom-color: #cfd5df; }
  .mt-sg .mt-sg-list li:hover { background: #f6f8fb; box-shadow: -8px 0 0 #f6f8fb, 8px 0 0 #f6f8fb; }
}
.nc-on .nc-sum .product-specs-list.mt-sg-short { margin: 0; padding: 0; font-size: 14px !important; }
.nc-on .nc-sum .product-specs-list.mt-sg-short li { display: flex !important; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 !important; padding: 7px 0 !important; border-bottom: 1px solid #e6e9ef; text-align: left; }
.nc-on .nc-sum .product-specs-list.mt-sg-short li:last-child { border-bottom: 0; }
.nc-on .nc-sum .product-specs-list.mt-sg-short .name { color: #6b7385; display: block; }
.nc-on .nc-sum .product-specs-list.mt-sg-short .name::after { display: none !important; content: none !important; }
.nc-on .nc-sum .product-specs-list.mt-sg-short .value { font-weight: 500; color: #1d2433; text-align: right; overflow-wrap: anywhere; }
.nc-on .nc-sum .product-specs-list.mt-sg-short .value a { color: #1f3a5f; text-decoration: none; border-bottom: 1px dashed #9fb0c8; }
.nc-on .nc-sum .product-specs-list.mt-sg-short .value a:hover { border-bottom-style: solid; }
/* mt-specs3b-1106: краткий список справа — убрать точечные дорожки и выровнять строки (перебивает правила mt-audit-1027 с :not(#ma…)) */
html body .product-specs-list.mt-sg-short > li:not(#ma1):not(#ma2):not(#ma3):not(#ma4) { border-bottom: 1px solid #e6e9ef !important; padding: 7px 0 !important; gap: 12px !important; justify-content: space-between !important; }
html body .product-specs-list.mt-sg-short > li:not(#ma1):not(#ma2):not(#ma3):not(#ma4):last-child { border-bottom: 0 !important; }
html body .product-specs-list.mt-sg-short > li:not(#ma1):not(#ma2):not(#ma3):not(#ma4) > .name::after { display: none !important; content: none !important; }
