.section-products {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
}

.section-product {
    border: 2px solid #DBDEE0;
    border-radius: 10px;
    width: calc(100% / 3 - 32px);
    max-width: 100%;
    padding: 4px;
    padding-bottom: 20px;
    margin: 16px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.section-product__image {
    max-width: 100%;
    height: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 0;
    margin-bottom: 10px;
    overflow: hidden;
}

.section-product__image img {
    max-width: 100%;
    max-height: 100%;
    object-position: center;
    object-fit: contain;
    display: block;
    width: 100%;
    height: 100%;
}

.section-product__info {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.section-product__image + .section-product__info {
    margin-top: 0;
}

.section-product__price-wrapper {
    display: flex;
    align-items: flex-end;
}

.section-product__price-title {
    margin-right: 10px;
}

.section-product__price {
    font-size: 24px;
    line-height: 28px;
    color: #222222;
    cursor: default;
}

.section-product__price-wrapper {
    margin-bottom: 10px;
}

.section-product__name {
    line-height: 21px;
    color: #222222;
    margin-bottom: 20px;
    padding-right: 8px;
    padding-left: 8px;
}

.button-cart-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-image: url("image/basket.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 10px;
}

.default-button.section-to-cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 28px;
    min-width: 0;
    width: 100%;
}

.section-bottom-pagen {
    text-align: right;
    text-align-last: right;
    margin-bottom: 10px;
}

.section-product__action-block {
    margin-top: auto;
    padding: 8px;
    margin-right: 5%;
    margin-left: 5%;
}


.section-product__rating-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding-left: 8px;
    padding-right: 8px;
}

.section-product-rating__group {
    margin-right: 10px;
    display: flex;
}

.section-product-rating__star {
    width: 16px;
    height: 16px;
    background-image: url("image/star.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.section-product-rating__star.active {
    background-image: url("image/star-red.svg");
}

.section-product-rating__text {
    font-size: 12px;
    line-height: 14px;
    color: #797A79;
    cursor: default;
}

.section-product__price .old__price {
    font-size: 14px;
    line-height: 14px;
}

.section-product__description {
    color: #797A79;
    font-size: 14px;
    line-height: 16px;
    margin: 0 0 10px;
    max-height: calc(16px * 3);
    overflow: hidden;
}
.section-product__description td {
    padding: 4px;
    padding-left: 8px;
    padding-right: 8px;
}

.section-product__description p {
    margin: 0;
}

.section-product__unavailable {
    font-size: 14px;
    line-height: 16px;
    color: #EC1C23;
    /*position: absolute;*/
    top: 10px;
    left: 14px;
    text-shadow: 0px 0px 4px rgba(255, 255, 255, 1);
}

.section-product__action-block .default-button {
    display: flex;
    justify-content: center;
}

@media (max-width: 1025px) {
    .section-product__price {
        font-size: 18px;
        line-height: 21px;
    }
}

@media (max-width: 600px) {


    .section-products {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .section-product:first-of-type {
        margin-top: 10px;
    }

    .section-product {
        width: 100%;
        margin: 5px 0;
        flex-direction: row;
        padding-top: 38px;
    }

    .section-product__image {
        max-width: 70px;
        margin-right: 20px;
        margin-bottom: 0;
        height: auto;
    }

    .section-product__info {
        width: calc(100% - 90px);
    }

    .section-product__name {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 7px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .default-button.section-to-cart-button {
        width: 140px;
    }

    .section-product__price-title {
        font-size: 12px;
        line-height: 14px;
    }

    .section-product__info .default-button {
        min-width: 0;
        max-width: 75%;
    }

    .section-bottom-pagen {
        text-align: left;
        text-align-last: left;
        margin-top: 10px;
    }

    .section-product-rating__star {
        width: 10px;
        height: 10px;
    }

    .section-product-rating__text {
        font-size: 10px;
        line-height: 12px;
    }

    .section-product__rating-wrapper {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        padding-left: 0px;
        padding-right: 0px;
    }
    .section-product__action-block {
        margin-top: auto;
        padding: 0px;
        padding-bottom: 8px;
    }
    .section-product__description td {
        padding: 0px;
    }
    .section-product__description table {
        width: 90%;
    }
    .section-product__description {
        width: 90%;
    }
    .section-product__description:not(.announcement__description) .desc span {
        padding: 0px;
    }
    .section-product__action-block {
        margin-top: auto;
        padding: 0px;
        margin-right: 0%;
        margin-left: 0%;
    }
}

.fancybox-content {
    background: unset !important;
    padding: unset !important;
}

.one-click-modal-form label {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

one-click-modal-form label {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.one-click-modal-form input[type="tel"]:focus,
.one-click-modal-form input[type="email"]:focus,
.one-click-modal-form input[type="url"]:focus,
.one-click-modal-form input[type="text"]:focus {
    outline: none;
}

.one-click-modal-form input[type="tel"]::placeholder,
.one-click-modal-form input[type="email"]::placeholder,
.one-click-modal-form input[type="url"]::placeholder,
.one-click-modal-form input[type="text"]::placeholder {
    color: #DBDEE0;
}

.one-click-modal-form input[type="tel"].error,
.one-click-modal-form input[type="email"].error,
.one-click-modal-form input[type="url"].error,
.one-click-modal-form input[type="text"].error {
    border-color: #EC1C23;
    color: #EC1C23;
}

.one-click-modal-form .errortext {
    text-align: right;
    text-align-last: right;
    color: #EC1C23;
    display: none;
    width: 100%;
    margin: 10px 0 0;
}

.one-click-modal-form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-end;
}

.one-click-modal__footer {
    padding-bottom: 10px;
    max-width: 360px;
}

@media (max-width: 600px) {
    .one-click-modal-form {
        padding-top: 10px;
    }

    .one-click-modal-form label {
        flex-direction: column;
        align-items: flex-start;
        font-size: 14px;
        line-height: 16px;
    }

    .one-click-modal-form label > span {
        margin-bottom: 5px;
    }

    .one-click-modal-form input[type="submit"],
    .one-click-modal-form input[type="tel"],
    .one-click-modal-form input[type="url"],
    .one-click-modal-form input[type="email"],
    .one-click-modal-form input[type="text"],
    .one-click-modal-form .default-button {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .modal-dialog {
        width: 370px !important;
        margin: 30px auto;
    }
}

.product__favorite_button {
    cursor: pointer;
}
.one-click-modal-form .label {
    font-weight: normal !important;
}


.section-products {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
}

.section-product {
    border: 2px solid #DBDEE0;
    border-radius: 10px;
    width: calc(100% / 3 - 32px);
    max-width: 100%;
    padding: 4px;
    padding-bottom: 20px;
    padding-top: 20px;
    margin: 16px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.section-product__image {
    max-width: 100%;
    height: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 0;
    margin-bottom: 10px;
    overflow: hidden;
}

.section-product__image img {
    max-width: 100%;
    max-height: 100%;
    object-position: center;
    object-fit: contain;
    display: block;
    width: 100%;
    height: 100%;
}

.section-product__info {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.section-product__image + .section-product__info {
    margin-top: 0;
}

.section-product__price-wrapper {
    display: flex;
    align-items: flex-end;
}

.section-product__price-title {
    margin-right: 10px;
}

.section-product__price {
    font-size: 24px;
    line-height: 28px;
    color: #222222;
    cursor: default;
}

.section-product__price-wrapper {
    margin-bottom: 10px;
}

.section-product__name {
    line-height: 21px;
    color: #222222;
    margin-bottom: 10px;
    height: auto;
    padding-left: 8px;
    padding-right: 8px;
}

.button-cart-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-image: url("image/basket.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 10px;
}

.default-button.section-to-cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 28px;
    min-width: 0;
    width: 100%;
}

.section-bottom-pagen {
    text-align: right;
    text-align-last: right;
    margin-bottom: 10px;
}

.section-product__action-block {
    margin-top: auto;
}

.section-product__rating-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding-left: 8px;
    padding-right: 8px;
}

.section-product-rating__group {
    margin-right: 10px;
    display: flex;
}

.section-product-rating__star {
    width: 16px;
    height: 16px;
    background-image: url("image/star.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.section-product-rating__star.active {
    background-image: url("image/star-red.svg");
}

.section-product-rating__text {
    font-size: 12px;
    line-height: 14px;
    color: #797A79;
    cursor: default;
}

.section-product__price .old__price {
    font-size: 14px;
    line-height: 14px;
}

.section-product__description {
    color: #797A79;
    font-size: 14px;
    line-height: 16px;
    margin: 0 0 10px;
    max-height: max-content;
    overflow: hidden;
    text-align: justify;
}

.section-product__description p {
    margin: 0;
}


.section-product__favorite_button {
    position: absolute;
    top: 7px;
    right: 9px;
    width: 20px;
    height: 25px;
    background-image: url(image/heart.svg);
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: 7px center;
    transition: background-image .2s ease;
    line-height: 25px;
    overflow: hidden;
    white-space: nowrap;
    padding-left: 30px;
    border-radius: 10px;
    font-size: 14px;
}

.section-product__favorite_button.in-favorites {
    background-image: url(image/heart-red.svg);
}

@media (hover) {
    .section-product__favorite_button:hover {
        width: auto;
        background-color: white;
        padding-right: 7px;
    }
}

@media (max-width: 1025px) {
    .section-product__price {
        font-size: 18px;
        line-height: 21px;
    }
}

@media (max-width: 600px) {
    .section-products {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .section-product:first-of-type {
        margin-top: 10px;
    }
    
    
    .section-product {
        width: 100%;
        margin: 5px 0;
        flex-direction: row;
        padding-top: 38px;
    }

    .section-product__image {
        max-width: 70px;
        margin-right: 20px;
        margin-bottom: 0;
        height: auto;
    }

    .section-product__info {
        width: calc(100% - 90px);
    }

    .section-product__name {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 7px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .default-button.section-to-cart-button {
        width: 140px;
    }

    .section-product__price-title {
        font-size: 12px;
        line-height: 14px;
    }

    .section-product__info .default-button {
        min-width: 0;
    }

    .section-bottom-pagen {
        text-align: left;
        text-align-last: left;
        margin-top: 10px;
    }

    .section-product-rating__star {
        width: 10px;
        height: 10px;
    }

    .section-product-rating__text {
        font-size: 10px;
        line-height: 12px;
    }

    .section-product__favorite_button {
        top: 12px;
        right: 13px;
        background-size: 14px;
    }
    .section-product__rating-wrapper {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        padding-left: 0px;
        padding-right: 0px;
    }
}

.section-product__available {

    position: absolute;
    top: 10px;
    left: 9px;

    background: linear-gradient(282.01deg, #1cec31 3.22%, rgba(132, 236, 28, 0.8) 100%);
    border-radius: 5px;
    border-width: 0;
    font-weight: bold;
    padding: 1px 5px 0px;
    /*min-width: 146px;*/
    max-width: 100%;
    color: #FFFFFF;
    transition: background .2s ease, box-shadow .2s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-align-last: center;
}
.section-product__available:hover {
    color: #F0F0F0;
}

.out_of_order_link{
    position: absolute;
    top: 10px;
    left: 9px;

    background: linear-gradient(282.01deg, #ec1c34 3.22%, rgba(236, 28, 70, 0.8) 100%);
    border-radius: 5px;
    border-width: 0;
    font-weight: bold;
    padding: 1px 5px 0px;
    /*min-width: 146px;*/
    max-width: 100%;
    color: #FFFFFF;
    transition: background .2s ease, box-shadow .2s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-align-last: center;
    z-index: 2;
}
.out_of_order_link:hover{
    color: #F0F0F0;
}

.js-prod-sub {
    /*position: absolute;*/
    top: 7px;
    left: 9px;
}

@media (max-width: 600px) {
    .out_of_order_link {
        /*left: 110px;*/
    }
    .section-product__available {
        left: 90px;
    }
}

.available-after-text::after {
    content: "В наличии";
    display: block;
}
.out-after-text::after {
    content: "Предзаказ";
    display: block;
}

.section-product__description table {
    width: 100%;
    overflow-wrap: anywhere;
}

.section-product__description table tr td:first-child {
    text-align: left;
}

.section-product__description table tr td:nth-child(2) {
    text-align: right;
    min-width: 50px;
}

.section-product__description:not(.announcement__description) .desc {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

@media (min-width: 610px) {
    .section-product__description:not(.announcement__description) .desc span {
        padding: 4px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media only screen and (min-width: 1024px) {
    .section-product__description table tr td:nth-child(2) {
        min-width: 80px;
    }
}

.announcement__description-preview {
    margin-bottom: 0;
    padding-left: 8px;
    padding-right: 8px;
}

.announcement__description-preview br {
    display: block;
    margin: 30px 0;
}

.section-product__favorite_button {
    z-index: 2;
}

.section-product__available {
    z-index: 2;
}

.section-product__image.image__wrapper-slider {
    display: flex;
    flex-direction: column;
}

.section-product__image.image__wrapper-slider .swiper-pagination-bullet-active {
    background: #EC1C23 !important;
    opacity: 1 !important;
    border: unset !important;
}

.section-product__image.image__wrapper-slider .swiper-pagination-bullet-active:after {
    display: none;
}

.section-product__image.image__wrapper-slider .swiper-pagination-bullet:not(:last-child) {
    margin-right: 5px;
}

.section-product__image.image__wrapper-slider .swiper-container {
    width: 100%;
}

.section-product__image.image__wrapper-slider {
    margin-top: 8px;
    margin-bottom: 12px;
}

.section-product__image.image__wrapper-slider .swiper-slide .video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.section-product__image.image__wrapper-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.section-product__image.image__wrapper-slider .swiper-slide img {
    opacity: 0;
}

.section-product__image.image__wrapper-slider .swiper-slide img.swiper-lazy-loaded {
    opacity: 1;
}

@media only screen and (max-width: 600px) {
    .announcement__description-preview {
        margin-bottom: 10px;
        padding-left: 0;
        padding-right: 0;
    }
    .section-products .section-product {
        flex-direction: column;
        padding-left: 15px;
        padding-right: 15px;
    }
    .section-products .section-product .image__wrapper-slider,
    .section-products .section-product__info {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    .section-products .section-product__description {
        width: 100%;
    }
    .section-products .section-product__available {
        left: 14px;
    }
    .section-products .section-product__info .default-button {
        max-width: 100%;
    }
    .section-products .section-product .image__wrapper-slider {
        max-height: 200px;
    }
}