.hero-slider {
    position: relative;
    background: #2c2926;
}

.hero-carousel.owl-carousel,
.commercial-carousel.owl-carousel {
    display: block;
}

.hero-carousel:not(.owl-loaded) > .mainblock:not(:first-child),
.commercial-carousel:not(.owl-loaded) > .commercial-premise:not(.is-initial) {
    display: none;
}

.wrap .hero-slider .mainblock {
    height: calc(100vh - 32px);
    height: calc(100svh - 32px);
    min-height: 600px;
    max-height: 855px;
    animation: none;
}

.hero-slider .mainblock .container {
    padding-top: 180px;
    padding-bottom: 80px;
}

.hero-slider .mainblock--commercial::after {
    display: none;
}

.hero-slider .mainblock--commercial .container {
    display: flex;
    align-items: center;
    height: 100%;
    padding-top: 120px;
    padding-bottom: 80px;
}

.commercial-hero-copy {
    min-width: 0;
}

.mainblock--commercial .commercial-hero-title {
    margin: 0 0 42px;
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    font-size: 80px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-slider .mainblock .commercial-hero-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 150px;
    height: 60px;
    padding: 16px 40px;
    border: 2px solid var(--main-color);
    border-radius: 66px;
    background: var(--main-color);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    transition: background .2s;
}

.hero-slider .commercial-hero-link:hover {
    background: #e85a27;
}

.hero-slider a:focus-visible,
.commercial-section a:focus-visible,
.commercial-section button:focus-visible {
    outline: 3px solid #6236ac;
    outline-offset: 4px;
}

.commercial-section {
    scroll-margin-top: 128px;
}

.commercial-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.commercial-heading .custom-title {
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0;
}

.commercial-heading .commercial-booking--desktop {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 16px;
}

.commercial-description {
    max-width: 720px;
    margin: 24px 0 55px;
    color: #2c2926;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0;
}

.commercial-slider,
.commercial-premise {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
    gap: 8%;
    color: #2c2926;
}

.commercial-carousel {
    grid-column: 1 / -1;
    grid-row: 1;
    min-width: 0;
}

.commercial-slider--with-controls .commercial-plan {
    padding-bottom: 66px;
}

.commercial-plan,
.commercial-details {
    min-width: 0;
}

.commercial-details {
    padding-top: 15px;
}

.commercial-values {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
    min-height: 36px;
    margin-bottom: 38px;
    font-family: 'Exo 2', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0;
}

.commercial-values p {
    margin: 0;
}

.commercial-values [data-commercial-field="price"] {
    text-align: right;
}

.commercial-attributes {
    margin: 0;
}

.commercial-attributes > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 62px;
    padding: 14px 0;
    border-bottom: 1px solid #d4d4d4;
}

.commercial-attributes > div:last-child {
    border-bottom: 0;
}

.commercial-attributes dt,
.commercial-attributes dd {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0;
}

.commercial-attributes dt {
    font-size: 16px;
}

.commercial-attributes dd {
    max-width: 250px;
    margin: 0;
    font-size: 24px;
    text-align: right;
    overflow-wrap: anywhere;
}

.commercial-premise img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

.commercial-plan-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    background: #f5f5f5;
    color: #777;
}

.commercial-controls {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: calc(100% + 20px);
}

.commercial-controls button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #999;
    border-radius: 50%;
    background: #fff;
    color: #6236ac;
    font-size: 20px;
    transition: border-color .2s, background .2s;
}

.commercial-controls button:hover {
    border-color: #6236ac;
    background: #f3eef9;
}

.commercial-booking--mobile {
    display: none;
}

.commercial-empty {
    padding: 30px 0;
    color: #777;
    font-size: 16px;
}

@media (max-width: 1439px) {
    .mainblock--commercial .commercial-hero-title {
        font-size: 64px;
    }
}

@media (max-width: 991px) {
    .mainblock--commercial .commercial-hero-title {
        font-size: 52px;
    }

    .commercial-heading {
        gap: 18px;
    }

    .commercial-heading .commercial-booking--desktop {
        padding: 17px 24px !important;
        font-size: 14px;
    }

    .commercial-values {
        font-size: 24px;
    }

    .commercial-attributes dd {
        max-width: 180px;
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .wrap .hero-slider .mainblock {
        min-height: 580px;
        max-height: 760px;
    }

    .hero-slider .mainblock .container {
        padding-top: 150px;
    }

    .hero-slider .mainblock--commercial {
        background-position: 65% center;
    }

    .hero-slider .mainblock--commercial .container {
        align-items: flex-end;
        padding: 120px 30px 78px;
    }

    .commercial-hero-copy {
        width: 100%;
    }

    .mainblock--commercial .commercial-hero-title {
        margin-bottom: 24px;
        font-size: 36px;
    }

    .hero-slider .mainblock .commercial-hero-link {
        width: 100%;
        height: 54px;
    }

    .commercial-section {
        scroll-margin-top: 100px;
    }

    .commercial-heading .custom-title {
        font-size: 20px;
    }

    .commercial-heading .commercial-booking--desktop {
        display: none;
    }

    .commercial-description {
        margin: 24px 0 35px;
    }

    .commercial-slider,
    .commercial-premise {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .commercial-details {
        padding-top: 0;
    }

    .commercial-values {
        margin-bottom: 26px;
    }

    .commercial-attributes dt {
        font-size: 14px;
    }

    .commercial-attributes dd {
        font-size: 20px;
    }

    .commercial-booking--mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 56px;
        margin-top: 48px;
        padding: 14px 20px;
        border: 2px solid var(--main-color);
        border-radius: 66px;
        background: var(--main-color);
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0;
    }

    .commercial-booking--mobile:hover,
    .commercial-booking--mobile:focus {
        color: #fff;
        text-decoration: none;
        background: #e85a27;
    }
}

@media (max-width: 359px) {
    .hero-slider .mainblock--commercial .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .mainblock--commercial .commercial-hero-title {
        font-size: 30px;
    }

    .commercial-values {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider *,
    .commercial-section * {
        transition-duration: 0s !important;
    }
}
