* {
    margin: 0;
    padding: 0;
}

body {
    background-image: url("media/category_images/fon5 27kb.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.h-info {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: rgba(32, 43, 53, 0);
    height: auto;
    font-size: 1vw;
}

@media (min-width: 100px) and (max-width: 600px) {
    .h-info {
        font-size: 1.7vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .h-info {
        font-size: 1.7vw;
    }
}

.h-header-info {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: rgba(29, 29, 29, 0.206);
    height: 3vw;
    font-size: 1.3vw;
}

.h-header_info1 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: rgba(29, 29, 29, 0.206);
    width: 100%;
    height: 2vw;
    font-size: 1.3vw;
}

@media (min-width: 100px) and (max-width: 600px) {
    .h-header_info1 {
        height: 4vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .h-header_info1 {
        height: 4vw;
    }
}


/* --------------------------------Banner----------------------------------- */

.banner {
    display: flex;
    flex-direction: row;
    background-color: rgba(255, 0, 132, 0);
    width: 100%;
    height: 26vw;
    align-items: center;
    justify-content: center;
    margin-top: 1%;
}

@media (min-width: 100px) and (max-width: 600px) {
    .banner {
        height: 30vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .banner {
        height: 30vw;
    }
}

.banner div {
    display: flex;
    width: 100%;
    height: 26vw;
    border-radius: 30px;
}

@media (min-width: 100px) and (max-width: 600px) {
    .banner div {
        border-radius: 10px;
        height: 29vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .banner div {
        border-radius: 20px;
        height: 29vw;
    }
}

.banner_first:hover {
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

.banner_second:hover {
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

.clickable-link {
    display: block;
    width: 100%;
    margin: 1%;
}

.img_banner {
    display: flex;
    width: 100%;
    border-radius: 30px;
    object-fit: cover;
    object-position: top;
    border: 1.5px solid white;
}

@media (min-width: 100px) and (max-width: 600px) {
    .img_banner {
        border-radius: 10px;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .img_banner {
        border-radius: 20px;
    }
}

.banner_p {
    display: flex;
    position: absolute;
    margin: 10px 0 0;
    text-shadow: -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0), -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0);
    font-size: 2vw;
    padding-left: 2vw;
    padding-top: 20.5vw;
}

@media (min-width: 100px) and (max-width: 600px) {
    .banner_p {
        font-size: 2.5vw;
        padding-top: 19.5vw;
        width: 44%;
        text-shadow: -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0), -1px -3px 10px #000000, 3px 0px 5px rgb(0, 0, 0), 1px 3px 5px rgb(0, 0, 0);
    }
}

@media (min-width: 601px) and (max-width: 800px) {
    .banner_p {
        font-size: 2.5vw;
        padding-top: 19.5vw;
        width: 44%;
        text-shadow: -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0), -1px -3px 10px #000000, 3px 0px 5px rgb(0, 0, 0), 1px 3px 5px rgb(0, 0, 0);
    }
}

@media (min-width: 801px) and (max-width: 900px) {
    .banner_p {
        font-size: 2.5vw;
        padding-top: 21vw;
        width: 44%;
        text-shadow: -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0), -1px -3px 10px #000000, 3px 0px 5px rgb(0, 0, 0), 1px 3px 5px rgb(0, 0, 0);
    }
}

.banner_info {
    display: flex;
    position: absolute;
    margin: 10px 0 0;
    font-size: 1.7vw;
    padding-left: 2vw;
    /* padding-top: 18vw; */
    width: 44vw;
    color: black;
    text-align: center;
}

@media (min-width: 100px) and (max-width: 900px) {
    .banner_info {
        font-size: 1.8vw;
        margin: 0;
        padding-top: 1vw;
    }
}


/* ----------------------------------------------End Banner--------------------------------------------- */


/* ----------------------------------------------Body--------------------------------------------- */


/* -------Body Left block-------- */

.body {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    background-color: rgba(29, 29, 29, 0);
    width: 98%;
    height: auto;
}

.body_div_first {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 82%;
    height: auto;
    color: #ffffff;
}

@media (min-width: 100px) and (max-width: 600px) {
    .body_div_first {
        width: 68%;
    }
}

@media (min-width: 601px) and (max-width: 1000px) {
    .body_div_first {
        width: 68%;
        margin-left: 1%;
        margin-right: 1%;
    }
}

.body_div_filters {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    width: 12%;
    height: auto;
    color: #ffffff;
    padding-left: 1%;
    margin-bottom: 2%;
    font-size: 3vw;
}

.form_filters {
    display: flex;
    flex-direction: column;
    font-size: 3vw;
    width: 100%;
}

.form_filters select {
    display: flex;
    flex-direction: column;
    font-size: 1vw;
    background-color: rgba(29, 29, 29, 0);
    color: white;
    border: none;
    margin-bottom: 15%;
}

@media (min-width: 100px) and (max-width: 600px) {
    .form_filters select {
        font-size: 2.5vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .form_filters select {
        font-size: 1.5vw;
    }
}

.form_filters button {
    font-size: 1vw;
    margin: 10%;
    font-size: 0.4em;
}

.body_div_first div {
    display: flex;
    justify-content: space-around;
    border-radius: 20px;
    width: 100%;
}

.clickable_link_body_first {
    width: 10%;
}

.first_card {
    flex-direction: row;
    flex-wrap: wrap;
}

.card {
    flex-direction: column;
    overflow: hidden;
    background-color: white;
    position: relative;
    margin: 1%;
    padding: 1%;
    align-items: center;
    text-align: center;
}

.approved-badge {
    display: flex;
}

.img_body_first {
    width: 100%;
    height: 19vw;
    object-fit: cover;
    border-radius: 20px;
}

@media (min-width: 100px) and (max-width: 600px) {
    .img_body_first {
        height: 33vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .img_body_first {
        height: 21vw;
    }
}

.category_text_body_first {
    position: relative;
    margin: 10px 0 0;
}

.ads_input_p_price1 {
    display: flex;
    color: #000000;
    flex-direction: row;
    font-size: 1.2vw;
    justify-content: center;
    height: 1.5vw;
    height: 2vw;
}

.ads_input_p_price2 {
    display: block;
    color: #000000;
    flex-direction: row;
    font-size: 1.2vw;
    justify-content: center;
    height: 1.5vw;
    height: 2vw;
}

.ads_input_p_price3 {
    display: flex;
    color: #000000;
    flex-direction: row;
    font-size: 1.2vw;
    justify-content: center;
    height: 1.5vw;
    height: 2vw;
}

@media (min-width: 100px) and (max-width: 600px) {
    .ads_input_p_price {
        font-size: 3.5vw;
        min-height: 5vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .ads_input_p_price {
        font-size: 1.5vw;
        min-height: 2vw;
    }
}

.ads_input_p {
    display: flex;
    color: #000000;
    flex-direction: row;
    font-size: 1.2vw;
    justify-content: center;
    height: 1.6vw;
}

@media (min-width: 100px) and (max-width: 600px) {
    .ads_input_p {
        font-size: 3.5vw;
        min-height: 4vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .ads_input_p {
        font-size: 1.5vw;
        min-height: 2vw;
    }
}

.ads_input_p_desc {
    display: flex;
    color: #000000;
    font-size: 1em;
    flex-direction: column;
}

.ads_input_p_desc p {
    text-align: justify
}

.ads_input {
    display: flex;
    flex-direction: column;
}

.ads_img {
    display: flex;
}

.desc_h1 {
    display: flex;
    color: #000000;
    padding-top: 1%;
    justify-content: center;
}

.desc_h1 h1 {
    display: flex;
    color: #ffffff;
    font-size: 2vw;
}

.card_price {
    display: flex;
    color: #000000;
}

.card_name {
    display: flex;
    color: #000000;
    flex-direction: column;
}

.card_name p {
    display: flex;
    color: #376289;
    flex-direction: row;
    justify-content: center;
    margin: 0;
    font-size: 1.5vw;
    padding: 1%;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 3;     /* количество строк */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 100px) and (max-width: 600px) {
    .card_name p {
        font-size: 3.7vw;
    }
}

@media (min-width: 601px) and (max-width: 800px) {
    .card_name p {
        font-size: 2vw;
    }
}

@media (min-width: 801px) and (max-width: 900px) {
    .card_name p {
        font-size: 2vw;
    }
}

.ads_input_p_name {
    display: flex;
    color: #000000;
    flex-direction: row;
    font-size: 1.2vw;
    justify-content: center;
    height: 5vw;
}

@media (min-width: 100px) and (max-width: 500px) {
    .ads_input_p_name {
        font-size: 3.5vw;
        height: 13vw;
    }
    .ads_input_p_price1 {
        height: 4vw;
    }

    .ads_input_p_price2 {
        height: 4vw;
    }

    .ads_input_p_price3 {
        height: 4vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .ads_input_p_name {
        font-size: 3.5vw;
        height: 13vw;
    }

    .ads_input_p_price1 {
        height: 4vw;
    }

    .ads_input_p_price2 {
        height: 4vw;
    }

    .ads_input_p_price3 {
        height: 4vw;
    }

    .body_div_first div {
        justify-self: center;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .ads_input_p_name {
        font-size: 1.5vw;
        height: 7vw;
    }

    .ads_input_p_price1 {
        height: 2vw;
    }

    .ads_input_p_price2 {
        height: 2vw;
    }

    .ads_input_p_price3 {
        height: 2vw;
    }
}

.card_desc {
    display: flex;
    color: #000000;
    flex-direction: column;
}

.card_desc p {
    display: flex;
    color: #000000;
    flex-direction: column;
    margin: 0;
    padding: 1%;
    font-size: 1vw;
}

.clickable-card {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 23%;
    margin-bottom: 3%;
    justify-content: center;
    text-align: center;
    justify-items: center;
}

@media (min-width: 100px) and (max-width: 700px) {
    .clickable-card {
        width: 95%;
    }
}

@media (min-width: 701px) and (max-width: 900px) {
    .clickable-card {
        width: 23%;
    }
}

.div_button {
    display: flex;
    justify-content: center;
}

.name_p {
    font-size: 1.2vw;
}

.name_a {
    display: flex;
    color: rgb(255 255 255);
    line-height: 1.4em;
    text-decoration: none;
    background-color: rgb(11 99 246);
    border-radius: 10px;
    padding-top: 1.5%;
    padding-left: 5%;
    padding-right: 5%;
    box-shadow: 0 5px 15px 0 rgba(11, 99, 246, 1);
    transition: 0.5s;
    margin-left: 1em;
    margin-right: 1em;
    width: 15vw;
    justify-content: center;
}

.name_a:hover {
    transform: translate(0, -3px);
    box-shadow: 0 20px 40px 0 rgba(11, 99, 246, 1);
}

@media (min-width: 100px) and (max-width: 600px) {
    .name_a {
        font-size: 2.6vw;
        height: auto;
        flex-wrap: nowrap;
        padding-left: 0.5em;
        padding-right: 0.5em;
        margin-right: 0em;
        width: auto;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .name_a {
        font-size: 2.4vw;
        height: auto;
        flex-wrap: nowrap;
        padding-left: 0.5em;
        padding-right: 0.5em;
        margin-right: 0em;
        width: auto;
    }
}


/* -END------Body Left block-------- */


/* -------Body Right block-------- */


/* + Обновить .body и .body_div_first в другом файле */

.body_div_second {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    flex-wrap: wrap;
    width: 17%;
    /* margin-top: 2%; */
    /* margin-bottom: 5%; */
    margin-right: 1.5%;
    margin-left: 1%;
}

@media (min-width: 100px) and (max-width: 600px) {
    .body_div_second {
        width: 15%;
        margin-left: 0.5%;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body_div_second {
        width: 15%;
        margin-right: 2%;
    }
}

.body_div_second div {
    display: flex;
    justify-content: center;
    background-color: #0000008c;
    width: 100%;
    height: 20vw;
    border-radius: 10px;
    border: 0.3em solid white;
    margin-bottom: 15%;
}

@media (min-width: 100px) and (max-width: 600px) {
    .body_div_second div {
        height: 20vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body_div_second div {
        height: 19vw;
    }
}

.body .body_div_second p {
    color: #ffffff;
    padding: 106% 0% 0% 0%;
    font-size: 1.7vw;
    position: relative;
    z-index: 7;
}

@media (min-width: 100px) and (max-width: 500px) {
    .body .body_div_second p {
        font-size: 2vw;
        padding-top: 10.5vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .body .body_div_second p {
        font-size: 2vw;
        padding-top: 11vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body .body_div_second p {
        font-size: 2.2vw;
        padding-top: 12vw;
    }
}

.right_category-link {
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.right_category-item {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.right_div1 {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.right_category-text {
    position: relative;
    margin: 10px 0 0;
    /* text-shadow: -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0), -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0); */
}

.body_div_second div .other_p {
    display: flex;
    height: 9vw;
    margin-top: 14vw;
    z-index: 5;
    position: absolute;
}

@media (min-width: 100px) and (max-width: 500px) {
    .body_div_second div .other_p {
        height: 7vw;
        margin-top: 11vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .body_div_second div .other_p {
        height: 7vw;
        margin-top: 11vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body_div_second div .other_p {
        height: 7vw;
        margin-top: 11vw;
    }
}


/* ----------------------------------------------End Body--------------------------------------------- */


/* --------------------------------------Pagination-------------------------------------------------------------- */

.header_plus {
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
    margin-top: 2em;
}

@media (min-width: 100px) and (max-width: 600px) {
    .header_plus {
        margin-top: 1em;
        margin-right: 2vw;
        margin-bottom: 2vw;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2vw;
    margin-bottom: 5vw;
    width: 100%;
    margin-left: 0vw;
}

.pagination a {
    margin: 0 5px;
    padding: 5px 10px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}

.pagination a:hover {
    background-color: #e0e0e0;
}

.pagination .current {
    margin: 0 5px;
    padding: 7px 18px;
    background-color: #ddd;
    color: #000;
    font-weight: bold;
    font-size: 1vw;
}

.step-links {
    font-size: 1vw;
    padding: 0;
}

@media (min-width: 100px) and (max-width: 600px) {
    .pagination {
        display: flex;
        justify-content: center;
        margin-top: 8vw;
        margin-bottom: 10vw;
        width: 100%;
        margin-left: 0vw;
    }
}

@media (min-width: 100px) and (max-width: 600px) {
    .pagination a {
        margin: 0 5px;
        padding: 5px 10px;
        background-color: #f5f5f5;
        border: 1px solid #ddd;
        text-decoration: none;
        color: #333;
        padding: 1vw;
    }
}

@media (min-width: 100px) and (max-width: 600px) {
    .pagination .current {
        margin: 0 5px;
        padding: 5px 10px;
        background-color: #ddd;
        color: #000;
        font-weight: bold;
        font-size: 1.8vw;
    }
}

@media (min-width: 100px) and (max-width: 600px) {
    .step-links {
        font-size: 1.8vw;
        padding: 0;
    }
}


/* --------------------------------------End Pagination-------------------------------------------------------------- */

.language-selector {
    display: inline-block;
    align-content: center;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #00ff0a00;
    color: white;
    padding: 3px;
    font-size: 1.2vw;
    border: 1.5px solid white;
    cursor: pointer;
    width: 12vw;
}

.dropbtn:hover {
    background-color: #00ff0a00;
    color: white;
}

@media (min-width: 100px) and (max-width: 500px) {
    .dropbtn {
        font-size: 1.5vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .dropbtn {
        font-size: 1.5vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .dropbtn {
        font-size: 1.5vw;
    }
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(29, 29, 29, 0.638);
    min-width: 247px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0%;
    justify-items: center;
}

@media (min-width: 100px) and (max-width: 500px) {
    .dropdown-content {
        min-width: 152px;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .dropdown-content {
        min-width: 201px;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .dropdown-content {
        min-width: 288px;
    }
}

.dropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    color: white;
    border-bottom: 1px solid #ddd;
    border-radius: 5px;
}

.dropdown-content a:hover {
    background-color: rgba(29, 29, 29, 0);
    transform: scale(1.2);
    transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* Изменение цвета кнопки при наведении на dropdown */

.dropdown:hover .dropbtn {
    background-color: rgba(29, 29, 29, 0);
}

option {
    background-color: rgba(29, 29, 29, 0);
    color: black;
}


/* Контейнер объявлений */
.ads-container {
    display: flex;
    width: 100%;
    flex-flow: column;
    margin-left: 1%;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 0;
}

/* Карточка объявления */
.ad-card {
    display: block;
    background: #ffffff;
    border-radius: 20px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.ad-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 0 rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Изображение */
.ad-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.ad-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ad-card:hover .ad-card__img {
    transform: scale(1.05);
}

.ad-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #cbd5e1;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

/* Бэйджи */
.ad-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.ad-badge--new {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.ad-badge--urgent {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Кнопка избранного */
.ad-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: #64748b;
}

.ad-favorite:hover {
    background: white;
    color: #ef4444;
    transform: scale(1.1);
}

.ad-favorite.active {
    color: #ef4444;
    fill: currentColor;
}

/* Контент карточки */
.ad-card__content {
    padding: 20px;
}

/* Цены */
.ad-prices {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    justify-content: center;
}

.price--primary .price__amount {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    background: linear-gradient(135deg, #1f2937, #374151);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price--secondary .price__amount {
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
}

.price__currency {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 500;
}

/* Заголовок */
.ad-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 16px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3vw;
    text-align: center;
}

/* Характеристики */
.ad-features {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    justify-content: center;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6b7280;
}

.feature svg {
    flex-shrink: 0;
    color: #9ca3af;
}

/* Мета-информация */
.ad-meta {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.ad-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #9ca3af;
}

.ad-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars svg {
    color: #fbbf24;
}

.rating-value {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

/* Состояние пустого списка */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 20px;
    border: 2px dashed #cbd5e1;
}

.empty-state__icon {
    color: #cbd5e1;
    margin-bottom: 20px;
}

.empty-state__title {
    font-size: 24px;
    font-weight: 600;
    color: #6b7280;
    margin: 0 0 12px 0;
}

.empty-state__description {
    font-size: 16px;
    color: #9ca3af;
    margin: 0 0 24px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state__action {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.empty-state__action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .ads-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ad-card__content {
        padding: 10px;
    }

    .ad-prices {
        gap: 8px;
    }

    .price--primary .price__amount {
        font-size: 20px;
    }

    .ad-title {
        font-size: 16px;
        height: 12vw;
    }

    .empty-state {
        padding: 40px 16px;
    }

    .empty-state__title {
        font-size: 20px;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ad-card {
    animation: fadeInUp 0.6s ease;
}

.ad-card:nth-child(2) { animation-delay: 0.1s; }
.ad-card:nth-child(3) { animation-delay: 0.2s; }
.ad-card:nth-child(4) { animation-delay: 0.3s; }



/* Навигация страницы */
.page-navigation {
    margin: 1vw;
}


/* Секция фильтров */
.filters-section {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Хлебные крошки */
.breadcrumb-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding-left: 1vw;
    padding-right: 1vw;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 6px 8px;
    border-radius: 8px;
}

.breadcrumb__item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
}

.breadcrumb__item--current {
    color: #6b7280;
    font-weight: 600;
}

.breadcrumb__separator {
    color: #cbd5e1;
    font-weight: 300;
}

/* Кнопки действий */
.action-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn--primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn--primary:hover {
    transform: translateY(0px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn--secondary {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.btn--secondary:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

/* Секция фильтров */
.filters-section {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.filters-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-right: 66vw;
}

.filters-toggle {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.3s ease;
}

.filters-toggle:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.filters-toggle.active {
    transform: rotate(180deg);
}

/* Форма фильтров */
.filters-form {
    padding-left: 1vw;
    padding-right: 1vw;
    padding-top: 0.5vw;
    padding-bottom: 0.5vw;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 0.5vw;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.filter-label svg {
    color: #6366f1;
}

/* Стилизованные селекты */
.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-select {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.select-arrow {
    position: absolute;
    right: 12px;
    pointer-events: none;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.filter-select:focus + .select-arrow {
    transform: rotate(180deg);
    color: #6366f1;
}

/* Кнопки фильтров */
.filters-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 10px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.btn--apply {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn--apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn--reset {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.btn--reset:hover {
    background: rgba(100, 116, 139, 0.2);
    transform: translateY(-1px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .breadcrumb-nav {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        justify-self: center;
        align-items: center;
    }

    .filters-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .filters-form {
        padding: 5px 16px;
    }

    .filters-header {
        padding: 16px 20px;
    }

    .filters-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        flex-wrap: wrap;
    }

    .filters-title {
        font-size: 16px;
    }
}

/* Анимации */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filters-form {
    animation: slideDown 0.4s ease;
}

/* Мобильный заголовок фильтров */
.mobile-filters-header {
    display: none;
    margin-bottom: 10px;
}

.mobile-filters-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.mobile-filters-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.mobile-filters-toggle .toggle-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.mobile-filters-toggle.active .toggle-arrow {
    transform: rotate(180deg);
}

/* Контент фильтров */
.filters-content {
    transition: all 0.3s ease;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .mobile-filters-header {
        display: block;
    }

    .filters-content {
        display: none;
        padding: 20px;
        background: white;
        border-radius: 0 0 12px 12px;
        border: 1px solid #e2e8f0;
        border-top: none;
        margin-top: -4px;
    }

    .filters-content.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .filters-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 20px;
    }

    .filters-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Для десктопной версии оставляем как есть */
@media (min-width: 769px) {
    .filters-content {
        display: block !important;
    }

    .mobile-filters-header {
        display: none;
    }
}

/* Анимация появления */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для фильтров (добавьте если их нет) */
.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-select {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #6366f6;
}

.select-arrow {
    position: absolute;
    right: 12px;
    pointer-events: none;
    color: #6b7280;
}

.filters-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--apply {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn--reset {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

@media (min-width: 100px) and (max-width: 500px) {
    .dropdown-content a {
        font-size: 4vw;
    }

    .ads-container {
        display: flex;
        width: 79%;
        flex-flow: column;
        margin-left: 1%;
        margin-right: 1%;
    }

    .ad-meta {
        padding-top: 5px;
    }

    .action-buttons {
        width: auto;
        justify-content: flex-end;
        height: 12vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .dropdown-content a {
        font-size: 4vw;
    }

    .ads-container {
        display: flex;
        width: 79%;
        flex-flow: column;
        margin-left: 1%;
        margin-right: 1%;
    }

    .ad-meta {
        padding-top: 5px;
    }

    .action-buttons {
        width: auto;
        justify-content: flex-end;
        height: 12vw;
    }

    .btn {
        height: 5.5vw;
     }
}

@media (min-width: 601px) and (max-width: 900px) {
    .dropdown-content a {
        font-size: 3vw;
    }

    .ads-container {
        display: flex;
        width: 79%;
        flex-flow: column;
        margin-left: 1%;
        margin-right: 1%;
    }

    .ad-meta {
        padding-top: 5px;
    }

    .ads-grid {
        display: flex;
        width: 100%;
        flex-flow: wrap;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 24px;
        padding: 0;
    }

    .ad-card {
        display: flex;
        flex-direction: column;
        width: 45%;
    }

    .action-buttons {
        width: auto;
        justify-content: flex-end;
        height: 6vw;
    }

    .ad-title {
        height: 6vw;
    }

     .btn {
        height: 3.5vw;
     }
}


/* Хлебные крошки */
.breadcrumb-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding-left: 1vw;
    padding-right: 1vw;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 6px 8px;
    border-radius: 8px;
}

.breadcrumb__item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
}

.breadcrumb__item--current {
    color: #6b7280;
    font-weight: 600;
}

.breadcrumb__separator {
    color: #cbd5e1;
    font-weight: 300;
}

/* Кнопки действий */
.action-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn--primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn--primary:hover {
    transform: translateY(0px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn--secondary {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.btn--secondary:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .breadcrumb-nav {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        justify-self: center;
    }

    .action-buttons {
        width: auto;
        justify-content: flex-end;
        height: 12vw;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        flex-wrap: wrap;
    }
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}


/* Основные стили */
.body_div_first {
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

.first_card {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    padding: 0;
}

/* Карточка */
.clickable-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.clickable-card:hover {
    transform: translateY(-12px);
    text-decoration: none;
    color: inherit;
}

.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.clickable-card:hover .card {
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.05);
}

/* Бейджи */
.card__badges {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.badge--sold {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
}

.badge--new {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
}

.badge--discount {
    background: linear-gradient(135deg, #ffd93d, #ff9c32);
    color: #2d3436;
}

/* Изображение */
.card__image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.clickable-card:hover .card__img {
    transform: scale(1.08);
}

.card__no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card__quick-view {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    color: #2d3436;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    opacity: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.clickable-card:hover .card__quick-view {
    bottom: 16px;
    opacity: 1;
}

.card__quick-view:hover {
    background: white;
    transform: translateX(-50%) scale(1.05);
}

/* Контент */
.card__content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card__category {
    font-size: 12px;
    color: #74b9ff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.card__title {
    font-size: 17px;
    font-weight: 700;
    color: #2d3436;
    line-height: 1.4;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Рейтинг */
.card__rating {
    margin-bottom: 16px;
}

.stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.star {
    color: #dfe6e9;
    font-size: 14px;
}

.star.active {
    color: #ffd93d;
}

.rating-text {
    font-size: 12px;
    color: #636e72;
    margin-left: 8px;
}


.price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.price__current {
    font-size: 24px;
    font-weight: 800;
    color: #2d3436;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price__old {
    font-size: 16px;
    color: #b2bec3;
    text-decoration: line-through;
}

.price__discount {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}

.installment {
    font-size: 13px;
    color: #00b894;
    font-weight: 600;
}

/* Особенности */
.card__features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #636e72;
}

.feature svg {
    color: #00b894;
}

/* Футер */
.card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 15px;
    color: #636e72;
}

.location, .date {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* CTA кнопка */
.card__cta {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Empty state */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.empty-state__icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    color: #2d3436;
    margin-bottom: 12px;
}

.empty-state p {
    color: #636e72;
    margin-bottom: 24px;
}

.empty-state__cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.empty-state__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Адаптивность */
@media (max-width: 768px) {
    .first_card {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 5px;
        padding: 0;
    }





    .card__image {
        height: 200px;
    }

    .card__content {
        padding-top: 1vw;
    }
}

@media (max-width: 480px) {
    .first_card {
        grid-template-columns: 1fr;
    }

    .card__features {
        flex-direction: column;
    }
}

/* Вариант 1 - Градиентный текст с иконкой */
.card__title-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    height: 2.5vw;
}

.title-icon {
    color: #74b9ff;
    flex-shrink: 0;
    margin-top: 2px;
}

.card__title.gradient-text {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Вариант 2 - Анимированное подчеркивание */
.card__title-container {
    margin-bottom: 16px;
}

.card__title.animated-underline {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: #2d3436;
    display: inline-block;
    position: relative;
}

.card__title.animated-underline .title-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card__title.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.clickable-card:hover .card__title.animated-underline::after {
    width: 100%;
}

/* Вариант 3 - С декоративными элементами */
.card__title-fancy {
    margin-bottom: 16px;
}

.title-decoration {
    display: flex;
    align-items: center;
    gap: 12px;
}

.decoration-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    flex-shrink: 0;
}

.card__title.fancy-text {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: #2d3436;
    text-align: center;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

/* Вариант 4 - Эффект типографики */
.card__title-typography {
    margin-bottom: 16px;
    position: relative;
}

.card__title.modern-typography {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0;
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-layer-1 {
    color: #2d3436;
    position: relative;
    z-index: 2;
}

.text-layer-2 {
    position: absolute;
    top: 2px;
    left: 2px;
    color: transparent;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.clickable-card:hover .text-layer-2 {
    opacity: 0.3;
}

/* Дополнительные эффекты для всех вариантов */
.card__title {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.clickable-card:hover .card__title {
    transform: translateX(4px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .card__title-wrapper,
    .card__title-container,
    .card__title-fancy,
    .card__title-typography {
        margin-bottom: 12px;
    }

    .card__title {
        font-size: 16px;
    }

    .title-decoration {
        gap: 8px;
    }

    .title-icon {
        display: none;
    }

    .price__current {
        margin-top: 11vw;
    }

    .card__cta {
        display: none;
        width: 95%;
    }
}








