@font-face {
    font-family: 'SF Pro Text'; /* Имя шрифта */
    src: url('../fonts/SFProText-Regular.ttf') format('truetype');
    font-weight: 400; /* Вес шрифта */
    font-style: normal;  /* Стиль шрифта */
}

@font-face {
    font-family: 'SF Pro Text'; /* Имя шрифта */
    src: url('../fonts/SFProText-Medium.ttf') format('truetype');
    font-weight: 600; /* Вес шрифта */
    font-style: normal;  /* Стиль шрифта */
}

@font-face {
    font-family: 'SF Pro Text'; /* Имя шрифта */
    src: url('../fonts/SFProText-Bold.ttf') format('truetype');
    font-weight: 800; /* Вес шрифта */
    font-style: normal;  /* Стиль шрифта */
}


/* Стили для конкретной темы 
 * TODO: Перенести в отдельный файл
 * */
html, body{
	scroll-behavior: smooth!important;
}

p{
	margin-bottom: 0;
}

#header .my-account, #header .my-wishlist, #header .yith-woocompare-open {
    display: flex!important;
}

.woocommerce-loop-product__title {
    color: #000;
    font-weight: 600;
}

.product-subheading{
	color: #999;
}

.rating-badge {
    padding: 10px 0;
}

.page-top .yoast-breadcrumbs {
    font-size: 16px!important;
}

.page-top .breadcrumbs-wrap a{
    color: #566A5E!important;
}

.page-top .breadcrumbs-wrap .breadcrumb_last{
    color: #B3B3B3!important;
}

.page-top .breadcrumbs-wrap a,
.page-top .breadcrumbs-wrap .breadcrumb_last {
    font-size: 16px!important;
    font-weight: 600!important;
}


.single-product .main-content {
    width: 100%!important;
    padding: 0;
    margin: 0!important;
}

h1, h2, h3, h4, h5, h6, p, strong, span:not(.arrow), a, b, button{
	font-family: 'SF Pro Text', sans-serif!important;
}

.single-product form.cart:not(.variations_form),
.single_variation_wrap .variations_button{
	padding: 0;
}

button.single_add_to_cart_button {
    padding: 0 !important;
    margin: 0 !important;
}

.single-product form.cart:not(.variations_form), .single_variation_wrap .variations_button {
    padding: 0;
    margin: 0!important;
}

button.single_add_to_cart_button {
    padding: 0!important;
    margin: 0!important;
}

.capsule-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

.product-inner {
    position: relative;
}

.woocommerce-loop-product__title {
    font-size: 18px;
    font-weight: 500;
}

span.woocommerce-Price-amount.amount {
    font-size: 18px;
}

li.product-col.product.type-product.post-176924.status-publish.instock.product_cat-griby.product_cat-ezhovik.has-post-thumbnail.taxable.shipping-taxable.purchasable.product-type-simple {
    list-style: none;
}

li.product-col.product .product-image {
    border-radius: 12px;
}

.uppsalles-item li {
    list-style: none;
}

.product-info-block .quantity.buttons_added {
    display: none!important;
}

.add-links-wrap {
    margin-top: 15px;
}

.yith-wcwl-add-to-wishlist {
    display: none;
}

button.mfp-close {
    text-indent: inherit!important;
    -webkit-transform: none!important;
    transform: translateX(-50%)!important;
    width: 100px!important;
    height: 28px!important;
    display: flex!important;
    line-height: 1!important;
    flex-direction: row;
    justify-content: center;
    position: absolute;
    bottom: -45px;
    top: auto;
    left: 50%;
}

.mfp-close-btn-in .mfp-close:before{
    display: none!important;
}

.mfp-close-btn-in .mfp-close:after, .mfp-close:after {
    border: none!important;
    position: relative!important;
    top: 0!important;
    left: 0!important;
    line-height: 18px!important;
}

.mfp-figure {
    padding: 0!important;
}

.mfp-content .mfp-figure img.mfp-img {
    padding: 0;
}

.mfp-content .mfp-figure figure:before {
    padding: 0;
    top: 0;
}

.mfp-figure figure {
    overflow: hidden;
}

.mfp-content .mfp-figure figure:before{
	background: transparent!important;
}


/* Обертка товара */
.product-row-block{
    display: flex;
    gap: 56px;
    margin-bottom: 90px;
}

.column {
    min-width: calc(50% - 28px);
}

/* Главное изображение товара */
.product-thumbnails-wrap{
    width: 100%;
    overflow-x: scroll; 
}

.woocommerce-product-gallery{
    position: relative;
}

.woocommerce-product-gallery__wrapper {
	margin-bottom: 10px !important;
}

#product_gallery .owl-stage-outer {
    overflow: hidden !important;
	background: #f7f7f7;
	border: 1px solid #f7f7f7; 
    border-radius: 15px;
}

#product-volume {
    width: 75px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    border: 1px solid #000;
    border-radius: 30px;
}

#gallery-buttons{
    position: absolute;
    right: 22px;
    top: 20px;
    display: flex;
    gap: 10px;
    z-index: 100;
}

#gallery-buttons button {
    width: 28px;
    height: 28px;
    border: none;
    padding: 0;
    background: none;
    transition: 300ms all ease;
}

#gallery-buttons button:hover{
    transform: scale(1.2);
}

.woocommerce-product-gallery__thumbnails {
	display: flex;
	gap: 8px;
    list-style: none;
    text-wrap-mode: nowrap;
    padding: 0;
}

.woocommerce-product-thumbnail {
    width: 85px !important;
    margin-right: 5px;
    display: inline-block;
    background: #f7f7f7;
	border: 1px solid #f7f7f7;
    border-radius: 15px;
    overflow: hidden;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev{
    background: none!important;
    box-shadow: none;
    border: none;
    font-size: 30px!important;
    opacity: 20%;
    font-weight: 400;
    width: 30px!important;
}

.owl-carousel .owl-nav button.owl-next:hover,
.owl-carousel .owl-nav button.owl-prev:hover{
    opacity: 60%;
}

button.owl-prev > span, button.owl-next > span {
    display: none;
}

.owl-carousel .owl-dots{
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    justify-content: center;
    margin-top: 15px;
}

.owl-carousel .owl-dots .owl-dot span {
    width: 6px!important;
    height: 6px!important;
    color: transparent!important;
    background: #C1C8C3!important;
    display: block!important;
    border-radius: 30px!important;
	margin: 0!important;
	transition: 500ms all ease!important;
}

.owl-carousel .owl-dots .owl-dot.active span {
    width: 20px!important;
    background: #23342A!important;
}

.owl-carousel .owl-dots .owl-dot:not(.active):hover span{
	background: #C1C8C3!important;
}

/* Стиль для кнопки с количеством капсул */
.capsule-count {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #fff;
    color: #333;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #ddd;
}

/* Стиль для иконок управления */
.controls {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
}

.controls a {
    color: #666;
    font-size: 18px;
    text-decoration: none;
}

.controls a:hover {
    color: #333;
}

/* Миниатюры изображений */
.thumbnail-images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.thumbnail-images .thumbnail {
    width: 60px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    padding: 0;
}

.thumbnail-images .thumbnail.active {
    border: 2px solid #333;
}

/* Добавить в корзину */

#fixed-add-to-cart {
    position: fixed;
    top: 0;
    right: 0;
    height: 70px;
    width: 72%;
    padding-right: calc( var(--bs-gutter-x)*2 + 10px);
    background: #fff;
    z-index: 2000;
    display: flex;
    justify-content: end;
    align-items: center;
	transform: translateY(-100%);
	opacity: 0;
	transition: 300ms all ease;
}

#fixed-add-to-cart.show-fixed-product{
	transform: translateY(0);
	opacity: 1;
}

#fixed-add-to-cart .add-to-cart-button {
    width: 250px;
    height: 36px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3B5345;
    border: none;
}

#fixed-add-to-cart .product-thumbnail {
    display: flex;
    align-items: center;
    margin-right: auto;
}

#fixed-add-to-cart .product-thumbnail .product-thumbnail-title {
    width: 170px;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
}

#fixed-add-to-cart .product-thumbnail .product-thumbnail-image {
    width: 60px;
    height: 60px;
}

#fixed-add-to-cart .product-price {
    margin-right: 15px;
    font-size: 16px;
    font-weight: 600;
}

#static-add-to-cart .add-to-cart-button {
    height: 50px!important;
    min-width: 400px;
    border-radius: 50px!important;
    border: none!important;
    background: #23342A!important;
    font-size: 16px!important;
    font-weight: 600!important;
    margin: 10px 0 15px 0!important;
    position: relative;
}


/* Рейтинг товара */
.product-rating-block {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.product-star-rating .star-container {
    position: relative;
    width: 20px; /* Размер звезды */
    height: 20px;
}

.product-star-rating .star-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-star-rating .star-container .half {
    clip-path: inset(0 50% 0 0); /* Покрывает только левую половину звезды */
}


.rating-text {
    color: #333;
    margin-left: 8px;
	height: 20px;
}

.product-rate.rate-counter {
    margin-right: 5px;
    position: relative;
    margin-top: 0;
}

.product-rating-block .add-review {
    color: #8A8D8F;
    font-weight: 500;
    text-decoration: none;
    margin-left: 8px;
	height: 20px;
}

.product-rating-block .add-review:hover {
    text-decoration: underline;
}

.reviews-empty{
	font-size: 16px;
	font-weight: 600;
}

/* Стили для блока описания товара */
.product-title {
    font-size: 45px!important;
    font-weight: 800!important;
    line-height: 50px!important;
    margin: 30px 0 20px 0 !important;
}

.product-description {
    font-size: 16px;
    line-height: 20px;
    color: #000;
    margin-bottom: 30px;
}

/* Стили для тегов (характеристик) */
 .product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #333;
    margin-bottom: 35px;
}

.tag-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 20px;
	color: #000;
}

.tag-item:hover {
	color: #000!important;
	text-decoration: underline!important;
}

.tag-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

/* Стили для кнопки добавления в корзину и покупки в один клик */

.single_add_to_cart_button {
    background-color: #333;
    color: #fff;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}


.product-purchase-options {
    width: fit-content;
}

.whatshapp-product-badge{
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	gap: 10px;font-size: 14px;
	color: #000;
	padding: 10px 15px;
	width: 400px;
	height: 60px;
	border-radius: 30px;
	box-shadow: 0px 2px 10px 0px #00000029;
}

.whatshapp-product-badge-icon i{
	font-size: 18px;
	background: #111614;
	color: #fff;border-radius: 50%;
	width: 30px;height: 30px;
	line-height: 30px;
	text-align: center;
}

.whatshapp-product-text{
	display: flex;
	flex-direction: column;
	line-height: 16px;
	flex: 1 1 auto!important;
	transition: 500ms all ease;
}

.whatshapp-product-badge:hover .whatshapp-product-text {
    margin-left: 10px;
}

.whatshapp-product-text span:nth-child(1){
	font-weight: 500;
	color: #000;
}

.whatshapp-product-text span:nth-child(2){
	font-size: 12px;
	color: #999;
	font-weight: 400;
}

.whatshapp-arrow-icon{
	width: 30px;
	height: 30px;
	line-height: 30px;
	border: 1px solid #00000094;
	text-align: center;
	border-radius: 30px;
}

.whatshapp-arrow-icon svg{
	animation: bounce 2s infinite;
	transition: 200ms all ease;
}

/* Таб эффекты */
.product-effects {
    margin-bottom: 80px;
}

.product-effects h2 {
    font-size: 35px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.effect-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.effect-item {
    display: flex;
    align-items: center;
    padding: 30px 77px;
    background-color: #EBF0EE;
    border-radius: 25px;
    width: 800px;
}

.effect-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 45px;
}

.effect-content {
    flex-grow: 1;
}

.effect-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    margin-bottom: 8px;
	line-height: 22px;
    letter-spacing: -.5px;
}

.effect-description {
    font-size: 14px;
    font-weight: 400;
	line-height: 20px;
    letter-spacing: -.24px;
    margin: 0;
}

/* Инструкция и описание */
.product-details-row {
    display: flex;
    gap: 30px;
    margin-bottom: 100px;
}

.product-instruction-box,
.product-description-box {
    flex: 1;
    padding: 40px 90px 176px 90px;
    border-radius: 25px;
    position: relative;
	font-size: 16px;
}

.product-instruction-box{
    background-color: #EBF0EE;
}

.product-description-box{
    border: 1px solid #000;
}

.product-description-box h3, 
.product-instruction-box h3 {
    margin-top: 70px;
    margin-bottom: 25px;
    color: #333;
	font-size: 22px;
	font-weight: 600;
}

.product-description-box h4 {
    font-size: 16px;
    margin: 15px 0 10px;
    color: #555;
}

.short-instructions:first-child {
    margin-top: 70px;
}

.short-instructions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    max-width: 335px;
}

.short-instructions-icon {
    min-width: 42px;
}

.popup-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 16px;
    color: #718277;
    text-decoration: none;
    cursor: pointer;
    position: absolute;
    bottom: 100px;
	left: 90px;
}

.popup-link:hover{
	color: #718277;
    text-decoration: underline;
}

.popup-link:before {
    content: '+';
    display: inline-flex;
    justify-content: center;
    line-height: 1;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    width: 18px;
    height: 18px;
    border: 1px solid #718277;
    border-radius: 50%;
    margin-right: 5px;
}

.popup-link:hover {
    text-decoration: underline;
}

/* Состав */
.active-ingredients-section {
    margin-top: 40px;
    text-align: center;
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: #F7F7F7;
    padding: 50px 15px 50px 15px;
}

.active-ingredients-section h2 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1.11px;
    color: #000;
    margin-bottom: 20px;
    margin-top: 0px;
}

.active-ingredients-carousel{
    padding-right: 200px;
    padding-left: 200px;
}

.active-ingredients-carousel .ingredient-item {
    border: 1px solid #00000099;
    border-radius: 12px;
    text-align: left;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    overflow: hidden;
    opacity: 1;
	transition: 300ms all ease;
}

.ingredient-image {
    width: 100%;
}

.ingredient-image img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
}

.ingredient-content{
    padding: 20px 20px 80px 20px;
}

.ingredient-content h3 {
    font-size: 22px;
    font-weight: 500;
    color: #000;
    margin: 0;
    margin-bottom: 10px;
}

.ingredient-content p {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin: 0;
}

.more-link {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: #718277;
    text-decoration: underline;
    position: absolute;
    bottom: 45px;
}

.more-link:hover {
    text-decoration: none;
	color: #718277;
}

.additional-ingredients {
    margin-top: 40px;
    font-size: 14px;
    color: #00000060;
    text-align: center;
	opacity: 70%;
}

.additional-ingredients p {
    margin: 0;
	line-height: 16px;
    letter-spacing: -.24px;
}

/* Стили для отзывов */
.product-diginity-section {
    background: #EBF0EE;
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.diginity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 90px;
    justify-content: center;
}

.diginity-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
}

.diginity-item .diginity-icon img{
    width: 100%;
    height: auto;
}

.diginity-item .diginity-icon {
    width: 60px;
}

.diginity-item .diginity-title {
    font-size: 14px;
    font-weight: 500;
    color: #00000040;
    margin: 0;
}

/* Стили для отзывов */
.reviews-section {
    display: flex;
    margin-top: 30px;
}

.reviews-summary {
    width: 40%;
    margin-top: 75px;
    padding-right: 100px;
    border-right: 1px solid #b4babe;
}

.average-rating {
    font-size: 20px;
	font-weight: 600;
    color: #000;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.rewiew-stars-rating-list {
    display: block;
    direction: rtl;
    font-size: 24px;
    cursor: pointer;
}

.rewiew-stars-rating-list .star {
    color: #ddd;
    transition: color 0.2s;
    width: 18px;
    height: 18px;
    display: inline-block;
    background: url('../img/star-empty-gray.svg');
    transition: 300ms transform ease;
}

.rewiew-stars-rating-list .star:hover{
    transform: scale(1.15);
}

.star.selected, .rewiew-stars-rating-list .star:hover, .rewiew-stars-rating-list .star:hover ~ .star {
    color: #FFD700;
    background: url('../img/star-full.svg');
}

.reviews-count {
    font-size: 14px;
    color: #050505;
}

.rating-distribution .rating-bar {
    display: flex;
    align-items: center;
}

.rating-distribution .rating-bar:not(:first-child){
    margin-top: 10px;
}

.rating-value {
    font-size: 20px;
	line-height: 1;
    color: #000;
	font-weight: 600;
	width: 10px;
}

.rating-bar-scale{
    background-color: #E5E9E7;
    height: 18px;
    margin-left: 16px;
    border-radius: 2px;
    flex-grow: 1;
    overflow: hidden;
}

.rating-bar-scale-fill {
    background-color: #98A49C;
    height: 18px;
}

.write-review-button {
    width: 100%;
    height: 50px;
    margin-top: 40px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #333;
    border-radius: 30px;
    cursor: pointer;
    background: transparent;
}

.latest-reviews {
    width: 60%;
    padding-left: 33px;
}

.latest-reviews h2 {
    font-size: 35px;
    font-weight: bold;
	text-align: left;
    color: #333;
    margin-bottom: 40px;
    margin-top: 0;
}

.review-item {
    background-color: #f9f9f9;
    padding: 25px 55px 50px 30px;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
}

.review-item .review-stars{
    margin-bottom: 10px;
}

.review-content .comment_author {
    display: block;
    font-weight: bold;
    margin-bottom: 30px;
    font-size: 18px;
}

.review-content .comment_content {
    font-size: 14px;
    color: #333;
}

.review-date {
    font-size: 12px;
    color: #888;
    display: block;
    margin-top: 10px;
    position: absolute;
    top: 29px;
    right: 30px;
}

.view-all-reviews-button {
    display: block;
    margin: 35px auto 0;
    padding: 0;
    font-size: 16px;
    color: #718277;
    border: none;
    background: transparent;
    cursor: pointer;
    text-decoration: underline;
}

#review-form-popup .review-form-notice {
    color: #0a0a0a50;
    font-size: 14px;
	margin: 0;
}

#all-reviews-popup .children {
    position: relative;
    padding-left: 100px;
}

#all-reviews-popup .children:before {
    content: '';
    display: block;
    width: 19px;
    height: 19px;
    background: url('../img/arrow-child.svg');
    position: absolute;
    left: 69px;
    top: 0;
}

div#review-success-popup p {
    font-size: 22px;
    font-weight: 500;
}

div#review-success-popup img{
	width: 38px;
    height: 38px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 35px;
}

div#review-success-popup {
    text-align: center;
}

/* Стили для попапа */
.mfp-content > div {
    padding: 50px 40px;
    background: #fff;
    border-radius: 25px;
    margin: auto;
    position: relative;
}

.mfp-content .content {
    overflow-y: auto;
    max-height: 70vh;
	width: 70vw;
}

.mfp-content h2 {
    font-size: 22px;
	font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
	text-align: left;
}

.mfp-content label {
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.mfp-content textarea, .mfp-content input[type="text"],
.mfp-content input[type="email"],
.mfp-content input[type="tel"] {
    width: 100%;
    border: none;
    background: #F7F7F7;
    border-radius: 5px;
    padding: 12px 16px;
}

.mfp-content textarea {
    min-height: 130px;
}

.mfp-content input[type="text"],
.mfp-content input[type="email"],
.mfp-content input[type="tel"] {
    height: 50px;
}

.mfp-content button[type="submit"] {
    width: 380px;
    height: 50px;
    background: #23342A;
    border: none;
    color: #fff;
    border-radius: 50px;
}


div#full-instruction .content {
    display: flex;
    flex-direction: column;
}

.mfp-close {
    bottom: -50px;
    transform: translateX(-50%);
    left: 50%;
    top: auto;
    background: #fff!important;
    opacity: 1;
    width: 100px;
    height: 28px;
    vertical-align: middle;
    border-radius: 25px;
    display: flex!important;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.mfp-close::after {
    content: 'Закрыть'!important;
    line-height: 26px;
    display: inline-block;
    height: 28px;
    vertical-align: middle;
    margin-left: 5px;
    font-size: 14px;
}

.mfp-content .content::-webkit-scrollbar {
    width: 5px;
    background: #ffffff;
    padding-left: 5px;
}

.mfp-content .content::-webkit-scrollbar-thumb {
    background: #eee;
}

/* Стили для навигации */
.ingredient-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.ingredient-nav-link {
	display: flex;
	align-items: center;
	justify-content: center;
    padding: 5px 10px;
    height: 30px;
    font-size: 14px;
    color: #00000080;
    font-weight: 400;
    text-decoration: none;
    border-radius: 15px;
    border: 1px solid #00000080;
    cursor: pointer;
}

.ingredient-nav-link.active, .ingredient-nav-link:hover {
    background-color: #85E2CC;
    color: #000;
    border-color: #85E2CC;
    
}

.form-group{
    margin-bottom:20px!important;
}

.form-flex {
    display: flex;
    gap: 30px
}

.form-column{
    width: 100%;
}

.owl-carousel .owl-stage-outer{
    overflow: visible!important;
}

.owl-carousel:not(.single-item) .owl-stage{
    margin: auto;
}

.content-scrollable:before,
.content-scrollable:after {
    content: '';
    display: block;
    position: absolute;
    width: 44px;
    height: 44px;
    z-index: +1;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    transition: 300ms all ease;
}

.content-scrollable:before {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0px 1px 5px 0px #00000033;
}

.content-scrollable:after {
    background: url('../img/arrow-down.svg');
}

.scrolled-to-end:before,
.scrolled-to-end:after {
    opacity: 0;
    bottom: -10px;
}

.popup-opened {
    max-height: 100vh;
    overflow: hidden;
}

.popup-opened header{
    transform: translateY(-100%);
}

/* Апселлы */

.upsells-product-block {
    position: relative;
    width: 100vw;
    background: #F7F7F7;
    padding: 70px 15px 80px 15px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 90px;
}

.upsells-product-block h3{
    font-size: 22px;
    font-weight: 600!important;
    margin-top: 0px;
    margin-bottom: 55px;
    text-align: center;
    font-weight: 500;
}

.uppsalles-product-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.uppsalles-item {
    max-width: 350px;
    background: #E5E9E7;
    border-radius: 25px;
    padding: 26px 26px 30px 26px;
}

.uppsalles-item > div {
    width: 100%;
    padding: 0;
}

.uppsalles-item .product-title{
    display: contents;
}

.uppsalles-item .product-title > a {
    font-size: 18px;
    line-height: 22px
}

/* Десктоп */
@media only screen and (min-width : 768px) {
	
	/* Всплывающие окна */
    .mfp-content > div{
        max-width: max-content !important;  
    }
    
    .single-item .ingredient-item{
        flex-direction: row;
        flex-wrap: wrap;
        min-height: auto;
		max-height: 300px;
        max-width: 740px;
    }
    
    .single-item .ingredient-image{
        flex-direction: row;
        width: 40%;
    }
    
    .single-item .ingredient-content{
        padding: 55px 75px 110px 40px;
        width: 60%;
    }
    
    .single-item .ingredient-image img{
        height: 100%;
        width: auto;
        max-height: 100%;
    }
	
	.mfp-content .mfp-figure img.mfp-img{
		max-width: 80vw;
	}
	
	.add-to-cart-hide {
		top: -100% !important;
	}
}

/* Маленькие экраны, планшеты */
@media only screen and (max-width : 768px) {
	.add-to-cart-hide {
		top: -100% !important;
	}
}

/* Экстра-маленькие экраны, телефоны */ 
@media only screen and (max-width : 480px) {
    
	/* Стили для конкретной темы */
	/* TODO: Перенести в отдельный файл */ 
	#contact-badge, #contact-badge:hover {
		bottom: 130px!important;
	}
	
    /* Изменения порядка следования блоков */    
    .product-info-block,
    .product-details{
        display: flex;
        flex-direction: column;
    }
    
    .product-block-title
    .product-title{
        order: 1;
    }
	
	.product-subheading{
		order: 2;
	}
    
    .product-rating-block{
        order: 3;
    }
    
    .product-description{
        order: 4;
    }
    
    .product-tags{
        order: 5;
    }
    
    .product-purchase-options{
        order: 6;
    }
    
    .product-details-row{
        display: contents;
    }
    
    .product-effects{
        order: 1;
    }
    
    .product-description-box{
        order: 2;
    }
    
    .active-ingredients-section{
        order: 3;
    }
	
    .product-diginity-section{
        order: 4;
    }
    
    .product-instruction-box{
        order: 5;
    }
    
    .reviews-section{
        order: 6;
    }
    
  
	
    /* Инфо блок */    
    .product-row-block{
        flex-direction: column;
        gap: 0;
        margin-bottom: 50px;
        margin-top: 0;
    }
    
    .product-info-block{
        margin-top: 30px;
    }
    
    .product-block-title,
    .product-title{
        order: 1;
        font-size: 22px !important;
        line-height: 26px !important;
        margin-top: 0 !important;
		margin-bottom: 5px !important;
    }
	
	.product-subheading{
		font-size: 18px!important;
		line-height: 20px!important;
	}
	
	.rating-text{
		margin-left: 0;
	}
    
    .product-tags-block{
        margin-bottom: 45px;
    }
    
    /* Галерея товара */
    .woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
    }
	
	.woocommerce-product-gallery__thumbnails{
		display: none;
	}
    
    #product_gallery .owl-stage-outer {
        border: none;
        border-radius: 0;
    }
    
    #product-volume {
        width: 60px;
        height: 28px;
        font-size: 14px;
        left: 16px;
    }
    
    #gallery-buttons {
        bottom: 35px;
        top: auto;
    }
        
    /* Рейтинг (инфо) */
    .product-rating-block{
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-bottom: 20px;
    }
    
    .product-rating-block .add-review{
        display: none;
    }
    
    /* Положить в корзину */
	
	#fixed-add-to-cart {
		background: transparent;
		top: auto;
		left: auto;
		bottom: 70px;
		right: 10px;
		padding: 0;
		width: auto;
		height: auto;
	}

	#fixed-add-to-cart .product-thumbnail {
		display: none;
	}

	#fixed-add-to-cart .product-price {
		display: none;
	}

	#fixed-add-to-cart .add-to-cart-button {
		color: transparent;
		width: 50px;
		height: 50px;
		position: relative;
	}

	#fixed-add-to-cart button.button.add-to-cart-button:after {
		content: '';
		position: absolute;
		z-index: +1;
		display: block;
		width: 24px;
        height: 20px;
        background: url(../img/add-to-cart-icon.svg);
        background-size: cover;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
	}

    .product-purchase-options{
        width: 100%;
    }
    
    #static-add-to-cart button.button.add-to-cart-button{
        min-width: 100%;
    }
    
	.whatshapp-product-text span:nth-child(1){
		letter-spacing: -1px;
	}
	
    /* Эффекты */
    
    .product-effects{
        margin-bottom: 20px;
    }
    
    .effect-list{
        gap: 5px;
    }
    
    .effect-item{
        width: 100%;
        flex-direction: column;
        text-align: center; 
        gap: 35px;
        padding: 25px;
		border-radius: 25px
    }
    
    .effect-icon{
        margin-right: 0;
    }
    
    .effect-title{
        margin-bottom: 15px;
    }
    
    /* Описание и инструкция */
    .product-details-row {
        flex-direction: column;
    }
    
    .product-description-box{
        padding: 0 0 70px 0;
    }
    
    .product-instruction-box{
        padding: 0 0 50px 0;
    }
    
    .product-instruction-box, 
    .product-description-box {
        background: transparent;
        border: none;
    }
    
    .product-description-box h3,
    .product-instruction-box h3{
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    .short-instructions:first-child {
        margin-top: 30px;
    }
    
    .popup-link {
        position: static;
		display: block;
    }
    
    /* Состав */
    .active-ingredients-section {
        background: transparent;
        padding-top: 0;
        padding-bottom: 20px;
        margin-top: 50px;
    }
	
	.active-ingredients-section h2 {
		font-size: 22px;
		font-weight: 600;
		line-height: 26px;
		text-align: left;
		letter-spacing: -.5px;
	}
    
    .ingredient-nav {
        flex-wrap: wrap;
        justify-content: start;
    }
	
	.ingredient-nav-link:not(.active):hover{
		background: transparent;
		color: #00000080;
		border-color: #00000080;
	}
    
    .active-ingredients-carousel{
        padding: 0;
    }
	
	.single-item .ingredient-item{
		max-height: 500px;
	}
    
    
    .additional-ingredients {
        margin-top: 16px;
        text-align: left;
    }
    
    /* Достоинства */
    .product-diginity-section {
        position: static;
        transform: none;
        width: 100%;
        border-radius: 25px;
        margin-bottom: 20px;
    }
    
    .diginity-list{
        gap: 56px;
    }
    
    /* Апсейллы */
    .uppsalles-item {
        max-width:100%;
    }
    
    /* Отзывы */
    .reviews-section {
        flex-direction: column;
        margin-top: 60px;
        gap: 20px;
        position: relative;
        padding-top: 51px;
    }
    
    .latest-reviews h2{
        position: absolute;
        top: 0;
    }
    
    .reviews-section > div {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .reviews-summary{
        display: flex;
        flex-wrap: wrap;
        gap: 10%;
    }
    
    .average-rating {
        flex-direction: column;
        justify-content: center;
        width: 35%;
        margin: 0;
    }
    
    .rating-distribution {
        width: 55%;
    }
        
    .reviews-count{
        display: none;
    }
    
    .rating-number{
        font-size: 40px;
    }
    
    .rating-value {
        font-size: 15px;
    }
    
    .rating-distribution .rating-bar{
        height: 12px;
    }
    
    .rating-bar-scale{
        height: 12px;
        margin-left: 8px;
    }
    
    .rating-bar-scale-fill {
        height: 12px;
    }
    
    .reviews-summary {
        border-right: none;
    }
    
    .view-all-reviews-button{
        margin: 35px auto 55px;
    }
    
    #all-reviews-popup .children {
        padding-left: 30px;
    }
    
    #all-reviews-popup .children:before {
        left: 0px;
    }
	
	.reviews-empty{
		display: none;
	}
	
	/* Апсейллы */
	.upsells-product-block {
		background: transparent;
		padding-top: 0px;
		padding-bottom: 0px;
		margin-top: 40px;
	}

	.upsells-product-block .product-block-title {
		margin-bottom: 25px;
	}
    
    /* Общие стили */
    .mob-border-bottom:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        border-bottom: 1px solid #8A8D8F;
    }
    
    .popup-link{
        font-size: 16px;
        margin-top: 25px;
        text-decoration: underline;
    }
    
    .product-instruction-box .popup-link:before{
        display: none;
    }
    
    .form-group.form-flex {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Всплывающие окна */
    .mfp-content {
        max-width: 95vw;
        height: auto;
    }
    
    .mfp-content .content {
        max-height: 70vh;
		width: 100%;
    }
    
    .mfp-content > div{
        padding: 30px 20px;
    }
    
    .mfp-content button[type="submit"]{
        width: 100%;
    }
	
	.add-to-cart-hide {
		right: -100px!important;
		top: auto!important;
	}
    
}


/* Анимация кнопки фунготерапевта */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  40% {
    -moz-transform: translateX(-8px);
    -ms-transform: translateX(-8px);
    -webkit-transform: translateX(-8px);
    transform: translateX(-8px);
  }
  60% {
    -moz-transform: translateX(-4px);
    -ms-transform: translateX(-4px);
    -webkit-transform: translateX(-4px);
    transform: translateX(-4px);
  }
}