/* Автокар Комерс — страница „Зимни гуми“ */
.nav a.nav-tires[aria-current="page"] { color: var(--red); }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* Мобилна лента най-долу (като на началната страница) */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(22, 24, 27, .97); box-shadow: 0 -6px 18px rgba(0, 0, 0, .22); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 8px; font-weight: 600; font-size: 17px; text-decoration: none; }
  .mbar .mbar-call { background: #FFFFFF; color: #16181B; }
  .mbar .mbar-book { background: #E30016; color: #FFFFFF; }
  .site-footer { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .tires-page .nav .btn { display: none; }
  .tires-page .nav a.nav-tires { display: inline-flex; }
}

/* Заглавие */
.t-hero { background: var(--ink); color: #F4F3EF; }
.t-hero-in { padding-top: 56px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 14px; }
.t-hero h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 6vw, 54px); line-height: 1.08; letter-spacing: -.01em; }
.t-sub { margin: 0; max-width: 720px; font-size: 19px; color: var(--muted-dark); }
.t-sub-2 { margin: 0; max-width: 720px; color: var(--muted-dark-2); font-size: 15px; }
.t-note { margin: 2px 0 0; color: #8A8D92; font-size: 13px; }

/* Филтри */
.t-filters { position: sticky; top: 67px; z-index: 15; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 6px 16px rgba(22, 24, 27, .05); }
.t-filters .wrap { padding-top: 14px; padding-bottom: 10px; }
.t-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; }
.t-size { display: flex; align-items: flex-end; gap: 6px; }
.t-sep { padding-bottom: 12px; font-weight: 700; color: var(--muted); }
.t-f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.t-f label, .t-lbl { font-size: 13px; font-weight: 600; color: var(--muted); }
.t-f select { font: inherit; font-size: 16px; min-height: 46px; min-width: 96px; padding: 8px 10px; border: 1.5px solid #C9C6BE; border-radius: 8px; background: var(--white); color: var(--ink); }
.t-size select { min-width: 92px; font-weight: 600; }
.t-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.t-chips label { position: relative; cursor: pointer; }
.t-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.t-chips span { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 14px; border: 1.5px solid #C9C6BE; border-radius: 999px; font-weight: 600; font-size: 15px; background: var(--white); }
.t-chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.t-chips input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.t-countrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 8px; }
.t-reset { min-height: 36px; padding: 4px 0; border: 0; background: none; color: var(--red); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.t-count { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted); }
@media (max-width: 760px) {
  .t-filters { position: static; box-shadow: none; }
  .t-form { gap: 12px; }
  .t-size { width: 100%; }
  .t-size .t-f { flex: 1 1 0; }
  .t-size select { min-width: 0; width: 100%; }
  .t-form > .t-f:not(.t-type) { flex: 1 1 140px; }
  .t-form > .t-f select { width: 100%; }
}

/* Карти */
.t-list .wrap { padding-top: 32px; padding-bottom: 72px; }
.t-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 20px; align-items: start; }
.tcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tc-img { position: relative; display: flex; align-items: center; justify-content: center; height: 190px; background: linear-gradient(160deg, #F7F6F2 0%, #E9E7E1 100%); }
.tc-tire { width: 150px; height: 150px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .18)); }
.tc-img.has-photo { background: #FFFFFF; border-bottom: 1px solid #EFEDE8; }
.tc-photo { height: 100%; width: auto; max-width: 100%; object-fit: contain; padding: 8px; }
.tc-brand { position: absolute; left: 14px; top: 12px; display: flex; align-items: center; max-width: 60%; min-height: 34px; padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, .92); }
.tc-logo { max-height: 26px; max-width: 120px; width: auto; display: block; }
.tc-word { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.tc-type { position: absolute; right: 12px; top: 12px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #FFFFFF; font-size: 13px; font-weight: 600; }
.tc-body { padding: 16px 18px 6px; display: flex; flex-direction: column; gap: 6px; }
.tc-b { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tc-n { margin: 0; font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.2; }
.tc-tags { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tc-tag { padding: 2px 9px; border-radius: 999px; background: #EFEDE8; font-size: 13px; font-weight: 600; }
.tc-price { margin: 6px 0 0; display: flex; align-items: baseline; gap: 6px; }
.tc-price span { color: var(--muted); font-size: 15px; }
.tc-price b { font-family: var(--display); font-size: 28px; color: var(--red); }
.tc-price small { color: var(--muted); font-size: 14px; }
.tc-cnt { margin: 0; font-size: 14px; color: var(--muted); }
.tc-sizes { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 15px; }
.tc-sizes td { padding: 8px 0; border-top: 1px solid #EFEDE8; vertical-align: middle; }
.tc-size b { font-variant-numeric: tabular-nums; margin-right: 8px; white-space: nowrap; }
.tc-li { color: var(--muted); font-size: 14px; white-space: nowrap; border-bottom: 1px dotted #A9ACB2; cursor: help; }
.tc-xs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.tc-x { padding: 0 6px; border: 1px solid #C9C6BE; border-radius: 4px; font-size: 12px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.tc-oe { border-color: #A9C1DE; background: #E7EFF9; }
.tc-pr { text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 10px !important; }
.tc-q { width: 40px; text-align: right; }
.tc-q a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 18px; }
.tc-q a:hover { background: #EFEDE8; }
.tc-more { align-self: flex-start; min-height: 40px; margin: 4px 0; padding: 6px 0; border: 0; background: none; color: var(--red); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tc-ask { margin: auto 0 0; padding: 12px 18px 14px; border-top: 1px solid var(--line); background: #FAFAF8; font-size: 14px; line-height: 1.5; color: var(--muted); }
.tc-ask a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.t-empty { margin: 0; padding: 32px; text-align: center; background: var(--white); border: 1px dashed #C9C6BE; border-radius: 12px; }

/* Обяснения */
.t-help-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px 48px; padding-top: 56px; padding-bottom: 64px; }
.t-h2 { margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.t-help p { margin: 0 0 10px; }
.t-legend { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 760px) {
  .tc-img { height: 150px; }
  .tc-tire { width: 118px; height: 118px; }
  .t-hero-in { padding-top: 36px; padding-bottom: 32px; }
  .t-sub { font-size: 17px; }
}
@media (max-width: 760px) { .t-help-in { padding-top: 40px; padding-bottom: 48px; } }
