* {
    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;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Полупрозрачное черное наложение */
    z-index: -1;
    /* Псевдоэлемент находится под содержимым body */
}

.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;
    color: antiquewhite;
}

@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;
    margin-top: 1%;
    flex-direction: row;
    justify-content: center;
    background-color: rgba(29, 29, 29, 0);
    width: 100%;
    height: auto;
}

.body_div_first {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    width: 82%;
    margin-right: 1%;
    margin-bottom: 2%;
    border-radius: 30px;
}

@media (min-width: 100px) and (max-width: 600px) {
    .body_div_first {
        border-radius: 15px;
        width: 100%;
        align-items: center;
        margin-left: 1%;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body_div_first {
        width: 100%;
        align-items: center;
    }
}

.body_div_first_img {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.body_first_div_h1 {
    display: flex;
}

.clickable_link_body_first {
    width: 19%;
}

.category_item_body_first {
    width: 100%;
    height: 200px;
    overflow: hidden;
    /* Скрываем части изображения, выходящие за границы контейнера */
    position: relative;
    /* Для позиционирования внутри */
}

.img_body_first1 {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 40vw;
    object-fit: cover;
    margin: 1%;
    margin-left: 2%;
    align-items: center;
}

@media (min-width: 100px) and (max-width: 900px) {
    .img_body_first1 {
        margin-bottom: 7%;
        width: 100%;
        height: auto;
        margin-left: 1%;
    }
}

.img_body_first {
    display: flex;
    width: 100%;
    height: 35vw;
    object-fit: cover;
    object-fit: contain;
    margin: 1%;
    border-radius: 20px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 28px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    border-radius: 20px;
}

.ad-info {
    display: flex;
    flex-direction: column;
    width: 48%;
    padding-top: 2%;
    margin-right: 2%;
    margin-left: 1%;
}

@media (min-width: 100px) and (max-width: 900px) {
    .ad-info {
        width: 51%;
    }
}

.name_p {
    display: flex;
    font-size: 1.2vw;
    color: black;
    line-height: 1em;
    justify-content: space-between;
    margin-bottom: 1vw;
    margin-left: 0;
    margin-right: 0;
}

@media (min-width: 100px) and (max-width: 600px) {
    .name_p {
        font-size: 2.7vw;
        margin-bottom: 3vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .name_p {
        font-size: 2vw;
        margin-bottom: 3vw;
    }
}

.name_p_desc {
    display: flex;
    font-size: 1.2vw;
    color: black;
    line-height: 1em;
    justify-content: space-between;
    margin-bottom: 1vw;
    align-items: center;
    text-align: justify;
}

@media (min-width: 100px) and (max-width: 600px) {
    .name_p_desc {
        font-size: 2.5vw;
        margin-bottom: 3vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .name_p_desc {
        font-size: 2.5vw;
        margin-bottom: 3vw;
    }
}

.name_p_desc strong {
    margin-right: 7vw;
}

.name_price {
    display: flex;
    font-size: 2.2vw;
    color: black;
    /* height: 1vw; */
    line-height: 1em;
    justify-content: space-evenly;
    margin-bottom: 1vw;
}

.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;
    }
}

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

.name_a_desc: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_desc {
        font-size: 2.6vw;
        height: auto;
        flex-wrap: nowrap;
        padding-left: 1em;
        padding-right: 1em;
        margin-right: 0em;
        width: 10vw;
    }

    .body_div_first_img {
        justify-content: center;
        height: auto;
        align-self: center;
        align-items: center;
    }

    .img_body_first {
        height: 81vw;
    }
}

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

.form_button {
    display: flex;
    font-size: 1.2vw;
    color: rgb(255 255 255);
    height: 2vw;
    line-height: 1em;
    justify-content: space-between;
    text-decoration: none;
    background-color: rgb(11 99 246);
    border-radius: 10px;
    padding-top: 1%;
    padding-left: 5%;
    padding-right: 5%;
    box-shadow: 0 5px 15px 0 rgba(11, 99, 246, 1);
    transition: 0.5s;
    border: none;
    z-index: 10;
}

@media (min-width: 100px) and (max-width: 600px) {
    .form_button {
        font-size: 2.2vw;
        height: 4vw;
        padding-top: 2.9%;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .form_button {
        font-size: 2vw;
        height: 3.6vw;
        padding-top: 2.6%;
    }
}

.form {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 2%;
    z-index: 10;
}

@media (min-width: 100px) and (max-width: 600px) {
    .form {
        margin-top: 10%;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .form {
        margin-top: 10%;
    }
}

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

.desc {
    display: flex;
    flex-direction: column;
    font-size: 1em;
    color: black;
    justify-content: center;
}

.desc_p {
    display: flex;
    flex-direction: column;
    font-size: 1.1em;
    color: black;
    text-align: justify;
    line-height: 1.8em;
    margin-left: 4vw;
    margin-right: 4vw;
    margin-top: 4vw;
    margin-bottom: 1vw;
    white-space: pre-line;
}

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

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

.h2_com {
    color: black;
    margin-left: 4vw;
    align-self: center;
    margin-bottom: 2vw;
    margin-top: 2vw;
}

.desc_com {
    display: flex;
    flex-direction: column;
    font-size: 1em;
    color: black;
    justify-content: center;
}

.desc_p_com_sh {
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 28px 30px rgba(0, 0, 0, 0.3);
    width: 80%;
    border-radius: 20px;
    align-self: center;
    margin-bottom: 3vw;
}

.desc_p_com {
    display: flex;
    flex-direction: column;
    font-size: 1.1em;
    color: black;
    text-align: justify;
    line-height: 1.8em;
    margin-left: 2vw;
    margin-right: 2vw;
    margin-top: 1vw;
    margin-bottom: 1vw;
    white-space: pre-line;
}

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

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

.img_body_first_full2 {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    /* height: 50%; */
    object-fit: cover;
    /* margin: 3%; */
}

@media (min-width: 100px) and (max-width: 600px) {
    .img_body_first_full2 {
        margin: 0;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .img_body_first_full2 {
        margin: 0;
    }
}

.img_body_first_full {
    display: flex;
    width: 77vw;
    height: 50vw;
    object-fit: contain;
    margin: 1%;
    border-radius: 20px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 28px 30px rgba(0, 0, 0, 0.3);
    display: inline-block;
}


/* Для вертикальной ориентации */

@media (orientation: portrait) {
    @media (min-width: 100px) and (max-width: 600px) {
        .img_body_first_full {
            width: 95%;
            height: auto;
            margin-bottom: 5%;
        }
    }
    @media (min-width: 601px) and (max-width: 900px) {
        .img_body_first_full {
            width: 80%;
            height: auto;
            margin-bottom: 5%;
        }
    }
}


/* Для горизонтальной ориентации */

@media (orientation: landscape) {
    .img_body_first_full {
        display: flex;
        width: 80vw;
        height: 45vw;
        object-fit: contain;
        margin: 1%;
        border-radius: 20px;
        box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 28px 30px rgba(0, 0, 0, 0.3);
        display: inline-block;
    }
}

.ad-actions {
    display: flex;
    color: #000000;
    width: 100%;
    justify-content: space-between;
    margin-left: 6%;
}

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


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


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



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

@media (min-width: 100px) and (max-width: 600px) {
    .body_div_second {
        display: none;
        width: 11%;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body_div_second {
        display: none;
        width: 13%;
    }
}

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

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

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

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

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

@media (min-width: 501px) and (max-width: 600px) {
    .body .body_div_second p {
        font-size: 2.5vw;
        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;
    }
}

.div_com {
    display: flex;
    flex-direction: column;
    font-size: 1em;
    color: black;
    justify-content: center;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 28px 30px rgba(0, 0, 0, 0.3);
    width: 80%;
    align-self: center;
    border-radius: 20px;
    margin-top: 3vw;
    background-color: #adadad;
}

.div_com_2 {
    display: flex;
    align-self: center;
    margin: 1vw;
}

@media (min-width: 100px) and (max-width: 500px) {
    .div_com_2 {
        margin: 2vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .div_com_2 {
        margin: 2vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .div_com_2 {
        margin: 2vw;
    }
}

form {
    display: flex;
}

textarea {
    display: flex;
    height: 6vw;
    width: 47vw;
    padding: 0.5vw;
}

@media (min-width: 100px) and (max-width: 500px) {
    textarea {
        font-size: 2.5vw;
        width: 47vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    textarea {
        font-size: 2.5vw;
        width: 47vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    textarea {
        font-size: 2.5vw;
        width: 47vw;
    }
}

label {
    color: black;
    font-size: 1.3vw;
    align-content: center;
    text-align: center;
}

@media (min-width: 100px) and (max-width: 500px) {
    label {
        font-size: 2vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    label {
        font-size: 2vw;
    }
}

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

.div_com_2 button {
    font-size: 1vw;
}

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

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

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


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

.clickable_link_body_first {
    display: flex;
    flex-direction: column;
    width: 23%;
    text-decoration: none;
}

.category_item_body_first {
    display: flex;
    flex-direction: column;
    height: 25vw;
    overflow: hidden;
    background-color: white;
    border-radius: 20px;
    margin-bottom: 10%;
}

.category_text_body_first {
    width: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    padding: 1%;
    box-sizing: border-box;
    color: black;
    font-size: 2vw;
}


/* --------------------------------------Other-------------------------------------------------------------- */

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

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

.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;
}

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

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

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

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


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

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


.appointment {
    display: flex;
}


.lost-badge {
    background-color: #ff4757;
    color: white;
}

.found-badge {
    background-color: #2ed573;
    color: white;
}

.category-badge {
    background-color: #3742fa;
    color: white;
}

.sold-badge {
    background-color: #747d8c;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 10px;
    display: inline-block;
}

.form_button {
    background-color: #ff4757;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.form_button:hover {
    background-color: #ff6b81;
}

.comment-button {
    background-color: #3742fa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.comment-button:hover {
    background-color: #5352ed;
}

.services-icon {
    font-size: 2.5em;
    margin-right: 15px;
}

.services-container {
    width: 100%;
}

.services-card {
    display: flex;
    width: 99%;
    background: #F8F9FD;
    border-radius: 30px;
    border: 5px solid rgb(255, 255, 255);
    box-shadow: rgba(133, 189, 215, 0.878) 0px 30px 30px -20px;
}

.button-img {
    display: flex;
}

.services-header-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    justify-self: center;
}

.info-block {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.services-icon-main {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
    border-radius: 20px;
    box-shadow: rgba(133, 189, 215, 0.878) 0px 10px 20px -10px;
}

.services-title-section {
    flex: 1;
    margin-top: 1vw;
    justify-items: center;
}

.services-title {
    font-size: 2vw;
    font-weight: 900;
    color: rgb(16, 137, 211);
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.services-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.services-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.3vw;
    font-weight: 600;
    box-shadow: rgba(133, 189, 215, 0.3) 0px 5px 10px -5px;
}

.type-badge {
    background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
    color: white;
}

.lost-badge {
    background: linear-gradient(45deg, #ff4757 0%, #ff6b81 100%);
}

.found-badge {
    background: linear-gradient(45deg, #2ed573 0%, #7bed9f 100%);
}

.category-badge {
    background: linear-gradient(45deg, #a55eea 0%, #8854d0 100%);
    color: white;
}

.location-badge {
    background: linear-gradient(45deg, #f7b731 0%, #fed330 100%);
    color: #2d3436;
}

.services-details-section {
    margin-bottom: 30px;
    display: flex;
    flex-flow: wrap;
    gap: 1vw;
    justify-content: space-around;
}

.services-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: white;
    border-radius: 15px;
    margin-bottom: 10px;
    box-shadow: rgba(133, 189, 215, 0.2) 0px 5px 10px -5px;
    transition: all 0.3s ease;
    width: 40%;
}

.services-detail-item:hover {
    transform: translateX(5px);
    box-shadow: rgba(133, 189, 215, 0.3) 0px 8px 15px -8px;
}

.services-detail-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #dfe6e9 0%, #f1f2f6 100%);
    border-radius: 10px;
}

.services-detail-content {
    flex: 1;
}

.services-detail-label {
    font-size: 1vw;
    color: #636e72;
    font-weight: 600;
    margin-bottom: 4px;
}

.services-detail-value {
    font-size: 1.2vw;
    color: #2d3436;
    font-weight: 500;
}

.services-section-title {
    font-size: 20px;
    font-weight: 800;
    color: rgb(16, 137, 211);
    margin: 0 0 20px 0;
    text-align: center;
}

.services-social-section {
    margin-bottom: 30px;
}

.services-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.services-social-card {
    background: white;
    border-radius: 20px;
    padding: 10px;
    text-decoration: none;
    color: inherit;
    box-shadow: rgba(133, 189, 215, 0.2) 0px 8px 15px -8px;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    width: 10vw;
}

.services-social-card:hover {
    transform: translateY(-3px);
    box-shadow: rgba(133, 189, 215, 0.4) 0px 15px 25px -12px;
}

.telegram:hover { border-color: #0088cc; }
.instagram:hover { border-color: #e4405f; }
.facebook:hover { border-color: #3b5998; }
.viber:hover { border-color: #7360f2; }
.whatsapp:hover { border-color: #25d366; }
.maps:hover { border-color: #34a853; }

.social-card-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #dfe6e9 0%, #f1f2f6 100%);
    border-radius: 12px;
}

.social-info {
    flex: 1;
}

.social-label {
    font-size: 1vw;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 4px;
}

.social-action {
    font-size: 14px;
    color: #636e72;
    font-weight: 500;
}

.services-specialist-section {
    margin-top: 30px;
}

.specialist-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.specialist-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: rgba(133, 189, 215, 0.2) 0px 8px 15px -8px;
    transition: all 0.3s ease;
}

.specialist-card:hover {
    transform: translateY(-2px);
    box-shadow: rgba(133, 189, 215, 0.3) 0px 12px 20px -10px;
}

.specialist-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.specialist-avatar {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #74b9ff 0%, #0984e3 100%);
    border-radius: 15px;
    color: white;
}

.specialist-details {
    flex: 1;
}

.specialist-name {
    font-size: 18px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 4px;
}

.specialist-specialty {
    font-size: 14px;
    color: #636e72;
    font-weight: 500;
}

.book-button {
    background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: rgba(133, 189, 215, 0.3) 0px 5px 10px -5px;
}

.book-button:hover {
    transform: scale(1.05);
    box-shadow: rgba(133, 189, 215, 0.5) 0px 8px 15px -8px;
}

.pending-notice {
    background: linear-gradient(45deg, #fdcb6e 0%, #ffeaa7 100%);
    color: #2d3436;
    padding: 12px 20px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 14px;
}

.mini_header button, p {
    display: flex;
    color: black;
    margin-left: 4vw;
    margin-right: 4vw;
}

/* Адаптивность */
@media (max-width: 768px) {
    .services-container {
        width: 98%;
        justify-items: center;
    }

    .services-card {
        border-radius: 25px;
    }

    .services-header-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;

    }

    .services-icon-main {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }

    .services-title {
        font-size: 24px;
    }

    .services-badges {
        justify-content: center;
    }

    .services-social-grid {
        grid-template-columns: 1fr;
        width: 100%;
        justify-content: center;
    }

    .specialist-card {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .specialist-info {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .services-card {
        border-radius: 20px;
        flex-direction: column;
        width: 100%;
    }

    .services-title {
        font-size: 20px;
    }

    .services-badge {
        padding: 6px 12px;
        font-size: 12px;
    }

    .services-detail-item {
        padding: 12px 15px;
    }

    .services-detail-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}


.comments-container {
    width: 70%;
    margin: 30px auto;
    padding: 0 20px;
}

.comments-card {
    background: #F8F9FD;
    border-radius: 30px;
    padding: 1vw;
    border: 5px solid rgb(255, 255, 255);
    box-shadow: rgba(133, 189, 215, 0.878) 0px 30px 30px -20px;
}

.comments-title {
    font-size: 28px;
    font-weight: 900;
    color: rgb(16, 137, 211);
    text-align: center;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8f4fd;
}

/* Форма комментария */
.comment-form-section {
    margin-bottom: 30px;
}

.comment-form {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: rgba(133, 189, 215, 0.2) 0px 10px 20px -10px;
    flex-flow: column;
}

.form-group {
    width: 100%;
}

.form-group textarea {
    width: 100%;
    min-height: 120px;
    border: 2px solid #e8f4fd;
    border-radius: 15px;
    font-size: 1.3vw;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
    background: #f8f9fd;
    justify-self: center;
}

.form-group textarea:focus {
    outline: none;
    border-color: #12B1D1;
    box-shadow: rgba(133, 189, 215, 0.3) 0px 5px 15px -5px;
    background: white;
}

.form-group textarea::placeholder {
    color: #a4b0be;
}

.comment-submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 15px;
    font-size: 1.2vw;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: rgba(133, 189, 215, 0.878) 0px 10px 20px -10px;
    margin-top: 1vw;
    width: auto;
    align-self: center;
}

.comment-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: rgba(133, 189, 215, 0.95) 0px 15px 25px -12px;
}

.comment-submit-button:active {
    transform: translateY(0);
    box-shadow: rgba(133, 189, 215, 0.8) 0px 5px 15px -8px;
}

.button-icon {
    font-size: 18px;
}

.comment-login-prompt {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: rgba(133, 189, 215, 0.2) 0px 10px 20px -10px;
}

.login-message {
    margin: 0;
    font-size: 16px;
    color: #2d3436;
}

.login-link {
    color: #0099ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #0077cc;
    text-decoration: underline;
}

/* Список комментариев */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: rgba(133, 189, 215, 0.2) 0px 8px 15px -8px;
    transition: all 0.3s ease;
    border-left: 4px solid #12B1D1;
}

.comment-item:hover {
    transform: translateY(-2px);
    box-shadow: rgba(133, 189, 215, 0.3) 0px 12px 20px -10px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #74b9ff 0%, #0984e3 100%);
    border-radius: 50%;
    font-size: 18px;
    color: white;
}

.comment-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.comment-username {
    font-size: 16px;
    font-weight: 700;
    color: #2d3436;
}

.comment-date {
    font-size: 1vw;
    color: #636e72;
    font-weight: 500;
}

.comment-content {
    margin-left: 60px;
}

.comment-text {
    margin: 0;
    font-size: 1.3vw;
    line-height: 1.5;
    color: #2d3436;
    word-wrap: break-word;
}

/* Нет комментариев */
.no-comments {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: rgba(133, 189, 215, 0.2) 0px 8px 15px -8px;
}

.no-comments-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-comments-text {
    margin: 0;
    font-size: 18px;
    color: #636e72;
    font-weight: 500;
}

.mini_p {
    color: antiquewhite;
    justify-content: center;

}

.mini_header button, p {
    display: flex;
    color: black;
    margin-left: 0;
    margin-right: 0;
}

.desc-text {
    margin-left: 4vw;
    margin-right: 4vw;
    height: auto;
    font-size: 1.2vw;
}

/* Адаптивность */
@media (max-width: 768px) {
    .comments-container {
        padding: 0 15px;
    }

    .comments-card {
        padding: 1vw;
        border-radius: 25px;
    }

    .comments-title {
        font-size: 24px;
    }

    .comment-item {
        padding: 20px;
    }

    .comment-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .comment-content {
        margin-left: 0;
        text-align: center;
    }

    .comment-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .services-social-card {
        width: 36vw;
    }

    .services-detail-label {
        font-size: 3vw;
    }

    .services-detail-value {
        font-size: 3.5vw;
    }

    .social-label {
        font-size: 3vw;
    }

    .form-group textarea {
        font-size: 3vw;
    }

    .comments-container {
        width: 95%;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .comments-card {
        padding: 20px;
        border-radius: 20px;
    }

    .comments-title {
        font-size: 22px;
    }

    .form-group textarea {
        min-height: 100px;
        padding: 12px 15px;
    }

    .comment-submit-button {
        padding: 12px 20px;
        font-size: 14px;
    }

    .comment-item {
        padding: 15px;
    }

    .comment-text {
        font-size: 14px;
    }

    .no-comments {
        padding: 30px 15px;
    }

    .no-comments-icon {
        font-size: 2.5rem;
    }

    .no-comments-text {
        font-size: 16px;
        justify-content: center;
    }

    .p-m {
        padding: 2vw;
        padding-left: 2vw;
        padding-right: 2vw;
    }

    .desc-text {
        font-size: 3vw;
        width: 100%;
    }

    .desc {
        width: 100%;
    }
}
