.visually-hidden:not(:focus):not(:active),
input[type="checkbox"].visually-hidden,
input[type="radio"].visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.main-prods {
  max-width: 1280px;
  padding: 0 20px;
  margin: -271px auto 0 auto;
  font-family: "Lab Grotesque";
  position: relative;
}

.main-prods__top {
  padding: 13px 0 5px 0;
  display: flex;
  align-items: center;
}

.main-prods__title {
  font-family: "Libel Suit";
  font-size: 32px;
  line-height: 120%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f9f9f5;
  margin: 0;
}

.main-prods__tab-item {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.25s;
}

.main-prods__bkt {
  opacity: 0;
  transition: all 0.25s;
}

.main-prods__tabs {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0 0 0 auto;
}

.main-prods__tab-item.active .main-prods__bkt {
  opacity: 1;
}

.main-prods__tab-item:hover {
  opacity: 0.6;
}

.main-prods__tab-item span {
  padding: 0 17px;
}

.main-prods__search-button {
  border: none;
  padding: 0;
  margin: 0 0 0 30px;
  background: transparent;
  transition: all 0.25s;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-prods__search-button:hover,
.main-prods__search-button:focus {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

.main-prods__block {
  margin-top: 25px;
}

.main-prod {
  background-repeat: no-repeat;
  min-height: 263px;
  border-radius: 10px;
  background-color: #EFF1F5;
  transition: all 0.25s;
  position: relative;
  max-width: 410px;
  cursor: pointer;
  overflow: hidden;
}

.main-prod__link {
  padding: 34px;
  display: block;
  height: 100%;
}

.main-prod.hide {
  display: none;
}

.main-prod__back {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-size: contain;
  background-position: bottom;
  background-repeat: no-repeat;
  z-index: 0;
  transition: all 0.25s;
}

@media (min-width: 769px) {
  .main-prod:hover {
    background-color: #e7266b;
    background-image: none !important;
    -webkit-clip-path: none !important;
    clip-path: none !important;
  }

  .main-prods__list .main-prod:nth-child(even):hover {
    background-color: #3069b2;
  }

  .main-prod:hover .main-prod__desc {
    opacity: 1;
  }

  .main-prod:hover .main-prod__title,
  .main-prod:hover .main-prod__price,
  .main-prod:hover .main-prod__is-online {
    color: white;
  }

  .main-prod:not(.main-prod--top):hover .main-prod__title,
  .main-prod:not(.main-prod--top):hover .main-prod__price,
  .main-prod:not(.main-prod--top):hover .main-prod__is-online,
  .main-prod:hover .main-prod__back {
    opacity: 0;
  }

  .main-prod:hover .main-prod__is-online svg path {
    fill: white;
  }
}

.main-prod--top {
  min-height: 476px;
}

.main-prods__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(335px, 1fr));
  gap: 5px;
}

.main-prods__block-item {
  display: none;
}

.main-prods__block-item.active {
  display: block;
}

.main-prod--back-3 {
  -webkit-clip-path: url(#my-clip-path-1);
  clip-path: url(#my-clip-path-1);
}

.main-prod--back-3 .main-prod__back {
  /*-webkit-clip-path: url(#my-clip-path-2);*/
  /*clip-path: url(#my-clip-path-2);*/
  /*height: 300px;*/
  /*top: auto;*/
  /*background-size: cover;*/
}

.main-prod__title {
  font-size: 38px;
  line-height: 42px;
  color: #111d41;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0;
  position: relative;
}

.main-prod__desc {
  font-size: 22px;
  line-height: 28px;
  color: white;
  position: absolute;
  max-width: calc(100% - 68px);
  opacity: 0;
  transition: all 0.25s;
  top: 34px;
  /*white-space: break-spaces;*/
}

.main-prod--top .main-prod__desc {
  margin: 20px 0 0 0;
  top: auto;
}

.main-prod__price {
  display: block;
  margin: 12px 0 0 0;
  color: #111d41;
  opacity: 0.5;
  font-size: 28px;
  line-height: 32px;
  font-weight: 700;
  position: relative;
  letter-spacing: -0.7px;
}

.main-prod__is-online {
  color: #3069b2;
  font-size: 18px;
  line-height: 24px;
  display: block;
  margin: 12px 0 0 0;
  display: flex;
  position: relative;
}

.main-prod__is-online span {
  padding: 0 12px;
}

.main-prod__is-online svg {
  width: 5px;
}

.main-prods__show-more {
  margin: 47px auto 0 auto;
  padding: 24px 44px;
  border: 1px solid #111d41;
  border-radius: 10px;
  font-size: 22px;
  line-height: 28px;
  color: #111d41;
  font-weight: 500;
  background: transparent;
  display: block;
}

.main-prod__mobile-show-more {
  display: none;
}

.main-prod__link:hover,
.main-prod__link:focus {
  text-decoration: none;
  color: initial;
}

.main-prods__search-input {
  width: 100%;
  margin: 0 24px;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 38px;
  line-height: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
  caret-color: #e7266b;
}

.main-prods__search-input:focus-within,
.main-prods__search-input:focus-visible {
  outline: none;
}

.main-prods__search-input::placeholder {
  color: white;
  opacity: 0.56;
}

.main-prods__search-trigger {
  border: none;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  padding: 0;
}

.main-prods__top--search {
  display: none;
  padding-top: 23px;
}
@media screen and (max-width:1024px){
  .main-prod{
    max-width: 100%;
  }
  .main-prod__back{
    background-size: cover;
  }
}
@media screen and (max-width:992px){
  .main-prods__bkt{
    width: 6px;
  }
}
@media (max-width: 768px) {
  .main-prods {
    margin-top: -370px;
  }
  .main-prods__show-more{
    margin: 24px 0;
    width: 100%;
    padding: 17px 44px;
    font-size: 18px;
  }
  .main-prods__search-button {
    margin-top: 7px;
    width: 32px;
    height: 32px;
  }
  .main-prods__search-button svg {
    width: 32px;
    height: 32px;
  }
  .main-prods__tabs {
    order: 3;
    overflow-x: scroll;
    gap: 12px;
  }
  .main-prods__top {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 25px;
    padding-bottom: 5px;
  }

  .main-prods__search-button {
    order: 2;
  }

  .main-prods__tab-item {
    white-space: nowrap;
    font-size: 16px;
    line-height: 22px;
  }

  .main-prods__title {
    font-size: 26px;
    line-height: 31px;
  }

  .main-prods__bkt {
    width: 9px;
    height: 32px;
  }

  .main-prods__tab-item span {
    padding: 0 14px;
  }

  .main-prod__back {
    background-size: cover;
  }

  .main-prod__link {
    padding: 32px;
  }

  .main-prod--top {
    min-height: 388px;
  }

  .main-prod__title {
    font-size: 30px;
    line-height: 42px;
  }

  .main-prod__price {
    margin-top: 7px;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.03em;
  }

  .main-prod__mobile-show-more {
    position: absolute;
    padding: 13px;
    margin: 0;
    border: none;
    background: white;
    display: flex;
    border-radius: 50%;
    bottom: 32px;
    left: 32px;
    z-index: 2;
    transition: all 0.25s;
  }

  .main-prod__mobile-show-more--active {
    transform: rotate(45deg);
  }

  .main-prod.hover {
    background-color: #e7266b;
    background-image: none !important;
    -webkit-clip-path: none !important;
    clip-path: none !important;
  }

  .main-prods__list .main-prod:nth-child(even).hover {
    background-color: #3069b2;
  }

  .main-prod.hover .main-prod__desc {
    opacity: 1;
  }

  .main-prod.hover .main-prod__title,
  .main-prod.hover .main-prod__price,
  .main-prod.hover .main-prod__is-online {
    color: white;
  }

  .main-prod:not(.main-prod--top).hover .main-prod__title,
  .main-prod:not(.main-prod--top).hover .main-prod__price,
  .main-prod:not(.main-prod--top).hover .main-prod__is-online,
  .main-prod.hover .main-prod__back {
    opacity: 0;
  }

  .main-prod.hover .main-prod__is-online svg path {
    fill: white;
  }

  .main-prod--back-3 .main-prod__back {
    height: 218px;
    background-position: top;
  }

  .main-prods__top--search {
    flex-wrap: nowrap;
  }

  .main-prods__search-input {
    margin: 0 12px;
    flex-grow: 1;
    font-size: 22px;
    line-height: 26px;
  }

  .main-prods__top--search .main-prods__search-icon,
  .main-prods__search-trigger {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .main-prods__search-trigger svg {
    width: 7px;
  }
}
