/*
 Theme Name:   Сarpets
 Theme URI:    https://cmbdev.net/
 Description:  
 Author:       cmbdev
 Author URI:   https://cmbdev.net/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
}
.menu-wrap ul li a {
    position: relative;
    text-decoration: none;
    display: inline-block;
    overflow: hidden;
}

.menu-wrap ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: -100%;
    background-color: #000;
    transition: left 0.3s ease;
}

.menu-wrap ul li.current_page_item a::after, .menu-wrap ul li.current-menu-item a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0%;
    background-color: #000;
    transition: left 0.3s ease;
}

.menu-wrap ul li a:hover::after {
    left: 0;
}

#brxe-xmsroa .menu-wrap ul li a::after {
    background-color: #AB7E4C ;
}



#brxe-bimyrl  {
	cursor: pointer;
}
#brxe-bimyrl path {
    fill: #ac7e4b;
}

.bricks-background-primary, .bricks-background-secondary {
    gap: 40px;
}
.bricks-background-primary svg, .bricks-background-secondary svg{
    transition: all 0.4s;
}
.bricks-background-primary:hover svg, .bricks-background-secondary:hover svg {
    transform: rotate(45deg);
}
:root .bricks-button[class*="secondary"].color-beige {
	color: #ac7e4b;
    border-bottom: 1px solid #ac7e4b;
}
:root .bricks-button[class*="secondary"].color-beige path {
    fill: #ac7e4b;
}

:root .bricks-button[class*="secondary"].color-white {
	color: #fff;
    border-bottom: 1px solid #fff;
}
:root .bricks-button[class*="secondary"].color-white path {
    fill: #fff;
}

h2 span {
    font-style: italic;
}
h2 strong {
	font-weight: 400;
}

.brx-popup:not(.brx-infobox-popup):not(.brx-infobox-popup-builder) .brx-popup-backdrop {
    backdrop-filter: blur(5px);
}
.brxe-popup-116:not(.hide) #menu-menu-main li {
    opacity: 0;
    transform: translateY(40px);
    animation: bounceInUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.brxe-popup-116:not(.hide) #menu-menu-main li:nth-child(odd) {
    animation-delay: calc(var(--index) * 0.1s + 0.1s);
}

.brxe-popup-116:not(.hide) #menu-menu-main li:nth-child(even) {
    animation-delay: calc(var(--index) * 0.1s + 0.15s);
}

.brxe-popup-116:not(.hide) #menu-menu-main li:nth-child(1) { --index: 0; }
.brxe-popup-116:not(.hide) #menu-menu-main li:nth-child(2) { --index: 1; }
.brxe-popup-116:not(.hide) #menu-menu-main li:nth-child(3) { --index: 2; }
.brxe-popup-116:not(.hide) #menu-menu-main li:nth-child(4) { --index: 3; }
.brxe-popup-116:not(.hide) #menu-menu-main li:nth-child(5) { --index: 4; }
.brxe-popup-116:not(.hide) #menu-menu-main li:nth-child(6) { --index: 5; }

@keyframes bounceInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    60% {
        opacity: 1;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



form#fluentform_2 button, form#fluentform_2 .ff-el-group {
    margin: 0px !important;
}
form#fluentform_2 .ff-el-form-control {
    border: 1px solid #000000;
    border-radius: 0px;
    background: transparent;
    padding: 18px 15px;
    line-height: 1;
    min-width: 400px;
    width: 100%;
	height: 60px;
	font-family: inherit;
}
form#fluentform_2 .ff-el-form-control:focus {
    background-color: #f6efe7;
    border-color: #ac7e4b;
    color: #000;
    outline: none;
}
form#fluentform_2 button {
    border: 1px solid #000;
    padding: 21px;
    line-height: 1;
    background: transparent;
    text-transform: uppercase;
    font-family: "Atten New";
    font-weight: 300;
    transition: all 0.4s;
	text-align: center;
	color: #000;
}
form#fluentform_2 button:hover {
    background: #ac7e4b;
    border-color: #ac7e4b;
    color: #fff;
}
.product-block-img-wrap {
        overflow: hidden;
}
.product-block .product-block-img {
        transition: all 3s;
}
.product-block:hover .product-block-img {
        transform: scale(1.1);
}
.product-block-link {
        transition: all 0.4s;
}
.product-block:hover .product-block-link {
        border-color: transparent!important;
}
ul#menu-menu-catalog {
    flex-wrap: wrap;
	gap: 0px 20px!important;
}




.collection > div:nth-child(odd) > section:nth-child(2) > div > div > div:nth-child(2) {
    order: -1
}
.collection > div:nth-child(odd) > section:nth-child(2) > div > div > div:nth-child(1) {
    padding-left: 60px;
}

.collection > div:nth-child(even) > section:nth-child(2) > div > div > div:nth-child(1) {
    padding-right: 60px;
}

#fluentform_1 button.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_no_style {
    color: var(--bricks-color-cwyaiu);
    font-size: 16px;
    text-align: left;
    text-transform: uppercase;
    font-family: "Lato";
    font-weight: 400;
    font-style: normal;
    background-color: var(--bricks-color-ohaexb);
    width: 100%;
    text-align: center;
    padding: 15px;
}
#fluentform_1 .ff-el-form-control {
    border-radius: 0px;
}
#fluentform_1 .ff-el-form-control:focus {
    border-color: #ab7e4c;
    color: #000;
}
.brx-popup:not(.brx-infobox-popup):not(.brx-infobox-popup-builder) .brx-popup-backdrop {
    transition: all 0.1s ease-in-out!important;
}














@media (max-width: 768px) {
	.collection > div:nth-child(odd) > section:nth-child(2) > div > div > div:nth-child(1) {
		padding-left: 0px;
	}

	.collection > div:nth-child(even) > section:nth-child(2) > div > div > div:nth-child(1) {
		padding-right: 0px;
	}
	form#fluentform_2 .ff-el-form-control {
		min-width: 100%;
	}
	ul#menu-menu-catalog {
		gap: 0px 20px!important;
	}
	form#fluentform_2 .ff-t-container.ff-column-container.ff_columns_total_2 > div {
	    width: 100% !important;
	    flex-basis: 100% !important;
	}
	form#fluentform_2 button {
/* 	    width: 100%; */
	    margin-top: 20px !important;
	}

}