@font-face {
  font-family: "SF Pro Display";
  src: url("../fonts/SFProDisplay-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("../fonts/SFProDisplay-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("../fonts/SFProDisplay-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("../fonts/SFProDisplay-Bold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --towbar-red: #ef3124;
  --towbar-dark: #333333;
  --towbar-gray: #f1f1f1;
  --towbar-divider: #b7b7b7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "SF Pro Display", Arial, sans-serif;
  background: #ffffff;
  color: var(--towbar-dark);
}

html,
body,
button,
input,
textarea,
select {
  font-family: "SF Pro Display", Arial, sans-serif;
}

.towbar-page {
  width: 100%;
}

.towbar-hero {
  width: 100%;
  background: #fff;
}

.towbar-hero__container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.main--page {
  padding: 32px 0 56px;
}

.main--page__wrap {
  max-width: 100%;
}

.main--page .page-title {
  margin: 0 0 24px;
  color: var(--towbar-dark);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
}

.main--page .page-content {
  font-size: 18px;
  line-height: 1.6;
}

.main--page .page-content a {
  color: var(--towbar-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.main--page .page-content a:hover,
.main--page .page-content a:focus-visible {
  color: #b9281e;
}

.towbar-hero__header {
  height: 72px;
  border-bottom: 1px solid #d9d9d9;
}

.towbar-hero__header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 8px;
}

.towbar-hero__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.towbar-hero__header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 100px;
  min-width: 0;
}

.towbar-hero__brand-logo {
  width: 53px;
  height: 53px;
  object-fit: contain;
}

.towbar-hero__brand-title {
  font-size: 26px;
  line-height: 25px;
  font-weight: 700;
}

.towbar-hero__meta,
.towbar-hero__phone {
  font-size: 18px;
  line-height: 24px;
  color: var(--towbar-dark);
  text-decoration: none;
}

.towbar-home-headline {
  background: #262626;
  padding: 40px 0;
}

.towbar-home-headline__text {
  margin: 0;
  font-size: 34px;
  line-height: 38px;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
}

.towbar-home-headline__accent {
  color: var(--towbar-red);
}

@media (max-width: 768px) {
  .towbar-home-headline {
    padding: 16px 0;
  }

  .towbar-home-headline__text {
    font-size: 22px;
    line-height: 26px;
    text-align: center;
  }
}

.towbar-hero__tabs-wrap {
  padding-top: 10px;
}

.towbar-hero__tabs {
  max-width: 1030px;
  background: var(--towbar-gray);
  border-radius: 32px;
  height: 41px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 3px;
  margin: 0 auto;
}

.towbar-hero__tab {
  border: 0;
  border-radius: 32px;
  background: var(--towbar-gray);
  color: var(--towbar-dark);
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.towbar-hero__tab--active {
  background: #262626;
  color: #fff;
}

.towbar-hero__content {
  display: grid;
  grid-template-columns: 610px 610px;
  column-gap: 20px;
  padding-top: 32px;
  padding-bottom: 30px;
}

.towbar-hero__title {
  margin: 0;
  font-family: "SF Pro Display", Arial, sans-serif;
  font-size: 34px;
  line-height: 38px;
  font-weight: 800;
}

.towbar-hero__title-accent {
  color: var(--towbar-red);
}

.towbar-hero__list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.towbar-hero__list-item {
  position: relative;
  margin-bottom: 15px;
  padding-left: 34px;
  font-size: 22px;
  line-height: 28px;
}

.towbar-hero__list-item::before {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 26px;
  background: url("../img/towbar-hero__list-bullet.svg") center / contain no-repeat;
}

.towbar-hero__prices {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--towbar-divider);
  display: flex;
  gap: 44px;
  align-items: flex-start;
}

.towbar-hero__price-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.towbar-hero__price--name-service {
  gap: 0;
  align-items: flex-start;
}

.towbar-hero__price--name-service .towbar-hero__price-label {
  color: #7b7b7b;
  line-height: 1.25;
}

.towbar-hero__price {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.towbar-hero__price-label {
  color: #333333;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.towbar-hero__price-value {
  color: var(--towbar-red);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.towbar-hero__cta {
  margin-top: 30px;
  width: 295px;
  height: 45px;
  border: 0;
  border-radius: 32px;
  background: var(--towbar-red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.towbar-hero__cta:hover,
.towbar-hero__cta:focus-visible {
  background: #b9281e;
  color: #fff;
}

.towbar-hero__right {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.towbar-hero__towbar {
  position: relative;
  top: auto;
  left: auto;
  align-self: flex-start;
  width: 555px;
  max-width: 100%;
  height: auto;
  margin-top: 20px;  
  display: block;
}

.towbar-hero__certificate {
  position: absolute;
  top: 105px;
  left: 340px;
  width: 174px;
  height: 240px;
  object-fit: cover;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.towbar-hero__certificate-text {
  position: static;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--towbar-red);
  font-size: 22px;
  line-height: 38px;
  font-weight: 700;
}

@media (min-width: 769px) {
  .towbar-hero__certificate-text--left {
    text-align: left;
  }

  .towbar-hero__certificate-text--right {
    text-align: right;
  }

  .towbar-hero__certificate-text--center {
    text-align: center;
  }
}

.towbar-products {
  background: #333;
  padding: 32px 0 28px;
}

.towbar-products__title {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 38px;
  font-weight: 800;
  color: #fff;
}

.towbar-products__title--mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .towbar-products__title--desktop-only {
    display: none;
  }

  .towbar-products__title--mobile-only {
    display: block;
  }
}

.towbar-products__subtitle {
  display: block;
  width: 100%;
  margin: 24px 0 0;
  padding: 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  color: #fff;
}

.towbar-products__grid {
  display: grid;
  grid-template-columns: repeat(5, 230px);
  gap: 20px 22px;
}

.towbar-products__card {
  background: #fff;
  border-radius: 5px;
  height: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.towbar-products__image {
  width: 100%;
  height: 155px;
  object-fit: cover;
  border-bottom: 1px solid var(--towbar-red);
}

.towbar-products__name {
  margin: 6px 8px 0;
  min-height: 32px;
  font-size: 16px;
  line-height: 16px;
  text-align: center;
  color: var(--towbar-dark);
}

.towbar-products__prices {
  margin-top: 8px;
  padding: 8px 8px 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  align-items: center;
  min-height: 0;
}

.towbar-products__old {
  font-size: 16px;
  line-height: 17px;
  text-decoration: line-through;
  text-decoration-color: #f55555;
  -webkit-text-decoration-color: #f55555;
}

.towbar-products__new {
  font-size: 18px;
  line-height: 1.25;
  color: var(--towbar-red);
  font-weight: 700;
}

.towbar-products__footer {
  margin-top: 10px;
  text-align: center;
  color: #fff;
  font-size: 20px;
  line-height: 38px;
  font-weight: 700;
}

.towbar-gallery {
  padding: 26px 0 24px;
}

.towbar-gallery__title {
  margin: 0 0 14px;
  color: var(--towbar-dark);
  font-size: 24px;
  line-height: 38px;
  font-weight: 800;
}

.towbar-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 20px;
}

.towbar-gallery__link {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 295 / 200;
  line-height: 0;
  text-decoration: none;
  border-radius: 5px;
  overflow: hidden;
}

.towbar-gallery__photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.towbar-gallery__link::after,
.towbar-gallery__watermark-overlay {
  position: absolute;
  inset: 0;
  background: url("../img/watermark.svg") center / min(75%, 201px) auto no-repeat;
  pointer-events: none;
  z-index: 1;
}

.towbar-gallery__link::after {
  content: "";
}

.towbar-gallery-fancybox .fancybox__content {
  position: relative;
}

.towbar-offer {
  background: #333;
  padding: 70px 0 50px;
}

.towbar-offer__layout {
  display: grid;
  grid-template-columns: 1fr 505px;
  gap: 53px;
  align-items: start;
}

.towbar-offer__title {
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 24px;
  line-height: 26px;
  font-weight: 800;
}

.towbar-offer__title span,
.towbar-offer__discount span {
  color: var(--towbar-red);
}

.towbar-offer__photos {
  margin: 25px auto 0;
  width: 651px;
  background: #f1f1f1;
  border-radius: 5px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 295px);
  gap: 20px;
}

.towbar-offer__photos img {
  width: 295px;
  height: 200px;
  border-radius: 5px;
  object-fit: cover;
}

.towbar-offer__discount {
  margin: 28px 0 0;
  text-align: center;
  color: #fff;
  font-size: 24px;
  line-height: 26px;
  font-weight: 800;
}

.towbar-form {
  background: #f1f1f1;
  border-radius: 5px;
  padding: 34px 46px 57px;
}

.towbar-form__title {
  margin: 0 0 20px;
  text-align: center;
  color: var(--towbar-dark);
  font-size: 22px;
  line-height: 26px;
  font-weight: 700;
}

.towbar-form__body {
  min-width: 0;
  background: #fff;
  border-radius: 5px;
  padding: 26px 59px 18px;
}

.towbar-form__label {
  display: block;
  margin-bottom: 8px;
  color: var(--towbar-dark);
  font-size: 18px;
  line-height: 20px;
}

.towbar-form__input {
  width: 100%;
  height: 40px;
  border: 1px solid #b7b7b7;
  border-radius: 5px;
  padding: 0 12px;
  margin-bottom: 20px;
  background: #f1f1f1;
  color: #767676;
  font-size: 16px;
}

.towbar-form__submit {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 5px;
  background: var(--towbar-red);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 20px !important;
}

.towbar-form__consent {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 9px;
  align-items: start;
  color: #555;
  font-size: 12px;
  line-height: 12px;
}

.towbar-form__consent input {
  width: 17px;
  height: 17px;
  margin: 0;
}

.towbar-address {
  padding: 50px 0;
}

.towbar-address__layout {
  display: grid;
  grid-template-columns: minmax(0, 33%) minmax(0, 67%);
  gap: 20px;
  align-items: start;
  min-width: 0;
}

.towbar-address__title {
  margin: 0 0 24px;
  color: var(--towbar-dark);
  font-size: 24px;
  line-height: 38px;
  font-weight: 800;
}

.towbar-address__list {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  /*border-top: 1px solid var(--towbar-red);*/
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.towbar-address__list > li {
  margin: 0;
}

.towbar-address__meta {
  color: #333333;
  font-size: 18px;
  line-height: 24px;
}

a.towbar-address__meta {
  color: #333333;
  text-decoration: none;
}

a.towbar-address__meta:hover,
a.towbar-address__meta:focus-visible {
  text-decoration: underline;
}

.towbar-address__map {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 500px;
  border-radius: 5px;
  object-fit: cover;
  overflow: hidden;
}

.towbar-address__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: 0;
}

.request-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.request-modal--open {
  display: block;
}

.request-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.request-modal__panel {
  position: relative;
  width: 505px;
  margin: 162px auto 0;
  border-radius: 5px;
  background: #f1f1f1;
  padding: 55px 46px 57px;
}

.request-modal__close {
  position: absolute;
  right: 18px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.request-modal__close span {
  position: absolute;
  left: 17px;
  top: 5px;
  width: 2px;
  height: 26px;
  background: #333;
  border-radius: 2px;
}

.request-modal__close span:first-child {
  transform: rotate(45deg);
}

.request-modal__close span:last-child {
  transform: rotate(-45deg);
}

.request-modal__title {
  margin: 0 0 34px;
  text-align: center;
  color: #333;
  font-size: 22px;
  line-height: 26px;
  font-weight: 700;
}

.request-modal__form {
  min-width: 0;
  background: #fff;
  border-radius: 5px;
  padding: 26px 59px 18px;
}

.request-modal__label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-size: 18px;
  line-height: 20px;
}

.request-modal__input {
  width: 100%;
  height: 40px;
  border: 1px solid #b7b7b7;
  border-radius: 5px;
  padding: 0 12px;
  margin-bottom: 20px;
  background: #f1f1f1;
  color: #767676;
  font-size: 16px;
}

.request-modal__submit {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 5px;
  background: #ef3124;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.request-modal__consent {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 9px;
  align-items: start;
  color: #555;
  font-size: 12px;
  line-height: 12px;
}

.request-modal__consent input {
  width: 17px;
  height: 17px;
  margin: 0;
}

/* Contact Form 7: вся вёрстка в шаблоне формы; form.towbar-form — блок оффера; модалка: h3 + div.request-modal__form */
form.towbar-form.wpcf7-form,
.request-modal__panel > form.wpcf7-form {
  margin: 0;
  max-width: 100%;
}

.towbar-form.wpcf7-form .towbar-form__body .wpcf7-form-control-wrap,
.request-modal__panel .request-modal__form .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .towbar-form.wpcf7-form .towbar-form__body .wpcf7-form-control-wrap,
  .request-modal__panel .request-modal__form .wpcf7-form-control-wrap {
    margin-bottom: 10px;
  }
}

.towbar-form.wpcf7-form .towbar-form__body .wpcf7-form-control-wrap .towbar-form__input,
.request-modal__panel .request-modal__form .wpcf7-form-control-wrap .request-modal__input {
  margin-bottom: 0;
}

.towbar-form.wpcf7-form .towbar-form__body .wpcf7-submit,
.request-modal__panel .request-modal__form .wpcf7-submit {
  margin-bottom: 0;
}

/* CF7 оффер: чекбокс + текст с политикой — как в модалке */
.towbar-form .towbar-form__consent {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #555;
  max-width: 100%;
}

.towbar-form .towbar-form__consent .wpcf7-form-control-wrap {
  margin-bottom: 0;
}

.towbar-form .towbar-form__consent .wpcf7-list-item {
  margin: 0;
}

.towbar-form .towbar-form__consent-text {
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.towbar-form .towbar-form__consent a,
.towbar-form .towbar-form__consent-text a {
  color: var(--towbar-red);
  text-decoration: underline;
  text-underline-offset: 1px;
  overflow-wrap: anywhere;
}

.towbar-form .towbar-form__consent a:hover,
.towbar-form .towbar-form__consent a:focus-visible,
.towbar-form .towbar-form__consent-text a:hover,
.towbar-form .towbar-form__consent-text a:focus-visible {
  color: #b9281e;
}

/* CF7: колонка чекбокса + колонка текста (minmax — перенос внутри модалки, без вылезания) */
.request-modal .request-modal__consent {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #555;
  max-width: 100%;
}

.request-modal .request-modal__consent .wpcf7-form-control-wrap {
  margin-bottom: 0;
}

.request-modal .request-modal__consent .wpcf7-list-item {
  margin: 0;
}

.request-modal .request-modal__consent-text {
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.request-modal .request-modal__consent a,
.request-modal .request-modal__consent-text a {
  color: var(--towbar-red);
  text-decoration: underline;
  text-underline-offset: 1px;
  overflow-wrap: anywhere;
}

.request-modal .request-modal__consent a:hover,
.request-modal .request-modal__consent a:focus-visible,
.request-modal .request-modal__consent-text a:hover,
.request-modal .request-modal__consent-text a:focus-visible {
  color: #b9281e;
}

/* Contact Form 7: спиннер отправки скрыт */
.wpcf7-spinner {
  display: none !important;
}

.towbar-form.wpcf7-form .wpcf7-response-output,
.request-modal__panel .wpcf7-form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.35;
}

.towbar-form.wpcf7-form .wpcf7-not-valid-tip,
.request-modal__panel .wpcf7-form .wpcf7-not-valid-tip {
  font-size: 12px;
  margin-top: 4px;
}

@media (max-width: 1200px) {
  .towbar-hero__header-inner {
    column-gap: 16px;
  }

  .towbar-hero__content {
    grid-template-columns: 1fr 1fr;
  }

  .towbar-products__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .towbar-offer__layout {
    grid-template-columns: 1fr 460px;
  }

  .towbar-offer__photos {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .towbar-offer__photos img {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .towbar-hero__header {
    height: auto;
    min-height: 72px;
    padding: 12px 0;
  }

  .towbar-hero__header-inner {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 12px;
    align-items: start;
  }

  .towbar-hero__brand {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .towbar-hero__header-meta {
    display: grid;
    grid-template-columns: minmax(0, 60%) minmax(0, 40%);
    gap: 8px 16px;
    width: 100%;
  }

  /* Порядок на мобильных: адрес слева, телефон справа, время ниже */
  .towbar-hero__meta--address {
    order: 1;
    grid-column: 1;
    justify-self: start;
  }

  .towbar-hero__phone {
    order: 2;
    grid-column: 2;
    justify-self: end;
    text-align: right;
  }

  .towbar-hero__meta--time {
    order: 3;
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .towbar-hero__meta,
  .towbar-hero__phone {
    width: auto;
    max-width: none;
    font-size: 16px;
  }

  .towbar-hero__content {
    grid-template-columns: 1fr;
  }

  .towbar-hero__right {
    min-height: 0;
  }

  .towbar-hero__towbar {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
    width: min(555px, 100%);
  }

  .towbar-products__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .towbar-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .towbar-offer__layout,
  .towbar-address__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .towbar-address {
    padding: 50px 0 0;
  }

  .towbar-form {
    max-width: 505px;
  }

  .towbar-address__map {
    width: 100%;
  }

  .request-modal__panel {
    width: min(505px, calc(100% - 40px));
    margin-top: 100px;
  }
}

@media (max-width: 600px) {
  .towbar-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 6px;
  }
}

@media (max-width: 768px) {
  .towbar-hero {
    min-width: 0;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 60px;
  }

  .towbar-hero__content {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 24px;
    padding-bottom: 20px;
  }

  .towbar-hero__left {
    display: contents;
  }

  .towbar-hero__title {
    order: 1;
    font-size: 22px;
    line-height: 24px;
    width: 100%;
  }

  .towbar-hero__right {
    order: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    margin-top: 12px;
  }

  .towbar-hero__towbar {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    align-self: stretch;
    margin: 0;
    width: 100%;
    height: auto;
    display: block;
  }

  .towbar-hero__certificate {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 174px;
    height: auto;
    margin: 12px auto 0;
  }

  .towbar-hero__certificate-text {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
    line-height: 16px;
  }

  .towbar-hero__list {
    order: 3;
    margin-top: 10px;
    width: 100%;
  }

  .towbar-hero__list-item {
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 16px;
    padding-left: 26px;
  }

  .towbar-hero__list-item::before {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 18px;
    background: url("../img/towbar-hero__list-bullet.svg") center / contain no-repeat;
  }

  .towbar-hero__prices {
    order: 4;
    margin-top: 10px;
    padding-top: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
    width: 100%;
  }

  .towbar-hero__price-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    grid-column: 1 / -1;
  }

  .towbar-hero__price-label {
    font-size: 16px;
    line-height: 16px;
  }

  .towbar-hero__price-value {
    font-size: 18px;
    line-height: 18px;
  }

  .towbar-hero__cta {
    order: 5;
    margin-top: 14px;
    width: 64.375%;
    height: 40px;
    font-size: 14px;
  }

  .towbar-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 6px;
  }

  /* Одна линия: у шапки уже border-bottom, не дублируем с tabs-wrap */
  .towbar-hero__header:has(+ .towbar-hero__tabs-wrap) {
    border-bottom: 0;
  }

  .towbar-hero__tabs-wrap {
    padding-top: 0;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    background: #f1f1f1;
  }

  .towbar-hero__tabs-wrap .towbar-hero__container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .towbar-hero__tabs {
    width: 100%;
    max-width: none;
    height: 30px;
    border-radius: 0;
    background: #f1f1f1;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .towbar-hero__tab {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    font-size: 14px;
    line-height: 13px;
    border-radius: 0;
    padding: 0;
    text-align: center;
  }

  .towbar-hero__tab--active {
    border-radius: 5px;
  }

  .towbar-hero__tab:first-child,
  .towbar-hero__tab--active:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  .towbar-hero__tab:last-child,
  .towbar-hero__tab--active:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .towbar-form {
    background: #f1f1f1;
    border-radius: 5px;
    padding: 25px 20px 35px;
  }

  .towbar-form__title {
    margin: 0 0 25px;
    text-align: center;
    color: var(--towbar-dark);
    font-size: 22px;
    line-height: 26px;
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  .towbar-page {
    min-width: 0;
    width: 100%;
  }

  .towbar-hero {
    min-width: 0;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 60px;
  }

  .towbar-hero__container {
    width: 100%;
    padding: 0 20px;
  }

  .towbar-hero__header {
    padding: 10px 0;
  }

  .towbar-hero__header-inner {
    row-gap: 10px;
  }

  .towbar-hero__brand {
    justify-content: center;
    gap: 8px;
  }

  .towbar-hero__brand-logo {
    width: 36px;
    height: 36px;
  }

  .towbar-hero__brand-title {
    font-size: 18px;
    line-height: 18px;
  }

  .towbar-hero__header-meta {
    gap: 6px 12px;
  }

  .towbar-hero__meta,
  .towbar-hero__phone {
    font-size: 14px;
    line-height: 20px;
  }

  .towbar-products {
    padding: 20px 0 35px;
  }

  .towbar-products__title {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 20px;
    width: 68.75%;
  }

  .towbar-products__subtitle {
    margin-top: 35px;
    font-size: 16px;
  }

  .towbar-products__card {
    height: auto;
    width: 100%;
  }

  .towbar-products__image {
    height: 122px;
  }

  .towbar-products__name {
    font-size: 14px;
    line-height: 14px;
    min-height: 28px;
    margin: 4px 5px 0;
  }

  .towbar-products__old {
    font-size: 13px;
    line-height: 13px;
  }

  .towbar-products__new {
    font-size: 14px;
    line-height: 1.25;
  }

  .towbar-products__footer {
    margin-top: 8px;
    font-size: 16px;
    line-height: 16px;
  }

  .towbar-gallery {
    padding: 35px 0 35px;
  }

  .towbar-gallery__title {
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 10px;
  }

  .towbar-offer {
    padding: 35px 0 35px;
  }

  .towbar-offer__layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .towbar-offer__title {
    font-size: 18px;
    line-height: 20px;
  }

  .towbar-offer__photos {
    width: 100%;
    padding: 10px;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
  }

  .towbar-offer__photos img {
    width: 100%;
    height: auto;
    max-height: 170px;
  }

  .towbar-offer__discount {
    font-size: 16px;
    line-height: 18px;
    margin-top: 12px;
  }

  .towbar-form__body {
    padding: 18px;
  }

  .towbar-form.wpcf7-form .towbar-form__body {
    padding: 18px;
  }

  .towbar-form__label {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .towbar-form__input {
    height: 36px;
    margin-bottom: 14px;
    font-size: 14px;
  }

  .towbar-form__submit {
    margin-top: 10px;
    height: 35px;
    font-size: 16px;
    margin-bottom: 10px !important;
  }

  .towbar-address {
    padding: 35px 0 0;
  }

  .towbar-address__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .towbar-address__title {
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 10px;
  }

  .towbar-address__meta {
    font-size: 16px;
    line-height: 24px;
  }

  .towbar-address__list {
    gap: 8px;
  }

  .towbar-address__map {
    width: 100%;
    max-width: 100%;
    height: 280px;
    margin: 0;
    border-radius: 5px;
  }

  .request-modal__panel {
    width: calc(100% - 40px);
    margin-top: 92px;
    padding: 44px 18px 18px;
  }

  .request-modal__close {
    right: 8px;
    top: 8px;
  }

  .request-modal__title {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .request-modal__form {
    padding: 18px;
  }

  .request-modal__label {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .request-modal__input {
    height: 36px;
    margin-bottom: 14px;
    font-size: 14px;
  }

  .request-modal__submit {
    height: 35px;
    font-size: 16px;
  }
}


/* --- page2 styles --- */

:root {
  --acc-bg: #262626;
  --acc-white: #ffffff;
  --acc-text: #333333;
  --acc-red: #ef3124;
  --acc-red-dark: #b9281e;
}

.accessories-page {
  width: 100%;
  background: var(--acc-bg);
  color: var(--acc-white);
}

.accessories-page__container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.accessories-page__header {
  height: 72px;
  background: #fff;
  border-bottom: 1px solid #d9d9d9;
}

.accessories-page__header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 460px 300px 250px 1fr;
  align-items: center;
}

.accessories-page__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.accessories-page__brand-logo {
  width: 53px;
  height: 53px;
  object-fit: contain;
}

.accessories-page__brand-title {
  color: var(--acc-text);
  font-size: 42px;
  line-height: 1;
  font-weight: 600;
  transform: scaleX(0.62);
  transform-origin: left center;
}

.accessories-page__meta,
.accessories-page__phone {
  color: var(--acc-text);
  font-size: 18px;
  line-height: 24px;
  text-decoration: none;
}

.accessories-page__catalog {
  background: #262626;
  position: relative;
  padding-top: 0;
  padding-bottom: 50px;
}

.accessories-page__title {
  margin: 0 0 18px;
  text-align: center;
  font-size: 50px;
  line-height: 38px;
  font-weight: 800;
  transform: scaleX(0.64);
  transform-origin: center center;
  white-space: nowrap;
}

.accessories-page__title span {
  color: var(--acc-red);
}

.accessories-page__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.accessories-page__card {
  display: grid;
  grid-template-columns: 295px 1fr;
  height: 174px;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}

.accessories-page__card-image {
  width: 295px;
  height: 174px;
  object-fit: cover;
}

.accessories-page__card-content {
  padding: 17px 32px 22px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.accessories-page__card-title {
  margin: 0;
  color: #333333;
  font-size: 20px;
  font-weight: 800;
}

.accessories-page__card-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 32px;
  background: var(--acc-red);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.accessories-page__card-btn:hover,
.accessories-page__card-btn:focus-visible {
  text-decoration: none;
  color: #fff;
  background: #b9281e;
}

.accessories-page__card-btn--dark {
  background: var(--acc-red-dark);
}

.accessories-page__card-btn--dark:hover,
.accessories-page__card-btn--dark:focus-visible {
  background: #b9281e;
}

.accessories-page__floating {
  position: absolute;
  right: 78px;
  top: 375px;
  display: grid;
  gap: 13px;
}

.accessories-page__fab {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.accessories-page__fab img {
  width: 43px;
  height: 43px;
  object-fit: cover;
}

.accessories-map {
  background: var(--acc-bg);
  padding: 80px 0 50px;
}

.accessories-map__layout {
  display: grid;
  grid-template-columns: 400px 820px;
  gap: 20px;
  align-items: start;
}

.accessories-map__title {
  margin: 0 0 34px;
  color: #fff;
  font-size: 24px;
  line-height: 38px;
  font-weight: 800;
}

.accessories-map__info p {
  margin: 0 0 21px;
  color: #fff;
  font-size: 18px;
  line-height: 24px;
}

.accessories-map__image {
  width: 820px;
  height: 500px;
  border-radius: 5px;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .accessories-page__header-inner {
    grid-template-columns: 360px 1fr 1fr auto;
    column-gap: 16px;
  }

  .accessories-page__title {
    transform: none;
    font-size: 42px;
    white-space: normal;
    line-height: 46px;
  }

  .accessories-page__card {
    grid-template-columns: minmax(220px, 45%) 1fr;
  }

  .accessories-page__card-image {
    width: 100%;
  }

  .accessories-map__image {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .accessories-page__header-inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: repeat(3, auto);
    row-gap: 6px;
  }

  .accessories-page__brand {
    grid-column: 1 / -1;
  }

  .accessories-page__phone {
    grid-row: 2 / 4;
    align-self: center;
  }

  .accessories-page__title {
    font-size: 32px;
    line-height: 36px;
  }

  .accessories-page__cards {
    grid-template-columns: 1fr;
  }

  .accessories-page__card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    grid-template-columns: none;
  }

  .accessories-page__card-image {
    width: 100%;
    height: auto;
    min-height: 140px;
    max-height: 220px;
    aspect-ratio: 295 / 174;
    object-fit: cover;
    flex-shrink: 0;
    order: 0;
  }

  .accessories-page__card-content {
    order: 1;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 16px 18px;
  }

  .accessories-page__card-title {
    flex: 0 0 auto;
    align-self: center;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 20px;
    text-align: left;
  }

  .accessories-page__card-btn {
    flex: 0 0 auto;
    align-self: center;
    width: min(100%, 206px);
    max-width: 206px;
  }

  .accessories-page__floating {
    right: 20px;
    top: auto;
    bottom: 20px;
  }

  .accessories-map__layout {
    grid-template-columns: 1fr;
  }
}

/* Плавающие иконки: телефон, Max, WhatsApp, Telegram — пульсация кольца и масштаб в одной фазе */
@keyframes floating-social-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 49, 36, 0.65);
  }
  50% {
    transform: scale(1.22);
    box-shadow: 0 0 0 24px rgba(239, 49, 36, 0);
  }
}

.floating-social {
  position: fixed;
  right: 16px;
  bottom: 24px;
  top: auto;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
}

.floating-social__link {
  display: block;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  overflow: hidden;
  line-height: 0;
  flex-shrink: 0;
  animation: floating-social-pulse 3s ease-in-out infinite;
}

.floating-social__link img {
  width: 43px;
  height: 43px;
  display: block;
  object-fit: cover;
  vertical-align: top;
}

@media (prefers-reduced-motion: reduce) {
  .floating-social__link {
    animation: none;
  }
}

