@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//kursi.mediakit.by/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=7.5.0") format("woff2");
}

:root {
	--wd-text-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(36,41,43);
	--wd-text-font-size: 16px;
	--wd-title-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(85,128,99);
	--wd-entities-title-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 16px;
	--wd-brd-radius: 15px;
	--wd-primary-color: rgb(85,128,99);
	--wd-alternative-color: rgb(211,125,99);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(165,175,135);
	--btn-accented-bgcolor-hover: rgb(150,159,123);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
.page-title-default {
	background-image: url(https://kursi.mediakit.by/wp-content/uploads/2023/03/sl3.webp);
	background-size: cover;
	background-position: center center;
}
.footer-container {
	background-color: rgb(47,72,55);
	background-image: none;
}
html .wd-nav-mobile > li > a {
	text-transform: capitalize;
}
.page .main-page-wrapper {
	background-color: rgb(244,247,245);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .main-page-wrapper {
	background-color: rgb(244,247,245);
	background-image: none;
}
.single-product .main-page-wrapper {
	background-color: rgb(244,247,245);
	background-image: none;
}
.woodmart-archive-blog .main-page-wrapper {
	background-color: rgb(244,247,245);
	background-image: none;
}
.single-post .main-page-wrapper {
	background-color: rgb(244,247,245);
	background-image: none;
}
.woodmart-archive-portfolio .main-page-wrapper {
	background-color: rgb(244,247,245);
	background-image: none;
}
.single-portfolio .main-page-wrapper {
	background-color: rgb(244,247,245);
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}

@media (min-width: 1222px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}


/* ==========================================================================
   ОГЛАВЛЕНИЕ:
   0. CSS-ПЕРЕМЕННЫЕ (НАСТРОЙКА ЦВЕТОВ)
   1. ОБЩИЕ СБРОСЫ И УТИЛИТЫ ТЕМЫ WOODMART
   2. ОБЩИЕ ЭФФЕКТЫ: МАТОВОЕ СТЕКЛО И АНИМАЦИИ ИКОНОК
   3. ПРОСТЫЕ КАРТОЧКИ (ПОДЪЕМ)
   4. КАРТОЧКИ С ФОТО ДО КРАЕВ И БОКОВЫЕ ПАНЕЛИ
   5. ПРОСТЫЕ ВЕРХНИЕ ВКЛАДКИ
   6. ВКЛАДКИ ИНФРАСТРУКТУРЫ (С ФОТО)
   7. СТРОКИ РАСПИСАНИЯ (ПИТАНИЕ)
   8. ПРЕМИУМ АККОРДЕОН И ОБЕРТКИ ТАБЛИЦ ЦЕН
   9. ВНУТРЕННОСТИ ТАБЛИЦ ЦЕН (ПРАЙСЫ)
   10. MOTOPRESS: ШАПКИ СТРАНИЦ И СКРЫТИЕ ЛИШНИХ ЭЛЕМЕНТОВ
   11. MOTOPRESS: СЕТКА ВНУТРИ НОМЕРА (ДВЕ КОЛОНКИ)
   12. MOTOPRESS: КАЛЕНДАРИ (DATEPICK)
   13. MOTOPRESS: ФОРМА БРОНИРОВАНИЯ В КАРТОЧКЕ
   14. ФОРМЫ СВЯЗИ (CF7) И ПЛАВАЮЩАЯ ПАНЕЛЬ КОНТАКТОВ
   15. MOTOPRESS: ГОРИЗОНТАЛЬНЫЕ ФОРМЫ ПОИСКА (СЛАЙДЕР И СТРАНИЦЫ)
   16. MOTOPRESS: СТРАНИЦА РЕЗУЛЬТАТОВ ПОИСКА (СЕТКА)
   17. MOTOPRESS: СИСТЕМНЫЕ СТРАНИЦЫ (ОФОРМЛЕНИЕ, АККАУНТ, ЧЕКИ)
========================================================================== */

/* =========================================
   0. CSS-ПЕРЕМЕННЫЕ (ГЛОБАЛЬНАЯ ПАЛИТРА)
========================================= */
:root {
    --brand-primary: #558063;
    --brand-secondary: #A3BCA9;
    --brand-bg: #F4F7F5;
    --brand-text: #2A332C;
    --glass-bg: rgba(244, 247, 245, 0.1);
    --glass-bg-hover: rgba(244, 247, 245, 0.2);
    --glass-border: rgba(244, 247, 245, 0.2);
    --glass-border-hover: rgba(244, 247, 245, 0.4);
}

/* =========================================
   1. ОБЩИЕ СБРОСЫ И УТИЛИТЫ ТЕМЫ WOODMART
========================================= */
/* Скрытие декоративных элементов вкладок */
.custom-styled-tabs .wd-nav-tabs > li > a:after,
.custom-styled-tabs .wd-nav-tabs > li > a:before,
.custom-styled-tabs .wd-nav-tabs > li > .nav-link-text:after,
.custom-infrastructure-tabs .wd-tabs-header:after,
.custom-infrastructure-tabs .wd-nav-tabs:before,
.custom-infrastructure-tabs .wd-nav-tabs > li > a:after,
.custom-infrastructure-tabs .wd-nav-tabs > li > .nav-link-text:after {
    display: none !important; 
}

/* Липкая шапка (при скролле) */
.whb-row {
    transition: background-color 0.4s ease-in-out !important;
}

.whb-sticked .whb-sticky-row,
.whb-clone .whb-sticky-row {
    background-color: var(--brand-primary) !important; 
}

/* Глобальные кастомные утилиты */
.subtitle-color-default {
    margin-bottom: 0 !important; 
    font-weight: 600 !important;
}

.hidden-fields-container {
    display: none !important;
}

/* =========================================
   2. ОБЩИЕ ЭФФЕКТЫ: МАТОВОЕ СТЕКЛО И АНИМАЦИИ ИКОНОК
========================================= */
/* Стеклянные карточки инфо-боксов */
.glass-services-column .wd-info-box,
.glass-features-row .wd-info-box {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border) !important;
    padding: 15px 5px !important; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    transition: all 0.3s ease !important; 
    transform: translateZ(0); 
    will-change: transform;
}

.glass-services-column .wd-info-box:hover,
.glass-features-row .wd-info-box:hover {
    transform: translateY(-6px) translateZ(0) !important;
    background: var(--glass-bg-hover) !important; 
    border-color: var(--glass-border-hover) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
}

.glass-services-column .info-box-wrapper,
.glass-features-row .info-box-wrapper { 
    height: 100%; 
}

/* Глобальная анимация увеличения иконок при наведении */
.custom-hover-card .info-box-icon,
.glass-features-row .info-box-icon,
.custom-transparent-lift .info-box-icon {
    transition: transform 0.3s ease-in-out !important; 
    transform: translateZ(0); 
    will-change: transform;
}

.custom-hover-card:hover .info-box-icon,
.glass-features-row .wd-info-box:hover .info-box-icon,
.custom-transparent-lift:hover .info-box-icon {
    transform: scale(1.15) translateZ(0) !important;
}

/* Прозрачные инфо-боксы (подъем без фона и тени) */
.custom-transparent-lift {
    transition: transform 0.3s ease-in-out !important;
    transform: translateZ(0);
}

.custom-transparent-lift:hover {
    transform: translateY(-8px) translateZ(0) !important;
}

/* Утилита: Сжатие расстояния между заголовком и цифрой */
.compact-info-text .info-box-subtitle {
    margin-bottom: 2px !important;
    line-height: 1.1 !important;
}

.compact-info-text .info-box-title {
    margin-top: 0 !important;
}

/* =========================================
   3. ПРОСТЫЕ КАРТОЧКИ (ПОДЪЕМ БЕЗ СТЕКЛА)
========================================= */
.custom-hover-card .vc_column-inner { 
    transition: all 0.3s ease-in-out !important; 
}

.custom-hover-card:hover .vc_column-inner {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12) !important;
}

/* =========================================
   4. КАРТОЧКИ С ФОТО ДО КРАЕВ И БОКОВЫЕ ПАНЕЛИ
========================================= */
/* Тень для всех трех видов карточек */
.custom-room-card > .vc_column-inner,
.custom-doc-card > .vc_column-inner,
.custom-sidebar-shadow > .vc_column-inner {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08) !important; 
    transition: all 0.3s ease-in-out !important; 
    transform: translateZ(0);
}

/* Эффект подъема и усиления тени ТОЛЬКО для карточек с фото */
.custom-room-card:hover > .vc_column-inner,
.custom-doc-card:hover > .vc_column-inner {
    transform: translateY(-8px) translateZ(0) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important; 
}

/* Фон, отступы и обрезка ТОЛЬКО для карточек с фото 
   (сайдбар не трогаем, чтобы он остался белым) */
.custom-room-card > .vc_column-inner,
.custom-doc-card > .vc_column-inner {
    background-color: var(--brand-bg) !important;
    padding: 0 !important; 
    overflow: hidden !important; 
}

/* Настройки фото внутри карточек */
.custom-room-card .wd-image, 
.custom-doc-card .wd-image { 
    margin: 0 !important; 
    width: 100% !important; 
}

.custom-room-card .wd-image img, 
.custom-doc-card .wd-image img { 
    width: 100% !important; 
    border-radius: 0 !important; 
}

/* Отступы контента внутри карточек */
.custom-room-card > .vc_column-inner > .wpb_wrapper,
.custom-doc-card > .vc_column-inner > .wpb_wrapper {
    display: flex; 
    flex-direction: column; 
    height: 100%; 
}

.custom-room-card > .vc_column-inner > .wpb_wrapper > *:not(.wd-image) { 
    padding: 0 30px !important; 
}

.custom-room-card > .vc_column-inner > .wpb_wrapper > .wd-image + * { 
    padding-top: 25px !important; 
}

.custom-room-card > .vc_column-inner > .wpb_wrapper > *:last-child { 
    padding-bottom: 30px !important; 
}

.custom-room-card > .vc_column-inner > .wpb_wrapper > *:nth-last-child(3) { 
    margin-top: auto !important; 
    padding-top: 25px !important; 
}

.custom-doc-card > .vc_column-inner > .wpb_wrapper > *:not(.wd-image) { 
    padding: 0 25px !important; 
}

.custom-doc-card > .vc_column-inner > .wpb_wrapper > .wd-image + * { 
    padding-top: 25px !important; 
}

.custom-doc-card > .vc_column-inner > .wpb_wrapper > *:last-child { 
    padding-bottom: 25px !important; 
    margin-top: auto !important; 
}

/* =========================================
   5. ПРОСТЫЕ ВЕРХНИЕ ВКЛАДКИ
========================================= */
.custom-styled-tabs .wd-nav-tabs > li { 
    margin: 0 10px 10px 0 !important; 
}

.custom-styled-tabs .wd-nav-tabs > li > a {
    text-transform: none !important; 
    font-size: 14px !important; 
    font-weight: 500 !important;
    background-color: #e6ede8 !important; 
    border-radius: 35px !important; 
    color: var(--brand-text) !important; 
    padding: 10px 25px !important; 
    transition: all 0.3s ease !important;
}

.custom-styled-tabs .wd-nav-tabs > li.wd-active > a {
    background-color: var(--brand-primary) !important; 
    color: var(--brand-bg) !important; 
    border-color: var(--brand-primary) !important;
}

.custom-styled-tabs .wd-nav-tabs > li:not(.wd-active) > a:hover {
    background-color: #A3BCA9AB !important; 
    color: var(--brand-text) !important;
}

/* =========================================
   6. ВКЛАДКИ ИНФРАСТРУКТУРЫ (С ФОТО СБОКУ)
========================================= */
.custom-infrastructure-tabs .wd-nav-tabs { 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 15px !important; 
    padding: 0 !important; 
}

.custom-infrastructure-tabs .wd-nav-tabs > li { 
    margin: 0 !important; 
    width: 100% !important; 
}

.custom-infrastructure-tabs .wd-nav-tabs > li > a {
    display: flex !important; 
    align-items: center; 
    background-color: #ffffff !important; 
    border-radius: 15px !important;
    padding: 20px 25px !important; 
    border: 1px solid transparent !important; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
    text-align: left !important; 
    text-transform: none !important; 
    color: var(--brand-text) !important; 
    transition: all 0.3s ease !important;
}

.custom-infrastructure-tabs .wd-nav-tabs > li > a .img-wrapper { 
    color: var(--brand-text) !important; 
    margin-right: 15px !important; 
    font-size: 18px !important; 
}

.custom-infrastructure-tabs .nav-link-text { 
    display: flex; 
    flex-direction: column; 
}

.custom-infrastructure-tabs .nav-link-text::after { 
    content: "Нажмите, чтобы посмотреть фото"; 
    font-size: 13px; 
    font-weight: 400; 
    color: var(--brand-secondary); 
    margin-top: 4px; 
}

.custom-infrastructure-tabs .wd-nav-tabs > li.wd-active > a::after { 
    content: '' !important; 
    display: block !important; 
    width: 8px !important; 
    height: 8px !important; 
    border-top: 2px solid var(--brand-primary) !important; 
    border-right: 2px solid var(--brand-primary) !important; 
    transform: rotate(45deg) !important; 
    margin-left: auto !important; 
}

.custom-infrastructure-tabs .wd-nav-tabs > li.wd-active > a { 
    border-color: #A3BCA980 !important; 
    background-color: var(--brand-bg) !important; 
    color: var(--brand-primary) !important; 
}

.custom-infrastructure-tabs .wd-nav-tabs > li.wd-active > a .img-wrapper { 
    color: var(--brand-primary) !important; 
}

/* Адаптив инфраструктурных вкладок */
@media (min-width: 769px) {
    .custom-infrastructure-tabs .wd-tabs.tabs-design-aside { 
        display: grid !important; 
        grid-template-columns: 1fr 1fr !important; 
        gap: 30px !important; 
        align-items: stretch !important; 
    }
    .custom-infrastructure-tabs .wd-tabs-header, 
    .custom-infrastructure-tabs .wd-tab-content-wrapper { 
        width: 100% !important; 
        max-width: none !important; 
        padding: 0 !important; 
        border: none !important; 
    }
}

@media (max-width: 768px) {
    .custom-infrastructure-tabs .wd-tabs.tabs-design-aside { 
        display: grid !important; 
        grid-template-columns: 1fr !important; 
        gap: 20px !important; 
    }
    .custom-infrastructure-tabs .wd-tabs.tabs-design-aside::before, 
    .custom-infrastructure-tabs .wd-tabs.tabs-design-aside::after { 
        display: none !important; 
        content: none !important; 
    }
    .custom-infrastructure-tabs .wd-tab-content-wrapper { 
        order: 1 !important; 
        height: 300px !important; 
        width: 100% !important; 
    }
    .custom-infrastructure-tabs .wd-tabs-header { 
        order: 2 !important; 
        width: 100% !important; 
    }
}

.custom-infrastructure-tabs .wd-tab-content.wd-active, 
.custom-infrastructure-tabs .wd-tab-content.wd-active > .vc_row, 
.custom-infrastructure-tabs .wd-tab-content.wd-active .wpb_column, 
.custom-infrastructure-tabs .wd-tab-content.wd-active .vc_column-inner, 
.custom-infrastructure-tabs .wd-tab-content.wd-active .wpb_wrapper, 
.custom-infrastructure-tabs .wd-tab-content.wd-active .wd-images-gallery, 
.custom-infrastructure-tabs .wd-tab-content.wd-active .wd-grid-g, 
.custom-infrastructure-tabs .wd-tab-content.wd-active .wd-gallery-item, 
.custom-infrastructure-tabs .wd-tab-content.wd-active a, 
.custom-infrastructure-tabs .wd-tab-content-wrapper { 
    height: 100% !important; 
}

.custom-infrastructure-tabs .wd-gallery-image { 
    height: 100% !important; 
    object-fit: cover !important; 
    border-radius: 15px !important; 
}

/* =========================================
   7. СТРОКИ РАСПИСАНИЯ (ПИТАНИЕ)
========================================= */
.custom-meal-row { 
    transition: all 0.3s ease !important; 
    transform: translateZ(0); 
}

.custom-meal-row:hover { 
    transform: translateY(-6px) translateZ(0) !important; 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important; 
}

.custom-meal-row .wd-info-box { 
    transition: transform 0.3s ease !important; 
    transform: translateZ(0); 
}

.custom-meal-row:hover .wd-info-box { 
    transform: scale(1.05) translateZ(0) !important; 
}

.custom-meal-row .info-box-title { 
    margin-bottom: 2px !important; 
    padding-bottom: 0 !important; 
}

.custom-meal-row .info-box-inner p { 
    margin: 0 !important; 
    line-height: 1.2 !important; 
}

/* =========================================
   8. ПРЕМИУМ АККОРДЕОН И ОБЕРТКИ ТАБЛИЦ ЦЕН
========================================= */
.custom-premium-accordion .wd-accordion-item, 
.custom-price-table .wd-el-table-wrap {
    background-color: #ffffff !important; 
    border-radius: 15px !important; 
    margin-bottom: 15px !important;
    border: 1px solid rgba(85, 128, 99, 0.15) !important; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s ease !important; 
    transform: translateZ(0);
}

.custom-premium-accordion .wd-accordion-item { 
    overflow: hidden !important; 
}

.custom-price-table .wd-el-table-wrap { 
    overflow-x: auto !important; 
    overflow-y: hidden !important; 
    -webkit-overflow-scrolling: touch; 
}

.custom-premium-accordion .wd-accordion-item:hover, 
.custom-price-table:hover .wd-el-table-wrap {
    transform: translateY(-4px) translateZ(0) !important; 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important; 
    border-color: rgba(85, 128, 99, 0.4) !important;
}

.custom-premium-accordion .wd-accordion-title { 
    padding: 20px 25px !important; 
    border: none !important; 
    color: var(--brand-text) !important; 
    transition: color 0.3s ease !important; 
}

.custom-premium-accordion .wd-accordion-opener { 
    color: var(--brand-primary) !important; 
    transition: transform 0.3s ease !important; 
}

.custom-premium-accordion .wd-accordion-item.wd-active { 
    border-color: var(--brand-primary) !important; 
}

.custom-premium-accordion .wd-accordion-title.wd-active { 
    color: var(--brand-primary) !important; 
}

.custom-premium-accordion .wd-accordion-content { 
    padding: 0 25px 25px 25px !important; 
    color: var(--brand-text) !important; 
    opacity: 0.85; 
}

.custom-premium-accordion .wd-accordion-content p:last-child { 
    margin-bottom: 0 !important; 
}

/* =========================================
   9. ВНУТРЕННОСТИ ТАБЛИЦ ЦЕН (ПРАЙСЫ)
========================================= */
.custom-price-table .wd-el-table { 
    border: none !important; 
    width: 100% !important; 
    margin: 0 !important; 
}

.custom-price-table th { 
    background: var(--brand-primary) !important; 
    color: var(--brand-bg) !important; 
    font-weight: 600 !important; 
    font-size: 14px !important; 
    text-transform: uppercase !important; 
    border: none !important; 
    border-bottom: 2px solid rgba(85, 128, 99, 0.15) !important; 
    padding: 16px 20px !important; 
    text-align: left !important; 
    white-space: nowrap !important; 
}

.custom-price-table th:first-child { 
    border-top-left-radius: 14px !important; 
}

.custom-price-table th:last-child { 
    border-top-right-radius: 14px !important; 
}

.custom-price-table td { 
    padding: 16px 20px !important; 
    border: none !important; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important; 
    font-size: 14px !important; 
    color: var(--brand-text) !important; 
    transition: background-color 0.2s ease !important; 
    white-space: nowrap !important; 
}

.custom-price-table tr:last-child td { 
    border-bottom: none !important; 
}

.custom-price-table td:first-child { 
    color: var(--brand-primary) !important; 
    font-weight: 600 !important; 
    width: 35% !important; 
    white-space: normal !important; 
    min-width: 220px !important; 
}

.custom-price-table tbody tr:hover td { 
    background-color: rgba(163, 188, 169, 0.15) !important; 
}

@media (max-width: 768px) { 
    .custom-price-table th, 
    .custom-price-table td { 
        padding: 12px 14px !important; 
        font-size: 13px !important; 
    } 
}

/* ==========================================================================
   10. MOTOPRESS: ШАПКИ СТРАНИЦ И СКРЫТИЕ ЛИШНИХ ЭЛЕМЕНТОВ
========================================================================== */
body.single-mphb_room_type, 
.single-mphb_room_type .main-page-wrapper, 
.single-mphb_room_type .site-content,
body.post-type-archive-mphb_room_type,
.post-type-archive-mphb_room_type .main-page-wrapper,
.post-type-archive-mphb_room_type .site-content { 
    background-color: var(--brand-bg) !important; 
}

/* Главный блок с фоном */
.custom-room-title { 
    padding-top: 220px !important; 
    padding-bottom: 80px !important; 
    position: relative; 
    z-index: 1; 
    background-size: cover; 
    background-position: center; 
}

/* Адаптив для шапки на мобильных устройствах */
@media (max-width: 768px) {
    .custom-room-title { 
        padding-top: 120px !important;  
        padding-bottom: 40px !important; 
    }
    .custom-room-title h1.entry-title {
        font-size: 24px !important;
        margin-bottom: 10px !important;
    }
}

/* Темная полупрозрачная пленка поверх фото */
.custom-room-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background: rgba(0, 0, 0, 0.5); 
    z-index: -1; 
}

.custom-room-title h1.entry-title { 
    margin-bottom: 15px; 
    font-weight: 600; 
}

/* Скрываем стандартный заголовок темы ТОЛЬКО внутри карточки номера */
body.single-mphb_room_type .wd-entities-title, 
body.single-mphb_room_type .entry-header { 
    display: none !important; 
}

/* Скрываем мета-данные, автора и соцсети ТОЛЬКО на общей странице "Типы размещения" */
body.post-type-archive-mphb_room_type .wd-meta-author,
body.post-type-archive-mphb_room_type .wd-meta-date,
body.post-type-archive-mphb_room_type .wd-post-share {
    display: none !important; 
}

/* ==========================================================================
   11. MOTOPRESS: СЕТКА ВНУТРИ НОМЕРА (ДВЕ КОЛОНКИ)
========================================================================== */
/* Скрываем лишние системные элементы (детали, старую цену) */
.mphb-details-title,
.mphb-single-room-type-attributes,
.mphb-regular-price {
    display: none !important;
}

/* Сетка для календаря и формы бронирования */
.mphb-two-columns-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    align-items: stretch !important;
    margin-top: 40px !important;
}

@media (max-width: 992px) {
    .mphb-two-columns-wrapper {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

.mphb-col-calendar,
.mphb-col-form {
    display: flex !important;
    flex-direction: column !important;
}

.mphb-calendar-title,
.mphb-reservation-form-title {
    font-family: 'Montserrat', sans-serif !important;
    color: var(--brand-text) !important;
    font-weight: 600 !important;
    font-size: 24px !important;
    margin-top: 0 !important; 
    margin-bottom: 25px !important;
}

/* ==========================================================================
   12. MOTOPRESS: КАЛЕНДАРИ (DATEPICK)
========================================================================== */
.mphb-calendar {
    font-family: 'Montserrat', sans-serif !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

/* Объединенная белая карточка для календарей */
.mphb-calendar .datepick-multi,
.datepick-popup {
    font-family: 'Montserrat', sans-serif !important;
    background-color: #ffffff !important;
    border-radius: 15px !important;
    padding: 20px !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(85, 128, 99, 0.15) !important;
}

/* Высокий приоритет оставляем ТОЛЬКО для всплывающего календаря */
.datepick-popup {
    z-index: 999999 !important;
}

/* Статичный календарь опускаем на базовый уровень, чтобы он уходил ПОД шапку */
.mphb-calendar .datepick-multi {
    z-index: 1 !important;
    position: relative !important; 
}

.mphb-calendar .datepick-multi { 
    width: 100% !important; 
    display: block !important; 
    flex-grow: 1 !important; 
}

/* Скрываем второй месяц в основном календаре и растягиваем первый */
.mphb-calendar .datepick-month:not(.first) { 
    display: none !important; 
}

.mphb-calendar .datepick-month.first,
.datepick-popup .datepick-month {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Навигация (Стрелки) */
.mphb-calendar .datepick-nav,
.datepick-popup .datepick-nav {
    width: 100% !important;
    background: var(--brand-bg) !important;
    border-radius: 10px !important;
    margin-bottom: 15px !important;
    padding: 5px !important;
}

.mphb-calendar .datepick-nav a,
.datepick-popup .datepick-nav a {
    color: var(--brand-primary) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: background-color 0.3s ease, border-radius 0.3s ease !important;
}

.mphb-calendar .datepick-nav a:hover,
.datepick-popup .datepick-nav a:hover {
    background: #A3BCA940 !important;
    border-radius: 8px !important;
}

/* Заголовки и таблица дней */
.datepick-month-header select {
    appearance: none !important; 
    -webkit-appearance: none !important; 
    -moz-appearance: none !important;
    border: none !important; 
    background: transparent !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important; 
    font-weight: 600 !important;
    color: var(--brand-text) !important; 
    cursor: pointer !important; 
    padding: 0 5px !important;
}

.datepick-month-header select:focus { 
    outline: none !important; 
}

.datepick-month table { 
    width: 100% !important; 
    border-collapse: separate !important; 
    border-spacing: 4px !important; 
}

.datepick-month table th { 
    color: var(--brand-secondary) !important; 
    font-weight: 500 !important; 
    font-size: 13px !important; 
    border: none !important; 
    padding-bottom: 10px !important; 
}

.datepick-month table td span, 
.datepick-month table td a {
    border-radius: 8px !important; 
    font-size: 14px !important; 
    display: flex !important;
    align-items: center !important; 
    justify-content: center !important; 
    height: 38px !important; 
    text-decoration: none !important; 
    transition: all 0.2s ease !important;
}

.datepick-month table td span.mphb-available-date,
.datepick-month table td a { 
    background-color: var(--brand-secondary) !important; 
    color: var(--brand-bg) !important; 
    cursor: pointer !important; 
}

.datepick-month table td span.mphb-available-date:hover,
.datepick-month table td a:hover,
.datepick-month table td a.datepick-selected { 
    background-color: var(--brand-primary) !important; 
    transform: scale(1.08) !important; 
    box-shadow: 0 4px 10px rgba(85, 128, 99, 0.3) !important; 
}

/* Кнопки всплывающего календаря */
.datepick-popup .datepick-ctrl { 
    background: transparent !important; 
    border: none !important; 
    box-shadow: none !important; 
    padding-top: 15px !important; 
    margin: 0 !important; 
}

.datepick-popup .datepick-ctrl a { 
    color: var(--brand-primary) !important; 
    font-weight: 600 !important; 
    border: none !important; 
    background: transparent !important; 
}

/* ==========================================================================
   13. MOTOPRESS: ФОРМА БРОНИРОВАНИЯ В КАРТОЧКЕ
========================================================================== */
.mphb-booking-form {
    font-family: 'Montserrat', sans-serif !important;
    background-color: #ffffff !important;
    border-radius: 15px !important;
    padding: 30px !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(85, 128, 99, 0.15) !important;
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    align-items: flex-end;
    flex-grow: 1 !important;
}

.mphb-booking-form > p { 
    margin: 0 0 20px 0 !important; 
}

.mphb-required-fields-tip { 
    width: 100%; 
    color: var(--brand-secondary) !important; 
    font-size: 13px !important; 
    margin-bottom: 25px !important; 
}

/* Сетка инпутов */
.mphb-check-in-date-wrapper,
.mphb-check-out-date-wrapper,
.mphb-adults-wrapper,
.mphb-children-wrapper { 
    width: calc(50% - 10px); 
}

@media (max-width: 1199px) {
    .mphb-check-in-date-wrapper, 
    .mphb-check-out-date-wrapper, 
    .mphb-adults-wrapper, 
    .mphb-children-wrapper { 
        width: 100%; 
    }
}

.mphb-booking-form label { 
    display: block !important; 
    font-size: 16px !important; 
    font-weight: 600 !important; 
    color: var(--brand-text) !important; 
    margin-bottom: 8px !important; 
}

.mphb-booking-form label abbr { 
    color: #e74c3c !important; 
    border: none !important; 
    text-decoration: none !important; 
}

.mphb-booking-form input[type="text"],
.mphb-booking-form select {
    width: 100% !important; 
    height: 50px !important; 
    border: 1px solid rgba(85, 128, 99, 0.2) !important;
    border-radius: 25px !important; 
    padding: 0 20px !important; 
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important; 
    color: var(--brand-text) !important; 
    background-color: var(--brand-bg) !important;
    transition: all 0.3s ease !important; 
    -webkit-appearance: none; 
    appearance: none;
}

.mphb-booking-form input[type="text"]:focus,
.mphb-booking-form select:focus { 
    border-color: var(--brand-primary) !important; 
    box-shadow: 0 0 0 4px rgba(85, 128, 99, 0.1) !important; 
    outline: none !important; 
}

/* Кнопка */
.mphb-reserve-btn-wrapper { 
    width: 100%; 
    margin-top: 10px !important; 
    margin-bottom: 0 !important; 
}

input.mphb-reserve-btn {
    background-color: var(--brand-primary) !important; 
    color: var(--brand-bg) !important;
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 13px !important; 
    font-weight: 600 !important; 
    text-transform: uppercase !important;
    padding: 5px 30px !important; 
    border-radius: 35px !important; 
    border: none !important; 
    cursor: pointer !important; 
    transition: all 0.3s ease !important;
    width: auto !important; 
    display: inline-block !important;
}

input.mphb-reserve-btn:hover { 
    background-color: #3e6049 !important; 
    transform: translateY(-3px) !important; 
    box-shadow: 0 10px 25px rgba(85, 128, 99, 0.25) !important; 
}

/* ==========================================================================
   14. ФОРМЫ СВЯЗИ (CF7) И ПЛАВАЮЩАЯ ПАНЕЛЬ КОНТАКТОВ
========================================================================== */
.custom-contact-block .vc_inner { 
    display: flex !important; 
    gap: 15px !important; 
    align-items: center !important; 
}

.custom-contact-block .vc_inner .wpb_column { 
    width: auto !important; 
    padding-left: 0 !important; 
    padding-right: 0 !important; 
}

.custom-contact-block .info-box-title { 
    margin-bottom: 0 !important; 
    padding-bottom: 2px !important; 
}

.custom-contact-block .info-box-inner p, 
.custom-contact-block .info-box-inner { 
    margin-top: 0 !important; 
    padding-top: 0 !important; 
}

.custom-contact-block .info-box-wrapper { 
    margin-bottom: 12px !important; 
}

/* Подложка формы (Матовое стекло) */
.custom-contact-block > .wpb_column:last-child > .vc_column-inner {
    background: rgba(255, 255, 255, 0.55) !important; 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    border-radius: 0 15px 15px 0 !important; 
    padding: 50px 40px !important; 
    border: 1px solid rgba(255, 255, 255, 0.4) !important; 
    border-left: none !important; 
}

@media (max-width: 768px) {
    .custom-contact-block > .wpb_column:last-child > .vc_column-inner { 
        border-radius: 15px !important; 
        border-left: 1px solid rgba(255, 255, 255, 0.4) !important; 
        margin-top: 20px !important; 
        padding: 30px 20px !important; 
    }
    .custom-contact-block > .wpb_column:first-child > .vc_column-inner { 
        border-radius: 15px !important; 
    }
}

/* Сетка CF7 формы */
.custom-contact-block .custom-grid-row { 
    display: grid !important; 
    grid-template-columns: 1fr 1fr !important; 
    gap: 20px !important; 
}

@media (max-width: 768px) { 
    .custom-contact-block .custom-grid-row { 
        grid-template-columns: 1fr !important; 
    } 
}

.custom-contact-block .custom-radio-wrap, 
.custom-contact-block .custom-textarea-wrap, 
.custom-contact-block .custom-accept-wrap, 
.custom-contact-block .custom-submit-wrap { 
    margin-top: 15px !important; 
}

.custom-contact-block .wpcf7-form br { 
    display: none !important; 
}

/* Инпуты CF7 */
.custom-contact-block .wpcf7-form label, 
.custom-contact-block .custom-form-label { 
    font-size: 14px !important; 
    color: var(--brand-text) !important; 
    font-weight: 600 !important; 
    display: block !important; 
    margin-bottom: 0 !important; 
}

.custom-contact-block .custom-grid-col .wpcf7-form-control-wrap, 
.custom-contact-block .custom-textarea-wrap .wpcf7-form-control-wrap { 
    display: block !important; 
    margin-top: 10px !important; 
}

.custom-contact-block .wpcf7-form input[type="text"],
.custom-contact-block .wpcf7-form input[type="tel"],
.custom-contact-block .wpcf7-form textarea {
    width: 100% !important; 
    background: rgba(255, 255, 255, 0.25) !important; 
    border: 1px solid rgba(255, 255, 255, 0.6) !important; 
    backdrop-filter: blur(8px);
    border-radius: 25px !important; 
    padding: 0 20px !important; 
    height: 44px !important; 
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important; 
    color: var(--brand-text) !important; 
    transition: all 0.3s ease !important; 
    margin-top: 0 !important;
}

.custom-contact-block .wpcf7-form textarea { 
    height: 75px !important; 
    min-height: 75px !important; 
    max-height: 75px !important; 
    padding: 12px 20px !important; 
    border-radius: 15px !important; 
    resize: none !important; 
}

.custom-contact-block .wpcf7-form input:focus, 
.custom-contact-block .wpcf7-form textarea:focus { 
    background: rgba(255, 255, 255, 0.7) !important; 
    border-color: var(--brand-primary) !important; 
    outline: none !important; 
}

.custom-contact-block .wpcf7-form input::placeholder, 
.custom-contact-block .wpcf7-form textarea::placeholder { 
    color: rgba(42, 51, 44, 0.45) !important; 
    font-weight: 400 !important; 
}

/* Радиокнопки CF7 */
.custom-contact-block .wpcf7-radio { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
    margin-top: 0 !important; 
}

.custom-contact-block .wpcf7-radio .wpcf7-list-item { 
    margin: 0 !important; 
}

.custom-contact-block .wpcf7-radio input[type="radio"] { 
    display: none !important; 
}

.custom-contact-block .wpcf7-radio .wpcf7-list-item-label { 
    display: inline-block; 
    padding: 10px 20px !important; 
    background-color: rgba(255, 255, 255, 0.4) !important; 
    border: 1px solid rgba(255, 255, 255, 0.6) !important; 
    color: var(--brand-text) !important; 
    border-radius: 25px !important; 
    cursor: pointer; 
    font-size: 13px !important; 
    font-weight: 500 !important; 
    transition: all 0.3s ease !important; 
}

.custom-contact-block .wpcf7-radio input[type="radio"]:checked ~ span, 
.custom-contact-block .wpcf7-radio input[type="radio"]:checked + span { 
    background-color: var(--brand-primary) !important; 
    color: #ffffff !important; 
    border-color: var(--brand-primary) !important; 
    box-shadow: 0 4px 10px rgba(85, 128, 99, 0.3) !important; 
}

/* Чекбокс и Кнопка CF7 */
.custom-contact-block .wpcf7-acceptance .wpcf7-list-item-label { 
    font-size: 13px !important; 
    color: var(--brand-text) !important; 
    opacity: 0.8; 
    line-height: 1.4 !important; 
    margin-left: 5px !important; 
}

.custom-contact-block .wpcf7-submit { 
    width: 100% !important; 
    background-color: var(--brand-primary) !important; 
    color: #ffffff !important; 
    border-radius: 35px !important; 
    padding: 14px !important; 
    font-size: 15px !important; 
    font-weight: 600 !important; 
    border: none !important; 
    cursor: pointer !important; 
    transition: all 0.3s ease !important; 
    margin-top: 5px !important; 
}

.custom-contact-block .wpcf7-submit:hover { 
    background-color: #3e6049 !important; 
    transform: translateY(-3px) !important; 
    box-shadow: 0 10px 25px rgba(85, 128, 99, 0.25) !important; 
}

.custom-contact-block .wpcf7-spinner { 
    position: absolute; 
    bottom: 25px; 
    right: 30px; 
}

.custom-contact-block .wpcf7-not-valid-tip { 
    color: #9f173c !important; 
    font-size: 12px !important; 
    font-weight: 500 !important; 
    margin-top: 5px !important; 
    display: block !important; 
}

.custom-contact-block .wpcf7-response-output { 
    border-color: #9f173c !important; 
    color: #9f173c !important; 
    border-radius: 15px !important; 
    font-size: 13px !important; 
    margin: 15px 0 0 0 !important; 
}

/* Плавающая панель контактов */
.floating-contact-panel { 
    position: fixed; 
    top: 50%; 
    right: 20px; 
    transform: translateY(-50%); 
    z-index: 9999; 
    background-color: var(--brand-secondary); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); 
    border-radius: 50px; 
    padding: 10px 8px; 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.floating-contact-panel .fcp-item { 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 46px; 
    height: 46px; 
    border-radius: 50%; 
    text-decoration: none !important; 
}

.floating-contact-panel .fcp-item img { 
    width: 24px; 
    height: 24px; 
    object-fit: contain; 
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
}

.floating-contact-panel .fcp-item:hover img { 
    transform: scale(1.15); 
}

.floating-contact-panel .fcp-item:not(:last-child)::after { 
    content: ''; 
    position: absolute; 
    bottom: -8px; 
    left: 20%; 
    width: 60%; 
    height: 1px; 
    background-color: rgba(42, 51, 44, 0.2); 
    pointer-events: none; 
}

.floating-contact-panel .fcp-tooltip { 
    position: absolute; 
    right: calc(100% + 15px); 
    top: 50%; 
    transform: translateY(-50%) translateX(15px); 
    background-color: var(--brand-text); 
    color: var(--brand-bg); 
    padding: 6px 14px; 
    font-size: 13px !important; 
    border-radius: 8px; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 500; 
    white-space: nowrap; 
    opacity: 0; 
    visibility: hidden; 
    pointer-events: none; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
}

.floating-contact-panel .fcp-item:hover .fcp-tooltip { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(-50%) translateX(0); 
}

@media (max-width: 768px) {
    .floating-contact-panel { 
        right: 10px; 
        padding: 8px 6px; 
        gap: 12px; 
    }
    .floating-contact-panel .fcp-item { 
        width: 40px; 
        height: 40px; 
    }
    .floating-contact-panel .fcp-item:not(:last-child)::after { 
        bottom: -6px; 
    }
    .floating-contact-panel .fcp-tooltip { 
        display: none !important; 
    }
}

/* ==========================================================================
   15. MOTOPRESS: ГОРИЗОНТАЛЬНЫЕ ФОРМЫ ПОИСКА (СЛАЙДЕР И СТРАНИЦЫ)
========================================================================== */
.custom-glass-form form, 
.custom-brand-form form { 
    display: flex !important; 
    flex-direction: row !important; 
    flex-wrap: nowrap !important; 
    align-items: flex-end !important; 
    justify-content: space-between !important; 
    gap: 15px !important; 
    margin: 0 !important; 
    width: 100% !important; 
    font-family: 'Montserrat', sans-serif !important; 
}

.custom-glass-form form > p, 
.custom-brand-form form > p { 
    display: flex !important; 
    flex-direction: column !important; 
    margin-bottom: 0 !important; 
    flex: 1 1 auto !important; 
    width: auto !important; 
}

.custom-glass-form form br, 
.custom-brand-form form br, 
.custom-glass-form .mphb-required-fields-tip, 
.custom-brand-form .mphb-required-fields-tip, 
.custom-glass-form .mphb-errors-wrapper, 
.custom-brand-form .mphb-errors-wrapper { 
    display: none !important; 
}

.custom-glass-form .mphb-reserve-btn-wrapper, 
.custom-brand-form .mphb-reserve-btn-wrapper { 
    flex: 0 0 auto !important; 
}

/* Общие размеры полей */
.custom-glass-form input.mphb-datepick, 
.custom-glass-form select, 
.custom-brand-form input.mphb-datepick, 
.custom-brand-form select, 
.custom-glass-form input[type="submit"], 
.custom-brand-form input[type="submit"] { 
    height: 44px !important; 
    border-radius: 8px !important; 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 14px !important; 
    box-sizing: border-box !important; 
}

.custom-glass-form input.mphb-datepick, 
.custom-glass-form select, 
.custom-brand-form input.mphb-datepick, 
.custom-brand-form select { 
    padding: 0 15px !important; 
    width: 100% !important; 
    outline: none !important; 
}

.custom-glass-form input[type="submit"], 
.custom-brand-form input[type="submit"] { 
    padding: 0 30px !important; 
    font-weight: 600 !important; 
    cursor: pointer !important; 
    border: none !important; 
    transition: all 0.3s ease !important; 
}

/* Дизайн: Слайдер (Стекло) */
.custom-glass-form { 
    background: rgba(244, 247, 245, 0.15) !important; 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px); 
    border: 1px solid rgba(255, 255, 255, 0.2) !important; 
    border-radius: 15px !important; 
    padding: 20px 25px !important; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important; 
}

.custom-glass-form label { 
    color: #ffffff !important; 
    font-weight: 500 !important; 
    margin-bottom: 6px !important; 
    font-size: 15px !important; 
    text-shadow: 0 1px 3px rgba(0,0,0,0.5) !important; 
}

.custom-glass-form input.mphb-datepick, 
.custom-glass-form select { 
    background: rgba(255, 255, 255, 0.15) !important; 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px); 
    border: 1px solid rgba(255, 255, 255, 0.4) !important; 
    color: #ffffff !important; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.5) !important; 
    transition: all 0.3s ease !important; 
}

.custom-glass-form input.mphb-datepick::placeholder { 
    color: rgba(255, 255, 255, 0.8) !important; 
}

.custom-glass-form input.mphb-datepick:focus, 
.custom-glass-form select:focus { 
    background: rgba(255, 255, 255, 0.25) !important; 
    border-color: #ffffff !important; 
}

.custom-glass-form select option { 
    background: var(--brand-text) !important; 
    color: #ffffff !important; 
    text-shadow: none !important; 
}

.custom-glass-form input[type="submit"] { 
    background: var(--brand-primary) !important; 
    color: #ffffff !important; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important; 
}

.custom-glass-form input[type="submit"]:hover { 
    background: #ffffff !important; 
    color: var(--brand-primary) !important; 
}

/* Дизайн: Страницы (Фирменный) */
.custom-brand-form { 
    background: #ffffff !important; 
    border-radius: 15px !important; 
    border: 1px solid rgba(85, 128, 99, 0.15) !important; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important; 
    padding: 20px 25px !important; 
}

.custom-brand-form label { 
    color: var(--brand-text) !important; 
    font-weight: 600 !important; 
    margin-bottom: 6px !important; 
    font-size: 15px !important; 
}

.custom-brand-form input.mphb-datepick, 
.custom-brand-form select { 
    background: var(--brand-bg) !important; 
    border: 1px solid #e6ede8 !important; 
    color: var(--brand-text) !important; 
}

.custom-brand-form input.mphb-datepick:focus, 
.custom-brand-form select:focus { 
    border-color: var(--brand-primary) !important; 
    background: #ffffff !important; 
}

.custom-brand-form input[type="submit"] { 
    background: var(--brand-primary) !important; 
    color: var(--brand-bg) !important; 
}

.custom-brand-form input[type="submit"]:hover { 
    background: #A3BCA9 !important; 
    color: var(--brand-text) !important; 
}

@media (max-width: 768px) {
    .custom-glass-form form, 
    .custom-brand-form form { 
        flex-direction: column !important; 
        align-items: stretch !important; 
    }
    .custom-glass-form .mphb-reserve-btn-wrapper, 
    .custom-brand-form .mphb-reserve-btn-wrapper { 
        margin-top: 10px !important; 
    }
    .custom-glass-form input[type="submit"], 
    .custom-brand-form input[type="submit"] { 
        width: 100% !important; 
    }
}

/* ==========================================================================
   16. MOTOPRESS: СТРАНИЦА РЕЗУЛЬТАТОВ ПОИСКА (СЕТКА)
========================================================================== */
.custom-search-grid { 
    display: grid !important; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important; 
    gap: 30px !important; 
    align-items: stretch !important; 
}

/* Уведомления и рекомендации (на всю ширину) */
.custom-search-grid > .mphb-search-results-info, 
.custom-search-grid > .mphb-recommendation-title, 
.custom-search-grid > .mphb-recommendation, 
.custom-search-grid > .mphb-reservation-cart { 
    grid-column: 1 / -1 !important; 
    font-family: 'Montserrat', sans-serif !important; 
}

.custom-search-grid > .mphb-search-results-info { 
    background: var(--glass-bg) !important; 
    border-left: 4px solid var(--brand-primary) !important; 
    padding: 15px 20px !important; 
    margin-bottom: 20px !important; 
    color: var(--brand-text) !important; 
    font-weight: 500 !important; 
}

.custom-search-grid > .mphb-reservation-cart { 
    margin-bottom: -15px !important; 
}

.mphb-empty-cart-message { 
    margin-bottom: 0 !important; 
    color: var(--brand-text) !important; 
    font-weight: 500 !important; 
}

h2.mphb-recommendation-title { 
    font-size: 18px !important; 
    font-weight: 600 !important; 
    color: var(--brand-text) !important; 
    margin-bottom: 15px !important; 
}

/* Блок рекомендации с кнопкой */
.mphb-recommendation { 
    background: #ffffff !important; 
    border: 1px solid rgba(85, 128, 99, 0.2) !important; 
    border-radius: 12px !important; 
    padding: 20px 25px !important; 
    margin-bottom: 30px !important; 
    display: flex !important; 
    flex-direction: column !important; 
}

.mphb-recommendation-details-list { 
    width: 100% !important; 
}

.mphb-recommendation-total { 
    font-size: 16px !important; 
    font-weight: 600 !important; 
}

.mphb-recommendation-reserve-button { 
    background-color: var(--brand-primary) !important; 
    color: #ffffff !important; 
    font-weight: 600 !important; 
    border-radius: 35px !important; 
    border: none !important; 
    transition: all 0.3s ease !important; 
}

.mphb-recommendation-reserve-button:hover { 
    background-color: var(--brand-text) !important; 
}

@media (min-width: 769px) {
    .mphb-recommendation-total { 
        align-self: flex-end !important; 
        margin-bottom: 15px !important; 
    }
    .mphb-recommendation-reserve-button { 
        align-self: flex-end !important; 
        padding: 12px 40px !important; 
        width: auto !important; 
    }
}

@media (max-width: 768px) {
    .mphb-recommendation-reserve-button { 
        width: 100% !important; 
        padding: 12px 20px !important; 
    }
}

/* Карточка номера (База) */
.custom-search-grid .mphb-room-type { 
    width: 100% !important; 
    float: none !important; 
    clear: none !important; 
    margin: 0 !important; 
    background: #ffffff !important; 
    border-radius: 15px !important; 
    overflow: hidden !important; 
    border: 1px solid rgba(85, 128, 99, 0.15) !important; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important; 
    transition: all 0.3s ease !important; 
    display: flex !important; 
    flex-direction: column !important; 
}

.custom-search-grid .mphb-room-type:hover { 
    transform: translateY(-8px) !important; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important; 
    border-color: rgba(85, 128, 99, 0.4) !important; 
}

/* Элементы внутри карточки (Flex Order) */
.custom-search-grid .mphb-loop-room-thumbnail { 
    order: 1 !important; 
    width: 100% !important; 
    margin: 0 !important; 
}

.custom-search-grid .mphb-loop-room-thumbnail img { 
    width: 100% !important; 
    height: 240px !important; 
    object-fit: cover !important; 
}

.custom-search-grid h2.mphb-room-type-title { 
    order: 2 !important; 
    padding: 25px 25px 10px !important; 
    margin: 0 !important; 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 18px !important; 
    font-weight: 600 !important; 
}

.custom-search-grid a.mphb-room-type-title { 
    padding: 0 !important; 
    color: var(--brand-text) !important; 
}

.custom-search-grid .mphb-regular-price { 
    order: 3 !important; 
    padding: 10px 25px 20px !important; 
    margin: 0 !important; 
    color: var(--brand-primary) !important; 
    font-family: 'Montserrat', sans-serif !important; 
    font-weight: 600 !important; 
    font-size: 16px !important; 
}

.custom-search-grid .mphb-price-period { 
    color: var(--brand-secondary) !important; 
    font-size: 13px !important; 
    font-weight: 400 !important; 
}

.custom-search-grid .mphb-view-details-button-wrapper { 
    order: 4 !important; 
    margin-top: auto !important; 
    padding: 0 25px 10px !important; 
    margin-bottom: 0 !important; 
}

.custom-search-grid .mphb-reserve-room-section { 
    order: 5 !important; 
    padding: 0 25px 25px !important; 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 10px !important; 
    width: 100% !important; 
}

/* Кнопки внутри карточки */
.custom-search-grid .mphb-room-type .button { 
    width: 100% !important; 
    text-align: center !important; 
    border-radius: 35px !important; 
    padding: 12px 20px !important; 
    font-family: 'Montserrat', sans-serif !important; 
    font-weight: 600 !important; 
    font-size: 14px !important; 
    transition: all 0.3s ease !important; 
    box-sizing: border-box !important; 
}

.custom-search-grid .mphb-book-button { 
    background-color: var(--brand-primary) !important; 
    color: #ffffff !important; 
    border: none !important; 
}

.custom-search-grid .mphb-book-button:hover { 
    background-color: var(--brand-text) !important; 
}

.custom-search-grid .mphb-view-details-button { 
    background-color: transparent !important; 
    color: var(--brand-primary) !important; 
    border: 2px solid var(--brand-primary) !important; 
}

.custom-search-grid .mphb-view-details-button:hover { 
    background-color: var(--brand-primary) !important; 
    color: #ffffff !important; 
}

@media (max-width: 768px) { 
    .custom-search-grid { 
        grid-template-columns: 1fr !important; 
    } 
}

/* ==========================================================================
   17. MOTOPRESS: СИСТЕМНЫЕ СТРАНИЦЫ (ОФОРМЛЕНИЕ, АККАУНТ, ЧЕКИ)
========================================================================== */
.mphb_sc_checkout-wrapper, 
.mphb_sc_booking_confirmation-wrapper, 
.mphb_sc_booking_cancellation-wrapper, 
.mphb_sc_account-wrapper {
    background: #ffffff !important; 
    border-radius: 15px !important; 
    border: 1px solid rgba(85, 128, 99, 0.15) !important; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important; 
    padding: 30px 40px !important; 
    margin-bottom: 40px !important; 
    font-family: 'Montserrat', sans-serif !important; 
    color: var(--brand-text) !important;
}

.mphb_sc_checkout-wrapper h2, 
.mphb_sc_checkout-wrapper h3, 
.mphb_sc_booking_confirmation-wrapper h2, 
.mphb_sc_booking_confirmation-wrapper h3, 
.mphb_sc_account-wrapper h2, 
.mphb_sc_account-wrapper h3 { 
    font-weight: 600 !important; 
    color: var(--brand-text) !important; 
    margin-bottom: 20px !important; 
}

/* Поля ввода системных страниц */
.mphb_sc_checkout-wrapper input[type="text"], 
.mphb_sc_checkout-wrapper input[type="email"], 
.mphb_sc_checkout-wrapper input[type="tel"], 
.mphb_sc_checkout-wrapper textarea, 
.mphb_sc_account-wrapper input[type="text"], 
.mphb_sc_account-wrapper input[type="password"] { 
    width: 100% !important; 
    background: var(--brand-bg) !important; 
    border: 1px solid #e6ede8 !important; 
    border-radius: 8px !important; 
    padding: 12px 15px !important; 
    font-family: 'Montserrat', sans-serif !important; 
    color: var(--brand-text) !important; 
    margin-bottom: 15px !important; 
    outline: none !important; 
    transition: all 0.3s ease !important; 
}

.mphb_sc_checkout-wrapper input:focus, 
.mphb_sc_checkout-wrapper textarea:focus, 
.mphb_sc_account-wrapper input:focus { 
    border-color: var(--brand-primary) !important; 
    background: #ffffff !important; 
}

/* Таблицы чеков */
.mphb-booking-details-table, 
.mphb-price-breakdown-table { 
    width: 100% !important; 
    border-collapse: collapse !important; 
    margin-bottom: 25px !important; 
}

.mphb-booking-details-table th, 
.mphb-price-breakdown-table th { 
    background: var(--brand-bg) !important; 
    color: var(--brand-text) !important; 
    padding: 15px !important; 
    font-weight: 600 !important; 
    border: none !important; 
    border-bottom: 2px solid rgba(85, 128, 99, 0.2) !important; 
    text-align: left !important; 
}

.mphb-booking-details-table td, 
.mphb-price-breakdown-table td { 
    padding: 15px !important; 
    border: none !important; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important; 
}

/* Кнопки системных страниц */
.mphb_sc_checkout-wrapper input[type="submit"], 
.mphb_sc_booking_confirmation-wrapper input[type="submit"], 
.mphb_sc_booking_cancellation-wrapper input[type="submit"], 
.mphb_sc_account-wrapper input[type="submit"], 
.mphb_sc_checkout-wrapper .button, 
.mphb_sc_account-wrapper .button { 
    background-color: var(--brand-primary) !important; 
    color: #ffffff !important; 
    font-weight: 600 !important; 
    border-radius: 35px !important; 
    padding: 12px 35px !important; 
    border: none !important; 
    font-family: 'Montserrat', sans-serif !important; 
    cursor: pointer !important; 
    transition: all 0.3s ease !important; 
    display: inline-block !important; 
}

.mphb_sc_checkout-wrapper input[type="submit"]:hover, 
.mphb_sc_account-wrapper input[type="submit"]:hover, 
.mphb_sc_checkout-wrapper .button:hover { 
    background-color: var(--brand-text) !important; 
}

@media (max-width: 768px) { 
    .mphb_sc_checkout-wrapper, 
    .mphb_sc_account-wrapper { 
        padding: 20px !important; 
    } 
}


/* ==========================================================================
   18. MOTOPRESS: АРХИВ "ТИПЫ РАЗМЕЩЕНИЯ" (ВЫРАВНИВАНИЕ ВЫСОТЫ КАРТОЧЕК)
========================================================================== */

/* 1. Делаем саму карточку и ее внутренний контейнер гибкими колонками */
body.post-type-archive-mphb_room_type .wd-posts article.wd-post,
body.post-type-archive-mphb_room_type .wd-posts .wd-post-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
}

/* 2. Контентная часть (текст) растягивается на всё свободное пространство */
body.post-type-archive-mphb_room_type .wd-posts .wd-post-content {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

/* 3. Прижимаем кнопку "Подробнее" к самому низу карточки */
body.post-type-archive-mphb_room_type .wd-posts .wd-read-more {
    margin-top: auto !important;
    padding-top: 15px !important; /* Небольшой отступ от текста */
}

/* 4. Жестко фиксируем размер картинок (обрезаем под один размер) */
body.post-type-archive-mphb_room_type .wd-post-img img {
    width: 100% !important;
    height: 250px !important; /* Можно изменить высоту, если нужно */
    object-fit: cover !important; 
    display: block !important;
}


/* 1. Скрываем тексты "1 из 3 доступно" и сообщение о корзине */
.mphb-rooms-quantity-wrapper,
.mphb-rooms-reservation-message-wrapper { 
    display: none !important; 
}

/* 2. Скрываем кнопку подтверждения в самой верхней форме (чтобы не было дублей) */
form#mphb-reservation-cart .mphb-confirm-reservation { 
    display: none !important; 
}

/* 3. Задаем красивые 100% ширины всем кнопкам карточки */
.mphb-reserve-room-section button { 
    width: 100% !important; 
    margin-top: 15px !important; 
}

/* 4. ТРЮК С ПОДМЕНОЙ: Если номер УЖЕ добавлен в корзину (Поиск из Попапа) */
.mphb-reserve-room-section.mphb-rooms-added .mphb-book-button {
    display: none !important; /* Скрываем мертвую кнопку Забронировать */
}

.mphb-reserve-room-section.mphb-rooms-added .mphb-confirm-reservation {
    display: block !important;
    color: transparent !important; /* Делаем текст "Подтвердить" невидимым */
    position: relative !important;
}

/* Пишем "ЗАБРОНИРОВАТЬ" белым цветом поверх кнопки "Подтвердить" */
.mphb-reserve-room-section.mphb-rooms-added .mphb-confirm-reservation::after {
    content: "ЗАБРОНИРОВАТЬ" !important;
    color: #ffffff !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}