/* Small compatibility layer for the preserved 2017 design on the PHP 8 site. */
.content,
.contact-card,
.review-item {
    overflow-wrap: anywhere;
}

.prodnav .slogan {
    padding-top: 7px;
}

.header-contact,
.header-actions {
    width: 180px;
    font: 300 14px/1.2 Arial, sans-serif;
}

.header-contact a,
.header-actions a {
    color: #7e0050;
}

.header-actions {
    text-align: right;
    text-transform: uppercase;
}

.header-shop__contact {
    margin-left: 0;
}

.prodnav-layout,
.promo-advants__layout,
.footer-nav__layout,
.breadcrumbs__layout {
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    list-style: none;
}

.asset-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slider {
    background: url('/img/slide.jpg') no-repeat top center;
}

.home-intro {
    width: 920px;
    box-sizing: border-box;
    margin: 25px auto;
}

.page-slider__w {
    background: url('/img/page-slide.jpg') no-repeat top center;
}

.minicard__img {
    background-color: #fff;
}

.card-size strong {
    font: 400 17px/1.2 Arial, sans-serif;
}

.contact-card {
    padding: 20px 25px;
    margin-bottom: 30px;
    background: #fff;
    border-left: 5px solid #fab335;
}

.contact-card h2 {
    margin-top: 0 !important;
}

.contact-card a {
    color: #ae016f;
    font-weight: 700;
}

.faq__qa-item details > summary {
    cursor: pointer;
    list-style: none;
}

.faq__qa-item details > summary::-webkit-details-marker {
    display: none;
}

.faq__drop.faq__drop-static {
    display: block;
}

.faq__qa-item details:not([open]) .faq__drop-static {
    display: none;
}

.review-item {
    padding: 15px 20px;
    margin-top: 15px;
    background: #fff;
}

.review-item h3 {
    margin-top: 0;
}

.content-extra {
    clear: both;
    margin-top: 30px;
}

.page-404 {
    width: 920px;
    box-sizing: border-box;
    margin: 70px auto;
    padding: 60px;
    text-align: center;
    background: #fff;
    border-top: 5px solid #fab335;
}

.page-404 .error {
    color: #ae016f;
    font: 900 100px/1 Arial, sans-serif;
}

.page-404 h1 {
    margin-top: 15px;
}

.page-404__home {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    background: #ae016f;
    border-radius: 5px;
}

.l-results__item--1 { background: url('/img/l-result1.png') no-repeat 0 0; }
.l-results__item--2 { background: url('/img/l-result2.png') no-repeat 0 0; }
.l-results__item--3 { background: url('/img/l-result3.png') no-repeat 0 0; }
.l-engines__intro { margin-top: 100px; }
.l-engines__copy { text-align: right; }
.l-engines__heavy { margin-top: 10px; }
.l-engines__product { margin-left: 70px; }
.l-akpp__copy { width: 520px; }
.l-fourth__item--2 { margin-top: -90px; }
.l-fourth__item--3 { margin-top: -180px; }
.l-fourth__item--4 { margin-top: -270px; }
.l-barrels {
    right: calc((1000px - 100vw) / 2);
    width: auto;
    background: url('/img/l-barrels.png') no-repeat 0 0;
}
.l-res_centres__cert img { object-fit: cover; }

.l-wrap a:focus-visible {
    outline: 3px solid #fab335;
    outline-offset: 3px;
}

@media (max-width: 960px) {
    .header,
    .home-promo__border,
    .home-promo__title,
    .home-promo__content,
    .home-intro,
    .home-footer,
    .footer,
    .page-slider,
    .breadcrumbs,
    .page-title,
    .page-main,
    .page-404 {
        width: calc(100% - 32px);
    }

    .header-top {
        padding-right: 16px;
        padding-left: 16px;
    }

    .header-top__nav {
        overflow-x: auto;
        padding: 11px 15px;
    }

    .header-top__nav-link {
        white-space: nowrap;
    }

    .header-middle {
        gap: 20px;
    }

    .prodnav {
        width: 100%;
        justify-content: center;
    }

    .home-promo__row {
        justify-content: center;
    }

    .promo-unique__w {
        width: calc(100% - 305px);
    }

    .module__catalogue {
        justify-content: center;
    }

    .minicard__item,
    .minicard__item:nth-child(3n+1) {
        margin-right: 5px;
        margin-left: 5px;
    }
}

@media (max-width: 760px) {
    .header-top {
        height: auto;
        min-height: 40px;
        flex-wrap: wrap;
    }

    .header-contact,
    .header-actions {
        width: 50%;
        padding: 10px 0;
    }

    .header-top__nav {
        order: 3;
        width: 100%;
    }

    .header-middle {
        flex-wrap: wrap;
        align-items: center;
    }

    .header-shop {
        margin-left: auto;
    }

    .header-dealer {
        width: 100%;
        justify-content: center;
    }

    .header-dealer .text {
        font-size: 22px;
    }

    .nav-w {
        height: auto;
    }

    .prodnav {
        flex-direction: column;
    }

    .prodnav .slogan {
        width: auto;
        padding: 14px 20px;
    }

    .prodnav-layout {
        width: 100%;
        margin-left: 0;
    }

    .prodnav-item {
        flex: 1;
    }

    .prodnav-link {
        justify-content: center;
        min-height: 70px;
        padding: 0 6px;
    }

    .prodnav-link .text {
        width: auto;
        font-size: 13px;
    }

    .slider {
        height: 300px;
        background-size: auto 300px;
    }

    .home-promo__title-w {
        height: auto;
    }

    .home-promo__title {
        padding: 18px 0;
        font-size: 24px;
        line-height: 1.2;
    }

    .home-promo__row,
    .promo-unique,
    .card-top,
    .footer-top {
        flex-direction: column;
    }

    .promo-block,
    .promo-unique__w,
    .promo-advants,
    .card-img__w,
    .card-right {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .promo-unique__col1 {
        width: 100%;
        padding: 25px 15px;
    }

    .promo-unique__col2 {
        margin-left: 0;
        padding-top: 25px;
    }

    .promo-unique__readmore,
    .promo-unique__readmore.page {
        height: auto;
        padding: 18px;
        font-size: 23px;
        line-height: 1.2;
    }

    .promo-advants {
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 30px 20px;
    }

    .faq-header {
        height: auto;
        padding: 20px;
        line-height: 1.3;
    }

    .footer-news {
        flex-direction: column;
    }

    .footer-news__item,
    .footer-news__item:first-child {
        width: 100%;
        margin: 15px 0 0;
    }

    .footer-top {
        height: auto;
        gap: 15px;
        padding: 25px 0;
    }

    .footer-nav__layout {
        height: auto;
        flex-wrap: wrap;
        gap: 14px;
        padding: 15px;
    }

    .footer-nav__item,
    .footer-nav__item:first-child {
        margin-left: 0;
    }

    .page-slider__w {
        height: 180px;
        background-position: center;
        background-size: auto 180px;
    }

    .promo-unique__readmore.page {
        top: 35px;
        right: 0;
        left: 0;
        text-align: center;
    }

    .page-title h1 {
        font-size: 30px;
    }

    .card-img__w {
        max-width: 500px;
        height: min(500px, calc(100vw - 64px));
        margin: 0 auto 20px;
    }

    .card-price__w {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .card-price {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .header,
    .home-promo__border,
    .home-promo__title,
    .home-promo__content,
    .home-intro,
    .home-footer,
    .footer,
    .page-slider,
    .breadcrumbs,
    .page-title,
    .page-main,
    .page-404 {
        width: calc(100% - 20px);
    }

    .header-logo img {
        width: 200px;
        height: auto;
    }

    .header-shop {
        width: 100%;
        margin: 0;
    }

    .header-shop:after {
        opacity: .35;
    }

    .prodnav-layout {
        flex-direction: column;
    }

    .prodnav-item {
        border-width: 1px 0 0;
    }

    .promo-unique__title {
        font-size: 30px;
    }

    .promo-unique__readmore {
        font-size: 20px;
    }

    .promo-unique__readmore .arrow {
        display: none;
    }

    .minicard__item {
        width: 100%;
        height: auto;
    }

    .minicard__img {
        width: 100%;
    }

    .page-404 {
        margin: 30px auto;
        padding: 35px 15px;
    }

    .page-404 .error {
        font-size: 72px;
    }
}
