body {

}

.container {
    position: relative;
    padding: 0;
}
.place {
    display: flex;
    gap: 8px;
    flex-direction: column;
    position: relative;
    background: #fff;
    padding: 8px;
    padding-bottom: 95px;
}
.place_slider {
    background-color: #9e9e9e;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    height: 0;
    width: 100%;
    padding-bottom: 65%;
}

.slide_counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: inline-flex;
    padding: 8px 10px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.40);

    /* Background Blur */
    backdrop-filter: blur(12px);
    z-index: 999;

    color: #FFF;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
}

swiper-container {
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.slides {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grey_section {
    background: #F1F3F9;
    padding: 16px;
    border-radius: 24px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.grey_section_head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.grey_section_head.top {
    align-items: flex-start;
}

.grey_section__title {
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 109.091% */
    color:#16181D;

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.grey_section__title span {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px; /* 121.429% */
    color: #7D859B;
}

.grey_section__show {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
}

.grey_section__show span {
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 12px;
    color: #3D7FFF;
}

.grey_section_body {
    width: 100%;
    position: relative;
}

.place_section2 {
    min-width: 100%;
    max-width: 414px;

    gap: 12px;
    align-self: stretch;
}
.place_section2_head {
    display: flex;
    gap: 16px;
    flex-direction: column;
    width: 100%;
}
.place_section2_head__units {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    height: 67px;
}

.place_section2_head__units span {
    color: #16181D;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 14px;
}

.place_section2_head__units > div {
    display: flex;
    padding: 8px 12px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 16px;
    background: #FFF;

    flex: calc(114.5 / 327 * 100%) 0 0; /* flex-grow: 82, flex-shrink: 0, flex-basis: 0 */
}

.place_section2_head__units svg {

}

.place_section2_head__units .unit_descr {
    display: flex;
    flex-direction: column;
}

.place_section2_head__units .unit_descr span.title {
    color:  #16181D;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 14px;
}

.place_section2_head__units .unit_descr span.sub_title {
    color: #7D859B;
    text-align: center;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 13px;
}

.place_section2_head__units .rating {
    flex: calc(82 / 327 * 100%) 0 0; /* flex-grow: 82, flex-shrink: 0, flex-basis: 0 */
}

.opend .unit_descr span {
    color: inherit !important;
}

.opend.green {
    color: #01B92C !important;
    background: rgba(15, 204, 78, 0.15);
}

.opend.red {
    color: #F65757 !important;
    background: rgba(246, 87, 87, 0.15);
}



.place_section2_head__title {
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px; /* 114.286% */
}
.place_section2_head__address {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.place_section2_head__address {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px;
}

.place_section2_head__address a {
    color: #3D7FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 17px;
}

.place_section2_body {
    padding: 12px;
    border-radius: 16px;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
}

.place_section2_body p {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.place_section2_body .link {
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 14px; /* 116.667% */
    color: #fff;
    padding: 6px 12px;
    border-radius: 16px;
    background-color: #16181D;
}

.placements {
    display: flex;
    flex-direction: row;
    gap: 6px;
    width: 100%;

    overflow-x: auto;
    overflow-y: hidden; /* Скрываем вертикальный скролл */
    position: relative;
    padding-left: 16px;
    padding-right: 16px;
}

.placements::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.placement {
    display: flex;
    height: 36px;
    padding: 0px 12px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 24px;
    background: #FFF;
}

.placement span {
    color: #16181D;
    text-align: center;
    font-feature-settings: 'ss02' on, 'ss05' on, 'ss07' on, 'ss08' on, 'ss09' on;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: 0.08px;
    white-space: nowrap;
}

.place_section3__footer-title {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 125% */
    color: #16181D;
    margin-bottom: 8px;
}

.place_section3__footer-text {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    color: #16181D;
}

.work_times {
    background-color: #fff;
    border-radius: 16px;
    padding: 4px 16px;

    display: flex;
    flex-direction: column;
}

.work_times_line {
    padding: 12px 0;

    display: flex;
    flex-direction: row;
    justify-content: space-between;

    border-bottom: 0.5px solid #E5E8F0 ;
}

.work_times_line:last-child {
    border-bottom: none;
}

.work_times_line--name {
    display: flex;
    flex-direction: row;
    position: relative;
}

.work_times_line--name p {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px;
}

.work_times_line--name .active {
    position: absolute;
    right: -30px;
    top: -9px;
}

.work_times_line--time span {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 17px; /* 121.429% */
    color: #16181D;
}

.grey_section_body {
    position: relative;
}

.reviews {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow: hidden;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    padding:0 16px;
}

.review {
    display: flex;
    width: 303px;
    padding: 16px;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    border-radius: 16px;
    background: #FFF;

    /* Main Shadow */
    box-shadow: 0px 10px 24px 0px rgba(37, 40, 50, 0.04);

    flex: 0 0 auto;
    width: 303px;
}

.review_head {
    width: 100%;

    display: flex;
    flex-direction: row;
    gap: 12px;
}

.review_head--avatar {
    width: 44px;
    height: 44px;
    border-radius: 100px;
    border: 0.5px solid rgba(0, 0, 0, 0.07);
    background: #F1F3F9;

    display: flex;
    justify-content: center;
    align-items: center;
}

.review_head--avatar p {
    color: #16181D;
    text-align: center;
    font-feature-settings: 'ss02' on, 'ss05' on, 'ss07' on, 'ss08' on, 'ss09' on;

    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.review_head--descr {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.review_head--descr p {
    color: #16181D;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 17px;
}

.review_body {
    width: 100%;
}

.review_body p {
    overflow: hidden;
    color: #16181D;
    text-overflow: ellipsis;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    bottom: 0;
    overflow: hidden;
    transition: 0.5s ease-in-out all;
    background-color: #666666;
    visibility: visible;
    opacity: 1;
}

.modal.hidden {
    visibility: hidden;
    opacity: 0;
}

.modal_container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9090;
    bottom: 0;

    display: flex;
    flex-direction: column;
    gap: 12px;

    padding: 0 20px;
    padding-top: 16px;
    border-radius: 28px 28px 0px 0px;

    transition: 0.5s ease-in-out all;
    background-color: #fff;
}

.modal.hidden .modal_container {
    top: 100%;
}

.modal_head {
    width: 100%;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    height: 44px;
    position: relative;
}

.modal_head--arrow {
    width: 44px;
    height: 44px;
    padding: 10px 0;
    margin-right: auto;
    position: absolute;
    left: 0;

    cursor: pointer;
}

.modal_head--title {
    display: flex;
    flex-direction: column;
    align-self: center;
    height: 44px;
    justify-content: center;
}

.modal_head--title p {
    color: #16181D;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 17px;
}

.modal_head--title span {
    color: #7D859B;
    text-align: center;
    font-size: 13px;
    font-style: normal;
    font-weight: 450;
    line-height: 15px;
}

.modal_body {
    overflow: auto;
}

.modal_body .placements {
    overflow: auto;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 30px;
}

.modal_body .placement {
    background-color: #f1f3f9;
}

.modal_body--title {
    margin-bottom: 15px;
    color: #16181D;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

.modal_body--rules {
    color: #16181D;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.modal_body .reviews {
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin-bottom: 20px;
}

.modal_body .reviews .review {
    width: 100%;
    border-radius: 16px;
    background: #F1F3F9;
}

.modal_body .reviews .review_head--avatar {
    background-color: #fff;
}

a:active, a:visited, a:link {
    color: #3D7FFF;
}

.place_section4 .reviews_container {
    width: calc(100% + 32px);
    position: relative;
    left: -16px;
    overflow: hidden;
}
