

.alp-stage3-special .alp-stage3-main {
    min-width: 0;
}

.alp-stage3-special .alp-stage3-section {
    overflow: hidden;
}

.alp-stage3-special__content {
    min-width: 0;
}

.alp-stage3-special__content .content,
.alp-stage3-special__content .mainside,
.alp-stage3-special__content .mainside__plate,
.alp-stage3-special__content .mainside__col,
.alp-stage3-special__content .rowscol,
.alp-stage3-special__content .rowscol__plate,
.alp-stage3-special__content .rowscol__box,
.alp-stage3-special__content .gallery,
.alp-stage3-special__content .gallery__plate,
.alp-stage3-special__content .base,
.alp-stage3-special__content .base__plate,
.alp-stage3-special__content .content-normalize,
.alp-stage3-special__content .content-normalize__plate {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}


/* Статьи и новости */

.alp-stage3-special--listing .article {
    margin: 0 0 18px;
    padding: 24px;
    border: 1px solid var(--alp-stage3-line);
    border-radius: 18px;
    background: var(--alp-stage3-white);
    box-shadow: 0 10px 28px rgba(23, 63, 40, .08);
    transition: transform .18s ease, box-shadow .18s ease;
}

.alp-stage3-special--listing .article:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(23, 63, 40, .12);
}

.alp-stage3-special--listing .article__title {
    margin: 0 0 12px;
    color: var(--alp-stage3-green-dark);
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.25;
}

.alp-stage3-special--listing .article__short {
    color: var(--alp-stage3-muted);
    line-height: 1.7;
}

.alp-stage3-special--listing .article__short p {
    margin: 0;
}

.alp-stage3-special--listing .article__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 16px;
    padding: 0 20px;
    border-radius: 10px;
    color: #fff;
    background: var(--alp-stage3-orange);
    font-weight: 700;
    text-decoration: none;
}

.alp-stage3-special--listing .article__more:hover {
    color: #fff;
    background: var(--alp-stage3-orange-hover);
}


/* Отзывы */

.alp-stage3-special--reviews .review {
    margin: 0 0 18px;
    padding: 24px;
    border: 1px solid var(--alp-stage3-line);
    border-left: 4px solid var(--alp-stage3-orange);
    border-radius: 18px;
    background: var(--alp-stage3-white);
    box-shadow: 0 10px 28px rgba(23, 63, 40, .08);
}

.alp-stage3-special--reviews .review__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
    margin: 0 0 14px;
    padding: 0;
}

.alp-stage3-special--reviews .review__author {
    color: var(--alp-stage3-green-dark);
    font-size: 18px;
    font-weight: 800;
}

.alp-stage3-special--reviews .review__date {
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--alp-stage3-green-dark);
    background: var(--alp-stage3-green-soft);
    font-size: 14px;
    font-weight: 700;
}

.alp-stage3-special--reviews .review__content {
    color: var(--alp-stage3-text);
    line-height: 1.7;
}

.alp-stage3-special--reviews .review__content p:last-child {
    margin-bottom: 0;
}


/* Сертификаты */

.alp-stage3-special--gallery .gallery__subtitle:empty,
.alp-stage3-special--gallery .gallery__description:empty,
.alp-stage3-special--gallery .gallery__description p:empty {
    display: none;
}

.alp-stage3-special--gallery .certificate-gallery__hint {
    margin: 0 0 20px;
    color: var(--alp-stage3-muted);
    font-size: 16px;
}

.alp-stage3-special--gallery .gallery__box.certificate-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin: 0;
}

.alp-stage3-special--gallery
.gallery__box.certificate-gallery
.gallery__item {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    padding: 0 !important;
}

.alp-stage3-special--gallery
.gallery__box.certificate-gallery
.gallery__item a {
    display: block;
    height: 100%;
    padding: 12px;
    border: 1px solid var(--alp-stage3-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(23, 63, 40, .09);
    transition: transform .18s ease, box-shadow .18s ease;
}

.alp-stage3-special--gallery
.gallery__box.certificate-gallery
.gallery__item a:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(23, 63, 40, .14);
}

.alp-stage3-special--gallery
.gallery__box.certificate-gallery
.gallery__item img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
}


/* Цены остекления */

.alp-stage3-special--prices .base__desc {
    color: var(--alp-stage3-muted);
    font-size: 17px;
    line-height: 1.7;
}

.alp-stage3-special--prices .base__subtitle {
    margin: 0 0 16px;
    color: var(--alp-stage3-green-dark);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.25;
}

.alp-stage3-special--prices .base__grid > .grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0 32px !important;
}

.alp-stage3-special--prices
.base__grid > .grid > .grid__box {
    box-sizing: border-box;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.alp-stage3-special--prices .service-card {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100%;
    padding: 18px;
    border: 1px solid var(--alp-stage3-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(23, 63, 40, .09);
    text-align: center;
}

.alp-stage3-special--prices .service-card__title {
    margin: 0 0 12px;
    color: var(--alp-stage3-green-dark);
    font-size: 21px;
    line-height: 1.25;
}

.alp-stage3-special--prices .service-card img {
    display: block;
    width: 100% !important;
    height: 180px !important;
    margin: 0 0 14px;
    object-fit: contain;
}

.alp-stage3-special--prices .service-card__price {
    margin: auto 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--alp-stage3-green-dark);
    background: var(--alp-stage3-green-soft);
    font-weight: 800;
}

.alp-stage3-special--prices .content-normalize {
    margin-top: 28px;
}

@media (max-width: 1100px) {
    .alp-stage3-special--gallery
    .gallery__box.certificate-gallery,
    .alp-stage3-special--prices
    .base__grid > .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .alp-stage3-special--listing .article,
    .alp-stage3-special--reviews .review {
        padding: 18px;
        border-radius: 14px;
    }

    .alp-stage3-special--gallery
    .gallery__box.certificate-gallery,
    .alp-stage3-special--prices
    .base__grid > .grid {
        grid-template-columns: 1fr;
    }

    .alp-stage3-special--prices .service-card img {
        height: auto !important;
        max-height: 240px;
    }
}



/* =========================================================
   ALP-STAGE3-FINAL-TECH-V1
   Поиск и страница 404
   ========================================================= */

.alp-stage3-search-card,
.alp-stage3-error-card {
    margin-bottom: 32px;
    padding: 34px;
    border: 1px solid var(--alp-stage3-line);
    border-radius: 20px;
    background: var(--alp-stage3-white);
    box-shadow: 0 16px 44px rgba(24, 63, 42, .08);
}

.alp-stage3-search-page .search-res,
.alp-stage3-search-page .search-res__plate {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.alp-stage3-search-page .search-res__title {
    display: none !important;
}

.alp-stage3-search-page .search-res__paging {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 20px 0 26px;
}

.alp-stage3-search-page .search-res__pages {
    margin-right: 8px;
    color: var(--alp-stage3-muted);
}

.alp-stage3-search-page .simplesearch-page,
.alp-stage3-search-page .simplesearch-page a,
.alp-stage3-search-page .simplesearch-current-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 9px;
    text-decoration: none;
}

.alp-stage3-search-page .simplesearch-page a {
    color: var(--alp-stage3-green-dark);
    background: var(--alp-stage3-green-soft);
}

.alp-stage3-search-page .simplesearch-current-page {
    color: var(--alp-stage3-white);
    background: var(--alp-stage3-green);
}

.alp-stage3-search-page .search-res__list {
    display: grid;
    gap: 14px;
}

.alp-stage3-search-page .res-item {
    padding: 22px 24px;
    border: 1px solid var(--alp-stage3-line);
    border-radius: 14px;
    background: #fbfdfb;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.alp-stage3-search-page .res-item:hover {
    border-color: rgba(47, 125, 69, .42);
    box-shadow: 0 12px 28px rgba(24, 63, 42, .08);
    transform: translateY(-2px);
}

.alp-stage3-search-page .res-item__title {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.3;
}

.alp-stage3-search-page .res-item__title a {
    color: var(--alp-stage3-green-dark);
    text-decoration: none;
}

.alp-stage3-search-page .res-item__title a:hover {
    color: var(--alp-stage3-orange);
}

.alp-stage3-search-page .res-item__extract p {
    margin: 0;
    color: var(--alp-stage3-muted);
    line-height: 1.65;
}

.alp-stage3-search-page .res-item__light {
    color: var(--alp-stage3-orange);
    font-weight: 700;
}

.alp-stage3-error-card {
    margin-top: 44px;
    text-align: center;
}

.alp-stage3-error-card__code {
    display: block;
    margin-bottom: 12px;
    color: var(--alp-stage3-green);
    font-size: clamp(76px, 13vw, 150px);
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.06em;
}

.alp-stage3-error-card h2 {
    margin: 0 0 14px;
    color: var(--alp-stage3-green-dark);
    font-size: clamp(26px, 4vw, 38px);
}

.alp-stage3-error-card p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--alp-stage3-muted);
    font-size: 18px;
    line-height: 1.7;
}

@media only screen and (max-width: 767px) {
    .alp-stage3-search-card,
    .alp-stage3-error-card {
        margin-bottom: 22px;
        padding: 22px 18px;
        border-radius: 15px;
    }

    .alp-stage3-search-page .search-res__paging {
        align-items: flex-start;
    }

    .alp-stage3-search-page .search-res__pages {
        width: 100%;
        margin: 0 0 4px;
    }

    .alp-stage3-search-page .res-item {
        padding: 18px 16px;
    }

    .alp-stage3-search-page .res-item__title {
        font-size: 18px;
    }

    .alp-stage3-error-card {
        margin-top: 26px;
    }

    .alp-stage3-error-card p {
        font-size: 16px;
    }
}



/* =========================================================
   ALP-STAGE3-CALCULATOR-FINAL-FIX-V1
   ========================================================= */

.alp-stage3-calculator,
.alp-stage3-calculator .calc-box,
.alp-stage3-calculator form.ajax_form {
    min-width: 0;
    max-width: 100%;
}

.alp-stage3-calculator form.ajax_form {
    position: relative;
}

