/*
Theme Name: New-RaTeN
Theme URI: https://www.fl.ru/users/raten/portfolio/
Author: RaTeN
Author URI: https://raten-portfolio.ru/port/
Description: Андрей Левдиков
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: RaTeN
*/

/* =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;
}*/
/*
.breadcrumbs > span {
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
    font-size: var(--font_size_s);
    font-weight: 500;
    line-height: 120%;
    white-space: nowrap;
    gap: 4px;
}

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

.text_block.black{
    color: var(--dark_color);
}

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


.form .checkbox:has(input:checked) .check:after
{
    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;
}

header .menu_item.active > a:after
{
    width: 100%;
}

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


.product_added_modal {
    position: fixed;
    z-index: 90;
    bottom: 12px;
    left: 50%;
    display: none;
    overflow: hidden;
    width: 557px;
    max-width: calc(100% - 24px);
    transform: translateX(-50%);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 70px 0 rgba(0, 0, 0, .20);
}

.product_added_modal .close_btn {
    position: absolute;
    z-index: 9;
    top: 0;
    right: 0;
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.product_added_modal .close_btn .icon {
    display: block;
    width: 14px;
    height: 14px;
}

.product_added_modal .product {
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8px;
}

.product_added_modal .product .thumb {
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 90px;
    height: 90px;
    padding: 6px;
    border-radius: 8px;
    background: #e5e8ec;
}

.product_added_modal .product .thumb img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.product_added_modal .product .info {
    display: flex;
    flex-direction: column;
    width: calc(100% - 100px);
    min-height: 90px;
    gap: 8px;
}

.product_added_modal .product .message {
    font-size: 14px;
    font-weight: 500;
    line-height: 10px;
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: auto;
    letter-spacing: -.28px;
}

.product_added_modal .product .message .icon {
    display: block;
    width: 16px;
    height: 16px;
    color: var(--primary_color);
}

.product_added_modal .product .message span {
    align-self: center;
    width: calc(100% - 20px);
}

.product_added_modal .product .name {
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -.32px;
    text-transform: uppercase;
}

.product_added_modal .product .value {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -.28px;
    color: var(--primary_color);
}

.product_added_modal .progress {
    position: absolute;
    z-index: 9;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    transition: width 3s linear;
    pointer-events: none;
    background: var(--primary_color);
}

.product_added_modal .progress.animate
{
    width: 100%;
}

/*----------------
    Pagination
----------------*/
/*.pagination
{
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;

    margin-top: 40px;

    gap: 5px;
}


.pagination a, .pagination span
{
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;

    width: 40px;
    height: 40px;

    font-size: 14px;
    font-weight: 700;

    transition: .2s linear;
    text-decoration: none;

    color: var(--dark_color);
    border-radius: var(--border_radius_xs);
    background: #ecedee;
}


.pagination a:hover,
.pagination .current
{
    color: var(--light_color);
    background: var(--primary_color);
}


.pagination .prev
{
    margin-right: var(--inner_gap);
}

.pagination .next
{
    margin-left: var(--inner_gap);
}


.pagination .prev .icon,
.pagination .next .icon
{
    display: block;

    width: 10px;
    height: 16px;
}


.pagination .next .icon
{
    transform: rotate(180deg);
}


header .sub_menu .items{
    flex-direction: row;
    list-style: none;
}

header .sub_menu .col{
    width: 100%;
}

.service .wpcf7-checkbox{
    display: flex;
    align-content: stretch;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: calc(var(--offset_v) * -1);
    margin-left: calc(var(--offset_h) * -1);
    --count_per_line: 3;
    --offset_h: var(--inner_gap);
    --offset_v: var(--inner_gap);
}

.service .wpcf7-list-item{
    margin-left: 0;
}

.service .wpcf7-list-item-label{
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    min-height: 48px;
    padding-inline: 37px 15px;
    transition: border-color .2s linear;
    color: var(--grey_color);
    border: 1px solid transparent;
    border-radius: var(--border_radius);
    background: var(--bg_light);
}

.form .service label {
    position: relative;
    display: block;
    cursor: pointer;
}
.service .wpcf7-checkbox > * {
    width: calc(100% / var(--count_per_line) - var(--offset_h));
    margin-bottom: var(--offset_v) !important;
    margin-left: var(--offset_h) !important;
}
/*
.service .wpcf7-not-valid-tip{
    display: none;
}*/

/*@media print, (max-width: 1023px) {
    .service .wpcf7-checkbox {
        --count_per_line: 2;
    }
}

@media (max-width: 767px) {
    .service .wpcf7-checkbox {
        --count_per_line: 1;
    }
}*/


.product_info .data .btns .btn, .products .product .buy .btn, .first_section .info .btn{
    text-decoration: none;
}
@media (min-width: 1920px) {
    .category_head .shadow .darking3{
        height: 200px;
    }
}


.products.loading {
    position: relative;
}
.products.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7) url('images/loading-gif.gif') no-repeat center center; /* Замените на свой лоадер */
    background-size: 50px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.load_more_btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.products .product .name a{
    color:#fff;
    text-decoration: none;
}

.no-results{
    padding: 20px;
}

.products .product .name{
    flex:1;
}

.calc .details .form .input::selection{
    background:black;
    color:#fff;
}

.catalog .swiper-wrapper {
    transition-timing-function: linear !important;
}

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

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

.wpcf7-not-valid::placeholder{
    color:red;
}

.wpcf7-not-valid-tip, .wpcf7-acceptance{
    display: none !important;
}

.form .checkbox:has(.wpcf7-not-valid) .check{
    border:1px solid red !important;
}

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

.form .checkbox:has(input:checked) .check{
    border-color: #D6FF31;
}

.form .checkbox:has(input:checked){
    color: #fff;
}

.form .contact_methods .wpcf7-radio{
    display: flex;
    align-content: stretch;
    align-items: stretch;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.form .contact_methods .wpcf7-radio .wpcf7-list-item {
    display: block;
    width: 100%;
    cursor: pointer;
}

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

.form .contact_methods .wpcf7-list-item + .wpcf7-list-item {
    margin-left: -2px !important;
}

.form .contact_methods .wpcf7-list-item:has(:checked) .wpcf7-list-item-label {
    z-index: 3;
    color: var(--dark_color);
    border-color: #abce22;
}

.form .contact_methods .wpcf7-list-item-label {
    position: relative;
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    height: 50px;
    line-height: calc(100% + 5px);
    z-index: 1;
    transition: .2s linear;
    text-align: center;
    color: rgba(25, 25, 25, .3);
    border: 2px solid #f2f2f2;
}

.text_block .wp-block-button__link{
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 233px;
    max-width: 100%;
    height: 55px;
    margin-block: 32px;
    margin-inline: auto;
    font-size: 12px;
    font-weight: 500;
    color: #000;
    background: rgba(214, 255, 49, .9);
    gap: 8px;
}

.text_block .wp-block-table thead{
    border-bottom: none;
}

.wp-block-columns{
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-block: 44px;
}

.wp-block-column{
    width: calc(50% - 16px);  
}

@media (max-width: 767px) {
    .text_block .wp-block-columns {
        gap: var(--cont_padding);
    }

    .text_block .wp-block-column {
        width: 100%;
    }

    .text_block .wp-block-button__link {
        height: 44px;
    }
}