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

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

.agree-checkbox {
	display: inline-block;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.4;
    color: black;
    cursor: pointer;
}

.zag__product_best {
	text-align: center;
	margin-top: 41px;
}

  @media (max-width: 768px) {
    .header__address-container a[href^="tel:"],
    .header__address-container a[href="tel:+79511300024"] {
      font-size: 19px !important;
      margin-top: 7px !important;
	      font-weight: 600;
    }
	
	.zag__product_best {
	font-size: 12px !important;
}
  }

.agree-checkbox input[type="checkbox"] {
  margin-top: 4px;
  transform: scale(1.2);
  width: 20px;
}

.agree-checkbox span {
  word-break: break-word;
  overflow-wrap: break-word;
}

.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: relative;
  top: auto;
  z-index: 20;
  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;
  overflow: visible;
}

.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 {
  position: sticky; top: 0; z-index: 21;
  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: 40px; height: 40px;
  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;
  top: 100%;
  left: 0; right: 0;
  z-index: 999;
  box-sizing: border-box;
  width: 100%;
  padding: 16px 10%;
  background: #555555;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: transform .2s ease, opacity .2s ease;
}

.search-bar.open,
.search-bar.active{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.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; }

#search-results{
  position: static !important;
  margin-top: 12px;
  max-height: 60vh;
  overflow:auto;
}

input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.mobile-menu { 
  position: fixed; inset: 0; z-index: 999;
  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.open { opacity: 1; pointer-events: auto; }

.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; 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; padding-top: 20px;
  background-image: url('/static/image/entrance.jpg');
  background-repeat: no-repeat; background-size: cover; background-position: center;
  margin-bottom:21px;
}

.entrance__buttons {
  display: flex; flex-direction: row; justify-content: center; gap: 20px;
  width: 100%;
}

.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; 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); }

.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; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
}

.product-card__label-promotion-container { position: absolute; top: 0; left: 0; display: flex; flex-direction: column; 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; }
.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; z-index: 4; display: flex; flex-direction: column; gap: 5px; width: 100%; }
.product-card__label-type-container { z-index: 1; display: flex; 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; justify-content: space-between; gap: 5px; width: 100%; }
.product-card__rating-stars { display: flex; 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;
  min-height: 40px;
}

.product-card__price-container { display: flex; 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; align-items: stretch; gap: 5px; width: 100%; background-color: #fff;
  transform: translateY(100%);
}
.procuct-card__cart-more-less-container { display: flex; 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; 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; width: 100%; }
.about__content-item { display: flex; flex-direction: row; 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; 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 { max-width: 300px; width: 100%; }
.opened { color: rgb(77, 217, 77); }
.closed { color: #f43b3b; }


.product-page { display: flex; 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; 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; 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; 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; }
.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; align-items: flex-start; width: 50%; min-width: 300px; }
.product-page__details-price-container { display: flex; flex-wrap: wrap; 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; gap: 5px; width: 100%; margin-bottom: 20px; background-color: #fff; }
.product-page__details-cart-more-less-container { display: flex; 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; gap: 1px; margin: 0 0 40px 0; padding: 0; font-size: 18px; }
.details__features-item { display: flex; 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; 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;justify-content: flex-start; background: #ecf9ff;}
.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; gap: 15px; box-sizing: border-box; border-radius: 0 0 7px 7px; padding: 32px 0 0 0; font-size: 18px; background: #ecf9ff; padding-bottom: 11px; padding-left: 10px; padding-right: 10px;}

.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; justify-content: flex-start; gap: 15px; margin: 0; padding: 0; list-style: none; margin-bottom: 21px;}

.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; color: #fff; font-size: 16px; transition: 0.2s ease opacity; cursor: pointer;background: #00afef; padding-bottom: 6px; padding-top: 6px; padding-left: 10px; padding-right: 10px; }

@media (max-width: 768px) {
    .filter__options-remove { margin: 0 auto; }
  }
  
  .catalog-toolbar {
    margin-top: 23px !important;
}

.catalog-toolbar__controls select {
    border: none;
}

.catalog-toolbar__title {
    font-size: 19px  !important;
}

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

.filter__options-param-container { display: none; flex-direction: row; flex-wrap: wrap; gap: 23px 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; justify-content: space-between; gap: 5px; width: 25%; }
.filter__options-param label { display: flex; flex-direction: row; }
.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-by-car.filter__options-param-container .filter__options-param--car { min-width: 140px; width: auto; flex: 1 1 140px; }
#filter-by-car .filter__car-select { font-size: 14px; padding: 8px 10px; min-width: 0; }
@media (min-width: 560px) {
  #filter-by-car .filter__car-select { font-size: 15px; min-width: 160px; }
}

.filter__options-param-price { display: flex; flex-direction: column; }
.filter__options-param-stock { display: flex; 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;
  --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;
}

.catalog-toolbar__controls select {
    min-width: 60px !important;
}
.suggestion a { flex: 0 0 20%; box-sizing: border-box; width: fit-content; font-size: 20px; }

.search-view { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.search-view__item-container { display: flex; 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(2, minmax(0, 1fr));
    gap: 20px 12px; padding: 20px 10px 60px 10px;
	margin-top: 0px !important;
  }
  .product-card {
    min-width: 0; max-width: 100%; overflow: hidden; border-radius: 8px;
  }
  .product-card__image-container { padding-bottom: 90%; }
  .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; }

  .about { padding: 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; }
  .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 15px 10px 15px; }
  .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: 0rem; }

  .suggestion { box-sizing: border-box; width: 100%; max-width: unset; }
  .suggestion a { flex: unset; font-size: 18px; }
  .suggestion--wheels { display: none; }
}

.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-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; }
.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; }

@media screen and (max-width: 600px) {
  .footer-container { flex-direction: column; align-items: flex-start; }
}

.banner-carousel {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 16px auto;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f7fa;
  box-sizing: border-box;
}
.banner-carousel__track {
  display: flex;
  flex-direction: row;
  transition: transform 0.4s ease;
  will-change: transform;
}
.banner-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.banner-carousel__link {
  display: block;
  width: 100%;
}
.banner-carousel__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(42vh, 420px);
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
}
.banner-carousel__dots_desktop {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.banner-carousel__dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.banner-carousel__dot:hover {
  background: rgba(255,255,255,0.9);
}
.banner-carousel__dot.is-active {
  background: var(--accentColor);
  transform: scale(1.2);
}
@media (max-width: 768px) {
  .banner-carousel {
    overflow: visible;
  }
  .banner-carousel__track {
    flex-direction: column;
    transform: none !important;
    gap: 12px;
  }
  .banner-carousel__slide {
    flex: 0 0 auto;
    width: 100%;
  }
  .banner-carousel__img {
    max-height: min(36vh, 280px);
    width: 100%;
    max-width: 100%;
  }
  .banner-carousel__dots_desktop {
    display: none;
  }
}
@media (min-width: 769px) {
  .banner-carousel__img {
    max-height: min(45vh, 480px);
  }
}
@media (max-width: 480px) {
  .banner-carousel__img {
    max-height: min(32vh, 240px);
  }
}
.banner { margin: 0 auto; text-align: center; position: relative; width: 100%; max-width: 1280px; overflow: hidden; }
.banner img { display: block; margin: 0 auto; 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; }
.banner__button { background-color: #09c; color: #fff; padding: 10px 20px; text-decoration: none; border-radius: 4px; }


.header { position: relative; z-index: 20; }
.header__menu { position: sticky; top: 0; z-index: 21; }

.search-bar{
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 16px 10%;
  background:#555555;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: transform .2s ease, opacity .2s ease;
}

.search-bar.open,
.search-bar.active{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.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-results{ position: static !important; margin-top:12px; }

.search-suggest{
  margin-top:12px;
  border-radius:12px;
  background:#3f3f3f;
  box-shadow:0 8px 30px rgba(0,0,0,.25);
  color:#fff;
}
.search-suggest__list{
  list-style:none;
  margin:0; padding:6px;
  max-height:60vh; overflow:auto;
}
.search-suggest__item a{
  display:grid;
  grid-template-columns:56px 1fr auto;
  gap:12px; align-items:center;
  padding:10px 12px;
  border-radius:8px;
  color:#fff; text-decoration:none;
}
.search-suggest__item a:hover,
.search-suggest__item--active a{
  background:rgba(255,255,255,.08);
}
.search-suggest__thumb{
  width:56px; height:56px;
  object-fit:contain; background:#fff;
  border-radius:6px;
}
.search-suggest__title{ font-size:16px; line-height:1.25; }
.search-suggest__meta{ font-size:13px; opacity:.75; margin-top:2px; }
.search-suggest__price{ font-weight:700; white-space:nowrap; }
.search-suggest__empty{ padding:14px; opacity:.8; }
.search-suggest__more{
  padding:10px 14px; text-align:center;
  border-top:1px solid rgba(255,255,255,.08);
}
.search-suggest__more a{ color:#fff; text-decoration:none; }
.search-suggest mark{ background:transparent; color:#ffd45a; font-weight:700; }

@media (max-width:770px){
  .search-suggest__item a{
    grid-template-columns:44px 1fr auto;
    gap:10px; padding:8px 10px;
  }
  .search-suggest__thumb{ width:44px; height:44px; }
}

.product-page__params__image-wrapper{position:relative}
.product-page__brand-logo{position:absolute;top:144px;left:8px;max-height:40px;max-width:140px;object-fit:contain}

.product-page__brand{margin-top:32px}
.product-page__brand-hero{max-width:360px;width:100%;height:auto;display:block;margin:16px 0}
.product-page__brand-title{margin:0 0 8px;font-weight:600}
.product-page__brand-text{line-height:1.65;color:#333}

.product-page__description{margin-top:16px;line-height:1.65}

.product-card__image-container{position:relative}
.product-card__brand-logo{position:absolute;top:6px;left:6px;max-height:24px;max-width:90px;object-fit:contain}

.product-page__params__image-wrapper{position:relative}
.product-page__brand-logo{
  position:absolute; top:8px; left:8px;
  height:40px; width:auto; max-width:160px;
  object-fit:contain; z-index:2;
}

.product-page__brand{ margin-top:1px }
.product-page__brand-hero{
  display:block;
  max-width:360px; width:100%; height:auto;
  margin:16px 0; object-fit:contain;
}
.product-page__brand-title{ margin:0 0 8px; font-weight:600 }
.product-page__brand-text{ line-height:1.65; color:#333 }

.product-card__image-container{ position:relative }
.product-card__brand-logo{
  position:absolute; top:6px; left:6px;
  height:24px; width:auto; max-width:100px;
  object-fit:contain; z-index:2;
}

@media (max-width: 480px){
  .product-page__brand-logo{ height:32px; max-width:120px }
  .product-page__brand-hero{ max-width:280px }
}

.product-page__params__image-wrapper { position: relative; }

.product-page__brand-logo{
  position: absolute;
  left: 22px;
  top: 22px;
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  z-index: 2;
}

@media (max-width: 480px){
  .product-page__brand-logo{ top: 36px; height: 40px; max-width: 140px; }
  .product-page__params__image-wrapper .product-page__image{ min-height: 220px; max-height: 65vh; object-fit: contain; }
}

.product-card__image-container{ position:relative; }
.product-card__brand-logo{
  position:absolute;
  top:6px; left:6px;
  height:32px; width:auto; max-width:115px;
  object-fit:contain; z-index:2;
}
@media (max-width:480px){
  .product-card__brand-logo{ height: 36px; max-width: 120px; }
  .product-card__image{ width: 100%; height: 100%; object-fit: contain; }
}

@media (max-width: 768px) {
  .filter__options-param-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .filter__options-param {
    flex: 1 1 calc(30% - 8px);
    min-width: 90px;
    margin: 0;
  }

  .filter__options-param label {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .filter__options-param select {
    font-size: 15px;
    padding: 6px 4px;
    height: auto;
  }

  .filter__options-param:not(:nth-of-type(-n+3)) {
    flex: 1 1 100%;
  }
  
  .filter__options-type-label-container {
    margin-bottom: 11px !important;
}

.filter__options {
    padding-top: 14px;
}
  
}

@media (max-width: 372px) {
    .filter__options-remove {
    padding: 8px 7px !important;
	font-size: 14px;
}

.filter__switcher {
    display: inline-table !important;
}

.filter__switcher-button {
    padding: 7px 8px !important;
}

}