.b-products {
  padding: 60px 0;
}

.b-products__title {
  margin-bottom: 2vw;
  color: #d2232a;
}

.b-products__card {
  border: none;
  border-radius: 10px;
  box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.251), 0px 40px 60px 0px rgba(135,66,235,0.102);
}

.b-products__card .card-body {
  padding: 20px;
}

.b-products__model {
  font-weight: 600;
  font-size: 22px;
  color: #382f32;
}

.b-products__family {
  font-weight: 500;
  font-size: 15px;
  color: #382f32;
}

.b-products__header {
  line-height: 1;
}

.b-products__share {
  width: 25px;
  color: #d2232a;
}

.b-products__image {
  margin: 10px 0;
  flex: 1 0 auto;
}

.b-products__image:before {
  content: '';
  display: block;
  padding-top: 29%;
}

.b-products__image img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.b-products__language {
  line-height: 1;
  color: #000;
  font-weight: 500;
  gap: 8px;
  transition: 0.4s ease all;
}

.b-products__language:hover {
  background: #cdcdcd;
}

.b-products__language img {
  border-radius: 100%;
  object-fit: contain;
  width: 30px;
  height: 30px;
}

.b-products-loadmore-wrap {
  padding-top: 3vw;
}

.b-products__separator {
  border-top: 1px solid #cdcdcd;
  margin: 34px 0 45px;
}

.b-serial {
  margin: clamp(20px, 3vw, 30px) 0;
}

.b-serial__note {
  font-size: 12px;
}

.b-serial span {
  color: #d2232a;
}

.b-serial__search {
  margin: 0 auto 7px;
  max-width: 350px;
}

.b-serial input {
  border-radius: 64px;
  box-shadow: 0px 4px 12px 0px rgba(13,10,44,0.059);
  background: #fff;
  text-align: center;
  padding: 28px 50px 0;
  line-height: 1;
  font-size: 18px;
  color: #abb7c2;
  height: 67px;
  letter-spacing: 10px;
}

.b-serial button {
  right: 8px;
  top: 50%;
  transform: translate(0, -50%);
  width: 41px;
  height: 41px;
  padding: 0;
  line-height: 1;
}

.b-serial__text {
  left: 0;
  right: 0;
  line-height: 1;
  pointer-events: none;
  top: 10px;
  font-size: 18px;
}

@media screen and (max-width: 576px) {
  .b-serial input {
    height: 55px;
    padding-top: 20px;
  }

  .b-serial__text {
    top: 6px;
  }
}

@media screen and (min-width: 992px) {
  .b-products__languages {
    gap: 8px;
  }

  .b-products__language {
    border-radius: 30px;
    border: 1px solid #cdcdcd;
    padding: 0.5vw 0.8vw;
    font-size: 14px;
  }

  .b-products__language img {
    width: 22px;
    height: 22px;
  }
}

@media screen and (max-width: 991px) {
  .b-products__languages {
    border-top: 1px solid #c9c9c9;
    height: 56px;
    margin-bottom: -20px;
  }

  .b-products__languages-btn {
    width: 56px;
    height: 56px;
    right: -20px;
    top: 0;
    cursor: pointer;
  }

  .b-products__languages-btn svg {
    transition: 0.4s ease all;
  }

  .b-products__languages-btn + .b-products__language {
    display: flex;
  }

  .b-products__languages-btn + .b-products__language:not(.is-visible) {
    border-radius: 0 0 10px 10px;
  }

  .b-products__languages.is-opened {
    z-index: 5;
  }

  .b-products__languages.is-opened .b-products__languages-btn svg {
    transform: rotate(180deg);
  }

  .b-products__language {
    font-size: 20px;
    min-height: 56px;
    border-radius: 0;
    display: none;
    background: #fff;
    margin: 0 -20px;
  }

  .b-products__language span {
    display: inline-block;
    min-width: 30px;
  }

  .b-products__language:first-child {
    display: flex;
  }

  .b-products__language:last-child {
    border-radius: 0 0 10px 10px;
  }

  .b-products__language.is-visible {
    display: flex;
    box-shadow: 0 2px 2px rgba(0,0,0,0.3);
  }
}



.b-filter__form {
  background: #fff;
  box-shadow: 0px 4px 12px 0px rgba(13,10,44,0.059);
  padding: 19px 0;
  border-radius: 10px;
}

.b-filter__part {
  font-size: 18px;
  color: #000;
}

.b-filter__part.keyword {
  flex: 1 1;
  display: flex;
  align-items: center;
}

.b-filter__part.keyword .b-filter__part-in {
  flex: 1 1;
}

.b-filter__label {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}

.b-filter input {
  height: 52px;
  border-radius: 0;
  padding: 20px 0 0;
  border: none;
  color: rgba(0,0,0,0.5);
}

.b-filter__btn {
  padding: 0;
  width: 41px;
  height: 41px;
}

.b-filter select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='6' viewBox='0 0 12 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.386.529a.923.923 0 0 0-1.136 0c-.313.26-.313.682 0 .942l4.819 4c.313.26.822.26 1.135 0l4.819-4c.313-.26.313-.682 0-.942a.923.923 0 0 0-1.136 0l-4.25 3.528L1.385.53z' fill='%23757575'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat;
  border-radius: 0;
  border: none;
  color: #000;
  padding: 0 20px 0 0;
  height: 62px;
  background-position: 100% 50%;
  text-align: center;
  font-size: 20px;
  background-color: transparent;
}

@media screen and (min-width: 992px) {
  .b-filter__form {
    border-radius: 64px;
  }

  .b-filter__part {
    padding: 0 25px;
    width: 25%;
    min-width: clamp(200px, 14vw, 250px);
    max-width: clamp(200px, 14vw, 250px);
  }

  .b-filter__part + .b-filter__part {
    border-left: 1px solid #cdcdcd;
  }

  .b-filter__btn {
    width: 56px;
    height: 56px;
  }

  .b-filter__btn svg {
    width: 25px;
    height: 25px;
  }

  .b-filter select {
    background-position: 100% 12px;
    height: 52px;
    font-size: 18px;
    padding: 20px 0 0;
    color: rgba(0,0,0,0.5);
    text-align: left;
  }
}

@media screen and (max-width: 991px) {
  .b-filter__part + .b-filter__part {
    border-top: 1px solid #c9c9c9;
  }

  .b-filter {
    padding-top: 80px;
    padding-bottom: 80px;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 35px;
  }

  .b-filter__form {
    width: 100%;
    padding: 0 20px;
    flex-direction: column;
  }

  .b-filter__label {
    display: none;
  }

  .b-filter__part.keyword {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    border: none;
  }

  .b-filter__part.keyword input {
    height: 55px;
    text-align: center;
    border-radius: 64px;
    padding: 0 50px;
    box-shadow: 0px 4px 12px 0px rgba(13,10,44,0.059);
    font-size: 18px;
    color: #000;
  }

  .b-filter__part.keyword input::placeholder {
    opacity: 0;
  }

  .b-filter__part.keyword input:not(:placeholder-shown) + .b-filter__label,
  .b-filter__part.keyword input:focus + .b-filter__label {
    opacity: 0;
  }

  .b-filter__part.keyword .btn {
    position: absolute;
    right: 8px;
  }

  .b-filter__part.keyword .b-filter__label {
    display: block;
    right: 0;
    text-align: center;
    top: 14px;
  }
}



.b-products__grid.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 4px solid rgba(240,0,10,0.2);
  border-top-color: #f0000a;
  border-radius: 50%;
  animation: spinner 1s linear infinite;
  z-index: 3;
}

.b-products__grid.loading .b-products__item {
  opacity: 0.5;
  pointer-events: none;
}

.b-filter select:disabled {
  background-color: transparent;
  opacity: 0.5;
}

.b-filter select:disabled + .b-filter__label {
  opacity: 0.5;
}

@-moz-keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

@-o-keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 991px) {
  .b-filter__btn-mobile {
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 15px;
    font-weight: 500;
    padding: 17px 30px;
  }
}

.b-filter__label,
.b-filter select,
.keyword input
{
  padding-left: 5px;
  padding-right: 5px;
}


.b-filter__part .b-filter__part-in:hover,
.b-serial__search:hover{
  color: #d2232a;
}

.b-filter__part select:hover,
.b-filter__part input:hover,
.b-serial__search input:hover{
  cursor: pointer;
}