/* Apartment detail redesign. Kept separate from the legacy cascade on purpose. */
.flat-page .flat-hero__visual[data-flat-media] {
    color: var(--vida-blue, #082e4f);
    background: #edf4f4;
}

.flat-page .flat-hero__standard {
    position: relative;
    background: linear-gradient(150deg, #f7faf9 0%, #e8f1f1 100%);
}

.flat-page .flat-hero__visual[data-flat-media] .flat-tabs {
    z-index: 4;
    margin: 20px 24px 0;
    overflow: hidden;
    border: 1px solid rgba(8, 46, 79, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
}

.flat-page .flat-hero__visual[data-flat-media] .flat-tabs button {
    min-height: 48px;
    color: rgba(8, 46, 79, .62);
    border-right: 1px solid rgba(8, 46, 79, .14);
}

.flat-page .flat-hero__visual[data-flat-media] .flat-tabs button:last-child {
    border-right: 0;
}

.flat-page .flat-hero__visual[data-flat-media] .flat-tabs button.is-active {
    color: #082e4f;
    background: #ffd7a5;
}

.flat-page .flat-plan-viewer {
    padding: clamp(28px, 3vw, 48px) clamp(48px, 6vw, 84px) 18px;
}

.flat-page .flat-plan-viewer__figure,
.flat-page .flat-plan-viewer__figure--floor,
.flat-page .flat-plan-viewer__figure--window-map {
    width: min(92%, 760px);
    max-width: 760px;
    background: transparent;
}

.flat-page .flat-plan-viewer__figure > img {
    width: 100%;
    max-height: min(64vh, 600px);
    object-fit: contain;
}

.flat-page .flat-plan-viewer__figure--floor {
    width: min(96%, 820px);
    max-width: 820px;
}

.flat-page .flat-floor-plan {
    height: min(66vh, 640px);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.flat-page .flat-floor-plan__legend {
    background: #fff2e0;
    box-shadow: none;
}

.flat-page .flat-window-map {
    box-shadow: 0 18px 50px rgba(8, 46, 79, .12);
}

.flat-page .flat-plan-viewer__arrow {
    color: #082e4f;
}

.flat-page .flat-media-panel--with-floor-switcher.is-active {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: clamp(16px, 2vw, 30px);
    align-items: center;
}

.flat-page .flat-media-panel--with-floor-switcher .flat-plan-viewer__figure {
    grid-column: 2;
    justify-self: center;
}

.flat-page .flat-floor-switcher {
    display: grid;
    width: 54px;
    max-height: min(62vh, 410px);
    grid-template-rows: 44px minmax(0, 1fr) 44px;
    gap: 9px;
    align-self: center;
}

.flat-page .flat-floor-switcher__viewport {
    grid-row: 2;
    box-sizing: border-box;
    height: 278px;
    min-height: 0;
    padding: 2px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    scroll-snap-type: y mandatory;
}

.flat-page .flat-floor-switcher__viewport::-webkit-scrollbar {
    display: none;
}

.flat-page .flat-floor-switcher ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flat-page .flat-floor-switcher li {
    margin: 0;
    padding: 0;
    scroll-snap-align: center;
}

.flat-page .flat-floor-switcher__item {
    display: flex;
    width: 50px;
    height: 50px;
    padding: 5px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid rgba(8, 46, 79, .28);
    border-radius: 12px;
    color: #082e4f;
    background: rgba(255, 255, 255, .68);
    line-height: 1;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.flat-page .flat-floor-switcher__item strong {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.flat-page .flat-floor-switcher__item span {
    margin-top: 4px;
    font-family: 'Mulish', sans-serif;
    font-size: 11px;
    font-weight: 500;
}

.flat-page a.flat-floor-switcher__item:hover,
.flat-page a.flat-floor-switcher__item:focus-visible {
    border-color: #ef8a31;
    background: #fff3e4;
    transform: translateY(-1px);
}

.flat-page .flat-floor-switcher__item.is-current {
    color: #fff;
    border-color: #ff7a18;
    background: #ff7a18;
    box-shadow: 0 8px 20px rgba(255, 122, 24, .2);
}

.flat-page .flat-floor-switcher__arrow {
    display: inline-flex;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    justify-self: center;
    border: 1px solid rgba(8, 46, 79, .28);
    border-radius: 14px;
    color: #082e4f;
    background: rgba(255, 255, 255, .72);
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, opacity .18s ease;
}

.flat-page .flat-floor-switcher__arrow--prev {
    grid-row: 1;
}

.flat-page .flat-floor-switcher__arrow--next {
    grid-row: 3;
}

.flat-page .flat-floor-switcher__arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flat-page .flat-floor-switcher__arrow:hover,
.flat-page .flat-floor-switcher__arrow:focus-visible {
    border-color: #ef8a31;
    background: #fff3e4;
}

.flat-page .flat-floor-switcher__arrow:disabled {
    opacity: .28;
    cursor: default;
}

.flat-page .flat-floor-switcher__arrow[hidden] {
    display: none;
}

.flat-page .flat-compass {
    position: absolute;
    z-index: 5;
    top: 86px;
    right: 28px;
    width: 68px;
    height: 75px;
    pointer-events: none;
}

.flat-page .flat-compass__rose {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.flat-page .flat-compass__dial {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(var(--flat-compass-rotation, 0deg));
    transform-origin: 50% 50%;
}

.flat-page .flat-compass__point {
    position: absolute;
    z-index: 1;
    color: #0a3142;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    transform: translate(-50%, -50%) rotate(var(--flat-compass-label-rotation, 0deg));
}

.flat-page .flat-compass__point--north { left: 50%; top: 1px; }
.flat-page .flat-compass__point--east { left: calc(100% - 1px); top: 44%; }
.flat-page .flat-compass__point--west { left: 1px; top: 44%; }

.flat-page .flat-sunlight-toggle {
    min-height: 44px;
    color: #082e4f;
    border-color: rgba(8, 46, 79, .3);
    background: rgba(255, 255, 255, .7);
}

.flat-page .flat-sunlight-toggle:hover,
.flat-page .flat-sunlight-toggle:focus-visible {
    color: #082e4f;
    border-color: #efb56e;
    background: #fff3e4;
}

.flat-page .flat-sunlight-toggle__track {
    position: relative;
    display: inline-flex;
    width: 38px;
    height: 22px;
    margin-left: 3px;
    border-radius: 999px;
    background: #9aa9b3;
    transition: background-color .18s ease;
}

.flat-page .flat-sunlight-toggle__track > span {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform .18s ease;
}

.flat-page .flat-sunlight-toggle[aria-checked="true"] .flat-sunlight-toggle__track {
    background: #1d9568;
}

.flat-page .flat-sunlight-toggle[aria-checked="true"] .flat-sunlight-toggle__track > span {
    transform: translateX(16px);
}

.flat-page .flat-hero__media-actions {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 0 24px 20px;
}

.flat-page .flat-hero__media-actions .flat-media-action {
    min-height: 44px;
}

.flat-page .flat-media-action {
    display: inline-flex;
    min-height: 42px;
    padding: 9px 14px;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(8, 46, 79, .22);
    border-radius: 999px;
    color: #082e4f;
    background: rgba(255, 255, 255, .76);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.flat-page .flat-media-action:hover,
.flat-page .flat-media-action:focus-visible {
    border-color: #ef6d23;
    outline: 0;
}

.flat-page .flat-media-action:disabled {
    opacity: .55;
    cursor: wait;
}

.flat-page .flat-media-action svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flat-page .flat-media-actions__status {
    position: absolute;
    right: 24px;
    bottom: 0;
    left: 24px;
    color: rgba(8, 46, 79, .72);
    font-size: 12px;
    text-align: center;
}

.flat-page .flat-specs--compact {
    display: flex;
    max-width: 720px;
    margin-bottom: 28px;
    flex-direction: column;
    border: 0;
    background: transparent;
}

.flat-page .flat-specs--compact > div {
    display: grid;
    min-height: 0;
    padding: 13px 0;
    grid-template-columns: max-content minmax(24px, 1fr) max-content;
    gap: 10px;
    align-items: baseline;
    border: 0;
}

.flat-page .flat-specs--compact > div::before {
    grid-column: 2;
    grid-row: 1;
    border-bottom: 1px dashed rgba(8, 46, 79, .2);
    content: '';
    transform: translateY(-4px);
}

.flat-page .flat-specs--compact dt {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    margin: 0;
    color: rgba(8, 46, 79, .58);
    font-size: 15px;
    line-height: 1.35;
}

.flat-page .flat-specs--compact dd {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
    margin: 0;
    color: #082e4f;
    font-size: 19px;
    font-weight: 650;
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-align: right;
    white-space: nowrap;
}

.flat-page .flat-repair.is-unavailable {
    border-color: rgba(8, 46, 79, .18);
    background: rgba(255, 255, 255, .32);
}

.flat-page .flat-repair.is-unavailable .flat-repair__switch {
    cursor: not-allowed;
    opacity: .62;
}

.flat-page .flat-repair__availability {
    max-width: 190px;
    margin: 0;
    color: rgba(8, 46, 79, .62);
    font-size: 13px;
    line-height: 1.35;
}

.flat-page .flat-followup {
    padding: clamp(72px, 8vw, 128px) 0;
}

.flat-page .flat-followup .container {
    width: min(100% - 40px, 1440px);
}

.flat-page .flat-followup__head {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(0, 5fr) minmax(140px, 1fr);
    gap: 32px;
    align-items: end;
    margin-bottom: 44px;
}

.flat-page .flat-followup__head > p {
    grid-column: 1;
    margin: 0 0 7px;
    color: #a66e31;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.flat-page .flat-followup__head h2 {
    grid-column: 2;
    width: 100%;
    max-width: 860px;
    margin: 0;
    justify-self: center;
    color: #082e4f;
    font-size: clamp(48px, 4.4vw, 64px);
    line-height: 1.02;
    letter-spacing: 0;
    text-align: center;
}

.flat-page .flat-purchase-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.flat-page .flat-purchase-card {
    position: relative;
    display: flex;
    min-height: 280px;
    padding: 26px;
    flex-direction: column;
    border: 1px solid rgba(8, 46, 79, .12);
    border-radius: 20px;
    color: #082e4f;
    background: rgba(255, 255, 255, .78);
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.flat-page .flat-purchase-card:hover,
.flat-page .flat-purchase-card:focus-visible {
    border-color: rgba(239, 109, 35, .7);
    outline: 0;
    box-shadow: 0 18px 42px rgba(8, 46, 79, .09);
    transform: translateY(-4px);
}

.flat-page .flat-purchase-card__icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border-radius: 50%;
    place-items: center;
    color: #fff;
    background: #0b765e;
    font-size: 20px;
}

.flat-page .flat-purchase-card h3 {
    margin: 42px 0 12px;
    font-size: clamp(20px, 1.65vw, 27px);
    line-height: 1.08;
}

.flat-page .flat-purchase-card p {
    margin: 0;
    color: rgba(8, 46, 79, .7);
    font-size: 14px;
    line-height: 1.45;
}

.flat-page .flat-purchase-card__more {
    margin-top: auto;
    padding-top: 24px;
    color: #0b765e;
    font-size: 13px;
    font-weight: 800;
}

.flat-page .flat-followup--features {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 12% 0, rgba(255, 199, 125, .13), transparent 30%),
        linear-gradient(135deg, #084b47 0%, #073b3a 58%, #052f34 100%);
}

.flat-page .flat-followup__head--light > p,
.flat-page .flat-followup__head--light h2 {
    color: #fff;
}

.flat-page .flat-followup--features .flat-followup__head > p {
    color: #ffc77d;
}

.flat-page .flat-followup--features .flat-followup__head > p,
.flat-page .flat-followup--features .flat-followup__head h2,
.flat-page .flat-project-feature__top > strong,
.flat-page .flat-project-feature h3,
.flat-page .flat-project-feature p {
    letter-spacing: 0 !important;
}

.flat-page .flat-followup--features .flat-followup__head h2,
.flat-page .flat-project-feature h3 {
    font-variation-settings: "wght" 650, "GRAD" 30;
}

.flat-page .flat-project-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.flat-page .flat-project-feature {
    display: flex;
    min-width: 0;
    min-height: 228px;
    padding: clamp(20px, 2vw, 28px);
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .045));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.flat-page .flat-project-feature__top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: auto;
    padding-bottom: 32px;
}

.flat-page .flat-project-feature__top > strong {
    color: #ffc77d;
    font-size: clamp(27px, 2.35vw, 40px);
    font-weight: 650;
    line-height: .98;
    letter-spacing: 0;
}

.flat-page .flat-project-feature__icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    place-items: center;
    color: #ffc77d;
    background: rgba(255, 199, 125, .12);
}

.flat-page .flat-project-feature__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flat-page .flat-project-feature h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(19px, 1.45vw, 24px);
    line-height: 1.12;
}

.flat-page .flat-project-feature p {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    line-height: 1.42;
}

.flat-page .flat-project-gallery-shell {
    position: relative;
}

.flat-page .flat-project-gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 52vw);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 12px;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
}

.flat-page .flat-project-gallery-shell.is-enhanced .flat-project-gallery {
    padding-bottom: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.flat-page .flat-project-gallery-shell.is-enhanced .flat-project-gallery::-webkit-scrollbar {
    display: none;
}

.flat-page .flat-project-gallery__nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(8, 46, 79, .14);
    border-radius: 50%;
    place-items: center;
    color: #082e4f;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 12px 32px rgba(8, 46, 79, .16);
    cursor: pointer;
    transform: translateY(-50%);
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, opacity .2s ease, transform .2s ease;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.flat-page .flat-project-gallery__nav[hidden] {
    display: none;
}

.flat-page .flat-project-gallery__nav--prev {
    left: clamp(8px, 1.4vw, 20px);
}

.flat-page .flat-project-gallery__nav--next {
    right: clamp(8px, 1.4vw, 20px);
}

.flat-page .flat-project-gallery__nav svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flat-page .flat-project-gallery__nav:hover:not(:disabled) {
    color: #fff;
    background: #0b765e;
    box-shadow: 0 15px 34px rgba(7, 59, 58, .24);
    transform: translateY(-50%) scale(1.05);
}

.flat-page .flat-project-gallery__nav:focus-visible {
    outline: 3px solid rgba(239, 109, 35, .48);
    outline-offset: 3px;
}

.flat-page .flat-project-gallery__nav:disabled {
    opacity: .34;
    cursor: default;
    box-shadow: 0 8px 20px rgba(8, 46, 79, .08);
}

.flat-page .flat-project-gallery__item {
    position: relative;
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #dce5e3;
    scroll-snap-align: start;
}

.flat-page .flat-project-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.flat-page .flat-project-gallery__item:hover img {
    transform: scale(1.025);
}

.flat-page .flat-project-gallery__item figcaption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #fff;
    background: rgba(7, 59, 58, .84);
    font-size: 12px;
    font-weight: 700;
}

@media (min-width: 1181px) {
    .flat-page .flat-hero__visual[data-flat-media] {
        min-height: calc(100svh - var(--header-height));
    }
}

@media (max-width: 1180px) {
    .flat-page .flat-hero__visual[data-flat-media] {
        position: relative;
    }
}

@media (max-width: 1024px) {
    .flat-page .flat-plan-viewer {
        padding-top: 96px;
    }

    .flat-page .flat-media-panel--with-floor-switcher.is-active {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .flat-page .flat-media-panel--with-floor-switcher .flat-plan-viewer__figure {
        grid-row: 1;
        grid-column: 1;
    }

    .flat-page .flat-floor-switcher {
        width: min(100%, 520px);
        max-height: none;
        grid-row: 2;
        grid-column: 1;
        grid-template-rows: auto;
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 8px;
        justify-self: center;
    }

    .flat-page .flat-floor-switcher__viewport {
        height: auto;
        grid-row: 1;
        grid-column: 2;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
    }

    .flat-page .flat-floor-switcher ul {
        display: flex;
        width: max-content;
        gap: 6px;
    }

    .flat-page .flat-floor-switcher__item {
        width: 46px;
        height: 46px;
    }

    .flat-page .flat-floor-switcher__arrow {
        width: 42px;
        height: 42px;
    }

    .flat-page .flat-floor-switcher__arrow--prev svg {
        transform: rotate(-90deg);
    }

    .flat-page .flat-floor-switcher__arrow--prev {
        grid-row: 1;
        grid-column: 1;
    }

    .flat-page .flat-floor-switcher__arrow--next svg {
        transform: rotate(-90deg);
    }

    .flat-page .flat-floor-switcher__arrow--next {
        grid-row: 1;
        grid-column: 3;
    }

    .flat-page .flat-purchase-cards {
        grid-auto-flow: column;
        grid-auto-columns: minmax(280px, 46vw);
        grid-template-columns: none;
        overflow-x: auto;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
    }

    .flat-page .flat-purchase-card {
        scroll-snap-align: start;
    }

    .flat-page .flat-project-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flat-page .flat-project-feature {
        display: grid;
        min-height: 180px;
        grid-template-rows: minmax(48px, auto) minmax(38px, auto) auto;
        row-gap: 8px;
        align-content: start;
    }

    .flat-page .flat-project-feature__top {
        min-height: 48px;
        margin: 0;
        padding: 0;
    }

    .flat-page .flat-project-feature h3 {
        min-height: 38px;
        margin: 0;
        align-self: start;
        text-wrap: balance;
    }

    .flat-page .flat-project-feature p {
        align-self: start;
    }

    .flat-page .flat-followup__head {
        display: block;
        margin-bottom: 32px;
        text-align: left;
    }

    .flat-page .flat-followup__head > p {
        margin: 0 0 10px;
    }

    .flat-page .flat-followup__head h2 {
        max-width: 680px;
        justify-self: start;
        font-size: clamp(42px, 5.2vw, 52px);
        line-height: 1.04;
        text-align: left;
    }
}

@media (max-width: 760px) {
    .flat-page .flat-floor-switcher,
    .flat-page .flat-compass {
        display: none;
    }

    .flat-page .flat-hero__info {
        padding-bottom: 20px;
    }

    .flat-page .flat-hero + .flat-followup--purchase {
        padding-top: 40px;
        background: linear-gradient(
            180deg,
            #f4f0e9 0,
            var(--vida-paper, #f7f7f5) 36px
        );
    }

    .flat-page .flat-hero__visual[data-flat-media] .flat-tabs {
        margin: 12px auto 0;
        border-color: rgba(8, 46, 79, .22);
    }

    .flat-page .flat-hero__visual[data-flat-media] .flat-tabs button {
        color: rgba(8, 46, 79, .62);
        border-right-color: rgba(8, 46, 79, .18);
    }

    .flat-page .flat-hero__visual[data-flat-media] .flat-tabs button.is-active {
        color: #082e4f;
    }

    .flat-page .flat-plan-viewer {
        min-height: 300px;
        padding: 92px 28px 14px;
    }

    .flat-page .flat-plan-viewer__figure,
    .flat-page .flat-plan-viewer__figure--floor,
    .flat-page .flat-plan-viewer__figure--window-map {
        width: min(96%, 500px);
    }

    .flat-page .flat-plan-viewer__figure > img {
        max-height: 330px;
    }

    .flat-page .flat-floor-plan {
        height: min(480px, 92vw);
    }

    .flat-page .flat-compass {
        top: 72px;
        right: 14px;
    }

    .flat-page .flat-sunlight-toggle {
        min-width: 88px;
        min-height: 44px;
        padding: 9px 14px;
    }

    .flat-page .flat-hero__media-actions {
        gap: 6px;
        padding: 0 16px 24px;
    }

    .flat-page .flat-specs--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flat-page .flat-specs--compact > div {
        grid-template-columns: max-content minmax(16px, 1fr) fit-content(55%);
        gap: 8px;
    }

    .flat-page .flat-specs--compact dd {
        font-size: 17px;
    }

    .flat-page .flat-repair__availability {
        grid-column: 1 / 2;
        grid-row: 2;
    }

    .flat-page .flat-followup {
        padding: 62px 0;
    }

    .flat-page .flat-followup .container {
        width: min(100% - 28px, 1440px);
    }

    .flat-page .flat-followup__head {
        display: block;
        margin-bottom: 28px;
    }

    .flat-page .flat-followup__head > p {
        margin-bottom: 12px;
    }

    .flat-page .flat-followup__head h2 {
        font-size: clamp(42px, 5.2vw, 50px);
    }

    .flat-page .flat-purchase-cards {
        grid-auto-flow: column;
        grid-auto-columns: minmax(260px, 82vw);
        grid-template-columns: none;
        overflow-x: auto;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
    }

    .flat-page .flat-purchase-card {
        min-height: 250px;
        scroll-snap-align: start;
    }

    .flat-page .flat-project-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .flat-page .flat-project-feature {
        min-height: 183px;
        padding: 17px;
        border-radius: 19px;
    }

    .flat-page .flat-project-feature__top {
        padding-bottom: 0;
    }

    .flat-page .flat-project-feature__top > strong {
        font-size: clamp(25px, 7.2vw, 30px);
    }

    .flat-page .flat-project-feature__icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .flat-page .flat-project-feature__icon svg {
        width: 18px;
        height: 18px;
    }

    .flat-page .flat-project-feature h3 {
        font-size: 17px;
    }

    .flat-page .flat-project-feature p {
        font-size: 12.5px;
    }

    .flat-page .flat-project-gallery {
        grid-auto-columns: 88vw;
    }

    .flat-page .flat-project-gallery__nav {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 640px) {
    .flat-page .flat-hero__visual.is-sunlight-active .flat-sunlight__label--sunrise {
        top: 20%;
    }
}

@media (max-width: 340px) {
    .flat-page .flat-hero__visual.is-sunlight-active .flat-sunlight__controls {
        gap: 6px;
    }

    .flat-page .flat-hero__visual.is-sunlight-active .flat-sunlight__controls button {
        padding: 6px 10px;
        font-size: 13px;
    }
}

@media (max-width: 520px) {
    .flat-page .flat-followup--features .flat-followup__head {
        margin-bottom: 24px;
    }

    .flat-page .flat-followup--features .flat-followup__head h2 {
        font-size: clamp(34px, 10.2vw, 43px);
        line-height: 1.02;
        text-wrap: balance;
    }

    .flat-page .flat-project-feature {
        display: grid;
        min-height: 214px;
        padding: 15px;
        grid-template-rows: minmax(58px, auto) minmax(38px, auto) auto;
        row-gap: 7px;
        align-content: start;
    }

    .flat-page .flat-project-feature__top {
        min-height: 58px;
        gap: 8px;
        margin: 0;
        padding: 0;
    }

    .flat-page .flat-project-feature__top > strong {
        font-size: clamp(24px, 6.4vw, 27px);
        line-height: 1;
        text-wrap: balance;
    }

    .flat-page .flat-project-feature__icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .flat-page .flat-project-feature__icon svg {
        width: 17px;
        height: 17px;
    }

    .flat-page .flat-project-feature h3 {
        min-height: 38px;
        margin: 0;
        align-self: start;
        font-size: 16px;
        line-height: 1.15;
        text-wrap: balance;
    }

    .flat-page .flat-project-feature p {
        align-self: start;
        font-size: 12px;
        line-height: 1.4;
    }
}

@media (max-width: 420px) {
    .flat-page .flat-followup--features {
        padding: 48px 0;
    }

    .flat-page .flat-media-action[data-flat-share] span,
    .flat-page .flat-media-action[data-flat-download-pdf] span {
        display: none;
    }

    .flat-page .flat-media-action[data-flat-share],
    .flat-page .flat-media-action[data-flat-download-pdf] {
        width: 44px;
        padding: 0;
        justify-content: center;
    }
}
