:root {
  --linkColor: #327fe5;
  --linkUnderlineColor: rgba(0, 96, 160, 0.15);
  --linkHoverColor: #ff1515;
  --linkHoverUnderlineColor: rgba(176, 48, 0, 0.15);
  --accentColor: #00AFEF;
  /* --linkColorVisited: #b4d1f6; */
  /* --linkUnderlineColorVisited: rgba(112, 160, 176, 0.15); */
  max-width: 100%;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}

.product-card__label-promotion.service {
  border-radius: 3px;
  padding: 5px 10px;
  color: white;
  font-weight: bold;
  background-color: #0095ff;
}

body {
  margin: 0;
  padding: 0;
  font-family: Helvetica, Arial, sans-serif;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Шапка */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: baseline;
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  color: #000;
  background-color: #fff;
}

.header__top {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  padding: 10px 20px 10px 40px;
  transition: 0.2s ease height, 0.2s ease padding;
}

.header__logo {
  max-width: 200px;
  height: auto;
  margin-right: 20px;
}

.header__address-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 16px;
}

.header__menu {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  padding: 0px 20px 0px 40px;
  color: #fff;
  background-color: #555555;
}

.header__sections {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header__section {
  display: flex;
  align-items: center;
}

.header__section a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 10px;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: 0.2s ease background-color;
}

.header__section a:hover {
  background-color: #909090;
}

.header__button-container {
  display: flex;
  align-items: stretch;
}

.header__button {
  position: relative;
  box-sizing: content-box;
  width: 50px;
  height: 50px;
  border: none;
  padding: 5px;
  background-color: unset;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70px 70px;
  filter: invert(1);
  transition: 0.2s ease background-color;
  cursor: pointer;
}

.header__button:hover {
  background-color: #909090;
}

.header__button.search {
  background-image: url("/static/image/icons/magnifier.svg");
}

.header__button.login {
  background-image: url("/static/image/icons/face.svg");
}

.header__button.cart {
  background-image: url("/static/image/icons/cart.svg");
}

.header__button.burger {
  display: none;
  background-image: url("/static/image/icons/burger.png");
  background-size: 45px 45px;
}

.cart-amount {
  position: absolute;
  right: 1px;
  bottom: 1px;
  display: none;
  height: 1rem;
  border-radius: 20px;
  padding: 4px;
  color: #fff;
  font-size: 16px;
  background-color: var(--accentColor);
  filter: invert(1);
}

.search-bar {
  position: absolute;
  bottom: 1px;
  left: 0;
  z-index: 4;
  box-sizing: border-box;
  width: 100%;
  padding: 50px 16%;
  opacity: 0;
  background: #555555;
  transition: 0.2s ease opacity;
  transform: translateY(100%);
  pointer-events: none;
}

.search-bar__input {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid #ffffff73;
  padding: 0 0 5px 0;
  outline: 0;
  color: #fff;
  font-size: 2rem;
  text-align: center;
  text-transform: lowercase;
  background: #555555;
}

.search-bar__input:focus {
  border-bottom: 1px solid #fff;
}

/* Выключаем крестик */
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

/* Мобильное меню */

.mobile-menu {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8;
  box-sizing: border-box;
  width: 100%;
  height: 100vh;
  padding: 10px;
  opacity: 0;
  background-color: #555555;
  transition: 0.2s ease opacity;
  pointer-events: none;
}

.mobile-menu__close {
  width: 40px;
  height: 40px;
  border: none;
  padding: 4px;
  background-color: unset;
  background-image: url('/static/image/icons/close.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px 32px;
  filter: invert(1);
  cursor: pointer;
}

.mobile-menu__sections {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
  margin-top: 20px;
}

.mobile-menu__section {
  font-size: 22px;
}

.mobile-menu__section a {
  color: #fff;
  text-decoration: none;
}


/* Заглавный баннер */

.main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.entrance {
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 40vh; /* вместо 80vh */
  padding-top: 20px;
  background-image: url('/static/image/entrance.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center; /* Чтобы картинка центрировалась */
}

.entrance__buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.entrance__button {
  box-sizing: border-box;
  width: 100%;
  max-width: 300px;
  height: 300px;
  line-height: 50px;
  text-transform: uppercase;
  backdrop-filter: blur(15px);
}

.entrance__button a {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 10px;
  color: #fff;
  font-size: 35px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.entrance__button a:hover {
  color: var(--accentColor);
}

.entrance__button a:hover .enrance__button-arrow {
  opacity: 1;
}

.entrance__button:nth-child(1) {
  background: url('/static/image/entrance-one-tire.png') no-repeat 100px 110px/100%;
}

.entrance__button:nth-child(2) {
  background: url('/static/image/entrance-two-tire.png') no-repeat 100px 110px/100%;
}

.entrance__button:nth-child(3) {
  background: url('/static/image/brands.png') no-repeat 129px 137px/110%;
}

.entrance__button-title {
  font-size: clamp(20px, 3vw, 40px);
  line-height: clamp(25px, 3.5vw, 45px);
}

.enrance__button-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: end;
  width: 50px;
  height: 50px;
  border: none;
  opacity: 0.7;
  background-color: #00AFEF;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.arrow {
  display: inline-block;
  margin-right: 5px;
  border: solid white;
  border-width: 0 4px 4px 0;
  padding: 6px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

/* Карточки продуктов */

.product-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 70px 50px;
  box-sizing: border-box;
  width: 100%;
  margin-top: 50px;
  padding: 20px 20px 60px 20px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 40%;
  align-items: stretch;
  min-width: 190px;
  max-width: 240px;
  height: auto;
}

.product-card:hover .product-card__cart-container {
  display: flex;
}

.product-card__image-container {
  position: relative;
  margin-bottom: 16px;
  padding-bottom: 100%;
  background-color: #f5f7fa;
}

.product-card__image {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 100%;
  max-height: 100%;
  transform: translate(-50%, -50%);
}

/* Акции в карточке */

.product-card__label-promotion-container {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card__label-promotion:first-child {
  border-radius: 5px 5px 0 0;
}

.product-card__label-promotion:last-child {
  border-radius: 0 0 5px 5px;
}

.product-card__label-promotion:only-child {
  border-radius: 5px 5px 5px 5px;
}

.product-card__label-promotion {
  padding: 2px 4px;
  color: #fff;
  font-size: 16px;
}

.product-card__label-promotion.discount {
  background-color: #e46346;
}

.product-card__label-promotion.mounting {
  background-color: #4dba47;
}

/* Тип шины, звезды и под заказ */

.product-card__label-description-container {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 5px;
  width: 100%;
}

.product-card__label-type-container {
  z-index: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card__label-type {
  width: 25px;
  height: 25px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25px 25px;
}

.product-card__label-type.summer {
  background-image: url("/static/image/icons/summer-icon.svg");
}

.product-card__label-type.winter {
  background-image: url("/static/image/icons/winter-icon.svg");
}

.product-card__label-type.studded {
  background-image: url("/static/image/icons/studded-icon.svg");
}

.product-card__label-stars-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 5px;
  width: 100%;
}

.product-card__rating-stars {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card__rating-star {
  width: 16px;
  height: 16px;
  background-image: url("/static/image/icons/star-grey.svg");
}

.product-card__rating-star.empty {
  background-image: url("/static/image/icons/star-empty.svg");
}

.product-card__rating-star.yellow {
  background-image: url("/static/image/icons/star-yellow.svg");
}

.product-card__label-order {
  border-radius: 5px;
  padding: 0px 4px;
  color: #000;
  font-size: 16px;
  background-color: rgb(223, 223, 223);
}

/* Фирма, название, цена, количество на складе */

.product-card__link {
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-card__link:hover {
  color: var(--accentColor);
}

.product-card__brand {
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 18px;
}

.product-card__name {
  display: -webkit-box;
  margin-bottom: 4px;
  overflow: hidden;
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: .1px;
  text-decoration: none;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card__price-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 4px;
}

.product-card__price-actual {
  color: #000;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .4px;
}

.product-card__price-actual::after {
  content: ' ₽';
  color: #000;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .4px;
}

.product-card__price-previous {
  color: #868695;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .4px;
}

.product-card__price-previous::after {
  content: ' ₽';
  color: #868695;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .4px;
}

.product-card__rest {
  margin-bottom: 5px;
  color: #4fb947;
  font-size: 14px;
}

.product-card__rest.delivery {
  color: #868695;
}


/* Кнопки заказа */
.product-card__cart-container {
  position: absolute;
  bottom: 0;
  z-index: 2;
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 5px;
  width: 100%;
  background-color: #fff;
  transform: translateY(100%);
}

.procuct-card__cart-more-less-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.procuct-card__cart-button {
  min-width: 25px;
  height: 100%;
  border: none;
  color: #fff;
  font-size: 22px;
  background-color: var(--accentColor);
  cursor: pointer;
}

.procuct-card__cart-button:hover {
  background-color: var(--linkColor);
}

.procuct-card__cart-button:first-child {
  border-radius: 10px 0 0 10px;
}

.procuct-card__cart-amount {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 36px;
  height: 100%;
  color: #fff;
  font-size: 22px;
  line-height: 20px;
  text-align: center;
  background-color: var(--accentColor);
  white-space: nowrap;
}

.procuct-card__cart-order-button {
  box-sizing: border-box;
  width: 100%;
  border: none;
  border-radius: 0 10px 10px 0;
  color: #fff;
  font-size: 18px;
  background-color: var(--accentColor);
  cursor: pointer;
}

.procuct-card__cart-order-button-icon {
  width: 40px;
  max-width: 100%;
  height: 40px;
  filter: invert(1);
}

.procuct-card__cart-order-button:hover {
  background-color: var(--linkColor);
}

/* Блок "Наш сервис" */

.about {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 20px;
  box-sizing: border-box;
  width: 100%;
  min-height: 40vh;
  padding: 30px;
  background-image: url('/static/image/about.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.about__title {
  color: #fff;
  font-size: 35px;
  text-transform: uppercase;
}

.about__content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about__content-item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex: 0 0 48%;
  gap: 30px;
  box-sizing: border-box;
  padding: 10px;
  backdrop-filter: blur(15px);
}

.about__content-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  min-width: 150px;
  height: 150px;
  color: #fff;
  font-size: 30px;
  background-color: #00AFEF;
}

.about__content-title {
  margin: 0 0 1rem 0;
  color: #fff;
  font-size: 22px;
  text-decoration: underline;
}

.about__content-text {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.footer {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin: 48px 0 0;
  margin-right: auto;
  margin-left: auto;
  padding: 0 20px 24px 20px;
  font-size: 20px;
}

.footer__logo {
  width: 100%;
  max-width: 300px;
}

.opened {
  color: rgb(77, 217, 77);
}

.closed {
  color: #f43b3b;
}

/* Страница деталей шины */

.product-page {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 40px;
  width: 100%;
  margin: 50px 0;
}

.product-page__params {
  width: 50%;
  max-width: 520px;
}

.product-page__params-name {
  max-width: 70ch;
  margin: 0 0 25px 40px;
  font-weight: 700;
  font-size: 25px;
  line-height: 30px;
}

.product-page__params__label-type-container {
  position: absolute;
  top: 0;
  left: 40px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-page__params__label-type {
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px 30px;
}

.product-page__params__label-type.summer {
  background-image: url("/static/image/icons/summer-icon.svg");
}

.product-page__params__label-type.winter {
  background-image: url("/static/image/icons/winter-icon.svg");
}

.product-page__params__label-type.studded {
  background-image: url("/static/image/icons/studded-icon.svg");
}

.product-page__params__image-wrapper {
  position: relative;
  max-width: 500px;
}

.product-page__image {
  max-width: 100%;
  height: auto;
}

.product-page__params-rating {
  color: #000;
  text-decoration: dashed;
  transition: 0.2s ease color;
}

.product-page__params-rating:hover {
  color: var(--accentColor);
}

.product-page__params-stars {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0px;
  margin: 0 0 0 40px;
  padding: 0;
  list-style: none;
}

.product-page__params-star {
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
}

.product-page__params-star.empty {
  background-image: url("/static/image/icons/star-empty.svg");
}

.product-page__params-star.yellow {
  background-image: url("/static/image/icons/star-yellow.svg");
}

.product-page__params-rating-amount {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin-left: 5px;
}

.product-page__params-rating-amount img {
  width: 35px;
  height: 35px;
}

.product-page__params-table {
  box-sizing: border-box;
  max-width: 100%;
  margin-bottom: 20px;
  margin-left: 40px;
  font-size: 16px;
  line-height: 20px;
  border-collapse: collapse;
  border-spacing: 0;
}

.product-page__params-table th {
  width: 50%;
  padding: 4px 0;
  vertical-align: top;
  color: rgb(152 152 152);
  font-weight: 400;
  text-align: left;
}

.product-page__params-table td {
  width: 50%;
  padding: 4px 0 4px 12px;
  vertical-align: bottom;
  color: #000;
  font-size: 16px;
  text-align: left;
}

.product-page__params-cell-decor {
  position: relative;
  display: inline-block;
  width: 100%;
  vertical-align: bottom;
}

.product-page__params-cell-decor:after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  display: block;
  width: 100%;
  height: 20px;
  background-image: linear-gradient(90deg, #d3d4dd 50%, rgba(255, 255, 255, 0) 0%);
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: 2px 1px;
}

.product-page__params-cell-decor span {
  position: relative;
  z-index: 1;
  padding-right: 12px;
  background-color: #fff;
}

.product-page__details {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  width: 50%;
  min-width: 300px;
}

.product-page__details-price-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 5px;
}

.product-page__details-price-actual {
  color: #000;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: .4px;
}

.product-page__details-price-previous {
  color: #868695;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .4px;
}

.product-page__details-stock {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 16px;
}

.product-page__details-stock-amount {
  color: #4fb947;
}

.product-page__details-cart-container {
  z-index: 2;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 5px;
  width: 100%;
  margin-bottom: 20px;
  background-color: #fff;
}

.product-page__details-cart-more-less-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.product-page__details-cart-button {
  min-width: 50px;
  height: 100%;
  border: none;
  color: #fff;
  font-size: 22px;
  background-color: var(--accentColor);
  cursor: pointer;
}

.product-page__details-cart-button:hover {
  background-color: var(--linkColor);
}

.product-page__details-cart-button:first-child {
  border-radius: 10px 0 0 10px;
}

.product-page__details-cart-amount {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 36px;
  height: 100%;
  color: #fff;
  font-size: 22px;
  line-height: 20px;
  text-align: center;
  background-color: var(--accentColor);
  white-space: nowrap;
}

.product-page__details-cart-order-button {
  box-sizing: border-box;
  width: 100%;
  max-width: 180px;
  border: none;
  border-radius: 0 10px 10px 0;
  color: #fff;
  font-size: 18px;
  background-color: var(--accentColor);
  cursor: pointer;
}

.product-page__details-cart-order-button-icon {
  width: 40px;
  max-width: 100%;
  height: 40px;
  filter: invert(1);
}

.product-page__details-cart-order-button:hover {
  background-color: var(--linkColor);
}

.product-page__details__features {
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0 0 40px 0;
  padding: 0;
  font-size: 18px;
}

.details__features-item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  height: 3.5rem;
}

.details__features-item::before {
  content: '•';
  display: inline-block;
  margin-right: 0.25rem;
  font-size: 18px;
}

.details__features-item-icon {
  display: inline-block;
  height: 1.5rem;
  margin-left: 5px;
}

.product-page__details-company-logo {
  max-width: 500px;
  height: auto;
}

.product-page__details-description {
  max-width: 500px;
  margin: 40px 0 0 0;
  font-size: 18px;
}

/* Фильтр */

.filter {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 52px;
  padding: 32px;
}

.filter.disks,
.filter.fastener {
  gap: 0;
}

.filter.disks .filter__body,
.filter.fastener .filter__body {
  width: 100%;
}

.fastener {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 35px;
}

.fastener .filter__options {
  padding: 0;
}

.fastener__type {
  font-size: 18px;
}

.fastener__type-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.filter__switcher {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 7px;
}

.filter__switcher-button {
  border: unset;
  padding: 7px 10px;
  color: #000;
  font-size: 22px;
  background-color: #e1e1e1;
  transition: 0.2s ease background-color, 0.2s ease color;
  cursor: pointer;
}

.filter__switcher-button.active {
  color: #fff;
  background-color: var(--accentColor);
}

.filter__switcher-button:not(.active):hover {
  color: #252525;
  background-color: #90d5ee;
}

.filter__switcher-button img {
  max-width: 50px;
}

.filter__options {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 15px;
  box-sizing: border-box;
  border-radius: 0 0 7px 7px;
  padding: 32px 0 0 0;
  /* border: 1px solid #000; */
  font-size: 18px;
}

.by_params,
.by_uneven,
.by_car,
.by_disks,
.by_disks_car {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 25px 20px;
}

.filter__options-type {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.filter__options-type-label-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.filter__options-type-label {
  width: 35px;
  height: 35px;
  border: 2px solid transparent;
  padding: 5px;


  background-repeat: no-repeat;
  background-position: center;
  background-size: 35px 35px;
  transition: 0.2s ease background-color;
  cursor: pointer;
}

.filter__options-type-label.summer {
  background-image: url("/static/image/icons/summer-icon.svg");
}

.filter__options-type-label.studded {
  background-image: url("/static/image/icons/winter-stubbed-icon.svg");
}

.filter__options-type-label.nonstudded {
  background-image: url("/static/image/icons/winter-nonstubbed-icon.svg");
}

.filter__options-type-label.active {
  border: 2px solid var(--accentColor);
}

.filter__options-type-label:hover {
  background-color: #f0f0f0;
}

.filter__options-remove {
  margin-left: 20px;
  border: none;
  border-bottom: 1px dotted #b6b6b6;
  color: #b6b6b6;
  font-size: 18px;
  background-color: unset;
  transition: 0.2s ease opacity;
  cursor: pointer;
}

.filter__options-remove:hover {
  opacity: 0.8;
}

.filter__options-param-container {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 25px 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.filter__options-param-container.mixed .filter__options-param {
  width: 48%;
}

.filter__options-param-container.active {
  display: flex;
}

.filter__options-param {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 5px;
  width: 25%;
}

.filter__options-param label {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.filter__options-param-label-icon {
  display: inline-block;
  height: 1rem;
  margin-left: 5px;
}

.filter__options-param-select {
  padding: 10px;
  font-size: 20px;
}

.filter__options-param-select:has(option:checked[value=""]) {
  color: rgb(156, 156, 156);
}

.filter__options-param-select option {
  color: #000;
}

.filter__options-param-select option:first-child {
  color: rgb(156, 156, 156);
}

.filter__options-param-price {
  display: flex;
  flex-direction: column;
}

.filter__options-param-stock {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 5px;
}

.filter__options-param-stock-input {
  width: 18px;
  height: 18px;
}

range-slider {
  --thumb-width: 16px;
  --thumb-height: var(--thumb-width);
  --thumb-mobile-scale: 1.4;
  --thumb-mobile-width: calc(var(--thumb-width) * var(--thumb-mobile-scale));
  --thumb-mobile-height: calc(var(--thumb-height) * var(--thumb-mobile-scale));
  --thumb-border: 1px solid #fff;
  --thumb-border-radius: 999px;
  --thumb-bg: 10 89 254;
  --thumb-mobile-scale: 1.4;
  --track-height: 4px;
  --track-border-radius: var(--thumb-border-radius);
  --track-bg: 234 234 234;
  --value-font-size: inherit;
  --value-color: 40 40 40;
  --value-bg: 255 255 255;
  --value-border-radius: 3px;

  position: relative;
  display: inline-block;
}

range-slider input {
  width: 100%;
  margin: 0;
  -webkit-appearance: none;
}

range-slider input:focus {
  outline: 0;
}

range-slider::before,
range-slider input::-webkit-slider-runnable-track {
  height: var(--track-height);
  border-radius: var(--track-border-radius);
  background: rgb(var(--track-bg));
}

range-slider input::-webkit-slider-thumb {
  width: var(--thumb-width);
  height: var(--thumb-height);
  margin-top: calc(var(--track-height) / 2 - var(--thumb-height) / 2);
  border: var(--thumb-border);
  border-radius: var(--thumb-border-radius);
  background: rgba(var(--thumb-bg) / .9);
  transition: box-shadow 200ms ease-out;
  cursor: pointer;
  -webkit-appearance: none;
}

@media (pointer:coarse) {
  range-slider input::-webkit-slider-thumb {
    --thumb-height: var(--thumb-mobile-height);
    --thumb-width: var(--thumb-mobile-width);
  }
}

range-slider input:focus::-webkit-slider-thumb,
range-slider input:active::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(var(--thumb-bg) / .2);
}

range-slider input::-moz-range-thumb {
  width: var(--thumb-width);
  height: var(--thumb-height);
  margin-top: calc(var(--track-height) / 2 - var(--thumb-height) / 2);
  border: var(--thumb-border);
  border-radius: var(--thumb-border-radius);
  background: rgba(var(--thumb-bg) / .9);
  transition: box-shadow 200ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  -webkit-appearance: none;
}

range-slider input:focus::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(var(--thumb-bg) / .2);
}

range-slider .filler {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

range-slider .range {
  position: absolute;
  top: 50%;
  left: 0;
  height: 0 !important;
  overflow: visible;
}

range-slider .range::-webkit-slider-thumb {
  position: relative;
  z-index: 2;
}

range-slider .range:first-child::-webkit-slider-thumb {
  z-index: 3;
}

range-slider output {
  position: absolute;
  z-index: 4;
  display: block;
  min-width: 1.5em;
  margin-bottom: .3em;
  border-radius: var(--value-border-radius);
  padding: 0.1em 0.3em;
  color: rgb(var(--value-color));
  font-size: var(--value-font-size);
  text-align: center;
  background: rgb(var(--value-bg));
}

range-slider output:first-child {
  left: 0;
}

range-slider output::after {
  content: ' ₽';
  display: inline;
}

range-slider output:last-child {
  right: 0;
}

.filter__apply-button {
  box-sizing: border-box;
  max-width: 300px;
  margin-top: 10px;
  border: none;
  border-radius: 10px;
  padding: 12px 25px;
  color: #fff;
  font-size: 18px;
  background-color: #00AFEF;
  cursor: pointer;
}


.suggestion {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: flex-start;
  align-content: center;
  gap: 15px 10px;
  max-width: 60ch;
  border-radius: 7px;
  padding: 15px 20px;
  background-color: #d8d8d8;
}

.suggestion a {
  flex: 0 0 20%;
  box-sizing: border-box;
  width: fit-content;
  font-size: 20px;
}

/* Вьюшка для поиска */
.search-view {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
}

.search-view__item-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  height: 50px;
  color: #000;
  text-decoration: none;
}

.search-view__item img {
  width: auto;
  min-width: 50px;
  max-height: 50px;
  margin-right: 10px;
}

.search-view__item-name {
  border-right: 1px solid #000;
  padding-right: 10px;
  overflow: hidden;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-view__item-price {
  flex-shrink: 0;
  color: #4dba47;
  font-size: 18px;
}

/* Адаптивность на телефоны */
@media screen and (max-width: 770px) {
  .header__top {
    flex-direction: column;
    padding: 10px;
  }

  .header__address-container {
    flex-direction: column;
    align-items: center;
  }

  .header__address-separator {
    display: none;
  }

  .header__sections {
    display: none;
  }

  .header__menu {
    padding: 0;
  }

  .header__button.burger {
    display: block;
  }

  .search-bar {
    padding: 30px 10px;
  }

  .entrance__buttons {
    flex-direction: column;
  }

  .entrance__button {
    max-width: 100%;
    height: unset;
    background: none !important;
  }

  .entrance__button a {
    flex-direction: row;
    align-items: center;
  }

  .entrance__button a br {
    display: none;
  }

  .enrance__button-arrow {
    opacity: 1;
  }

  .product-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 90px 50px;
    padding: 20px 10px 60px 10px;
  }

  .product-card__cart-container {
    display: flex;
    transform: translateY(105%);
  }

  .product-card__label-order {
    font-size: 10px;
  }

  .about {
    padding: 30px 0 30px 0;
  }

  .about__content-item {
    flex-direction: column;
    flex: 0 0 100%;
    gap: 5px;
  }

  .about__content-number {
    width: 30px;
    min-width: unset;
    height: 30px;
    font-size: 20px;
  }

  .footer {
    align-items: center;
    padding: 0 10px 24px 10px;
    font-size: 16px;
  }

  /* Страница деталей */

  .product-page {
    flex-direction: column;
    gap: 0px;
    box-sizing: border-box;
    padding: 0 10px 0 10px;
  }

  .product-page__params {
    width: 100%;
    max-width: unset;
  }

  .product-page__params-name {
    margin-left: 0;
  }

  .product-page__params__label-type-container {
    left: 0;
  }

  .product-page__params-stars {
    margin-left: 0;

  }

  .product-page__params-table {
    margin-left: 0;
  }

  .product-page__details {
    width: 100%;
    max-width: unset;
  }

  /* Фильтр */

  .filter {
    gap: 15px;
    padding: 10px 0 0 0;
  }

  .filter__switcher-button {
    font-size: 18px;
  }

  .filter__options-param {
    width: 100%;
  }

  .filter__options-param-container.mixed .filter__options-param {
    width: 100%;
  }

  .filter__options-param.price {
    padding-bottom: 1.5rem;
  }

  .suggestion {
    box-sizing: border-box;
    width: 100%;
    max-width: unset;
  }

  .suggestion a {
    flex: unset;
    font-size: 18px;
  }
}

/* Ссылка */
.link {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--linkUnderlineColor);
  color: var(--linkColor);
  text-decoration: none;
  transition: 0.2s color linear;
  transition-property: border-bottom, border-color, background, color, fill;
}

.link:visited {
  border-bottom-color: var(--linkUnderlineColor);
  color: var(--linkColor);
}

.link:hover {
  border-bottom-color: var(--linkHoverUnderlineColor);
  color: var(--linkHoverColor);
}

/* Футер */
.custom-footer {
  background-color: #222;  /* Тёмно-серый фон */
  color: #fff;             /* Белый текст */
  padding: 40px 20px;      /* Отступы сверху и снизу */
  font-family: Arial, sans-serif;
}

/* Контейнер, который держит три колонки */
.footer-container {
  max-width: 1140px;       /* Ширина, чтобы футер не растягивался на всю страницу */
  margin: 0 auto;          /* Центрируем */
  display: flex;           /* Flex-контейнер для колонок */
  flex-wrap: wrap;         /* Разрешаем перенос при узком экране */
  justify-content: space-between; /* Пространство между колонками */
  gap: 20px;               /* Отступ между колонками */
}

/* Каждая из трёх колонок */
.footer-column {
  flex: 1 1 30%;   /* Примерно три равные колонки */
  min-width: 250px; /* Минимальная ширина колонки */
}

/* Заголовок в колонке (Например, «Навигация», «Контакты»...) */
.footer-column h5 {
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 18px;
}

/* Списки внутри колонок (ul, li) */
.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-column li {
  margin-bottom: 0.5rem;
  font-size: 16px;
}

/* Ссылки в колонках (навигация, контакты, соцсети) */
.footer-column a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-column a:hover {
  color: #ccc;  /* При наведении */
}

/* Соцсети (иконки) */
.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
}
.footer-social a {
  font-size: 24px;
  color: #fff;
  transition: color 0.2s ease;
}
.footer-social a:hover {
  color: #ccc;
}

/* Нижняя полоса с копирайтом */
.footer-bottom {
  border-top: 1px solid #444; /* Тонкая линия сверху */
  margin-top: 20px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
}

/* Статусы «открыто/закрыто» (пример) */
.opened {
  color: #4dba47; /* Зелёный */
}
.closed {
  color: #f43b3b; /* Красный */
}

/* Адаптивность: на очень узком экране колонки идут в столбик */
@media screen and (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

.banner {
  margin: 0 auto;      
  text-align: center;
}
.banner img {
  display: block;       
  margin: 0 auto;      
}
.banner__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}
.banner__title {
  font-size: 2rem;
  margin: 0 0 10px;
}
.banner__description {
  font-size: 1.2rem;
  margin-bottom: 15px;
}
.banner__button {
  background-color: #09c;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
}

.banner { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; overflow: hidden; }
.banner img { width: 100%; height: auto; object-fit: contain; }
.banner__content { position: absolute; inset: 0; display: grid; place-content: center; padding: 12px; text-align: center; color: #fff; }
.banner__title { font-size: clamp(20px, 5vw, 36px); margin: 0 0 8px; }
.banner__description { font-size: clamp(14px, 3.6vw, 20px); margin-bottom: 12px; }

.header {
  position: relative; /* было sticky */
  top: auto;
}
.header__menu {
  position: sticky;
  top: 0;
  z-index: 11;
}

/* 2) Только мобилка: вместо 4 делаем 2 карточки в строке */
@media screen and (max-width: 770px) {
  .product-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 равные колонки */
    gap: 20px 12px;                                   /* меньше отступы */
    padding: 20px 10px 60px 10px;
  }

  /* карточка не должна тянуть фикс. ширины */
  .product-card {
    min-width: 0;          /* снимаем минимум */
    max-width: 100%;       /* не шире колонки */
    overflow: hidden;      /* на всякий случай, чтобы ничего не торчало */
    border-radius: 8px;    /* опционально — аккуратнее выглядит */
  }

  /* уменьшаем «визуальный объём» */
  .product-card__image-container { padding-bottom: 75%; } /* было 100% */
  .product-card__brand { font-size: 15px; }
  .product-card__name  { font-size: 13px; line-height: 18px; }
  .product-card__price-actual   { font-size: 18px; }
  .product-card__price-previous { font-size: 13px; }
  .product-card__rest { font-size: 12px; }

  /* кнопки заказа внутри колонки и без сдвига за пределы */
  .product-card__cart-container {
    position: static;   /* убираем абсолют и трансформацию */
    transform: none;
    display: flex;
    width: 100%;
  }
  .procuct-card__cart-button,
  .procuct-card__cart-amount,
  .procuct-card__cart-order-button { font-size: 16px; }
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

/* Показ панели поиска */
.search-bar.open, .search-bar.active {  /* на случай, если где-то остался .active */
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Меню поверх всего */
.mobile-menu { 
  position: fixed;    /* чтобы перекрыть весь вьюпорт и не зависеть от .header */
  inset: 0;           /* top:0; right:0; bottom:0; left:0 */
  z-index: 999; 
}

@media (max-width: 770px) {
  .suggestion--wheels { display: none; }
}