@media screen and (max-width: 992px) {
    .sidebar--filter {
        margin-bottom: 30px;
    }
}

.widget__header {
    padding-top: 35px !important;

    @media screen and (max-width: 768px) {
        padding-top: 10px !important;
    }
}

.widget__title {
    justify-content: left !important;
    margin-bottom: 10px;

    @media screen and (max-width: 400px) {
        display: grid !important;
        grid-template-areas:
            "logo text1"
            "text2 text2";
        gap: 4px 8px;
        align-items: center;
    }
}

.widget__logo {
    grid-area: logo;
}

.widget__title-text:not(.widget__title-text-second) {
    grid-area: text1;

    @media screen and (max-width: 400px) {
        margin-left: -40px;
    }
}

.widget__title-text-second {
    grid-area: text2;
}

.order-with-delivery-form__submit:hover {
    cursor: pointer;
}

.header__banner {
    background-image: url('/wp-content/uploads/2025/12/header-banner-20.jpg'); !important;
}

.header__address__wrap {
    display: flex;
    gap: 15px;
}

/*@media screen and (min-width: 768px) and (max-width: 1261px) {*/
/*    .header__address__wrap {*/
/*        flex-direction: column;*/
/*    }*/
/*}*/

@media screen and (min-width: 768px) and (max-width: 992px) {
    .header__address__wrap {
        gap: 5px;
    }
}

@media screen and (max-width: 500px) {
    .header__address__wrap {
        font-size: 13px;
    }
}

.footer__social {
    position: relative !important;
    transform: none !important;
}

.social__list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.social__item--footer {
    display: flex;
    transform: none !important;
    gap: 8px;
}

.header__phone {
    margin-right: 0 !important;
    padding-right: 0 !important;
    border-right: 0 !important;
}

.header__address::before {
    background-image: none;
    background-color: #EE463E;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 7px;
    left: -22px;
}


/* WP block columns */
.wp-block-columns {
    align-items:normal!important;
    box-sizing:border-box;
    display:flex;
    flex-wrap:wrap!important
}
@media (min-width:782px) {
    .wp-block-columns {
        flex-wrap:nowrap!important
    }
}
.wp-block-columns.are-vertically-aligned-top {
    align-items:flex-start
}
.wp-block-columns.are-vertically-aligned-center {
    align-items:center
}
.wp-block-columns.are-vertically-aligned-bottom {
    align-items:flex-end
}
@media (max-width:781px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis:100%!important
    }
}
@media (min-width:782px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis:0;
        flex-grow:1
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis] {
        flex-grow:0
    }
}
.wp-block-columns.is-not-stacked-on-mobile {
    flex-wrap:nowrap!important
}
.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column {
    flex-basis:0;
    flex-grow:1
}
.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column[style*=flex-basis] {
    flex-grow:0
}
:where(.wp-block-columns) {
    margin-bottom:1.75em
}
:where(.wp-block-columns.has-background) {
    padding:1.25em 2.375em
}
.wp-block-column {
    flex-grow:1;
    min-width:0;
    overflow-wrap:break-word;
    word-break:break-word
}
.wp-block-column.is-vertically-aligned-top {
    align-self:flex-start
}
.wp-block-column.is-vertically-aligned-center {
    align-self:center
}
.wp-block-column.is-vertically-aligned-bottom {
    align-self:flex-end
}
.wp-block-column.is-vertically-aligned-stretch {
    align-self:stretch
}
.wp-block-column.is-vertically-aligned-bottom,
.wp-block-column.is-vertically-aligned-center,
.wp-block-column.is-vertically-aligned-top {
    width:100%
}
/* End WP block columns */


/* Remont turbin detail page styles */
.error-codes {
    display: flex;
    flex-direction: row-reverse;
    gap: 70px;
}

.error-codes__text {
    padding-left: 60px;
    max-width: 50%;
}

.error-codes__text p {
    margin-bottom: 20px;
}

.error-codes__text p:first-child {
    margin-top: 0;
}

.error-codes__text p:last-child {
    margin-bottom: 0;
}

.error-codes__img-wrapper {
    max-width: 50%;
    padding-right: 40px;
}

.error-codes__img {
    width: 100%;
    height: auto;
}

.error-codes__toggle {
    display: none;
}

.spares {
    display: flex;
    gap: 64px;
    margin-bottom: 30px;
}

.spares:last-child {
    margin-bottom: 0;
}

.spares__toggle {
    background-color: #F5F5F5;
    border: 2px solid #d3d3d3;
    border-top: none;
    font-size: 14px;
    font-weight: bold;
    padding: 24px 56px;
    position: relative;
    display: block;
    width: 100%;
}

.spares__toggle:hover {
    cursor: pointer;
}

.spares__toggle::before {
    content: '';
    display: block;
    position: absolute;
    top: 21px;
    left: 20px;
    width: 28px;
    height: 28px;
    background-image: url('https://www.turboost.ru/wp-content/uploads/2026/02/spares-toggle.png');
    background-position: center;
    background-size: cover;
}

.spares-cars__list {
    list-style: none;
}

.spares-cars__item {
    margin-bottom: 40px;
}

.spares-cars__item.is-hidden,
.card__item.is-hidden {
    display: none;
}

.spares-cars__title {
    font-weight: bold;
    margin-bottom: 0;
}

.spares-cars__info {
    color: #6A6A6A;
    margin: 0;
}

.spares__list .card__col-1 {
    flex-basis: 190px;
}

.spares__list .card__col-2 {
    flex-basis: 150px;
}

.spares__list .card__payment {
    flex-basis: 180px;
}

.spares__list .card__list {
    margin-bottom: 0;
}

.repair-banner__btn {
    border-radius: 5px;
}

.repair-banner--reverse {
    display: flex;
    flex-direction: row-reverse;
    gap: 65px;
    padding-right: 50px;
}

.repair-banner--reverse .repair-banner__img-wrapper {
    margin-right: 0;
    direction: rtl;
}

.repair-banner--reverse .repair-banner__info {
    flex-basis: 320px;
}

.repair-banner--reverse .repair-banner__img-wrapper {
    flex-basis: 640px;
}

.repair-technologies {
    list-style: none;
    margin: 0;
}

.repair-technologies__item {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 50px;
}

.repair-technologies__img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
}

.repair-technologies__content h3 {
    margin-top: 0;
}

.repair-technologies__content p {
    margin-bottom: 0;
}

@media screen and (max-width: 1260px) {
    .error-codes__text {
        padding-left: 0;
    }

    .error-codes__img-wrapper {
        padding-right: 0;
    }

    .spares__list .card__payment {
        flex-basis: 100%;
    }

    .spares__list .card__btn {
        width: 150px;
    }
}

@media screen and (max-width: 992px) {
    .spares {
        display: block;
    }

    .spares__toggle {
        border: none;
        margin-top: -2px;
        padding: 20px 40px;
    }

    .spares__toggle::before {
        top: 15px;
    }

    .spares-cars__item {
        font-size: 16px;
        width: 200px;
        display: inline-block;
        border: 1px solid #D9D9D9;
        padding: 20px;
        margin-right: 12px;
        margin-bottom: 0;
        border-radius: 5px;
    }

    .spares-cars__list {
        position: static;
        width: 100%;
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        padding-bottom: 5px;
        font-size: 0;
        margin-bottom: 0;
    }

    .spares-cars__img {
        display: none;
    }

    .spares .card__list {
        border-top: none;
    }

    /*.spares .card__item:last-child {
    border-bottom: none;
    }*/

    .spares .card__name:hover {
        border-bottom: none;
    }
}

@media screen and (max-width: 768px) {
    .error-codes {
        display: block;
    }

    .error-codes__img-wrapper {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .error-codes__text {
        max-width: 100%;
        position: relative;
        overflow: hidden;
        max-height: 250px;
        transition: max-height 0.4s ease;
    }

    .error-codes__text.is-expanded {
        max-height: 2000px; /* достаточно большое значение */
    }

    /* Градиент */
    .error-codes__text::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 80px;
        background: linear-gradient(to bottom, rgba(255,255,255,0), #ffffff);
        transition: opacity 0.3s ease;
    }

    .error-codes__text.is-expanded::after {
        opacity: 0;
        pointer-events: none;
    }

    /* Кнопка */
    .error-codes__toggle {
        display: block;
        width: 100%;
        margin-top: 16px;
        background: none;
        border: none;
        color: #EE463E;
        font-weight: 600;
        cursor: pointer;
        font-size: 16px;
        text-align: left;
        padding: 0;
    }

    .repair-banner--reverse {
        display: block;
        padding-right: 0;
    }

    .repair-technologies__item {
        display: block;
    }

    .repair-technologies__item:last-child {
        margin-bottom: 0;
    }

    .repair-technologies__img-wrapper {
        margin-bottom: 40px;
    }
}
@media screen and (max-width: 700px) {
    .spares__list .card__btn {
        width: 100%;
    }
}
/* Remont turbin detail page styles END */

.call-us__header {
    font-weight: 700;
    font-size: 30px;
    line-height: 25px;
    margin-bottom: 20px;
}

.call-us__info--home .call-us__address {
    margin-bottom: 10px;
    margin-top: 30px;
}

/* Home page hero */
.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding-top: 10px;
}

.home-hero__title {
    font-weight: 700;
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 28px;
    color: #000;
    font-style: italic;
}

.home-hero__accent {
    color: #EE463E;
}

.home-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-hero__feature {
    position: relative;
    padding-left: 18px;
    font-size: 16px;
    line-height: 1.3;
    color: #000;
}

.home-hero__feature::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 8px;
    height: 8px;
    background-color: #EE463E;
}

.home-hero__features--mobile {
    display: none;
}

.home-hero__visual {
    position: relative;
    text-align: center;
}

.home-hero__img {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
}

.home-hero__badge {
    display: none;
}

.form__actions--repair {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 360px;
}

.form__btn--outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

@media screen and (max-width: 992px) {
    .home-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
        padding-top: 0;
    }

    .home-hero__content {
        order: 1;
    }

    .home-hero__visual {
        order: 2;
    }

    .home-hero__title {
        font-size: 26px;
        line-height: 1.25;
        margin-bottom: 18px;
        text-align: left;
    }

    .home-hero__features--desktop {
        display: none;
    }

    .home-hero__features--mobile {
        display: flex;
    }

    .home-hero__feature {
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    .home-hero__feature::before {
        width: 6px;
        height: 6px;
        top: 0.5em;
    }

    .home-hero__badge {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 108px;
        height: 108px;
        margin: 0;
        padding: 14px;
        border-radius: 50%;
        background-color: #EE463E;
        color: #fff;
        font-weight: 700;
        font-size: 12px;
        line-height: 1.2;
        text-align: center;
        box-sizing: border-box;
    }

    .form__actions--repair .form__btn--outline {
        display: inline-flex;
    }
}

@media screen and (min-width: 993px) {
    .form__actions--repair .form__btn--outline {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .home-hero__title {
        font-size: 22px;
    }

    .home-hero__features {
        gap: 10px 16px;
    }

    .home-hero__badge {
        width: 92px;
        height: 92px;
        font-size: 11px;
        padding: 10px;
    }

    .form__actions--repair {
        max-width: none;
    }
}