.page-title-wrapper--wishlist.page-title-bg {
  position: static;
}
.page-title-bg {
 padding: 30px 0;
 background: #EFEFEF;
}

.wishlist-section {
 padding: 30px 0 60px;
}

.wishlist-loading {
 display: flex;
 justify-content: center;
 align-items: center;
 padding: 60px 0;
}

.wishlist-loading__spinner {
 width: 40px;
 height: 40px;
 border: 3px solid #EFEFEF;
 border-top-color: #E63737;
 border-radius: 50%;
 animation: spinner-rotate 0.8s linear infinite;
}

@keyframes spinner-rotate {
 to {
  transform: rotate(360deg);
 }
}

.wishlist-no-results {
 text-align: center;
 padding: 40px 20px;
 color: rgba(54, 54, 54, 0.6);
 font-size: 14px;
}

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

.wishlist-empty__img {
 line-height: 0;
}

.wishlist-empty__img img {
 min-width: 404px;
 width: 404px;
 max-height: 240.422px;
}

.wishlist-empty__content {
 margin-top: 30px;
}

.wishlist-empty__content-icon {
 line-height: 0;
 margin-bottom: 11px;
}

.wishlist-empty__content-icon svg {
 width: 29px;
 height: 29px;
 aspect-ratio: 1/1;
}

.wishlist-empty__content-title {
 text-align: center;
 margin-bottom: 6px;
}

.wishlist-empty__content-subtitle {
 color: rgba(54, 54, 54, 0.6);
 text-align: center;
 font-size: 14px;
 font-weight: 300;
 line-height: 140%;
 margin-bottom: 20px;
}

.wishlist-empty__content-btn {
 width: fit-content;
 margin: 0 auto;
}



.wishlist__head {
 margin-bottom: 30px;
 display: flex;
 align-items: center;
 justify-content: space-between;
}

.toolbar-left {
 display: flex;
 align-items: center;
 gap: 43px;
}

.radio-wrap {
 display: flex;
 align-items: center;
 gap: 10px;
 cursor: pointer;
}

.radio-option input[type="radio"] {
 accent-color: red;
 width: 16px;
 height: 16px;
}

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

.radio-wrap input {
 position: absolute;
 opacity: 0;
 width: 0;
 height: 0;
}

.radio-fake {
 width: 18px;
 height: 18px;
 border: 1px solid #EFEFEF;
 border-radius: 50%;
 position: relative;
 transition: border-color 0.2s;
}

.radio-fake::after {
 content: "";
 position: absolute;
 top: 50%;
 left: 50%;
 width: 8px;
 height: 8px;
 background-color: #d63e3e;
 border-radius: 50%;
 transform: translate(-50%, -50%) scale(0);
 transition: transform 0.15s ease;
}

.radio-wrap input:checked+.radio-fake {
 border: 2px solid #d63e3e;
}

.radio-wrap input:checked+.radio-fake::after {
 transform: translate(-50%, -50%) scale(1);
}

.radio-wrap:hover .radio-fake {
 border-color: #d63e3e;
}

.radio-wrap input:focus-visible+.radio-fake {
 box-shadow: 0 0 0 3px rgba(214, 62, 62, 0.4);
}

.clear-btn {
 background: transparent;
 display: flex;
 align-items: center;
 gap: 6px;
}

.clear-btn__icon {
 line-height: 0;
}

.clear-btn__icon svg {
 width: 18px;
 height: 18px;
 aspect-ratio: 1/1;
}

.clear-btn__text {
 color: #E63737;
 font-size: 14px;
 font-style: normal;
 font-weight: 500;
 line-height: 140%;
 border-bottom: 1px solid rgba(230, 55, 55, 0.22);
 transition: all .3s;
}

.clear-btn:hover .clear-btn__text {
 border-bottom: 1px solid #E63737;
}

.toolbar-right {
 display: flex;
 align-items: center;
 gap: 20px;
}

.products-count {
 color: rgba(54, 54, 54, 0.5);
 font-size: 13px;
 font-weight: 300;
 line-height: 140%;
 margin-bottom: 0;
}

.sort-select {
 position: relative;
 width: 302px;
 cursor: pointer;
}

.sort-select__button {
 border-radius: 9px;
 border: 1px solid #EFEFEF;
 background: #FFF;
 display: flex;
 align-items: center;
 gap: 7px;
 padding: 16px 20px;
 transition: all .3s;
 white-space: nowrap;
 width: 100%;
 justify-content: space-between;
}

.sort-select:hover .sort-select__button {
 border: 1px solid #E63737;
}

.sort-select__icon {
 line-height: 0;
 display: flex;
 align-items: center;
}

.sort-select__icon svg {
 width: 16px;
 height: 16px;
}

.sort-select__icon svg path {
 transition: all .3s;
}

.sort-select:hover .sort-select__icon svg path {
 stroke: #E63737;
}

.sort-select__text {
 color: rgba(0, 0, 0, 0.6);
 font-size: 13px;
 font-weight: 300;
 line-height: 140%;
 transition: all .3s;
 flex: 1;
}

.sort-select:hover .sort-select__text {
 color: #E63737;
}

.sort-select__arrow {
 line-height: 0;
 transition: all .3s;
}

.sort-select__arrow path {
 transition: all .3s;
}

.sort-select:hover .sort-select__arrow path {
 stroke: #E63737;
}

.sort-select__dropdown {
 position: absolute;
 top: 100%;
 left: 0;
 background: #FFF;
 border: 1px solid #EFEFEF;
 border-radius: 15px;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 z-index: 1000;
 display: none;
 margin-top: 5px;
 width: 100%;
}

.sort-select__dropdown.show {
 display: block;
}

.sort-select__dropdown-item {
 padding: 11px 19px;
 color: #363636;
 font-size: 13px;
 font-weight: 500;
 line-height: 140%;
 cursor: pointer;
 transition: all .3s;
 border-bottom: 1px solid #EFEFEF;
 white-space: nowrap;
}

.sort-select__dropdown-item:last-child {
 border-bottom: none;
 border-radius: 0 0 15px 15px;
}

.sort-select__dropdown-item:first-child {
 border-radius: 15px 15px 0 0;
}

.sort-select__dropdown-item:hover {
 background: #F4F4F4;
 color: #E63737;
}

.sort-select__dropdown-item.selected {
 background: #E63737;
 color: #FFF;
}

.sort-select__dropdown-item.selected:hover {
 background: #E63737;
 color: #FFF;
}






.more-product-wrapper {
 display: flex;
 justify-content: center;
 margin-top: 30px;
}

.more-product {
 color: #E63737;
 font-size: 13px;
 font-weight: 500;
 line-height: 140%;
 padding: 10px 14px;
 border-radius: 10px;
 background: #FFF5F5;
 max-width: 500px;
 width: 500px;
 text-align: center;
 transition: all .3s;
}

.more-product:hover {
 color: #fff;
 background: #E63737;
}

.product-list {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 20px;
 transition: opacity 0.3s;
}

.product-list.loading {
 opacity: 0.5;
 pointer-events: none;
}

.clear-popup {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 z-index: 100002;
 opacity: 0;
 visibility: hidden;
 pointer-events: none;
 transition: opacity 0.3s, visibility 0.3s;
}

.clear-popup.active {
 opacity: 1;
 visibility: visible;
 pointer-events: auto;
}

.clear-popup__overlay {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0, 0, 0, 0.5);
}

.clear-popup__wrapper {
 position: relative;
 display: flex;
 align-items: center;
 justify-content: center;
 width: 100%;
 height: 100%;
}

.clear-popup__container {
 position: relative;
 background: white;
 border-radius: 20px;
 padding: 35px;
 max-width: 533px;
 width: 100%;
}

.clear-popup__close {
 position: absolute;
 top: 10px;
 right: 15px;
 background: none;
 border: none;
 padding: 12px;
 border-radius: 9px;
 border: 1px solid rgba(0, 0, 0, 0.36);
 line-height: 0;
 opacity: 0.3;
 cursor: pointer;
 transition: all .3s;
}

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

.clear-popup__close svg path {
 transition: all .3s;
}

.clear-popup__close:hover {
 opacity: 1;
 border: 1px solid #E63737;
}

.clear-popup__close:hover svg path {
 stroke: #E63737;
}

.clear-popup__title {
 margin-bottom: 30px;
}

.clear-popup__text {
 color: rgba(54, 54, 54, 0.8);
 font-size: 15px;
 font-weight: 400;
 line-height: 140%;
}

.clear-popup__count {
 font-weight: 700;
}

.clear-popup__btns {
 margin-top: 30px;
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 20px;
}

.clear-popup__btn-close {
 cursor: pointer;
 padding: 11px 31px;
 border-radius: 10px;
 border: 1.3px solid rgba(230, 55, 55, 0.14);
 display: flex;
 align-items: center;
 justify-content: center;
 color: #E63737;
 font-size: 14px;
 font-weight: 500;
 line-height: 140%;
 transition: all .3s;
}

.clear-popup__btn-close:hover {
 background: #E63737;
 color: #fff;
}

.sale-wrapper {
 display: flex;
 align-items: center;
 gap: 7px;
}

/* Wishlist Popup */
.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: 12999;
  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;
}

@media (max-width: 1124px) {
 .toolbar-left {
  gap: 15px;
 }

 .sort-select {
  position: relative;
  width: 235px;
 }
}

@media (max-width: 1024px) {
 .product-list {
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  align-items: stretch;
 }

 .wishlist__head {
  flex-wrap: wrap;
  gap: 15px;
 }
}

@media (max-width: 768px) {

 .wishlist__head {
  margin-bottom: 20px;
  gap: 20px;
 }

 .product-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 18px;
 }


 .toolbar-left {
  gap: 15px;
  flex-wrap: wrap;
  justify-content: space-between;
 }

 .clear-btn {
  margin: 0 auto;
 }


 .sale-wrapper {
  gap: 7px;
  width: 100%;
  order: -1;
 }

 .more-product-wrapper {
  margin-top: 20px;
 }

 .clear-popup__container {
  border-radius: 15px;
  padding: 15px;

 }

 .clear-popup__title {
  margin-bottom: 15px;
  max-width: 239px;
 }

 .clear-popup__text {
  font-size: 14px;
 }

 .clear-popup__btns {
  margin-top: 15px;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
 }

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

 .wishlist-empty__img img {
  min-width: 264px;
  width: 264px;
  max-height: 157px;
 }

 .wishlist-empty__content {
  margin-top: 20px;
 }

 .wishlist-empty__content-subtitle {
  font-size: 13px;
 }

 .wishlist-popup {
  position: fixed;
  bottom: 60px;
  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 fadeInScale {
  0% {
   opacity: 0;
   transform: translateY(20px);
  }

  100% {
   opacity: 1;
   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;
 }

}

@media (max-width: 600px) {
 .clear-popup__container {
  max-width: calc(100vw - 30px);
 }
}

@media (max-width: 500px) {
 .toolbar-right {
  gap: 11px;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
 }

 .sort-select {
  width: 100%;
  display: block;
 }
}