.homepage-calc-types,
.homepage-calc-types * {
    box-sizing: border-box;
}

.homepage-calc-types .homepage-calc-types__list {
    display: none !important;
}

.homepage-calc-types .homepage-calc-types__list.active {
    display: flex !important;
}

.homepage-calc-types .gs-home-calc-card-image {
    position: relative !important;
    overflow: hidden !important;
}

.homepage-calc-types .gs-home-calc-card-image__main,
.homepage-calc-types .gs-home-calc-card-image__hover {
    position: relative !important;
    width: 100% !important;
}

.homepage-calc-types .gs-home-calc-card-image__main {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.homepage-calc-types .gs-home-calc-card-image__hover {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

@media (hover: hover) and (pointer: fine) {
    .homepage-calc-types .gs-home-calc-card-image.has-hover-image .gs-home-calc-card-image__hover {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity .25s ease, visibility .25s ease !important;
    }

    .homepage-calc-types .homepage-calc-types__list > a:hover .gs-home-calc-card-image.has-hover-image .gs-home-calc-card-image__main {
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .homepage-calc-types .homepage-calc-types__list > a:hover .gs-home-calc-card-image.has-hover-image .gs-home-calc-card-image__hover {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.homepage-calc-types .homepage-calc-types__tab,
.homepage-calc-types .homepage-calc-types__tab:hover,
.homepage-calc-types .homepage-calc-types__tab:active {
    appearance: none !important;
    -webkit-appearance: none !important;
    min-width: 155px !important;
    height: 58px !important;
    padding: 0 28px !important;
    border: 1px solid #e1e1e1 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #333 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: ArialBold, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 20px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06) !important;
    cursor: pointer !important;
    transition: all .25s ease !important;
}

.homepage-calc-types .homepage-calc-types__tab.active,
.homepage-calc-types .homepage-calc-types__tab[aria-pressed="true"] {
    background: #ff2b2b !important;
    border-color: #ff2b2b !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(255,43,43,0.25) !important;
}

@media (hover: hover) and (pointer: fine) {
    .homepage-calc-types .homepage-calc-types__tab:hover {
        transform: translateY(-3px) !important;
    }
}

@media screen and (max-width: 768px) {
    .homepage-calc-types {
        width: 100% !important;
        margin: 34px 0 42px 0 !important;
        padding: 0 !important;
    }

    .homepage-calc-types .homepage-calc-types__wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .homepage-calc-types .homepage-calc-types__hero {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .homepage-calc-types .homepage-calc-types__hero h2 {
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        font-family: ArialBold, Arial, sans-serif !important;
        font-size: 28px !important;
        line-height: 34px !important;
        font-weight: 700 !important;
        color: #222 !important;
        text-align: center !important;
    }

    .homepage-calc-types .homepage-calc-types__advantages {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        max-width: 320px !important;
        width: 100% !important;
        margin: 35px auto !important;
        padding: 0 !important;
        gap: 24px !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .homepage-calc-types .homepage-calc-types__advantages .calc-page__adv {
        display: grid !important;
        grid-template-columns: 52px minmax(0, 1fr) !important;
        gap: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        text-align: left !important;
        align-items: start !important;
    }

    .homepage-calc-types .homepage-calc-types__advantages .calc-page__adv-icon {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        margin: 0 !important;
        display: block !important;
        color: transparent !important;
        font-size: 0 !important;
        line-height: 0 !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
    }

    .homepage-calc-types .homepage-calc-types__advantages .calc-page__adv:nth-child(1) .calc-page__adv-icon { background-image: url('/wp-content/themes/glassshower/images/calc-icon-1.png') !important; }
    .homepage-calc-types .homepage-calc-types__advantages .calc-page__adv:nth-child(2) .calc-page__adv-icon { background-image: url('/wp-content/themes/glassshower/images/calc-icon-2.png') !important; }
    .homepage-calc-types .homepage-calc-types__advantages .calc-page__adv:nth-child(3) .calc-page__adv-icon { background-image: url('/wp-content/themes/glassshower/images/calc-icon-3.png') !important; }
    .homepage-calc-types .homepage-calc-types__advantages .calc-page__adv:nth-child(4) .calc-page__adv-icon { background-image: url('/wp-content/themes/glassshower/images/calc-icon-4.png') !important; }

    .homepage-calc-types .homepage-calc-types__advantages .calc-page__adv strong {
        display: block !important;
        margin: 0 0 5px 0 !important;
        padding: 0 !important;
        font-family: ArialBold, Arial, sans-serif !important;
        font-size: 16px !important;
        line-height: 20px !important;
        color: #222 !important;
        text-align: left !important;
    }

    .homepage-calc-types .homepage-calc-types__advantages .calc-page__adv p {
        margin: 0 !important;
        padding: 0 !important;
        font-family: Arial, sans-serif !important;
        font-size: 14px !important;
        line-height: 19px !important;
        color: #777 !important;
        text-align: left !important;
    }

    .homepage-calc-types .homepage-calc-types__tabs {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 40px auto 35px auto !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .homepage-calc-types .homepage-calc-types__tabs .category-btn-title {
        display: block !important;
        width: 100% !important;
        margin: 0 0 18px 0 !important;
        padding: 0 !important;
        font-family: ArialBold, Arial, sans-serif !important;
        font-size: 20px !important;
        line-height: 24px !important;
        font-weight: 700 !important;
        color: #222 !important;
        text-align: left !important;
    }

    .homepage-calc-types .homepage-calc-types__tabs .category-btn-item-wrap {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        align-items: stretch !important;
        justify-content: stretch !important;
    }

    .homepage-calc-types .homepage-calc-types__tab,
    .homepage-calc-types .homepage-calc-types__tab:hover,
    .homepage-calc-types .homepage-calc-types__tab:active {
        width: 100% !important;
        min-width: 0 !important;
        height: 58px !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 0 10px !important;
        transform: none !important;
        font-size: 16px !important;
        line-height: 20px !important;
        white-space: normal !important;
    }

    .homepage-calc-types .homepage-calc-types__groups,
    .homepage-calc-types .homepage-calc-types__list,
    .homepage-calc-types .homepage-calc-types__list.active {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .homepage-calc-types .homepage-calc-types__list.active {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 16px !important;
    }

    .homepage-calc-types .homepage-calc-types__list.active > a {
        display: grid !important;
        grid-template-columns: 135px minmax(0, 1fr) !important;
        gap: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 18px !important;
        align-items: start !important;
        border: 1px solid #ededed !important;
        border-radius: 14px !important;
        background: #fff !important;
        box-shadow: 0 6px 20px rgba(0,0,0,0.04) !important;
        text-decoration: none !important;
        color: inherit !important;
        transform: none !important;
    }

    .homepage-calc-types .homepage-calc-types__list .calc__list-img-wrap {
        grid-column: 1 !important;
        grid-row: 1 / 5 !important;
        width: 135px !important;
        max-width: 135px !important;
        height: 180px !important;
        min-height: 180px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border-radius: 10px !important;
        background: #fff !important;
    }

    .homepage-calc-types .homepage-calc-types__list .calc__list-img-wrap img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        margin: 0 !important;
        border-radius: 10px !important;
    }

    .homepage-calc-types .homepage-calc-types__list .gs-home-calc-card-image__main {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .homepage-calc-types .homepage-calc-types__list .gs-home-calc-card-image__hover {
        display: none !important;
    }

    .homepage-calc-types .homepage-calc-types__list .calc__list-title {
        grid-column: 2 !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 0 18px 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        font-family: ArialBold, Arial, sans-serif !important;
        font-size: 15px !important;
        line-height: 21px !important;
        color: #222 !important;
        text-align: left !important;
    }

    .homepage-calc-types .homepage-calc-types__list .calc__list-features {
        grid-column: 2 !important;
        width: 100% !important;
        margin: 0 0 18px 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .homepage-calc-types .homepage-calc-types__list .calc__list-features li {
        position: relative !important;
        margin: 0 !important;
        padding: 0 0 8px 20px !important;
        font-size: 12px !important;
        line-height: 17px !important;
        color: #555 !important;
        text-align: left !important;
    }

    .homepage-calc-types .homepage-calc-types__list .calc__list-features li::before {
        content: "✓" !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        color: #ff2b2b !important;
        font-family: ArialBold, Arial, sans-serif !important;
    }

    .homepage-calc-types .homepage-calc-types__list .calc__list-link {
        grid-column: 2 !important;
        width: 100% !important;
        min-width: 160px !important;
        max-width: 100% !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        border-radius: 5px !important;
        background: #202020 !important;
        color: #fff !important;
        font-family: ArialBold, Arial, sans-serif !important;
        font-size: 11px !important;
        line-height: 16px !important;
        text-align: center !important;
        box-shadow: 0 8px 18px rgba(0,0,0,0.18) !important;
        transform: none !important;
    }

    .homepage-calc-types .homepage-calc-types__info {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 30px auto 45px auto !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .homepage-calc-types .homepage-calc-types__info p {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 14px !important;
        line-height: 20px !important;
        color: #555 !important;
    }
}

@media screen and (max-width: 390px) {
    .homepage-calc-types .homepage-calc-types__list.active > a {
        grid-template-columns: 120px minmax(0, 1fr) !important;
        gap: 14px !important;
        padding: 14px !important;
    }

    .homepage-calc-types .homepage-calc-types__list .calc__list-img-wrap {
        width: 120px !important;
        max-width: 120px !important;
        height: 168px !important;
        min-height: 168px !important;
    }

    .homepage-calc-types .homepage-calc-types__tab,
    .homepage-calc-types .homepage-calc-types__tab:hover,
    .homepage-calc-types .homepage-calc-types__tab:active {
        height: 54px !important;
        min-height: 54px !important;
        font-size: 14px !important;
        line-height: 18px !important;
    }
}

@media screen and (min-width: 769px) {

    .homepage-calc-types .homepage-calc-types__list.active > a,
    body.home .homepage-calc-types .homepage-calc-types__list.active > a {
        padding: 12px 12px 18px 12px !important;
    }

    body.page-template-page-calc .calc-page__wrap .calc__list > a {
        padding: 12px 12px 18px 12px !important;
    }

    .homepage-calc-types .homepage-calc-types__list .calc__list-img-wrap,
    body.page-template-page-calc .calc-page__wrap .calc__list .calc__list-img-wrap {
        width: 100% !important;
        height: 430px !important;
        min-height: 430px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        background: #fff !important;
        border-radius: 10px !important;
    }

    .homepage-calc-types .homepage-calc-types__list .calc__list-img-wrap img,
    body.page-template-page-calc .calc-page__wrap .calc__list .calc__list-img-wrap img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border-radius: 10px !important;
    }

    .homepage-calc-types .homepage-calc-types__list .gs-home-calc-card-image__main,
    .homepage-calc-types .homepage-calc-types__list .gs-home-calc-card-image__hover {
        width: 100% !important;
        height: 100% !important;
    }

    .homepage-calc-types .homepage-calc-types__list .gs-home-calc-card-image__main img,
    .homepage-calc-types .homepage-calc-types__list .gs-home-calc-card-image__hover img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .homepage-calc-types .homepage-calc-types__list .calc__list-title,
    body.page-template-page-calc .calc-page__wrap .calc__list .calc__list-title {
        margin-top: 14px !important;
    }
}

@media screen and (min-width: 1200px) {
    .homepage-calc-types .homepage-calc-types__list .calc__list-img-wrap,
    body.page-template-page-calc .calc-page__wrap .calc__list .calc__list-img-wrap {
        height: 455px !important;
        min-height: 455px !important;
    }
}

@media screen and (min-width: 1450px) {
    .homepage-calc-types .homepage-calc-types__list .calc__list-img-wrap,
    body.page-template-page-calc .calc-page__wrap .calc__list .calc__list-img-wrap {
        height: 500px !important;
        min-height: 500px !important;
    }
}

@media screen and (min-width: 769px) {
    body.home .homepage-calc-types .calc__list > a,
    body.front-page .homepage-calc-types .calc__list > a,
    .homepage-calc-types .homepage-calc-types__list > a,
    body.page-template-page-calc-php .calc__list > a,
    body.page-template-page-calc .calc__list > a,
    body.page-id-1581 .calc__list > a {
        padding: 8px 8px 18px 8px !important;
    }

    body.home .homepage-calc-types .calc__list-img-wrap,
    body.front-page .homepage-calc-types .calc__list-img-wrap,
    .homepage-calc-types .homepage-calc-types__list .calc__list-img-wrap,
    body.page-template-page-calc-php .calc__list .calc__list-img-wrap,
    body.page-template-page-calc .calc__list .calc__list-img-wrap,
    body.page-id-1581 .calc__list .calc__list-img-wrap {
        width: 100% !important;
        height: 455px !important;
        min-height: 455px !important;
        max-height: none !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        background: #fff !important;
        border-radius: 10px !important;
    }

    body.home .homepage-calc-types .calc__list-img-wrap img,
    body.front-page .homepage-calc-types .calc__list-img-wrap img,
    .homepage-calc-types .homepage-calc-types__list .calc__list-img-wrap img,
    body.page-template-page-calc-php .calc__list .calc__list-img-wrap img,
    body.page-template-page-calc .calc__list .calc__list-img-wrap img,
    body.page-id-1581 .calc__list .calc__list-img-wrap img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border-radius: 10px !important;
    }

    body.home .homepage-calc-types .calc__list-img-wrap .gs-home-calc-card-image__main img,
    body.home .homepage-calc-types .calc__list-img-wrap .gs-home-calc-card-image__hover img,
    body.front-page .homepage-calc-types .calc__list-img-wrap .gs-home-calc-card-image__main img,
    body.front-page .homepage-calc-types .calc__list-img-wrap .gs-home-calc-card-image__hover img,
    .homepage-calc-types .homepage-calc-types__list .calc__list-img-wrap .gs-home-calc-card-image__main img,
    .homepage-calc-types .homepage-calc-types__list .calc__list-img-wrap .gs-home-calc-card-image__hover img,
    body.page-template-page-calc-php .calc__list .calc__list-img-wrap .photo_anons img,
    body.page-template-page-calc-php .calc__list .calc__list-img-wrap .photo_anons_open img,
    body.page-template-page-calc .calc__list .calc__list-img-wrap .photo_anons img,
    body.page-template-page-calc .calc__list .calc__list-img-wrap .photo_anons_open img,
    body.page-id-1581 .calc__list .calc__list-img-wrap .photo_anons img,
    body.page-id-1581 .calc__list .calc__list-img-wrap .photo_anons_open img {
        transform: scale(1.16) !important;
        transform-origin: center center !important;
    }

    body.page-template-page-calc-php .calc__list .calc__list-img-wrap .photo_anons,
    body.page-template-page-calc-php .calc__list .calc__list-img-wrap .photo_anons_open,
    body.page-template-page-calc .calc__list .calc__list-img-wrap .photo_anons,
    body.page-template-page-calc .calc__list .calc__list-img-wrap .photo_anons_open,
    body.page-id-1581 .calc__list .calc__list-img-wrap .photo_anons,
    body.page-id-1581 .calc__list .calc__list-img-wrap .photo_anons_open,
    body.home .homepage-calc-types .gs-home-calc-card-image__main,
    body.home .homepage-calc-types .gs-home-calc-card-image__hover,
    body.front-page .homepage-calc-types .gs-home-calc-card-image__main,
    body.front-page .homepage-calc-types .gs-home-calc-card-image__hover {
        width: 100% !important;
        height: 100% !important;
    }

    body.home .homepage-calc-types .calc__list-title,
    body.front-page .homepage-calc-types .calc__list-title,
    .homepage-calc-types .homepage-calc-types__list .calc__list-title,
    body.page-template-page-calc-php .calc__list .calc__list-title,
    body.page-template-page-calc .calc__list .calc__list-title,
    body.page-id-1581 .calc__list .calc__list-title {
        margin-top: 12px !important;
    }
}

@media screen and (min-width: 1200px) {
    body.home .homepage-calc-types .calc__list-img-wrap,
    body.front-page .homepage-calc-types .calc__list-img-wrap,
    .homepage-calc-types .homepage-calc-types__list .calc__list-img-wrap,
    body.page-template-page-calc-php .calc__list .calc__list-img-wrap,
    body.page-template-page-calc .calc__list .calc__list-img-wrap,
    body.page-id-1581 .calc__list .calc__list-img-wrap {
        height: 485px !important;
        min-height: 485px !important;
    }
}

@media screen and (min-width: 1450px) {
    body.home .homepage-calc-types .calc__list-img-wrap,
    body.front-page .homepage-calc-types .calc__list-img-wrap,
    .homepage-calc-types .homepage-calc-types__list .calc__list-img-wrap,
    body.page-template-page-calc-php .calc__list .calc__list-img-wrap,
    body.page-template-page-calc .calc__list .calc__list-img-wrap,
    body.page-id-1581 .calc__list .calc__list-img-wrap {
        height: 520px !important;
        min-height: 520px !important;
    }
}

@media screen and (min-width: 769px) {
    body.page-template-page-calc-php .calc__list > a,
    body.page-template-page-calc .calc__list > a,
    body.page-id-1581 .calc__list > a {
        overflow: hidden !important;
    }

    body.page-template-page-calc-php .calc__list > a .calc__list-img-wrap,
    body.page-template-page-calc .calc__list > a .calc__list-img-wrap,
    body.page-id-1581 .calc__list > a .calc__list-img-wrap {
        position: relative !important;
        overflow: hidden !important;
        background: #fff !important;
    }

    body.page-template-page-calc-php .calc__list > a .photo_anons,
    body.page-template-page-calc .calc__list > a .photo_anons,
    body.page-id-1581 .calc__list > a .photo_anons {
        position: relative !important;
        z-index: 1 !important;
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
    }

    body.page-template-page-calc-php .calc__list > a .photo_anons_open,
    body.page-template-page-calc .calc__list > a .photo_anons_open,
    body.page-id-1581 .calc__list > a .photo_anons_open {
        position: absolute !important;
        inset: 0 !important;
        z-index: 2 !important;
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        opacity: 0 !important;
        visibility: visible !important;
        pointer-events: none !important;
        background: transparent !important;
        transition: opacity .10s linear !important;
    }

    body.page-template-page-calc-php .calc__list > a:hover .calc__list-img-wrap.has-open-photo .photo_anons_open,
    body.page-template-page-calc .calc__list > a:hover .calc__list-img-wrap.has-open-photo .photo_anons_open,
    body.page-id-1581 .calc__list > a:hover .calc__list-img-wrap.has-open-photo .photo_anons_open {
        opacity: 1 !important;
    }

    body.page-template-page-calc-php .calc__list > a .calc__list-img-wrap.no-open-photo .photo_anons_open,
    body.page-template-page-calc .calc__list > a .calc__list-img-wrap.no-open-photo .photo_anons_open,
    body.page-id-1581 .calc__list > a .calc__list-img-wrap.no-open-photo .photo_anons_open {
        display: none !important;
    }

    body.page-template-page-calc-php .calc__list > a .photo_anons img,
    body.page-template-page-calc-php .calc__list > a .photo_anons_open img,
    body.page-template-page-calc .calc__list > a .photo_anons img,
    body.page-template-page-calc .calc__list > a .photo_anons_open img,
    body.page-id-1581 .calc__list > a .photo_anons img,
    body.page-id-1581 .calc__list > a .photo_anons_open img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border-radius: 10px !important;
        transform: scale(1.08) !important;
        transform-origin: center center !important;
        background: transparent !important;
    }

    body.page-template-page-calc-php .calc__list .calc__list-img-wrap .calc__list-title,
    body.page-template-page-calc .calc__list .calc__list-img-wrap .calc__list-title,
    body.page-id-1581 .calc__list .calc__list-img-wrap .calc__list-title {
        display: none !important;
    }

    body.page-template-page-calc-php .calc__list > a > .calc__list-title,
    body.page-template-page-calc .calc__list > a > .calc__list-title,
    body.page-id-1581 .calc__list > a > .calc__list-title {
        display: block !important;
        position: relative !important;
        z-index: 3 !important;
        margin-top: 12px !important;
    }
}

@media screen and (min-width: 1200px) {
    body.page-template-page-calc-php .calc__list .calc__list-img-wrap,
    body.page-template-page-calc .calc__list .calc__list-img-wrap,
    body.page-id-1581 .calc__list .calc__list-img-wrap {
        height: 440px !important;
        min-height: 440px !important;
    }
}

@media screen and (min-width: 1450px) {
    body.page-template-page-calc-php .calc__list .calc__list-img-wrap,
    body.page-template-page-calc .calc__list .calc__list-img-wrap,
    body.page-id-1581 .calc__list .calc__list-img-wrap {
        height: 465px !important;
        min-height: 465px !important;
    }
}

@media screen and (max-width: 768px) {
    body.page-template-page-calc-php .calc__list .photo_anons_open,
    body.page-template-page-calc .calc__list .photo_anons_open,
    body.page-id-1581 .calc__list .photo_anons_open {
        display: none !important;
    }
}

/* Мобильная главная: опустить всю белую карточку выбора перегородок ниже */
@media screen and (max-width: 768px) {
    body.home .homepage-calc-types,
    body.front-page .homepage-calc-types {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    body.home .homepage-calc-types > .calc-page__wrap,
    body.front-page .homepage-calc-types > .calc-page__wrap,
    body.home .homepage-calc-types .calc-page__wrap.homepage-calc-types__wrap,
    body.front-page .homepage-calc-types .calc-page__wrap.homepage-calc-types__wrap {
        margin-top: 85px !important;
    }
}

