.catalog__navBlock {
  margin: auto;
}

.filterBlock {
  display: none;
}

body {
  background: #fffdfc;
}

.filterMenu {
  position: sticky;
  top: -1px;
  padding-top: 1px;
  background: #fffdfc;
  z-index: 99;
}

.filterMenu.isSticky {
  background: #fff3ef;
}

.filterMenu > .container {
  display: flex;
  column-gap: 46px;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid #ffeae7;
}

.filterItem {
  position: relative;
}
.filterItem .filterItem-menuBlock {
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 20;
}
.filterItem p {
  display: flex;
  align-items: center;
  font-size: 16px;
  opacity: 0.68;
}

.filterItem-active p {
  color: var(--main-pressed-color);
}

.filterItem-active img {
  transform: rotate(180deg);
}

.filterItem-active .filterModal,
.filterModal.active {
  display: flex;
}

.filterItem img {
  margin-left: 4px;
  opacity: 0.68;
}

.catalog__container {
  display: flex;
  flex-wrap: wrap;
  row-gap: 50px;
  column-gap: 20px;
  margin: auto;
  /* width: 1400px; */
  padding-top: 32px;
}

/* Планшеты */
@media (max-width: 1024px) {
  .catalog__container {
    width: 100%;
    padding: 24px 20px 0;
    row-gap: 40px;
    column-gap: 16px;
  }
}

/* Мобильные */
@media (max-width: 768px) {
  .catalog__container {
    width: 100%;
    padding: 20px 16px 0;
    row-gap: 30px;
    column-gap: 12px;
  }
}

/* Маленькие телефоны */
@media (max-width: 480px) {
  .catalog__container {
    padding: 16px 12px 0;
    row-gap: 24px;
    column-gap: 10px;
  }
}

.dot {
  margin-top: 50px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4b4b4b;
}

.filterModal {
  display: none;
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  background: #fff3ef;
  padding: 20px 30px;
  z-index: 20;
  column-gap: 50px;
  filter:
    drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.14)),
    drop-shadow(0px 4px 5px rgba(0, 0, 0, 0.12)),
    drop-shadow(0px 1px 10px rgba(0, 0, 0, 0.2));
}

.filterModal.sort {
  left: initial;
  right: 0;
}

.filterModal.mobile {
  z-index: 11;
}

.filterModal__item .customInputWrap {
  display: flex;
  align-items: center;
}

.filterModal__item .customInputWrap a {
  margin-left: 10px;
}

.filterModal__item .customInputWrap input:checked ~ a {
  color: var(--main-blue-color);
}

.filterModal-price {
  flex-wrap: wrap;
}

.filterItem__listsWrapper {
  display: flex;
  column-gap: 50px;
}

.filterItem__priceBlock {
  width: 100%;
  display: flex;
  margin-bottom: 25px;
}

.filterItem__priceBlock .price-input {
  display: flex;
}

.filterItem__priceBlock .price-input:not(:last-child) {
  margin-right: 35px;
}

.filterItem__priceBlock .price-input input {
  width: 80px;
  margin-left: 15px;
  background: var(--main-bg-color);
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--main-text-color);
}

.filterItem__priceBlock .price-input input:focus {
  border-bottom-color: var(--main-blue-color);
}

.filterItem__priceRange {
  position: relative;
  width: 264px;
  margin-bottom: 40px;
}

.filterModal__list {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  width: max-content;
}

.filterMenu__modalOutside {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  display: none;
  z-index: 5;
}

.filterMenu__modalOutside-activeModal {
  display: block;
}

.paging__container {
  margin: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  column-gap: 10px;
  margin-top: 100px;
  margin-bottom: 150px;
}

.paging__item {
  padding: 15px 23px;
  border-radius: 1px;
  cursor: pointer;
  transition: 0.3s;
}

.paging__item a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.paging__item.border {
  padding: 15px 30px;
}

.selectedFiltersCount {
  margin-right: 5px;
  width: 20px;
  height: 20px;
  background: #3b8067;
  font-size: 12px;
  line-height: 15px;
  opacity: 0;
  color: #fff3ef;
  display: none;
  align-items: center;
  justify-content: center;
}

.selectedFiltersCount.active {
  display: flex;
  opacity: 1;
}

.noItemsBlock {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 30px;
  margin-top: 75px;
}

.modal-filter__wrap {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-filter > li:not(:first-child) {
  margin-top: 11px;
}

.modal-filter__wrap .container {
  position: relative;
}

.modal-filter {
  background: #fff3ef;
  z-index: 20;
  padding: 22px 16px 21px 15px;
  position: absolute;
  right: 0;
  top: 115px;
}

.filterItem-sort {
  margin-left: auto;
}

.catalog__headerWrap {
  padding-top: 40px;

  background: linear-gradient(
    180deg,
    #ffeae7 0%,
    #fffdfc 100%,
    #fdf7f5 100%,
    #fffcfb 100%
  );
  padding-bottom: 40px;
  margin-bottom: -40px;
}

.catalog__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.catalog__headerPhotos {
  position: relative;
  width: 473px;
  height: 368px;
  margin-bottom: 30px;
}

.catalog__headerPhoto-square {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.catalog__headerPhoto-round {
  border-radius: 250px 250px 1px 1px;
  width: 316px;
  height: 390px;
  object-fit: cover;
  position: absolute;
  bottom: -25px;

  right: calc(100% - 25px);
}

.catalog__headerTitle {
  max-width: 461px;
}

.catalog__headerDescription {
  max-width: 453px;
  margin-top: 30px;
}

.catalog__headerFeatures {
  margin-top: 50px;
  display: flex;
  align-items: center;
  column-gap: 40px;
}

/* Планшеты */
@media (max-width: 768px) {
  .catalog__headerFeatures {
    column-gap: 20px;
    margin-top: 40px;
  }
}

/* Мобильные */
@media (max-width: 480px) {
  .catalog__headerFeatures {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 12px;
    column-gap: 0;
    margin-top: 30px;
  }
}

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

.catalog__headerFeature-number + .catalog__headerFeature-text {
  margin-left: 15px;
}

.catalog__headerFeature-text {
  max-width: 100px;
  margin-right: 5px;
  font-size: 18px;
  line-height: 130%;
  font-weight: 700;
  font-family: "Comfortaa", sans-serif, Arial, Helvetica;
}

.catalog__headerFeature-text--pre_digit {
  align-self: flex-end;
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 130%;
  font-weight: 700;
  font-family: "Comfortaa", sans-serif, Arial, Helvetica;
}

.snippet__wrap {
  position: relative;
  width: 335px;

  height: auto;
  z-index: 10;
}
.snippet__wrap.factoid {
  height: 590px;
}
.snippet__wrap:hover {
  z-index: 15;
}

.catalog_withSlider .catalog_slider:not(.catalog_slider_mobile) {
  width: calc(100% - 316px - 40px);
}
.catalog_withSlider .catalog_slider .slider {
  position: relative;
  min-height: 368px;
}
.catalog_withSlider .catalog_slider_mobile .slider {
  min-height: unset;
}
.catalog_withSlider .catalog_slider .slider .slider-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 40px);
}
.catalog_withSlider
  .catalog_slider
  .slider
  .slider-controls
  > div[class^="slider-controls"] {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
  background: rgba(255, 182, 170, 0.5);
  border-radius: 1px;
  cursor: pointer;
  z-index: 99;
}
.catalog_withSlider
  .catalog_slider
  .slider
  .slider-controls
  > div[class*="left"] {
  left: -20px;
}
.catalog_withSlider
  .catalog_slider
  .slider
  .slider-controls
  > div[class*="right"] {
  right: -20px;
}
.catalog_withSlider
  .catalog_slider
  .slider
  .slider-controls
  > div[class^="slider-controls"]:hover {
  opacity: 1;
}
.catalog_withSlider
  .catalog_slider
  .slider
  .slider-controls
  .swiper-pagination {
  display: flex;
  column-gap: 20px;
  bottom: -30px;
  left: calc(50% - 55px);
}
.catalog_withSlider
  .catalog_slider
  .slider
  .slider-controls
  .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ffb6aa;
  opacity: 1;
  transition: 0.3s;
}
.catalog_withSlider
  .catalog_slider
  .slider
  .slider-controls
  .swiper-pagination-bullet[class*="active"] {
  width: 50px;
  border-radius: 20px;
  background: var(--main-text-color);
}
.catalog_withSlider .catalog_slider .slider .slider__content {
  margin: 0;
  width: 100%;
}
.catalog_withSlider .catalog_slider .slider .swiper-wrapper {
  align-items: center;
}
.catalog_withSlider .catalog_slider .slider .slider__content-description {
  margin: 30px 0 30px;
  max-width: 100%;
}
.catalog_withSlider .catalog_slider .slider .imgBlock {
  position: relative;
  width: 504px;
  height: 100%;
}
.catalog_withSlider .catalog_slider .slider .slider__smImg-container {
  position: absolute;
  top: 91px;
  right: calc(100% - 71px);
  width: 375px;
  height: 464px;
  border-radius: 250px 250px 1px 1px;
}
.catalog_withSlider .catalog_slider .slider .imgBlock img {
  border-radius: 1px;
  object-fit: cover;
}
.catalog_withSlider .catalog_slider_mobile {
  background: #ffebe8;
  padding: 20px;
  margin-top: 20px;
}
.catalog_withSlider .catalog_slider_mobile .slider__content-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.catalog_withSlider
  .catalog_slider_mobile
  .slider__content-item
  .slider__content-title {
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;
  overflow: hidden;
}
.catalog_withSlider
  .catalog_slider_mobile
  .slider__content-item
  .slider__content-btn {
  display: flex;
  background: #4e4e4c4f;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1280px) {
  .catalog_withSlider .catalog__headerPhotos {
    width: auto;
    max-width: 820px;
    display: flex;
    gap: 40px;
    justify-content: flex-end;
    flex-direction: row-reverse;
  }
  .catalog_withSlider .catalog__headerPhotos .catalog__headerPhoto-round {
    position: relative;
    right: auto;
    bottom: auto;
  }
  .catalog_withSlider .catalog__headerPhoto-square {
    display: none;
  }
  .catalog_slider.show-md {
    display: none;
  }
}
@media (max-width: 1439px) {
  .catalog_withSlider .catalog__headerPhotos {
    max-width: 720px;
  }
}
@media (max-width: 1279px) {
  .catalog_withSlider .catalog__headerPhotos {
    max-width: unset;
  }
  .catalog_slider.show-lg {
    display: none;
  }
}
@media (max-width: 767px) {
  .catalog_withSlider .catalog__headerPhotos {
    display: none;
  }
  .catalog_withSlider
    .catalog_slider_mobile
    .slider__content-item
    .slider__content-title {
    font-size: 14px;
  }
}

.factoid {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 89px 30px 0;
  text-align: center;
  background: linear-gradient(180deg, #ffeae7 0%, #fffcfb 100%);
}

.factoid_wide {
  width: 100% !important;
  display: flex;
  flex-wrap: nowrap;
}

.factoid_wide > img {
  width: calc(100% - 451px);
  object-fit: cover;
}

.factoid_wide .factoid {
  width: 451px;
}

.factoid .c-h4 {
  margin: 50px 0 20px;
}

.factoid::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 50px;
  background: var(--main-text-color);
  border-radius: 50%;
}

.snippet {
  position: relative;
  width: 100%;
  transition: 0.3s;
}

.snippet-desc {
  width: 100%;
  margin: 0 auto;
  transition: 0.3s;
}

.snippet-desc__status {
  margin-top: 5px;
  opacity: 0.68;
}

.snippet-desc__price {
  display: flex;
  align-items: center;
}

.snippet-desc__name {
  display: block;
}

.snippet-img {
  display: block;
  height: 458px;
  margin-bottom: 10px;
  border-radius: 1px;
  transition: 0.3s;
  overflow: hidden;
}

.snippet-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.s-par {
  font-size: 14px;
  line-height: 150%;
  color: #4b4b4b;
}

.snippet-switch {
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
  column-gap: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.snippet-switch label {
  position: relative;
  display: block;
}

.snippet-switch input {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  visibility: hidden;
}

.snippet-switch span {
  display: block;
  padding: 12px;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 1px;
}

.snippet-switch input.disabled + span {
  opacity: 0.5;
}

.snippet-switch input:checked + span {
  cursor: default;
}

.snippet-full {
  width: 100%;
  /* position: absolute; */
  transform: translateY(0);
  padding: 10px 10px 20px;
  background: #fffdfc;
  opacity: 1;
  visibility: visible;
}

.snippet-desc .snippet-desc__price {
  display: none;
}

.snippet-full {
  .filterBlock {
    width: 100%;
    column-gap: 24px;
    justify-content: flex-end;
    padding: 20px 0;
  }

  .catalog__navBlock {
    align-items: flex-end;
  }

  .sideMenu {
    padding: 0 15px;
    width: 100%;
  }

  .factoid {
    padding: 46px 0 5px;
  }

  .factoid_wide {
    flex-direction: column;
    height: auto;
  }

  .factoid_wide > img,
  .factoid_wide .factoid {
    width: 100%;
  }

  .factoid_wide .factoid {
    padding: 30px;
  }

  .factoid .c-h4 {
    margin: 15px 0 5px;
  }

  .factoid img {
    width: 30px;
  }

  .factoid:after {
    margin-top: 15px;
  }

  .paging__container {
    width: 330px;
    margin: 40px auto;
  }

  .catalog__headerFeature-text {
    min-width: auto;
  }

  .catalog__headerFeatures {
    column-gap: 0;
    justify-content: space-between;
  }

  .catalog__headerContent {
    padding-bottom: 15px;
  }
}

.card__mainInfoBlock-modBlock .catalog__card-modBlockItem-active {
  background: #bfded6;
  font-weight: 500;
  cursor: default;
}

.snippet .size-label {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  right: 0;
  border-radius: 20px 0px 0px 20px;
  background: rgba(75, 75, 75, 0.6);
  backdrop-filter: blur(4.5px);
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
  color: #fffdfc;
  padding: 5px 20px;
  max-width: 80%;
  text-wrap: balance;
  display: none;
}
.snippet .size-label.active {
  display: block;
}

.snippet-img {
  position: relative;
}

@media (max-width: 767.98px) {
  .snippet .size-label {
    font-size: 10px;
    line-height: 15px;
    padding: 5px 10px;
  }
}
