.girl_info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.girl_contact_wrapper {
    display: flex;
    gap: 20px;

}

.contact_link {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 48%;
    border-radius: 14px;
    background: var(--acsent);
    transition: background 0.3s ease;
    padding: 20px 0;
    cursor: pointer;
}
.contact_link.booking{
    font-size: 20px;
    color: var(--dark-blue);
    font-weight: 500;
    text-align: center;
}

.contact_link img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(13%) saturate(2546%) hue-rotate(164deg) brightness(93%) contrast(93%);
}

.contact_link:hover {
    background: linear-gradient(90deg, #ffc6b3 0%, #fb8d69 50%, #ffc6b3 100%);
}
.contact_link.booking:hover{
    color: var(--dark-txt);
}

.girl_details_row {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.girl_box {
    position: relative;
    overflow: hidden;
    padding: 32px 38px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(3, 48, 57, 0.98), rgba(6, 27, 40, 0.98));
    border: 1px solid rgba(255, 198, 179, 0.14);
    box-shadow: 0 18px 45px rgba(3, 19, 29, 0.16);
}

.girl_box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 34px;
    right: 34px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent 0%, var(--acsent) 50%, transparent 100%);
    opacity: 0.75;
}

.girl_box > * {
    position: relative;
    z-index: 1;
}
.related-posts.custom-slider{
    max-width: 1290px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}
.model_card_container {
    width: 100% !important;
    max-width: 100% !important;
}
.tab_content {
    display: none;
}

.tab_content.active {
    display: block;
}

.prices_block {
    flex: 1 1 48%;
}

.prices_tabs {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    align-items: center;
}

.price_tab_item {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    color: var(--white);
    cursor: pointer;
    transition: 0.3s;
}

.price_tab_item:hover {
    color: #ca623f;
}

.price_tab_item:first-child::after {
    content: "\\";
    margin: 0 7px 0 5px;
}

.price_tab_item.active {
    color: var(--acsent);
}

.prices_conatiner {
    display: flex;
    flex-direction: row;
    gap: 18px;
    align-items: baseline;
    justify-content: center;
}

.prices_flex {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.price_item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.price_item:hover,
.param_item:hover {
    border-color: rgba(251, 141, 105, 0.26);
    background: rgba(255, 255, 255, 0.08);
}

.price_time,
.param_title {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
    color: var(--white);
    opacity: 0.78;
}

.price_value,
.param_value {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.25;
    text-align: center;
    color: var(--white);
}

.girl_services {
    flex: 1 1 48%;
}

.girl_box_title {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.girl_box_title,
.title_text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 28px;
    text-align: center;
    color: var(--white);
}

.girl_services_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.girl_box_title span {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    text-align: right;
    color: var(--acsent);
}
.girl_text_item,
.girl_link_item {
    flex: 0 0 auto;
    width: auto;
    display: inline-flex;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    color: var(--white);
    transition: 0.3s;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
}


.girl_link_item:hover {
    color: var(--acsent);
    background: rgba(251, 141, 105, 0.14);
    border-color: rgba(251, 141, 105, 0.34);
}

.girl_parameters {
    flex: 1 1 75%;
}

.girl_params_list {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 14px;
}

/* Для Chrome, Edge, Safari */
.girl_loaction_list::-webkit-scrollbar {
    width: 5px; 
}

.girl_loaction_list::-webkit-scrollbar-track {
    background: transparent; 
}

.girl_loaction_list::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.girl_loaction_list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.5);
}
.param_item {
    min-width: 0;
    max-width: none;
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    padding: 16px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.param_avaliable {
    text-align: center;
}

.girl_languages {
    flex: 1 1 25%;
    min-width: 280px;
    gap: 18px;
}

.girl_language_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.girl_language_list .girl_link_item:hover{
    color: var(--white);
}
.girl_languages .girl_box_title:not(:first-child) {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.girl_loaction_list{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    overflow: auto;
}
.girl_description_wrapper {
    display: flex;
    gap: 30px;

}

.girl_description_title_wrapper {
    flex: 1 1 31%;
}

.girl_description_title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 52px;
    color: var(--dark-blue);
}

.girl_description_text p,
.girl_description_text {
    flex: 1 1 68%;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 17px;
    line-height: 188%;
    color: var(--dark-blue);
}

.review_wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 410px;
    padding: 40px;
    background: rgba(14, 40, 56, 0.64);
    border-radius: 30px;
    flex: 0 0 100%;
}

.review_wrapper time {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 15px;
    color: var(--dark-txt);
}

.review_header {
    display: flex;
    gap: 30px;
}

.review_header_name {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    color: var(--white);
}

.rating_wrapper {
    display: flex;
    gap: 5px;
}

.review_text {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 15px;
    line-height: 173%;
    color: var(--white);
}

.model_reviews_wrapper {
    background: var(--bg);
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section_title_white h2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 52px;
    text-align: center;
    color: var(--white);
}

.model_reviews_list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.model_add_reviews_wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin: 50px 0 30px 0;
}

.section_add_title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 44px;
    text-align: center;
    color: var(--dark-blue);
}

.add_review {
    display: flex;
    gap: 30px;
    position: relative;
}

.form_section_first {
    flex: 1 1 39%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form_section_second {
    flex: 1 1 59%;
}

.submit_wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 18px 30px;
    border-radius: 14px;
    transition: 0.3s;
    cursor: pointer;
}

.submit_wrapper:hover::before {
    background: var(--acsent);
}

.submit_wrapper:hover::after {
    background: var(--acsent);
}

.submit_btn {
    position: relative;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    z-index: 1;
    color: var(--black);
    border-radius: 14px;
}

.submit_wrapper::before {
    content: "";
    border-radius: 14px;
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #ffc6b3 0%, #fb8d69 50%, #ffc6b3 100%);
    transition: opacity 0.3s ease-in-out;
}

.submit_wrapper::after {
    content: "";
    border-radius: 14px;
    position: absolute;
    inset: 0;
    background: var(--acsent);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.text_field,
.input_field {
    width: 100%;
    border: none;
    outline: none;
    border-radius: 14px;
    padding: 14px 20px;
    background: rgba(14, 40, 56, 0.24);
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: var(--dark-blue);
    cursor: pointer;
}


.text_field {
    height: 230px;
}

.input_field {
    height: 60px;
}

.text_field::placeholder,
.input_field::placeholder {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: var(--dark-txt);
    opacity: 0.34;
}

.add_review_rating_wrapper {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.add_title {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: var(--dark-blue);
}

.review_add_rating {
    display: flex;
    gap: 5px;
}

.rating_item {
    cursor: pointer;
    transition: filter 0.2s;
    filter: grayscale(100%) brightness(1);
}

.rating_item.active,
.rating_item.hovered {
    filter: brightness(0) saturate(100%) invert(17%) sepia(94%) saturate(7476%) hue-rotate(1deg) brightness(101%) contrast(105%);
}

.related_wrapper {
    margin: 100px auto 70px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}


.girl_gallery {
    margin: 50px auto 20px auto;
}

.girl_gallery .slider_track {
    contain: layout paint;
}

.girl_gallery .slide_center {
    aspect-ratio: 410 / 595;
}

.girl_gallery .slide_center img,
.girl_gallery .slide_center video {
    aspect-ratio: 410 / 595;
}

.girl_gallery .pre,
.girl_gallery .next {
    border: 0;
}


.related_slider_wrapper {
    position: relative;
    width: 100%;
    max-width: 1470px;
    margin: 0 auto;
    overflow: hidden;

}

.related_slider-conatiner {
    position: relative;
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;
    overflow: hidden;
}

.ralred_list_track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

.ralred_list_track .model_card_container {
    flex: 1 1 33%;
    min-width: 410px;
    box-sizing: border-box;
    margin: 0 10px;
    align-items: center;
}

.slider_btns {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

.slider_btn {
    border-radius: 20px;
    width: 60px;
    height: 60px;
    background: #b4c6cf;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.slider_btn.rigth {
    transform: rotate(180deg);
}

/* стрілка */
.slider_btn::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url("/default/assets/images/front/arrow-left.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: brightness(0) saturate(100%) invert(22%) sepia(86%) saturate(398%) hue-rotate(159deg) brightness(94%) contrast(94%);
}





@media (max-width: 1500px) {

    .slider-arrow.prev {
        left: -25px;
        transform: translate(0%, -50%);
    }

    .slider-arrow.next {
        right: -25px;
        transform: translate(0%, -50%) rotate(180deg);
    }
    .slider-arrow{
        background-color: var(--dark-txt) !important;
    }
    .slider-arrow.prev img, .slider-arrow.next img {
        filter: brightness(0) saturate(100%) invert(100%) sepia(79%) saturate(398%) hue-rotate(159deg) brightness(94%) contrast(94%) !important;
    }
    .related_wrapper {
        padding: 0 40px;
    }
}
@media (max-width: 1420px) {

    .slider_btn {
        border-radius: 14px;
        width: 50px;
        height: 50px;
        background: var(--dark-txt);
    }

    .slider_btn::after {
        filter: invert(0.0001);
    }

    .ralred_list_track .model_card_container {
        min-width: 315px;
    }

    .related_slider-conatiner {
        max-width: 1000px;
    }
}
@media (max-width: 1330px) {
    .model_card_container {
        flex: 0 0 calc((100% - 40px) / 3) !important;
        min-width: 278px;
        max-width: 100% !important;
    }
    
}

@media (max-width: 1020px) {


    .ralred_list_track .model_card_container {
        flex: 1 1 50%;
        min-width: 354px;
    }

    .related_slider-conatiner {
        max-width: 750px;
    }

    .related_slider_wrapper {
        max-width: 850px;
    }
    .model_card_container {
        width: 100% !important;
        max-width: 100% !important;
    }
}
@media screen and (max-width: 975px) {

   
    .custom-slider .slide {
        flex: 0 0 calc((100% - 20px) / 2) !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}
@media (max-width: 750px) {


    .ralred_list_track .model_card_container {
        flex: 1 1 100%;
        min-width: -webkit-fill-available;
        max-width: 290px;
    }

    .related_slider-conatiner {
        max-width: 310px;
    }

    .related_slider_wrapper {
        max-width: 500px;
    }

    /* /----------------- */
    .girl_box {
        padding: 30px;
    }

    .prices_flex {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .girl_params_list {
        grid-template-columns: repeat(3, minmax(110px, 1fr));
        gap: 10px;
    }

    .girl_services_list {
        gap: 10px;
    }

}



@media (max-width: 1024px) {
    .girl_loaction_list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    .girl_gallery {
        margin: 30px auto 20px auto;
    }

    .girl_contact_wrapper {
        gap: 10px;
    }

    .girl_details_row.price_services {
        gap: 10px;
    }

    .girl_details_row.params {
        flex-direction: column;
        gap: 20px;
    }

    .model_reviews_list {
        gap: 20px;
    }

    .submit_wrapper {
        display: flex;
        height: 60px;
        align-content: center;
        align-items: center;
    }

    .form_section_second {
        flex: 1 1 47%;
    }

    .form_section_first {
        flex: 1 1 51%;
    }

    .related_wrapper {
        margin: 50px 0 70px 0;
    }

    .review_wrapper {
        max-width: 350px;
        width: 100%;
        flex: 1 1 49%;
    }

    .girl_languages {
        align-items: flex-start;
    }

    .girl_language_list,
    .girl_loaction_list {
        justify-content: flex-start;
    }
}

@media (max-width: 960px) {
    .girl_details_row.price_services {
        flex-direction: column;
        gap: 20px;
    }

    .girl_description_wrapper {
        gap: 20px;
        flex-direction: column;
        margin-top: 30px;
    }

    .girl_description_title {
        font-size: 44px;
    }

    .section_title_white h2 {
        font-size: 44px;
    }

    .section_add_title {
        font-size: 44px;
    }
    .contact_link.booking{
        font-size: 18px;
        padding: 0 5px;
    }

}
@media (max-width: 675px) {
    .custom-slider .slide {
        flex: 1 0 100% !important;
        padding: 0 !important;
        max-width: 270px !important;
        width: 100% !important;
        min-width: 200px !important;
    }   
    .model_card_container {
        padding: 10px !important;
        border-radius: 30px !important;
    }
    .related-posts.custom-slider {
        padding: 0 98px;
    }

}
@media (max-width: 650px) {
    .girl_gallery .slider_track {
        min-height: min(595px, calc(80vw * 1.451));
    }

    .contact_link {
        padding: 13px 0;
    }

}

@media (max-width: 600px) {
    .add_review {
        gap: 15px;
        flex-direction: column;
    }

    .form_section_first {
        gap: 15px;
    }

    .add_review_rating_wrapper {
        justify-content: center;
    }

    .submit_wrapper {
        position: relative;
        justify-content: center;
        max-width: max-content;
        margin: 0 auto;
        height: 50px;
    }

    .section_title_white h2 {
        font-size: 32px;
    }

    .section_add_title {
        font-size: 32px;
    }

    .girl_description_title {
        font-size: 32px;
    }

    .main_container {
        padding: 0 10px;
    }


}

@media (max-width: 595px) {
    .girl_gallery .slider_track {
        min-height: min(595px, calc((100vw - 20px) * 1.451));
    }

    .related-posts.custom-slider {
        padding: 0 60px;
    }
    .price_time,
    .param_title {
        font-size: 14px;
    }

    .girl_box {
        padding: 22px 14px;
        border-radius: 24px;
    }
    .girl_params_list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .girl_languages {
        align-items: center;
    }
    .girl_link_item {
        flex: 0 1 auto;
        min-height: 38px;
        padding: 8px 12px;
        font-size: 15px;
    }
    .girl_language_list,
    .girl_loaction_list,
    .girl_services_list {
        justify-content: center;
    }
}


@media (max-width: 495px) {
    .related-posts.custom-slider {
        padding: 0;
    }
}
@media (max-width: 425px) {
    .girl_details_row.price_services {
        gap: 10px;
    }

    .girl_info {
        gap: 10px;
    }

    .girl_details_row.params {
        gap: 10px;
    }
    .contact_link.booking{
        font-size: 17px;
    }
}
@media (max-width: 375px) {
    .related-posts.custom-slider {
        padding: 0;
    }
    .related_wrapper {
        padding: 0 25px;
    }

}
