.nav-dropdown:has(.efmc) {
	width: 380px !important;
	min-width: 380px !important;
	max-width: calc(100vw - 16px);
	margin: 0;
	padding: 0 !important;
	border: 1px solid #e3eaf2 !important;
	border-radius: 16px !important;
	background: #fff !important;
	box-shadow: none !important;
	overflow: hidden;
}

.nav-dropdown:has(.efmc)::before,
.nav-dropdown:has(.efmc)::after {
	display: none !important;
}

.nav-dropdown:has(.efmc) > li {
	display: none !important;
}

.nav-dropdown:has(.efmc) > li:has(.efmc) {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.nav-dropdown:has(.efmc) > li:has(.efmc) > div {
	margin: 0 !important;
	padding: 0 !important;
}

#ex-moms-mini {
	display: none !important;
}

.efmc.efmc,
.efmc.efmc * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0;
	font-family: 'Efuture Text Regular', -apple-system, Arial, sans-serif !important;
	font-size: 13px;
	line-height: 1.4;
	text-transform: none !important;
	letter-spacing: normal;
	color: #011223;
	text-align: left;
}

.efmc.efmc {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #fff;
}

.efmc.efmc a {
	text-decoration: none;
}

.efmc.efmc img {
	display: block;
	max-width: none;
	box-shadow: none;
}

.efmc .efmc-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px 12px;
	border-bottom: 1px solid #e3eaf2;
}

.efmc .efmc-head__title {
	font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif !important;
	font-size: 15px;
}

.efmc .efmc-head__count {
	font-size: 12px;
	color: #8e8e93;
}

.efmc .efmc-list {
	display: flex;
	flex-direction: column;
	max-height: min(52vh, 440px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.efmc .efmc-row {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px 18px;
}

.efmc .efmc-row + .efmc-row {
	border-top: 1px solid #eef2f6;
}

.efmc .efmc-row__main {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 28px;
	align-items: center;
	gap: 12px;
}

.efmc .efmc-row--bike .efmc-row__main {
	grid-template-columns: 96px minmax(0, 1fr) 28px;
}

.efmc .efmc-row__img {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	background: #f2f2f7;
	overflow: hidden;
}

.efmc .efmc-row--bike .efmc-row__img {
	aspect-ratio: 4 / 3;
}

.efmc .efmc-row__img img,
.efmc .efmc-addon__img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.efmc .efmc-row__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	min-width: 0;
}

.efmc .efmc-row__name,
.efmc .efmc-row__name * {
	font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif !important;
	color: #011223;
}

.efmc .efmc-row__name {
	display: block;
	max-width: 100%;
	font-size: 13px;
	line-height: 1.3;
	overflow-wrap: anywhere;
	transition: color .2s ease;
}

.efmc a.efmc-row__name:hover,
.efmc a.efmc-row__name:hover * {
	color: #0074e1;
}

.efmc .efmc-row__name--bike {
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: -.02em;
}

.efmc .efmc-model {
	font-size: 17px;
	line-height: 1;
	white-space: nowrap;
}

.efmc .efmc-model-rest {
	font-size: 14px;
}

.efmc .efmc-color {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 2px;
}

.efmc .efmc-color__pill {
	display: inline-flex;
	width: 30px;
	height: 15px;
	border-radius: 999px;
	overflow: hidden;
}

.efmc .efmc-color__pill span {
	display: block;
	flex: 1;
}

.efmc .efmc-color__name,
.efmc .efmc-row__meta {
	font-size: 12px;
	color: #8e8e93;
}

.efmc .efmc-row__price,
.efmc .efmc-row__price * {
	font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif !important;
	font-size: 13px;
	color: #0074e1;
}

.efmc .efmc-row__price {
	margin-top: 2px;
}

.efmc .efmc-row__price .efmc-row__qty {
	color: #8e8e93;
}

.efmc .efmc-row__remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	min-height: 0;
	border-radius: 50%;
	background: transparent;
	color: #8e8e93;
	line-height: 0;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

.efmc .efmc-row__remove svg {
	display: block;
}

.efmc .efmc-row__remove:hover,
.efmc .efmc-row__remove:focus-visible {
	background: #fdecec;
	color: #c8262e;
}

.efmc .efmc-row.is-removing {
	opacity: .4;
	pointer-events: none;
	transition: opacity .2s ease;
}

.efmc .efmc-addons {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 10px;
	border-top: 1px dashed #e3eaf2;
}

.efmc .efmc-addon {
	display: flex;
	align-items: center;
	gap: 12px;
}

.efmc .efmc-addon__img {
	position: relative;
	display: block;
	flex: none;
	width: 48px;
	height: 48px;
	border: 1px solid #e3eaf2;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.efmc .efmc-addon__name {
	min-width: 0;
	font-size: 12px;
	line-height: 1.35;
	color: #3d4f62;
	overflow-wrap: anywhere;
}

.efmc .efmc-foot {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 18px 18px;
	border-top: 1px solid #e3eaf2;
	background: #f5f9fd;
}

.efmc .efmc-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.efmc .efmc-total__label,
.efmc .efmc-total__price {
	font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif !important;
}

.efmc .efmc-total__label {
	font-size: 14px;
}

.efmc .efmc-total__price {
	font-size: 18px;
	color: #0074e1;
}

.efmc .efmc-vat {
	text-align: right;
	font-size: 12px;
	color: rgb(162, 174, 190);
}

.efmc .efmc-actions {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 8px;
	margin-top: 12px;
}

.efmc .efmc-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 8px;
	font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif !important;
	font-size: 14px;
	line-height: 1;
	text-align: center;
	transition: filter .2s ease, border-color .2s ease, color .2s ease;
}

.efmc .efmc-btn--ghost {
	border: 1px solid #b9c7d6;
	background: #fff;
	color: #011223;
}

.efmc .efmc-btn--ghost:hover {
	border-color: #0074e1;
	color: #0074e1;
}

.efmc .efmc-btn--primary {
	background: #0074e1;
	color: #fff;
}

.efmc .efmc-btn--primary:hover {
	filter: brightness(1.08);
	color: #fff;
}

.efmc .efmc-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 28px 22px 24px;
}

.efmc .efmc-empty svg {
	width: auto;
	height: 56px;
	color: #011223;
	opacity: .12;
}

.efmc .efmc-empty__title {
	font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif !important;
	font-size: 15px;
	text-align: center;
}

.efmc .efmc-empty .efmc-btn {
	width: 100%;
}

.off-canvas-cart .mfp-content:has(.efmc) {
	width: min(420px, 92vw) !important;
	max-width: none !important;
	padding: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
}

.mfp-content #cart-popup:has(.efmc),
.mfp-content #cart-popup:has(.efmc) .cart-popup-inner {
	display: flex !important;
	flex-direction: column;
	height: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0 !important;
	padding: 0 !important;
	background: #fff;
}

#cart-popup:has(.efmc) .cart-popup-title,
#cart-popup:has(.efmc) .header-cart-content,
#cart-popup:has(.efmc) .payment-icons,
#cart-popup:has(.efmc) .trustpilot-widget {
	display: none !important;
}

#cart-popup:has(.efmc) .widget_shopping_cart,
#cart-popup:has(.efmc) .widget_shopping_cart_content {
	display: flex !important;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	margin: 0 !important;
	padding: 0 !important;
}

#cart-popup .efmc.efmc {
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
}

#cart-popup .efmc .efmc-head {
	position: sticky;
	top: 0;
	z-index: 2;
	align-items: center;
	min-height: 60px;
	padding: 16px 60px 14px 18px;
	background: #fff;
}

#cart-popup .efmc .efmc-head__title {
	font-size: 17px;
}

#cart-popup .efmc .efmc-list {
	flex: 1 1 auto;
	max-height: none;
	min-height: 0;
	-webkit-overflow-scrolling: touch;
}

#cart-popup .efmc .efmc-row {
	padding: 16px 18px;
}

#cart-popup .efmc .efmc-row--bike .efmc-row__main {
	grid-template-columns: 104px minmax(0, 1fr) 32px;
}

#cart-popup .efmc .efmc-row__remove {
	width: 32px;
	height: 32px;
}

#cart-popup .efmc .efmc-foot {
	position: sticky;
	bottom: 0;
	z-index: 2;
	padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
}

#cart-popup .efmc .efmc-btn {
	min-height: 48px;
	font-size: 15px;
}

#cart-popup .efmc .efmc-empty {
	flex: 1 1 auto;
	justify-content: center;
	padding: 40px 24px calc(40px + env(safe-area-inset-bottom));
}

.off-canvas-cart .mfp-close {
	color: #011223 !important;
	opacity: 1 !important;
}

body.efmc-lock {
	overflow: hidden !important;
}

html.efmc-lock,
html.efmc-lock body {
	overflow: hidden !important;
}

html.efmc-lock body.efmc-lock {
	position: fixed !important;
	left: 0;
	right: 0;
	width: 100%;
}

.efmc-sheet {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	visibility: hidden;
	pointer-events: none;
}

.efmc-sheet.is-open {
	visibility: visible;
	pointer-events: auto;
}

.efmc-sheet__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(1, 18, 35, .35);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	opacity: 0;
	touch-action: none;
	transition: opacity .3s ease;
}

.efmc-sheet.is-open .efmc-sheet__backdrop {
	opacity: 1;
}

.efmc-sheet__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 560px;
	max-height: 88vh;
	max-height: 88dvh;
	border-radius: 20px 20px 0 0;
	background: #fff;
	overflow: hidden;
	transform: translateY(100%);
	transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.efmc-sheet.is-open .efmc-sheet__panel {
	transform: translateY(0);
}

.efmc-sheet__close {
	position: absolute;
	top: 12px;
	right: 14px;
	z-index: 3;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #0074e1 !important;
	color: #fff !important;
	line-height: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.efmc-sheet__close svg {
	display: block;
	width: 18px;
	height: 18px;
}

.efmc-sheet__close:focus-visible {
	outline: 2px solid #0074e1;
	outline-offset: 2px;
}

.efmc-sheet .widget_shopping_cart_content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	margin: 0;
	padding: 0;
}

.efmc-sheet .efmc.efmc {
	flex: 1 1 auto;
	min-height: 0;
}

.efmc-sheet .efmc .efmc-head {
	align-items: center;
	min-height: 64px;
	padding: 18px 66px 14px 20px;
}

.efmc-sheet .efmc .efmc-head__title {
	font-size: 17px;
}

.efmc-sheet .efmc .efmc-list {
	flex: 1 1 auto;
	max-height: none;
	min-height: 0;
	-webkit-overflow-scrolling: touch;
}

.efmc-sheet .efmc .efmc-row {
	padding: 16px 20px;
}

.efmc-sheet .efmc .efmc-row--bike .efmc-row__main {
	grid-template-columns: 104px minmax(0, 1fr) 32px;
}

.efmc-sheet .efmc .efmc-row__remove {
	width: 32px;
	height: 32px;
}

.efmc-sheet .efmc .efmc-foot {
	padding: 14px 20px calc(18px + env(safe-area-inset-bottom));
}

.efmc-sheet .efmc .efmc-btn {
	min-height: 48px;
	font-size: 15px;
}

.efmc-sheet .efmc .efmc-empty {
	padding: 56px 24px calc(40px + env(safe-area-inset-bottom));
}

@media (prefers-reduced-motion: reduce) {
	.efmc-sheet__panel,
	.efmc-sheet__backdrop {
		transition: none;
	}
}

.efmc-sheet .efmc-sheet__close svg {
	width: 18px;
	height: 18px;
}

#cart-popup.mfp-hide,
.mfp-hide #cart-popup {
	display: none !important;
}

.efmc-sheet .efmc-sheet__close {
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	border-radius: 999px !important;
	background: #011223 !important;
	color: #fff;
	transition: opacity .2s ease;
}

.efmc-sheet .efmc-sheet__close:hover {
	opacity: .85;
}

.efmc .efmc-list {
	transition: -webkit-mask-size .2s ease;
}

.efmc .efmc-list.has-more {
	-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 64px), transparent 100%);
	mask-image: linear-gradient(to bottom, #000 calc(100% - 64px), transparent 100%);
}

.efmc-sheet .efmc-sheet__close {
	display: flex !important;
	position: absolute;
	top: 24px;
	right: 15px;
	width: 40px !important;
	height: 40px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	border-radius: 9999px !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	background: #112b4370 !important;
	padding: 9px !important;
	border: none !important;
	box-sizing: border-box;
	transition: transform 0.2s ease, background 0.2s ease;
	opacity: 1;
}

.efmc-sheet .efmc-sheet__close:hover {
	opacity: 1;
}

.efmc-sheet .efmc-sheet__close svg {
	width: 100%;
	height: 100%;
}

.efmc-sheet .efmc .efmc-head {
	min-height: 88px;
	padding-top: 24px;
	padding-right: 70px;
}

.efmc .efmc-list.has-more {
	-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 140px), rgba(0, 0, 0, .35) calc(100% - 50px), transparent 100%);
	mask-image: linear-gradient(to bottom, #000 calc(100% - 140px), rgba(0, 0, 0, .35) calc(100% - 50px), transparent 100%);
}

.nav-dropdown:has(.efmc) {
	clip-path: inset(0 0 100% 0 round 16px);
	transition: clip-path .4s cubic-bezier(.22, 1, .36, 1), opacity .2s ease, visibility 0s linear .4s !important;
}

.nav-dropdown:has(.efmc) .efmc {
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity .25s ease .08s, transform .4s cubic-bezier(.22, 1, .36, 1);
}

.has-dropdown:hover > .nav-dropdown:has(.efmc),
.has-dropdown:focus-within > .nav-dropdown:has(.efmc),
.has-dropdown.current-dropdown > .nav-dropdown:has(.efmc) {
	clip-path: inset(0 0 0 0 round 16px);
	transition: clip-path .4s cubic-bezier(.22, 1, .36, 1), opacity .2s ease, visibility 0s !important;
}

.has-dropdown:hover > .nav-dropdown:has(.efmc) .efmc,
.has-dropdown:focus-within > .nav-dropdown:has(.efmc) .efmc,
.has-dropdown.current-dropdown > .nav-dropdown:has(.efmc) .efmc {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.nav-dropdown:has(.efmc),
	.nav-dropdown:has(.efmc) .efmc {
		transition: none !important;
	}
}

.nav-dropdown:has(.efmc),
.has-dropdown:hover > .nav-dropdown:has(.efmc),
.has-dropdown:focus-within > .nav-dropdown:has(.efmc),
.has-dropdown.current-dropdown > .nav-dropdown:has(.efmc) {
	opacity: 1 !important;
	transform: none !important;
}

.nav-dropdown:has(.efmc) {
	transition: clip-path .4s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .4s !important;
}

.has-dropdown:hover > .nav-dropdown:has(.efmc),
.has-dropdown:focus-within > .nav-dropdown:has(.efmc),
.has-dropdown.current-dropdown > .nav-dropdown:has(.efmc) {
	transition: clip-path .4s cubic-bezier(.22, 1, .36, 1), visibility 0s !important;
}

.nav-dropdown:has(.efmc) .efmc,
.has-dropdown:hover > .nav-dropdown:has(.efmc) .efmc,
.has-dropdown.current-dropdown > .nav-dropdown:has(.efmc) .efmc {
	opacity: 1;
	transform: none;
	transition: none;
}

#main::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 29;
	background: rgba(1, 18, 35, .12);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .3s ease, visibility 0s linear .3s;
}

#header:has(.has-dropdown:hover > .nav-dropdown .efmc) ~ #main::before,
#header:has(.has-dropdown.current-dropdown > .nav-dropdown .efmc) ~ #main::before {
	opacity: 1;
	visibility: visible;
	transition: opacity .3s ease, visibility 0s;
}

@media (max-width: 849px) {
	#header:has(.has-dropdown:hover > .nav-dropdown .efmc) ~ #main::before {
		opacity: 0;
		visibility: hidden;
	}
}

/* "Lagt i kurven" + "Fortsæt med at handle" – kun når en vare lige er lagt i kurven uden sideskift (0.5.0) */
.efmc-sheet .efmc-added,
.efmc-sheet .efmc-continue {
	display: none;
}
.efmc-sheet--added .efmc-added {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 20px 70px 0 20px;
	color: #011223;
	font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif !important;
	font-size: 17px;
	line-height: 1.3;
}
.efmc-sheet--added .efmc-added svg {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
}
.efmc-sheet--added .efmc-continue {
	display: block;
	flex: 0 0 auto;
	margin: 0 16px calc(16px + env(safe-area-inset-bottom, 0px));
	padding: 0 !important;
	height: 48px;
	border: 1px solid #e3e9f0 !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: #011223 !important;
	font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif !important;
	font-size: 16px !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
}
