.header_catalog {
    display: block;
}

.logo-block img {
    object-position: left;
    object-fit: contain;
}

.grids-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.site-card .front {
    position: relative;
    cursor: pointer;
    padding: 14px;
    border: 1px solid var(--Orange);
    border-radius: 8px;
}

.title-html-block .title-type {
    color: #727171;
    font-weight: 700;
    font-size: 20px;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.site-card .drop-model a {
    color: rgb(114, 114, 114);
    font-weight: 400;
    font-size: 16px;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.site-card .front::before {
    content: "▼";
    position: absolute;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 16px;
    right: 14px;
    font-size: 13px;
    color: var(--main-color);
    transition: all 0.3s ease 0s;
}

.site-card .drop-model {
    display: none;
    padding: 14px 0 0 0;
}

.site-card .drop-model ul {
    padding: 16px;
    margin: 0;
    border-radius: 4px;
    border: 1px solid #e3e3e3;
    max-height: 300px;
    overflow-y: auto;
}

.site-card .drop-model li {
    list-style: none;
    margin-bottom: 10px;
}

.link-mobile-footer {
    display: none;
}

@media (max-width:992px) {
    .grids-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .link-mobile-footer {
        display: block;
        padding-top: 10px;
    }

    .header_catalog {
        display: none;
    }

    .menu .menu__inner .menu__nav .menu__nav-list {
        flex-direction: column-reverse;
    }

    .order_sup {
        order: 1;
    }
}

@media (max-width:576px) {
    .grids-box {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
}


.phone-cards .phone-card-link {
    display: block;
}

.phone-cards .phone-card-link:nth-child(n + 7) {
    display: none;
}

.phone-cards.show .phone-card-link:nth-child(n + 7) {
    display: block;
}

/* @font-face {
    font-family: "PT Sans";
    font-display: swap !important;
}

@font-face {
    font-family: "PT Sans";
    font-display: swap !important;
}
@media (max-width: 992px) {
    .title {
        line-height: 1.15;
    }
}  */
.header_catalog .menu-item:nth-child(n + 7) {
    display: none;
}

nav.menu__nav .header-catalog-menu {
    transform: translateY(0);
    left: 0;
    grid-template-columns: repeat(1, 1fr);
    position: relative;
    top: 0;
}

nav.menu__nav .info-price,
nav.menu__nav .header-catalog-menu .menu-item .menu-item-info a.underline.text-16.w-700.Gray,
nav.menu__nav .header-catalog-menu .back,
nav.menu__nav .header-catalog-menu .menu-item:first-child::before,
nav.menu__nav .header-catalog-menu .menu-item:first-child::after,
nav.menu__nav .header-catalog-menu .menu-item:nth-child(4)::before,
nav.menu__nav .header-catalog-menu .menu-item:nth-child(4)::after {
    display: none;
}

nav.menu__nav .header-catalog-menu {
    padding: 0;
    gap: 4px;
    flex-direction: column;
    overflow-y: auto;
    max-height: 205px;
    flex-wrap: nowrap;
    border-radius: 0;
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    background-color: #f3f3f3;
}

nav.menu__nav .header-catalog-menu .info-title {
    cursor: pointer;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    margin-bottom: 0;
}

nav.menu__nav .header-catalog-menu img {
    display: none;
}

nav.menu__nav .header-catalog-menu .menu-item {
    flex: 100%;
}

nav.menu__nav #header___menu li {
    list-style-type: none;
    margin-bottom: 8px;
}

nav.menu__nav #header___menu li a {
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
}

.span-text {
    list-style-type: none;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

@media (max-width: 992px) {
    #custom-btn {
        order: 5;
    }
}

.menu.active {
    top: -100%;
}


/* Правки меню */

header .header-catalog-menu{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100vw;
    max-width: 1170px;
    left: 50%;
    gap: 25px;
    align-items: start;
}
.header .header_catalog.active .header-catalog-menu{
    transform: translate(-50%, 0);
    background-color: aquamarine;
}
header .header-catalog-menu .menu-item .underline{
    text-decoration: none;
    cursor: pointer;
    &:hover{
        text-decoration: underline;
    }
}
header .header-catalog-menu .menu-item
header .header-catalog-menu img{
    max-height: 120px;
}

/* Правки меню */

/* Правки станиц */

.catalog-cards.brand-cards{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.catalog-cards.brand-cards .cards-item {
    max-width: 100%;
    width: 100%;
    justify-content: space-between;
}
.catalog-cards.brand-cards .cards-item:nth-child(n+9) {
    display: none;
}
.catalog-cards.brand-cards.open .cards-item:nth-child(n+9) {
    display: flex;
}
.catalog-cards.brand-cards .cards-item img{
width: 100%;
height: 55px;
object-fit: contain;
}

.banner .banner__inner .banner__info .banner__info-utp .utp-item svg{
    max-width: 20px;
    width: 20px;    
    min-width: 20px;    
    height: 20px;
}

.switcher_brand_box{
    display: flex;
    align-items: stretch;
    gap: 12px;
    overflow-y: hidden;
    overflow-x: scroll;
    padding-bottom: 5px;
    margin-bottom: 32px;
}

.switcher_brand_box .box_item{
    border-radius: 10px;
    background-color: #f9f9f9;
    /* text-decoration: underline; */
    z-index: 1;
    color: var(--Orange);
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 12px;
    min-width: fit-content;
    transition: all 0.3s ease;
    cursor: pointer;
}

.switcher_model_box.hide{
    display: none;
}
.switcher_model_box.show{
    display: grid;
}

.switcher_brand_box .box_item.active{
    border-radius: 10px;
    /* border: 1px solid transparent; */
    /* text-decoration: none; */
    background-color: var(--Orange);
    z-index: 1;
    color: white;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 12px;
    min-width: fit-content;
}
.switcher_brand_box .box_item:hover{
    border-radius: 10px;
    /* border: 1px solid transparent; */
    /* text-decoration: none; */
    background-color: var(--Orange);
    z-index: 1;
    color: white;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 12px;
    min-width: fit-content;
}
/* Правки станиц */


/* Новый блок поломки */

.malfuctions_inner {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
}
.malfuctions_inner .card-info-repair-box {
    min-height: 176px;
    flex: 1 0 22%;
    max-width: 274px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 10px;
    position: relative;
    /* display: flex; */
    /* flex-direction: column; */
    transition: all 0.3s ease;
}
.malfuctions_inner .card-info-repair-box:nth-child(n+5) {
    display: none;
}
.malfuctions_inner.open .card-info-repair-box:nth-child(n+5) {
    display: block;
}
.malfuctions_inner .card-info-repair-box .back{
    z-index: 1;
    background-color: var(--Orange);
    border-radius: 10px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.1;
    z-index: 1;
    transition: all 0.3s ease;
}
.malfuctions_inner .card-info-repair-box svg{
    max-width: 26px;
    max-height: 26px;
    /* min-width: fit-content; */
}
.malfuctions_inner .card-info-repair-box .card-info-repair {
    height: 100%;
    display: flex
;
    position: relative;
    z-index: 2;
    flex-direction: column;
}
.malfuctions_inner .card-info-repair-box .name {
    font-size: 16px;
    margin-bottom: 12px;
}
.malfuctions_inner .card-info-repair-box .text {
    font-size: 14px;
}
.malfuctions_inner .card-info-repair-box .text ul{
    padding-left: 2rem;
    list-style-type: disc;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.malfuctions_inner .card-info-repair-box .text ul li{
    list-style-type: disc;
}
.malfuctions_inner .card-info-repair-box .price {
    margin-top: auto;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    padding-top: 14px;
}
.malfuctions_inner .card-info-repair-box .curs {
    display: flex;
    flex: 1 0 30%;
    gap: 5px;
    /* height: 26px; */
    /* width: 40%; */
    align-items: center;
    /* white-space: pre; */
}
.malfuctions_inner .card-info-repair-box .time {
    display: flex;
    gap: 5px;
    /* height: 26px; */
    /* width: 40%; */
    align-items: center;
    flex: 1 0 30%;
    /* white-space: pre; */
}

.malfuctions_inner .card-info-repair-box:hover {
    transform: translateY(-2px);
    box-shadow: 2px 2px 20px var(--Orange);
}

.malfuctions_inner .card-info-repair-box:hover .name, .malfuctions_inner .card-info-repair-box:hover .price, .malfuctions_inner .card-info-repair-box:hover .text {
    color: white;
}
.malfuctions_inner .card-info-repair-box:hover span.curs svg path {
    stroke: white;
}

.malfuctions_inner .card-info-repair-box:hover span.time svg path {
    stroke: white;
    fill: white;
}

.malfuctions_inner .card-info-repair-box:hover .back{
    opacity: 0.7;
}



/* Новый блок поломки */

/* Коды ошибок */

.error_inner {
    display: flex;  
    flex-direction: column;
    gap: 6px;
}
.error_inner .error-item {
    padding: 16px;
    position: relative;
    border-radius:10px;
    color: #606060;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.error_inner .error-item:nth-child(n+7) {
    display: none;
}
.error_inner.open .error-item:nth-child(n+7) {
    display: flex;
}
.error_inner .error-item .back{
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--Orange);
    border-radius:10px;
    opacity: 0.1;
}
.error_inner .error-item:nth-child(2n) .back{
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--darkgray);
    border-radius:10px;
    opacity: 0.1;
}
.error_inner .error-item .error-title {
    background-color: white;
    max-width: 100px;
    width: 100%;
    text-align: center;
    border-radius: 10px;
    color: var(--Orange);
    padding: 5px 10px;
    text-decoration: underline;
    font-weight: 700;
    font-size: 18px;
    position: relative;
    z-index: 2;
}
.error_inner .error-item .error-text {
    font-size: 16px;
    position: relative;
    z-index: 2;
}

/* Коды ошибок */

/* Подтипы */

.cat_type-inner {
    display: flex;
    align-items: stretch;
    gap: 32px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.cat_type-inner .cat_type-item {
    max-width: 33%;
    flex: 1 0 27%;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 10px;
    position: relative;
    min-width: 165px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px 0 #6060600d;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.cat_type-inner .cat_type-item .item-img-box {
    max-width: 350px;
    max-height: 270px;
}
.cat_type-inner .cat_type-item .item-img-box img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cat_type-inner .cat_type-item .cat-item-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--Orange);
}

/* slider-podcat */

.cat_type-inner.mySwiperType {
    display: block;
}
.cat_type-inner.mySwiperType .cat_type-item {
    max-width: 100%;
    flex: 1 0 100%;
    padding: 15px 20px;
}
.cat_type-inner.mySwiperType .cat_type-item .item-img-box {
    max-height: 270px;
}
.cat_type-inner.mySwiperType .cat_type-item .item-img-box img{
    width: 100%;
    height: 100%;
    max-height: 270px;
    object-fit: contain;
}


/* slider-podcat */

/* Подтипы */

@media (max-width:920px) {
    .cat_type-inner.mySwiperType .swiper-slide{
        height: 206px;
    }
    .cat_type-inner.mySwiperType .cat_type-item{
        justify-content: space-between;
        height: 100%;
    }
    .cat_type-inner .cat_type-item .cat-item-text {
        font-size: 18px;
    }
    .malfuctions_inner{
        gap: 12px;
    }
    .malfuctions_inner .card-info-repair-box {
        min-height: 176px;
        flex: 1 0 47%;
        max-width: 350px;
        padding: 10px;
    }
    .error_inner .error-item .error-text{
        font-size: 14px;
    }
    .cat_type-inner .cat_type-item {
        max-width: 46%;
        flex: 1 0 43%;
        padding: 10px 15px;
        gap: 15px;
    }
    .cat_type-inner .cat_type-item .item-img-box {
        max-height: 175px;
    }
    .malfuctions_inner .card-info-repair-box .price{
        font-size: 12px;
    }
    .malfuctions_inner .card-info-repair-box svg{
        max-width: 20px;
    }
    .malfuctions_inner .card-info-repair-box .time,.malfuctions_inner .card-info-repair-box .curs{
        gap: 5px;
    }
}