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

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

.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;
}

.clear-popup {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 z-index: 1000;
}

.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;
 font-size: 24px;
 cursor: pointer;
 line-height: 1;
}

.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;
}

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

.clear-popup__close {
 padding: 12px;
 border-radius: 9px;
 border: 1px solid rgba(0, 0, 0, 0.36);
 line-height: 0;
 opacity: 0.3;
 transition: all .3s;
}

.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;
}

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

@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;
 }

}

@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;
 }
}