.stroykt-grandline-card__description-toggle {
display: none;
}

.stroykt-grandline-card__description-toggle-less {
display: none;
}

.stroykt-grandline-card__after-description {
display: none;
}

.stroykt-grandline-card__calculator,
.stroykt-grandline-card__roofing {
box-sizing: border-box;
border-radius: 12px;
padding: 28px;
}

.stroykt-grandline-card__calculator {
background: #f2f7fb;
}

.stroykt-grandline-card__calculator h3,
.stroykt-grandline-card__roofing h3 {
margin: 0 0 10px;
font-size: 24px;
line-height: 1.25;
}

.stroykt-grandline-card__calculator p {
margin: 0 0 20px;
color: #555;
}

.stroykt-grandline-card__calculator-button {
display: inline-block;
border-radius: 4px;
padding: 12px 20px;
background: #b52743;
color: #fff !important;
font-weight: 600;
text-decoration: none;
}

.stroykt-grandline-card__roofing {
margin-top: 20px;
border: 1px solid #e5e5e5;
}

.stroykt-grandline-card__roofing-links {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}

.stroykt-grandline-card__roofing-links a {
display: flex;
justify-content: space-between;
gap: 12px;
border-radius: 8px;
padding: 16px;
background: #f7f7f7;
color: #222;
text-decoration: none;
}

.stroykt-grandline-card__roofing-links strong,
.stroykt-grandline-card__roofing-links small {
display: block;
}

.stroykt-grandline-card__roofing-links small {
margin-top: 5px;
color: #666;
font-size: 13px;
font-weight: 400;
}

@media (max-width: 767px) {
.stroykt-grandline-card__description {
max-height: none;
overflow: visible;
}

.stroykt-grandline-card__description.stroykt-grandline-card__description--expanded {
max-height: none;
}

.stroykt-grandline-card__description-toggle {
display: none;
margin: 12px 0 0;
border: 0;
padding: 0;
background: transparent;
color: #0099cc;
font: inherit;
font-weight: 600;
cursor: pointer;
}

.stroykt-grandline-card__description-toggle[aria-expanded="true"]
.stroykt-grandline-card__description-toggle-more {
display: none;
}

.stroykt-grandline-card__description-toggle[aria-expanded="true"]
.stroykt-grandline-card__description-toggle-less {
display: inline;
}

.stroykt-grandline-card__after-description {
display: block;
margin-top: 24px;
}

.stroykt-grandline-card__calculator,
.stroykt-grandline-card__roofing {
padding: 20px 16px;
}

.stroykt-grandline-card__calculator h3,
.stroykt-grandline-card__roofing h3 {
font-size: 20px;
}

.stroykt-grandline-card__calculator-button {
box-sizing: border-box;
width: 100%;
text-align: center;
}

.stroykt-grandline-card__roofing-links {
grid-template-columns: 1fr;
}

.stroykt-grandline-card__documents {
margin-top: 24px;
}
}


/* ============================================================
   STROYKT — селектор длины листа: мобильная интеграция
   Добавлено отдельно, существующие правила выше не изменены.
   ============================================================ */

.stroykt-sheet-fixed-price {
    display: block;
}

.stroykt-sheet-fixed-price__caption {
    display: block;
    margin-bottom: 2px;
    color: #777;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.15;
}

.stroykt-sheet-fixed-price__value {
    display: block;
    color: inherit;
    font-size: inherit;
    font-weight: 700;
    line-height: 1.1;
}

@media (max-width: 767px) {
    /*
     * После JS-переноса блок находится перед существующими
     * "Заказать со скидкой / Бесплатный расчет".
     */
    .catalog_detail .stroykt-sheet-length--mobile-relocated {
        display: block !important;
        box-sizing: border-box;
        width: auto;
        margin: 0 14px 12px;
        padding: 12px 0;
        border: 0;
        border-top: 1px solid #ececec;
        border-bottom: 1px solid #ececec;
        border-radius: 0;
        background: #fff;
    }

    .catalog_detail .stroykt-sheet-length--mobile-relocated
    .stroykt-sheet-length__title {
        margin-bottom: 8px;
        font-size: 12px;
        font-weight: 700;
    }

    .catalog_detail .stroykt-sheet-length--mobile-relocated
    .stroykt-sheet-length__select {
        box-sizing: border-box;
        width: 100%;
        min-height: 44px;
        padding: 0 12px;
        font-size: 12px;
    }

    .catalog_detail .stroykt-sheet-length--mobile-relocated
    .stroykt-sheet-length__summary {
        margin-top: 8px;
        padding-top: 8px;
    }

    .catalog_detail .stroykt-sheet-length--mobile-relocated
    .stroykt-sheet-length__summary-row {
        padding: 3px 0;
        font-size: 11px;
    }

    .catalog_detail .stroykt-sheet-length--mobile-relocated
    .stroykt-sheet-length__base-price {
        margin-top: 5px;
        font-size: 10px;
    }
}
