.catalog-page .page-title-wrapper {
  background: #EFEFEF;
}

.catalog-page {
  background: #F9F9F9;
}


.catalog-main-section {
  background: #EFEFEF;
  padding: 60px 0;
}

.catalog-main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.catalog-main-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1/1;

}

.catalog-main-item::after {
  content: "";
  width: 100%;
  height: 30%;
  display: block;
  bottom: 0;
  left: 0;
  position: absolute;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%);
  z-index: 2;
}

.catalog-main-bg {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .5s;
}

.catalog-main-item:hover .catalog-main-bg {
  transform: scale(1.04);
}

.catalog-main-title {
  position: absolute;
  bottom: 29px;
  left: 0;
  padding: 0 10px;
  text-align: center;
  width: 100%;
  color: #FFF;
  font-size: 25px;
  font-weight: 500;
  line-height: 125%;
  z-index: 3;
  transition: all .3s;
}

.catalog-main-item:hover .catalog-main-title {
  color: #FFB928;
}

.description-section {
  padding: 30px 0;
  border-top: 1px solid #EEE;
}

.description-title {
  margin-bottom: 20px;
}

.description-content > *:last-child {
  margin-bottom: 0;
}

.description-content p {
  color: #363636;
  font-size: 14px;
  font-weight: 300;
  line-height: 140%;
  margin-bottom: 15px;
}

.description-content.is-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.description-link {
  margin-top: 15px;
  width: fit-content;
  display: block;
  color: #E63737;
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
  border-bottom: 1px solid rgba(230, 55, 55, 0.22);
  transition: all .3s;
}

.description-link:hover {
  border-bottom: 1px solid #E63737;
}


.catalog-page .viewed-slider {
  padding: 20px 0 50px;
  background: #F9F9F9;
}

.page-title-category {
  position: relative;
  overflow: hidden;
  padding-bottom: 30px;
}

.page-title-bg {
  position: absolute;
  left: 0;
  top: -30px;
  width: 100%;
  height: calc(100% + 60px);
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.page-title-category .container {
  position: relative;
  z-index: 2;
}

.subcategories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
  position: relative;
}

/* Стили для слайдера подкатегорий */
.subcategories.slick-initialized {
  display: block;
}

.subcategories.slick-initialized .slick-list {
  margin: 0;
}

.subcategories.slick-initialized .slick-slide {
  padding: 0;
}

/* Стрелки навигации */
.subcategories-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFF;
  border: 1px solid #E5E5E5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #363636;
  transition: all 0.3s ease;
  padding: 0;
}

.subcategories-slider__arrow:hover {
  background: #E63737;
  border-color: #E63737;
  color: #fff;
}

.subcategories-slider__arrow--prev {
  left: -16px;
}

.subcategories-slider__arrow--next {
  right: 5px;
}

.subcategories-slider__arrow.slick-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.subcategories-slider__arrow.slick-disabled:hover {
  background: #FFF;
  border-color: #E5E5E5;
  color: #363636;
}

.subcategory-item {
  display: flex !important;
  border-radius: 900px;
  border: 1px solid #EFEFEF;
  background: #FFF;
  align-items: center;
  gap: 17px;
  padding-right: 10px !important;
  padding-left: 0 !important;
  transition: all .3s;
}

.subcategory-item:hover {
  transform: scale(1.015) translate(0, 0);
}

.subcategory-image {
  line-height: 0;
}

.subcategory-image img {
  min-width: 90px;
  width: 90px;
  height: 90px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 999px;

}

.subcategory-title {
  display: block;
  color: #000;
  font-size: 17px;
  font-weight: 500;
  line-height: 140%;
  transition: all .3s;
}

.subcategory-item:hover .subcategory-title {
  color: #E63737;
}

.subcategory-count {
  color: rgba(54, 54, 54, 0.4);
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
}


.catalog-section {
  padding: 30px 0 60px;
  border-top: 1px solid #EFEFEF;
  background: #F9F9F9;
}

.catalog-toolbar {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
}

.catalog-toolbar__filters {
  display: flex;
  align-items: center;
  gap: 15px;
}

.catalog-toolbar__filter-toggle {
  padding: 11px 20px;
  border-radius: 8px;
  background: #F0F0F0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
  transition: all .3s;
}

.catalog-toolbar__filter-toggle:hover {
  background: rgb(230, 230, 230);
}

.catalog-toolbar__filter-icon {
  min-width: 20px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.catalog-toolbar__filter-count {
  color: #000;
  font-size: 12px;
  font-weight: 300;
  line-height: 140%;
  border-radius: 900px;
  background: #FFB928;
  padding: 0 5px;
}

.catalog-toolbar__clear-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  padding: 0;
}

.catalog-toolbar__clear-filters span {
  color: #E63737;
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
  border-bottom: 1px solid rgba(230, 55, 55, 0.22);
  margin-bottom: -1px;
  transition: all .3s;
}

.catalog-toolbar__clear-filters:hover span {
  border-bottom: 1px solid #E63737;
}

.catalog-toolbar__active-filters {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;

}

.active-filter {
  display: flex;
  padding: 9px 13px;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
  border: 1px solid #EFEFEF;
  background: #FFF;
  cursor: pointer;
}

.active-filter:hover .active-filter__remove {
  opacity: 1;
}

.active-filter__label {
  color: #363636;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 140%;
}

.active-filter__value {
  color: #363636;
  font-size: 13px;
  font-weight: 300;
  line-height: 140%;
}

.active-filter__remove {
  padding: 0;
  background: transparent;
  width: 13px;
  height: 13px;
  opacity: 0.3;
  transition: all .3s;
}

.active-filter__remove path,
.active-filter__remove g {
  transition: all .3s;
}

.active-filter__remove:hover g {
  opacity: 1;
}

.active-filter__remove:hover path {
  stroke: #E63737;
}

.catalog-toolbar__info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.catalog-toolbar__count {
  color: rgb(54, 54, 54, 0.5);
  text-align: center;
  font-size: 13px;
  font-weight: 300;
  line-height: 140%;
  white-space: nowrap;
}

.product-list {
  margin-top: 30px;
}

.catalog-section-empty {
  padding: 30px 0;
}

.catalog-empty {
  text-align: center;
}

.catalog-empty__image {
  line-height: 0;
  margin-bottom: 30px;
}

.catalog-empty__image img {
  min-width: 404px;
  width: 404px;
  height: 299px;
  object-fit: contain;
}

.catalog-empty__icon {
  line-height: 0;
  margin-bottom: 11px;
}

.catalog-empty__icon svg {
  min-width: 29px;
  width: 29px;
  height: 29px;
  aspect-ratio: 1/1;
}

.catalog-empty__title {
  margin-bottom: 6px;
}

.catalog-empty__subtitle {
  color: rgba(54, 54, 54, 0.6);
  font-size: 14px;
  font-weight: 300;
  line-height: 140%;
  margin-bottom: 0;
}

.catalog-empty__button {
  margin-top: 30px;
  width: fit-content;
  margin-inline: auto;
}


.catalog-banner {
  border-radius: 20px;
  background-color: #FEF8EB;
  overflow: hidden;
  position: relative;
  min-height: 419px;
  max-height: 419px;
  display: flex;
  align-items: center;
  padding: 40px;
  background-image: url('../img/catalog/catalog-banner-bg.jpg');
  background-position: left;
  background-size: 100%;
  background-repeat: no-repeat;
  transition: all .5s;
}

.catalog-banner:hover {
  background-size: 102%;
}

.catalog-banner--double {
  grid-column: span 2;
}

.catalog-banner__content {
  max-width: 293px;
  position: relative;
  z-index: 3;
}

.catalog-banner__title {
  margin-bottom: 10px;
}

.catalog-banner__text {
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 300;
  line-height: 140%;
  margin-bottom: 15px;
}

.catalog-banner__link {
  display: block;
  padding: 7px 14px;
  border-radius: 10px;
  background: #FFF;
  color: #E63737;
  font-size: 13px;
  font-weight: 500;
  line-height: 140%;
  transition: all .3s;
  width: fit-content;
}

.catalog-banner__link:hover {
  background: #E63737;
  color: #FFF;
}

.catalog-banner__label {
  display: flex;
  width: fit-content;
  padding: 3px 6px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 10px;
  background: #E63737;
  margin-bottom: 10px;
}

.catalog-banner__label-icon {
  line-height: 0;
}

.catalog-banner__label-icon svg {
  min-width: 13px;
  width: 13px;
  height: 17px;
}

.catalog-banner__label-text {
  color: #FFF;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}


.search-empty__image img {
  height: 240px;
  width: 404px;
  min-width: 404px;
  object-fit: contain;
}

.search-empty__image {
  line-height: 0;
  margin-bottom: 30px;
}

.catalog-empty__search {
  margin-top: 30px;
  max-width: 806px;
  margin-inline: auto;
}

.catalog-section-empty--search {
  background: #F9F9F9;
  padding: 30px 0 60px;
}

.filter-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.60);
  display: none;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.filter-popup-overlay.active {
  display: block;
  opacity: 1;
}

.filter-popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 355px;
  height: 100%;
  padding: 35px 0;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.filter-popup-overlay.active .filter-popup {
  transform: translateX(0);
}

.filter-popup__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: absolute;
  top: 10px;
  right: 10px;
}

.filter-popup__close {
  width: 37px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #000;
  transition: all .3s;
  border-radius: 9px;
  border: 1px solid rgba(0, 0, 0, 0.36);
  opacity: 0.3;
  background: #fff;
}

.filter-popup__close:hover {
  opacity: 1;
}

.filter-popup__content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 30px;
  padding-inline: 35px;
}

.filter-popup__content::-webkit-scrollbar {
  width: 12px;
}

.filter-popup__content::-webkit-scrollbar-track {
  background: #fff;
}

.filter-popup__content::-webkit-scrollbar-thumb {
  background-color: #E63737;
  border-radius: 20px;
  border: 3px solid #fff;
}


.filter-section {
  margin-bottom: 30px;
}

.filter-section:last-child {
  margin-bottom: 0;
}

.filter-section__title {
  color: #000;
  font-size: 17px;
  font-weight: 600;
  line-height: 140%;
  margin-bottom: 15px;
  margin-top: 0;
}

.filter-section__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.filter-checkbox input {
  position: absolute;
  opacity: 0;
}

.filter-checkbox__box {
  width: 22px;
  height: 22px;
  border: 1px solid #EFEFEF;
  border-radius: 6px;
  margin-right: 10px;
  position: relative;
  transition: all 0.3s ease;
}

.filter-checkbox input:checked+.filter-checkbox__box {
  background: #E63737;
  border-color: #E63737;
}

.filter-checkbox input:checked+.filter-checkbox__box::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 7px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-checkbox__label {
  color: #363636;
  font-size: 14px;
  font-weight: 300;
  line-height: 140%;
}


.filter-range__inputs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px;
  border-radius: 9px 9px 0 0;
  border: 1px solid #EFEFEF;
  background: #FFF;
}

.filter-range__input {
  color: #000;
  font-size: 13px;
  font-weight: 300;
  line-height: 140%;
  width: 70px;
  padding: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.filter-range__input--right {
  text-align: right;
}


.filter-range__separator {
  color: #000;
  font-size: 13px;
  font-weight: 300;
  line-height: 140%;
}

.filter-range__slider {
  position: relative;
  height: 11px;
  margin-top: -6px;
}

.filter-range__track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 2px;
  background: #CDCDCD;
  border-radius: 2px;
}

.filter-range__progress {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20%;
  right: 30%;
  height: 2px;
  background: #E63737;
  border-radius: 2px;
}

.filter-range__min,
.filter-range__max {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
}

.filter-range__min::-webkit-slider-thumb,
.filter-range__max::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  background: #E63737;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: all;
}

.filter-popup__footer {
  display: flex;
  padding-inline: 35px;
}


.filter-popup__apply {
  flex: 1;
  cursor: pointer;
}

.filter-toggles {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.filter-toggle {
  display: flex;
  align-items: center;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  min-width: 46px;
  width: 46px;
  height: 24px;
  margin-right: 10px;
}

.toggle-switch__input {
  opacity: 0;
  width: 0;
  height: 0;
  display: none;
}

.toggle-switch__custom {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  background: #CDCDCD;
  border-radius: 13px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.toggle-switch__custom::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.23));
  border-radius: 50%;
  transition: all 0.3s ease;
}

.toggle-switch__input:checked~.toggle-switch__custom {
  background: #5F9F4F;
}

.toggle-switch__input:checked~.toggle-switch__custom::after {
  transform: translateX(22px);
}

.filter-toggle__label {
  color: #000;
  font-size: 14px;
  font-weight: 300;
  line-height: 140%;
  display: flex;
  align-items: center;
  gap: 5px;
  user-select: none;
  cursor: pointer;
}

.sale-icon {
  fill: #FFB928;
  flex-shrink: 0;
}

.filter-radio {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.filter-radio:last-child {
  margin-bottom: 0;
}

.filter-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.filter-radio__box {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #EFEFEF;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.filter-radio__box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E63737;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s ease;
}

.filter-radio input[type="radio"]:checked~.filter-radio__box {
  border: 2px solid #E63737;
}

.filter-radio input[type="radio"]:checked~.filter-radio__box::after {
  transform: translate(-50%, -50%) scale(1);
}

.filter-radio__label {
  color: #363636;
  font-size: 14px;
  font-weight: 300;
  line-height: 140%;
  user-select: none;
}

.wishlist-popup {
  width: 375px;
  display: flex;
  padding: 15px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-radius: 15px;
  background: #FFF;
  box-shadow: 0 350px 98px 0 rgba(0, 0, 0, 0.00), 0 224px 90px 0 rgba(0, 0, 0, 0.01), 0 126px 76px 0 rgba(0, 0, 0, 0.03), 0 56px 56px 0 rgba(0, 0, 0, 0.04), 0 14px 31px 0 rgba(0, 0, 0, 0.05);
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  z-index: 2999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.wishlist-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
  pointer-events: all;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: translateY(calc(-50% + 20px)) scale(0.8);
  }

  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }

  25%,
  75% {
    transform: translateY(calc(-50% - 5px)) scale(1);
  }

  50% {
    transform: translateY(calc(-50% - 8px)) scale(1);
  }
}

.wishlist-popup.shake {
  animation: shake 0.4s ease-in-out;
}

.wishlist-popup.fade-in {
  animation: fadeInScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.wishlist-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 11px;
  line-height: 0;
  background: #fff;
  border-radius: 9px;
  border: 1px solid rgba(0, 0, 0, 0.36);
  opacity: 0.3;
  transition: all .3s;
}

.wishlist-popup__close:hover {
  opacity: 1;
}

.wishlist-popup__close svg {
  min-width: 13px;
  width: 13px;
  height: 13px;
  aspect-ratio: 1/1;
}

.wishlist-popup__title {
  color: #000;
  font-size: 17px;
  font-weight: 600;
  line-height: 140%;
}

.wishlist-popup__content {
  width: 100%;
}

.wishlist-popup__product {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.wishlist-popup__image {
  min-width: 54px;
  width: 54px;
  height: 64px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 10px;
}

.wishlist-popup__name {
  color: #000;
  font-size: 13px;
  font-weight: 400;
  line-height: 146%;
}

.wishlist-popup__price-row {
  margin-top: 4px;
  display: flex;
  gap: 7px;
  align-items: center;
}

.wishlist-popup__price {
  color: #000;
  font-size: 13px;
  font-weight: 500;
  line-height: 140%;
}

.wishlist-popup__discount {
  display: flex;
  gap: 7px;
  align-items: center;
}

.wishlist-popup__discount-price {
  color: #CDCDCD;
  font-size: 12px;
  font-weight: 500;
  line-height: 140%;
  position: relative;
}

.wishlist-popup__discount-price::after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 0;
  background: #CDCDCD;
}

.wishlist-popup__discount-value {
  color: #FFF;
  font-size: 12px;
  font-weight: 500;
  line-height: 140%;
  padding: 1px 4px;
  border-radius: 7px;
  background: #E63737;
}

.wishlist-popup__cart {
  margin-left: auto;
  padding: 12px;
  border-radius: 9px;
  background: #F4F4F4;
  line-height: 0;
  transition: all .3s;
}

.wishlist-popup__cart:hover {
  background: #E63737;
}

.wishlist-popup__cart svg {
  min-width: 13px;
  width: 13px;
  height: 13px;
  aspect-ratio: 1/1;
}

.wishlist-popup__cart path {
  transition: all .3s;
}

.wishlist-popup__cart:hover path {
  stroke: #fff;
}


.cart-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.60);
  display: none;
  z-index: 1002;
  align-items: center;
  justify-content: center;
}

.cart-popup-overlay.active {
  display: flex;
}

.cart-popup {
  background: #FFF;
  border-radius: 15px;
  padding: 35px;
  position: relative;
  max-width: 549px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
}

.cart-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 11px;
  line-height: 0;
  background: #fff;
  border-radius: 9px;
  border: 1px solid rgba(0, 0, 0, 0.36);
  opacity: 0.3;
  transition: all .3s;
}

.cart-popup__close:hover {
  opacity: 1;
}

.cart-popup__close svg {
  min-width: 13px;
  width: 13px;
  height: 13px;
  aspect-ratio: 1/1;
}


.cart-popup__title {
  color: #000;
  font-size: 20px;
  font-weight: 600;
  line-height: 125%;
  margin-bottom: 25px;
}

.cart-popup__product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 25px;
}

.cart-popup__quantity-wrapper {
  width: 151px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}

.cart-popup__quantity {
  display: flex;
  align-items: center;
  text-align: center;
  width: 141px;
  position: relative;
}

/* .cart-popup__quantity::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity ease 0.3;
  background-color: #fff;
}


.cart-popup__quantity-wrapper.loading .cart-popup__quantity::after {
  opacity: 0.5;
  pointer-events: all;
} */

.cart-popup__quantity-btn {
  width: 47px;
  height: 49px;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #EFEFEF;
  transition: all .3s;
}

.cart-popup__quantity-btn.disabled {
  pointer-events: none;
  opacity: 0.5
}

.cart-popup__quantity-btn:hover {
  background: #E63737;
}

.cart-popup__quantity-btn svg {
  min-width: 15px;
  width: 15px;
  height: 15px;
}

.cart-popup__quantity-btn:hover svg path {
  stroke: #fff;
}


.cart-popup__quantity-input {
  text-align: center;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  width: 38px;
}

.cart-popup__quantity-status {
  font-size: 12px;
  color: #E63737;
  line-height: 1.4;
  margin-top: 6px;
  display: none;
}

.cart-popup__quantity-wrapper.max-stock .cart-popup__quantity-status{
  display: inline-block;
}
.cart-popup__quantity-wrapper.max-stock .cart-popup__quantity-input{
  color: #E63737;
}

.cart-popup__footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}



.quickview-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 1001;
  align-items: center;
  justify-content: center;
}

.quickview-popup-overlay.active {
  display: flex;
}

.quickview-popup {
  background: #FFF;
  border-radius: 20px;
  padding: 35px;
  position: relative;
  max-width: 1280px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.quickview-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 11px;
  line-height: 0;
  background: #fff;
  border-radius: 9px;
  border: 1px solid rgba(0, 0, 0, 0.36);
  opacity: 0.3;
  transition: all .3s;
}

.quickview-popup__close:hover {
  opacity: 1;
}

.quickview-popup__close svg {
  min-width: 13px;
  width: 13px;
  height: 13px;
  aspect-ratio: 1/1;
}



.quickview-popup__content {
  display: flex;
  gap: 30px;
}

.quickview-popup__gallery {
  display: flex;
  gap: 15px;
}

.quickview-popup__thumbs {
  flex: 0 0 95px;
}

.quickview-popup__thumb {
  height: 112px;
  width: 95px;
  min-width: 95px;
  object-fit: cover;
  border-radius: 15px;
  cursor: pointer;
  margin-bottom: 10px;
}

.quickview-popup__thumb.active {
  opacity: 0.2;
}

.quickview-popup__main-image {
  position: relative;
  height: fit-content;
}

.quickview-popup__main-image img {
  min-width: 541px;
  width: 541px;
  height: 638px;
  border-radius: 20px;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.quickview-popup__main-image-arrows {
  display: flex;
  gap: 10px;
  align-items: center;
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.quickview-popup__nav {
  width: 53px;
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.20);
  background: transparent;
  padding: 0;
  transition: all .3s;
}

.quickview-popup__nav:hover {
  background: #fff;
  border: 2px solid #fff;
}

.quickview-popup__nav path {
  transition: all .3s;
}

.quickview-popup__nav:hover path {
  stroke: #363636;
}


.quickview-popup__title {
  margin-bottom: 10px;
  max-width: 90%;
}

.quickview-popup__rating {
  display: flex;
  align-items: center;
  gap: 3px;
}

.quickview-popup__stars {
  display: flex;
  align-items: center;
  gap: 3px;
}

.quickview-popup__rating-value {
  color: #000;
  font-size: 12px;
  font-weight: 300;
}

.quickview-popup__sku {
  color: rgba(0, 0, 0, 0.7);
  font-size: 12px;
  font-weight: 300;
  line-height: 140%;
  margin-left: auto;
}

.quickview-popup__price-block {
  margin-top: 20px;
}

.quickview-popup__price {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.quickview-popup__bonus {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px 3px 3px;
  border-radius: 900px;
  background: #FFF8EA;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  line-height: 140%;
  margin-right: 4px;
}

.quickview-popup__bonus-text {
  color: rgba(54, 54, 54, 0.4);
  font-size: 12px;
  font-weight: 300;
}

.quickview-popup__prices {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quickview-popup__current-price {
  color: #000;
  font-size: 33px;
  font-weight: 500;
  line-height: 140%;
}

.quickview-popup__old-price {
  color: #CDCDCD;
  font-size: 23px;
  font-weight: 500;
  line-height: 140%;
  position: relative;
}

.quickview-popup__old-price::after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 0;
  background: #CDCDCD;
}

.quickview-popup__discount {
  color: #FFF;
  font-size: 14px;
  font-weight: 700;
  line-height: 140%;
  padding: 4px 9px;
  border-radius: 8px;
  background: #E63737;
}

.quickview-popup__weight {
  color: rgba(54, 54, 54, 0.6);
  font-size: 14px;
  font-weight: 300;
  line-height: 140%;
}

.quickview-popup__actions {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.quickview-popup__quantity {
  display: flex;
  align-items: center;
}

.quickview-popup__quantity-btn {
  width: 47px;
  height: 49px;
  border-radius: 13px;
  background: #EFEFEF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}

.quickview-popup__quantity-btn:hover {
  background: #E63737;
}

.quickview-popup__quantity-btn path {
  transition: all .3s;
}

.quickview-popup__quantity-btn:hover path {
  stroke: #fff;
}


.quickview-popup__quantity-input {
  text-align: center;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  background: transparent;
}



.quickview-popup__wishlist {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  padding: 0;
}

.quickview-popup__wishlist.added path {
  stroke: #E63737;
  fill: #E63737;
}

.quickview-popup__wishlist-icon {
  line-height: 0;
  width: 56px;
  height: 56px;
  border-radius: 900px;
  background: #FFF0F0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}

.quickview-popup__wishlist-icon svg {
  width: 26px;
  height: 26px;
  aspect-ratio: 1/1;
}

.quickview-popup__wishlist-text {
  color: #000;
  font-size: 15px;
  font-weight: 500;
  line-height: 140%;
  white-space: nowrap;
}


.quickview-popup__wishlist:hover .quickview-popup__wishlist-icon {
  background: #E63737;
}

.quickview-popup__wishlist .quickview-popup__wishlist-icon path {
  transition: all .3s;
}

.quickview-popup__wishlist:hover .quickview-popup__wishlist-icon path {
  stroke: #fff;
}

.quickview-popup__description {
  margin-top: 20px;
}

.quickview-popup__description-title {
  color: #3E4143;
  font-size: 16px;
  font-weight: 600;
  line-height: 140%;
  margin-bottom: 10px;
}

.quickview-popup__description p {
  color: #363C41;
  font-size: 15px;
  font-weight: 300;
  line-height: 140%;
}

.quickview-popup__meta {
  margin-top: 20px;
}

.quickview-popup__meta-item {
  margin-bottom: 9px;
}

.quickview-popup__meta-item:last-child {
  margin-bottom: 0;
}

.quickview-popup__meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quickview-popup__meta-item-title {
  flex: 0;
  color: #363636;
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  white-space: nowrap;
}

.quickview-popup__meta-item-line {
  flex-grow: 1;
  height: 1px;
  background-image: linear-gradient(to right, #CDCDCD 33%, rgba(255, 255, 255, 0) 0%);
  background-position: bottom;
  background-size: 3px 1px;
  background-repeat: repeat-x;
  margin-inline: 10px;
}

.quickview-popup__meta-item-value {
  flex: 0;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
  white-space: nowrap;
}

.quickview-popup__link {
  color: #E63737;
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  border-bottom: 1px solid rgba(230, 55, 55, 0.30);
  transition: all .3s;
}

.quickview-popup__link:hover {
  border-bottom: 1px solid rgba(230, 55, 55, 1);
}

.quickview-popup__goto {
  margin-top: 20px;
}

.quickview-popup__mob {
  display: none;
}

.page-title-category.page-title-category-gift {
  background: #F9F9F9;
}

.quickview-popup__description-title--basket {
  margin-bottom: 5px;
}

.basket__weight {}

.basket__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 15px;
}

.basket__item {
  padding: 8px 12px 8px 8px;
  border-radius: 13px;
  background: #FFF;
  display: flex;
  align-items: center;
  gap: 10px;
}

.basket__image {
  width: 45px;
  height: 45px;
  min-width: 45px;
  border-radius: 10px;
}

.basket__name {
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
}

.basket__link {
  margin-top: 5px;
  display: block;
  width: fit-content;
  color: #E63737;
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  border-bottom: 1px solid rgba(230, 55, 55, 0.30);
  transition: all .3s;
}

.basket__link:hover {
  border-bottom: 1px solid rgba(230, 55, 55, 1);
}



@media (max-width: 1320px) {
  .quickview-popup__main-image img {
    min-width: 441px;
    width: 441px;
    height: 538px;
  }

  .quickview-popup {
    max-width: calc(100% - 30px);
  }

  .quickview-popup__actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 1150px) {
  .quickview-popup__main-image img {
    min-width: 341px;
    width: 341px;
    height: 438px;
  }
}


@media (max-width: 1024px) {
  .catalog-main-title {
    font-size: 20px;
  }

  .subcategories {
    margin-top: 20px;
  }

  /* Убираем стрелки на планшетах */
  .subcategories-slider__arrow {
    display: none;
  }

  .quickview-popup__content {
    flex-direction: column;
    gap: 20px;
  }

  .quickview-popup__main-image img {
    min-width: 441px;
    width: 441px;
    height: 538px;
  }

}

@media (max-width: 850px) {
  .catalog-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .catalog-main-section {
    padding: 25px 0 30px;
  }

  .catalog-main-grid {
    gap: 10px;
  }

  .catalog-main-title {
    font-size: 14px;
    bottom: 12px;
  }

  .description-title {
    margin-bottom: 14px;
  }

  .description-content p {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .catalog-page .viewed-slider {
    padding: 0 0 30px;
  }

  .catalog-empty__image img {
    min-width: 264px;
    width: 264px;
    height: 195px;
  }

  .catalog-empty__image {
    margin-bottom: 20px;
  }

  .catalog-empty__subtitle {
    font-size: 13px;
  }


  .catalog-empty__button {
    margin-top: 20px;
  }

  .search-empty__image img {
    height: 157px;
    width: 264px;
    min-width: 264px;
    object-fit: contain;
  }

  .search-empty__image {
    margin-bottom: 20px;
  }

  .catalog-empty__search {
    margin-top: 20px;
  }

  .catalog-section-empty--search {
    background: #F9F9F9;
    padding: 30px 0;
  }

  .catalog-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .catalog-toolbar__info {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
  }

  .catalog-toolbar__filters {
    margin-bottom: 10px;
    width: 100%;
  }

  .catalog-toolbar__filter-toggle {
    font-size: 13px;
  }

  .product-list {
    margin-top: 20px;
  }

  .subcategory-item {
    width: 65vw;
    min-width: 65vw;
    gap: 10px;
  }

  .subcategory-image img {
    min-width: 55px;
    width: 55px;
    height: 55px;
  }

  .subcategory-title {
    font-size: 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    align-self: stretch;
  }

  .subcategory-count {
    font-size: 12px;
  }

  .subcategories {
    margin-top: 25px;
  }

  .catalog-banner {
    min-height: 226px;
    padding: 20px;
    background-position: 40px;
  }

  .catalog-banner__label {
    margin-bottom: 6px;
  }

  .catalog-banner__title {
    max-width: 220px;
    margin-bottom: 6px;
  }

  .catalog-banner__text {
    font-size: 13px;
    max-width: 206px;
    margin-bottom: 9px;
  }


  .filter-popup {
    width: 330px;
    padding-bottom: 15px;
  }

  .filter-popup__content {
    padding-inline: 15px;
  }

  .filter-toggles {
    gap: 10px;
  }

  .filter-section__title {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .filter-section__list {
    gap: 10px;
  }

  .filter-popup__footer {
    display: flex;
    padding-inline: 15px;
    padding-top: 15px;
  }

  .catalog-section {
    padding: 30px 0;
  }

  .wishlist-popup {
    position: fixed;
    bottom: 64px;
    left: 15px;
    right: 0;
    top: auto;
    transform: translateY(100%);
    width: 100%;
    max-width: calc(100% - 30px);
    padding: 15px;
  }

  .wishlist-popup.active {
    transform: translateY(0);
  }

  @keyframes shake-mobile {

    0%,
    100% {
      transform: translateY(0);
    }

    25%,
    75% {
      transform: translateY(-5px);
    }

    50% {
      transform: translateY(-8px);
    }
  }

  .wishlist-popup.shake {
    animation: shake-mobile 0.4s ease-in-out;
  }


  .cart-popup {
    padding: 15px;
  }

  .cart-popup__title {
    margin-bottom: 15px;
    max-width: 168px;
  }

  .cart-popup__product {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
  }
  .cart-popup__quantity-wrapper {
    width: 100%;
    align-items: center;
  }
  
  .cart-popup__quantity-status {
    text-align: center;
  }

  .cart-popup__quantity {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    justify-content: center;
    position: relative;
  }

  .quickview-popup__mob {
    display: block;
  }

  .quickview-popup {
    padding: 15px;
    gap: 15px;
    background: #F9F9F9;
    border-radius: 10px;
  }

  .quickview-popup__info .quickview-popup__title,
  .quickview-popup__info .quickview-popup__rating {
    display: none;
  }

  .quickview-popup__price-block {
    margin-top: 5px;
  }

  .quickview-popup__title {
    font-size: 22px;
  }

  .quickview-popup__content {
    gap: 15px;
  }

  .quickview-popup__nav {
    width: 44px;
    height: 44px;
  }

  .quickview-popup__nav svg {
    width: 12px;
    height: 12px;
  }

  .quickview-popup__price-block {
    padding: 14px;
    border-radius: 16px;
    background: #FFF;
  }

  .quickview-popup__price {
    margin-bottom: 0;
  }

  .quickview-popup__current-price {
    font-size: 28px;
  }

  .quickview-popup__old-price {
    font-size: 19px;
  }

  .quickview-popup__discount {
    font-size: 13px;
  }

  .quickview-popup__weight {
    font-size: 13px;
  }

  .quickview-popup__actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
  }

  .quickview-popup__cart {
    width: calc(100% - 135px);
  }

  .quickview-popup__quantity-btn {
    width: 43px;
    height: 45px;
  }

  .quickview-popup__wishlist-icon {
    width: 36px;
    height: 36px;
  }

  .quickview-popup__wishlist-icon svg {
    width: 18px;
    height: 18px;
  }

  .quickview-popup__wishlist-text {
    font-size: 13px;
  }

  .quickview-popup__description {
    margin-top: 15px;
  }

  .quickview-popup__description-title {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .quickview-popup__description p {
    font-size: 13px;
  }

  .quickview-popup__meta {
    margin-top: 15px;
  }

  .basket__link {
    margin-top: 10px;
  }

  .filter-popup__close {
    background: #fff;
    opacity: 1;
    z-index: 5;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .filter-popup__close path {
    stroke: rgba(0, 0, 0, 0.3);
  }

}

@media (max-width: 650px) {
  .quickview-popup__thumbs {
    display: none;
  }

  .quickview-popup__main-image {
    width: 100%;
  }

  .quickview-popup__main-image img {
    min-width: 100%;
    width: 100%;
    height: auto;
  }

  .catalog-toolbar__active-filters {
    margin-top: 0;
  }

  .quickview-popup__description-title.quickview-popup__description-title--basket {
    margin-bottom: 1px;
  }
}


@media (max-width: 580px) {
  .cart-popup__footer {
    grid-template-columns: repeat(1, 1fr);
  }

  .cart-popup__footer a {
    height: 61px;
  }

  .cart-popup {
    padding: 15px;
    max-width: calc(100% - 30px);
  }

  .basket__grid {
    grid-template-columns: repeat(1, 1fr);
  }

}