/* Полезно → Акумулатори */
.pz-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--ink-line); align-self: flex-start; }
.pz-tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 18px; border-radius: 999px; color: var(--muted-dark); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .04em; }
.pz-tabs a:hover { color: #fff; }
.pz-tabs a[aria-current="page"] { background: var(--red); color: #fff; }

/* Конфигуратор */
.ak-cfg { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ak-form { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ak-step { margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ak-step legend { padding: 0 6px; font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.ak-step legend b { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-size: 15px; }
.ak-row3 { display: grid; grid-template-columns: 1.2fr 1.2fr .8fr; gap: 10px; }
.ak-f { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); min-width: 0; }
.ak-f select { font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); min-height: 50px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); width: 100%; min-width: 0; }
.ak-f select:disabled { opacity: .55; }
.ak-hint { margin: 0; font-size: 15px; color: var(--muted); }
.ak-a { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 2px solid currentColor; border-radius: 50%; font-weight: 700; font-size: 12px; line-height: 1; vertical-align: -3px; }
.ak-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ak-pills[hidden] { display: none; }
.ak-pills label, .ak-pol label { position: relative; cursor: pointer; }
.ak-pills input, .ak-pol input { position: absolute; opacity: 0; pointer-events: none; }
.ak-pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 600; font-size: 15px; }
.ak-pills input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.ak-pills input:focus-visible + span, .ak-pol input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.ak-pol { display: grid; grid-template-columns: 1fr 1fr .7fr; gap: 10px; }
.ak-pol span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; min-height: 110px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 14px; text-align: center; }
.ak-pol input:checked + span { border-color: var(--red); box-shadow: inset 0 0 0 2px var(--red); background: #FFF5F5; }
.ak-pol svg { width: 96px; height: auto; }
.ak-pol svg rect:first-child { fill: #2A2C31; }
.ak-pol svg .p { fill: var(--red); }
.ak-pol svg .m { fill: #8A8E95; }
.ak-pol svg text { font: 700 24px var(--body); fill: #fff; text-anchor: middle; }
.ak-pol .ak-unk { font-weight: 600; font-size: 15px; }

/* Резултат */
.ak-res { position: sticky; top: 90px; background: var(--ink); color: #F4F3EF; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ak-wait { margin: 0; color: var(--muted-dark); }
.ak-rec { display: flex; flex-direction: column; gap: 14px; }
.ak-rec-car { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark-2); }
.ak-rec-main { display: flex; align-items: center; gap: 16px; }
.ak-rec-main b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 32px); line-height: 1.1; }
.ak-rec-main span:not(.ak-badge) { color: var(--muted-dark); }
.ak-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.ak-specs div { padding: 12px 14px; border-radius: 10px; background: var(--ink-2); min-width: 0; }
.ak-specs dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark-2); }
.ak-specs dd { margin: 2px 0 0; font-weight: 700; font-size: 18px; }
.ak-why, .ak-notes { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--muted-dark); font-size: 15px; }
.ak-notes { padding: 12px 14px 12px 30px; border-radius: 10px; background: #3A2E10; color: #F6E3B5; }
.ak-picks-h { margin: 0 0 8px; font-weight: 700; }
.ak-picks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ak-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: var(--ink-2); border: 1px solid var(--ink-line); }
.ak-item-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ak-item-t b { font-size: 16px; }
.ak-item-t small { color: var(--muted-dark-2); font-size: 13px; }
.ak-stock { flex: 0 0 auto; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #13361F; color: #7FE0A8; }
.ak-stock.off { background: transparent; border: 1px solid var(--ink-line); color: var(--muted-dark-2); }
.ak-fine { margin: 0; font-size: 13px; color: var(--muted-dark-2); }
.ak-fine a { color: #fff; }
.ak-cta .btn { width: 100%; }

.ak-badge { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 48px; height: 28px; padding: 0 8px; border-radius: 6px; font-weight: 800; font-size: 12px; letter-spacing: .06em; color: #fff; }
.ak-badge.std { background: #4A4E55; }
.ak-badge.efb { background: #1E5BB8; }
.ak-badge.agm { background: var(--red); }
.ak-badge.big { min-width: 76px; height: 56px; font-size: 20px; border-radius: 10px; }

/* Видове */
.ak-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ak-type { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); min-width: 0; }
.ak-type-head { display: flex; align-items: center; gap: 12px; }
.ak-type h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.ak-type p { margin: 0; color: var(--muted); }
.ak-type .ak-when { color: var(--ink); }
.ak-pc { list-style: none; margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.ak-pc li { padding-left: 24px; position: relative; }
.ak-pc li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.ak-pc .plus::before { content: "+"; color: #1E8A4C; }
.ak-pc .minus::before { content: "−"; color: var(--red); }
.ak-rule { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; padding: 18px 22px; border-radius: 12px; background: var(--ink); color: #F4F3EF; }
.ak-rule > b { font-family: var(--display); font-size: 20px; color: #FF6B6B; }
.ak-rule span { color: var(--muted-dark); }
.ak-rule span b { color: #fff; }

/* Сравнение */
.ak-tbl-wrap { overflow-x: auto; }
.ak-tbl { width: 100%; min-width: 560px; border-collapse: collapse; table-layout: fixed; }
.ak-tbl th, .ak-tbl td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--ink-line); vertical-align: middle; }
.ak-tbl thead th { font-family: var(--display); font-size: 18px; color: #fff; }
.ak-tbl tbody th { font-weight: 600; color: var(--muted-dark); width: 28%; }
.ak-tbl td { color: #F4F3EF; }
.ak-tbl td.yes { color: #7FE0A8; font-weight: 600; }
.ak-tbl td.no { color: var(--muted-dark-2); }
.ak-bar { display: block; height: 8px; width: calc(var(--n) * 40px); max-width: 100%; border-radius: 4px; background: var(--red); margin-bottom: 6px; }

/* Етикет */
.ak-label { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.ak-batt { position: relative; padding-top: 22px; }
.ak-batt-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 40px; }
.ak-batt-top .t { width: 52px; height: 30px; border-radius: 6px 6px 0 0; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 20px; }
.ak-batt-top .m { background: #6B6E74; }
.ak-batt-top .p { background: var(--red); }
.ak-batt-body { display: flex; flex-direction: column; gap: 10px; padding: 34px 26px; border-radius: 16px; background: linear-gradient(180deg, #2A2C31, #16181B); color: #fff; box-shadow: 0 20px 40px rgba(22, 24, 27, .25); }
.ak-batt-brand { font-weight: 700; letter-spacing: .2em; color: #FF6B6B; font-size: 14px; }
.ak-batt-big { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; }
.ak-batt-sm { color: var(--muted-dark); font-size: 15px; }
.ak-batt i { font-style: normal; position: relative; margin-right: 12px; }
.ak-batt i::after { content: attr(data-n); position: absolute; top: -10px; right: -14px; width: 18px; height: 18px; border-radius: 50%; background: var(--red); color: #fff; font: 700 11px/18px var(--body); text-align: center; }
.ak-legend { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); }
.ak-legend b { color: var(--ink); }
.ak-legend li::marker { color: var(--red); font-weight: 800; }

/* Признаци */
.ak-signs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ak-signs div { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 12px; background: var(--paper); border-left: 4px solid var(--red); min-width: 0; }
.ak-signs b { font-size: 17px; }
.ak-signs span { color: var(--muted); font-size: 15px; }
.ak-cold { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 12px; background: #E9F1FB; border: 1px solid #C9DAF0; }
.ak-cold b { font-size: 18px; color: #12386E; }
.ak-cold span { color: #2D4466; }

@media (max-width: 1000px) {
  .ak-cfg { grid-template-columns: 1fr; }
  .ak-res { position: static; }
  .ak-types, .ak-signs { grid-template-columns: 1fr; }
  .ak-label { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ak-row3 { grid-template-columns: 1fr 1fr; }
  .ak-row3 .ak-f:first-child { grid-column: 1 / -1; }
  .ak-pol { grid-template-columns: 1fr 1fr; }
  .ak-pol label:last-child { grid-column: 1 / -1; }
  .ak-pol label:last-child span { min-height: 48px; }
  .ak-step { padding: 16px; }
  .ak-specs dd { font-size: 16px; }
  .ak-batt-top { padding: 0 24px; }
}

/* Телефон: по-компактни акумулатори в резултата и бутон към резултата */
@media (max-width: 560px) {
  .ak-res { padding: 18px; }
  .ak-item { align-items: flex-start; }
  .ak-item > .ak-badge { display: none; }
  .ak-item-t b { font-size: 15px; }
}
.ak-jump { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 35; transform: translateX(-50%); display: none; align-items: center; gap: 8px; min-height: 46px; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; font-size: 15px; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); cursor: pointer; }
.ak-jump b { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 24px; padding: 0 6px; border-radius: 6px; font-size: 12px; background: var(--red); }
@media (max-width: 1000px) { .ak-jump.on { display: inline-flex; } }
@media (min-width: 761px) and (max-width: 1000px) { .ak-jump { bottom: 24px; } }
