/*
Theme Name: DDD
Theme URI: DDD
Author: DDD
Author URI: DDD
Description: DDD
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: all-in
Text Domain: DDD
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
/*
.products.load {
    opacity: 0.5;
}
.products {
    transition: 0.3s;
}

.text_block .aligncenter, .page .text_block div.aligncenter{display:block;margin:5px auto;}
.text_block .alignright{float:right;margin:5px 0 20px 20px;}
.text_block .alignleft{float:left;margin:5px 20px 20px 0;}
.text_block a img.alignright{float:right;margin:5px 0 20px 20px;}
.text_block a img.alignnone{margin:5px 20px 20px 0;}
.text_block a img.alignleft{float:left;margin:5px 20px 20px 0;}
.text_block a img.aligncenter{display:block;margin-left:auto;margin-right:auto;}
.text_block .wp-caption{max-width: 100%;}
.text_block .wp-caption.alignnone{margin:5px 20px 20px 0;}
.text_block .wp-caption.alignleft{margin:5px 20px 20px 0;}
.text_block .wp-caption.alignright{margin:5px 0 20px 20px;}
.text_block .wp-caption img{border:0 none;height:auto;margin:0;padding:0;width:auto;}
.text_block .wp-caption p.wp-caption-text{margin:0;padding:0 4px 5px;margin-top: 15px;}
*/
/*
.breadcrumb_last{
	font-size: 12px;
    font-weight: 600;
    line-height: 9px;
    padding: 8px;
    text-decoration: none;
    letter-spacing: -.24px;
    color: #fff;
    border-radius: 6px;
    background: #1336de;
}

#load-more-articles{
    text-align: center;
    width: 100%;
    margin-top: 30px;
}

.products .product .thumb .image, .products .product .thumb .image img{
    height: 100%;
}

header .menu{
    list-style: none;
}

header .menu_item.current-post-ancestor > a:after, header .menu_item.current-menu-item > a:after {
    width: 100%;
}

.video_collections .main{
    display: block;
    text-decoration: none;
}*/
/*
#review_modal{
    display: none;
}*/

/*.form .input.error::placeholder{
    color: var(--form_error_color);
}

.form .checkbox .error + .check{
    color: var(--form_error_color);
}*/
/*
.product_info .price{
    visibility: hidden;
}*/
/*
header .col_right{
    position: relative;
    top:-11px;
}

@media print, (max-width: 1899px) {
    header {
        padding: 30px 0 20px;
    }
}

footer .cont{
    gap:20px;
}*/
/*
.form .checkbox .error + .check {
    border-color: var(--form_error_color) !important;
}

.filter .form .reset_btn{
    text-decoration: none;
    text-align: center;
}

header .catalog .category .thumb img, .catalog_block .category .thumb img{
    filter:grayscale(100%);
}

header .catalog .category:hover .thumb img, .catalog_block .category:hover .thumb img{
    display: block !important;
    filter:none;
}

.w100{
    width: 100% !important;
}

header .links, footer .links .items, .mob_menu .links{
    list-style: none;
}

.current-menu-item a{
    font-weight: 600;
}

.result{
    display: none;
    margin-top: 20px;
    color:green;
}

.services .btn{
    color: var(--text_color);
    text-decoration: none;
}*/

/*.pagination .links span {
    font-weight: 700;
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 50px;
    height: 50px;
    transition: .2s linear;
    text-align: center;
    text-decoration: none;
    color: currentColor;
    border: 1px solid #c6c7c8;
    border-radius: 10px;
}

.pagination .links .current{
    color: #fff;
    border-color: var(--text_color);
    background: var(--text_color);
}

.wp-block-embed__wrapper {
    width: 100%; 
    max-width: 100%;
}

.video-container {
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contacts_info .virtual_tour .btn, .contacts_info .map .btn{
    color:var(--text_color);
    text-decoration: none;
}

.reviews .review .avatar {
    background: #eaebec;
}

.product_info .prices .link button {
    font-weight: 700;
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    height: 50px;
    padding: 0 29px;
    transition: .2s linear;
    text-decoration: none;
    letter-spacing: -.16px;
    color: currentColor;
    border: 1px solid #c6c7c8;
    border-radius: 10px;
    gap: 10px;
}

.share a
{
    display: unset;
    align-content: unset;
    align-items: unset;
    flex-wrap: unset;
    justify-content: unset;

    width: unset;
    min-width: unset;
    height: unset;

    transition: unset;
    text-decoration: unset;

    color: unset;
    border-radius: unset;
    background: unset;
}


.share a.ya-share2__link_more {
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    transition: .2s linear;
    text-decoration: none;
    color: currentColor;
    border-radius: 10px;
    background: #f4f5f6;
}

header .menu, #mob_menu .menu .col{
    list-style: none;
}

.current-menu-item a{
    color: var(--accent_color) !important;
}

footer .menu .items{
    list-style: none;
}

.wpcf7-list-item{
    margin: 0 !important;
}

.wpcf7-radio{
    display: flex;
    align-content: stretch;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
}

.form .free input:checked + .wpcf7-list-item-label {
    color: #fff;
    background: var(--text_color);
}
.form .free label .wpcf7-list-item-label {
    font-weight: 700;
    padding: 10px 15px;
    transition: .2s linear;
    border-radius: 5px;
    background: var(--form_bg_color);
}

.form .line.free{
    margin-bottom: 26px;
}

.wpcf7-form-control-wrap[data-name="select-589"] ~ .arr {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 15px;
    bottom: 0;
    display: block;
    width: 12px;
    height: 8px;
    margin: auto 0;
    transition: transform .2s linear;
    pointer-events: none;
}

.wpcf7-not-valid-tip{
    margin-top: 3px;
}

.wpcf7-not-valid{
    border:1px solid red !important;
}

.form .agree.checked .checkbox .check svg{
    opacity: 1;
}

.order_project form {
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    --form_border_color: #fff;
    --form_focus_color: #fff;
    --form_bg_color: #fff;
}*/

.pagination span {
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: var(--button_size);
    line-height: 150%;
    transition: .2s linear;
    text-align: none;
    text-decoration: none;
    color: currentColor;
    border: 1px solid var(--grey_color_soft);
    border-radius: var(--border_radius_s);
    aspect-ratio: 1 / 1;
}

.pagination a.next{
    margin-left: initial;
}

.pagination a.prev{
    margin-right: initial;
}

.pagination .current
{
    color: var(--light_color);
    border-color: var(--secondary_color);
    background: var(--secondary_color);
}

.action_form .wpcf7 form .wpcf7-response-output{
    color:#fff !important;
}

.form .checkbox .wpcf7-form-control-wrap{
    display: none;
}

.form .checkbox:has(input:checked) .check
{
    border-color: var(--primary_color);
    background: var(--primary_color);
}


.form .checkbox:has(input:checked) .check .icon
{
    opacity: 1;
}

.form .checkbox:has(.wpcf7-not-valid) .check {
    border-color: var(--form_error_color) !important;
}

.form .input.wpcf7-not-valid{
    border-color: var(--form_error_color) !important;
}

.form .input.wpcf7-not-valid::placeholder{
    color: var(--form_error_color) !important;
}

.text_block img{
    height: auto;
}

.grid_row > a{
    text-decoration: none;
}

/* Контейнер для всплывающих сообщений */
#toast-container {
    position: fixed;
    bottom: 20px; /* Отступ от нижнего края */
    right: calc(50% - 350px/2); /* Отступ от правого края */
    z-index: 1000; /* Убедимся, что он поверх других элементов */
    display: flex;
    flex-direction: column;
    gap: 10px; /* Расстояние между сообщениями, если их несколько */
}

/* Стили для отдельного всплывающего сообщения */
.toast-message {
    background-color: #333; /* Темный фон */
    color: #fff; /* Белый текст */
    padding: 12px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0; /* Изначально скрыт */
    transform: translateY(100%); /* Изначально за пределами видимости снизу */
    animation: fadeInOut 4s ease-in-out forwards; /* Анимация появления и исчезновения */
    min-width: 250px; /* Минимальная ширина */
    max-width: 350px; /* Максимальная ширина */
    font-family: inherit; /* Наследуем шрифт страницы */
    font-size: 15px;
}

/* Анимация появления и исчезновения */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(100%);
    } /* Скрыт снизу */
    10% {
        opacity: 1;
        transform: translateY(0%);
    } /* Появляется */
    90% {
        opacity: 1;
        transform: translateY(0%);
    } /* Остается видимым */
    100% {
        opacity: 0;
        transform: translateY(100%);
    } /* Исчезает вниз */
}

.product_info .option .vals a {
    color: var(--dark_color);
}

.product_info .option label{
    pointer-events: none;
}

.empty-cart-message{
    padding: 20px;
}

header .btns .btn{
    position: relative;
}

header .btns .cart .btn span{
    position: absolute;
    top: -7px;
    right: -7px;
    background: red;
    border-radius: 100%;
    min-width: 20px;
    text-align: center;
    color: #fff;
    height: 20px;
}

.search_products{
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: fit-content;
    height: var(--button_size);
    line-height: 150%;
    color: var(--light_color);
    border-radius: var(--border_radius_s);
    background: var(--primary_color);
    width: 100%;
    margin-top: 10px;
    flex-shrink: 0;
}

.filter .reset_btn{
    color: #000;
    text-decoration: none;
}

header .menu, header .sub_menu, .mob_menu .menu, footer .links{
    list-style-type: none;
}

header .current-menu-item, .current-menu-parent{
    color: var(--primary_color);
}

.products .sort .btn.active2{
    color: var(--primary_color);    
}

.not_found{
    width: 100% !important;

}

.not_found a{
    color: #000;
}

#thanks .modal_title, #thanks2 .modal_title{
    text-align: center;
    padding: 0;
    position: relative;
    padding-bottom: 10px;
}

#thanks .modal_desc, #thanks2 .modal_desc{
    text-align: center;
}

#thanks .modal_title:after, #thanks2 .modal_title:after {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 92px;
    height: 3px;
    content: '';
    background: var(--primary_color);
    right: 0;
    margin: auto;
}

.wpcf7 form.sent .wpcf7-response-output{
    display: none !important;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{
    border-color: var(--primary_color) !important;
}

/*--------------
    ButtonUp
--------------*/
.buttonUp
{
    position: absolute;
    z-index: 9;
    right: 80px;
    bottom: 100%;

    margin-bottom: 40px;
}


.buttonUp .btn
{
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;

    width: 60px;
    height: 60px;

    transition: background .2s linear;

    color: var(--white_color);
    border-radius: 50%;
    background: var(--primary_color);
    position: fixed;
    bottom:20px;
    right: 20px;
}


.buttonUp .btn .icon
{
    display: block;
    width: 50px;
    height: 50px;
    transform: rotate(92deg);
    color: var(--primary_color);
    transition: 0.3s;
    color: #fff;
    padding: 10px;
}


.buttonUp .btn:hover  .icon
{
    color: var(--secondary_color);
}


.mob_menu .step {
    position: absolute;
    top: 0;
    left: 100%;
    overflow: auto;
    width: 100%;
    height: 100%;
    padding: 13px 20px;
    transition: transform 0.3s linear, z-index 0s linear 0.3s;
    background: #fff;
    overscroll-behavior-y: contain;
    z-index: 1;
}

.mob_menu .step.show {
    transform: translateX(-100%);
    z-index: 100;
    transition: transform 0.3s linear;
}

.mob_menu .step .back {
    font-size: 16px;
    font-weight: 700;
    line-height: 133%;
    margin-bottom: 24px;
}

.mob_menu .step .back .btn {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.mob_menu .step .back .btn .icon {
    display: block;
    width: 10px;
    height: 10px;
    margin-right: 12px;
    transform: rotate(90deg);
}

.mob_menu .step .items {
    font-size: 14px;
    line-height: 16px;
}

.mob_menu .step .items .new_menu_item {
    display: flex;
    text-decoration: none;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    color: #000;
}

.new_menu_item .icon {
    display: block;
    width: 10px;
    height: 10px;
    margin-left: auto;
    transform: rotate(-90deg);
    padding: 4px;
    box-sizing: content-box;
}

.mob_menu .step .items > * + * {
    margin-top: 16px;
}

.mob_menu .menu_item > a{
    justify-content: space-between;
}

.mob_menu .menu a .icon {
    display: block;
    width: 10px;
    height: 10px;
    margin-left: auto;
    transform: rotate(-90deg);
    padding: 7px;
    box-sizing: content-box;
}

.mob_menu .scroll{
    position: relative;
    overflow-x: hidden;
}

.mob_menu .menu{
    gap:8px;
}

.text_block table{
    width: 100%;
}

.text_block table tr {
    border-bottom: 1px solid #eeeeee;
    padding: 3px 0;
    display: flex;
}

.text_block table tr td:first-child {
    width: 40%;
}
.text_block table tr td {
    width: 50%;
}