.single .type-post .btn-cart-toggle::before {
    content: 'Добавить в корзину';


}

.single .type-post .btn-cart-toggle {
    height: 24px;
    border: 1px solid #aaaaaa;
    display: flex;
    gap: 10px;
    padding: 7px;
    margin-top: 20px;
    font-size: 10px;
    color: #c6c6c6;
    font-weight: normal;
    text-transform: uppercase;
}

.single .type-post button.btn-cart-toggle.is-active::before {
    content: 'Удалить из корзины';
}

.single-container article {
    display: flex;
    gap: 44px;
}

.item-img {

    flex-grow: 1;
}

h1.entry-title {
    font-size: 14px;
    font-weight: 400;
}

.item-content {
    max-width: 250px;
}

.item-content-container {

    position: relative;
}

.single-container .item__btn--prev.disabled:not(.carousel__btn),
.single-container .item__btn--next.disabled:not(.carousel__btn) {
    display: none;
}

.single-container .item__btn--prev:not(.carousel__btn) {
    position: absolute;
    top: calc(50% - 16px);
    left: 0;
}

.single-container .item__btn--next:not(.carousel__btn) {
    position: absolute;
    top: calc(50% - 16px);
    right: 0;
}

.related-posts {
    display: flex;
    gap: 12px;
    margin-top: 76px;
    flex-wrap: wrap;
}

.post-price {
    margin-bottom: 20px;
}


.item-left {
    width: 296px;
    min-width: 296px;
}

.related-posts-container {
    display: flex;
    gap: 84px;
}

img.wp-post-image {
    max-width: 100%;
    height: 580px;
    object-fit: contain;
    object-position: top center;
}



/* Навигационные стрелки поверх контента */
.single-container .item__btn--prev:not(.carousel__btn),
.single-container .item__btn--next:not(.carousel__btn) {
    z-index: 7;
}

/* Article — база */
.items article {
    touch-action: pan-y;
    cursor: grab;
    will-change: transform, opacity;
    transition: transform 320ms cubic-bezier(.4, 0, .2, 1),
        opacity 320ms ease;
}

/* Во время drag */
.items article.is-dragging {
    transition: none;
}

.items article:active {
    cursor: grabbing;
}

/* Запрет browser-drag / selection */
.items article,
.items article * {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

/* Fade страницы */
html.is-page-fading body {
    opacity: 0;
}

body {
    transition: opacity 110ms ease;
}

/* Въезд новой статьи */
.items article.enter-from-left {
    transform: translateX(-40px);
    opacity: 0;
}

.items article.enter-from-right {
    transform: translateX(40px);
    opacity: 0;
}

.items article.enter-active {
    transform: translateX(0);
    opacity: 1;
}

/* Уезд текущей статьи */
.items article.exit-to-left {
    transform: translateX(-80vw);
    opacity: 0;
}

.items article.exit-to-right {
    transform: translateX(80vw);
    opacity: 0;
}

.cart-item:last-child {
    margin-bottom: 284px;
}




.item-media__slide {
    display: flex;
    width: 100%;

    justify-content: center;
}
.embla__slide {
    display: flex;
    max-height: 100%;
    justify-content: center;
    align-items: flex-end;
}
.item-media-modal .embla__viewport {
    min-height: 50vh;
}

.embla__container {
    max-height: 100%;
	}
	
	.embla__slide {
    max-height: 100%;}
	
	.embla__slide__inner {
    max-height: 100%;
}
.item-media-modal .item-media__slide, .item-media-modal .item-media__slide--video 
{
    max-height: 100%;
}

body .item-media__slide img {
    height: 100%;
    max-height: 100%;
    min-height: 100%;
    width: auto ;
}

.type-item h1.entry-title, .post-price{
    font-size: 10px;
    color: #595959;
}


@media (max-width: 991px) {
   body  .item-content-container {
 
    gap: 30px;
}
   body .single-container {
    margin: 176px auto 0;
    max-width: 1280px;
    padding: 35px 30px;
}
    img.wp-post-image {

        height: unset;
    }

    .single-container .item__btn--prev {

        left: 10px;
    }

    .single-container .item__btn--next {

        right: 10px;
    }


    .single-container article {
        flex-direction: column;
    }



    html,
    body {
        overflow-y: auto;
    }

    .related-posts-container .item-left {
        display: none;
    }

}