/* Светлая тема главной (по умолчанию — тёмная). html[data-theme="light"]. */

html[data-theme="light"] body {
    background: linear-gradient(135deg, #f3ecdc 0%, #ece2cd 50%, #e7dcc6 100%) !important;
}

/* ===== Цвета текста ===== */
/* Мастер-классы/события — как «О ресторане» (яркое gold) */
.event-text, .event-title, .event-date {
    color: gold !important;
}
/* Отзывы и футер — просто золотой #dfb268 */
.review-title, .review-text, .review-date,
.footer-brand, .footer-year, .footer-tagline, .footer-legal,
.footer-title, .footer-contact-line, .footer-contact-line a,
.footer-menu a, .footer-policy-links a, .footer-separator, .footer a {
    color: #dfb268 !important;
}

/* ===== Светлая тема: убрать тёмные подложки футера/отзывов ===== */
html[data-theme="light"] .footer,
html[data-theme="light"] #osOtGostey,
html[data-theme="light"] .guest-reviews_,
html[data-theme="light"] #reviews-form-section,
html[data-theme="light"] .reviews-section {
    background: transparent !important;
}

/* ===== Светлая тема: матовое стекло за текстом ===== */
html[data-theme="light"] .o_restorane .p,
html[data-theme="light"] .o_restorane p,
html[data-theme="light"] .contacts .p,
html[data-theme="light"] .event .event-text,
html[data-theme="light"] .review,
html[data-theme="light"] .reviews-form-wrapper,
html[data-theme="light"] .footer-inner {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
}

/* ===== Светлая тема: поля формы отзыва — светлые, не тёмные ===== */
html[data-theme="light"] .reviews-input,
html[data-theme="light"] .reviews-textarea {
    background-color: #ffffff !important;
    color: #333333 !important;
}
html[data-theme="light"] .reviews-input::placeholder,
html[data-theme="light"] .reviews-textarea::placeholder {
    color: #9a8f78 !important;
}

/* ===== Вёрстка: полная ширина экрана (обе темы) ===== */
.parallax {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}
.header-line {
    max-width: 100% !important;
    left: 0 !important;
    transform: none !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
}
/* Убрать дёрганье фиксированного фона (параллакс-баннер) */
.galery { background-attachment: scroll !important; }

/* Блок «Кухня» (слайдер), карта в контактах и футер — во всю ширину экрана */
.wrapper_,
.map-container,
.footer {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}
.map-container iframe,
.map-container ymaps,
.map-container .map-container_script { width: 100% !important; }
.footer-inner {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 5% !important;
    padding-right: 5% !important;
    box-sizing: border-box;
}

/* ===== Кнопка-переключатель: маленькая, справа внизу ===== */
.theme-fab {
    position: fixed !important;
    right: 16px !important;
    bottom: 16px !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: max-content !important;
    display: inline-flex !important;
    align-items: center;
    z-index: 99999 !important;
    background: #dfb268 !important;
    color: #1a1a1a !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35) !important;
    font-family: "Open Sans", Arial, sans-serif !important;
}
.theme-fab:hover { filter: brightness(1.05); }
