

/* Start:/local/templates/Fastlife-2-0/components/bitrix/news/fl_restaurants/style.css?178366217311225*/
/* Стили для раздела "Места для знакомств" */

.restaurants-main-list__title {
    margin-bottom: 40px;
}

.restaurant-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.restaurant-card__header {
    position: relative;
    /* Aspect ratio 1020 / 375 = 2.72 */
    aspect-ratio: 2.72 / 1;
    width: 100%;
}

.restaurant-card__image-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.restaurant-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-card__name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.restaurant-card__name {
    color: #fff;
    font-family: 'IgraSans', sans-serif;
    font-size: 48px;
    margin: 0;
}

.restaurant-card__body {
    display: flex;
}

.restaurant-card__info {
    flex: 1;
    padding: 40px;
    min-width: 0;
}

.restaurant-card__form-side {
    width: 425px;
    flex-shrink: 0;
    padding: 40px;
    border-left: 1px solid #e0e0e0;
}

@media (max-width: 1024px) {
    .restaurant-card__body {
        flex-direction: column;
    }
    .restaurant-card__form-side {
        width: 100%;
        border-left: none;
        border-top: 1px solid #e0e0e0;
    }
    .restaurant-card__header {
        aspect-ratio: 2 / 1;
    }
}
@media (max-width: 640px) {
    .restaurant-card__header {
        aspect-ratio: 16 / 9;
    }
    .restaurant-card__name {
        font-size: 32px;
    }
}

.restaurant-card__section {
    margin-bottom: 30px;
}

.restaurant-card__section-title {
    font-family: 'IgraSans', sans-serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: #272525;
}

.restaurant-card__address {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff2c33;
    font-weight: 600;
    margin-bottom: 15px;
}

.restaurant-card__more {
    margin-top: 20px;
}

/* Контейнер детальной страницы */
.restaurant-detail-container {
    padding-top: 0;
    margin-bottom: 62px;
}

/* Hero детальной страницы */
.restaurant-hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 1020 / 375;
    border-radius: 24px;
    overflow: hidden;
    color: #fff;
    margin-top: 62px !important; /* Явный отступ от хлебных крошек */
    margin-bottom: 0;
    clear: both; /* Сброс если хлебные крошки флоатят */
}

.restaurant-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.restaurant-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.restaurant-hero__content-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px;
    z-index: 3;
    pointer-events: none;
}

.restaurant-hero__content {
    max-width: 800px;
}

.restaurant-hero__title {
    font-family: 'IgraSans', sans-serif;
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.restaurant-hero__address {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .restaurant-hero { aspect-ratio: 16 / 9; }
    .restaurant-hero__content-wrapper { padding: 30px; }
    .restaurant-hero__title { font-size: 32px; }
    .restaurant-hero__address { font-size: 14px; }
    .restaurant-detail-container { margin-top: 30px; margin-bottom: 30px; }
}

/* Навигация слайдера */
.restaurant-gallery-prev,
.restaurant-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff !important;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    transition: background 0.3s, opacity 0.3s, transform 0.2s !important;
    opacity: 1;
    z-index: 50; /* Максимальный приоритет над оверлеем */
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    pointer-events: auto !important; /* Гарантируем прием клика */
}

.restaurant-gallery-prev {
    left: 20px;
}

.restaurant-gallery-next {
    right: 20px;
}

.restaurant-gallery-prev:hover,
.restaurant-gallery-next:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.restaurant-gallery-prev::after,
.restaurant-gallery-next::after {
    display: none !important; /* Убираем дефолтные иконки Swiper */
}

.restaurant-gallery-prev:hover,
.restaurant-gallery-next:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Контейнеры карт и панорам */
.map-container, .panorama-container {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    background: #f5f5f5;
}

.map-container iframe, .panorama-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Боковая колонка и форма */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar__events {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
}

.restaurant-card__info .sidebar__events {
    background: #fff;
    padding: 30px 30px 30px 0px;
    border-radius: 24px;
}

/* Ближайшие вечера */
.restaurant-events {
    margin-bottom: 25px;
}

.restaurant-events__title {
    font-family: 'IgraSans', sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
    color: #272525;
}

.restaurant-events__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.restaurant-event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid #f0f0f0;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.restaurant-event-item:hover {
    border-color: #ff2c33;
    box-shadow: 0 2px 12px rgba(255, 44, 51, 0.1);
}

.restaurant-event-item__date {
    background: #f5f5f5;
    border-radius: 10px;
    min-width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    text-align: center;
    flex-shrink: 0;
}

.restaurant-event-item__day {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #ff2c33;
}

.restaurant-event-item__month {
    font-size: 10px;
    text-transform: uppercase;
    color: #888;
}

.restaurant-event-item__content {
    min-width: 0;
}

.restaurant-event-item__link {
    font-size: 13px;
    font-weight: 600;
    color: #272525;
    line-height: 1.3;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 600px) {
    .restaurant-events__grid {
        grid-template-columns: 1fr;
    }
}

/* Sticky Sidebar */
@media (min-width: 1025px) {
    .sidebar {
        position: sticky;
        top: 50px;
        align-self: flex-start;
        z-index: 10;
        margin-bottom: 60px;
    }

    /* Форма внутри sticky-сайдбара не должна иметь собственный sticky,
       иначе она продолжает движение после остановки сайдбара */
    .sidebar .booking-form {
        position: relative;
        top: auto;
    }
}

.restaurant-hero {
    min-height: 375px;
}

/* Стили для маршрута как в fl_events */
.section__path {
    margin-top: 20px;
}

.section__path-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.section__path-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.section__path-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #f5f5f5;
    border-radius: 12px;
    text-decoration: none;
    color: #272525;
    font-weight: 500;
    transition: background 0.2s;
    font-size: 14px;
}

.section__path-button:hover {
    background: #e0e0e0;
}

.section__path-button img {
    width: 24px;
    height: 24px;
}

/* ─── Типографика внутри .section__paragraph (rich-text контент) ─── */

.section__paragraph p {
    margin-bottom: 1em;
}

.section__paragraph p:last-child {
    margin-bottom: 0;
}

.section__paragraph h2,
.section__paragraph h3,
.section__paragraph h4,
.section__paragraph h5,
.section__paragraph h6 {
    font-family: IgraSans, sans-serif;
    font-weight: 400;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

.section__paragraph h4 {
    font-size: 1.1em;
}

.section__paragraph a {
    color: #ff2c33;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s;
    word-break: break-word;
}

.section__paragraph a:hover {
    opacity: 0.7;
    text-decoration: none;
}

.section__paragraph ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1em;
    margin-left: 1em;
}

.section__paragraph ul > li {
    position: relative;
    padding-left: 20px;
}

.section__paragraph ul > li::before {
    content: '';
    background-color: #ff2c33;
    border-radius: 999px;
    width: 6px;
    height: 6px;
    display: block;
    position: absolute;
    left: 0;
    top: 9px;
}

.section__paragraph ol {
    list-style: none;
    counter-reset: sp-counter;
    padding-left: 0;
    margin-bottom: 1em;
    margin-left: 1em;
}

.section__paragraph ol > li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.4em;
    line-height: 1.5;
}

.section__paragraph ol > li::before {
    counter-increment: sp-counter;
    content: counter(sp-counter) '.';
    color: #ff2c33;
    font-weight: 700;
    position: absolute;
    left: 0;
}

.section__paragraph li:last-child {
    margin-bottom: 0;
}

.section__paragraph ul ul,
.section__paragraph ol ol,
.section__paragraph ul ol,
.section__paragraph ol ul {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

.section__paragraph b,
.section__paragraph strong {
    font-weight: 600;
}

.section__paragraph i,
.section__paragraph em {
    font-style: italic;
}


/* End */


/* Start:/bitrix/components/bitrix/system.pagenavigation/templates/round/style.min.css?15002631282530*/
.bx-pagination{margin:10px 0}.bx-pagination .bx-pagination-container{text-align:center;position:relative}.bx-pagination .bx-pagination-container ul{padding:0;margin:0;list-style:none;display:inline-block}.bx-pagination .bx-pagination-container ul li{display:inline-block;margin:0 2px 15px 2px}.bx-pagination .bx-pagination-container ul li span{-webkit-transition:color .3s ease,background-color .3s ease,border-color .3s ease;-moz-transition:color .3s ease,background-color .3s ease,border-color .3s ease;-ms-transition:color .3s ease,background-color .3s ease,border-color .3s ease;-o-transition:color .3s ease,background-color .3s ease,border-color .3s ease;transition:color .3s ease,background-color .3s ease,border-color .3s ease;background:#eff0f1;padding:0 8px;display:block;height:32px;min-width:32px;line-height:32px;color:#444;font-size:14px;border-radius:16px;vertical-align:middle;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bx-pagination .bx-pagination-container ul li a{text-decoration:none;display:block;border-radius:16px;height:32px;min-width:32px;line-height:32px;color:#444;vertical-align:middle}.bx-pagination .bx-pagination-container ul li a:hover span{background:#dadada}.bx-pagination .bx-pagination-container ul li.bx-active span{background:#0083d1;color:#fff}.bx-pagination .bx-pagination-container ul li.bx-pag-all a span,.bx-pagination .bx-pagination-container ul li.bx-pag-prev a span,.bx-pagination .bx-pagination-container ul li.bx-pag-next a span{background:#fff;border:2px solid #eff0f1;line-height:28px;padding:0 18px;color:#444}.bx-pagination .bx-pagination-container ul li.bx-pag-all span,.bx-pagination .bx-pagination-container ul li.bx-pag-prev span,.bx-pagination .bx-pagination-container ul li.bx-pag-next span{color:#aab1b4;background:#fff;border:2px solid #eff0f1;line-height:28px;padding:0 18px}.bx-pagination .bx-pagination-container ul li.bx-pag-all a:hover span,.bx-pagination .bx-pagination-container ul li.bx-pag-prev a:hover span,.bx-pagination .bx-pagination-container ul li.bx-pag-next a:hover span{background:#fff;border-color:#dadada;color:#000}.bx-pagination.bx-green .bx-pagination-container ul li.bx-active span{background:#3bc915;color:#fff}.bx-pagination.bx-yellow .bx-pagination-container ul li.bx-active span{background:#f9a91d;color:#fff}.bx-pagination.bx-red .bx-pagination-container ul li.bx-active span{background:#e22b2b;color:#fff}.bx-pagination.bx-blue .bx-pagination-container ul li.bx-active span{background:#0083d1;color:#fff}
/* End */


/* Start:/local/templates/Fastlife-2-0/components/bitrix/news.list/fl_restaurants_preview/style.css?17836621731675*/
.restaurants-preview {
    margin-top: 80px;
    margin-bottom: 60px;
}

.restaurants-preview__title {
    margin-bottom: 40px;
}

.restaurants-preview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.restaurants-preview__item {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    transition: transform 0.3s ease;
}

.restaurants-preview__item:hover {
    transform: translateY(-5px);
}

.restaurants-preview__image-wrap {
    position: relative;
    width: 100%;
    padding-top: 66.66%; /* 3:2 Aspect Ratio */
}

.restaurants-preview__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.restaurants-preview__item:hover .restaurants-preview__image {
    transform: scale(1.05);
}

.restaurants-preview__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
}

.restaurants-preview__name {
    color: #fff;
    font-family: 'IgraSans', sans-serif;
    font-size: 20px;
    line-height: 1.2;
}

@media (max-width: 640px) {
    .restaurants-preview__grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }
    .restaurants-preview__name {
        font-size: 16px;
    }
    .restaurants-preview__overlay {
        padding: 20px 10px 10px;
    }
}

/* End */
/* /local/templates/Fastlife-2-0/components/bitrix/news/fl_restaurants/style.css?178366217311225 */
/* /bitrix/components/bitrix/system.pagenavigation/templates/round/style.min.css?15002631282530 */
/* /local/templates/Fastlife-2-0/components/bitrix/news.list/fl_restaurants_preview/style.css?17836621731675 */
