

/* Start:/local/templates/tbhotel2026/styles.css?178939995712191*/
:root {
    --color-bg: #f6f1e8;
    --color-bg-warm: #efe6d8;
    --color-surface: #fffcf7;
    --color-pine: #3d4a32;
    --color-pine-deep: #2c3626;
    --color-brass: #c4a574;
    --color-brass-dark: #a88858;
    --color-ink: #2c2a26;
    --color-muted: #6b6560;
    --color-line: #e4d9c8;
    --color-white: #ffffff;
    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 12px 32px rgba(44, 42, 38, 0.07);
    --font-serif: "Cormorant Garamond", "Noto Serif", Georgia, serif;
    --font-sans: Manrope, "Segoe UI", system-ui, sans-serif;
    --container: 1180px;
    --content-width: 920px;
    --header-h: 84px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-ink);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-pine);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--color-pine-deep);
}

h1,
h2,
h3,
.h1_regular {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-pine);
    line-height: 1.2;
}

h1,
.h1_regular {
    margin: 0 0 1.2rem;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h3 {
    font-size: 1.35rem;
}

p {
    margin: 0 0 1rem;
}

.container-site {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

.site-main {
    min-height: 50vh;
}

.page-inner .site-main {
    padding: 32px 0 80px;
}

.page-home .site-main {
    padding: 0;
}

.page-title {
    margin-bottom: 32px;
}

/* Section pages often put h1 outside .content_regular — keep the same column. */
#workarea > h1,
#workarea > .block > h1 {
    width: min(100% - 40px, var(--content-width));
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */

.btn,
.button-base {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn_primary,
.button-base_yellow,
.button-base_grey-dark,
.rooms-item-buttons__booking-btn {
    background: var(--color-pine);
    color: var(--color-white) !important;
    border-color: var(--color-pine);
}

.btn_primary:hover,
.button-base_yellow:hover,
.button-base_grey-dark:hover,
.rooms-item-buttons__booking-btn:hover {
    background: var(--color-pine-deep);
    color: var(--color-white) !important;
}

.btn_ghost,
.button-base_transparent {
    background: transparent;
    color: var(--color-pine);
    border-color: var(--color-pine);
}

.btn_ghost:hover,
.button-base_transparent:hover {
    background: var(--color-pine);
    color: var(--color-white);
}

.btn_light {
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-pine);
    border-color: rgba(255, 255, 255, 0.92);
}

.btn_full {
    width: 100%;
}

.button-base_small,
.button-base_xs {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 0.75rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 252, 247, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(228, 217, 200, 0.7);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    width: min(100% - 32px, var(--container));
    min-height: var(--header-h);
    margin: 0 auto;
}

.site-logo img {
    display: block;
    height: 58px;
    width: auto;
}

.site-logo_footer img {
    height: 64px;
}

.site-nav_desktop .site-nav__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__item a {
    color: var(--color-ink);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.site-nav__item a:hover,
.site-nav__item.is-current a {
    color: var(--color-pine);
}

.site-header__aside {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: var(--color-ink);
    text-decoration: none;
    line-height: 1.2;
}

.site-phone__number {
    font-weight: 600;
    white-space: nowrap;
}

.site-phone__note {
    font-size: 0.72rem;
    color: var(--color-muted);
    letter-spacing: 0.04em;
}

.site-burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.site-burger span {
    display: block;
    width: 20px;
    height: 1.5px;
    margin: 5px auto;
    background: var(--color-pine);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-burger.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.site-burger.is-open span:nth-child(2) {
    opacity: 0;
}

.site-burger.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.site-drawer {
    display: none;
    padding: 8px 20px 24px;
    border-top: 1px solid var(--color-line);
    background: var(--color-surface);
}

.site-drawer[hidden] {
    display: none !important;
}

.site-drawer .site-nav__list {
    display: grid;
    gap: 4px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.site-drawer .site-nav__item a {
    display: block;
    padding: 12px 0;
    font-size: 1.15rem;
}

.site-drawer__cta {
    margin-top: 16px;
}

body.is-menu-open {
    overflow: hidden;
}

body.is-menu-open .site-drawer {
    display: block;
}

/* Footer */

.site-footer {
    background: var(--color-pine-deep);
    color: rgba(255, 255, 255, 0.82);
}

.site-footer a {
    color: #fff;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.15fr);
    gap: 40px 32px;
    align-items: start;
    padding: 64px 0 48px;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.site-footer__tagline {
    margin: 0;
    max-width: 32ch;
    line-height: 1.45;
}

.site-footer__tagline,
.site-footer__contacts p {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer__col .site-nav__list,
.site-footer__extra {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__col .site-nav__list + .site-footer__extra {
    margin-top: 10px;
}

.site-footer__nav-label {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-footer__col a,
.site-footer__col .site-nav__item a,
.site-footer__extra a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.site-footer__col a:hover,
.site-footer__extra a:hover,
.site-footer__contacts a:hover {
    color: #fff;
}

.site-footer__phone {
    display: inline-block;
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.site-footer__contacts p {
    margin: 0 0 8px;
}

.site-footer__partners {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 6px;
}

.site-footer__partners a {
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.site-footer__legal {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
}

.site-footer__legal-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 22px 0 28px;
}

.site-footer__legal p {
    margin: 0;
}

.site-footer__registry {
    flex: 1 1 28rem;
    max-width: 54rem;
    line-height: 1.45;
}

.site-footer__copy {
    color: rgba(255, 255, 255, 0.62);
    white-space: nowrap;
}

/* Content compatibility */

.content_regular {
    width: min(100% - 40px, var(--content-width));
    margin: 0 auto 64px;
}

.content_regular img {
    max-width: 100%;
}

#workarea a {
    color: var(--color-pine);
}

.center {
    text-align: center;
}

.text_selected {
    color: var(--color-pine);
    font-weight: 600;
}

.link_clean {
    text-decoration: none;
}

.note {
    margin: 24px 0;
    text-align: center;
    color: var(--color-muted);
}

.note_important {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    padding: 18px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-left: 4px solid var(--color-brass);
    border-radius: var(--radius);
}

.note__icon {
    flex: 0 0 40px;
}

.no-pets.notice {
    width: min(100% - 40px, 920px);
    margin: 0 auto 48px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
}

.no-pets .text-brown,
.no-pets .h4 {
    color: var(--color-pine);
}

.bx-breadcrumb {
    width: min(100% - 40px, var(--container));
    margin: 0 auto 12px;
    color: var(--color-muted);
    font-size: 0.85rem;
}

@media (max-width: 980px) {
    .site-nav_desktop,
    .site-phone:not(.site-phone_drawer) {
        display: none;
    }

    .site-header__inner {
        grid-template-columns: 1fr auto;
    }

    .site-burger {
        display: block;
    }

    .site-logo img {
        height: 46px;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 28px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 20px 28px;
        align-items: center;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .site-footer__tagline {
        max-width: none;
    }

    .site-footer__col a,
    .site-footer__extra a {
        overflow-wrap: anywhere;
    }

    .site-footer__legal-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__copy {
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .btn,
    .button-base {
        width: 100%;
    }

    .note_important {
        flex-direction: column;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
        padding: 40px 0 32px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 14px;
    }

    .site-footer__col .site-nav__list,
    .site-footer__extra {
        gap: 8px;
    }

    .site-footer__contacts {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 20px;
        align-items: start;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .site-footer__contacts .site-footer__nav-label,
    .site-footer__phone,
    .site-footer__partners {
        grid-column: 1 / -1;
    }

    .site-footer__phone {
        font-size: 1.28rem;
    }

    .site-footer__partners {
        margin-top: 4px;
    }
}

/* End */


/* Start:/local/templates/tbhotel2026/template_styles.css?178940096429475*/
/* Home */

.hero {
    position: relative;
    min-height: min(86vh, 820px);
    display: grid;
    align-items: end;
    color: #fff;
}

.hero__media,
.hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__media {
    background: #2c3626 center / cover no-repeat;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 32, 24, 0.62) 0%, rgba(28, 32, 24, 0.18) 58%, rgba(28, 32, 24, 0.08) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: end;
    padding: 72px 0 56px;
}

.hero h1 {
    max-width: 14ch;
    margin-bottom: 16px;
    color: #fff;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.hero__lead {
    max-width: 36ch;
    margin-bottom: 0;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero__booking {
    justify-self: end;
    width: min(100%, 280px);
}

.hero__booking-panel {
    position: relative;
    min-height: 330px;
    padding-bottom: 52px;
}

.hero__booking-panel #block-search,
.hero__booking-panel #tl-search-form,
.hero__booking-panel #tl-search-form iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
}

.hero__booking-payments {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero__booking-payments img {
    display: block;
    width: 100%;
    height: auto;
}

.section {
    padding: 72px 0;
}

.section_warm {
    background: var(--color-bg-warm);
}

.section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 32px;
}

.section__lead {
    max-width: 36ch;
    margin: 0;
    color: var(--color-muted);
}

.section__link {
    white-space: nowrap;
    font-weight: 600;
    text-decoration: none;
}

.ritual-grid,
.rooms-grid,
.reasons-grid {
    display: grid;
    gap: 18px;
}

.ritual-grid {
    grid-template-columns: repeat(4, 1fr);
}

.ritual-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    color: var(--color-ink);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ritual-card:hover {
    border-color: var(--color-brass);
    box-shadow: 0 12px 28px rgba(61, 47, 32, 0.08);
}

.ritual-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    flex: 0 0 auto;
    aspect-ratio: 4 / 3;
    background-color: #3d4a32;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.ritual-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-position: inherit;
    background-size: inherit;
    background-repeat: inherit;
    transition: transform 0.45s ease;
}

.ritual-card:hover .ritual-card__media::after {
    transform: scale(1.05);
}

.ritual-card__body {
    display: grid;
    grid-template-rows: 44px 1.45em 2.7em;
    gap: 10px;
    align-content: start;
    padding: 18px 18px 20px;
}

.ritual-card h3,
.ritual-card p,
.ritual-card {
    color: inherit;
}

.ritual-card h3 {
    margin: 0;
    font-size: 1.25rem;
}

.ritual-card p {
    margin: 0;
    overflow: hidden;
    font-size: 0.92rem;
    line-height: 1.35;
    color: var(--color-muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ritual-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 1px solid var(--color-line);
    border-radius: 50%;
    background: #f6efe4;
    color: var(--color-brass-dark);
}

.ritual-card__icon svg {
    width: 22px;
    height: 22px;
}

.reasons-grid {
    grid-template-columns: repeat(5, 1fr);
}

.reason-card {
    padding: 8px 8px 0;
}

.reason-card svg {
    width: 28px;
    height: 28px;
    color: var(--color-brass-dark);
}

.reason-card h3 {
    margin: 14px 0 6px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
}

.reason-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.atmosphere-track {
    display: flex;
    gap: 14px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.atmosphere-track img {
    flex: 0 0 auto;
    width: min(320px, 78vw);
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    scroll-snap-align: start;
}

.reviews-home__head.section__head {
    margin-bottom: 24px;
}

.reviews-home {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.7fr);
    gap: 22px;
    align-items: stretch;
}

.reviews-home__quotes,
.reviews-home__ratings {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.reviews-home__ratings {
    gap: 12px;
}

.reviews-home__ratings-label {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.review-card {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    padding: 32px 32px 24px;
    background: #fffaf2;
    border: 1px solid #e8dcc8;
    border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(92, 68, 36, 0.06);
}

.review-card__mark {
    position: absolute;
    top: 10px;
    left: 22px;
    font-family: var(--font-serif);
    font-size: 4.8rem;
    line-height: 1;
    color: var(--color-brass);
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
}

.review-card__stage {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: 10em;
}

.review-card__slide {
    position: absolute;
    top: 18px;
    left: 0;
    width: 100%;
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.45;
    color: var(--color-pine-deep);
    overflow-wrap: anywhere;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        visibility 0.45s ease;
    pointer-events: none;
}

.review-card__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

.review-card__slide p {
    margin: 0;
}

.review-card__nav {
    display: flex;
    gap: 8px;
    margin-top: 22px;
}

.review-card__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #dfd2be;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.review-card__dot.is-active {
    background: var(--color-brass-dark);
    transform: scale(1.15);
}

.review-card__dot:focus-visible {
    outline: 2px solid var(--color-brass);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .review-card__slide {
        transition: none;
        transform: none;
    }
}

.ratings-compact {
    display: grid;
    flex: 1 1 auto;
    height: 100%;
    grid-template-rows: repeat(3, minmax(72px, 1fr));
    gap: 10px;
}

.ratings-compact__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #e4ebe0;
    border: 1px solid #cfd9c8;
    border-radius: 14px;
}

.ratings-compact__source {
    min-width: 0;
    font-weight: 600;
    color: var(--color-pine-deep);
}

.ratings-compact__values {
    display: grid;
    justify-items: end;
    gap: 2px;
    text-align: right;
    white-space: nowrap;
}

.ratings-compact__score {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: var(--color-pine);
    font-weight: 700;
    line-height: 1;
}

.ratings-compact__score-num {
    font-size: 1.35rem;
    font-variant-numeric: tabular-nums;
}

.ratings-compact__score-max {
    color: #66725c;
    font-size: 0.86rem;
    font-weight: 500;
}

.ratings-compact__stars {
    color: var(--color-brass-dark);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    line-height: 1;
}

.ratings-compact__count {
    color: #66725c;
    font-size: 0.82rem;
}

.location-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 28px;
    align-items: stretch;
}

.location-points {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.location-points li {
    margin: 0 0 12px;
    padding-left: 22px;
    position: relative;
}

.location-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-brass);
}

.location-map {
    min-height: 320px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--color-bg-warm);
}

.location-map iframe,
.location-map .lazyload-target iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

.cta-banner {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    border-radius: 28px;
    color: #fff;
}

.cta-banner__media {
    position: absolute;
    inset: 0;
    background: #2c3626 center / cover no-repeat;
}

.cta-banner__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(24, 28, 20, 0.76) 0%,
        rgba(24, 28, 20, 0.58) 42%,
        rgba(24, 28, 20, 0.24) 100%
    );
}

.cta-banner__body {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: start;
    gap: 18px;
    padding: 56px 40px;
}

.cta-banner h2 {
    max-width: 16ch;
    margin: 0;
    color: #fff;
}

/* Room cards */

.rooms-grid,
.rooms-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.room-card,
.rooms-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    box-shadow: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.room-card:hover,
.rooms-item:hover {
    border-color: var(--color-brass);
    box-shadow: 0 14px 32px rgba(61, 47, 32, 0.1);
    transform: translateY(-3px);
}

.room-card__photo,
.rooms-item__photo,
.rooms-item__img {
    position: relative;
    display: block;
    flex: 0 0 auto;
    height: 210px;
    overflow: hidden;
    background: #3d4a32 center / cover no-repeat;
}

.room-card__photo::after,
.rooms-item__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-position: inherit;
    background-size: inherit;
    background-repeat: inherit;
    transition: transform 0.5s ease;
}

.room-card:hover .room-card__photo::after,
.rooms-item:hover .rooms-item__photo::after {
    transform: scale(1.06);
}

.rooms-item__photo a,
.rooms-item__img {
    display: block;
    height: 210px;
}

.room-card__body,
.rooms-item__description,
.rooms-item__description-content-plate {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    padding: 20px 20px 22px;
}

.rooms-item__title h2,
.room-card h3,
.rooms-item__title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
}

.room-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.room-card:hover h3 a {
    color: var(--color-pine);
}

.rooms-item__subtitle,
.room-card__meta {
    color: var(--color-muted);
    font-size: 0.88rem;
}

.room-card__text,
.rooms-item__text {
    flex: 1 1 auto;
    min-height: 3.2em;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.room-card__price,
.rooms-item__price-box {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    font-weight: 600;
}

.room-card__price a {
    color: var(--color-pine);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease;
}

.room-card:hover .room-card__price a {
    color: var(--color-brass-dark);
}

.room-card__actions,
.rooms-item__buttons-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

@media (prefers-reduced-motion: reduce) {
    .room-card,
    .rooms-item,
    .room-card__photo::after,
    .rooms-item__photo::after,
    .room-card h3 a,
    .room-card__price a {
        transition: none;
    }

    .room-card:hover,
    .rooms-item:hover {
        transform: none;
    }

    .room-card:hover .room-card__photo::after,
    .rooms-item:hover .rooms-item__photo::after {
        transform: none;
    }
}

.rooms-item-buttons__detail a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--color-pine);
    text-decoration: none;
    font-weight: 600;
}

.rooms-item h6,
.rooms-item .row {
    display: none;
}

.page-home .rooms-item__buttons-box,
.rooms-grid_home .room-card__actions {
    grid-template-columns: 1fr;
}

.page-home .rooms-item-buttons__booking {
    display: none;
}

/* Room detail */

.room-detail {
    display: grid;
    gap: 40px;
    min-width: 0;
    max-width: 100%;
    padding-bottom: 24px;
}

.room-detail__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 32px;
    align-items: end;
}

.room-detail__title {
    margin: 0 0 8px;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-pine);
}

.room-detail__category {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.room-detail__head-aside {
    display: grid;
    justify-items: end;
    gap: 12px;
}

.room-detail__price-from {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    color: var(--color-pine);
    white-space: nowrap;
}

.room-detail__price-from strong {
    font-size: 1.7rem;
    font-weight: 600;
}

.room-detail__gallery {
    display: grid;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.room-detail__gallery-main {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    border-radius: var(--radius);
    background: #2c3626;
}

.room-detail__gallery-main .swiper-slide_room-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: #2c3626;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.room-detail__gallery-main .swiper-slide_room-detail__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.room-detail .room-detail__gallery-count.swiper-pagination {
    left: 18px;
    right: auto;
    bottom: 16px;
    width: auto;
    height: auto;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(28, 32, 24, 0.55);
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.2;
    z-index: 2;
}

/* Swiper 4 loads after template CSS and uses SVG background-image — override with higher specificity */
.room-detail .swiper-button-next.room-detail__gallery-next,
.room-detail .swiper-button-prev.room-detail__gallery-prev {
    top: 50%;
    width: 42px;
    height: 42px;
    margin-top: -21px;
    background-color: rgba(28, 32, 24, 0.32);
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.room-detail .swiper-button-next.room-detail__gallery-next {
    right: 14px;
    left: auto;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.room-detail .swiper-button-prev.room-detail__gallery-prev {
    left: 14px;
    right: auto;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M15 6l-6 6 6 6' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.room-detail .swiper-button-next.room-detail__gallery-next:hover,
.room-detail .swiper-button-prev.room-detail__gallery-prev:hover {
    background-color: rgba(28, 32, 24, 0.55);
    border-color: rgba(255, 255, 255, 0.6);
}

.room-detail .swiper-button-next.room-detail__gallery-next.swiper-button-disabled,
.room-detail .swiper-button-prev.room-detail__gallery-prev.swiper-button-disabled {
    opacity: 0.28;
}

.room-detail__gallery-thumbs {
    width: 100%;
    height: 88px;
}

.room-detail__gallery-thumbs .swiper-slide_room-detail {
    height: 88px;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0.55;
    cursor: pointer;
    background-color: #3d4a32;
    background-size: cover;
    background-position: center;
    transition: opacity 0.2s ease;
}

.room-detail__gallery-thumbs .swiper-slide_room-detail__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.room-detail__gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    box-shadow: inset 0 0 0 2px var(--color-brass);
}

.room-detail__body {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
    gap: 28px;
    align-items: start;
    min-width: 0;
}

.room-detail__text {
    max-width: 62ch;
    color: var(--color-ink);
}

.room-detail__text p:last-child,
.room-detail__text ul:last-child {
    margin-bottom: 0;
}

.room-detail__sidebar {
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
}

.room-detail__sidebar-title {
    margin: 0 0 16px;
    font-family: var(--font-serif);
    font-size: 1.55rem;
    color: var(--color-pine);
}

.room-detail__rates {
    display: grid;
    gap: 0;
    margin: 0 0 20px;
}

.room-detail__rate {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--color-line);
}

.room-detail__rate:first-child {
    border-top: 0;
    padding-top: 0;
}

.room-detail__rate dt {
    margin: 0;
    color: var(--color-muted);
}

.room-detail__rate dd {
    margin: 0;
    text-align: right;
    font-weight: 600;
    color: var(--color-pine-deep);
    white-space: nowrap;
}

.room-detail__rate-note {
    display: block;
    margin-top: 2px;
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.room-detail__booking-note,
.room-detail__sidebar-note,
.room-detail__table-note {
    margin: 14px 0 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.room-detail__tariffs h2,
.room-detail__more h2 {
    margin: 0 0 20px;
}

.room-detail__tariffs,
.room-detail__more {
    min-width: 0;
    max-width: 100%;
}

.room-detail__more .rooms-grid,
.room-detail__more .rooms-box {
    min-width: 0;
    max-width: 100%;
}

.room-detail__table-wrap {
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
}

.room-detail__table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.room-detail__table th,
.room-detail__table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--color-line);
    text-align: left;
    vertical-align: top;
}

.room-detail__table th {
    background: #f3eadc;
    font-weight: 600;
    color: var(--color-pine-deep);
}

.room-detail__table tbody tr:last-child td {
    border-bottom: 0;
}

.room-detail__pets {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 20px 22px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-left: 4px solid var(--color-brass);
    border-radius: var(--radius);
}

.room-detail__pets h3 {
    margin: 0 0 6px;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--color-pine);
}

.room-detail__pets p {
    margin: 0;
    color: var(--color-muted);
}

.room-detail__pets-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.room-detail__back {
    margin: 24px 0 0;
}

.room-detail__back a {
    text-decoration: none;
    font-weight: 600;
}

/* Prices */

.price-intro {
    max-width: none;
    margin: 0 0 20px;
    text-align: left;
    color: var(--color-muted);
}

.price-table-wrap {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: #efe4d2;
    border: 1px solid var(--color-line);
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(44, 40, 34, 0.06);
}

table.price {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
}

table.price th,
table.price td {
    padding: 16px 16px;
    border-bottom: 1px solid var(--color-line);
    text-align: left;
    vertical-align: middle;
}

table.price thead th {
    padding: 32px 16px;
    background: transparent;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.01em;
    color: var(--color-ink);
    white-space: nowrap;
}

table.price thead th:nth-child(1),
table.price tbody th {
    width: 20%;
}

table.price thead th:nth-child(2) {
    width: 11%;
}

table.price thead th:nth-child(3),
table.price thead th:nth-child(4) {
    width: 17%;
}

table.price thead th:nth-child(5) {
    width: 14%;
}

table.price thead th:nth-child(6) {
    width: 21%;
}

table.price tbody th,
table.price tbody td {
    background: var(--color-surface);
}

table.price tbody th {
    padding-right: 20px;
    font-weight: 500;
}

table.price tbody tr:last-child th,
table.price tbody tr:last-child td {
    border-bottom: 0;
}

table.price tbody tr:hover th,
table.price tbody tr:hover td {
    background: #f7f1e7;
}

.price__room {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
    color: var(--color-ink);
}

.price__room:hover {
    color: var(--color-pine);
}

.price__meta {
    display: block;
    margin-top: 3px;
    color: var(--color-muted);
    font-size: 0.8rem;
    font-weight: 400;
}

.price__num {
    padding-left: 16px;
    text-align: right;
    white-space: nowrap;
    font-size: 1.02rem;
    font-weight: 600;
}

.price__action {
    padding-left: 22px;
    text-align: left;
    white-space: nowrap;
}

.price__book {
    display: inline-block;
    padding: 4px 0;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--color-pine);
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 90, 61, 0.35);
}

.price__book:hover {
    border-bottom-color: var(--color-pine);
}

.price__note {
    display: block;
    max-width: 11rem;
    color: var(--color-muted);
    font-size: 0.78rem;
    line-height: 1.35;
    white-space: normal;
    text-align: left;
}

.price__note a {
    font-weight: 600;
    text-decoration: none;
}

.price-legend {
    margin: 10px 0 0;
    color: var(--color-muted);
    font-size: 0.82rem;
    line-height: 1.4;
    text-align: left;
}

.category-name {
    color: var(--color-muted);
    font-size: 0.88rem;
}

.price-cards {
    display: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hotel-rules {
    margin: 48px auto 0;
    padding: 24px 0 0;
    background: transparent;
    border-radius: 0;
    border-top: 1px solid var(--color-line);
}

.hotel-rules h2 {
    margin-bottom: 8px;
    text-align: left;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.hotel-rules__list {
    display: grid;
    gap: 0;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.hotel-rules__item {
    display: grid;
    grid-template-columns: 52px 0.9fr 1.4fr;
    gap: 16px;
    align-items: start;
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-line);
}

.hotel-rules__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f6efe4;
    color: var(--color-brass-dark);
}

.hotel-rules__icon svg {
    width: 22px;
    height: 22px;
}

.hotel-rules__title {
    margin: 8px 0 0;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-pine);
}

.hotel-rules__text {
    margin: 8px 0 0;
    color: var(--color-muted);
}

.leaf-divider {
    display: block;
    width: 48px;
    height: 10px;
    margin: 0 auto 18px;
    background: center / contain no-repeat;
    opacity: 0.7;
}

@media (max-width: 1100px) {
    .ritual-grid,
    .reasons-grid,
    .rooms-grid,
    .rooms-box {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .hero,
    .hero__content,
    .reviews-home,
    .location-grid,
    .room-detail__head,
    .room-detail__body,
    .room-detail__pets,
    .hotel-rules__item {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero__content {
        padding: 48px 0 28px;
    }

    .hero__booking {
        justify-self: stretch;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .section {
        padding: 48px 0;
    }

    .cta-banner__body {
        padding: 36px 22px;
    }

    .room-detail {
        gap: 28px;
    }

    .room-detail__head-aside {
        justify-items: start;
    }

    .room-detail .swiper-button-next.room-detail__gallery-next,
    .room-detail .swiper-button-prev.room-detail__gallery-prev {
        width: 36px;
        height: 36px;
        margin-top: -18px;
        background-size: 15px 15px;
    }

    .room-detail .swiper-button-next.room-detail__gallery-next {
        right: 10px;
    }

    .room-detail .swiper-button-prev.room-detail__gallery-prev {
        left: 10px;
    }

    .room-detail__gallery-thumbs {
        height: 72px;
    }

    .room-detail__gallery-thumbs .swiper-slide_room-detail {
        height: 72px;
    }

    .price-table-wrap,
    .price-legend {
        display: none;
    }

    .price-cards {
        display: grid;
        gap: 14px;
    }

    .price-card {
        padding: 18px;
        background: var(--color-surface);
        border: 1px solid var(--color-line);
        border-radius: var(--radius);
    }

    .price-card h3 {
        margin-bottom: 4px;
    }

    .price-card dl {
        display: grid;
        gap: 8px;
        margin: 14px 0;
    }

    .price-card div {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 0;
        border-top: 1px solid var(--color-line);
        font-size: 0.92rem;
    }
}

@media (max-width: 640px) {
    .ritual-grid,
    .reasons-grid,
    .rooms-grid,
    .rooms-box {
        grid-template-columns: 1fr;
    }

    .section__head {
        display: grid;
    }
}

/* End */
/* /local/templates/tbhotel2026/styles.css?178939995712191 */
/* /local/templates/tbhotel2026/template_styles.css?178940096429475 */
