/* ===== Calculators and controls ===== */
.ui-slider-horizontal {
    position: relative;
    height: 4px;
    border-radius: 2px;
    border: none !important;
    background: #e5e5e5;
}

.ui-slider-range {
    background: #a4c611;
    position: absolute;
    z-index: 1;
    font-size: .7em;
    display: block;
    border: 0;
    background-position: 0 0;
}

.ui-slider-horizontal .ui-slider-range-min {
    left: 0;
    top: 0;
    height: 100%;
}

.ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 1.2em;
    height: 1.2em;
    cursor: default;
    -ms-touch-action: none;
    touch-action: none;
}

.ui-slider-handle {
    width: 24px !important;
    height: 24px !important;
    background: #fff !important;
    border: 4px solid #a4c611 !important;
    border-radius: 12px !important;
    outline: 0 !important;
    cursor: pointer !important;
    top: -10px !important;
    margin-left: -12px !important;
}

.switcher-box .switcher-box__name {
    line-height: 1;
    font-size: 30px;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.switcher-box .switcher-box__name.active {
    color: #a4c611;
}

.switcher-box .switcher-box__btn {
    position: relative;
    top: -3px;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    width: 50px;
    height: 24px;
    margin: 0 15px;
    cursor: pointer;
}

.switcher-box .switcher-box__btn:before {
    position: absolute;
    content: "";
    width: 50px;
    height: 4px;
    background: #a4c611;
    top: 50%;
    left: 0;
    margin-top: -2px;
    border-radius: 2px;
}

.switcher-box .switcher-box__btn:after {
    position: absolute;
    content: "";
    width: 24px;
    height: 24px;
    border-radius: 100%;
    background: #fff;
    border: 4px solid #a4c611;
    top: 0;
    left: 0;
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.switcher-box .switcher-box__name:first-child.active~.switcher-box__btn:after {
    left: 0;
}

.switcher-box .switcher-box__name:nth-child(2).active~.switcher-box__btn:after {
    left: 26px;
}

.radio-switcher-container input[type=radio] {
    display: none;
}

.radio-switcher-container .switcher-container {
    position: relative;
}

.radio-switcher-container .switcher-container>label {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #222;
    cursor: pointer;
    -webkit-transition: color .3s ease;
    -o-transition: color .3s ease;
    transition: color .3s ease;
}

.radio-switcher-container .switcher-container .switcher {
    position: relative;
    top: -3px;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    width: 50px;
    height: 24px;
    margin: 0 15px;
    cursor: pointer;
}

.radio-switcher-container .switcher-container .switcher:before {
    position: absolute;
    content: "";
    width: 50px;
    height: 4px;
    background: #a4c611;
    top: 50%;
    left: 0;
    margin-top: -2px;
    border-radius: 2px;
}

.radio-switcher-container .switcher-container .switcher:after {
    position: absolute;
    content: "";
    width: 24px;
    height: 24px;
    border-radius: 100%;
    background: #fff;
    border: 4px solid #a4c611;
    top: 0;
    left: 0;
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.radio-switcher-container input#typeLeft:checked~.switcher-container label[for=typeLeft] {
    color: #a4c611;
}

.radio-switcher-container input#typeLeft:checked~.switcher-container .switcher:after {
    left: 0;
}

.radio-switcher-container input#typeRight:checked~.switcher-container label[for=typeRight] {
    color: #a4c611;
}

.radio-switcher-container input#typeRight:checked~.switcher-container .switcher:after {
    left: 26px;
}

.radio-switcher-container input#yearLeft:checked~.switcher-container label[for=yearLeft] {
    color: #a4c611;
}

.radio-switcher-container input#yearLeft:checked~.switcher-container .switcher:after {
    left: 0;
}

.radio-switcher-container input#yearRight:checked~.switcher-container label[for=yearRight] {
    color: #a4c611;
}

.radio-switcher-container input#yearRight:checked~.switcher-container .switcher:after {
    left: 26px;
}

.calc-box {
    position: relative;
    background: #fff;
    padding: 80px 100px 30px;
    margin: 36px 0 60px;
    -webkit-box-shadow: 0 25px 50px rgba(0,0,0,.15);
    box-shadow: 0 25px 50px rgba(0,0,0,.15);
    border-radius: 3px;
}

.calc-box:after {
    position: absolute;
    content: "";
    top: -36px;
    right: -49px;
    width: 216px;
    height: 216px;
    background-image: url(../img/bg-dots.svg);
    background-repeat: repeat;
    background-position: 0 0;
    z-index: -10;
    opacity: .5;
}

.calc-box__left {
    padding-right: 60px;
}

.calc-box__content {
    margin-top: 60px;
}

.calc-box__item {
    margin-bottom: 40px;
}

.calc-box__item-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #222;
    margin-bottom: 10px;
}

.calc-box__slider .name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #222;
    margin-bottom: 10px;
}

.calc-box__slider .content {
    line-height: 1;
    font-size: 21px;
    font-weight: 700;
    color: #a4c611;
}

.calc-box__slider .content .number {
    line-height: 1;
    font-size: 36px;
    font-weight: 700;
    color: #a4c611;
    margin-bottom: 10px;
}

.calc-box__slider .content .percent span {
    line-height: 1;
    font-size: 36px;
    font-weight: 700;
    color: #a4c611;
    margin-bottom: 10px;
}

.calc-box__slider .text {
    margin-top: 15px;
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
    color: #222;
}

.calc-box__result .name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #222;
    margin-bottom: 10px;
}

.calc-box__result .content {
    color: #a4c611;
    line-height: 1;
    font-size: 21px;
    font-weight: 700;
}

.calc-box__result .content .number span {
    font-size: 36px;
}

.calc-box .w-100 {
    max-width: 280px !important;
}

.calc-box p {
    line-height: 1.5 !important;
    font-size: 12px;
    font-weight: 400;
}

@media (max-width:991.98px) {
    .calc-box__left {
        padding-right: 0;
    }
}

@media (max-width:767.98px) {
    .calc-box {
        padding-left: 60px;
        padding-right: 60px;
    }

    .switcher-box .switcher-box__name {
        font-size: 24px;
    }
}

@media (max-width:575.98px) {
    .calc-box {
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 50px;
        padding-bottom: 0;
    }

    .calc-box:after {
        top: -18px;
        right: -31px;
    }

    .calc-box__content {
        margin-top: 40px;
    }

    .switcher-box .switcher-box__name {
        position: relative;
        font-size: 18px;
        padding-left: 34px;
        margin-bottom: 10px;
    }

    .switcher-box .switcher-box__name:before {
        position: absolute;
        content: "";
        width: 24px;
        height: 24px;
        border-radius: 12px;
        background: #fff;
        border: 4px solid #a4c611;
        top: 50%;
        margin-top: -14px;
        left: 0;
    }

    .switcher-box .switcher-box__name:after {
        position: absolute;
        content: "";
        width: 10px;
        height: 10px;
        background: #a4c611;
        border-radius: 50%;
        left: 7px;
        top: 50%;
        margin-top: -7px;
        opacity: 0;
        -webkit-transition: .3s ease-in-out;
        -o-transition: .3s ease-in-out;
        transition: .3s ease-in-out;
    }

    .switcher-box .switcher-box__name.active:after {
        opacity: 1;
    }

    .switcher-box .switcher-box__btn {
        display: none;
    }

    .radio-switcher-container .switcher-container {
        position: relative;
    }

    .radio-switcher-container .switcher-container>label {
        position: relative;
        display: block;
        padding-left: 34px;
        margin-bottom: 10px;
    }

    .radio-switcher-container .switcher-container>label:before {
        position: absolute;
        content: "";
        width: 24px;
        height: 24px;
        border-radius: 12px;
        background: #fff;
        border: 4px solid #a4c611;
        top: 50%;
        margin-top: -14px;
        left: 0;
    }

    .radio-switcher-container .switcher-container>label:after {
        position: absolute;
        content: "";
        width: 10px;
        height: 10px;
        background: #a4c611;
        border-radius: 50%;
        left: 7px;
        top: 50%;
        margin-top: -7px;
        opacity: 0;
        -webkit-transition: .3s ease-in-out;
        -o-transition: .3s ease-in-out;
        transition: .3s ease-in-out;
    }

    .radio-switcher-container .switcher-container .switcher {
        display: none;
    }

    .radio-switcher-container input#typeLeft:checked~.switcher-container label[for=typeLeft]:after {
        opacity: 1;
    }

    .radio-switcher-container input#typeRight:checked~.switcher-container label[for=typeRight]:after {
        opacity: 1;
    }

    .radio-switcher-container input#yearLeft:checked~.switcher-container label[for=yearLeft]:after {
        opacity: 1;
    }

    .radio-switcher-container input#yearRight:checked~.switcher-container label[for=yearRight]:after {
        opacity: 1;
    }

    .calc-box__slider .name {
        font-size: 16px;
    }

    .calc-box__slider .content {
        font-size: 16px;
    }

    .calc-box__slider .content .number {
        font-size: 24px;
    }

    .calc-box__slider .content .percent span {
        font-size: 24px;
    }

    .calc-box__result .name {
        font-size: 16px;
    }

    .calc-box__result .content {
        font-size: 16px;
    }

    .calc-box__result .content .number span {
        font-size: 24px;
    }

    .calc-box__item-name {
        font-size: 16px;
    }
}

.village-radio__wrap {
    margin-bottom: 40px;
}

label.village-radio>input {
    visibility: hidden;
    position: absolute;
}

label.village-radio>input+img {
    cursor: pointer;
}

label.village-radio img {
    max-height: 60px;
    max-width: 120px;
}

label.village-radio>input:checked+.village-radio__content .text {
    color: #a4c611;
    border-bottom: 2px solid #a4c611;
}

.village-radio__wrap .village-radio {
    margin-right: 15px;
}

.village-radio__wrap .village-radio:last-child {
    margin-right: 0;
}

.village-radio__content {
    cursor: pointer;
}

.village-radio__content .image {
    margin-bottom: 15px;
}

.village-radio__content .image img {
    max-width: 100px;
}

.village-radio__content .text {
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
    color: #000;
    border-bottom: 2px solid transparent;
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

/* Native calculator controls retain the original 4px track and 24px handle. */
.calc-box .calc-range {
    --calc-progress: 0%;
    display: block;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 24px;
    margin: -10px 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    touch-action: pan-y;
}

.calc-range::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, #a4c611 0%, #a4c611 var(--calc-progress), #e5e5e5 var(--calc-progress), #e5e5e5 100%);
}

.calc-range::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: #e5e5e5;
}

.calc-range::-moz-range-progress {
    height: 4px;
    border-radius: 2px;
    background: #a4c611;
}

.calc-range::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    margin-top: -10px;
    border: 4px solid #a4c611;
    border-radius: 50%;
    background: #fff;
}

.calc-range::-moz-range-thumb {
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    border: 4px solid #a4c611;
    border-radius: 50%;
    background: #fff;
}

.switcher-box button.switcher-box__name {
    display: block;
}

button.switcher-box__name,
button.switcher-box__btn,
button.switcher {
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    text-align: inherit;
}

.calc-box__content[hidden] {
    display: none !important;
}

.calc-box .radio-switcher-container input[type="radio"],
.calc-box label.village-radio > input {
    display: block;
    visibility: visible;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    clip-path: inset(50%);
}

.calc-range:focus-visible,
.calc-box button:focus-visible,
.radio-switcher-container input:focus-visible ~ .switcher-container,
.village-radio input:focus-visible + .village-radio__content {
    outline: 2px solid #698000;
    outline-offset: 5px;
}

/* ===== Shared styles and site overrides ===== */
/* ===== Blog cards and detail layout ===== */
.blog-box__image {
    max-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.header_detail_page {
    margin-top: -80px;
}

.header_detail_page .main_info,
.header_detail_page .done_percent {
    padding: 0 30px;
    background: #fff;
}

.header_detail_page .main_info {
    margin-bottom: 30px;
}

/* ===== Village color variants ===== */
.dark-green .number-box-2 .number {
    color: #4aaf65;
}

.dark-green.btn {
    background: #4aaf65;
    border: none;
}

.dark-green .progress-box .progress-box__bar .progress {
    height: 4px;
    background: #4aaf65;
}

.dark-green .progress-box .progress-box__content .text {
    color: #4aaf65;
}

a.dark-green {
    color: #4aaf65;
}

.bright-blue .number-box-2 .number {
    color: #20a5d6;
}

.bright-blue.btn {
    background: #20a5d6;
    border: none;
}

.bright-blue .progress-box .progress-box__bar .progress {
    height: 4px;
    background: #20a5d6;
}

.bright-blue .progress-box .progress-box__content .text {
    color: #20a5d6;
}

a.bright-blue {
    color: #20a5d6;
}

.cw-genplan__frame html .bg_img {
    width: 100% !important;
}

.cw-buy-conditions.dark-green svg path {
    fill: #4AAF65;
}

table.dark-green tbody tr:nth-child(odd) {
    background: #e6f1e9;
}

table.dark-green tbody tr:first-child {
    background: #4aaf65;
    color: #fff;
}

table.dark-green tbody td {
    border: 3px solid #fff;
}

table.dark-green tbody tr:last-child td {
    border-bottom: 1px solid #e6f1e9;
}

.dark-green .number-box .number {
    color: #4aaf65;
}

.about_company_numbers.dark-green {
    background: #e6f1e9;
}

.cw-buy-conditions.bright-blue svg path {
    fill: #20A5D6;
}

table.bright-blue tbody tr:nth-child(odd) {
    background: #e7f3f7;
}

table.bright-blue tbody tr:first-child {
    background: #20a5d6;
    color: #fff;
}

table.bright-blue tbody td {
    border: 3px solid #fff;
}

table.bright-blue tbody tr:last-child td {
    border-bottom: 1px solid #e7f3f7;
}

table.bright-blue td a {
    color: #20a5d6;
}

.bright-blue .number-box .number {
    color: #20a5d6;
}

.about_company_numbers.bright-blue {
    background: #e7f3f7;
}

.about_company_numbers {
    padding: 50px 0;
    margin-block: -50px 50px;
}

.about_company_numbers .number-box {
    margin-bottom: 0;
}

.cw-pre-footer-gallery {
    overflow: hidden;
}

/* ===== Village infrastructure, benefits and construction steps ===== */
.infrastructure_river {
    padding-bottom: 50px;
}

.infrastructure_river .row_col_three .items {
    display: flex;
    flex-wrap: wrap;
}

.infrastructure_river .row_col_three .item {
    padding: 150px 30px 50px 30px;
    color: #fff;
    width: 33.3333333333%;
}

.infrastructure_river .row_col_three .item .title {
    font-size: 30px;
    line-height: 1.2;
}

.infrastructure_river .row_col_three .item .text {
    font-size: 16px;
    line-height: 1.2;
    margin-top: 30px;
}

.bottom_advantages {
    padding: 50px 0;
}

.bottom_advantages .items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.bottom_advantages .items .item {
    display: flex;
    align-items: start;
    gap: 20px;
    width: calc((100% - 20px * 2)/ 3);
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    padding: 30px;
}

.bottom_advantages .items .item .icon {
    flex: 0 0 auto;
}

.bottom_advantages .items .item .text {
    color: #666;
    font-size: 16px;
}

.steps_project {
    padding: 50px 0;
}

.steps_project .items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.steps_project .items .item {
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    padding: 30px;
    width: calc((100% - 20px * 2)/ 3);
}

.steps_project .items .item .title {
    font-size: 32px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #d7d7d6;
    text-align: center;
    font-weight: 700;
}

.steps_project.dark-green .items .item .title {
    color: #4aaf65;
}

.steps_project .items .item .title span {
    font-size: 16px;
}

.steps_project .items .item .steps {
    display: flex;
    gap: 30px;
    flex-direction: column;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #d7d7d6;
}

.steps_project .items .item .steps .step {
    display: flex;
    gap: 20px;
    align-items: center;
    line-height: 1.5;
}

.steps_project .items .item .price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.steps_project .items .item .price .label_price {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.steps_project .items .item .price .value_price {
    font-size: 30px;
    text-align: center;
}

.steps_project.dark-green .items .item .price .label_price {
    color: #222;
}

.steps_project.dark-green .items .item .price .value_price {
    color: #4aaf65;
}

@media screen and (max-width:1024px) {
    .bottom_advantages .items .item {
        width: calc((100% - 20px)/ 2);
    }

    .infrastructure_river .row_col_three .items {
        justify-content: center;
    }

    .infrastructure_river .row_col_three .item {
        width: 50%;
    }

    .steps_project .items .item {
        width: calc((100% - 20px)/ 2);
    }
}

@media screen and (max-width:568px) {
    .bottom_advantages .items .item {
        width: 100%;
    }

    .infrastructure_river .row_col_three .item {
        width: 100%;
    }

    .steps_project .items .item {
        width: 100%;
    }
}

/* ===== Navigation and legacy footer links ===== */
.nav-box ul li div {
    display: block;
    padding: 25px 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
}

.nav-main ul li div {
    display: flex;
    align-items: center;
    padding: .75rem 0;
    line-height: 1.15;
    font-size: .875rem;
}

.footer__menu-link2 {
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.3;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

@media (max-width:991px) {
    .footer__menu-link2 {
        align-items: center;
        display: flex;
        gap: 20px;
        justify-content: space-between;
    }
}

/* ===== Village listing cards ===== */
.village-count-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 16px;
    border-radius: 999px;
    background: #afca0a;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.sale-box__title {
    margin: 22px 0 16px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    color: #222;
}

.sale-box .text {
    margin-top: 12px;
}

.sale-box .link.sale-box__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.sale-box .sale-box__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 0 !important;
    padding: 12px 20px;
    border: 1px solid #afca0a !important;
    background: #afca0a !important;
    color: #fff !important;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}

.sale-box .sale-box__btn:hover {
    background: #9db508 !important;
    border-color: #9db508 !important;
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-1px);
}

.sale-box .sale-box__btn--more {
    min-width: 110px;
}

.sale-box .sale-box__btn--presentation {
    min-width: 130px;
}

.sale-box .sale-box__btn--trip {
    min-width: 190px;
}

@media (min-width:992px) {
    .sale-box .link.sale-box__actions {
        flex-wrap: nowrap;
    }

    .sale-box .sale-box__btn {
        font-size: 12px;
    }
}

@media (max-width:767px) {
    .village-count-badge {
        font-size: 14px;
    }

    .sale-box__title {
        margin: 18px 0 12px;
        font-size: 21px;
    }

    .sale-box .link.sale-box__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .sale-box .sale-box__btn {
        width: 100%;
        max-width: 320px;
        font-size: 12px;
    }
}

/* ===== Home page guide ===== */
.main-w-gid {
    display: grid;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    margin-block: 2rem 4rem;
}

@media screen and (min-width:768px) {
    .main-w-gid {
        grid-template-columns: 1fr 280px;
        margin-block: 2rem 3rem;
    }
}

@media screen and (min-width:991px) {
    .main-w-gid {
        margin-block: 2rem 0;
    }
}

@media (min-width:1200px) {
    .main-w-gid {
        margin-block: -2rem 2rem;
    }
}

.gid {
    display: grid;
    align-content: flex-start;
    gap: 1rem;
}

.gid__caption {
    font-size: 1.1rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 0;
}

@media screen and (min-width:991px) {
    .gid__caption {
        text-align: center;
    }
}

@media screen and (max-width:768px) {
    .gid .btn {
        max-width: 320px;
    }
}

.cw-infrastructure__image-img {
    width: 100%;
}

/* ===== Shared controls and main navigation ===== */
/* Main navigation markup is in header.php. */
@media (min-width: 992px) {
    .wrap-nav {
        background-color: rgba(0, 0, 0, 0.3) !important;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
}

.nav-box .menu-villages-d2n432k5rhf > .nav-sub-3d2d3f3wk {
    background-color: #AFCA0A;
    border-radius: 0.5rem;
    padding: 0 0.8rem;
    transition: background-color 0.3s ease-in-out;
}

.nav-box .menu-villages-d2n432k5rhf:hover > .nav-sub-3d2d3f3wk {
    background-color: transparent;
}

.nav-box .menu-villages-d2n432k5rhf > .sub-23fnd34 {
    left: 0;
}

/* Shared button shape and weight override component and utility variants. */
.btn,
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
[role="button"],
.btn-more,
.cw-presentation__button,
.cw-ymap__btn,
.big-image__button,
.download-catalog__btn,
.ready-projects__item-link-button,
.leave-request__button,
.vs-list__btn,
.consult-form__btn,
.related-section__btn,
.aspro-contact-widget__item {
    border-radius: 3px !important;
    font-weight: 400 !important;
}

/* Contact widget controls keep their circular shape. */
.aspro-contact-widget .aspro-contact-widget__toggle,
.aspro-contact-widget .aspro-contact-widget__item {
    border-radius: 50% !important;
}

/* Numbered pagination wraps independently of the component stylesheet. */
.pagination {
    flex-wrap: wrap;
}

/* Slider dots remain circular, including bullets with role="button". */
.swiper-pagination-bullet {
    border-radius: 50% !important;
}

.cw-infrastructure-1 .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
}

/* Common button typography and spacing; large buttons retain their existing sizing. */
.btn:not(.btn-lg) {
    padding: 12px 20px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* Informational labels are independent of Bootstrap's interactive .btn rules. */
.zmo-village-label {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 3px 10px;
    min-width: auto;
    border: 1px solid #e10f00;
    border-radius: 3px;
    background: #e10f00;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .25px;
    text-align: center;
    vertical-align: middle;
    white-space: normal;
    user-select: none;
    cursor: default !important;
    z-index: 10;
}

/* Also cover HTML still stored in a component/composite cache. */
span.btn.btn-red {
    padding: 3px 10px !important;
    min-width: auto;
    cursor: default !important;
}

.zmo-village-label *,
span.btn.btn-red * {
    cursor: default !important;
}

/* Section side gutters belong to containers; .wrap only sets vertical spacing. */
.container {
    padding-left: 30px;
    padding-right: 30px;
}

/* Preserve the navigation gutter previously split between wrap and container-fluid. */
.wrap-nav > .container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}

/* Company numbers: grid gaps replace Bootstrap column gutters. */
.about_company_numbers > .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-left: 0;
    margin-right: 0;
}

.about_company_numbers > .row > [class*="col-"] {
    min-width: 0;
    max-width: none;
    width: auto;
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 992px) {
    .about_company_numbers > .row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Section heading spacing, including mobile and former mb-5 variants. */
.zmo-section-heading,
.faq__title,
.cw-genplan__heading,
.cw-genplan-video__heading,
.cw-buy-conditions__heading,
.key-info__title,
.price-section__title,
.process-section__title,
.payment-section__title,
.related-section__title,
.dev__heading,
.video-reviews__heading,
.conditions__heading,
.ready-projects__heading,
.vs-video__heading,
.vs-genplan__heading,
.vs-gallery__heading {
    margin-bottom: 30px !important;
}

/* Preserve the border of legacy related cards; catalog cards use their own styles. */
.related-section .related-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

/* Legal information block spacing. */
.cw-legal-info {
    margin-block: 80px 50px;
}

/* Bank partners follow the purchase conditions without extra top padding. */
.bank_partners {
    padding-top: 0;
}

/* Purchase-condition cards use a single vertical gap. */
.cw-buy-conditions .icon-box,
.cw-buy-conditions .icon-box > :last-child,
.cw-buy-conditions .icon-box__text > :last-child {
    margin-bottom: 0;
}

.cw-buy-conditions > .container > .row,
.cw-buy-conditions > .land-purchase-options > .row {
    row-gap: 30px;
}

.bank_partners > .container > .row,
.bank_partners > .land-bank-partners > .row {
    row-gap: 30px;
}

.bank_partners .bank {
    margin-bottom: 0;
}

.bank_partners .cw-buy-conditions__link {
    margin-top: 30px;
}

/* Village section headings; presentation panels keep their own typography. */
.village-page h2:not(.cw-presentation__name),
.village-page h3[class*="__heading"] {
    margin-bottom: 30px !important;
}

/* Village maps follow the home page layout on mobile: map, then information. */
@media (max-width: 767.98px) {
    .village-page #cw-ymap-section {
        min-height: 0;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .village-page #cw-ymap-section #map {
        position: relative;
        inset: auto;
        width: 100%;
        height: 400px;
    }

    .village-page #cw-ymap-section .cw-ymap__information {
        position: static;
        padding: 40px 0;
        border-radius: 0;
        box-shadow: none;
    }
}

/* Stack detail information without distributing spare height on narrow screens. */
@media (max-width: 991.98px) {
    .header_detail_page .detail-page {
        row-gap: 30px;
    }

    .header_detail_page .main_info,
    .header_detail_page .done_percent {
        padding: 0;
    }

    .header_detail_page .detail-page > .col-lg-6.d-flex {
        justify-content: flex-start !important;
    }
}

/* Shared mobile blocks. */
@media (max-width: 575.98px) {
    .image-box__100 {
        min-width: 0;
    }

    .white-box {
        padding-left: 0;
        padding-right: 0;
    }
}

.wrap.company-numbers-3ds4fsed {
    padding-block: 50px;
}

.village-page .about_company_numbers {
    background: transparent;
}

/* Site typography: Circe Regular and Bold; icon families keep their own rules. */
:root {
    --font-family-sans-serif: Circe, sans-serif;
    --ui-font-family-primary: Circe, sans-serif;
    --ui-font-family-secondary: Circe, sans-serif;
}

html,
.popover,
.tooltip {
    font-family: Circe, sans-serif;
}

b,
strong {
    font-weight: 700;
}

.lead,
.display-1,
.display-2,
.display-3,
.display-4 {
    font-weight: 400;
}

.font-weight-light {
    font-weight: 400 !important;
}

/* Themify replacements for the former FontAwesome angle icons. */
.zmo-icon-angle {
    display: inline-block;
    font-weight: 700;
    scale: 0.6;
}

/* ===== Responsive images and background layers ===== */
/* Изображение занимает место прежнего CSS-фона, не влияя на размеры блока. */
.zmo-image-host {
    position: relative;
    isolation: isolate;
}

.zmo-image-host > .zmo-responsive-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: inherit;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

/* Порядок слоёв такой же, как у первого экрана посёлков. */
.zmo-image-host::before,
.zmo-image-host.cta-box.cta-box__image::before,
.zmo-image-host.cw-presentation.cw-presentation--closed::before {
    z-index: 1;
    pointer-events: none;
}

.zmo-image-host > :not(.zmo-responsive-background) {
    position: relative;
    z-index: 2;
}

.zmo-image-host.cw-presentation--whitepark > .zmo-responsive-background,
.zmo-image-host.cw-presentation--kppanoramariver > .zmo-responsive-background {
    object-fit: contain;
    object-position: left center;
}

.cw-presentation--closed .cw-presentation__img {
    width: 100%;
    height: auto;
}

/* ===== Shared page heading ===== */
/* Общий первый экран обычных внутренних страниц. */
.wrap-page {
    position: relative;
    overflow: hidden;
}

.wrap-page > .header-bg,
.wrap-page > picture.header-bg > img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.wrap-page > *:not(.header-bg) {
    position: relative;
    z-index: 1;
}

.wrap-page::before {
    z-index: 1;
}

/* ===== Autoshow modal steps ===== */
#autoshowModal .autoshowModal__step--1,
#autoshowModal .autoshowModal__step--2 {
    display: none;
}

#autoshowModal .autoshowModal__step--1.is-active,
#autoshowModal .autoshowModal__step--2.is-active {
    display: block;
}

/* ===== Village pages and shared galleries ===== */
/* Village content follows the plot detail's 60/50px section rhythm. */
.village-page {
    --village-section-gap: 60px;
}

.village-page .header_detail_page {
    padding-bottom: 0;
}

.village-page :is(.finishing, .cw-buy-conditions, .cw-genplan,
    .cw-genplan-video, .bottom_advantages, .steps_project, .cw-legal-info) {
    margin-block: var(--village-section-gap) 0;
    padding-block: 0;
}

.village-page .village-infrastructure,
.village-page .cw-pre-footer-gallery {
    margin-block: var(--village-section-gap) 0;
}

.village-infrastructure > section {
    margin-block: 0;
    padding-block: 0;
}

.village-infrastructure h2 {
    margin-top: 0;
}

.village-page .cw-presentation {
    margin-block: var(--village-section-gap) 0;
}

.village-page .cw-buy-conditions {
    padding-bottom: 50px;
}

.village-page .bank_partners {
    padding-block: 0;
}

.village-page .village-description:not(:empty) {
    margin-top: var(--village-section-gap);
}

.village-description > :last-child {
    margin-bottom: 0;
}

/* Infrastructure gallery uses the site's typography, spacing and accent. */
.village-page .cw-infrastructure-2 {
    --infrastructure-slide-height: clamp(480px, 45vw, 560px);
    height: auto;
    min-height: 0;
    border-radius: 3px;
    background: #222;
}

.village-page .cw-infrastructure-2__item {
    height: auto;
    min-height: var(--infrastructure-slide-height);
    justify-content: flex-end;
    padding: 48px 48px 96px;
}

.village-page .cw-infrastructure-2 > .swiper {
    height: auto;
    position: relative;
    overflow: hidden;
}

.village-page .cw-infrastructure-2 .swiper-wrapper {
    height: auto;
    align-items: stretch;
}

.village-page .cw-infrastructure-2__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.village-page .cw-infrastructure-2__item::before {
    background: linear-gradient(90deg, rgba(22, 28, 19, .85), rgba(22, 28, 19, .58) 55%, rgba(22, 28, 19, .16));
    z-index: 1;
    pointer-events: none;
}

.cw-infrastructure-2__content {
    position: relative;
    width: 100%;
    max-width: 640px;
    z-index: 2;
}

.village-page .cw-infrastructure-2__name {
    margin: 0 0 24px;
    font-family: inherit;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
}

.village-page .cw-infrastructure-2__paragraph {
    margin: 0;
    color: rgba(255, 255, 255, .92);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

.village-page .cw-infrastructure-2__navigation {
    inset: auto 48px 36px;
    width: auto;
    padding: 0;
    z-index: 3;
}

.village-page .cw-infrastructure-2__pagination {
    gap: 10px;
}

.village-page .cw-infrastructure-2__pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0;
    background: #fff;
    opacity: .5;
}

.village-page .cw-infrastructure-2__pagination .swiper-pagination-bullet::before {
    content: none;
}

.village-page .cw-infrastructure-2__pagination .swiper-pagination-bullet-active {
    background: #a4c611;
    opacity: 1;
}

.village-infrastructure .infrastructure_river .item {
    position: relative;
    isolation: isolate;
    padding: 150px 30px 30px;
    width: calc((100% - 4px) / 3);
}

.village-infrastructure .infrastructure_river .row_col_three .items {
    gap: 2px;
}

.village-infrastructure .infrastructure-river__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.village-infrastructure .infrastructure_river .item .title {
    margin: 0 0 20px;
}

.village-infrastructure .infrastructure_river .item .text {
    margin: 0;
}

@media (max-width: 1024px) {
    .village-infrastructure .infrastructure_river .item {
        width: calc((100% - 2px) / 2);
    }
}

@media (max-width: 568px) {
    .village-infrastructure .infrastructure_river .item {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .village-page {
        --village-section-gap: 50px;
    }

    .village-page .cw-infrastructure-2 {
        --infrastructure-slide-height: 480px;
    }

    .village-page .cw-infrastructure-2__item {
        padding: 30px 24px 78px;
    }

    .village-page .cw-infrastructure-2__item::before {
        background: linear-gradient(0deg, rgba(22, 28, 19, .92), rgba(22, 28, 19, .38));
    }

    .village-page .cw-infrastructure-2__name {
        margin-bottom: 20px;
        font-size: 27px;
    }

    .village-page .cw-infrastructure-2__navigation {
        inset: auto 24px 30px;
    }
}

.cw-pre-footer-gallery__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.cw-pre-footer-gallery__controls .cw-pre-footer-gallery__pagination {
    position: static;
    width: auto;
    min-width: 64px;
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1;
}

/* Nested controls do not match Swiper's direct-child horizontal selectors. */
.cw-pre-footer-gallery__controls .cw-pre-footer-gallery__pagination.swiper-pagination-bullets-dynamic {
    display: block;
    flex-shrink: 0;
    min-width: 0;
    font-size: 0;
    line-height: 0;
    white-space: nowrap;
    overflow: hidden;
    left: auto;
    transform: none;
}

/* Match completed projects while retaining Swiper's dynamic scaling. */
.cw-pre-footer-gallery__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 5px !important;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #a4c611;
    opacity: 1;
    cursor: pointer;
}

.cw-pre-footer-gallery__pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
    background: #666;
}

.cw-pre-footer-gallery__pagination.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    transition: transform .2s, left .2s;
}

.village-gallery__thumb {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.header_detail_page .swiper-button-next,
.header_detail_page .swiper-button-prev {
    padding: 0;
    border: 0;
}

.village-page button:focus-visible,
.village-page a:focus-visible,
.village-page [role="button"]:focus-visible,
.village-page input:focus-visible {
    outline: 2px solid #222 !important;
    outline-offset: 3px;
}

.village-page .house-scheme .fullwidth-icon {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.village-page .cw-presentation__button[data-toggle="modal"] {
    border: 0;
    font-family: inherit;
}

/* ===== Contact widget ===== */
.cbk-window-bgr {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.aspro-contact-widget {
    transform: scale(1.5);
    transform-origin: bottom;
    position: fixed;
    right: 108px;
    bottom: 92px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: inherit;
    /* Hidden links leave the container tall; let clicks reach the page below. */
    pointer-events: none;
}

.aspro-contact-widget,.aspro-contact-widget * {
    box-sizing: border-box;
}

.aspro-contact-widget__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.aspro-contact-widget__item,.aspro-contact-widget__toggle {
    width: 54px;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
    transition: transform .22s ease,opacity .22s ease,visibility .22s ease,background-color .22s ease,box-shadow .22s ease;
}

.aspro-contact-widget__item:hover,.aspro-contact-widget__toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,.28);
    color: #fff;
    text-decoration: none;
}

.aspro-contact-widget__item:focus,.aspro-contact-widget__toggle:focus {
    outline: 3px solid rgba(175,202,10,.35);
    outline-offset: 3px;
}

.aspro-contact-widget__item--phone {
    background: #6d7e03;
}

.aspro-contact-widget__toggle {
    position: relative;
    background: #afca0a;
    overflow: visible;
    pointer-events: auto;
}

.aspro-contact-widget__toggle::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(175,202,10,.28);
    z-index: -1;
    animation: asproContactPulse 1.8s infinite;
    pointer-events: none;
}

.aspro-contact-widget__toggle-icon {
    width: 27px;
    height: 27px;
    display: block;
}

.aspro-contact-widget__toggle-close {
    display: none;
}

.aspro-contact-widget__item {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(.9);
}

.aspro-contact-widget.is-open .aspro-contact-widget__item {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.aspro-contact-widget.is-open .aspro-contact-widget__toggle {
    background: #d9d9d9;
}

.aspro-contact-widget.is-open .aspro-contact-widget__toggle::before {
    background: rgba(217,217,217,.45);
    animation: none;
}

.aspro-contact-widget.is-open .aspro-contact-widget__toggle-open {
    display: none;
}

.aspro-contact-widget.is-open .aspro-contact-widget__toggle-close {
    display: block;
}

.aspro-contact-widget.is-open .aspro-contact-widget__item:first-child {
    transition-delay: 20ms;
}

.aspro-contact-widget.is-open .aspro-contact-widget__item:nth-child(2) {
    transition-delay: 50ms;
}

.aspro-contact-widget.is-open .aspro-contact-widget__item:nth-child(3) {
    transition-delay: 80ms;
}

.aspro-contact-widget.is-open .aspro-contact-widget__item:nth-child(4) {
    transition-delay: 0.11s;
}

.aspro-contact-widget__item::after {
    content: attr(aria-label);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    padding: 8px 12px;
    background: #222;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease,visibility .2s ease,transform .2s ease;
}

.aspro-contact-widget__item:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@keyframes asproContactPulse {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    70% {
        transform: scale(1.35);
        opacity: 0;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

@media (max-width:767px) {
    .aspro-contact-widget {
        transform: scale(1.2);
        right: 40px;
        bottom: 58px;
    }

    .aspro-contact-widget__item,.aspro-contact-widget__toggle {
        width: 50px;
        height: 50px;
        font-size: 12px;
    }

    .aspro-contact-widget__item::after {
        display: none;
    }

    .aspro-contact-widget__toggle-icon {
        width: 25px;
        height: 25px;
    }
}

.callbackkiller {
    z-index: 10000 !important;
}

a.callbackkiller.cbk-phone,a.callbackkiller.cbk-phone.cbk-phone-pulse,a.callbackkiller.cbk-phone.cbk-phone-text-none,a.callbackkiller.cbk-phone.cbk-phone-xs {
    position: fixed !important;
    inset: auto auto 110px auto !important;
    top: auto !important;
    left: auto !important;
    right: 210px !important;
    bottom: 103px !important;
    cursor: pointer !important;
}

@media (max-width:767px) {
    a.callbackkiller.cbk-phone,a.callbackkiller.cbk-phone.cbk-phone-pulse,a.callbackkiller.cbk-phone.cbk-phone-text-none,a.callbackkiller.cbk-phone.cbk-phone-xs {
        inset: auto auto 72px auto !important;
        top: auto !important;
        left: auto !important;
        right: 103px !important;
        bottom: 61px !important;
        transform: scale(.9) !important;
        transform-origin: bottom;
    }
}

/* ===== FAQ accordion ===== */
.faq {
    padding: 40px 0;
}

.faq__container {
    max-width: 760px;
    margin: 0 auto;
    color: #222;
}

.faq__title {
    margin: 0 0 18px;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 400;
}

.faq__item {
    border-bottom: 1px solid #d8d29a;
}

.faq__heading {
    margin: 0;
    padding: 0;
}

.faq__question,
.faq__question:hover,
.faq__question:focus,
.faq__question:focus-visible,
.faq__question:focus-within,
.faq__question:active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 16px 0;
    color: inherit;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 400;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.faq__question>span:first-child {
    flex: 1 1 auto;
}

.faq__icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq__question[aria-expanded="true"] .faq__icon::after {
    opacity: 0;
}

.faq__answer {
    padding: 0 32px 16px 0;
}

.faq__answer[hidden] {
    display: none;
}

.faq__answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #4a4a4a;
}

@media (max-width: 767px) {
    .faq {
        padding: 28px 0;
    }

    .faq__title {
        font-size: 24px;
    }

    .faq__question,
    .faq__question:hover,
    .faq__question:focus,
    .faq__question:focus-visible,
    .faq__question:active {
        padding: 14px 0;
        font-size: 18px;
    }

    .faq__answer {
        padding-right: 24px;
    }

    .faq__answer p {
        font-size: 16px;
    }
}

/* Responsive photos inside existing ratio boxes. */
.action-box__image > .zmo-card-image,
.complete-box__image > .zmo-card-image,
.cw-faq__image > .zmo-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sale-box .zmo-village-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.zmo-content-image {
    max-width: 100%;
    height: auto;
}

.swiper-lazy-preloader {
    --swiper-preloader-color: #a4c611;
    border-color: #a4c611;
    border-top-color: transparent;
}

#autoshowModal .modal__image {
    width: 100%;
    max-width: none;
}

#autoshowModal .modal__image img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0 auto;
}

/* Show the first photo at its final size before Swiper starts. */
[data-zmo-gallery-lazy]:not(.swiper-container-initialized) > .swiper-wrapper {
    transform: none;
}

[data-zmo-gallery-lazy]:not(.swiper-container-initialized) > .swiper-wrapper > .swiper-slide {
    width: 100%;
    flex-shrink: 0;
}

/* Retain a 12px visible dot inside a 24px clickable target. */
.swiper-container > .swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    min-width: 24px;
    min-height: 24px;
    padding: 6px;
    box-sizing: border-box;
    background-clip: content-box;
}

/* Keep completed-project dots below the cards, including wrapped rows. */
@media (max-width: 767.98px) {
    .swiper-complete {
        padding-bottom: 0;
    }

    .swiper-complete > .swiper-pagination {
        position: relative;
        bottom: auto;
    }
}


/* Autoshow modal: first-step information and social links. */
#autoshowModal .autoshowModal__intro {
    padding: 60px;
}

@media (max-width: 575.98px) {
    #autoshowModal .autoshowModal__intro {
        padding: 60px 30px;
    }
}

#autoshowModal .autoshowModal__step--1 .autoshowModal__intro--with-text {
    padding-top: 30px;
}

#autoshowModal .autoshowModal__step--1 .autoshowModal__intro--no-text {
    padding: 30px 60px;
}

@media (max-width: 575.98px) {
    #autoshowModal .autoshowModal__step--1 .autoshowModal__intro--no-text {
        padding-right: 30px;
        padding-left: 30px;
    }
}

#autoshowModal .autoshowModal__intro--no-text .autoshowModal__social {
    display: none;
}

.offer-box-sticker.offer-box-sticker,
.offer-box-sticker.offer-box-sticker:hover,
.offer-box-sticker.offer-box-sticker:focus,
.offer-box-sticker.offer-box-sticker:active {
    border-radius: 50% !important;
    color: #fff;
    text-decoration: none;
    cursor: default;
    border: 0;
    font-family: inherit;
    appearance: none;
}

.offer-box-sticker:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.offer-box-sticker .offer-box-sticker__middle {
    max-width: 75%;
}

.offer-box-sticker .offer-box-sticker__bottom {
    font-size: 10px;
}

.offer-box-sticker__details {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: none;
    text-decoration: underline;
}

#autoshowModal .autoshowModal__social {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

#autoshowModal .autoshowModal__step--1 .autoshowModal__intro-title {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
}

#autoshowModal .autoshowModal__social-text {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

#autoshowModal .autoshowModal__social-text:last-child {
    margin-bottom: 0;
}

#autoshowModal .autoshowModal__social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

#autoshowModal .autoshowModal__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    transition: opacity 0.2s ease-in-out;
}

#autoshowModal .autoshowModal__social-link svg {
    display: block;
    width: 100%;
    height: 100%;
}

#autoshowModal .autoshowModal__social-link:hover {
    opacity: 0.8;
}

#autoshowModal .autoshowModal__social-link:focus-visible {
    outline: 2px solid #a4c611 !important;
    outline-offset: 3px;
}

p.genplan-price-notice,
p.genplan-price-notice:last-child {
    color: #ff1f1f;
    font-weight: 700;
    margin: 0 0 20px;
}
