*{
    outline: none !important;
}
a, a:active, a:hover, a:focus {
    outline: none !important;
    outline-offset: 0;
}
/**
 * Header
 */
#page header.site-header{
    position: fixed;
    top: 0;
    width: 100%;
}
#page header.site-header .ast-above-header-wrap,
#page header.site-header .ast-main-header-wrap,
#page header.site-header .ast-below-header-wrap{
    transition: .5s ease-in-out;
}
#page header.site-header.scrolling .ast-above-header-wrap{
    transform: translateY(-90%);
}
#page header.site-header.scrolling .ast-main-header-wrap{
    margin-top: -60px;
}
#page header.site-header.scrolling .ast-below-header-wrap{
    margin-top: -62px;
}
header.site-header .ast-main-header-wrap .site-primary-header-wrap .ast-builder-grid-row{
    display: flex;
}
header.site-header .ast-main-header-wrap .site-header-primary-section-left{
    width: 100%;
}
header.site-header .ast-main-header-wrap .site-header-primary-section-left>aside[data-section="sidebar-widgets-header-widget-1"]{
    max-width: 800px;
    width: 100%;
}
header.site-header .ast-main-header-wrap .site-header-primary-section-left>aside form .dgwt-wcas-sf-wrapp{
    /*background-color: transparent;*/
    background-color: #fcfcfc;
}
header.site-header .ast-main-header-wrap .site-header-primary-section-left>aside form .dgwt-wcas-sf-wrapp #dgwt-wcas-search-input-1{
    padding-left: 30px;
    font-family: Montserrat;
    border: 1px solid #EAEAEA;
    background: #F3F5FA;
}
header.site-header .ast-main-header-wrap .site-header-primary-section-left>aside form .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit{
    right: 30px;
    left: auto;
}
header.site-header .ast-main-header-wrap .site-header-primary-section-right{
    display: none;
}
header.site-header .site-below-header-wrap{
    display: flex;
}
header.site-header .site-below-header-wrap .ast-builder-grid-row{
    display: flex;
    width: 100%;
}
header.site-header .site-header-below-section-left{
    width: 100%;
    margin-bottom: 10px;
}
header.site-header .ast-below-header-wrap .site-header-below-section-right{
    display: none;
}
header.site-header .site-header-below-section-left aside{
    width: 100%;
    padding: 0;
}
header.site-header .header-bottom-menu{
    display: flex;
    justify-content: space-between;
    transition: none !important;
}
header.site-header .header-bottom-menu .header-bottom-menu-item{
    min-height: 20px;
}
header.site-header .header-bottom-menu .header-bottom-menu-item svg{
    height: 20px;
    width: 20px;
    fill: #fff;
    margin-right: 7px;
}
header.site-header .header-bottom-menu .header-bottom-menu-item a{
    display: flex;
    align-items: center;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;

    color: #161616;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
header.site-header .header-bottom-menu .header-bottom-menu-item a span{
    font-size: 14px;
}
header.site-header .header-bottom-menu .header-bottom-menu-item.sales a{
    color: #E35454;
    text-transform: uppercase;
}
header.site-header .header-bottom-menu .header-bottom-menu-item.sales a:hover{
    color: #E35454;
}
header.site-header .header-bottom-menu .header-bottom-menu-item a:hover{
    color: #71C45D;
}
#ast-site-header-cart i.astra-icon:after{
    line-height: 21px;
    height: 22px;
    width: 22px;
    color: #FFFFFF;
}
#ast-desktop-header .ast-main-header-bar-alignment nav.site-navigation .main-navigation ul.main-header-menu{
    gap: 36px;
}
#ast-desktop-header .ast-main-header-bar-alignment nav.site-navigation .main-navigation ul.main-header-menu li a{
    color: #161616;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
#ast-desktop-header #block-35>p{
    display: none;
}
#phone-and-working-time_widget{
    position: relative;
}
#phone-and-working-time_widget .phone-dropdown-pin:hover{
    cursor: pointer;
}
#phone-and-working-time_widget .phone-dropdown-pin span{
    color: #161616;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
#phone-and-working-time_widget .phone-dropdown-pin .phone-arrow{
    rotate: 270deg;
    margin-left: 12px;
    transition: .3s;
}
#phone-and-working-time_widget.active .phone-dropdown-pin .phone-arrow{
    rotate: 90deg;
}
#phone-and-working-time_widget .phone-dropdown{
    display: none;
    position: absolute;
    padding: 19px 34px 18px 35px;
    background-color: #FFF;
    color: #161616;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 20.8px */
    min-width: 200px;
    top: calc(100% + 8px);
    right: -16px;
    border-radius: 5px;
    box-shadow: 0 1px 5px 0.5px rgba(108, 108, 108, 0.15);
    z-index: 11;
}
#phone-and-working-time_widget.active .phone-dropdown{
    display: block;
}
#phone-and-working-time_widget .phone-dropdown:before{
    content: "";
    border: 10px solid transparent;
    border-top: none;
    border-bottom-color: #fff;
    right: 44px;
    top: -10px;
    position: absolute;
}
#phone-and-working-time_widget .phone-dropdown .phone-dropdown_phone{
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}
#phone-and-working-time_widget .phone-dropdown .phone-dropdown_phone a:first-child{
    margin-bottom: 5px;
}
header #ast-desktop-header .ast-main-header-wrap .ast-site-header-cart .ast-addon-cart-wrap i.astra-icon:after{
    color: #ffffff;
}
    /**
     * Mobile header
     */
#ast-mobile-popup-wrapper .main-navigation{
    padding: 15px 0;
    border-bottom: 1px solid #EAEAEA;
}
#ast-mobile-popup-wrapper .main-navigation #ast-hf-mobile-menu{
    border: 0;
}
#ast-mobile-popup-wrapper .main-navigation #ast-hf-mobile-menu li a.menu-link{
    color: #161616;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 15px 30px;
    border: 0;
}
#ast-mobile-popup-wrapper .site-header-focus-item.ast-header-html-1{
    padding: 30px;
}
#ast-mobile-popup-wrapper .site-header-focus-item.ast-header-html-1 #mobile-data-and-phone{
    color: #161616;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}
#ast-mobile-popup-wrapper .site-header-focus-item.ast-header-html-1 #mobile-data-and-phone .phone{
    margin-bottom: 10px;
}
#ast-mobile-popup-wrapper .site-header-focus-item.ast-header-html-1 #mobile-data-and-phone .phone div{
    margin-bottom: 7px;
}
/**
 * Search
 */
.dgwt-wcas-suggestions-wrapp.woocommerce.js-dgwt-wcas-initialized{
    border-radius: 0 0 10px 10px;
}
.s-prod-day {
    margin-top: 120px;
    margin-bottom: 120px;
}

.s-prod-day__title {
    margin-bottom: 40px;
    text-align: center;
}

.swiper-custom-c {
    position: relative;
}

.swiper-custom-c .swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
    touch-action: pan-y
}

.swiper-custom-c .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
    transform: translate3d(0, 0, 0);
}

.swiper-custom-c .swiper-backface-hidden .swiper-slide {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.swiper-custom-c .swiper-wrapper .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    display: block;
}

.swiper-custom-c .swiper-button-next,
.swiper-custom-c .swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 2px solid #aeaeae;
    border-radius: 20px
}

.swiper-custom-c .swiper-button-next.swiper-button-disabled,
.swiper-custom-c .swiper-button-prev.swiper-button-disabled {
    opacity: 0.5;
}

.swiper-custom-c .swiper-button-next.swiper-button-lock,
.swiper-custom-c .swiper-button-prev.swiper-button-lock {
    display: none;
}

.s-prod-day-swiper-c.swiper-custom-c .swiper-button-prev,
.s-prod-day-swiper-c.swiper-custom-c .swiper-button-next {
    margin-top: -38px;
}

.swiper-custom-c .swiper-button-prev {
    left: 0
}

.swiper-custom-c .swiper-button-next {
    right: 0
}

.s-prod-day-swiper-c.swiper-custom-c .swiper-button-prev {
    left: -20px;
}

.s-prod-day-swiper-c.swiper-custom-c .swiper-button-next {
    right: -20px;
}

.swiper-custom-c .swiper-button-next .arrow,
.swiper-custom-c .swiper-button-prev .arrow {
    fill: #AEAEAE
}

.swiper-custom-c .swiper-button-next .arrow.next {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg)
}

.swiper-custom-c .swiper-lazy-preloader {
    width: 42px;
    height: 42px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -21px;
    margin-top: -21px;
    z-index: 10;
    transform-origin: 50%;
    box-sizing: border-box;
    border: 4px solid var(--ast-global-color-0);
    border-radius: 50%;
    border-top-color: transparent;
    animation: 1s linear infinite swiper-preloader-spin
}

.swiper-custom-c .swiper-pagination {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    height: 50px;
    align-items: center;
    width: 100%;
    text-align: center;
    transition: opacity .3s;
    transform: translate3d(0, 0, 0)
}

.swiper-custom-c .swiper-pagination.swiper-pagination-lock {
    display: none;
}

.swiper-custom-c .swiper-pagination .swiper-pagination-bullet {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 15px;
    background-color: #dfdfdf;
    border-radius: 7px
}

.swiper-custom-c .swiper-pagination .swiper-pagination-bullet:hover {
    cursor: pointer
}

.swiper-custom-c .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 10px;
    height: 10px;
    background-color: #aeaeae
}

@keyframes swiper-preloader-spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

.s-prod-day-swiper-c .s-prod-day-swiper {
    margin-left: -20px;
    margin-right: -20px;
    margin-top: -20px;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.s-prod-day-swiper .products {
    display: block !important;
    margin: 0 !important;
    height: 100%;
}

.s-prod-day-swiper .products li {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    height: 100%;
}

.s-prod-day-swiper-c.swiper-custom-c .swiper-wrapper .swiper-slide {
    height: auto;
}

@media (max-width: 834px) {
    .swiper-custom-c .swiper-button-next,
    .swiper-custom-c .swiper-button-prev {
        display: none;
    }
}

.custom-modal-bg {
    display: none;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0b0b0b;
    opacity: 0.6 !important;
}

.custom-modal-bg.active {
    display: block;
}

._custom-modal-opened {
    overflow: hidden;
    height: 100vh;
}

.custom-modal {
    display: none;
    position: fixed;
    z-index: 1002;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    overflow: auto;
    pointer-events: none;
}

.custom-modal.active {
    display: flex;
}

.custom-modal-in {
    position: relative;
    width: 100%;
    background: #FCFCFC;
    padding: 32px 55px;
    margin-top: auto;
    margin-bottom: auto;
    pointer-events: all;
    max-width: 1070px;
    border-radius: 25px;
}

.custom-modal-close-btn {
    cursor: pointer;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 30px;
    right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #989898;
    background: transparent;
    border: none;
    transition: all .3s;
}

@media (hover:hover) {
    .custom-modal-close-btn:hover {
        color: #333333;
    }
}

.custom-modal-close-btn:active {
    color: #333333;
}

.custom-modal__title {
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 40px;
    padding-right: 30px;
}

.custom-modal-catalog-day__list-c {
    max-height: 572px;
    overflow: auto;
    padding: 0 30px;
    scrollbar-gutter: stable;
    margin-right: -30px;
}

.custom-modal-catalog-day__list-c .products {
    grid-template-columns: repeat(3, 1fr) !important;
}

.custom-modal-catalog-day__list-c .products li {
    margin-bottom: 20px !important;
}

.custom-modal-catalog-day .custom-modal-in {
    padding-bottom: 70px;
}

.custom-modal-catalog-day__footer-btn-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0px 1px 5px 0px #65656526;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-modal-catalog-day__footer-btn {
    padding: 0 30px;
    height: 48px;
    background: none;
    border: 1px solid #71c45d;
    border-radius: 40px;
    text-align: center;
    font-size: 15px;
    color: #71c45d;
    transition: all .3s;
}

@media (hover:hover) {
    .custom-modal-catalog-day__footer-btn:hover {
        background: #71c45d;
        color: #fff;
        border-color: #71c45d;
    }
}

.custom-modal-catalog-day__footer-btn:active {
    background: #71c45d;
    color: #fff;
    border-color: #71c45d;
}

@media (max-width: 834px) {
    .custom-modal-in {
        padding: 30px 18px;
    }

    .custom-modal-close-btn {
        right: 18px;
    }

    .custom-modal__title {
        margin-bottom: 20px;
    }

    .custom-modal-catalog-day__list-c {
        padding: 5px;
        margin: -5px;
    }

    .custom-modal-catalog-day__footer-btn {
        height: 44px;
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 767px) {
    .custom-modal-in {
        padding: 20px 10px;
    }

    .custom-modal-close-btn {
        top: 20px;
        right: 10px;
    }

    .custom-modal__title {
        font-size: 17px;
        line-height: 21px;
    }

    .custom-modal-catalog-day .custom-modal__title {
        max-width: 260px;
    }

    .custom-modal-catalog-day__list-c {
        max-height: 470px;
    }

    .custom-modal-catalog-day__list-c .products {
        margin-top: 0 !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px 10px !important;
    }

    .custom-modal-catalog-day__list-c .products li {
        margin-bottom: 0 !important;
    }

    .custom-modal-catalog-day .custom-modal-in {
        padding-bottom: 60px;
    }

    .custom-modal-catalog-day__footer-btn-wrap {
        height: 60px;
    }

    .custom-modal-catalog-day__footer-btn {
        height: 44px;
        padding-left: 25px;
        padding-right: 25px;
        font-size: 14px;
    }
    
}
/* Cart: disable plus when qty reached max (uses :has, modern browsers) */
.woocommerce-cart .quantity:has(input.qty[max]:not([max=""]) ) .plus {
    /* по умолчанию активна */
}

.woocommerce-cart .quantity:has(input.qty[max]:not([max=""]) ) .plus.is-disabled {
    pointer-events: none;
    opacity: .4;
    cursor: not-allowed;
}
.woocommerce-cart a.plus.is-disabled{
    opacity: .4;
    cursor: not-allowed;
}

.woocommerce-product-gallery__wrapper {
    max-width: 100%;
    max-height: 100%;
}

.woocommerce-product-gallery__image--placeholder {
    max-width: 100%;
    max-height: 100%;
    display: flex;
}

.woocommerce-js div.product div.images .woocommerce-product-gallery__wrapper img {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    object-fit: contain;
}
/* footer contacts*/
.footer-contacts svg {
    display: inline-block;
    vertical-align: middle;
    margin-top: -1px;
    margin-right: 2px;
}
/* end */

#ast-desktop-header #ai-dropdown-menu .dropdown-block .child-categories-list {
    left: 290px;
}

@media (hover:hover) {
    #ast-desktop-header #ai-dropdown-menu .dropdown-block .child-categories-list .child-category:has(.child-categories-list):hover > .child-categories-list {
        display: block;
    }
}

#ast-desktop-header #ai-dropdown-menu .dropdown-block .child-categories-list .child-category:has(.child-categories-list) .child-category {
    min-width: 300px;
}

@media (max-width: 1275px) {
    #ast-desktop-header #ai-dropdown-menu .dropdown-block .child-categories-list .child-category > .child-categories-list .child-category > .child-categories-list {
        display: none;
    }
}

@media (max-width: 1200px) {
    #ast-desktop-header #ai-dropdown-menu .dropdown-block .child-categories-list .child-category > .child-categories-list {
        display: none !important;
    }
}

.current-cat-inner-list {
    padding-left: 20px;
}

.current-cat-inner-btn {
    display: flex;
    gap: 8px;
}

.current-cat-inner-btn-toggler {
    display: flex;
    cursor: pointer;
    flex: 0 0 auto;
    align-items: center;
}

.current-cat-inner-btn-toggler svg {
    transform: rotate(-90deg);
    transition: all .3s;
}

.current-cat-inner-btn-toggler.active svg {
    transform: rotate(-270deg);
}

.current-cat-inner__nav-list {
    padding-left: 20px;
}

.current-cat-inner__nav-link.current-cat-link > a {
    font-size: 14px !important;
    position: relative;
    padding-left: 18px;
}

.current-cat-inner__nav-link.current-cat-link > a:before {
    position: absolute;
    display: block;
    content: "";
    background: currentColor;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    width: 10px;
    background: currentColor;
}

.accordion-content {
    display: none;
}

.accordion-content.active {
    display: block;
}

/* =========================
   DESKTOP / TABLET
   ========================= */
@media (min-width: 768px) {
    .woocommerce-table.order_details {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
    }

    .woocommerce-table.order_details thead {
        display: table-header-group;
    }

    .woocommerce-table.order_details thead tr,
    .woocommerce-table.order_details tbody tr {
        grid-template-columns: minmax(320px, 1fr) 140px 90px 140px;
        align-items: center;
    }

    .woocommerce-table.order_details thead th {
        padding: 14px 20px;
        box-sizing: border-box;
    }

    .woocommerce-table.order_details thead th:first-child {
        grid-column: 1;
        text-align: left;
    }

    .woocommerce-table.order_details thead th:last-child {
        grid-column: 4;
        text-align: right;
    }

    .woocommerce-table.order_details tbody td {
        padding: 18px 20px;
        box-sizing: border-box;
        border: 0;
    }

    .woocommerce-table.order_details tbody tr {
        border-bottom: 1px solid #e5e5e5;
    }

    .woocommerce-table.order_details .woocommerce-table__product-name {
        text-align: left;
    }

    .woocommerce-table.order_details .woocommerce-table__product-price,
    .woocommerce-table.order_details .woocommerce-table__product-qty {
        text-align: center;
    }

    .woocommerce-table.order_details .woocommerce-table__product-total {
        text-align: right;
    }

    .woocommerce-table.order_details tfoot tr {
        border-bottom: 1px solid #e5e5e5;
    }

    .woocommerce-table.order_details tfoot th,
    .woocommerce-table.order_details tfoot td {
        padding: 18px 20px;
        border: 0;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .woocommerce-table.order_details tfoot th {
        width: 70%;
        text-align: left;
        font-weight: 400;
    }

    .woocommerce-table.order_details tfoot td {
        width: 30%;
        text-align: right;
    }

    .woocommerce-table.order_details tfoot tr:last-child th,
    .woocommerce-table.order_details tfoot tr:last-child td {
        font-weight: 700;
    }
}


/* =========================
   MOBILE
   ========================= */
@media (max-width: 767px) {
    /* полностью убираем grid/fixed логику */
    .woocommerce-table.order_details,
    .woocommerce-table.order_details thead,
    .woocommerce-table.order_details tbody,
    .woocommerce-table.order_details tfoot,
    .woocommerce-table.order_details tr,
    .woocommerce-table.order_details th,
    .woocommerce-table.order_details td {
        display: revert;
    }

    .woocommerce-table.order_details {
        width: 100%;
        table-layout: auto;
        border-collapse: collapse;
    }

    /* заголовок таблицы на мобилке обычно не нужен */
    .woocommerce-table.order_details thead {
        display: none;
    }

    /* строки товаров как стандартный mobile WooCommerce */
    .woocommerce-table.order_details tbody td,
    .woocommerce-table.order_details tfoot th,
    .woocommerce-table.order_details tfoot td {
        padding: 16px 0;
        border-bottom: 1px solid #e5e5e5;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .woocommerce-table.order_details tbody td::before,
    .woocommerce-table.order_details tfoot th::before,
    .woocommerce-table.order_details tfoot td::before {
        display: none;
    }

    /* стандартное поведение WooCommerce для mobile-таблиц */
    .woocommerce-table.order_details tbody td,
    .woocommerce-table.order_details tfoot td,
    .woocommerce-table.order_details tfoot th {
        text-align: right;
    }

    .woocommerce-table.order_details tbody td[data-title]::before {
        content: attr(data-title) ": ";
        float: left;
        font-weight: 700;
        color: inherit;
    }

    /* если у первой ячейки нет data-title, добавим подпись руками */
    .woocommerce-table.order_details tbody .woocommerce-table__product-name::before {
        content: "Наименование товара: ";
        float: left;
        font-weight: 700;
    }

    /* футер */
    .woocommerce-table.order_details tfoot th {
        text-align: left;
        font-weight: 400;
    }

    .woocommerce-table.order_details tfoot td {
        text-align: right;
    }

    .woocommerce-table.order_details tfoot tr:last-child th,
    .woocommerce-table.order_details tfoot tr:last-child td {
        font-weight: 700;
    }

    /* очищаем float, чтобы строки не схлопывались */
    .woocommerce-table.order_details tbody td::after,
    .woocommerce-table.order_details tfoot th::after,
    .woocommerce-table.order_details tfoot td::after {
        content: "";
        display: block;
        clear: both;
    }
}

/* ================= DESKTOP ================= */
@media (min-width: 768px) {
    table.woocommerce-table.woocommerce-table--order-details.order_details {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details thead tr,
    table.woocommerce-table.woocommerce-table--order-details.order_details tbody tr {
        display: grid-lanes; !important;
        grid-template-columns: minmax(320px, 1fr) 140px 90px 140px;
        align-items: center;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details thead th {
        padding: 14px 20px;
        box-sizing: border-box;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details thead th:first-child {
        text-align: left;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details thead th:last-child {
        text-align: right;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details tbody tr {
        border-bottom: 1px solid #e5e5e5;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details tbody td {
        padding: 18px 20px;
        border: 0;
        box-sizing: border-box;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details .woocommerce-table__product-name {
        text-align: left;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details .woocommerce-table__product-price,
    table.woocommerce-table.woocommerce-table--order-details.order_details .woocommerce-table__product-qty {
        text-align: center;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details .woocommerce-table__product-total {
        text-align: right;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details tfoot tr {
        display: table-row !important;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details tfoot th,
    table.woocommerce-table.woocommerce-table--order-details.order_details tfoot td {
        padding: 18px 20px;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: 0;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details tfoot th {
        width: 70%;
        text-align: left;
        font-weight: 400;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details tfoot td {
        width: 30%;
        text-align: right;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details tfoot tr:last-child th,
    table.woocommerce-table.woocommerce-table--order-details.order_details tfoot tr:last-child td {
        font-weight: 700;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 767px) {
    table.woocommerce-table.woocommerce-table--order-details.order_details thead {
        display: none !important;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details,
    table.woocommerce-table.woocommerce-table--order-details.order_details tbody,
    table.woocommerce-table.woocommerce-table--order-details.order_details tfoot {
        display: table !important;
        width: 100% !important;
        table-layout: auto !important;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details tr {
        display: table-row !important;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details td,
    table.woocommerce-table.woocommerce-table--order-details.order_details th {
        display: table-cell !important;
        width: auto !important;
        float: none !important;
        clear: none !important;
        padding: 16px 0 !important;
        border-bottom: 1px solid #e5e5e5 !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        vertical-align: top;
    }

    /* стандартный mobile-вид WooCommerce */
    table.woocommerce-table.woocommerce-table--order-details.order_details tbody td {
        text-align: right !important;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details tbody td::before {
        content: attr(data-title) ": " !important;
        float: left !important;
        font-weight: 700 !important;
        color: inherit !important;
        padding-right: 15px;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details tbody td.woocommerce-table__product-name::before {
        content: "Наименование товара: " !important;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details tbody td::after,
    table.woocommerce-table.woocommerce-table--order-details.order_details tfoot th::after,
    table.woocommerce-table.woocommerce-table--order-details.order_details tfoot td::after {
        content: "" !important;
        display: block !important;
        clear: both !important;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details tfoot th {
        text-align: left !important;
        font-weight: 400 !important;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details tfoot td {
        text-align: right !important;
    }

    table.woocommerce-table.woocommerce-table--order-details.order_details tfoot tr:last-child th,
    table.woocommerce-table.woocommerce-table--order-details.order_details tfoot tr:last-child td {
        font-weight: 700 !important;
    }
}

@media (max-width: 767px) {
    table.shop_table_responsive.woocommerce-table.woocommerce-table--order-details.order_details td,
    table.shop_table_responsive.woocommerce-table.woocommerce-table--order-details.order_details th {
        display: table-cell !important;
    }
}

.add_to_cart_button-wrap > * {
    pointer-events: all;
}

.add_to_cart-quant {
    display: none;
    justify-content: center;
    width: 100%;
    padding: 0 10px;
    position: absolute;
    top: 50px;
    bottom: 0;
    right: 0;
    left: 0;
    height: 35px;
    margin: auto;
    z-index: 1;
}

.add_to_cart-quant-btn {
    position: relative;
    width: 35px;
    height: 35px;
    flex: 0 0 auto;
    border-radius: 0;
    padding: 0;
}

.add_to_cart-quant-btn:focus {
    background: #71c45d;
}

@media (hover:hover) {
    .add_to_cart-quant-btn:hover {
        background: #3f7332;
    }

    #primary ul.products li .astra-shop-thumbnail-wrap:hover .custom_add_to_cart_button {
        opacity: 1;
        top: -40px;
    }
}

.add_to_cart-quant-btn-minus:before,
.add_to_cart-quant-btn-plus:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 2px;
    background: #fff;
}

.add_to_cart-quant-btn-plus:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    width: 12px;
    height: 2px;
    background: #fff;
}

.add_to_cart-quant-field {
    cursor: default;
    flex: 0 0 auto;
    min-width: 0;
    text-align: center;
    width: 50px;
    height: 35px !important;
    padding: 0 !important;
}

@media (hover:hover) {
    #primary ul.products li .astra-shop-thumbnail-wrap:hover .add_to_cart_button ~ .add_to_cart-quant {
        display: flex;
    }
}

.astra-shop-summary-wrap .add_to_cart_button-mob-wrap {
    display: none;
}

@media (max-width: 834px) {
    .add_to_cart_button-mob-wrap {
        min-height: 48px;
    }

    .astra-shop-summary-wrap .add_to_cart_button-mob-wrap {
        display: flex;
        flex-direction: row-reverse;
    }

    .add_to_cart_button-mob-wrap .add_to_cart_button {
        width: 100%;
    }

    .add_to_cart_button-mob-wrap .add_to_cart_button ~ .add_to_cart-quant {
        display: flex;
    }

    .add_to_cart_button-mob-wrap .add_to_cart_button {
        margin: 10px 0 0 !important;
    }

    .add_to_cart_button-mob-wrap .add_to_cart_button {
        font-size: 0;
        text-indent: -999999999px;
        padding: 0;
        border-radius: 0 !important;
        height: 35px !important;
        background: #71c45d !important;
    }

    .add_to_cart_button-mob-wrap .add_to_cart_button:before {
        position: absolute;
        display: block;
        content: "";
        width: 20px;
        height: 20px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='ast-basket-icon-svg' x='0px' y='0px' width='100' height='100' viewBox='826 826 140 140' enable-background='new 826 826 140 140' xml:space='preserve'%3E%3Cpath d='M955.418,887.512c2.344,0,4.343,0.829,6.002,2.486c1.657,1.659,2.486,3.659,2.486,6.002c0,2.343-0.829,4.344-2.486,6.001 c-1.659,1.658-3.658,2.487-6.002,2.487h-0.994l-7.627,43.9c-0.354,2.033-1.326,3.713-2.917,5.04 c-1.593,1.326-3.405,1.989-5.438,1.989h-84.883c-2.033,0-3.846-0.663-5.438-1.989c-1.591-1.327-2.564-3.007-2.918-5.04l-7.626-43.9 h-0.995c-2.343,0-4.344-0.829-6.001-2.487c-1.658-1.657-2.487-3.658-2.487-6.001c0-2.343,0.829-4.343,2.487-6.002 c1.658-1.658,3.659-2.486,6.001-2.486H955.418z M860.256,940.563c1.149-0.089,2.111-0.585,2.885-1.491 c0.773-0.907,1.116-1.936,1.028-3.085l-2.122-27.586c-0.088-1.15-0.585-2.111-1.492-2.885c-0.906-0.774-1.934-1.117-3.083-1.028 c-1.149,0.088-2.111,0.586-2.885,1.492s-1.116,1.934-1.028,3.083l2.122,27.587c0.088,1.105,0.542,2.034,1.359,2.785 c0.818,0.752,1.78,1.128,2.885,1.128H860.256z M887.512,936.319v-27.587c0-1.149-0.42-2.144-1.26-2.984 c-0.84-0.84-1.834-1.26-2.984-1.26s-2.144,0.42-2.984,1.26c-0.84,0.841-1.26,1.835-1.26,2.984v27.587c0,1.149,0.42,2.145,1.26,2.984 c0.84,0.84,1.835,1.26,2.984,1.26s2.144-0.42,2.984-1.26C887.092,938.464,887.512,937.469,887.512,936.319z M912.977,936.319 v-27.587c0-1.149-0.42-2.144-1.26-2.984c-0.841-0.84-1.835-1.26-2.984-1.26s-2.145,0.42-2.984,1.26 c-0.84,0.841-1.26,1.835-1.26,2.984v27.587c0,1.149,0.42,2.145,1.26,2.984s1.835,1.26,2.984,1.26s2.144-0.42,2.984-1.26 C912.557,938.464,912.977,937.469,912.977,936.319z M936.319,936.65l2.122-27.587c0.088-1.149-0.254-2.177-1.027-3.083 s-1.735-1.404-2.885-1.492c-1.15-0.089-2.178,0.254-3.084,1.028c-0.906,0.773-1.404,1.734-1.492,2.885l-2.122,27.586 c-0.088,1.149,0.254,2.178,1.027,3.085c0.774,0.906,1.736,1.402,2.885,1.491h0.332c1.105,0,2.066-0.376,2.885-1.128 C935.777,938.685,936.23,937.756,936.319,936.65z M859.66,855.946l-6.167,27.322h-8.753l6.698-29.245 c0.84-3.89,2.807-7.062,5.902-9.516c3.095-2.453,6.632-3.68,10.611-3.68h11.074c0-1.149,0.42-2.144,1.26-2.984 c0.84-0.84,1.835-1.26,2.984-1.26h25.465c1.149,0,2.144,0.42,2.984,1.26c0.84,0.84,1.26,1.834,1.26,2.984h11.074 c3.979,0,7.516,1.227,10.611,3.68c3.094,2.454,5.062,5.626,5.901,9.516l6.697,29.245h-8.753l-6.168-27.322 c-0.486-1.945-1.491-3.537-3.017-4.774c-1.525-1.238-3.282-1.857-5.272-1.857h-11.074c0,1.15-0.42,2.144-1.26,2.984 c-0.841,0.84-1.835,1.26-2.984,1.26h-25.465c-1.149,0-2.144-0.42-2.984-1.26c-0.84-0.84-1.26-1.834-1.26-2.984h-11.074 c-1.99,0-3.747,0.619-5.272,1.857C861.152,852.409,860.146,854,859.66,855.946z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E");
        background-size: contain;
        background-position: center;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .add_to_cart-quant {
        margin-top: 10px;
        margin-right: 5px;
        padding: 0;
        position: relative;
        inset: auto;
    }

    .add_to_cart-quant-field {
        width: 45px;
    }
}
#primary:has(.ast-sticky-shop-filters) {
    margin-top: 30px;
}

.apt-list_table_mob-only {
    display: none;
}

.footer-logo-c {
    max-width: 1290px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
}

.footer-logo {
    display: flex;
}

.footer-logo span {
    margin: auto;
    color: var(--ast-global-color-0);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    padding-left: 12px;
}

@media (max-width: 921px) {
    .site-main ul.products li.product {
        margin-bottom: 5px;
    }

    .woocommerce-page.ast-single-post div#content.site-content {
        margin-top: 140px;
    }
}

@media (max-width: 834px) {
    .apt-list_table_mob-only {
        display: inline-flex;
    }

    #single-product-booking #single-product-booking-pharmacy-list table tr {
        position: relative;
    }

    #single-product-booking #single-product-booking-pharmacy-list table tr td {
        padding-left: 0;
        padding-right: 0;
    }

    #single-product-booking #single-product-booking-pharmacy-list table tr .pharmacy_geo {
        border: none;
        position: absolute;
        top: 0;
        left: 0;
        padding-top: 8px;
    }

    #single-product-booking #single-product-booking-pharmacy-list table tr .apt-num-phone {
        position: relative;
    }

    #single-product-booking #single-product-booking-pharmacy-list table tr .apt-num-phone:before {
        position: relative;
        display: inline-block;
        content: "";
        width: 24px;
        height: 1px;
        pointer-events: none;
    }

    #single-product-booking #single-product-booking-pharmacy-list table td .apt-main-info .apt-num-phone a {
        margin-top: 5px;
        display: inline-block;
    }

    #single-product-booking #single-product-booking-pharmacy-list table td .counter span {
        justify-content: center;
        width: 50px;
    }

    #single-product-booking #single-product-booking-pharmacy-list table td .counter .btn {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        padding: 0;
        background: #71c45d;
        color: #fff !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #single-product-booking #single-product-booking-pharmacy-list table td .counter .btn {
        stroke: #fff;
    }

    #single-product-booking #single-product-booking-pharmacy-list table td.counter-cell,
    #single-product-booking #single-product-booking-pharmacy-list table td.add-to-cart-cell {
        width: auto;
    }

    #single-product-booking #single-product-booking-pharmacy-list table td.add-to-cart-cell {
        margin-left: auto;
    }

    .expiration-date__title {
        display: block;
        font-size: 12px;
        color: gray;
        margin-bottom: -5px;
    }

    .apt-price_td__title {
        display: block;
        font-size: 12px;
        color: gray;
        font-weight: 400;
        margin-bottom: -5px;
    }
}

@media (max-width: 767px) {
    .product-main-info #product-payment .price-stock-and_add-to-cart-block .add-to-cart-item form .quantity a {
        background: #71c45d;
        color: #fff !important;
        border-radius: 50%;
        width: 45px;
    }

    .woocommerce-page.ast-single-post div#content.site-content .product_title {
        margin-bottom: 15px;
    }

    .woocommerce-page.ast-single-post .ast-woocommerce-container .product-main-info > .woocommerce-product-gallery {
        max-height: 160px;
        margin-bottom: 0;
    }

    .woocommerce-page.ast-single-post .ast-woocommerce-container .product-main-info {
        gap: 15px;
    }

    .woocommerce-page.ast-single-post .product-main-info #product-payment .price-stock-and_add-to-cart-block {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .woocommerce-page.ast-single-post .product-main-info #product-payment .price-stock-and_add-to-cart-block .product-stock-status {
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .woocommerce-page.ast-single-post .product-main-info #product-payment .price-stock-and_add-to-cart-block .add-to-cart-item form .single_add_to_cart_button {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}
.main-page_slider #slider .swiper.sample-slider {
    padding: 0;
    margin-top: -30px;
}

.main-page_slider #slider .swiper-pagination {
    display: none;
}

.main-page_slider #slider .swiper-wrapper {
    min-height: 1px;
}


@media (min-width: 922px) {
    .site-above-footer-wrap.ast-builder-grid-row-5-equal .ast-builder-grid-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

.site-above-footer-wrap.ast-builder-grid-row-5-equal .ast-builder-grid-row .site-footer-above-section-5 {
    display: none;
}