/* CCMerch Gavekort */
.ccm-gk {
	--ccm-gk-accent: #05707A;
	--ccm-gk-accent-dark: #045C64;
	--ccm-gk-heading: #313D4D;
	--ccm-gk-text: #484F56;
	--ccm-gk-muted: #6B747D;
	--ccm-gk-line: #E4E7EA;
	--ccm-gk-soft: #EEF6F7;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
	/* Luft ned til footeren, da containeren ikke har bundmargin. */
	padding-bottom: 72px;
	font-family: "Jost", sans-serif;
	color: var(--ccm-gk-text);
}

.ccm-gk *,
.ccm-gk *::before,
.ccm-gk *::after {
	box-sizing: border-box;
}

.ccm-gk a:focus-visible {
	outline: 3px solid var(--ccm-gk-accent);
	outline-offset: 3px;
}

/* Brødkrummer */
.ccm-gk .ccm-gk__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 -12px;
	font-size: 14px;
	color: var(--ccm-gk-muted);
}

.ccm-gk .ccm-gk__crumbs a {
	color: var(--ccm-gk-muted);
	text-decoration: none;
}

.ccm-gk .ccm-gk__crumbs a:hover {
	color: var(--ccm-gk-accent);
	text-decoration: underline;
}

.ccm-gk .ccm-gk__crumb:last-child {
	font-weight: 500;
	color: var(--ccm-gk-heading);
}

.ccm-gk .ccm-gk__crumb-sep {
	opacity: 0.6;
}

/* Top */
.ccm-gk .ccm-gk__head {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	align-items: center;
	gap: 40px;
	padding: 44px 48px;
	background-color: var(--ccm-gk-soft);
	border-radius: 24px;
}

.ccm-gk .ccm-gk__head-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.ccm-gk .ccm-gk__eyebrow {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ccm-gk-accent);
}

.ccm-gk .ccm-gk__title {
	margin: 0;
	font-family: "Jost", sans-serif;
	font-size: clamp(32px, 4.2vw, 48px);
	font-weight: 600;
	line-height: 1.08;
	color: var(--ccm-gk-heading);
}

.ccm-gk .ccm-gk__intro {
	max-width: 520px;
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
}

.ccm-gk .ccm-gk__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

.ccm-gk .ccm-gk__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--ccm-gk-heading);
	text-decoration: none;
	background-color: #FFFFFF;
	border: 1px solid var(--ccm-gk-line);
	border-radius: 999px;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.ccm-gk .ccm-gk__btn:hover {
	color: var(--ccm-gk-accent);
	border-color: var(--ccm-gk-accent);
}

.ccm-gk .ccm-gk__btn--primary {
	color: #FFFFFF;
	background-color: var(--ccm-gk-accent);
	border-color: var(--ccm-gk-accent);
}

.ccm-gk .ccm-gk__btn--primary:hover {
	color: #FFFFFF;
	background-color: var(--ccm-gk-accent-dark);
	border-color: var(--ccm-gk-accent-dark);
}

/* Gavekort-illustration */
.ccm-gk .ccm-gk__visual {
	display: flex;
	justify-content: center;
}

.ccm-gk .ccm-gk__giftcard {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	max-width: 340px;
	aspect-ratio: 1.586;
	padding: 24px 26px;
	overflow: hidden;
	color: #FFFFFF;
	background: linear-gradient(135deg, #05707A 0%, #045C64 60%, #313D4D 100%);
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(4, 92, 100, 0.25);
	transform: rotate(-4deg);
}

.ccm-gk .ccm-gk__giftcard::before,
.ccm-gk .ccm-gk__giftcard::after {
	content: "";
	position: absolute;
	background: rgba(255, 255, 255, 0.18);
}

/* Gavebånd på kortet */
.ccm-gk .ccm-gk__giftcard::before {
	top: 0;
	bottom: 0;
	right: 28%;
	width: 14px;
}

.ccm-gk .ccm-gk__giftcard::after {
	left: 0;
	right: 0;
	top: 38%;
	height: 14px;
}

.ccm-gk .ccm-gk__giftcard-brand {
	position: relative;
	z-index: 1;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.ccm-gk .ccm-gk__giftcard-logo {
	position: relative;
	z-index: 1;
	display: block;
	width: auto;
	max-width: 70%;
	height: 40px;
	object-fit: contain;
	object-position: left center;
}

/* Gør et farvet logo helt hvidt, så det kan ses på det mørke kort. */
.ccm-gk .ccm-gk__giftcard-logo.is-white {
	filter: brightness(0) invert(1);
}

.ccm-gk .ccm-gk__giftcard-label {
	position: relative;
	z-index: 1;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.85;
}

.ccm-gk .ccm-gk__giftcard-code {
	position: relative;
	z-index: 1;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 16px;
	letter-spacing: 0.12em;
}

/* Trin */
.ccm-gk .ccm-gk__section {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ccm-gk .ccm-gk__h2 {
	margin: 0;
	font-family: "Jost", sans-serif;
	font-size: clamp(24px, 2.6vw, 30px);
	font-weight: 600;
	line-height: 1.2;
	color: var(--ccm-gk-heading);
}

.ccm-gk .ccm-gk__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ccm-gk .ccm-gk__step {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 24px;
	background-color: #FFFFFF;
	border: 1px solid var(--ccm-gk-line);
	border-radius: 18px;
}

.ccm-gk .ccm-gk__step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 6px;
	font-size: 16px;
	font-weight: 700;
	color: var(--ccm-gk-accent);
	background-color: var(--ccm-gk-soft);
	border-radius: 50%;
}

.ccm-gk .ccm-gk__step-title {
	margin: 0;
	font-family: "Jost", sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ccm-gk-heading);
}

.ccm-gk .ccm-gk__step-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

/* Kort nederst */
.ccm-gk .ccm-gk__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.ccm-gk .ccm-gk__card {
	display: flex;
	gap: 16px;
	padding: 24px;
	background-color: var(--ccm-gk-soft);
	border-radius: 18px;
}

.ccm-gk .ccm-gk__card-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--ccm-gk-accent);
	background-color: #FFFFFF;
	border-radius: 12px;
}

.ccm-gk .ccm-gk__card-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.ccm-gk .ccm-gk__card-title {
	margin: 0;
	font-family: "Jost", sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ccm-gk-heading);
}

.ccm-gk .ccm-gk__card-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

.ccm-gk .ccm-gk__card-link {
	margin-top: 4px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ccm-gk-accent);
	text-decoration: none;
}

.ccm-gk .ccm-gk__card-link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 1024px) {
	.ccm-gk {
		padding-left: 20px;
		padding-right: 20px;
	}

	.ccm-gk .ccm-gk__head {
		grid-template-columns: minmax(0, 1fr);
		padding: 36px;
	}

	.ccm-gk .ccm-gk__visual {
		justify-content: flex-start;
	}

	.ccm-gk .ccm-gk__giftcard {
		max-width: 300px;
		transform: rotate(-3deg);
	}
}

@media (max-width: 767px) {
	.ccm-gk {
		gap: 28px;
		padding-left: 16px;
		padding-right: 16px;
		padding-bottom: 48px;
	}

	.ccm-gk .ccm-gk__head {
		gap: 28px;
		padding: 28px 20px;
		border-radius: 20px;
	}

	.ccm-gk .ccm-gk__intro {
		font-size: 16px;
	}

	.ccm-gk .ccm-gk__actions,
	.ccm-gk .ccm-gk__btn {
		width: 100%;
	}

	.ccm-gk .ccm-gk__visual {
		justify-content: center;
	}

	.ccm-gk .ccm-gk__giftcard {
		max-width: 260px;
		padding: 18px 20px;
	}

	.ccm-gk .ccm-gk__giftcard-logo {
		height: 32px;
	}

	.ccm-gk .ccm-gk__steps,
	.ccm-gk .ccm-gk__cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.ccm-gk .ccm-gk__step,
	.ccm-gk .ccm-gk__card {
		padding: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ccm-gk .ccm-gk__btn {
		transition: none;
	}
}
