.menu-level-1 > li > a,
.menu-level-1 > li > a > b {
    color: #ffffff !important;
}

.menu-level-1 > li > a .submenu-arrow {
    border-color: #ffffff !important;
}

.products-top-wrapper,
a.shp-tab-link[href="#description"],
div.link-icons[data-testid="productDetailActionIcons"] {
    display: none !important;
}

.p-detail .p-image .p-main-image {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.p-detail .p-image .p-main-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain;
}

img[src*="logo-bez-pozadi-1.png"] {
    width: 250px !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Zobrazí je původní skript po přesunutí pod banner */
#lsPilotButtons {
    display: none;
}

.ls-pilot-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 32px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.ls-pilot-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 52px;
    background: #14243b;
    color: #ffffff !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    border: 1px solid #14243b;
    border-radius: 0;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ls-pilot-button:hover {
    background: #ffffff;
    color: #14243b !important;
}

a[data-ec-promo-id="124"] {
    display: flex !important;
    align-items: stretch !important;
    overflow: hidden !important;
}

a[data-ec-promo-id="124"] > img {
    flex: 0 0 75% !important;
    width: 75% !important;
    max-width: 75% !important;
    min-width: 0 !important;
    height: auto !important;
    object-fit: cover !important;
}

a[data-ec-promo-id="124"] > .extended-banner-texts {
    position: static !important;
    transform: none !important;
    flex: 0 0 25% !important;
    width: 25% !important;
    max-width: 25% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 16px 10px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

a[data-ec-promo-id="124"] .extended-banner-link {
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: center !important;
}

@media (max-width: 767px) {
    img[src*="logo-bez-pozadi-1.png"] {
        width: 100px !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 60px !important;
        object-fit: contain !important;
    }

    #category-header {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .ls-pilot-buttons {
        flex-direction: row;
        gap: 8px;
        padding: 0 15px;
        margin: 22px auto;
    }

    .ls-pilot-button {
        width: 160px;
        max-width: calc(50% - 4px);
        height: 48px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }
}
.menu-level-1 > li > a,
.menu-level-1 > li > a > b {
    color: #ffffff !important;
}

.menu-level-1 > li > a .submenu-arrow {
    border-color: #ffffff !important;
}

.products-top-wrapper {
    display: none !important;
}

a.shp-tab-link[href="#description"] {
    display: none !important;
}

div.link-icons[data-testid="productDetailActionIcons"] {
    display: none !important;
}

.p-detail .p-image .p-main-image {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.p-detail .p-image .p-main-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain;
}

img[src*="logo-bez-pozadi-1.png"] {
    width: 250px !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

@media (max-width: 767px) {
    img[src*="logo-bez-pozadi-1.png"] {
        width: 100px !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 60px !important;
        object-fit: contain !important;
    }
}

@media (max-width: 767px) {
    #category-header {
        display: none !important;
    }
}

.ls-pilot-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin: 25px auto;
}

.ls-pilot-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 52px;
    background: #14243b;
    color: #ffffff !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    border: 1px solid #14243b;
    border-radius: 0;
    transition: 0.2s ease;
}

.ls-pilot-button:hover {
    background: #ffffff;
    color: #14243b !important;
}

@media (max-width: 600px) {
    .ls-pilot-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .ls-pilot-button {
        width: 100%;
        height: 50px;
    }
}

#lsPilotButtons {
    display: none;
}

.ls-pilot-buttons {
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 32px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.ls-pilot-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 52px;
    background: #14243b;
    color: #ffffff !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    border: 1px solid #14243b;
    border-radius: 0;
    box-sizing: border-box;
    transition: 0.2s ease;
}

.ls-pilot-button:hover {
    background: #ffffff;
    color: #14243b !important;
}

@media (max-width: 600px) {
    .ls-pilot-buttons {
        gap: 8px;
        padding: 0 15px;
        margin: 22px auto;
    }

    .ls-pilot-button {
        width: 160px;
        max-width: calc(50% - 4px);
        height: 48px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }
}

a[data-ec-promo-id="124"] {
    display: flex !important;
    align-items: stretch !important;
    overflow: hidden !important;
}

a[data-ec-promo-id="124"] > img {
    flex: 0 0 75% !important;
    width: 75% !important;
    max-width: 75% !important;
    min-width: 0 !important;
    height: auto !important;
    object-fit: cover !important;
}

a[data-ec-promo-id="124"] > .extended-banner-texts {
    position: static !important;
    transform: none !important;
    flex: 0 0 25% !important;
    width: 25% !important;
    max-width: 25% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 16px 10px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

a[data-ec-promo-id="124"] .extended-banner-link {
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: center !important;
}
<div class="ls-pilot-buttons" id="lsPilotButtons">
    <a href="https://www.limasierra.cz/panske-obleceni/"
       class="ls-pilot-button">
        PRO PILOTA
    </a>

    <a href="https://www.limasierra.cz/damske-obleceni/"
       class="ls-pilot-button">
        PRO PILOTKU
    </a>
</div>

(function () {
    function presunoutTlacitka() {
        if (window.location.pathname !== "/") {
            return;
        }

        var buttons = document.getElementById("lsPilotButtons");

        var banner =
            document.querySelector(".carousel-wrapper") ||
            document.querySelector(".carousel") ||
            document.querySelector("#carousel");

        if (buttons && banner) {
            banner.insertAdjacentElement("afterend", buttons);
            buttons.style.display = "flex";
        }
    }

    if (document.readyState === "loading") {
        document.addEventListener("DOMContentLoaded", presunoutTlacitka);
    } else {
        presunoutTlacitka();
    }
})();

(function () {
    function presunoutBenefity() {
        var benefity = document.querySelector(
            ".benefit-banners-full-width:has(.position--benefitHomepage)"
        );

        var zapati =
            document.querySelector("#footer") ||
            document.querySelector("footer");

        if (!benefity || !zapati || benefity.contains(zapati)) {
            return;
        }

        zapati.parentNode.insertBefore(benefity, zapati);
    }

    if (document.readyState === "loading") {
        document.addEventListener("DOMContentLoaded", presunoutBenefity);
    } else {
        presunoutBenefity();
    }

    window.addEventListener("load", presunoutBenefity);
})();
