/* FIXES MISALIGNED PAYPAL BUTTON */
.ms-checkout-payment-instrument-paypal .ms-checkout-payment-instrument__add {
    max-width: none !important;
    margin: 0 !important;
}

.ms-checkout-payment-instrument-paypal .ms-checkout-payment-instrument__add body {
    margin: 0 !important;
}

/* HIDES GOOGLE PAY BUTTON */
.ms-checkout-section-container__item:has(.css-override.google-pay-class) {
    display: none !important;
}

/*FIXES CHECKOUT DELIVERY OPTIONS RADIO BUTTON ALIGNMENT - RRO*/
.ms-checkout__guided-form .ms-checkout__guided-card-body > div.ms-checkout__guided-card-content .ms-checkout-delivery-options__input-radio {
    margin-left: 0 !important;
}

/* INDENTS DELIVERY ADDRESS UNDER RADIO BTN - RRO, 11-07 */
.ms-checkout__guided-form
    > div.ms-checkout__guided-card.active.expanded.initialized.updating
    > div.ms-checkout__guided-card-body
    > div.ms-checkout__guided-card-content
    > div
    > div
    > div:nth-child(1)
    > div:nth-child(3)
    > span {
    @media screen and (max-width: 599px) {
        margin-left: 40px !important;
    }

    @media screen and (min-width: 600px) {
        margin-left: 35px;
    }
}

/* INDENTS CHOICE BUTTON, PICKUP ADDRESS - RRO, 11-07 */
.ms-checkout-delivery-options__option_wrapper-box-item .ms-centiro__preferred-store-btn {
    @media screen and (max-width: 599px) {
        margin-left: 40px !important;
    }

    @media screen and (min-width: 600px) {
        margin-left: 35px;
    }
}

/* PREVENTS PUSHING PRICE PAST MARGIN - RRO, 11-07 */
.ms-checkout-delivery-options__option div:not(:first-child) {
    margin-left: 0 !important;
}

/* ENSURES DELIVERY OPTION TEXT IS NOT SPLIT ON TWO LINES - RRO, 11-07 */
.ms-checkout-delivery-options label:has(> .ms-checkout-delivery-options__input-radio) {
    min-width: 270px !important;

    @media screen and (min-width: 600px) {
        min-width: 330px !important;
    }
}

/* FIXES WHITE BG ON BTN HOVER, HOMEPAGE (10% PÅ FØRSTE KØB) */
.ms-content-block[data-m-layout='left-right'].texttheme__light .ms-content-block__cta .msc-cta__primary:hover {
    background-color: transparent !important;
}

/* FIXES USELESS LOGGED ERROR IN FOOTER ACCORDION */
.ms-footer .ms-accordion-header-section-toggle-button-container {
    display: none;
}

/* FIXES HEIGHT AND TEXT OVERLAY ON VIDEO MODULE */
@media screen and (max-width: 768px) {
    .css-override .msc-videoplayer .msc-videoplayer__wrapper video.msc-videoplayer__video {
        min-height: auto !important;
    }
}

@media (max-width: 768px) {
    .css-override .ms-video-player__details {
        background: none !important;
        height: 0 !important;
        padding: 52px 28px;
        position: absolute !important;
        display: flex !important;
        width: 100% !important;
        height: 100% !important;
        justify-content: flex-end !important;
    }

    .css-override .ms-video-player__details__cta__link {
        background: rgb(143 143 143 / 50%);
        height: auto !important;
        margin-top: 22px;
    }
}

.ms-promo-banner.deu {
    background-color: #e30000;
}

/* REMOVES DEFAULT BOTTOM MARGIN ON CONTAINERS */

.default-container {
    margin-bottom: 0 !important;

    @media screen and (min-width: 992px) {
        margin-bottom: 0 !important;
    }
}

/* CHANGES ASPECT RATIO ON CONTENT BLOCK HERO 2 */

.ms-content-block[data-m-layout='full-width-with-container'] {
    box-shadow: none !important;
    aspect-ratio: 4 / 5 !important;
}

/* FIX MISALIGNED IMAGE LISTS - NOA */

.image-list__country-picker.ms-image-list.displaystyle__horizontal.imageplacement__left.contentalignment__center {
    .ms-image-list__list {
        justify-content: center;
    }
}

.ms-image-list.contentalignment__center {
    .ms-image-list__list {
        justify-content: space-evenly !important;
    }
}

/* Re-align trustbadge with other elements in the footer */

div[id^='trustbadge-container'] {
    div {
        div:not([id^='ratingStarsContainer']) {
            bottom: 33px !important;
        }
    }
}

.bs-promo-banner {
    z-index: 10;
}

/* FIX SPACING ON VIDEO MODULE - NOA */
.ms-video-player__details,
.ms-ext-video-player__details {
    .ms-video-player__details__cta__link,
    .ms-video-player__details__additional-content,
    .ms-ext-video-player__details__cta__link {
        margin-top: 0 !important;
    }

    @media (max-width: 768px) {
        gap: 1rem !important;
    }

    @media (min-width: 769px) {
        gap: 1.25rem !important;
    }
}

/*CHECKOUT HEADER STYLING - NOA*/
.ms-header.checkout-header {
    margin: 0;
    width: 100%;
}

.ms-header.checkout-header .ms-header__container {
    padding: 0;
}

.ms-header.checkout-header .ms-header__container .ms-header__topbar {
    height: 68px;
}
.ms-header.checkout-header .ms-header__container .ms-header__topbar .left-side-container {
    flex: 1;
}
