#wrapper{
    overflow: inherit;
}
#toc_container p.toc_title{
    font-size: 1.4em;
    line-height: 24px;
    text-align: justify;
}
#toc_container.no_bullets li>a, #toc_container.no_bullets ul li>a, 
.toc_widget_list.no_bullets, .toc_widget_list.no_bullets li>a{
    margin-bottom: 8px;
    display: inline-block;
}
#toc_container{
    clear: both;
    margin-top: 10px;
}
.contact-form-content{
    display: flex;
}
.contact-form-content table{
    width: 60% !important;
}
.contact-form{
    width: 40%;
}
.contact-form-title{
    font-weight: 700;
    font-size: 18px;
    color: black;
}
.product-prices .product-price::after {
    content: 'цена с НДС';
    display: block;
    text-align: right;
    font-size: 14px;
    color: black;
}
.has-discount .product-price::after{
    position: absolute;
    left: -90px;
    top: 15px;
}
.prices-list .product-price::after{
    top: 5px;
}
.contact_form input{
    border: 2px solid black;
    padding: 10px;
    color: black;
}
.contact_form textarea{
    border: 2px solid black;
    padding: 10px;
    color: black;
}
.contact_form .wpcf7-submit{
    width: 100%;
    background-color: #759532;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border: 0px;
    padding: 15px 10px;
}
.contact_form .wpcf7-submit:hover{
    background-color: #0f3609;
}
/*Social-icons*/
.fixed-social-button{
    margin: 0;
    padding: 0;
    border: 0;
    position: fixed;
    z-index: 10000;
    bottom: 8em;
    text-align: center;
    right: 20px;
}
.fixed-social-button-outer{
    margin: 10px;
}
.link-for-all-button{
    background-color: #759532;
    border-radius: 50%;
    padding: 10px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    box-shadow: 2px 2px 6px rgb(0 0 0 / 40%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    transition: all 0.5s ease;
}
.link-for-all-button:hover{
    background-color: #000;
}
.link-for-all-button-icon-chat {
    background-image: url('/wp-content/themes/rgarden/img/icons/icons8-dialog.png');
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: center;
    width: 25px;
    height: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    position: absolute;
}
.link-general-style{
    padding: 10px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #759532;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 2px 2px 6px rgb(0 0 0 / 40%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 10px;
    transition: all 0.5s ease;
}
.link-general-style:hover{
    background-color: #0f3609;
}
.social-links-link-viber {
    background-image: url('/wp-content/themes/rgarden/img/icons/icons8-viber-50.png');
}
.social-links-link-phone {
    background-image: url('/wp-content/themes/rgarden/img/icons/icons8-phone.png');
}
.social-links-link-skype{
    background-image: url('/wp-content/themes/rgarden/img/icons/icons8-skype.png');
}
.social-links-link-telegram{
    background-image: url('/wp-content/themes/rgarden/img/icons/icons8-telegram.png');
}
.social-links-link-zvonok{
    background-image: url('/wp-content/themes/rgarden/img/icons/icons8-tel.png');
}
.social-links-link-whatsapp{
    background-image: url('/wp-content/themes/rgarden/img/icons/icons8-whatsapp-50.png');
    margin-bottom: 15px;
}
.social-links-link-instagram{
    background-image: url('/wp-content/themes/rgarden/img/icons/icons8-instagram.png');
}
.social-links-link-mail{
    background-image: url('/wp-content/themes/rgarden/img/icons/icons8-mail.png');
}
.hover:hover{
    background-color: #0f3609;
    transition: all 0.5s ease;
}
.list-all-social-links{
    display: none;
    transition: all 0.5s ease;
}
.list-all-social-links ul{
    list-style: none !important;
    padding-left: 0;
}
.list-all-social-links ul li{
    margin: 0;
}
.opacity-icons{
    display: flex;
    transition: all 0.5s ease;
}
.back{
    background-image: url('/wp-content/themes/rgarden/img/icons/icons8-cross.png') !important;
}
[data-tooltip] {
    position: relative; /* Относительное позиционирование */ 
}
[data-tooltip]::after {
    content: attr(data-tooltip); /* Выводим текст */
    position: absolute; /* Абсолютное позиционирование */
    right: 0; 
    top: 5px; /* Положение подсказки */
    background: #2d3032; /* Синий цвет фона */
    color: #fff; /* Цвет текста */
    padding: 0.5em; /* Поля вокруг текста */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Параметры тени */
    pointer-events: none; /* Подсказка */
    opacity: 0; /* Подсказка невидима */
    transition: 1s; /* Время появления подсказки */
    border-radius: 10px;
    width: max-content;
} 
[data-tooltip]:hover::after {
    opacity: 1; /* Показываем подсказку */
    right: 55px; /* Положение подсказки */
}
@-keyframes spin{100%{transform:rotate(360deg)}}
@-webkit-keyframes spin{100%{transform:rotate(360deg)}}
@-moz-keyframes spin{100%{transform:rotate(360deg)}}
.link-for-all-button:before{
    position: absolute;
    top: -8px;
    bottom: -8px;
    left: -8px;
    right: -8px;
    content: '';
    border-radius: 100%;
    animation: spin 4s infinite linear;
    border: solid 1px;
    border-color: #759532 transparent;
}
.link-for-all-button:after{
    position: absolute;
    top: -16px;
    bottom: -16px;
    left: -16px;
    right: -16px;
    content: '';
    border-radius: 100%;
    animation: spin 5s infinite linear;
    border: solid 1px;
    border-color: #759532 transparent;
}
/* end social */
.primary-nav{
    width: 100%;
    z-index: 999;
    position: sticky;
    top: 0;
    margin: 0 auto;
    width: 100%;
}
.nav-container .main-link{
    display: block;
    position: relative;
    color: #fff;
    padding: 15px 5px;
    text-align: center;
}
.primary-nav .menu>li>.main-link .menu-title{
    display: block;
    margin: 0 auto;
    height: 1.1em;
    width: 1em;
    opacity: .5;
}
.primary-nav .menu>li>.main-link:after, .primary-nav .menu>li:first-child>.main-link:before{
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAKCAYAAACe5Y9JAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkZBNTE4NDdDNzRFQjExRTY4OUEzRDlEMUM3MUY1MDk2IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkZBNTE4NDdENzRFQjExRTY4OUEzRDlEMUM3MUY1MDk2Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6RkE1MTg0N0E3NEVCMTFFNjg5QTNEOUQxQzcxRjUwOTYiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RkE1MTg0N0I3NEVCMTFFNjg5QTNEOUQxQzcxRjUwOTYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4QKv3FAAAAIklEQVR42mI8e/bsYQYgYGKAAEYWIGGLLMIAEiFdDUCAAQBjQgVJhODGogAAAABJRU5ErkJggg==) scroll center center no-repeat;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 2px;
}
.primary-nav .menu>li:first-child>.main-link:before{
    left: 0;
    right: auto;
}
.primary-nav .menu>li>.main-link .menu-title img{
    display: block;
    margin: 0 auto;
}
.faq-item_answer{
    display: none;
}
.faq-item blockquote{
    margin-bottom: 0;
    padding-bottom: 20px;
    cursor: pointer;
}
.catalog-sub-menu .sub-menu-cols-container{
    overflow-y: scroll;
    max-height: 600px;
}
.prices-list .product-price:after{
    position: relative;
}
.null-price .product-price::after{
    display: none !important;
} 


@media (max-height:655px) {
    .catalog-sub-menu .sub-menu-cols-container{
        max-height: calc(100vh - 100px);
    }
}

@media screen and (max-width:768px){
    .prices-list li{
      margin-bottom: 20px !important;  
    }
    .prices-list .product-price:after{
        top: 25px;
        left: 25px;
    }
    .contact-form-content{
        flex-direction: column;
    }
    .contact-form-content table{
        width: 100% !important;
        margin-bottom: 0px;
    }
    .contact-form{
        width: 100%;
    }
    .reviews-blocks{
        width: 100% !important;
    }
    .mobile-phone{
        background-image: url(/wp-content/themes/rgarden/img/icons/icons8-tel.png);
        padding: 10px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: #759532;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 2px 2px 6px rgb(0 0 0 / 40%);
        display: flex;
        align-items: center;
        justify-content: center;
        background-size: 19px;
        background-repeat: no-repeat;
        background-position: center;
        margin-bottom: 10px;
        transition: all 0.5s ease;
        margin-bottom: 0px;
        margin-right: 10px;
    }
    .header-mobile-phone-img{
        background-image: url(/wp-content/themes/rgarden/img/icons/icons8-tel.png);
        padding: 10px;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background-color: #759532;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 2px 2px 6px rgb(0 0 0 / 40%);
        display: flex;
        align-items: center;
        justify-content: center;
        background-size: 16px;
        background-repeat: no-repeat;
        background-position: center;
        margin-bottom: 10px;
        transition: all 0.5s ease;
        margin-bottom: 0px;
        margin-right: 10px;
    }
    .header-widget.widget_block{
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
    }
    #eModal-2 .emodal-content{
        margin-top: 20px;
    }
    #eModal-2 .emodal-title{
        display: none;
    }
    .header-mobile-phone-1 a{
        display: flex;
        align-items: center;
        margin-bottom: 13px;
        color: black;
    }
    .place-header-mobile-phone{
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 12px;
    }
    .place-header-mobile-phone + p{
        margin-top: 0px;
    }
    .header-mobile-phone-2 a{
        display: flex;
        align-items: center;
        margin-bottom: 13px;
        color: black;
    }
}
/* Скрываем все подменю по умолчанию */
.nav-vertical ul.sub-menu {
    display: none !important;
}

/* Оставляем подменю "Продукция" всегда открытым */
.nav-vertical .always-open > ul.sub-menu {
    display: block !important;
}
.menu-item-has-children{
    position: relative;
}

/* Выровняем стрелку справа от текста */
.nav-vertical .menu-item-has-children > .menu-toggle {
    cursor: pointer !important;
    position: absolute !important;
    right: 0 !important;
    top: 15px !important;
    transform: translateY(-50%) !important;
    font-size: 12px !important;
    padding-left: 5px !important;
}

/* Показываем подменю при открытии */
.nav-vertical .menu-item-has-children.open > ul.sub-menu {
    display: block !important;
}

/* Изменяем стрелку при открытии подменю */
.nav-vertical .menu-item-has-children.open > .menu-toggle {
    content: "▴" !important; /* Стрелка вверх */
}

/* Стрелка по умолчанию вниз для пунктов с подменю */
.nav-vertical .menu-item-has-children > .menu-toggle {
    content: "▾" !important; /* Стрелка вниз */
}

/* Убираем стрелку для "Продукция" */
.nav-vertical .always-open > .menu-toggle {
    display: none !important;
}
/* Добавляем отступ для подменю */
.nav-vertical ul.sub-menu ul.sub-menu {
    padding-left: 10px !important; /* Добавляем отступ для сдвига подменю вправо */
}
.catalog-nav .sub-menu a{
    margin: 12px 0;
    padding: 0 !important;
}
.catalog-nav .sub-menu .sub-menu li a{
    padding: 8px 0 !important;
}
.catalog-nav .sub-menu .sub-menu li:first-child a {
    margin-top: 16px;
}
.catalog-nav .sub-menu .sub-menu li:first-child a:before{
    top:10px;
}
.catalog-nav .sub-menu .sub-menu li a:before{
    left: -10px;
}
.policy{
    margin-bottom: 15px;
}
.filter-list {
    padding-left: 0;
}
.input-filter-range-text {
    width: auto !important;
}
.contactsmanager-widget-content.contactsmanager-workmode {
    height: auto;
}
.breadcrumbs-links ol {
    flex-wrap: wrap;
}
.special-offer .has-discount .product-price:after {
    right: calc(100% + 5px);
    font-size: 12px;
    white-space: nowrap;
}
.catalog_product .product-details .has-discount > .product-price:after {
    left: 200%;
    top: calc(100% - 16px);
    white-space: nowrap;
}
.product-gallery .product-attributes {
    right: 0;
}
.marquee-container {
      overflow: hidden;
      white-space: nowrap;
      background-color: #ffb703; /* Яркий желтый цвет */
      color: #000000;
      padding: 12px 0;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-size: 14px;
      width: 100%;
    }

    .marquee-content {
      display: inline-block;
      animation: marquee 25s linear infinite;
    }

    .marquee-content span {
      display: inline-block;
      padding-right: 40px;
    }

    @keyframes marquee {
      0% { transform: translate3d(0, 0, 0); }
      100% { transform: translate3d(-50%, 0, 0); }
    }

