/* STYLES 17.08.2024
Developer: t.me/moretheme
Screen resolution: 460, 860, 1440, 1920 */
@font-face {
    font-family: AvertaCY;
    src: url(../fonts/AvertaCY-Regular.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: AvertaCY;
    src: url(../fonts/AvertaCY-Semibold.woff2) format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: AvertaCY;
    src: url(../fonts/AvertaCY-Bold.woff2) format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

/* BASIC */
:root {
    --bg: #f1f4f8;
    --bg2: #fff;
    --bg3: #092028;
    --engine: #fff;
    --engine2: #f2f5f7;
    --text: #000;
    --text1: #fff;
    --text2: #696974;
    --color1: #0d413b;
    --color2: #11564d;
    --light: rgb(255 255 255 / 15%);
    --light2: rgb(255 255 255 / 30%);
    --dark: rgb(0 0 0 / 10%);
    --radius: 20px;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: normal;
    font-family: "AvertaCY", sans-serif;
    font-size: 16px;
    font-weight: 400;
}

/* HEADER */
.header-top {
    position: relative;
    background: var(--bg3);
    color: #a7a7ac;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 20px;
}

.header-city {
    position: relative;
    margin-right: auto;
}

.header-city > a {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    padding: 10px 20px;
    border-radius: var(--radius);
    cursor: pointer;
}

.header-city > a span {
    border-bottom: 1px solid var(--light2);
}

.header-city > div {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    width: 200px;
    top: 100%;
    right: 0;
    background: var(--bg2);
    color: #000;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    border-radius: var(--radius);
    padding: 3px;
    transform: translateY(10px);
    transition: 0.3s;
    z-index: 8;
}

.header-city.active > div {
    visibility: visible;
    opacity: 1;
}

.header-city > div:before {
    content: "";
    position: absolute;
    top: -5px;
    right: 30px;
    width: 10px;
    height: 10px;
    background: #fff;
    transform: rotate(225deg);
}

.header-city > div a {
    display: block;
    padding: 10px 20px;
    border-radius: var(--radius);
    text-align: center;
}

.header-city > div a:hover {
    background: var(--bg);
}

.header-phone {
    display: flex;
    align-items: center;
    grid-gap: 10px;
}

.header-lang > a {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius);
}

.header-lang > a.active {
    background: var(--light);
}

header {
    position: relative;
    background: var(--bg2);
    border-bottom: 1px solid #eaeff2;
    color: #000;
    width: 100%;
    top: 0;
    left: 0;
}

header.fixed {
    position: fixed;
    box-shadow: 0px 10px 20px rgb(28 56 67 / 10%);
    z-index: 5;
}

@media (max-width: 860px) {
    header {
        padding: 10px 0;
    }
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 20px;
}

.header-logo, .header-logo img {
    position: relative;
    font-size: 28px;
    font-weight: bold;
}

.header-menu {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.header-menu > div {
    position: relative;
}

@media (max-width: 860px) {
    .header-menu > div {
        width: 100%;
    }
}

.header-menu > div > a, .header-menu > a {
    position: relative;
    display: flex;
    align-items: center;
    grid-gap: 10px;
    color: var(--color1);
    padding: 20px 10px;
    font-weight: 500;
}

@media (max-width: 860px) {
    .header-menu > div > a, .header-menu > a {
        color: #fff;
        width: 100%;
    }
}

.header-menu > div > a:hover, .header-menu > a:hover {
    color: var(--color2);
}

.header-menu .header-menu_full {
    display: grid;
    grid-gap: 20px;
    grid-auto-rows: max-content;
    grid-template-columns: 250px 1fr;
    width: max-content;
    padding: 0;
}

@media (max-width: 860px) {
    .header-menu .header-menu_full {
        grid-template-columns: 1fr;
        width: 100%;
    }
}

.header-menu_full > div {
    padding: 20px;
}

.header-menu_full > div:first-child {
    display: flex;
    flex-direction: column;
    grid-gap: 15px;
    border-right: 1px solid #eaeff2;
}

.header-menu_full > div:first-child a {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    background: var(--bg);
    padding: 8px 10px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
}

.header-menu_full > div a:hover {
    background: var(--color1);
    color: #fff;
}

.header-menu_kyzov {
    display: grid;
    grid-gap: 20px;
    grid-auto-rows: max-content;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 860px) {
    .header-menu_kyzov {
        grid-template-columns: 1fr;
    }
}

.header-menu_kyzov a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-gap: 10px;
    background: var(--bg);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 14px;
}

/* MOB MENU 15.05.24 */
.mobmenu-btn {
    display: none;
}

.mobmenu > div > a:after {
    content: "\f078";
    font-family: "Font Awesome 6 Pro";
    font-weight: 500;
    transition: 0.3s;
}

.mobmenu > div > div {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    grid-gap: 8px;
    background: var(--bg2);
    border: 1px solid #eaeff2;
    color: #000;
    box-shadow: 0px 10px 20px rgb(28 56 67 / 10%);
    padding: 20px;
    border-radius: var(--radius);
    transform: translateY(10px);
    transition: 0.3s;
    z-index: 6;
}

@media (min-width: 860px) {
    .mobmenu > div > a:hover:after {
        transform: rotate(180deg);
    }

    .mobmenu > div:hover > div {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@media (max-width: 860px) {
    .mobmenu-btn {
        display: block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        color: var(--color1);
        font-size: 25px;
        text-align: center;
    }

    .mobmenu-btn.active:before {
        content: "\f00d";
    }

    .mobmenu-btn.active {
        color: #fff;
        z-index: 9;
    }

    .mobmenu {
        position: fixed;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100%;
        background: var(--bg3);
        color: #fff;
        transition: left 0.3s;
        overflow: hidden;
        overflow-y: auto;
        z-index: 9;
    }

    .mobmenu.active {
        display: flex;
        left: 0;
        padding: 20px;
    }

    .mobmenu > div.active > a:after {
        transform: rotate(180deg);
    }

    .mobmenu > div.active > div {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobmenu > div > div a {
        display: block;
    }
}

/* HEADER SEARCH */
.header-search {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--dark);
    border-radius: var(--radius);
    margin-right: auto;
}

@media (max-width: 860px) {
    .header-search {
        visibility: hidden;
        opacity: 0;
        position: fixed;
        width: 100%;
        top: -40px;
        left: 0;
        background: var(--bg2);
        border-radius: 0;
        padding: 10px;
        transition: 0.3s;
        z-index: 5;
    }
}

.header-search.active {
    visibility: visible;
    opacity: 1;
    top: 0;
}

.header-search_btn, .header-search .fa-magnifying-glass, .header-search .fa-xmark {
    color: #8b9297;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.header-search_btn {
    display: none;
}

@media (max-width: 860px) {
    .header-search_btn {
        display: inline-block;
    }
}

.header-search input {
    background: none;
    padding: 0;
    box-shadow: none;
    border: none;
    width: 380px;
    height: inherit;
    border-radius: 0;
    margin-left: 15px;
}

.header-search input::placeholder {
    color: #8b9297;
}

.header-search .fa-xmark:not(.header-search.active .fa-xmark) {
    display: none;
}

.header-search_top {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    width: 445px;
    top: 110%;
    left: auto;
    background: var(--bg2);
    box-shadow: 0 10px 20px -2px rgb(0 0 0 / 40%);
    padding: 30px;
    border-radius: var(--radius);
    transition: 0.3s;
    z-index: 6;
}

@media (max-width: 860px) {
    .header-search_top {
        width: 100%;
        left: 0;
    }
}

.header-search_top.active {
    visibility: visible;
    opacity: 1;
}

.header-search_top > span {
    display: block;
    color: var(--text2);
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* HEADER USER */
.header-user {
    position: relative;
}

.header-user > a {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 10px;
    background: var(--bg3);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.header-user > a:hover {
    background: #122b33;
}

.header-user > div {
    position: absolute;
    width: 200px;
    top: 100%;
    right: 0;
    background: var(--bg2);
    color: #000;
    box-shadow: 0px 10px 20px rgb(28 56 67 / 10%);
    border-radius: var(--radius);
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
    z-index: 6;
}

.header-user > div:before {
    content: "";
    position: absolute;
    top: -5px;
    right: 30px;
    width: 10px;
    height: 10px;
    background: #fff;
    transform: rotate(225deg);
}

.header-user.active > div {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.header-user_info {
    border-bottom: 1px solid var(--bg);
    padding: 10px 20px;
    text-align: center;
}

.header-user_info > img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.header-user_info > span {
    display: block;
    margin: 8px 0;
    font-size: 16px;
    font-weight: bold;
}

.header-user_info > a {
    display: inline-block;
    color: var(--color1);
    font-weight: bold;
    font-size: 13px;
    border-bottom: 1px dotted var(--color1);
    margin: 5px;
}

.header-user_info > a i {
    margin-right: 5px;
}

.header-user_group {
    display: inline-block;
    background: var(--bg3);
    border-radius: var(--radius);
    color: #b9b3d3;
    padding: 4px 10px;
    font-size: 10px;
}

.header-user_group * {
    color: #b9b3d3!important;
}

.header-user_link {
    padding: 3px;
}

.header-user_link a {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    padding: 8px 20px;
    border-radius: var(--radius);
    color: #14192a;
    font-size: 14px;
}

.header-user_link a:last-child {
    color: #F44336;
}

.header-user_link a:hover {
    background: var(--bg2);
    color: var(--color1);
}

/* MODAL LOGIN 0.2 */
.modal-login > a {
    position: relative;
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 2.0;
    text-align: center;
    cursor: pointer;
}

.modal-login > a i {
    display: block;
    font-size: 25px;
}

@media (max-width: 860px) {
    .modal-login > a i {
        background: var(--bg2);
        border-radius: var(--radius);
        color: var(--text2);
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
        text-align: center;
    }
}

@media (max-width: 860px) {
    .modal-login > a span {
        display: none;
    }
}

.modal-login form {
    display: none;
    position: fixed;
    min-width: 500px;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    background: var(--bg);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    padding: 40px 80px;
    border-radius: var(--radius);
    text-align: center;
    z-index: 9;
}

@media (max-width: 860px) {
    .modal-login form {
        min-width: 100%;
        padding: 30px;
        border-radius: 0;
    }
}

.modal-login form > i {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg);
    border-radius: var(--radius);
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
}

.modal-login form > i:hover {
    background: var(--color1);
    color: #fff;
}

.modal-login .e-float > a {
    position: absolute;
    top: 20px;
    right: 15px;
    font-size: 14px;
    border-bottom: 1px dotted #20a8d8;
}

.modal-login_btn a {
    background: var(--bg3);
    margin-left: 20px;
}

.modal-login_btn a:hover {
    background: var(--bg3);
    opacity: 0.8;
}

.modal-login_soc span {
    display: block;
    color: #767389;
    margin: 20px 0;
}

.modal-login_soc .e-flex {
    align-items: center;
    justify-content: center;
}

.modal-login_soc .e-flex > a, .modal-login_soc .e-flex a > img {
    width: 40px;
    height: 40px;
    margin: 0 10px;
}

/* TOOLTIP */
[data-tooltip] {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -220%;
    right: 0;
    opacity: 0;
    visibility: hidden;
    width: max-content;
    background: black;
    padding: 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 10px;
    text-align: center;
    line-height: normal;
    transition: all 0.3s;
    z-index: 1;
}

[data-tooltip]:hover::before {
    content: " ";
    position: absolute;
    right: 6px;
    bottom: -6px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
}

[data-tooltip]:hover::after {
    visibility: visible;
    opacity: 1;
}

/* ALONG SECT */
.cars-sect_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

@media (max-width: 860px) {
    .cars-sect_title {
        flex-direction: column;
        align-items: flex-start;
        grid-gap: 15px;
    }
}

.cars-sect_title h1 {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    margin-bottom: 0;
}

.cars-sect_title h1 > i {
    display: inline-block;
    background: var(--bg3);
    color: #cf0;
    border-radius: 12px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 16px;
    text-align: center;
}

.cars-sect_title a {
    position: relative;
    display: flex;
    align-items: center;
    grid-gap: 10px;
    color: #fff;
    padding: 8px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    overflow: hidden;
}

.cars-sect_title a:after {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--bg3);
    border-radius: var(--radius);
    z-index: -2;
}

.cars-sect_title a:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--light);
    transition: 0.3s;
    border-radius: var(--radius);
    z-index: -1;
}

.cars-sect_title a:hover:before {
    width: 100%;
}

.cars-sect_items {
    position: relative;
    padding: 12px 20px 0;
    overflow: hidden;
}

@media (max-width: 860px) {
    .cars-sect_items {
        padding: 0;
        overflow: visible;
    }
}

.cars-sect_items > .fa-regular {
    position: absolute;
    display: inline-block;
    top: 45%;
    left: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #fff;
    border: 1px solid #eaeff2;
    border-radius: 50%;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    z-index: 5;
}

.cars-sect_items > .fa-regular:hover {
    background: var(--color2);
    color: #fff;
}

@media (max-width: 860px) {
    .cars-sect_items > .fa-regular {
        display: none;
    }
}

.cars-sect_items > .fa-regular + .fa-regular {
    left: unset;
    right: 0;
}

.cars-sect_items .swiper-button-disabled, .cars-story_items .swiper-button-disabled {
    display: none;
}

/* CAR NEW */
.cars-new {
    display: flex;
    grid-gap: 20px;
}

@media (max-width: 860px) {
    .cars-new {
        flex-direction: column;
    }
}

.cars-new .cars-sect_title {
    width: 250px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    justify-items: left;
    grid-gap: 20px;
    margin-bottom: 20px;
}

.cars-new_items {
    flex: 1 1 0;
}

.cars-new_item {
    position: relative;
    background: #003082;
    border-radius: 30px;
    color: #fff;
    padding: 20px;
    width: 100%;
    height: 260px;
    cursor: pointer;
    overflow: hidden;
}

.cars-new_item:hover img {
    transform: scale(1.05);
}

.cars-new_item > img:first-child {
    width: 70px;
    transition: 0.3s;
}

.cars-new_item > img:last-child {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    transition: 0.3s;
}

.cars-new_item > a {
    display: block;
    font-size: 25px;
    font-weight: bold;
    margin: 8px 0;
}

.cars-new_item > a:before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* CAR BAN */
.cars-bann_items {
    padding: 12px 20px 0;
}

@media (max-width: 860px) {
    .cars-bann_items {
        padding: 0;
    }
}

.cars-bann_item {
    position: relative;
    color: #fff;
    border-radius: var(--radius);
    height: 300px;
    overflow: hidden;
}

.cars-bann_content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px;
    width: 70%;
    height: 100%;
    z-index: 2;
}

@media (max-width: 860px) {
    .cars-bann_content {
        width: 100%;
    }
}

.cars-bann_content > a {
    position: relative;
    display: flex;
    align-items: center;
    grid-gap: 10px;
    background: var(--light);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
}

.cars-bann_item > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: 0.3s;
}

.cars-bann_item:hover img {
    filter: brightness(0.5);
}

/* CAR SHORT */
.cars-item {
    position: relative;
    background: var(--bg2);
    width: 100%;
    border-radius: var(--radius);
    transition: 0.3s;
    overflow: hidden;
}

.cars-item:hover {
    transform: scale(1.02);
}

.cars-item_bg {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
}

.cars-item_content {
        display: flex;
    flex-direction: column;
    width: 100%;
    height: 160px;
    padding: 5px 10px 20px 10px;
}

.cars-item_title {
    color: var(--color2);
    font-weight: 500;
}

.cars-item_title:before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.cars-item_price {
    font-size: 15px;
    font-weight: bold;
    margin: 10px 0;
}

.cars-item_short {
    color: #92929d;
    font-size: 14px;
    font-weight: 300;
}

.cars-item_meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 15px;
    border-top: 1px solid #eaeff2;
    margin: auto -20px -20px;
    padding: 12px 20px;
    color: #696974;
    font-size: 18px;
    font-weight: bold;
    z-index: 1;
}

.cars-item_meta > span {
    display: flex;
    align-items: center;
    grid-gap: 8px;
    font-size: 14px;
    margin-right: auto;
}

.cars-item_meta i.fa-solid.fa-heart {
    color: #F44336;
}

/* CARS FULL */
.cars-full {
    display: grid;
    grid-gap: 40px;
    grid-auto-rows: max-content;
    grid-template-columns: 1fr 350px;
}

@media (max-width: 860px) {
    .cars-full {
        grid-gap: 20px;
        grid-template-columns: 1fr;
    }
}

.cars-full_head {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    border-bottom: 1px solid #eaeff2;
    color: #696974;
    margin-top: -30px;
    padding: 20px 0;
    font-size: 14px;
}

.cars-full_head > span {
    display: flex;
    align-items: center;
    grid-gap: 10px;
}

.cars-full_head > a {
    display: inline-block;
    border: 1px solid #eaeff2;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.cars-screens {
    position: relative;
    display: grid;
    grid-gap: 20px 20px;
    grid-auto-rows: max-content;
    grid-template-columns: 80px 1fr;
    align-items: center;
    height: 500px;
    margin-bottom: 20px;
    overflow: hidden;
}

@media (max-width: 860px) {
    .cars-screens {
        height: inherit;
        grid-template-columns: 1fr;
    }
}

.cars-screens_big, .cars-screens_mini {
    position: relative;
    padding: 25px 0;
    width: 100%;
    height: inherit;
    overflow: hidden;
}

.cars-screens_big .swiper-slide {
    background: #fff;
    box-shadow: 0px 10px 20px rgb(28 56 67 / 6%);
    border-radius: var(--radius);
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.cars-screens img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.cars-screens_big img {
    object-fit: contain;
}

.cars-screens_mini > .fal {
    position: absolute;
    left: 40%;
    top: 0;
    font-size: 20px;
    z-index: 5;
    cursor: pointer;
}

@media (max-width: 860px) {
    .cars-screens_mini > .fal {
        display: none;
    }
}

.cars-screens_mini > .fa-chevron-down {
    top: unset;
    bottom: 0;
}

.cars-screens_mini .swiper-slide-thumb-active {
    filter: brightness(1)!important;
}

.cars-screens_mini .swiper-slide {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    filter: brightness(0.5);
}

.cars-full_text {
    background: var(--bg2);
    padding: 20px;
    box-shadow: 0px 10px 20px rgb(28 56 67 / 6%);
    border-radius: var(--radius);
}

.cars-full_buy {
    background: var(--bg2);
    padding: 20px;
    box-shadow: 0px 10px 20px rgb(28 56 67 / 6%);
    border-radius: var(--radius);
}

.label + span:not(.label) {
    display: block;
    color: #9da6a9;
    font-size: 12px;
    margin: 10px 0;
}

.cars-full_price {
    display: block;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.cars-full_name {
    display: flex;
    align-items: center;
    grid-gap: 20px;
    color: var(--color1);
    font-size: 13px;
    margin-bottom: 10px;
}

.cars-full_name > div span + span {
    display: block;
    margin-top: 3px;
}

.cars-full_rating {
    background: #fff3e9;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 14px;
}

.cars-full_rating > div {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.cars-full_rating > div span {
    color: #000;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.5;
    margin-left: 3px;
}

.cars-full_link > a:first-child {
    display: block;
    background: #36b555;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.cars-full_link > a:first-child:hover {
    background: #40cc62;
}

.cars-full_link > a:first-child span {
    display: block;
    opacity: 0.6;
    margin-top: 5px;
}

.cars-phone_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.cars-phone_title b {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.cars-phone_title > img {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    object-fit: cover;
    overflow: hidden;
}

.cars-phone_tel {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-gap: 10px;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin: 40px 0;
}

.cars-phone_warn {
    background: var(--bg);
    border-radius: var(--radius);
    text-align: left;
}

.cars-phone_warn li {
    display: grid;
    grid-gap: 20px;
    grid-auto-rows: max-content;
    grid-template-columns: 65px 1fr;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
}

.cars-phone_warn li + li {
    border-top: 1px solid #e1e3e6;
}

.cars-phone_warn li img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cars-phone_warn li div b {
    display: block;
    margin-bottom: 5px;
}

.cars-full_fag {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    color: var(--color1);
    font-size: 14px;
    font-weight: bold;
    text-decoration: underline dotted;
    margin-top: 20px;
}

.cars-full_detal {
    background: var(--bg2);
    padding: 20px;
    box-shadow: 0px 10px 20px rgb(28 56 67 / 6%);
    border-radius: var(--radius);
    margin-top: 20px;
}

.cars-full_detal > span {
    display: block;
    border-bottom: 1px solid #eaeff2;
    padding: 10px 20px;
    margin: -20px -20px 15px;
    color: #444748;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.cars-full_detal li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 20px;
    color: #666e70;
    margin-top: 10px;
}

.cars-full_detal li span {
    color: var(--color1);
}

/* LABEL */
.label {
    display: inline-block;
    padding: 5px 15px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.label-green {
    background: #eaeff2;
    color: var(--color1);
}

/* FOOTER */
footer {
    position: relative;
    background: var(--bg3);
    color: #fff;
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 20px;
    padding: 30px 0;
    font-size: 14px;
}

@media (max-width: 860px) {
    footer .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

.footer-soc {
    display: flex;
    align-items: center;
    grid-gap: 10px;
}

.footer-soc a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 10px;
    background: var(--light);
    font-size: 14px;
    color: #fff;
}

.footer-soc a:nth-child(1):hover {
    background: #23aaea;
}

.footer-soc a:nth-child(2):hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

.footer-soc a:nth-child(3):hover {
    background: #23aaea;
}

.footer-tel {
    margin-top: 20px;
    color: #b3b3b3;
}

.footer-tel > a:first-child {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-menu {
}

.footer-menu span {
    display: block;
    color: #b3b3b3;
    font-size: 16px;
    font-weight: bold;
}

.footer-menu a {
    display: block;
    margin-top: 10px;
}

.footer-menu a:hover {
    color: #27a393;
}

footer .footer-copy {
    font-size: 12px;
    color: #b3b3b3;
    border-top: 1px solid var(--light);
}

.footer-copy span {
    margin-right: auto;
}
/* ============================================================
   БЛОК СКАЧИВАНИЯ (под описанием) — в стиле шаблона
   ============================================================ */

.dl-block {
    margin-top: 20px;
    background: var(--bg2);
    border-radius: var(--radius);
    box-shadow: 0px 10px 20px rgb(28 56 67 / 6%);
    overflow: hidden;
}

/* ---------- Шапка "без вирусов" ---------- */
.dl-nobugs {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
}

.dl-nobugs-icon {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.dl-nobugs-img {
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
}

.dl-nobugs-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dl-nobugs-shield {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: -10px;
    border-radius: 50%;
    background: #4ccb70;
    color: #fff;
    border: 2px solid var(--bg2);
    box-shadow: 0 2px 6px rgba(76, 203, 112, .35);
}

.dl-nobugs-shield svg {
    display: block;
    width: 16px;
    height: 16px;
}

.dl-nobugs-text {
    align-self: center;
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
}

/* ---------- Контент ---------- */
.dl-cont {
    position: relative;
    padding: 0 20px 20px;
    border-top: 1px solid #eaeff2;
}

.dl-list {
    padding-top: 20px;
}

.dl-list-note {
    color: var(--text2);
    font-size: 14px;
    margin-bottom: 12px;
}

/* ---------- Ссылка скачивания ---------- */
.dl-line {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 10px 16px;
    border-radius: 14px;
    color: #fff !important;
    text-decoration: none;
    background: #36b555;
    background-image: linear-gradient(180deg, #4ccb70 0%, #36b555 100%);
    box-shadow: 0 6px 14px rgba(54, 181, 85, .25);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.dl-line:hover {
    background: #40cc62;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(54, 181, 85, .3);
}

.dl-line-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
    font-size: 15px;
}

.dl-line-title > span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dl-line-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    opacity: .9;
}

.dl-line-ico svg { display: block; }

.dl-line-size {
    flex: 0 0 auto;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .18);
    font-size: 13px;
    white-space: nowrap;
}

.dl-upper { text-transform: uppercase; }

/* ---------- Спойлер ---------- */
.dl-spoiler {
    margin-top: 16px;
}

.dl-spoiler-head {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    background: var(--bg);
    color: var(--color1);
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease;
}

.dl-spoiler-head:hover {
    background: #e6ebf1;
}

.dl-spoiler-plus {
    position: relative;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
}

.dl-spoiler-plus::before,
.dl-spoiler-plus::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: currentColor;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform .25s ease, opacity .25s ease;
}

.dl-spoiler-plus::before { width: 14px; height: 2px; }
.dl-spoiler-plus::after  { width: 2px; height: 14px; }

.dl-spoiler.is-open .dl-spoiler-plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.dl-spoiler-body {
    display: none;
    padding: 14px 4px 2px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
}

.dl-spoiler.is-open .dl-spoiler-body {
    display: block;
}

.dl-spoiler-body p { margin: 0 0 10px; }
.dl-spoiler-body p:last-child { margin-bottom: 0; }

/* ---------- Тёмная тема (если есть) ---------- */
html.darktheme .dl-block,
body.dark .dl-block {
    background: #122b33;
}
html.darktheme .dl-nobugs-shield,
body.dark .dl-nobugs-shield {
    border-color: #122b33;
}
html.darktheme .dl-cont,
body.dark .dl-cont {
    border-top-color: rgba(255,255,255,.08);
}
html.darktheme .dl-spoiler-head,
body.dark .dl-spoiler-head {
    background: #0d242b;
    color: #cf0;
}
html.darktheme .dl-spoiler-head:hover,
body.dark .dl-spoiler-head:hover {
    background: #14323b;
}

/* ---------- Мобильная адаптация ---------- */
@media (max-width: 470px) {
    .dl-nobugs { padding: 16px; gap: 10px; }
    .dl-cont   { padding: 0 16px 16px; }

    .dl-line {
        flex-wrap: wrap;
        padding: 12px;
    }
    .dl-line-title {
        flex: 1 1 100%;
        order: -1;
        white-space: normal;
    }
    .dl-line-title > span {
        white-space: normal;
        line-height: 1.35;
        overflow: visible;
    }
    .dl-line-size {
        margin-left: auto;
        font-size: 12px;
    }
}



/* ============================================================
   ЦЕНА + ИКОНКА 100×100
   ============================================================ */

.cars-full_pricebox {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.cars-full_icon {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
    border-radius: var(--radius);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cars-full_icon img,
.cars-full_icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cars-full_icon i {
    font-size: 40px;
    color: var(--color1);
}

.cars-full_pricetext {
    min-width: 0;
}

.cars-full_pricetext .cars-full_price {
    margin-bottom: 0;
}

@media (max-width: 470px) {
    .cars-full_pricebox { gap: 10px; }
    .cars-full_icon {
        flex: 0 0 100px;
        width: 100px;
        height: 100px;
    }
    .cars-full_icon i { font-size: 32px; }
}

/* ============================================================
   БЛОК ГАЛЕРЕИ — КАК ОПИСАНИЕ, НО С overflow: visible
   ============================================================ */
.cars-gallery_wrapper {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;          /* ВАЖНО: не hidden, чтобы Fotorama считала размеры */
    background: var(--bg2);
    padding: 20px;
    box-shadow: 0px 10px 20px rgb(28 56 67 / 6%);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.cars-gallery_wrapper .gallery-shown {
    display: block;
    width: 100%;
    border-radius: calc(var(--radius) - 6px);
    overflow: hidden;           /* скругляем саму сцену Fotorama */
}

/* На мобильных чуть уменьшаем padding */
@media (max-width: 470px) {
    .cars-gallery_wrapper {
        padding: 10px;
    }
}
.cars-full_center {
    min-width: 0;
}
* ============================================================
   СТРЕЛКИ FOTORAMA — БЕЗ СПРАЙТА, ЧЕРЕЗ ПСЕВДОЭЛЕМЕНТЫ
   ============================================================ */
/* ============================================================
   FOTORAMA — ОФОРМЛЕНИЕ СУЩЕСТВУЮЩИХ СТРЕЛОК (СПРАЙТ ОСТАЁТСЯ)
   ============================================================ */

/* --- Общее оформление кнопок --- */
.gallery-shown .fotorama__arr,
.gallery-shown .fotorama__fullscreen-icon {
    background-color: rgb(13 65 59 / 75%) !important;
    border-radius: 10px !important;
    width: 40px !important;
    height: 40px !important;
    transition: background-color 0.25s ease, transform 0.25s ease !important;
    opacity: 1 !important;
    /* background-image и background-position НЕ трогаем — спрайт остаётся */
}

.gallery-shown .fotorama__arr:hover,
.gallery-shown .fotorama__fullscreen-icon:hover {
    background-color: var(--color2) !important;
    transform: scale(1.05);
}

/* --- Позиции --- */
.gallery-shown .fotorama__arr--prev {
    left: 12px !important;
    top: 50% !important;
    margin-top: -20px !important;
}

.gallery-shown .fotorama__arr--next {
    right: 12px !important;
    top: 50% !important;
    margin-top: -20px !important;
}

.gallery-shown .fotorama__fullscreen-icon {
    top: 12px !important;
    right: 12px !important;
}

/* --- Мобильные --- */
@media (max-width: 860px) {
    .gallery-shown .fotorama__arr,
    .gallery-shown .fotorama__fullscreen-icon {
        width: 32px !important;
        height: 32px !important;
    }
    .gallery-shown .fotorama__arr--prev { left: 8px !important; margin-top: -16px !important; }
    .gallery-shown .fotorama__arr--next { right: 8px !important; margin-top: -16px !important; }
    .gallery-shown .fotorama__fullscreen-icon { top: 8px !important; right: 8px !important; }
}
/* ============================================================
   МИНИАТЮРЫ FOTORAMA
   ============================================================ */
.gallery-shown .fotorama__nav--thumbs {
    padding-top: 12px;
}

.gallery-shown .fotorama__nav__frame--thumb,
.gallery-shown .fotorama__thumb {
    border-radius: 8px;
    overflow: hidden;
}

.gallery-shown .fotorama__thumb-border {
    border-color: var(--color2);
    border-radius: 8px;
    border-width: 2px;
}

/* ============================================================
   МОБИЛЬНЫЙ ПОРЯДОК БЛОКОВ КАРТОЧКИ
   title → цена+иконка → характеристики → галерея → описание → скачать
   ============================================================ */
@media (max-width: 860px) {

  /* делаем родителя flex-колонкой */
  .cars-full {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* «растворяем» обёртки, чтобы их дети участвовали в порядке */
  .cars-full_center,
  .cars-full_right {
    display: contents;
  }

  /* убираем отрицательный отступ, который ломается во flex */
  .cars-full_head {
    margin-top: 0;
  }

  /* ---------- ЗАДАЁМ ПОРЯДОК ---------- */
  .cars-full_center > h1               { order: 1; }  /* заголовок */
  .cars-full_center > .cars-full_head  { order: 2; }  /* автор/дата/просмотры */

  .cars-full_pricebox                  { order: 3; }  /* иконка + цена */
  .cars-full_name                      { order: 4; }  /* рейтинг (можно убрать, если не нужен тут) */

  .cars-full_detal                     { order: 5; }  /* характеристики */

  .cars-gallery_wrapper                { order: 6; }  /* галерея */

  .cars-full_center > .cars-full_text  { order: 7; }  /* описание */

  .dl-block                            { order: 8; }  /* скачать */

  .cars-full_link                      { order: 9; }  /* кнопка «Информация о моде» (модалка) */
  .cars-full_fag                       { order: 10; } /* «Нужно обновить / Не работает» */
}

/* Обычный текст после плашки — только если это не плашка */
.label + span:not(.label) {
    display: block;
    color: #9da6a9;
    font-size: 12px;
    margin: 10px 0;
}

/* Общие свойства обеих плашек */
.label-update,
.label-new {
    display: inline-block;
    padding: 5px 15px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    line-height: 1.2;
    vertical-align: middle;
}

/* Обновление — красная */
.label-update {
    background: #f44336;
    background-image: linear-gradient(180deg, #ff5a4d 0%, #f44336 100%);
    box-shadow: 0 4px 10px rgba(244, 67, 54, .25);
}

/* Новинка — зелёная */
.label-new {
    background: #36b555;
    background-image: linear-gradient(180deg, #4ccb70 0%, #36b555 100%);
    box-shadow: 0 4px 10px rgba(54, 181, 85, .25);
}

/* Отступ между плашками в ряду */
.label-update + .label-new {
    margin-left: 6px;
}
@media (max-width: 860px) {
    .cars-item_meta .ver {
        font-size: 13px;
        line-height: 1.2;
    }

    .label-update,
    .label-new {
        font-size: 10px;
        padding: 4px 10px;
    }
    .cars-item_price {
    font-size: 13px; }
}
/* ============================================================
   МЕНЮ КАТЕГОРИЙ (categorymenu.tpl)
   ============================================================ */
.catalog-genres-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    grid-gap: 4px;
}

.catalog-genres-item {
    position: relative;
    list-style: none;
}

.catalog-genres-item > a {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    padding: 10px 16px;
    border-radius: var(--radius);
    color: var(--color1);
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.catalog-genres-item > a:hover {
    background: var(--bg);
    color: var(--color2);
}

/* Активный пункт */
.catalog-genres-item.active > a {
    background: var(--color1);
    color: #fff;
}

.catalog-genres-item.active > a:hover {
    background: var(--color2);
    color: #fff;
}

/* Название категории */
.catalog-genres-name {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Счётчик публикаций */
.catalog-genres-count {
    flex: 0 0 auto;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--bg);
    color: var(--text2);
    font-size: 12px;
    font-weight: 600;
}

.catalog-genres-item.active .catalog-genres-count {
    background: var(--light);
    color: #fff;
}

/* Иконка категории */
.catalog-genres-item > a img {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 4px;
}

/* Вложенные подкатегории */
.catalog-genres-item .catalog-genres-list {
    margin: 4px 0 4px 16px;
    padding-left: 10px;
    border-left: 1px solid #eaeff2;
    grid-gap: 2px;
}

.catalog-genres-item .catalog-genres-list .catalog-genres-item > a {
    padding: 7px 12px;
    font-size: 14px;
    font-weight: 400;
}

/* Стрелка «есть подкатегории» */
.catalog-genres-item.has-children > a::after {
    content: "\f078";
    font-family: "Font Awesome 6 Pro";
    font-weight: 500;
    font-size: 11px;
    margin-left: auto;
    opacity: 0.5;
}

/* Мобильная адаптация */
@media (max-width: 860px) {
    .catalog-genres-item > a {
        padding: 9px 14px;
        font-size: 14px;
    }
    .catalog-genres-item .catalog-genres-list {
        margin-left: 10px;
    }
}
/* ============================================================
   МЕНЮ КАТЕГОРИЙ — овальная плашка + кнопки в строку
   ============================================================ */
.categorymenu-box {
    position: relative;
    background: var(--bg2);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    z-index: 2;
}

@media (max-width: 860px) {
    .categorymenu-box { padding: 14px; margin-bottom: 15px; }
}

/* Список — СТРОКА с переносом */
.categorymenu-box .catalog-genres-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* Вложенные подкатегории не создают отдельный столбик */
.categorymenu-box .catalog-genres-item .catalog-genres-list {
    display: contents;
}

.categorymenu-box .catalog-genres-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Кнопка категории — овальная */
.categorymenu-box .catalog-genres-item > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px 9px 20px;
    border-radius: 999px;
    border: 1px solid #e1e6ea;
    background: var(--bg);
    color: var(--color1);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}

.categorymenu-box .catalog-genres-item > a:hover {
    background: var(--color1);
    border-color: var(--color1);
    color: #fff;
    transform: translateY(-1px);
}

.categorymenu-box .catalog-genres-item.active > a {
    background: var(--color1);
    border-color: var(--color1);
    color: #fff;
}

.categorymenu-box .catalog-genres-item.active > a:hover {
    background: var(--color2);
    border-color: var(--color2);
}

/* Название */
.categorymenu-box .catalog-genres-name {
    display: inline-block;
}

/* Счётчик внутри кнопки */
.categorymenu-box .catalog-genres-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--bg2);
    color: var(--color1);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.categorymenu-box .catalog-genres-item > a:hover .catalog-genres-count,
.categorymenu-box .catalog-genres-item.active > a .catalog-genres-count {
    background: var(--light);
    color: #fff;
}

/* Скрытые пункты (свыше 10) */
.categorymenu-box .catalog-genres-item.catmenu-hidden {
    display: none;
}

/* ============================================================
   Кнопка «Показать ещё / Свернуть»
   ============================================================ */
.categorymenu-box .catalog-genres-more {
  display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    margin: 18px auto 0;
    padding: 10px 24px;
    border-radius: 999px;
    border: 1px solid var(--color1);
    background: var(--bg2);
    color: var(--color1);
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.categorymenu-box .catalog-genres-more:hover {
    background: var(--color1);
    color: #fff;
}

/* Стрелка ровно по центру текста */
.categorymenu-box .catalog-genres-more::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transform-origin: center;
    transition: transform .25s ease;
    /* оптический сдвиг: уголок визуально выше центра */
    margin-top: -3px;
    flex: 0 0 auto;
}

.categorymenu-box .catalog-genres-more.is-open::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

/* ============================================================
   Мобильная адаптация
   ============================================================ */
@media (max-width: 860px) {
    .categorymenu-box .catalog-genres-list { gap: 8px; }
    .categorymenu-box .catalog-genres-item > a {
        padding: 8px 14px 8px 16px;
        font-size: 13px;
    }
    .categorymenu-box .catalog-genres-count {
        min-width: 20px;
        height: 20px;
        font-size: 11px;
    }
    .categorymenu-box .catalog-genres-more {
        padding: 9px 20px;
        font-size: 13px;
    }
}
/* ============================================================
   ПЛАШКИ-ПОЛОСКИ ПОД ФОТО (новинка/обновление + мод)
   ============================================================ */

/* Убираем «строчный» зазор под картинкой */
.cars-item_bg {
    line-height: 0;
    font-size: 0;
    display: block;
}

.cars-item_bg img,
.cars-item_bg .poster {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
}

/* Контейнер плашек — вплотную к фото, без отступов */
.cars-item_badges {
    display: flex;
    width: 100%;
    align-items: stretch;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.cars-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 22px;
}

.cars-badge-new {
    flex: 0 0 auto;
    background: #36b555;
    background-image: linear-gradient(180deg, #4ccb70 0%, #36b555 100%);
}

.cars-badge-update {
    flex: 0 0 auto;
    background: #ff9800;
    background-image: linear-gradient(180deg, #ffb133 0%, #ff9800 100%);
}

.cars-badge-mod {
    flex: 1 1 auto;
    min-width: 0;
    background: #f44336;
    background-image: linear-gradient(180deg, #ff5a4d 0%, #f44336 100%);
}

@media (max-width: 860px) {
    .cars-badge {
        padding: 6px 10px;
        font-size: 11px;
        min-height: 25px;
    }
}
/* ============================================================
   КНОПКА «СКАЧАТЬ APK» + ПЛАВНЫЙ СКРОЛЛ К БЛОКУ
   ============================================================ */

/* Плавная прокрутка страницы при клике на якорь */
html {
    scroll-behavior: smooth;
}

/* Отступ сверху, чтобы блок не прилипал к краю экрана */
#download {
    scroll-margin-top: 20px;
}

/* Кнопка «Скачать APK» (вместо «Информация о моде») */
.cars-full_download {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: #36b555;
    background-image: linear-gradient(180deg, #4ccb70 0%, #36b555 100%);
    color: #fff !important;
    padding: 14px 20px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(54, 181, 85, .25);
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}

.cars-full_download:hover {
    background: #40cc62;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(54, 181, 85, .3);
}

.cars-full_download > i {
    font-size: 18px;
}

.cars-full_download > span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    opacity: .9;
}

@media (max-width: 860px) {
    .cars-full_download {
        padding: 12px 16px;
        font-size: 15px;
    }
    .cars-full_download > span {
        font-size: 10px;
    }
}
/* ============================================================
   СКРЫТИЕ ДЛИННОГО ОПИСАНИЯ (SEO-безопасно)
   ============================================================ */

/* Контейнер описания */
.dle-text--collapsible {
    position: relative;
    max-height: 420px;              /* видимая высота до обрезки */
    overflow: hidden;
    transition: max-height .35s ease;
}

/* Когда блок открыт — снимаем ограничение */
.dle-text--collapsible.is-open {
    max-height: none;
}

/* Градиентная «шторка» снизу, чтобы обрезка выглядела аккуратно */
.dle-desc-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--bg2) 100%);
    opacity: 1;
    transition: opacity .25s ease;
    z-index: 2;
}

/* Скрываем шторку, когда блок открыт */
.dle-text--collapsible.is-open ~ .dle-desc-fade {
    opacity: 0;
}

/* Кнопка «Показать ещё / Свернуть» */
.dle-desc-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    margin: 16px auto 0;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid var(--color1);
    background: var(--bg2);
    color: var(--color1);
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
    position: relative;
    z-index: 3;
}

.dle-desc-toggle:hover {
    background: var(--color1);
    color: #fff;
}

/* Стрелка на кнопке */
.dle-desc-toggle::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transform-origin: center;
    margin-top: -3px;
    flex: 0 0 auto;
    transition: transform .25s ease, margin-top .25s ease;
}

.dle-desc-toggle.is-open::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

/* Мобильная адаптация */
@media (max-width: 860px) {
    .dle-text--collapsible {
        max-height: 340px;
    }
    .dle-desc-fade {
        height: 70px;
    }
    .dle-desc-toggle {
        padding: 9px 18px;
        font-size: 13px;
    }
}

/* Учитываем тёмную тему, если она есть */
html.darktheme .dle-desc-fade,
body.dark .dle-desc-fade {
    background: linear-gradient(180deg, rgba(18,43,51,0) 0%, #122b33 100%);
}

/* ============================================================
   ЛОГОТИП С ВРАЩАЮЩЕЙСЯ ИКОНКОЙ
   ============================================================ */

/* Настраиваем контейнер логотипа (выравниваем иконку и текст) */
.header-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

/* Стили для самой иконки */
.logo-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
   
    background: #fff;   /* Если фон картинки не прозрачный, это спасет ситуацию */
    padding: 1px;       /* Небольшой отступ внутри */
    
    /* Сама анимация */
    animation: logoSpin 6s linear infinite;
    transition: animation-play-state 0.3s ease;
}

/* Пауза при наведении на логотип (чтобы можно было прочитать текст) */
.header-logo:hover .logo-icon {
    animation-play-state: paused;
}

/* Ключевые кадры для вращения */
@keyframes logoSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Мобильная адаптация (чуть меньше размер) */
@media (max-width: 860px) {
    .logo-icon {
        width: 30px;
        height: 30px;
    }
}