.color-red-500 {
    color: #fb3c36;
}

/*Конструктор*/
.pt-tw-header-padding {
    padding-top: 135px;
}

.brand_topmenu__fill {
    background-color: #EFEFEF;
}

.brand_topmenu__fill .btn-ghost {
    border-width: 1px;
    border-color: transparent;
    background-color: #FFFFFF;
    color: currentColor;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    outline-color: currentColor;
}

#mini-filter .hidden {
    display: none !important;
}

.border-red-500 {
    --tw-border-opacity: 1;
    border-color: rgb(240 82 82/var(--tw-border-opacity));
}

.bg-red-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(253 242 242/var(--tw-bg-opacity));
}

.ml-4 {
    margin-left: 1rem
}

.border-top {
    border-top: 1px solid #e5e7eb;
}

.border-bottom {
    border-bottom: 1px solid #e5e7eb;
}

.max-h-\[30px\] {
    max-height: 30px;
}

.max-h-\[45px\] {
    max-height: 45px;
}

.image-gallery-icon {
    outline: 0 !important;
}

svg.logo {
    width: 50px;
}

.image-gallery-slides {
    line-height: 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    text-align: center;
}

#banner-top img.object-cover {
    border-radius: 15px
}

.swiper-brands a {
    min-width: 150px
}

.collapse-title, :where(.collapse > input[type="checkbox"]), :where(.collapse > input[type="radio"]) {
    padding: 0.8rem 1rem 0.8rem 1rem;
    min-height: 2.75rem !important;
    transition: background-color .2s ease-out;
}

#komplectation .collapse-content ul {
    text-align: left;
}

#komplectation .collapse-content ul li {
    margin-bottom: 3px;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    padding-left: 25px; /* Отступ для галочки */
}

#komplectation .collapse-content ul li::before {
    content: '✔'; /* Символ галочки */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: grey !important; /* Цвет галочки */
    font-size: 16px; /* Размер галочки */
}

#mini-filter {
    position: relative;
    z-index: 10;
}

#mini-filter .mantine-Popover-dropdown {
    z-index: 300;
    position: absolute;
    opacity: 1;
    transform: scale(1);
    transition: transform 200ms ease, opacity 200ms ease;
}

@media (max-width: 640px) {
    .car-products > .swiper-slide-active {
        width: 80% !important;
    }

    .swiper-reviews .swiper-wrapper > .swiper-slide-active {
        width: 80% !important;
    }

    .xs\:hidden {
        display: none;
    }
}

@media (min-width: 641px) {
    .sm\:hidden {
        display: none;
    }
}


@media (max-width: 768px) {
    .swiper-products_brand-next,
    .swiper-products_brand-prev,
    .swiper-products_pay-next,
    .swiper-products_pay-prev {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .swiper-brands div div {
        width: 52px !important;
        margin: 0 0 0 5px !important;
    }

    .swiper-brands a {
        min-width: 50px;
    }

    .swiper-brands div div a span.font-normal {
        display: none;
    }

    .swiper-brands div div a span.font-lg {
        display: none;
    }
}

.calch2 {
    margin-bottom: 2rem;
}

@media (max-width: 640px) {
    .calch2 {
        padding: 0 50px;
    }
}

#gallery div div div div div span > .badge-success {
    font-size: 1rem;
}

/* Menu css */
.dropdown-container {
    position: relative;
    margin: 7px 0 0 0;

    .dropdown-toggle {
        color: #000000;
        background-color: #ffffff;
        font-size: 17px;
        padding: 8px 9px;
        font-weight: 600;
        cursor: pointer;
        position: relative;
        transition: all ease-in-out 0.3s;
        display: inline-block;
        border-radius: var(--rounded-btn, .5rem);

        label {
            cursor: pointer;
            width: 100%;
        }

        &:hover,
        &:active,
        &:focus {
            --tw-border-opacity: 0;
            background-color: hsl(var(--bc) / var(--tw-bg-opacity));
            --tw-bg-opacity: 0.2;
        }
    }

    .dropdown-menu {
        width: 200px;
        max-width: 200px;
        border-radius: 10px;
        box-shadow: 0px 0px 4px -2px rgba(0, 0, 0, 0.5);
        margin-top: 17px;
        position: absolute;
        right: 0;
        top: 100%;
        display: none;
        background-color: #ffffff;
        z-index: 10;

        ul {
            list-style: none;
            padding: 0;
            margin: 0;
            overflow: hidden;
            border-radius: 10px;
            z-index: 10;
        }

        a {
            text-decoration: none;
            display: block;
            color: #000000;
            font-size: 15px;
            padding: 15px 25px;
            font-weight: 600;
            box-shadow: 0px 0px 4px -2px rgba(0, 0, 0, 0.5);
            transition: all ease-in-out 0.3s;

            &:hover,
            &:active,
            &:focus {
                --tw-border-opacity: 0;
                background-color: hsl(var(--bc) / var(--tw-bg-opacity));
                --tw-bg-opacity: 0.1;
            }
        }
    }
}

.minimenu {
    display: block;
}

.miniclose {
    display: none;
}

.dropdown-menu {
    z-index: 10;
    position: relative;

    &::before {
        z-index: -1;
        transform: rotate(-135deg);
        top: -4px;
        border-color: #ffffff;
        box-shadow: 1px 1px 4px -2px rgba(0, 0, 0, 0.4);
    }
}

.dropdown-open {
    .dropdown-menu.dropdown-active {
        display: block;
    }
}

.dropdown-container.dropdown-open {
    .dropdown-toggle {
        color: #000;
    }
}

.dropdown-container.dropdown-open .dropdown-toggle {
    .minimenu {
        display: none;
    }

    .miniclose {
        display: block;
    }
}

/*
Таблицы
 */
.table {
    width: 100%;
    white-space: collapse;
}

table.no-border {
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
}

table.table {
    border-collapse: collapse;
    border-spacing: 0;
}

table.table > thead > tr > th,
table.table > tbody > tr > th,
table.table > tfoot > tr > th,
table.table > thead > tr > td,
table.table > tbody > tr > td,
table.table > tfoot > tr > td {
    border: 0;
    padding: 11px;
}

table.table b,
table.table strong {
    font-weight: 600;
}

table.table > thead > tr > th,
table.table > tbody > tr > th,
table.table > tfoot > tr > th {
    color: white;
    border-color: #e5e5e5;
}

.table-bordered {
    border-color: #e5e5e5;
}

table.table.table-striped tr:nth-child(even) td {
    background: linear-gradient(0deg, #f5f5f5, #f5f5f5), #f8f8f8;
    background: #f8f8f8;
}

table.table.table-striped tr:nth-child(odd) td {
    background: white;
}

table.table.table-striped tr:nth-child(odd) td {
    background: white;
}

table.table.table-bordered td {
    border: 1px solid #e5e5e5;
    border-color: #e5e5e5;
}

table.table.table-bordered-line td {
    border-bottom: 1px solid #e5e5e5;
    border-color: #e5e5e5;
}

table.table.table-light th {
    background-color: transparent;
    color: inherit;
    border-bottom: 2px solid #b8b8b8;
    border-color: #e5e5e5;
}

table.table .table-bg-gray {
    background: linear-gradient(0deg, #f5f5f5, #f5f5f5), #f8f8f8;
    background: #f8f8f8;
}

table.table th {
    background: #555;
}

table.table1 td {
    padding: 15px;
}

table.table > thead > tr > th {
    font-size: 16px;
    font-weight: 600;
    padding-top: 12px;
    padding-bottom: 12px;
}

.dark_light_table {
    color: #2f383d;
    font-size: 16px;
}

.dark_table {
    color: #333;
    font-size: 15px;
    line-height: 20px;
    font-weight: bold;
}

/* tables responsible */
.tables-responsive {
    overflow-x: auto;
    position: relative;
}

.tables-responsive:before {
    content: "";
    position: absolute;
}

@media (max-width: 600px) {
    table.table:not(.table-full-width),
    table.table:not(.table-full-width) thead,
    table.table:not(.table-full-width) tbody,
    table.table:not(.table-full-width) th,
    table.table:not(.table-full-width) td,
    table.table:not(.table-full-width) tr {
        display: block;
        clear: both;
    }

    table.table:not(.table-full-width) thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    table.table:not(.table-full-width) thead + tbody td .th-mobile {
        display: block;
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    table.table:not(.table-full-width) thead + tbody tr:not(.nomobile) td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        text-align: left !important;
        min-height: 32px;
        word-break: break-all;
    }

    table.table thead + tbody td.table-head-group .th-mobile {
        display: none;
    }

    table.table thead + tbody tr:not(.nomobile) td.table-head-group {
        padding-left: 6px;
    }

    table.table .td-hidden-xs {
        display: none;
    }
}

/*
Блоки
 */
.styled-block {
    border-left: 2px solid;
    border-left-color: currentcolor;
    background: url("../img/background.webp") #f2f2f2 0 0 repeat;
    color: #555555;
    clear: both;
    padding: 0 50px 20px 50px;
    font-size: 15px;
}

@media (max-width: 35.99375em) {
    .mantine-visible-from-xs {
        display: none !important;
    }
}

@media (min-width: 36em) {
    .mantine-hidden-from-xs {
        display: none !important;
    }
}

@media (max-width: 47.99375em) {
    .mantine-visible-from-sm {
        display: none !important;
    }
}

@media (min-width: 48em) {
    .mantine-hidden-from-sm {
        display: none !important;
    }
}

@media (max-width: 61.99375em) {
    .mantine-visible-from-md {
        display: none !important;
    }
}

@media (min-width: 62em) {
    .mantine-hidden-from-md {
        display: none !important;
    }
}

@media (max-width: 74.99375em) {
    .mantine-visible-from-lg {
        display: none !important;
    }
}

@media (min-width: 75em) {
    .mantine-hidden-from-lg {
        display: none !important;
    }
}

@media (max-width: 87.99375em) {
    .mantine-visible-from-xl {
        display: none !important;
    }
}

@media (min-width: 88em) {
    .mantine-hidden-from-xl {
        display: none !important;
    }
}

@media (max-width: 35.99375em) {
    .mantine-visible-from-xs {
        display: none !important;
    }
}

@media (min-width: 36em) {
    .mantine-hidden-from-xs {
        display: none !important;
    }
}

@media (max-width: 47.99375em) {
    .mantine-visible-from-sm {
        display: none !important;
    }
}

@media (min-width: 48em) {
    .mantine-hidden-from-sm {
        display: none !important;
    }
}

@media (max-width: 61.99375em) {
    .mantine-visible-from-md {
        display: none !important;
    }
}

@media (min-width: 62em) {
    .mantine-hidden-from-md {
        display: none !important;
    }
}

@media (max-width: 74.99375em) {
    .mantine-visible-from-lg {
        display: none !important;
    }
}

@media (min-width: 75em) {
    .mantine-hidden-from-lg {
        display: none !important;
    }
}

@media (max-width: 87.99375em) {
    .mantine-visible-from-xl {
        display: none !important;
    }
}

@media (min-width: 88em) {
    .mantine-hidden-from-xl {
        display: none !important;
    }
}

/*БАННЕРЫ*/
.swiper-slide {
    cursor: grabbing;
}
.banners-big__text {
    flex-direction: column;
    line-height: 1;
}
@media (max-width: 400px) {
    .banners-big__title {
        font-size: 2rem;
        padding: .5rem;
        margin: 2rem 1.5rem 0 1.5rem;
    }
    .banners-big__subtitle {
        font-size: 1rem;
        padding: .5rem;
        margin: 0.1rem 1.5rem auto;
    }
    .banners-big__text {
        margin-top: 1rem;
    }
}
@media (min-width: 401px) and (max-width: 600px){
    .banners-big__title {
        font-size: 2rem;
        padding: .5rem;
        margin: 2rem 1.5rem 0 1.5rem;
    }
    .banners-big__subtitle {
        font-size: 1.3rem;
        padding: .5rem;
        margin: 0 1.5rem auto;
    }
}
@media (min-width: 601px) and (max-width: 800px){
    .banners-big__title {
        font-size: 2rem;
        padding: .5rem;
        margin: 3rem 1.5rem 0 1.5rem;
    }
    .banners-big__subtitle {
        font-size: 1.8rem;
        padding: .5rem;
        margin: 0 1.5rem auto;
    }
}
@media (min-width: 801px) and (max-width: 1200px){
    .banners-big__title {
        font-size: 3rem;
        padding: .5rem;
        margin: 2rem 2.5rem 0 2.5rem;
    }
    .banners-big__subtitle {
        font-size: 2rem;
        padding: .5rem;
        margin: 1rem 2.5rem 0 2.5rem;
    }
}
@media (min-width: 1201px) {
    .banners-big__title {
        font-size: 4.5rem;
        padding: .5rem;
        margin: 0 2.5rem 0 2rem;
    }
    .banners-big__subtitle {
        font-size: 2.5rem;
        padding: .5rem;
        margin: 2rem 2.5rem auto;
    }
    .banners-big__text {
        max-width: 80%;
        margin-top: 4rem;
    }
}