

/* Start:/local/templates/motel/css/normalize.css?17647598251923*/
html {line-height: 1.15;-webkit-text-size-adjust: 100%;}body {margin: 0;}main {display: block;}h1 {font-size: 2em;margin: 0.67em 0;}hr {box-sizing: content-box;height: 0;overflow: visible;}pre {font-family: monospace, monospace;font-size: 1em;}a {background-color: transparent;}abbr[title] {border-bottom: none;text-decoration: underline;text-decoration: underline dotted;}b, strong {font-weight: bolder;}code, kbd, samp {font-family: monospace, monospace;font-size: 1em;}small {font-size: 80%;}sub, sup {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;}sub {bottom: -0.25em;}sup {top: -0.5em;}img {border-style: none;}button, input, optgroup, select, textarea {font-family: inherit;font-size: 100%;line-height: 1.15;margin: 0;}button, input {overflow: visible;}button, select {text-transform: none;}button, [type="button"], [type="reset"], [type="submit"] {-webkit-appearance: button;}button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {border-style: none;padding: 0;}button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {outline: 1px dotted ButtonText;}fieldset {padding: 0.35em 0.75em 0.625em;}legend {box-sizing: border-box;color: inherit;display: table;max-width: 100%;padding: 0;white-space: normal;}progress {vertical-align: baseline;}textarea {overflow: auto;}[type="checkbox"], [type="radio"] {box-sizing: border-box;padding: 0;}[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {height: auto;}[type="search"] {-webkit-appearance: textfield;outline-offset: -2px;}[type="search"]::-webkit-search-decoration {-webkit-appearance: none;}::-webkit-file-upload-button {-webkit-appearance: button;font: inherit;}details {display: block;}summary {display: list-item;}template {display: none;}[hidden] {display: none;}
/* End */


/* Start:/local/templates/motel/css/style.css?176483148015552*/
/* Базовая типографика и контейнер */
body.page-body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1f2933;
    background-color: #f5f7fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.main {
    padding: 24px 0 40px;
}

/* Шапка сайта */
.site-header {
    background: #111827;
    color: #f9fafb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.site-header__logo {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.site-header__logo-title {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-header__logo-subtitle {
    font-size: 12px;
    opacity: 0.7;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-header__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.site-header__menu a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 14px;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.site-header__menu a:hover {
    color: #ffffff;
    border-bottom-color: #fbbf24;
}

.site-header__contacts {
    text-align: right;
    font-size: 13px;
    color: #d1d5db;
}

.site-header__phone {
    display: block;
    color: #fbbf24;
    font-weight: 600;
    text-decoration: none;
}

.site-header__address {
    display: block;
    font-size: 12px;
}

.site-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(156, 163, 175, 0.8);
    padding: 0;
    cursor: pointer;
}

.site-header__burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #e5e7eb;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__burger span + span {
    margin-top: 4px;
}

.site-header__burger--active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-header__burger--active span:nth-child(2) {
    opacity: 0;
}

.site-header__burger--active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Подвал */
.site-footer {
    background: #111827;
    color: #d1d5db;
    padding: 24px 0;
    margin-top: 32px;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
    font-size: 14px;
}

.site-footer__title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.site-footer__copy {
    font-size: 13px;
    opacity: 0.8;
}

.site-footer__contacts a {
    color: #fbbf24;
    text-decoration: none;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.site-footer__links a {
    color: #e5e7eb;
    font-size: 13px;
    text-decoration: none;
}

.site-footer__links a:hover {
    text-decoration: underline;
}

/* Список номеров */
.rooms-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rooms-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.rooms-empty {
    padding: 16px;
    border-radius: 8px;
    background: #f3f4f6;
    text-align: center;
    color: #4b5563;
}

.rooms-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rooms-item__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 10px;
}

.rooms-item__photo {
    border-radius: 8px;
    overflow: hidden;
    background: #111827;
}

.rooms-item__photo img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.rooms-item__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.rooms-item__title {
    font-weight: 600;
    font-size: 16px;
    color: #111827;
}

.rooms-item__title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rooms-item__type {
    font-size: 13px;
    color: #6b7280;
}

.rooms-item__header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.rooms-item__price {
    font-weight: 700;
    font-size: 15px;
    color: #047857;
    white-space: nowrap;
}

.rooms-item__status {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.rooms-item__status--free {
    background: #ecfdf5;
    color: #047857;
}

.rooms-item__status--busy {
    background: #fef2f2;
    color: #b91c1c;
}

.rooms-item__body {
    font-size: 14px;
    color: #4b5563;
}

.rooms-item__description {
    margin-bottom: 8px;
}

.rooms-item__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
}

.rooms-item__meta-row span {
    color: #6b7280;
}

.rooms-item__meta-row--warning span,
.rooms-item__meta-row--warning strong {
    color: #b45309;
}

.rooms-item__actions {
    margin-top: 12px;
}

.rooms-item__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
    background: #111827;
    color: #f9fafb;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.rooms-item__link:hover {
    background: #1f2937;
}

/* Детальная страница номера */
.room-detail {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    margin-top: 16px;
}

.room-detail__gallery {
    position: relative;
}

.room-detail__swiper {
    width: 100%;
    max-width: 500px;
    height: 420px;
    border-radius: 14px;
    overflow: hidden;
    margin: 0 auto;
}

.room-detail__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.room-detail__gallery-placeholder {
    height: 420px;
    border-radius: 14px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
}

.room-detail__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.room-detail__title {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
}

.room-detail__status {
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.room-detail__status--free {
    background: #ecfdf5;
    color: #047857;
}

.room-detail__status--busy {
    background: #fef2f2;
    color: #b91c1c;
}

.room-detail__prices {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 15px;
}

.room-detail__price span {
    color: #6b7280;
    margin-right: 8px;
}

.room-detail__description {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
}

.room-detail__properties {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    font-size: 14px;
}

.room-detail__property span {
    color: #6b7280;
}

.room-detail__property--warning span,
.room-detail__property--warning strong {
    color: #b45309;
}

.room-detail__back {
    margin-top: auto;
}

.room-detail__back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 600;
    color: #111827;
}

.room-detail__back-link::before {
    content: '←';
    font-size: 16px;
}

.room-detail__book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: #111827;
    color: #f9fafb;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 16px;
}

.room-detail__book-btn:hover {
    background: #1f2937;
}

.room-detail__swiper-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.room-detail__swiper-button--prev {
    left: 16px;
}

.room-detail__swiper-button--next {
    right: 16px;
}

.room-detail__swiper-button::after {
    content: '';
}

.room-detail__swiper-button--prev::before,
.room-detail__swiper-button--next::before {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.room-detail__swiper-button--prev::before {
    content: '‹';
}

.room-detail__swiper-button--next::before {
    content: '›';
}

.room-detail__swiper-pagination {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
}

/* Страница бронирования */
.booking {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    margin-top: 16px;
}

.booking__room-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0f172a;
}

.booking__room-meta {
    margin-bottom: 16px;
}

.booking__room-type {
    font-size: 15px;
    color: #4b5563;
}

.booking__room-beds {
    font-size: 14px;
    color: #6b7280;
}

.booking__room-beds strong {
    color: #111827;
    font-weight: 600;
}

.booking__slider {
    margin-top: 12px;
    position: relative;
}

.booking__swiper {
    width: 100%;
    max-width: 520px;
    height: 320px;
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
}

.booking__swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.booking__swiper-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.booking__swiper-button--prev {
    left: 16px;
}

.booking__swiper-button--next {
    right: 16px;
}

.booking__swiper-button::before {
    font-size: 18px;
    font-weight: 700;
}

.booking__swiper-button--prev::before {
    content: '‹';
}

.booking__swiper-button--next::before {
    content: '›';
}

.booking__swiper-pagination {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
}

.booking__photos-placeholder {
    padding: 60px 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    background: #f3f4f6;
    border-radius: 10px;
    max-width: 520px;
}

.booking__form-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 20px 22px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.booking__messages {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
}

.booking__messages--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.booking__messages--success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #bbf7d0;
}

.booking__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.booking__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}

.booking__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}

.booking__field span {
    color: #6b7280;
}

.booking__field input,
.booking__field select {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 7px 10px;
    font-size: 14px;
    outline: none;
}

.booking__field input:focus,
.booking__field select:focus {
    border-color: #111827;
}

.booking__submit {
    margin-top: 4px;
}

.booking__submit-btn {
    width: 100%;
    border: none;
    border-radius: 999px;
    background: #111827;
    color: #f9fafb;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 16px;
    cursor: pointer;
}

.booking__submit-btn:hover {
    background: #1f2937;
}

@media (max-width: 900px) {
    .booking {
        grid-template-columns: 1fr;
    }

    .booking__swiper,
    .booking__photos-placeholder {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .booking__grid {
        grid-template-columns: 1fr;
    }

    .booking__swiper,
    .booking__photos-placeholder {
        height: 210px;
    }
}

/* Адаптивность */
@media (max-width: 900px) {
    .rooms-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .room-detail {
        grid-template-columns: 1fr;
    }

    .room-detail__swiper,
    .room-detail__gallery-placeholder {
        height: 360px;
    }
    .site-header__nav {
        position: fixed;
        inset: 56px 0 auto 0;
        background: rgba(17, 24, 39, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 16px 16px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .site-header__nav--open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-header__menu {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-bottom: 12px;
    }

    .site-header__contacts {
        text-align: left;
    }

    .site-header__burger {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .main {
        padding-top: 16px;
        padding-bottom: 24px;
    }

    .rooms-list {
        grid-template-columns: 1fr;
    }

    .rooms-item__meta {
        grid-template-columns: 1fr;
    }

    .room-detail {
        padding: 16px;
    }

    .room-detail__swiper,
    .room-detail__gallery-placeholder {
        height: 260px;
    }

    .room-detail__properties {
        grid-template-columns: 1fr;
    }

    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* End */
/* /local/templates/motel/css/normalize.css?17647598251923 */
/* /local/templates/motel/css/style.css?176483148015552 */
