.single-product {
 background: #F9F9F9;
}



.product-card {
 padding: 30px 0;
}

.product-card__content {
 display: flex;
 gap: 30px;
}

.product-card__gallery {
 flex: 1 1 743px;
 max-width: 743px;
}

.product-gallery {
 display: flex;
 gap: 15px;
}

.product-gallery__thumbs {
 flex: 0 0 94px;
 max-width: 94px;
}

.product-gallery__thumb {
 line-height: 0;
 margin-bottom: 15px;
 cursor: pointer;
}

.product-gallery__thumb--active {
 opacity: 0.2;
}

.product-gallery__thumb-img {
 height: 112px;
 width: 94px;
 min-width: 94px;
 border-radius: 15px;
 object-fit: cover;
}

.product-gallery__main {
 border-radius: 20px;
 overflow: hidden;
 height: fit-content;
 width: fit-content;
 position: relative;
}

.product-gallery__main-image {
 height: fit-content;
 width: fit-content;
 line-height: 0;
 touch-action: pan-y;
 /* Разрешаем вертикальный скролл, но блокируем горизонтальный */
}

.product-gallery__main-img {
 width: 633px;
 height: 747px;
 object-fit: cover;
 transition: all 0.3s ease;
 transform: translateX(0);
}

.product-gallery__main-img.loading {
 opacity: 0.7;
}

.product-gallery__main-img.swipe-left {
 transform: translateX(-20px);
 opacity: 0.8;
}

.product-gallery__main-img.swipe-right {
 transform: translateX(20px);
 opacity: 0.8;
}

.product-gallery__nav {
 display: flex;
 align-items: center;
 gap: 10px;
 position: absolute;
 bottom: 15px;
 right: 15px;
}

.product-gallery__nav-btn {
 min-width: 53px;
 width: 53px;
 height: 53px;
 border-radius: 15px;
 border: 2px solid rgba(255, 255, 255, 0.20);
 line-height: 0;
 background: transparent;
 transition: all .3s;
}

.product-gallery__nav-btn:hover {
 background: #fff;
}

.product-gallery__nav-btn svg {
 width: 17px;
 height: 17px;
}

.product-gallery__nav-btn path {
 transition: all .3s;
}

.product-gallery__nav-btn:hover path {
 stroke: rgba(54, 54, 54, 1);
}

.product-info__title {
 margin-bottom: 10px;
}

.product-info__rating {
 display: flex;
 align-items: center;
 justify-content: space-between;
 width: 100%;
}

.product-rating {
 display: flex;
 align-items: center;
 gap: 3px;
 cursor: pointer;
 transition: all 0.3s ease;
}

.product-info__rating .product-rating:hover {
 opacity: 0.8;
}

.product-rating__stars {
 display: flex;
 align-items: center;
 gap: 3px;
}

.product-rating__star svg {
 width: 16px;
 height: 16px;
 aspect-ratio: 1/1;
}

.product-rating__star--active svg path {
 fill: #FFB928;
}

.product-rating__value {
 color: #000;
 font-size: 12px;
 font-weight: 300;
 line-height: 1;
}

.product-info__article {
 color: rgba(0, 0, 0, 0.7);
 font-size: 12px;
 font-weight: 300;
 line-height: 140%;
}

.product-info__price {
 margin-top: 20px;
 padding: 15px;
 border-radius: 16px 16px 0 0;
 background: #FFF;
}

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

.product-price__wrapper {
 display: flex;
 align-items: center;
 gap: 10px;
}

.product-price__current {
 color: #000;
 font-size: 31px;
 font-weight: 500;
 line-height: 140%;
}

.product-price__old {
 color: #CDCDCD;
 font-size: 21px;
 font-weight: 500;
 line-height: 140%;
 position: relative;
}

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

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

.product-price__bonus-wrapper {
 padding: 5px 13px 5px 5px;
 border-radius: 19px;
 border: 1px solid #FFB928;
 display: flex;
 align-items: center;
 gap: 8px;
 width: fit-content;
}

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

.product-price__bonus-icon {
 line-height: 0;
}

.product-price__bonus-icon svg {
 width: 15px;
 height: 15px;
 aspect-ratio: 1/1;
}

.product-price__bonus-text {
 color: rgba(54, 54, 54, 0.6);
 font-size: 12px;
 font-weight: 300;
 line-height: 116%;
 width: 83px;
}


.product-actions {
 padding: 13px 15px;
 border-radius: 0 0 16px 16px;
 background: #EFEFEF;
 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.04) inset;
 display: flex;
 gap: 20px;
}


.product-quantity {
 display: flex;
 align-items: center;
 padding: 6px 0;
}

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

.product-quantity__btn:hover {
 background: #E63737;
}

.product-quantity__btn path {
 transition: all .3s;
}

.product-quantity__btn:hover path {
 stroke: #fff;
}


.product-quantity__input {
 color: #000;
 font-size: 18px;
 font-weight: 400;
 line-height: 140%;
 background: transparent;
 text-align: center;
 width: 80px;
 pointer-events: none;
}


.product-actions__weight {
 border: 1.3px solid #D9D9D9;
 position: relative;
 background: #EFEFEF;
 border-radius: 6px;
}

.product-actions__weight-text {
 color: rgba(54, 54, 54, 0.8);
 font-size: 13px;
 font-weight: 500;
 line-height: 140%;
 padding: 3px 7px;
 width: 100%;
 text-align: center;
 background: #EFEFEF;
 border-radius: 6px;
 z-index: 2;
 position: relative;
}

.product-actions__weight::after {
 content: "";
 width: 10.318px;
 height: 10.318px;
 position: absolute;
 left: 50%;
 top: -4px;
 background: #EFEFEF;
 border: 1px solid #D9D9D9;
 transform: translateX(-50%) rotate(45deg);
 z-index: 0;
}

.product-actions__buttons {
 display: flex;
 align-items: flex-start;
 width: 100%;
 gap: 14px;
}

.product-btn--cart {
 flex: 1;
}

.product-btn--wishlist {
 width: 56px;
 height: 56px;
 border-radius: 900px;
 background: #FFE5E5;
 display: flex;
 align-items: center;
 justify-content: center;
 line-height: 0;
 padding: 3px 0;
}

.product-btn--wishlist svg {
 width: 26px;
 height: 26px;
 aspect-ratio: 1/1;
}

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


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

.product-description__text,
.product-description p,
.product-description li,
.product-description a {
 color: #363636;
 font-size: 15px;
 font-weight: 300;
 line-height: 140%;
}

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

.product-details {
 width: 100%;
}

.product-details__row {
 display: flex;
 margin-bottom: 9px;
 width: 100%;
 justify-content: space-between;
 align-items: center;
}

.product-details__label {
 color: rgba(54, 54, 54, 0.8);
 font-size: 14px;
 font-weight: 400;
 line-height: 140%;
}

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

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

.product-description__read-more {
 background: transparent;
 padding: 0;
 color: #E63737;
 font-size: 14px;
 font-weight: 400;
 line-height: 140%;
 border-bottom: 1px solid rgba(230, 55, 55, 0.30);
 transition: all .3s;
}

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

.product-tabs {
 padding-bottom: 60px;
 background: #fff;
}

.product-tabs__nav {
 display: flex;
 gap: 30px;
 margin-bottom: 30px;
}

.product-tabs__btn {
 padding: 19px 0;
 background: transparent;
 border-bottom: 1px solid transparent;
 transition: all .3s;
 color: rgba(0, 0, 0, 0.5);
 font-size: 17px;
 font-weight: 500;
 line-height: 140%;
 display: flex;
 align-items: center;
 gap: 7px;
}

.product-tabs__btn--active {
 border-bottom: 1px solid #E63737;
 color: #000;
}

.product-tabs__count {
 min-width: 19px;
 color: #FFF;
 font-size: 12px;
 font-weight: 600;
 line-height: 140%;
 display: flex;
 padding: 1px 3px;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 border-radius: 900px;
 background: #E63737;
}



.product-about__content {
 display: flex;
 gap: 30px;
}

.product-about__main {
 flex: 1 1;
}

.product-about__title {
 margin-bottom: 20px;
}

.product-about__text > *{
 color: rgb(0, 0, 0, 0.8);
 font-size: 15px;
 font-weight: 300;
 line-height: 140%;
}

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


.product-about__nutrition {
 margin-top: 20px;
 padding: 12px 15px;
 border-top: 1px solid #EFEFEF;
 border-bottom: 1px solid #EFEFEF;
}

.product-about__nutrition-title {
 color: #000;
 font-size: 13px;
 font-weight: 500;
 line-height: 140%;
}

.product-nutrition {
 margin-top: 6px;
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 width: 343px;
 max-width: 343px;
}

.product-nutrition__value {
 color: #000;
 font-size: 19px;
 font-weight: 700;
 line-height: 140%;
 display: block;
}

.product-nutrition__label {
 color: rgba(54, 54, 54, 0.5);
 font-size: 14px;
 font-weight: 500;
 line-height: 140%;
}

.product-about__aside {
 flex: 1 1 522px;
 max-width: 522px;
}

.product-promo {
 padding: 30px;
 border-radius: 20px;
 background: #FFF0F0;
 position: relative;
 overflow: hidden;
}

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

.product-promo__badge-icon {
 line-height: 0;
}

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

.product-promo__title {
 max-width: 293px;
 margin-bottom: 10px;
}

.product-promo__text {
 max-width: 293px;
 color: rgba(0, 0, 0, 0.6);
 font-size: 14px;
 font-weight: 300;
 line-height: 140%;
 margin-bottom: 15px;
}

.product-promo__link {
 padding: 7px 14px;
 border-radius: 10px;
 background: #FFF;
 color: #E63737;
 font-size: 13px;
 font-weight: 500;
 line-height: 140%;
 transition: all .3s;
}

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

.product-promo__image {
 position: absolute;
 bottom: -6px;
 right: -7px;
 transition: all .5s;
}

.product-promo:hover .product-promo__image {
 transform: scale(1.03);
}

.product-promo__img {
 min-width: 229px;
 width: 229px;
 height: 233px;
 flex-shrink: 0;
 object-fit: contain;
}

.product-btn--wishlist.added path {
 fill: #E63737;
 stroke: #E63737;
}

.product-btn--cart.cart-btn--added {
 background: #5F9F4F !important;
}



.product-reviews__content {
 display: flex;
 gap: 40px;
}

.product-reviews__left {
 flex: 1 1 100%;
 max-width: 100%;
}

.product-reviews__title {
 margin-bottom: 20px;
}

.review-item {
 margin-bottom: 20px;
 padding: 25px;
 border-radius: 18px;
 background: #F9F9F9;
}

.review-item__header {
 display: flex;
 align-items: center;
 width: 100%;
 gap: 10px;
 margin-bottom: 14px;
}

.review-item__avatar-img {
 min-width: 60px;
 width: 60px;
 height: 60px;
 border-radius: 999px;
 object-fit: cover;
}

.review-item__name {
 color: #000;
 font-size: 15px;
 font-weight: 600;
 line-height: 140%;
 margin-bottom: 1px;
}

.review-item__date {
 color: #A5AAAE;
 font-size: 13px;
 font-weight: 300;
 line-height: 140%;
}

.review-item__rating {
 margin-left: auto;
 display: flex;
 align-items: center;
 gap: 3px;
}

.review-item__rating-text {
 color: #000;
 font-size: 12px;
 font-weight: 300;
 line-height: 140%;
}

.review-item__title {
 color: #363636;
 font-size: 16px;
 font-style: italic;
 font-weight: 400;
 line-height: 140%;
 position: relative;
 padding-left: 21px;
 margin-bottom: 5px;
}

.review-item__title::after {
 content: "";
 position: absolute;
 width: 15px;
 height: 10px;
 left: 0;
 top: 0;
 background: url("../img/icons/title-review.svg") center no-repeat;
 background-size: contain;
}

.review-item__text * {
 color: #363636;
 font-size: 14px;
 font-weight: 300;
 line-height: 140%;
}

.review-item__photos {
 margin-top: 15px;
 display: flex;
 gap: 10px;
 flex-wrap: wrap;
}

.review-item__photo {
 line-height: 0;
}

.review-item__photo-img {
 min-width: 90px;
 width: 90px;
 height: 90px;
 border-radius: 10px;
 object-fit: cover;
 cursor: pointer;
 transition: all 0.2s ease;
}

.review-item__photo-img:hover {
 transform: scale(1.05);
}

.reviews-pagination .pagination {
 margin-top: 30px;
}

.product-reviews__right {
 flex: 1 1 325px;
 max-width: 325px;
 min-width: 325px;
}

.reviews-summary {
 margin-top: 57px;
 padding: 25px;
 border-radius: 20px;
 border: 1px solid #EFEFEF;
}

.reviews-summary__rating {
 display: flex;
 gap: 10px;
 align-items: center;
}

.reviews-summary__score {
 color: #232126;
 font-size: 49px;
 font-weight: 700;
 line-height: 120%;
}

.reviews-summary__stars {
 display: flex;
 align-items: center;
 gap: 3px;
}

.reviews-summary__rating-text {
 color: #000;
 font-size: 12px;
 font-weight: 300;
 /* line-height: 140%; */
}

.reviews-summary__count {
 display: flex;
 gap: 5px;
 align-items: center;
 margin-top: 5px;
}

.reviews-summary__count-icon {
 line-height: 0;
}

.reviews-summary__count-icon svg {
 width: 12px;
 height: 12px;
}

.reviews-summary__count-text {
 color: #000;
 font-size: 13px;
 font-weight: 400;
 line-height: 140%;
}

.reviews-summary__note {
 margin-top: 10px;
 color: rgba(54, 54, 54, 0.5);
 font-size: 12px;
 font-weight: 300;
 line-height: 140%;
}

.reviews-summary__breakdown {
 margin-top: 30px;
}

.reviews-breakdown__item {
 display: flex;
 align-items: center;
 gap: 10px;
 margin-bottom: 10px;
}

.reviews-breakdown__item:last-child {
 margin-bottom: 0;
}

.reviews-breakdown__rating {
 display: flex;
 align-items: center;
 gap: 6px;
 justify-content: space-between;
 color: #000;
 font-size: 13px;
 font-weight: 400;
 line-height: 140%;
 width: 33px;
 min-width: 34px;
}

.reviews-breakdown__rating svg {
 min-width: 21px;
 width: 21px;
 height: 21px;
}

.reviews-breakdown__bar {
 height: 5px;
 width: 100%;
 border-radius: 900px;
 background: #E8E8E8;
 position: relative;
}

.reviews-breakdown__fill {
 height: 5px;
 width: 100%;
 border-radius: 900px;
 background: #FFB928;
 top: 0;
 left: 0;
}

.reviews-summary__write-btn {
 margin-top: 30px;
}

.single-product .popular-slider {
 padding: 30px 0 60px;
}

.product-btn--wishlist-text {
 display: none;
}

.product-reviews__right .product-reviews__title {
 display: none;
}

.product-tabs__panel {
 display: none;
}

.product-tabs__panel--active {
 display: block;
}


.product-bottom-panel {
 position: fixed;
 width: 100%;
 bottom: 0;
 border-top: 1px solid #F9F9F9;
 border-bottom: 1px solid #F9F9F9;
 background: #FFF;
 padding: 7px 0;
 box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.25);
 transform: translateY(100%);
 opacity: 0;
 visibility: hidden;
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 z-index: 1000;
}

.product-bottom-panel--visible {
 transform: translateY(0);
 opacity: 1;
 visibility: visible;
}

.product-bottom-panel__content {
 display: flex;
 justify-content: space-between;
 width: 100%;
 align-items: center;
}

.product-bottom-panel__product {
 display: flex;
 gap: 15px;
 align-items: center;
}

.product-bottom-panel__image {
 width: 50px;
 min-width: 50px;
 height: 59px;
 object-fit: cover;
 border-radius: 8px;
}

.product-bottom-panel__title {
 color: #000;
 font-size: 16px;
 font-weight: 500;
 line-height: 140%;
 margin-bottom: 5px;
 width: max-content;
}

.product-bottom-panel__rating {
 display: flex;
 align-items: center;
 gap: 3px;
}

.product-rating__stars {
 display: flex;
}

.product-rating__stars svg {
    width: 16px;
    height: 16px;
}

.product-rating__text {
 color: #000;
 font-size: 12px;
 font-weight: 300;
 line-height: 140%;
}

.product-bottom-panel__actions {
 justify-content: flex-end;
 align-items: center;
}

.product-bottom-panel__actions .product-btn--cart {
 flex: 0;
 background: #E63737;
}

.product-bottom-panel__actions .product-btn--cart:hover {
 background: #000;
}

.product-bottom-panel__actions .cart-btn__icon svg {
 width: 41px;
 height: 41px;
 min-width: 42px;
}

.product-bottom-panel__actions .product-btn--wishlist-text {
 display: flex;
 color: #000;
 font-size: 15px;
 font-weight: 500;
 line-height: 140%;
}

.product-bottom-panel__actions .product-btn--wishlist-text-wrapper {
 display: flex;
 align-items: center;
 gap: 10px;
 cursor: pointer;

}

.product-btn--wishlist-text {
 transition: all .3s;
}

.product-btn--wishlist-text-wrapper:hover .product-btn--wishlist-text {
 color: #E63737;
}

.product-bottom-panel__actions .product-btn--wishlist {
 width: 43px;
 height: 43px;
 border-radius: 900px;
 background: #EDEAEA;
}

.product-btn--wishlist svg {
 width: 23px;
 height: 23px;
}

.product-reviews__empty {
 margin-top: 30px;
 display: flex;
 align-items: center;
 gap: 30px;
}

.product-reviews__empty-image {
 line-height: 0;
}

.product-reviews__empty-image img {
 min-width: 340px;
 width: 340px;
 height: 328px;
 object-fit: cover;
}

.product-reviews__empty-title {
 margin-bottom: 5px;
}

.product-reviews__empty-text {
 color: rgba(54, 54, 54, 0.7);
 font-size: 17px;
 font-weight: 400;
 line-height: 140%;
}

.reviews-summary.reviews-summary--not-reviews {
 margin-top: 0;
}

.basket-composition {
 margin-top: 20px;
}

.basket-composition__title {
 color: #363636;
 font-size: 16px;
 font-weight: 600;
 line-height: 140%;
 margin-bottom: 5px;
}

.basket-composition__subtitle {
 color: #363636;
 font-size: 15px;
 font-weight: 300;
 line-height: 140%;
 margin-bottom: 10px;
}

.basket-composition__items {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 15px;
 margin-bottom: 10px;
}

.basket-composition__item {
 padding: 8px 12px 8px 8px;
 border-radius: 13px;
 background: #FFF;
}

.basket-composition__product {
 display: flex;
 align-items: center;
 gap: 10px;
}

.basket-composition__image {
 width: 45px;
 min-width: 45px;
 height: 45px;
 border-radius: 10px;
 object-fit: cover;
}

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

.basket-composition-tab .basket-composition__item {
 background: #F9F9F9;
}

.basket-composition-tab .basket-composition__items {
 grid-template-columns: repeat(3, 1fr);
}



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


.review-popup {
 max-width: 1064px;
 width: 100%;
 background: #fff;
 padding: 35px;
 border-radius: 20px;
 position: relative;
}



.review-popup__close {
 position: absolute;
 top: 10px;
 right: 10px;
 padding: 11px;
 border-radius: 9px;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 z-index: 10;
 background: transparent;
 border-radius: 9px;
 border: 1px solid rgba(0, 0, 0, 0.36);
 opacity: 0.3;
 transition: all .3s;
}

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

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

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

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

.review-popup__product {
 display: flex;
 width: 100%;
 justify-content: space-between;
 align-items: center;
 padding-bottom: 15px;
 border-bottom: 1px solid #EFEFEF;
 margin-bottom: 30px;
 gap: 10px;
}

.review-popup__product .product-horizontal {
 max-width: 335px;
 width: 100%;
}

.review-popup__product .product-horizontal__content {
 width: 100%;
}


.review-popup__product-info .product-rating {
 margin-bottom: 11px;
}

.review-popup__product-sku {
 color: rgba(0, 0, 0, 0.7);
 font-size: 12px;
 font-weight: 300;
 line-height: 140%;
 max-width: 300px;
 word-break: break-all;
}

.review-popup__product-link {
 max-width: 233px;
 height: 61px;
}

.review-popup__rating .product-rating__star {
 cursor: pointer;
}

.review-popup__form-group {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 30px;
 margin-bottom: 30px;
}

.review-popup__form-label {
 display: block;
 color: #000;
 font-size: 13px;
 font-weight: 400;
 line-height: 140%;
 margin-bottom: 4px;
}

.review-popup__form-label span {
 color: #E63737;
}

.review-popup__rating .product-rating__star svg {
 width: 33px;
 height: 33px;
}

.review-popup__rating.product-rating {
 gap: 9px;
}

.review-popup__rating .product-rating__value {
 font-size: 24px;
 font-weight: 700;
}

.review-popup__hint {
 color: #363636;
 font-size: 13px;
 font-weight: 300;
 line-height: 140%;
 opacity: 0.7;
 display: flex;
 gap: 6px;
 align-items: center;
}

.review-popup__rating-hint {
 margin-top: 20px;
}

.review-popup__text-hint {
 margin-top: 25px;
}

.review-popup__form-input {
 padding: 15px;
 border-radius: 9px;
 border: 1px solid #EFEFEF;
 background: #FFF;
 width: 100%;
 color: #000;
 font-size: 13px;
 font-weight: 300;
 line-height: 140%;
 transition: all .3s;
}

.review-popup__form-input:focus {
 border: 1px solid #E63737;
}

.review-popup__form-textarea {
 padding: 15px;
 border-radius: 9px;
 border: 1px solid #EFEFEF;
 background: #FFF;
 width: 100%;
 color: #000;
 font-size: 13px;
 font-weight: 300;
 line-height: 140%;
 transition: all .3s;
 height: 113px;
 resize: none;
}

.review-popup__form-textarea:focus {
 border: 1px solid #E63737;
}

.review-popup__photos {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 align-items: center;
 width: 100%;
 border-radius: 9px;
 border: 1px dashed #CDCDCD;
 background: #FFF;
 padding: 15px;
}

.review-popup__photo-item {
 position: relative;
 width: 47px;
 height: 47px;
 border-radius: 10px;
 overflow: hidden;
}

.review-popup__photo-item img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: all .3s;
 transition: filter 0.3s ease;
 filter: brightness(1);
}

.review-popup__photo-item:hover img {
 filter: brightness(0.4);
}

.review-popup__photo-remove {
 position: absolute;
 top: 50%;
 right: 50%;
 transform: translate(50%, -50%);
 width: 29px;
 height: 29px;
 background: #fff;
 border: none;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 cursor: pointer;
 transition: all .3s;
 opacity: 0;
}

.review-popup__photo-item:hover .review-popup__photo-remove {
 opacity: 1;
}

.review-popup__photo-remove svg {
 width: 15px;
 height: 15px;
}

.review-popup__photo-remove svg path {
 stroke: #000;
}

.review-popup__photo-add {
 width: 48px;
 height: 48px;
 background: #EFEFEF;
 border-radius: 10px;
 display: flex;
 align-items: center;
 justify-content: center;
 cursor: pointer;
 transition: all 0.3s;
}

.review-popup__photo-add:hover {
 background: #E63737;
}

.review-popup__photo-add svg {
 width: 26px;
 height: 27px;
}

.review-popup__photo-hint {
 margin-top: 20px;
}

.review-popup__form-footer {
 display: flex;
 gap: 20px;
 align-items: center;
}

.review-popup__submit {
 max-width: 279px;
}

.review-popup__policy {
 display: flex;
 align-items: flex-start;
}

.review-popup__policy-label {
 display: flex;
 align-items: flex-start;
 gap: 12px;
 cursor: pointer;
 color: #363636;
 font-size: 13px;
 font-weight: 300;
 line-height: 140%;
}

.review-popup__policy-checkbox {
 display: none;
}

.review-popup__policy-custom {
 width: 22px;
 height: 22px;
 border: 1px solid #EFEFEF;
 border-radius: 6px;
 background: white;
 position: relative;
 flex-shrink: 0;
 margin-top: 2px;
 transition: all 0.3s;
}

.review-popup__policy-custom::after {
 content: '';
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%) scale(0);
 width: 10px;
 height: 7px;
 border: 2px solid white;
 border-top: none;
 border-right: none;
 transform-origin: center;
 transition: transform 0.3s;
 margin-top: -1px;
 margin-left: -1px;
 transform: translate(-50%, -50%) rotate(-45deg) scale(0);
}

.review-popup__policy-checkbox:checked+.review-popup__policy-custom {
 background: #E63737;
 border-color: #E63737;
}

.review-popup__policy-checkbox:checked+.review-popup__policy-custom::after {
 transform: translate(-50%, -50%) rotate(-45deg) scale(1);
}

.review-popup__policy-text {
 flex: 1;
}

.review-popup__policy-link {
 color: #E63737;
 text-decoration: underline;
 transition: all .3s;
}

.review-popup__policy-link:hover {
 color: #000;
}

.info-icon {
 line-height: 0;
}

.review-popup--thanks {
 max-width: 660px;
}

.review-popup--thanks .review-popup__title {
 margin-bottom: 30px;
}

.review-popup__thanks-content {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 20px;
}

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

.review-popup__thanks-footer {
 display: flex;
 width: 100%;
}

.review-popup__thanks-close {
 padding: 20px 66px;
 width: fit-content;
}




.review-popup__login-info {
 padding: 15px;
 border-radius: 12px;
 background: #F6F9FA;
 display: flex;
 align-items: flex-start;
 gap: 10px;
}

.review-popup__login-info-icon {
 line-height: 0;
}

.review-popup__login-info-icon svg {
 width: 50px;
 height: 50px;
}

.review-popup__login-info-title {
 color: rgba(54, 54, 54, 0.9);
 font-size: 14px;
 font-weight: 700;
 line-height: 140%;
}

.review-popup__login-info-text {
 color: rgba(54, 54, 54, 0.9);
 opacity: 0.9;
 font-size: 14px;
 font-weight: 300;
 line-height: 140%;
}

.review-popup__login-btn {
 margin-top: 30px;
 width: fit-content;
}


@media (max-width: 1295px) {
 .product-gallery__main-img {
  width: 433px;
  height: 547px;
 }

 .basket-composition-tab .basket-composition__items {
  grid-template-columns: repeat(2, 1fr);
 }
}

@media (max-width: 1100px) {
 .product-card__content {
  gap: 15px;
 }

 .product-gallery__main-img {
  width: 333px;
  height: 448px;
 }

 .review-popup {
  max-width: calc(100% - 30px);
  max-height: 90vh;
  overflow-y: auto;
 }
}

@media (max-width: 1024px) {
 .product-info__title {
  font-size: 33px;
 }

 .product-price {
  align-items: flex-start;
  flex-direction: column;
 }

 .product-actions {
  flex-direction: column;
  gap: 15px;
 }

 .product-actions__quantity {
  width: fit-content;
 }

.product-description__text,
.product-description p,
.product-description li,
.product-description a  {
  font-size: 14px;
 }

 .product-gallery__thumbs {
  display: none;
 }

 .product-about__aside {
  flex: 1 1 422px;
  max-width: 422px;
 }

 .product-promo__image {
  position: absolute;
  bottom: -36px;
  right: -57px;
 }

 .product-promo {
  padding: 20px;
 }

 .product-reviews__content {
  gap: 20px;
 }

 .reviews-summary {
  padding: 15px
 }

 .product-reviews__right {
  flex: 1 1 305px;
  max-width: 305px;
  min-width: 305px;
 }

 .product-reviews__empty-image img {
  min-width: 200px;
  width: 200px;
  height: 186px;
 }
}

@media (max-width: 875px) {
 .product-reviews__content {
  flex-direction: column;
 }

 .product-reviews__right {
  flex: 1 1 100%;
  max-width: 100%;
  min-width: 100%;
  order: -1;
 }

 .reviews-summary {
  margin-top: 0;
 }

 .product-reviews__right .product-reviews__title {
  display: block;
 }

 .product-reviews__left .product-reviews__title {
  display: none;
 }

 .product-reviews__empty {
  margin-top: 0;
 }

 .review-popup__product {
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
 }

 .product-horizontal__content-bottom {
  margin-left: 0;
 }

 .review-popup__product .product-horizontal {
  max-width: 100%;
 }

 .review-popup__form-group {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 15px;
  margin-bottom: 15px;
 }

 .review-popup__hint {
  margin-top: 0 !important;
 }

 .review-popup__form-footer {
  flex-wrap: wrap;
 }


}

@media (max-width: 768px) {
 .product-card__content {
  gap: 20px;
  flex-direction: column;
 }

 .product-card__gallery {
  flex: 1 1;
  max-width: 100%;
  height: fit-content;
 }

 .product-card {
  padding: 15px 0 30px;
 }

 .product-info__title {
  font-size: 28px;
 }

 .product-info__price {
  margin-top: 15px;
  padding: 12px;
 }

 .product-price__current {
  font-size: 28px;
 }

 .product-price__old {
  font-size: 19px;
 }

 .product-price__discount {
  font-size: 13px;
  padding: 3px 6px;
 }

 .product-price__bonus-wrapper {
  width: 100%;
  justify-content: center;
 }

 .product-price__bonus-text {
  width: fit-content;
 }

 .product-actions {
  padding: 12px;
 }

 .product-actions__quantity {
  display: flex;
  align-items: center;
  gap: 15px;
 }

 .product-actions__weight::after {
  left: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
 }

 .product-actions {
  gap: 12px;
 }

 .product-btn--wishlist-text {
  color: #000;
  font-size: 13px;
  font-weight: 500;
  line-height: 140%;
  display: block;
 }

 .product-btn--wishlist-text-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
 }

 .product-btn--wishlist {
  width: 36px;
  height: 36px;
 }

 .product-btn--wishlist svg {
  width: 18px;
  height: 18px;
 }

 .product-actions__buttons {
  align-items: center;
 }

 .product-info__description {
  margin-top: 15px;
 }

 .product-description__title {
  margin-bottom: 5px;
 }

.product-description__text,
.product-description p,
.product-description li,
.product-description a {
  font-size: 13px;
 }

 .product-description__details {
  margin-top: 15px;
 }

 .product-gallery__main {
  width: 100%;
 }

 .product-gallery__main-img {
  width: 100%;
  height: fit-content;
  aspect-ratio: 1;
 }

 .product-gallery__main-image {
  width: 100%;
 }

 .product-gallery__nav-btn {
  min-width: 44px;
  width: 44px;
  height: 44px;
 }

 .product-gallery__nav-btn svg {
  width: 14px;
  height: 14px;
 }

 .product-about__content {
  flex-direction: column;
  gap: 15px;
 }

 .product-about__aside {
  flex: 1 1;
  max-width: 100%;
 }

 .product-tabs__btn {
  padding: 15px 0;
  font-size: 16px;
 }

 .product-tabs__nav {
  margin-bottom: 20px;
 }

 .product-about__title {
  margin-bottom: 15px;
 }

 .product-about__text > *{
  font-size: 14px;
 }

 .product-about__specs {
  margin-top: 15px;
 }

 .product-about__nutrition {
  margin-top: 15px;
  padding: 12px 0;
 }

 .product-nutrition__value {
  font-size: 17px;
 }

 .product-nutrition__label {
  font-size: 13px;
 }

 .product-promo__img {
  min-width: 161px;
  width: 161px;
  height: 163px;
 }

 .product-promo__image {
  bottom: 23px;
  right: -34px;
 }

 .product-promo__title {
  max-width: 205px;
  margin-bottom: 6px;
 }

 .product-promo__text {
  max-width: 205px;
  font-size: 13px;
  margin-bottom: 10px;
 }

 .product-reviews__title {
  margin-bottom: 15px;
 }

 .reviews-summary {
  padding: 20px;
 }

 .reviews-summary__breakdown {
  margin-top: 15px;
 }

 .reviews-summary__write-btn {
  margin-top: 15px;
 }

 .review-item {
  margin-bottom: 15px;
  padding: 15px;
 }

 .review-item__avatar-img {
  min-width: 45px;
  width: 45px;
  height: 45px;
 }

 .review-item__name {
  font-size: 14px;
 }

 .review-item__date {
  font-size: 12px;
 }

 .review-item__rating .product-rating__stars .product-rating__star {
  display: none;
 }

 .review-item__rating .product-rating__stars .product-rating__star:first-child {
  display: flex;
 }

 .review-item__header {
  margin-bottom: 10px;
 }

 .review-item__title {
  font-size: 14px;
  padding-left: 18px;
 }

 .review-item__text * {
  font-size: 13px;
 }

 .review-item__photos {
  margin-top: 10px;
  gap: 7px;
 }

 .review-item__photo-img {
  min-width: 55px;
  width: 55px;
  height: 55px;
 }

 .review-item__photo-img:hover {
  transform: none;
 }

 .pagination__item:not(.pagination__item--first):not(.pagination__item--current):not(.pagination__item--last):not(.pagination__item--prev):not(.pagination__item--next) {
  display: flex;
 }

 .product-tabs {
  padding-bottom: 15px;
 }

 .single-product .popular-slider {
  padding: 00px 0 30px;
 }

 .product-bottom-panel__actions .cart-btn__text {
  display: none;
 }

 .product-bottom-panel__actions .product-btn--cart {
  flex: 0;
  padding: 0;
  width: 44px;
  min-width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 10px;
 }

 .product-bottom-panel__actions .product-btn--cart rect {
  fill: #E63737;
 }

 .product-bottom-panel__actions .product-btn--cart path {
  stroke: #fff;
 }

 .product-bottom-panel__actions .cart-btn__icon svg {
  width: 44px;
  height: 44px;
  min-width: 44px;
 }

 .product-bottom-panel__actions .product-btn--cart.cart-btn--added rect {
  fill: #5F9F4F;
 }

 .product-bottom-panel__actions {
  gap: 10px;
 }

 .product-bottom-panel__actions .product-btn--wishlist {
  width: 44px;
  height: 44px;
  border-radius: 10px;
 }

 .product-bottom-panel__actions .product-btn--wishlist-text {
  display: none;
 }

 .product-bottom-panel__title {
  font-size: 12px;
  max-width: 172px;
  margin-bottom: 2px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  align-self: stretch;
 }

 .product-bottom-panel__rating .product-rating__star svg {
  width: 14px;
  height: 14px;
  aspect-ratio: 1 / 1;
 }

 .product-bottom-panel__product {
  gap: 8px;
 }

 .product-reviews__empty {
  text-align: center;
  flex-direction: column;
  gap: 20px;
 }

 .product-reviews__empty-image img {
  min-width: 226px;
  width: 226px;
  height: 218px;
 }

 .product-reviews__empty-text {
  font-size: 15px;
 }

 .basket-composition__items {
  grid-template-columns: repeat(1, 1fr);
  gap: 6px;
 }

 .basket-composition__items .basket-composition__item:nth-child(5),
 .basket-composition__items .basket-composition__item:nth-child(6) {
  display: none;
 }

 .basket-composition__title {
  font-size: 15px;
  margin-bottom: 1px;
 }

 .basket-composition__subtitle {
  font-size: 13px;
 }

 .basket-composition__item {
  padding: 6px 12px 6px 6px;
 }

 .reviews-breakdown__item {
  margin-bottom: 6px;
 }

 .basket-composition__name {
  font-size: 12px;
 }

 .product-quantity__input {
  font-size: 14px;
  width: 45px;
 }

 .product-card__info .basket-composition__name {
  font-size: 14px;
 }

 .review-popup {
  padding: 15px;
  border-radius: 15px;
 }

 .review-popup__title {
  margin-bottom: 15px;
  max-width: 183px;
 }

 .review-popup__product {
  gap: 10px;
 }

 .review-popup__product-info {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
 }

 .review-popup__product-info .product-rating {
  margin-bottom: 0;
 }

 .review-popup__product-link {
  max-width: 100%;
  height: 50px;
 }

 .review-popup__product {
  padding-bottom: 0;
  border-bottom: none;
  margin-bottom: 15px;
 }

 .review-popup__rating .product-rating__star svg {
  width: 25px;
  height: 25px;
 }

 .review-popup__rating .product-rating__value {
  font-size: 18px;
 }

 .review-popup__form-group {
  gap: 10px;
 }

 .review-popup__hint {
  align-items: flex-start !important;
 }

 .review-popup__form-footer {
  gap: 10px;
 }

 .review-popup__submit {
  max-width: 100%;
  margin-inline: 11px;
 }

 .review-popup__login-btn {
  margin-top: 15px;
  width: 100%;
 }

 .review-popup__login-info-text {
  font-size: 13px;
 }

 .review-popup__login-info-title {
  font-size: 13px;
 }

 .review-popup--thanks .review-popup__title {
  margin-bottom: 15px;
 }

 .review-popup__thanks-text {
  font-size: 14px;
 }

 .review-popup__thanks-content {
  gap: 5px;
 }

 .review-popup__thanks-close {
  padding: 11px 66px;
 }
}

/* Image Lightbox */
.image-lightbox {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0, 0, 0, 0.9);
 z-index: 10000;
 display: flex;
 align-items: center;
 justify-content: center;
 opacity: 0;
 visibility: hidden;
 transition: all 0.3s ease;
}

.image-lightbox.active {
 opacity: 1;
 visibility: visible;
}

.image-lightbox__content {
 position: relative;
 max-width: 90vw;
 max-height: 60vh;
 height: 100%;
 display: flex;
 align-items: center;
 justify-content: center;
}

.image-lightbox__image {
 max-width: 100%;
 max-height: 100%;
 height: 100%;
 /* aspect-ratio: 1; */
 object-fit: contain;
 border-radius: 15px;
 box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.image-lightbox__close {
 position: absolute;
 top: -50px;
 right: -50px;
 width: 44px;
 height: 44px;
 background: rgba(255, 255, 255, 0.1);
 border: 1px solid rgba(255, 255, 255, 0.2);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 cursor: pointer;
 transition: all 0.2s ease;
 backdrop-filter: blur(10px);
}

.image-lightbox__close:hover {
 background: rgba(255, 255, 255, 0.2);
 border-color: rgba(255, 255, 255, 0.3);
}

.image-lightbox__close svg {
 width: 16px;
 height: 16px;
 stroke: white;
}

@media (max-width: 768px) {
 .image-lightbox__content {
  max-width: 95vw;
  max-height: 50vh;
  width: 80%;
  height: auto;
 }

 .image-lightbox__content img {
  width: 80%;
  height: auto;
 }

 .image-lightbox__close {
  top: -40px;
  right: -40px;
  width: 36px;
  height: 36px;
 }

 .image-lightbox__close svg {
  width: 14px;
  height: 14px;
 }
}

@media (max-width: 480px) {
 .image-lightbox__content {
  max-width: 100vw;
  max-height: 50vh;
  padding: 20px;
  box-sizing: border-box;
 }

 .image-lightbox__close {
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
 }

 .image-lightbox__image {
  border-radius: 10px;
  width: 100%;
 }

 .image-lightbox__content img {
  width: 100%;
 }

 .product-nutrition {
  width: 100%;
  max-width: 100%;
 }
}

.lightbox-arrow {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 background: rgba(0, 0, 0, 0.6);
 color: white;
 border: none;
 width: 48px;
 height: 48px;
 border-radius: 50%;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 z-index: 1002;
 transition: all 0.3s ease;
 user-select: none;
 line-height: 0;
 font-family: Arial, sans-serif;
 font-weight: bold;
}

.lightbox-arrow svg {
 width: 12px;
 height: 12px;
 transition: all 0.3s ease;
}

.lightbox-arrow svg path {
 stroke: white;
 transition: stroke 0.3s ease;
}

.lightbox-arrow:hover {
 background: rgba(0, 0, 0, 0.8);
 transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow:hover svg path {
 stroke: #E63737;
}

.lightbox-arrow:active {
 transform: translateY(-50%) scale(0.95);
}

.lightbox-arrow.disabled {
 opacity: 0.3;
 cursor: not-allowed;
 pointer-events: none;
}

.lightbox-arrow--prev {
 left: 20px;
}

.lightbox-arrow--next {
 right: 20px;
}

@media (max-width: 768px) {
 .lightbox-arrow {
  width: 40px;
  height: 40px;
 }

 .lightbox-arrow svg {
  width: 10px;
  height: 10px;
 }

 .lightbox-arrow--prev {
  left: 10px;
 }

 .lightbox-arrow--next {
  right: 10px;
 }
}

@media (max-width: 480px) {
 .lightbox-arrow {
  width: 36px;
  height: 36px;
 }

 .lightbox-arrow svg {
  width: 8px;
  height: 8px;
 }

 .lightbox-arrow--prev {
  left: 5px;
 }

 .lightbox-arrow--next {
  right: 5px;
 }

 .product-gallery__main-img {
  aspect-ratio: 1/1.2;
 }
}

.product-info__actions.loading {
  pointer-events: none;
}

.product-info__actions.loading > * {
  opacity: 0.75;
}