.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: 14px;
}

.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,
.single-container .item__btn--next.disabled {
    display: none;
}

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

.single-container .item__btn--next {
    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,
.single-container .item__btn--next {
    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;
}

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

}