/*
Theme Name: NewCars WP
Theme URI: http://newcars.com.ua
Author: NewCars Themes
Description: Light news theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: newcars.com.ua
*/



html {
	margin: 0;
	padding: 0;
	background: #fff;
}
body {
	font-family: "Inter", serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	color: #0a0a0a;
	font-size: 17px;
}
a {
	color: #f01616;
	text-decoration: none;
    transition: 600ms ease-in-out;
}
a:hover, a:focus {
	color: #161616;
    transition: 300ms ease-in-out;
}
h1.page__title {
    margin-bottom: 30px;
}
h1.cat__title {
    margin-bottom: 5px;
}
div.cat__title {
    margin-bottom: 15px;
}
h1.frontpage__title {
    font-size: 1.8rem;
}




/*========== HEADER ==========*/
header.header {
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}
.top__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.main__nav {
    border-top: 1px solid #ededed;
    box-shadow: 0 3px 4px 0 rgba(0,0,0,.07);
}

.btn-search {
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
}
.search__icon {
	flex: 0 0 22px;
	display: block;
	width: 22px;
	height: 22px;
	background: #161616;
	-webkit-mask: url('img/icons/search.svg')no-repeat;
	mask: url('img/icons/search.svg')no-repeat;
}
.search__icon:hover,
.search__icon:focus {
	background: #f01616;
}
.flex__modal_body {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
}
.header__search {
    width: 100%;
}
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
    border: 1px solid #949494;
    box-sizing: border-box;
    padding: 4px;
    border-radius: 6px;
}
.wp-block-search__button.has-icon {
    line-height: 0;
    background: transparent;
    border: none;
}
h2.entry-title a {
    color: #0a0a0a;
}
h2.entry-title a:hover,
h2.entry-title a:focus {
    color: #f01616;
}
.nav-link {
    color: #161616;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    padding: 12px 15px 13px !important;
}
.nav-link:focus, .nav-link:hover {
    color: #f01616;
}
.navbar {
    padding: 0;
}
.nav-item.active .nav-link {
	color: #f01616;
}
.primary__menu {
    overflow: hidden;
}
.primary__menu .navbar-nav {
    white-space: nowrap;
}
section.section__breadcrumbs {
    font-size: 13px;
    color: #999;
    padding: 20px 0;
    margin-bottom: 20px;
}
section.section__breadcrumbs p {
    margin: 0;
}
section.section__breadcrumbs a {
    color: #777;
}
section.section__breadcrumbs a:hover,asection.section__breadcrumbs a:focus {
    color: #161616;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none;
}
.navbar-toggler {
    padding: 0;
    line-height: 1;
    color: #0a0a0a;
    background-color: transparent;
    border: none;
    border-radius: 0;
}

/*===== Hamburger =====*/
.navbar-toggler {
    /*position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    right: 0;*/
    z-index: 10;
    /*width: 48px;
    height: 48px;*/
    background: transparent;
    border-radius: 3px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.navbar-toggler .hamburger {
    display: block;
    width: 32px;
    height: 32px;
    background: url('img/list.svg')no-repeat;
}
/*button.navbar-toggler[aria-expanded="true"] .hamburger {
    background: url('img/list.svg')no-repeat;
    width: 24px;
    height: 24px;
}*/
.navbar-toggler .close {
    display: block;
    width: 32px;
    height: 32px;
    background: #fff;
    -webkit-mask: url('img/close.svg')no-repeat;
    mask: url('img/close.svg')no-repeat;
}
/*.navbar-toggler:hover {
    background: #ffd700;
}*/
.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none;
}
/*===== Hamburger =====*/
#page {
    position: relative;
}
.offcanvas__menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
/*    width: 80vw;*/
    min-width: 320px;
    max-width: 370px;
    box-sizing: border-box;
    background: #000;
    z-index: 10000;
    transform: translate3d(-100%, 0, 0);
    transition: .4s ease-in-out;
    transition-property: transform, visibility;
    visibility: hidden;
    content-visibility: auto;
    padding: 20px;
}
.offcanvas__menu.collapse.show {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    box-shadow: 2px 0px 15px 0 rgba(0, 0, 0, .1);
}
.off__canvas_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}
.off__canvas_content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.lang__mobile_menu {
    list-style-type: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0 0 50px;
}
.lang__mobile_menu li.current-lang .nav-link {
    color: #ffc107;
}
.top__cavnas_content .primary__menu {
    margin-bottom: 50px;
}

.offcanvas__menu .nav-link {
    color: #dddddd;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    padding: 5px 0px 7px !important;
}
.offcanvas__menu .nav-link:hover,
.offcanvas__menu .nav-link:focus {
    color: #f01616;
}
.bottom__cavnas_content .header__search .wp-block-search__input {
    background: transparent;
}
.bottom__cavnas_content .header__search .wp-block-search__button svg {
    fill: #dddddd;
}
/*========== HEADER ==========*/







/*========== BTNs ==========*/
.btn {
    --bs-btn-font-size: 12px;
    text-transform: uppercase;
    --bs-btn-font-weight: 600;
    border-radius: 3px;
    background-color: #f01616;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #f01616;
    --bs-btn-border-color: #f01616;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #161616;
    --bs-btn-hover-border-color: #161616;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #161616;
    --bs-btn-active-border-color: #161616;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #787878;
    --bs-btn-disabled-border-color: #787878;
}
/*========== BTNs ==========*/




/*========== FOOTER ==========*/
footer.footer {
    background: #161616;
    padding-top: 50px;
    color: #ececec;
    margin-top: 80px;
}
.footer__copyrights {
    margin-top: 40px;
    background: #0a0a0a;
    font-size: 12px;
    padding: 20px 0;
}
.footer__about_text {
    font-size: 15px;
    margin: 40px 0 30px;
    color: rgba(255,255,255,.6);
    font-weight: 300;
    max-width: 300px;
}
.footer a {
    color: rgba(255,255,255,.7);
}
.footer a:hover, .footer a:focus {
    color: rgba(255,255,255,1);
}
.footer__title {
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #ffffff;
}
ul.footer-menu {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
ul.footer-menu li.nav-item {
    margin-bottom: 10px;
}
ul.footer-menu .nav-link {
    padding: 0 !important;
    font-weight: 400;
}
/*========== FOOTER ==========*/




/*========== SINGLE ==========*/
h1.post__title {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 10px;
}
figure.post__image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 6px -1px rgba(7, 10, 25, 0.2), 0 6px 12px -6px rgba(7, 10, 25, 0.2);
}
figure.post__image figcaption,
.wp-caption-text {
    font-size: 13px;
    text-align: center;
    color: #999;
    font-weight: 400;
    padding: 10px;
}
.content__grid {
    /*display: grid;
    grid-template-columns: 80px 1fr;
    align-items: start;*/
}
/*.post__share {
    width: 80px; 
}*/
.post__content p {
    margin-bottom: 1.5em;
    line-height: 1.7;
}
.post__content img {
    display: block; /* Забезпечує коректне вирівнювання зображення */
    margin: 0 -15px; /* Виступ зліва і справа на 15px */
    max-width: calc(100% + 30px); /* Уникає обрізання на вузьких екранах */
    width: auto; /* Підтримує природну ширину зображення */
}
p.post-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}
p.post-meta a {
    color: #777;
}
p.post-meta a:hover, p.post-meta a:focus {
    text-decoration: underline;
    color: #444;
}
.advantages {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #f9f9f9;
    padding: 20px 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}
.advantages > div {
    flex: 1;
}
.floating__sidebar {
    position: -webkit-sticky; /* Для браузерів, які підтримують */
    position: sticky;
    top: 20px; /* Відступ від верхнього краю екрану */
    z-index: 9999; /* Забезпечує, щоб блок знаходився поверх інших елементів */
    width: 100%;
}
article ul li, article ol li {
    margin-bottom: 10px;
}
article h2, article h3, article h4 {
    margin-top: 50px;
    font-weight: 700;
}
article h2, article h3 {
    margin-bottom: 30px;
    position: relative;
}
article h2:after, article h3:after {
    position: absolute;
    content: "";
    left: 0;
    bottom: -15px;
    width: 50px;
    height: 2px;
    background: #f01616;
}
article h3:after {
    bottom: -10px;
    background: #ccc;
}
article .faq__section h2:after, article .faq__section h3:after {
    display: none;
}
.post__short_summary {
    line-height: 1.3;
    margin-bottom: 15px;
    font-size: 20px;
    color: #555;
}
p.post-tags {
    margin: 40px 0;
    font-size: 13px;
    color: #777;
}
.faq__section_title {
    margin-bottom: 20px;
}
h3.accordion-header {
    margin: 0;
}
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #f01616;
}
.accordion-button:focus {
    z-index: 3;
    border-color: transparent;
    outline: 0;
    box-shadow: none;
}
.accordion-item {
    color: #333;
    background-color: #fff;
    border: none;
    margin-top: 4px;
}
.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    text-align: left;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 0;
    overflow-anchor: none;
}
.post__content .wp-caption {
    max-width: 100%;
}
ul.posts__list {
    margin: 0 0 40px;
    padding: 0;
}
.posts__item_flex {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.posts_img {
    flex: 0 0 40%;
}
.posts_content {
    flex: 0 0 calc(60% - 10px);
}
.content__title a {
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
}
.content__title a:hover,
.content__title a:focus {
    color: #f01616;
}
.catalog__address {
    font-size: 14px;
    color: #4a4a4a;
}
.widget-title {
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
}
.widget-title span {
    font-weight: 900;
    color: #f01616;
}
.wpcf7-form-control {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 15px;
}
.form__wrapper {
    padding: 40px 40px 10px;
    background: #eee;
    border-radius: 14px;
    border: 1px solid #ccc;
}
/*========== SINGLE ==========*/





/*========== ARCHIVE ==========*/
.post__teaser .post__photo img {
    width: 100%;
    height: auto;
    border-radius: 14px;
}
a.post__teaser {
    display: block;
    margin-bottom: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e5e5;
}
h3.teaser__title {
    font-weight: 600;
    margin-bottom: 20px;
}
.teaser__top_line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.created {
    font-size: 12px;
    color: #999;
}
.post__teaser .post__short_summary {
    line-height: 1.2;
    margin-bottom: 20px;
    font-size: 15px;
    color: #555;
}
ul.news__categories {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 12px;
}
ul.news__categories a {
    display: block;
    padding: 4px 12px;
    line-height: 1;
    background: #eee;
    color: #999;
    border-radius: 10px;
}
ul.news__categories a:hover,
ul.news__categories a:focus {
    color: #333;
}
ul.secondary-menu {
    list-style-type: none;
    padding: 0;
    margin-bottom: 40px;
}
ul.secondary-menu li {
    margin-bottom: 10px;
}
ul.secondary-menu .nav-link {
    padding: 0 !important;
    font-size: 19px;
    color: #888;
}
ul.secondary-menu .nav-item.active .nav-link {
    color: #0a0a0a;
}
/*========== ARCHIVE ==========*/




/*========== FRONTPAGE ==========*/
.top__catalog_section {
    margin-bottom: 30px;
}
.top__catalog_section p {
    font-size: 14px;
    color: #999;
}
section.front__section {
    padding: 40px 0;
}
.section__title_flex {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}
h2.section__title {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.5rem;
}
h2.section__title span {
    font-weight: 900;
    color: #f01616;
}
a.link_to_all {
    font-size: 16px;
    color: #999;
}
a.link_to_all:hover {
    color: #f01616;
}
.cat__teaser_flex .catalog__address {
    font-size: 13px;
    color: #777;
}
.section__start {
    background: url('img/top_car_bg.webp')no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 70px 0;
}
.section__start:after {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,.7);
}
.front__top_slider {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,.7);
}
.front__top_slider .frontpage__title {
    font-weight: 800;
    color: #fff;
}
a.teaser__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: 300ms ease;
    margin-bottom: 40px;
}
.teaser__title {
    font-weight: 700;
    margin-bottom: 5px;
    color: #111;
}
a.teaser__item:hover .teaser__title {
/*    color: #f01616;*/
    text-decoration: underline;
}
.teaser__img {
    position: relative;
    width: 100%;
    padding-top: 65%;
    border-radius: 4px;
}
.teaser__img:after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
    background: rgba(255,255,255,.1);
    opacity: 0;
    transition: 300ms ease;
}
a.teaser__item:hover .teaser__img:after {
    opacity: 1;
    transition: 300ms ease;
}
.teaser__img .img__wrapper {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
}
.teaser__img .img__wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.teaser__content_flex {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
}
.teaser__footer .created {
    font-size: 13px;
    color: #777;
}
.teaser__summary {
    color: #777;
    font-size: 16px;
}
.gallery__header {
    margin-bottom: 30px;
}
.gallery__grid {
    display: grid; 
}
.gallery__grid .gallery__link {
    display: block;
    width: 100%;
    padding-top: 65%;
    position: relative;
    background: #fff;
    overflow: hidden;
}
.gallery__grid .gallery__link:after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.3);
    opacity: 0;
    transition: 300ms ease;
}
.gallery__grid .gallery__link:before {
    position: absolute;
    content: "";
    z-index: 2;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 100%;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,.8);
    -webkit-mask: url('img/icons/square-target.svg')no-repeat;
    mask: url('img/icons/square-target.svg')no-repeat;
    transition: 600ms ease;
}
.gallery__grid .gallery__link:hover:before {
    top: 50%;
    transform: translateY(-50%);
    transition: 300ms ease;
}
.gallery__grid .gallery__link:hover:after {
    opacity: 1;
    transition: 300ms ease;
}
.gallery__grid .gallery__link:hover {
    box-shadow: 0 20px 20px rgba(0,0,0,.1);
}
.gallery__grid .gallery__link:hover img {
    transform: scale(1.1);
    transition: 300ms ease;
}
.gallery__grid .gallery__link .img__wrapper {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}
.gallery__grid .gallery__link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 600ms ease;
}
/*========== FRONTPAGE ==========*/




/*========== CATALOG ==========*/
.catalog__top_content {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 50px;
}
.catalog__top_content label {
    font-weight: 700;
    color: #222;
    display: block;
}
.catalog__options_header {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.phone__url_flex {
    display: flex;
    gap: 15px;
}
.phone__url_flex > div {
    flex: 1;
}
.category__top_text {
    font-size: 19px;
    color: #999;
    margin-bottom: 40px;
}
.catalog__items {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.catalog__img {
    width: 100%;
    padding-top: 60%;
    border-radius: 8px;
}
.catalog__card {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
    height: 100%;
}
.catalog__categories {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
    padding: 0;
}
.catalog__categories li {
    background: #f9f9f9;
    color: #4a4a4a;
    font-size: 14px;
    padding: 3px 10px;
}
.card__title a {
    color: #111;
}
.card__title a:hover,
.card__title a:focus {
    color: #f01616;
}
.card__title h2 {
    font-size: 26px;
    text-transform: uppercase;
    font-weight: 600;
}
.category__description {
    margin: 50px 0;
}
.page__body {
    margin-bottom: 50px;
}

.u_banny__gallerie {
    overflow: hidden;
}
.catalog__options_grey {
    background: #f5f5f5;
    padding: 30px 25px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.swiperBanny {
    height: 100%;
    border-radius: 16px;
    position: relative;
}
.swiperBanny .swiper-container {
    max-width: 100%;
    width: 100%;
}
.banny__nav {
    position: absolute;
    content: "";
    display: flex;
    gap: 15px;
    z-index: 10;
}
.banny_prev, .banny_next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
.round__btn {
    display: block;
    width: 6px;
    height: 10px;
    background: #fff;
    -webkit-mask: url('img/arrow_small.svg')no-repeat;
    mask: url('img/arrow_small.svg')no-repeat;
    background-size: contain;
}
.banny_prev {
    transform: rotate(180deg);
}
.banny_prev:hover, .banny_next:hover,
.banny_prev:focus, .banny_next:focus {
    background: #fff;
}
.banny_prev:hover .round__btn, .banny_next:hover .round__btn,
.banny_prev:focus .round__btn, .banny_next:focus .round__btn {
    background: #212121;
}
.join__to_catalog {
    background: #f9f9f9;
    padding: 40px;
    font-size: 15px;
    line-height: 1.3;
    border-radius: 6px;
}
.join__to_catalog h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}
.category__title_flex {
    display: flex;
    gap: 30px;
    align-items: start;
}
.category__title_flex .title__icon {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    background: url('img/nav_64.png')no-repeat;
    background-size: contain;
}
.catalog_item {
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(0, 0, 0, .1);
}
.pagination .nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 auto;
}
.page-numbers {
    background: #fff;
    border-radius: 4px;
    border: 1px solid #eee;
    padding: 7px 10px;
    line-height: 1.2;
    font-size: 14px;
    color: #999;
}
.page-numbers:hover, .page-numbers:focus {
    color: #f01616;
}
.page-numbers.current {
    color: #000;
    background: #f9f9f9;
}
/*========== CATALOG ==========*/






/*========== FILTERS ==========*/
.wpc-filters-section {
    margin-bottom: 1.5em;
    position: relative;
    flex: 1;
}
select.wpc-filters-widget-select option.wpc-term-count-0 {
    display: none;
}
.wpc-filter-chips-list a, body .wpc-filter-chips-list li.wpc-filter-chip a {
    text-decoration: none;
    font-weight: 400;
    border-radius: 50px;
    padding: 1px 10px 2px;
    display: inline-block;
    outline: 0;
    border: none !important;
    position: relative;
    background: #f2f2f2 !important;
    border-radius: 4px !important;
    color: #333;
}
body .wpc-filter-chips-list li.wpc-chip-reset-all a {
    border: 1px solid !important;
    border-color: #bdbdbd !important;
    color: #424242 !important;
    background: transparent !important;
}
.wpc-instead-of-posts-found {
    display: none;
}
.wpc-filter-header {
    display: none;
}
.wpc-filters-scroll-container .wpc-filters-widget-wrapper {
    transition: opacity .25s;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}
.wpc-edit-filter-set {
    display: none;
}
.wpc-filter-layout-submit-button {
    display: flex;
    justify-content: space-between;
    flex-direction: row !important;
    gap: 15px;
}
/*a.wpc-filters-reset-button {
    display: none !important;
}*/
/*a.wpc-filters-submit-button {
    width: 100% !important;
}*/
.wpc-filters-widget-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.wpc-filter-content select {
    width: 100% !important;
    margin-bottom: 0 !important;
    border: 1px solid #bdbdbd;
    border-radius: 8px;
    padding: 10px 11px 11px;
    font-size: 15px;
    font-weight: 500;
    color: #757575;
}
.wpc-filters-submit-button {
    background-color: #212121 !important;
    color: #fff !important;
    border: 1px solid #212121 !important;
    font-size: 15px !important;
    padding: 10px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    line-height: 1;
    height: 44px;
    flex: 1;
}
.wpc-filters-reset-button {
    color: #777 !important;
    font-size: 15px !important;
    padding: 10px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    border: 1px solid transparent; !important;
    line-height: 1;
    height: 44px;
    flex: 1;
}
.wpc-filters-submit-button:hover,
.wpc-filters-submit-button:focus {
    background: #424242;
    color: #fff;
    border: 1px solid #424242;
}
.wpc-filters-reset-button:hover,
.wpc-filters-reset-button:focus {
    background: #f01616 !important;
    color: #fff !important;
    border: 1px solid #f01616 !important;
}
.wpc-filters-section {
    margin-bottom: 0 !important;
    position: relative;
}
/*========== FILTERS ==========*/




/*========== PLUGINS ==========*/
.ez-toc-custom {
    padding-left: 35px !important;
    border-left: 3px solid #f01616 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.ez-toc-heading-level-2 {
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    padding-left: 25px !important;
    position: relative;
}
.ez-toc-heading-level-2:after {
    position: absolute;
    content: "";
    left: 0;
    top: 5px;
    width: 13px;
    height: 13px;
    background: #ccc;
    -webkit-mask: url('img/arrow-bottom.svg')no-repeat;
    mask: url('img/arrow-bottom.svg')no-repeat;
    background-size: contain;
}
.ez-toc-heading-level-2:hover:after,
.ez-toc-heading-level-2:focus:after {
    background: #f01616;
}
p.ez-toc-title {
    text-transform: uppercase;
    font-weight: 700 !important;
    color: #000 !important;
}
#ez-toc-container a:hover {
    text-decoration: none !important;
}
.ez-toc-title-container {
    margin-bottom: 20px !important;
}
#ez-toc-container .ez-toc-js-icon-con {
    border: none !important;
}
/*========== PLUGINS ==========*/




@media (max-width: 575px) {
    .banny__nav {
        bottom: 25px;
        left: 25px;
    }
    .wpc-filters-scroll-container .wpc-filters-widget-wrapper {
        flex-direction: column;
        margin-bottom: 40px;
    }
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    .post__content {
        padding: 0 10px;
    }
    .form__wrapper {
        padding: 30px 20px 10px !important;
    }
}



@media (min-width: 576px) {
    .banny__nav {
        bottom: 30px;
        left: 40px;
    }
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .post__content {
        padding: 0 40px;
    }
}



@media (max-width:767px) {
    .front__top_slider {
        text-align: center;
    }
}



@media (max-width: 991px) {
    .u_banny__gallerie {
        flex: 0 0 100%;
    }
    .catalog__options_grey {
        flex: 0 0 100%;
        gap: 40px;
    }
    .banny__gallery_item {
        min-height: 400px;
    }
    .navbar .top__search,
    .navbar .primary__menu {
        display: none;
    }
}


@media (min-width: 992px) {
    .u_banny__gallerie {
        flex: 0 0 calc(100% - 465px);
    }
    .catalog__options_grey {
        flex: 0 0 440px;
    }
    .catalog__top_content {
        min-height: 430px;
    }
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}


@media (min-width: 1200px) {
    .h1, h1 {
        font-size: 2.1rem;
    }
    .h3, h3 {
        font-size: 1.5rem;
    }
    .gallery__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
}