/*
Theme Name:  boxcar-child
Template: boxcar

Version: 1.0.0
*/

:root {
    --boxcar-theme-color: #405ff2;
    --custom-bg-header: #050b20;

    --color--addition-text: #a2a2a2;
}

.apus-header ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.custom-bg-header #apus-header {
    background-color: var(--custom-bg-header);
}

.custom-bg-header #apus-header li:not(.active) > a {
    color: #fff;
}

.custom-bg-header #apus-header .elementor-icon-list-text {
    color: #fff;
}

.custom-list-flag {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.custom-list-flag div:not(:last-child) {
    margin-bottom: 0;
}

.custom-list-flag .list-icon {
    padding: 14px 20px;
    border: 1px solid #e9e9e9;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
}

.custom-list-flag a .type-icon {
    display: block;
    content: '';
    position: relative;
    width: 30px;
    height: 20px;
}

.custom-list-flag .list-icon {
    background: rgba(255, 255, 255, 0.2);
}

.custom-list-flag .features-box-image {
    width: 30px;
    box-shadow: 3px 4px 10px 0 rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 768px) {
    .custom-list-flag {
        justify-content: center;
    }

    .row-custom .form-socials-btn {
        flex-wrap: wrap;
    }
}

.short-des-custom ul {
    list-style: none;
    padding-left: 0;
}

.short-des-custom ul li {
    position: relative;
}

.short-des-custom ul li:not(:last-child) {
    margin-bottom: 15px;
}

.short-des-custom ul li {
    padding-left: 28px;
}

.short-des-custom ul li::before {
    position: absolute;
    top: 2px;
    left: 0;

    background: #fff;
    color: var(--boxcar-theme-color);
    transition: all 0.2s ease-in-out 0s;
    vertical-align: middle;
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    font-size: 8px;
    text-align: center;
    line-height: 18px;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -ms-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
}

.button-action-custom {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border: 1px solid var(--boxcar-theme-color);
}

.subwoo-inner-custom {
    height: 100%;
}

.subwoo-inner-custom .item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.subwoo-inner-custom .bottom-sub {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.subwoo-inner:hover .button-action-custom {
    border-color: #fff;
    background-color: #fff;
}

.subwoo-inner.is_featured .button-action-custom {
    border-color: #fff;
    color: #fff;
}

.subwoo-inner-custom .title {
    margin-bottom: 15px !important;
}

.apus-breadscrumb .bread-title {
    text-transform: unset !important;
}

/* .subwoo-inner:hover .subwoo-inner .button-action-custom, */
.is_featured:hover .button-action-custom {
    color: var(--boxcar-theme-color);
}

.form-btn {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
}

.form-btn-viber {
    background-color: #7360f2;
}

.form-btn-tg {
    background-color: #08c;
}

.form-btn-tg svg {
    stroke: #08c;
}

.group-policy input[type='checkbox'],
.group-policy .wpcf7-form-control-wrap {
    display: none;
}

.group-policy label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
}

.group-policy > label svg {
    content: '';
    position: absolute;
    left: 4px;
    top: 5.5px;
    width: 10px;
    height: 10px;
    pointer-events: none;
    opacity: 0;
}

.group-policy:has(input:checked) label svg {
    opacity: 1;
}

.group-policy label::before {
    position: absolute;
    top: 2px;
    left: 0;
    content: '';
    display: block;
    width: 19px;
    height: 19px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    box-sizing: border-box;
    border: 2px solid var(--boxcar-theme-color);
    background-color: var(--boxcar-theme-color);
}

.group-policy a {
    font-weight: 700;
    text-decoration: underline !important;
}

.group-btn input {
    width: 100%;
}

.row-custom {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.row-custom .col-md-12,
.row-custom .col-12 {
    text-align: center;
}

.row-custom .form-socials-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.row-custom span {
    display: block;
    padding-right: 10px;
    color: #fff;
}

.row-custom a:hover {
    opacity: 0.9;
}

.row-custom a:hover span {
    color: #fff;
}

.form-socials-btn p {
    flex: 0 1 calc(48% - 5px);
    margin: 0;
}

.form-socials-btn .form-btn {
    width: 100%;
    height: auto;
    padding: 15px;
}

@media screen and (max-width: 1440px) {
    .elementor-6695 .elementor-element.elementor-element-e30bf1d::before {
        background-position: 110% 0 !important;
    }
}

@media screen and (min-width: 1920px) {
    .elementor-6695 .elementor-element.elementor-element-e30bf1d::before {
        background-size: contain;
    }
}

.slick-carousel-custom .slick-slide {
    margin: 0 15px;
}

.slick-carousel-custom .slick-list {
    margin: 0 -15px;
}

.slick-carousel-custom .slick-slide {
    height: auto !important;
}

.slick-arrow-custom {
    position: absolute;
    z-index: 10;
    bottom: 0;

    width: 50px;
    height: 32px;
    font-size: 12px;
    color: var(--boxcar-link-color);

    border-radius: 10px;
    background-color: inherit;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border: 1px solid #e9e9e9;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
}

.slick-arrow-custom:hover {
    color: var(--boxcar-link-color);
    background: #f9fbfc;
    border-color: var(--boxcar-link-color);
}

.slick-arrow-custom.slick-prev {
    left: 10px;
}

.slick-arrow-custom.slick-next {
    left: 90px;
}

/* blog */
.mobile-sidebar-btn.btn-right {
    display: none;
}

.post-list-item .top-image-custom {
    max-height: 368px;
    width: 100% !important;
}

.top-image-custom .post-thumbnail {
    width: 100%;
    height: 100%;
    display: block;
}

.top-image-custom img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.post-list-item .top-image + .col-content-custom {
    padding: 20px 0 0 0 !important;
}

.post-blog-custom img {
    border-radius: 14px;
    -webkit-border-radius: 14px;
    -moz-border-radius: 14px;
    -ms-border-radius: 14px;
    -o-border-radius: 14px;
    overflow: hidden;
}

.post-blog-custom ul {
    list-style: none;
    padding: 0;
    margin-bottom: 45px;
}

.post-blog-custom li {
    position: relative;
}

.post-blog-custom li:not(:last-child) {
    margin-bottom: 20px;
}

.post-blog-custom li::before {
    transition: all 0.2s ease-in-out 0s;
    vertical-align: middle;
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    font-size: 8px;
    text-align: center;
    line-height: 18px;
    color: var(--boxcar-theme-color);
    background: var(--boxcar-theme-color-007);
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -ms-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
}

.other-posts-custom {
    position: relative;
}

.other-posts-custom .list-categories {
    position: absolute;
    z-index: 1;
    top: 20px;
    left: 20px;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 30px;
    background: rgb(255, 255, 255);
}

.other-posts-custom .list-categories:hover a {
    color: var(--boxcar-theme-color);
}

.posts-custom-img {
    display: block;
    width: 100%;
    height: 250px;
    border-radius: 14px;
    -webkit-border-radius: 14px;
    -moz-border-radius: 14px;
    -ms-border-radius: 14px;
    -o-border-radius: 14px;
    overflow: hidden;
}

.posts-custom-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
}

.item-custom article:hover img {
    transform: scale(1.08);
    -webkit-transform: scale(1.08);
    -moz-transform: scale(1.08);
    -ms-transform: scale(1.08);
    -o-transform: scale(1.08);
}

.link-policy {
    text-align: center;
    margin-top: 14px;
}

.link-policy a {
    color: var(--boxcar-theme-color);
    cursor: pointer;
}

.status-property-label {
    padding: 4px 8px;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
}

.image-wrapper-custom {
    overflow: hidden;
    height: 340px;
}

.image-wrapper-custom img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.screen-reader-response {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 80px;
    background: url('https://byautousa.by/wp-content/uploads/2025/11/bg-scaled.png')
        no-repeat center;
    background-size: cover;
}

.screen-reader-response .wpcf7 {
    max-width: 925px;
    margin: 0 auto;
}

.title-form-blog {
    margin: 0 auto 30px;
    max-width: 600px !important;
    text-align: center;
}

.form-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 170%;
}

@media screen and (max-width: 1440px) {
    .image-wrapper-custom {
        height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .screen-reader-response {
        padding: 40px 15px;
    }
}

.header_list-cars {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.header_list-cars_title {
    margin: 0;
    font-size: 40px;
    line-height: 1;
}

.header_list-cars-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media screen and (max-width: 768px) {
    .header_list-cars_title {
        font-size: 22px;
    }
}

.slick-carousel-list .slick-slide,
.slick-carousel-list-second .slick-slide {
    margin: 0 10px;
}

.slick-carousel-list {
    margin: 0 -10px;
}

.slick-prev-btn,
.slick-next-btn,
.slick-prev-btn-second,
.slick-next-btn-second {
    position: absolute;
    top: 48%;
    width: 36px;
    height: 28px;
    font-size: 12px;
    background: #ffffffa9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--boxcar-link-color);
    transition: all 0.3s ease-in-out 0s;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -ms-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;

    z-index: 2;
    border: 1px solid #e9e9e9;
    border-radius: 30px;
}

.slick-prev-btn,
.slick-prev-btn-second {
    left: -10px;
}

.slick-next-btn,
.slick-next-btn-second {
    right: -10px;
}

.slick-prev-btn:hover,
.slick-next-btn:hover,
.slick-prev-btn-second:hover,
.slick-next-btn-second:hover {
    background: #fff;
    border-color: #050b20;
}

.slick-dots {
    display: flex;
    align-items: center;
    list-style: none;
    justify-content: center;
    gap: 18px;
}

.slick-dots li {
    height: 4px;
    width: 20px;
    background-color: #0000009d;
    border-radius: 2px;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
}

.slick-dots li.slick-active {
    width: 30px;
    background-color: #000;
}

.style3-liner-top {
    display: flex !important;
    gap: 20px;
    align-items: end;
}

.features-box-number {
    font-size: 24px;
    font-weight: 600;
}

.list-theme li {
    padding-left: 40px;
}

.list-theme li:before {
    position: absolute;
    left: 0;
}

.elementor-6695
    .elementor-element.elementor-element-d20e6ad:not(
        .elementor-motion-effects-element-type-background
    ) {
    background-position: 0 0 !important;
}

.main-total-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dollar-price {
    font-size: 14px;
    color: var(--color--addition-text);
    font-weight: 500;
}

/* костыль:( */
.page-template .main-price {
    display: none;
}

.from-text-custom .suffix,
.to-text-custom .suffix,
.price-text-wrapper-custom .suffix {
    margin-right: 5px;
}

.listing-detail-gallery-custom {
    max-height: 700px;
}

.detail-gallery-custom .slick-list {
    max-height: 700px;
    height: 100%;
}

.detail-gallery-custom .image-wrapper {
    height: 100%;
    max-height: 700px;
}

.detail-gallery-custom .image-wrapper img {
    max-height: 700px;
    height: auto;
    width: 100%;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .listing-detail-gallery-custom {
        max-height: 300px;
    }

    .detail-gallery-custom .slick-list {
        max-height: 300px;
    }

    .detail-gallery-custom .image-wrapper {
        max-height: 300px;
    }

    .detail-gallery-custom .image-wrapper img {
        max-height: 300px;
    }
}

#wpcf7-f6822-p6695-o2 {
    max-width: 620px;
}

.layout-posts-list-custom .d-sm-flex {
    display: block !important;
}

.layout-posts-list-custom .post-list-item .top-image {
    width: 100%;
}

.layout-posts-list-custom .post-list-item .top-image + .col-content {
    padding: 20px 0 0;
}

/* blog 2.0 */
.row-wrapper-custom #main-content,
.row-wrapper-custom #main {
    width: 100%;
    padding: 0;
}

.row-custom-blog {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-post {
    flex: 0 1 calc(33.333% - 15px);
}

.post-list-item .top-image-custom {
    height: 340px;
}

.post-list-item .top-image-custom img {
    height: 100%;
}

@media screen and (max-width: 768px) {
    .row-custom-blog {
        flex-wrap: nowrap;
        flex-direction: column;
    }
}

/* catalog */
.elementor-4323 .e-con-inner {
    max-width: 1430px !important;
}

.list-point-custom-s > div {
    flex: 0 1 14.22%;
}
/* end catalog */

/* services */

.layout-posts-list-services {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.layout-posts-list-services .image-wrapper {
    width: 100%;
}

.row-services {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
    max-width: 1430px;
    margin: 0 auto;
    padding: 0 15px;
}

.card-services {
    flex: 0 1 33.333%;
}

.image-wrapper-services {
    height: 320px;
}

.image-wrapper-services img {
    width: auto;
    height: 100% !important;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .row-services {
        flex-wrap: wrap;
    }

    .card-services {
        flex: 1 1 100%;
    }

    .image-wrapper-services {
        height: 200px;
    }
}

/* end services */

/* single cards */
.old-price {
    font-size: 24px;
    font-weight: 600;
}

.user-content-wrapper .title-user-custom {
    font-size: 16px !important;
}

.form-socials-btn {
    display: flex;
    gap: 30px;
}

.socials-stretch {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-btn-stretch {
    flex: 1 1 100%;
    padding: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    border-radius: 12px;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 105%;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

.form-btn-stretch svg {
    stroke: none;
}

.form-btn-stretch:hover {
    color: #fff;
    opacity: 0.9;
}

/* end single cards */

/* single post */
.content_titles {
    margin: 50px 0;
    padding: 30px;
    border-radius: 18px;
    border-left: 10px solid var(--boxcar-theme-color);
    background-color: #e9f2ff;
}

.content_titles-title {
    font-size: 20px;
    font-weight: 600px;
    margin-bottom: 20px;
}

.content_titles-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style-type: none;
}

.titles-list_link {
    position: relative;
    padding-left: 20px;
}

.titles-list_link::before {
    display: block;
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 1;
    width: 6px;
    height: 6px;
    border-radius: 100px;
    background-color: var(--boxcar-theme-color);
}

.single-content-top {
    margin-bottom: 60px;
}

.single-date {
    margin-bottom: 20px;
}

.inner-content-bottom {
    margin-bottom: 60px;
}

.single-img {
    border-radius: 40px;
    overflow: hidden;
}

.other_posts-list {
    padding: 0;
    display: flex;
    gap: 20px;
}

.other_posts-list .post-list-item {
    flex: 0 1 calc(33% - 10px);
}

.other_post-content {
    margin-top: 20px;
}

.other_top-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.other_top-image .list-categories,
.list-categories {
    display: none;
}

.other_top-image .list-categories {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
}

.other_top-image .entry-thumb {
    margin: 0;
}

.other_top-image .image-wrapper {
    height: 280px;
}

.other_top-image .image-wrapper img {
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.other_posts-list .post-list-item:hover .other_top-image .image-wrapper img {
    transform: scale(1.1);
}

.other__col-content {
    margin-top: 24px;
}

@media screen and (max-width: 1100px) {
    .other_posts-list {
        flex-wrap: wrap;
    }

    .other_posts-list .post-list-item {
        flex: 0 1 calc(50% - 10px);
    }
}

@media screen and (max-width: 580px) {
    .content-post {
        margin-bottom: 30px;
    }

    .other_posts-list .post-list-item {
        flex: 0 1 100%;
    }

    .other_top-image .image-wrapper {
        height: 230px;
    }
}

/* end single post */

/*  popup */
.popup-inner-custom {
    position: relative;
    max-width: 490px !important;
}

.close-magnific-wrapper {
    position: absolute;
    top: 5px;
    right: 5px;
}

.popup-inner {
    padding: 50px 50px 20px 50px !important;
}

/* end popup */

.elementor-6695 .elementor-element.elementor-element-7939c34 .elementor-button {
    padding-left: 40px !important;
    padding-right: 35px !important;
}

.elementor-6695 .elementor-element.elementor-element-d6bbefa {
    margin-top: 0 !important;
}

.elementor-6695 .elementor-element.elementor-element-7dbe168 {
    margin-top: -15px !important;
} 

.breadscrumb-inner {
    display: none;
}

/* ============================================================
   SEO Filter System
   ============================================================ */

/* ---------- Filter wrapper ---------- */
.filters__wrapper {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    padding: 20px;
}

.filters__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.filters__title h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.filters__clear {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: #73767d;
    padding: 0;
    transition: color 0.2s;
}

.filters__clear:hover {
    color: #333;
}

.filters__block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filters__count {
    margin: 16px 0 8px;
    font-size: 13px;
    color: #73767d;
}

.filters__btns {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.filters__reset {
    width: 100%;
    justify-content: center;
}

/* ---------- Accordeon filter item ---------- */
.filter.accordeon-item {
    border-bottom: 1px solid #e9e9e9;
}

.filter.accordeon-item:hover {
    background-color: #f8f8f8;
    color: #000000;
}

.filter.accordeon-item:last-child {
    border-bottom: none;
}

.filter__head.accordeon-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    cursor: pointer;
    user-select: none;
}

.filter.accordeon-item:hover {
    background-color: #f8f8f8!important;
}

.filter.accordeon-item.active:hover {
    background-color: #ffffff!important;
}

.filter.accordeon-item.active .filter__head.accordeon-head,
.filter.accordeon-item.open .filter__head.accordeon-head {
    padding: 10px 0 20px!important;
}

.filter__head.accordeon-head .h6 {
    margin: 0!important;
    font-size: 14px;
    font-weight: 600;
} 

.filter__head.accordeon-head:hover .h6,
.filter.accordeon-item.active:hover .h6 {
    
}

.filter__head.accordeon-head svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.filter__head.accordeon-head:hover svg path,
.filter.accordeon-item.active:hover svg path {
    
}

/* Open state: rotate arrow */
.filter.accordeon-item.active .filter__head.accordeon-head svg,
.filter.accordeon-item.open .filter__head.accordeon-head svg {
    transform: rotate(180deg);
}

.filter__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.filter__body-wrap {
    padding-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ---------- Checkbox option ---------- */
.filter__option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
}

.filter__option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.filter__check {
    width: 18px;
    height: 18px;
    border: 2px solid #c5c7cc;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
}

.filter__option input[type="checkbox"]:checked ~ label .filter__check {
    background: var(--boxcar-theme-color, #405ff2);
    border-color: var(--boxcar-theme-color, #405ff2);
}

.filter__option input[type="checkbox"]:checked ~ label .filter__check::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 0px;
    width: 6px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.filter__option label {
    font-size: 14px;
    cursor: pointer;
    line-height: 1.4;
}

/* ---------- Price range ---------- */
.filter__option-range {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.filter__option-range-inputs {
    display: flex;
    gap: 10px;
}

.filter__option-range-inputs input[type="number"] {
    width: 50%;
    padding: 8px 10px;
    border: 1px solid #e9e9e9;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    appearance: textfield;
    -moz-appearance: textfield;
}

.filter__option-range-inputs input[type="number"]::-webkit-inner-spin-button,
.filter__option-range-inputs input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.filter__option-range-inputs input[type="number"]:focus {
    border-color: var(--boxcar-theme-color, #405ff2);
}

/* ---------- Range slider ---------- */
.range {
    position: relative;
    height: 6px;
    margin: 8px 0;
}

.range__track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #e9e9e9;
    border-radius: 3px;
}

.range__fill {
    position: absolute;
    top: 0;
    height: 6px;
    background: var(--boxcar-theme-color, #405ff2);
    border-radius: 3px;
    pointer-events: none;
}

.range__thumb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
}

.range__thumb::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--boxcar-theme-color, #405ff2);
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    transition: border-color 0.2s;
}

.range__thumb::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--boxcar-theme-color, #405ff2);
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* ---------- No results ---------- */
.catalog__no-results {
    text-align: center;
    padding: 40px 20px;
}

.catalog__no-results-text {
    font-size: 16px;
    color: #73767d;
    margin-bottom: 16px;
}

/* ---------- SEO text block ---------- */
.catalog__seo-text {
    margin-top: 40px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

.catalog__seo-text h2,
.catalog__seo-text h3 {
    margin-top: 0;
}

/* Скрытая часть SEO-текста */ 
.catalog__seo-text__hidden {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.catalog__seo-text__hidden.is-open {
    max-height: 9999px;
    transition: max-height 0.6s ease;
}

/* Кнопка «Показать ещё» / «Скрыть» */
.catalog__seo-text__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #405FF2;
    line-height: 1.4;
    transition: color 0.2s;
}

.catalog__seo-text__toggle:hover {
    color: #2a46c8;
}

.catalog__seo-text__toggle-label-less {
    display: none;
}

.catalog__seo-text__toggle[aria-expanded="true"] .catalog__seo-text__toggle-label-more {
    display: none;
}

.catalog__seo-text__toggle[aria-expanded="true"] .catalog__seo-text__toggle-label-less {
    display: inline;
}

.catalog__seo-text__toggle-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.catalog__seo-text__toggle[aria-expanded="true"] .catalog__seo-text__toggle-icon {
    transform: rotate(180deg);
}

/* ---------- FAQ block ---------- */
.catalog__faq {
    margin-top: 40px;
}

.catalog__faq-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.catalog__faq-list {
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    overflow: hidden; 
}

.catalog__faq-item {
    border-bottom: 1px solid #e9e9e9;
    background: #fff;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.catalog__faq-item:last-child {
    border-bottom: none;
}

.catalog__faq-head {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
}

.catalog__faq-question {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.catalog__faq-icon {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.catalog__faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.catalog__faq-body-wrap {
    padding: 20px 20px 0;
}

.catalog__faq-item.active .catalog__faq-head,
.catalog__faq-item:hover .catalog__faq-head {
    background: #405FF2;
}

.catalog__faq-item.active .catalog__faq-question,
.catalog__faq-item:hover .catalog__faq-question {
    color: #fff;
}

.catalog__faq-item.active .catalog__faq-icon path,
.catalog__faq-item:hover .catalog__faq-icon path {
    stroke: #fff;
}

.catalog__faq-item.active .catalog__faq-icon {
    transform: rotate(180deg);
}

.catalog__faq-answer {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

/* ---------- AJAX loading state ---------- */
.catalog-products--loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .filters__wrapper {
        margin-bottom: 24px;
    }
}

@media (max-width: 575px) {
    .filter__option-range-inputs {
        flex-direction: column;
    }

    .filter__option-range-inputs input[type="number"] {
        width: 100%;
    }

    .catalog__seo-text {
        padding: 16px;
    }
}
.product-block .rating {
    display: none;
}
.product-block .image {
    position: relative;
    overflow: hidden;
}
.filter {
    background-color: #ffffff!important;
    padding: 8px 15px!important;
}
 
.filter svg { 
    width: 16px;
    height: 16px;
}

/* active — выбраны значения: только синяя обводка */
.filter.accordeon-item.active {
    border: 2px solid #405FF2 !important;
}
button.filters__reset {
    background-color: #f8f8f8;
}
button.filters__reset:hover {
    background-color: #e9e9e9;
}

/* =========================================================
   Product price block & messengers block
   ========================================================= */

.product-price-block,
.product-messengers-block {
    background: #fff;
    margin-top: 20px;
}

.product-messengers-block {
    border-radius: 12px;
}

.product-price-block__label,
.product-messengers-block__label {
    margin-bottom: 20px!important;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.4;
    opacity: .5;
}

.product-price-block__usd {
    display: block;
    font-size: 18px;
    opacity: .5;
    margin-bottom: 0;
    line-height: 1.4;
}

.product-price-block .price,
.product-price-block span.price {
    display: block;
    font-size: 18px !important;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* Кнопки мессенджеров */
.form-socials-btn.socials-stretch {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-btn-stretch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.form-btn-stretch:hover {
    opacity: 0.88;
    color: #fff;
    text-decoration: none;
}

.form-btn-stretch span {
    flex: 1;
    text-align: center;
}

.form-btn-stretch svg {
    flex-shrink: 0;
}

.form-btn-viber {
    background: #7360f2;
}

.form-btn-tg {
    background: #27a7e5;
}

/* На странице одиночного товара — ограничим ширину */
.summary .product-price-block,
.summary .product-messengers-block {
    max-width: 100%;
}

.summary .product-price-block {
    border-top: 1px solid #e9e9e9;
    padding-top: 25px;
}

.summary .product-messengers-block {
    margin-top: 10px;
}

.woocommerce div.product p.price {
    position: relative;
    top: -10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9e9e9;
    display: block;
    font-weight: 700!important;

}

@media (max-width: 575px) {
    .product-price-block,
    .product-messengers-block {
        padding: 12px;
    }

    .form-btn-stretch {
        font-size: 14px;
        padding: 10px 14px;
    }
}

.product_meta {
    display: none;
}

.wc-tabs-wrapper .w-md-30 {
    width: 10%!important;
}

.product-block.grid .product-price-block__label {
    display: none;
}

.product-block.grid .product-price-block__usd {
    margin-bottom: 0;
    font-size: 14px;
} 

/* =========================================================
   Product featured attributes block (single product page)
   ========================================================= */

.product-featured-attrs {
    padding-top: 20px;
    border-top: 1px solid #e9e9e9;
    margin-top: 30px!important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.product-featured-attrs__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 12px 0;
}

.product-featured-attrs__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f6ff;
    border-radius: 8px;
    color: #405ff2;
    font-size: 18px;
}

.product-featured-attrs__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.product-featured-attrs__label {
    font-size: 11px;
    font-weight: 500;
    color: #73767d;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

.product-featured-attrs__value {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    word-break: break-word;
}

@media (max-width: 480px) {
    .product-featured-attrs {
        grid-template-columns: 1fr 1fr;
    }
    .wc-tabs-wrapper .w-md-30 {
        width: 100%!important;
    }
    .nav.tabs-product {
        padding: 15px 0 5px!important;
        border-bottom: 1px solid #e9e9e9!important;
        border-top: 1px solid #e9e9e9!important;
        display: flex!important;
        gap: 30px;
        flex-wrap: nowrap;
    }
    .apus-breadscrumb .breadcrumb {
        background: transparent;
        margin: 0;
        padding: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .apus-breadscrumb .breadcrumb li {
        white-space: nowrap;
    }
    .apus-breadscrumb .breadcrumb::-webkit-scrollbar {
        display: none;
    }
}