/* This was removed from the module SCSS, temp reversion */
.ms-text-block {
  margin-top: 25px;
}

/* Temporary fix for having banners in content block full width */
.ms-content-block__link:has(> .ms-content-block__image) {
    display: block;
    width: 100%;
}

/* Same with this one */
.ms-product-collection {
  padding-top: 15px;
}

/* Fix Become Customer Banner Scaling */
.become-customer-banner img {
    height: auto;
}

/* Remove Forsvaret attribute refiner */
.ms-refine-submenu.list-group.Forsvaret {
    display: none;
}

/* Remove Prioritet attribute refiner */
.ms-refine-submenu.list-group.Prioritet {
    display: none;
}

/* Remove Sperret for Svalbard attribute refiner */
.ms-refine-submenu.list-group.Sperret.for.Svalbard {
    display: none;
}

/* Remove NHO Avtale+Bonus refiner */
.ms-refine-submenu.list-group.NHO.Avtale\+Bonus {
  display: none;
}

.account-page #main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.account-page #main > .container {
  max-width: 600px;
}

.account-page #main > .container.gap > .row {
  gap: 10px;
}

.account-page #main > .container.gap > .row > div {
  flex: 1;
  max-width: unset;
}

.account-page #main > .container.gap-100-width > .row {
  gap: 10px;
}

.ms-tile-list .msc-ss-carousel .ms-tile__item .ms-tile-list__heading:empty {
  display: none;
}

.Mamma.Mia {
  display: none;
}

/* Temporary quick fix */
.ms-search__autoSuggest {
  overflow-y: hidden !important;
}

.category-description-top {
	background-color: #fff !important;
	border: 1px solid #e9ebee;
  border-radius: 18px;
  margin-top: 30px;
  padding: 40px 44px;
}

.category-description-top .ms-content-block__details {
	padding: 0 !important;
}

.category-description-top .ms-content-block__title {
	font-family: 'Inter' !important;
	font-size: 40px !important;
	margin-bottom: 16px;
	padding-bottom: 16px;
	position: relative;
}

.category-description-top .ms-content-block__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.category-description-top .ms-content-block__text {
	font-family: 'Inter' !important;
	font-size: 14px !important;
	margin-top: unset !important;
}

/* Temp styling of promo banner before full re-design */
.msc-carousel__inner:not(:has(.active .lazyload)) {
  box-shadow: none !important;
}

.msc-carousel__inner:has(> .msc-carousel__item.active img):not(:has(> .msc-carousel__item.active .lazyload)) {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ms-promo-banner {
    --msv-promo-banner-bg: #e5eef0 !important;
    --msv-promo-banner-font-color: #101a1e !important;
    --msv-promo-banner-font-size: 14px !important;
    --msv-promo-banner-font-size-mobile: 14px !important;

    align-items: center;
    box-sizing: border-box;
    flex-wrap: nowrap;
    gap: 12px;
    min-height: 44px;
    padding-block: 7px;
    padding-inline: max(20px, calc((100% - 1400px) / 2));
    text-align: start;
}

.ms-promo-banner .ms-promo-banner__carousel {
    min-width: 0;
}

.ms-promo-banner .ms-promo-banner__content {
    position: relative;
    padding-inline-start: 28px;
    text-align: start;
}

.ms-promo-banner .ms-promo-banner__content::before {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    color: #246984;
    content: "ⓘ" / "";
    font: 600 17px / 20px system-ui, sans-serif;
}

.ms-promo-banner .ms-promo-banner__text,
.ms-promo-banner .ms-promo-banner__link {
    padding-block: 0;
    font-family: Inter, system-ui, sans-serif;
    line-height: 20px;
    letter-spacing: normal;
}

.ms-promo-banner .ms-promo-banner__text::before {
    content: "Info: ";
    font-weight: 700;
}

.ms-promo-banner .ms-promo-banner__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-inline-start: 6px;
    font-weight: 700;
    transition: color 150ms ease;
}

.ms-promo-banner .ms-promo-banner__link,
.ms-promo-banner .ms-promo-banner__link:is(:hover, :focus, :active) {
    border: 0;
    text-decoration: none;
}

.ms-promo-banner .ms-promo-banner__link:hover {
    color: #246984;
}

.ms-promo-banner .ms-promo-banner__link:active {
    color: #17495d;
}

.ms-promo-banner .ms-promo-banner__link:focus:not(:focus-visible) {
    outline: none;
}

.ms-promo-banner .ms-promo-banner__link > div {
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ms-promo-banner .ms-promo-banner__link::after {
    box-sizing: border-box;
    content: "";
    flex: 0 0 0.4em;
    inline-size: 0.4em;
    block-size: 0.4em;
    border-block-start: 1.5px solid currentColor;
    border-inline-end: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.ms-promo-banner .ms-promo-banner__close-button {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    inline-size: 30px;
    block-size: 30px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background-color: #d2e1e6;
}

.ms-promo-banner .ms-promo-banner__close-button:hover {
    background-color: #c2d7df;
}

.ms-promo-banner .ms-promo-banner__close-button::after {
    font-size: 14px;
    line-height: 1;
}

.ms-promo-banner .ms-promo-banner__link:focus-visible,
.ms-promo-banner .ms-promo-banner__close-button:focus-visible {
    outline: 2px solid #246984;
    outline-offset: 2px;
}

@media (max-width: 852px) {
    .ms-promo-banner {
        align-items: flex-start;
        padding: 12px 16px;
    }

    .ms-promo-banner .ms-promo-banner__content::before {
        font-size: 19px;
        line-height: 24px;
    }

    .ms-promo-banner .ms-promo-banner__text,
    .ms-promo-banner .ms-promo-banner__link {
        line-height: 24px;
    }

    .ms-promo-banner .ms-promo-banner__links {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 12px;
        margin-block-start: 6px;
    }

    .ms-promo-banner .ms-promo-banner__link {
        margin-inline-start: 0;
    }

    .ms-promo-banner .ms-promo-banner__close-button {
        flex-basis: 34px;
        inline-size: 34px;
        block-size: 34px;
        border-radius: 11px;
    }

    .ms-promo-banner .ms-promo-banner__close-button::after {
        font-size: 16px;
    }
}