/**
 * TikTok Shop landing – mørk feed-æstetik til mobil trafik.
 */

body.sk-tiktok-landing {
	--sk-tt-bg: #000000;
	--sk-tt-surface: #121212;
	--sk-tt-surface-2: #1a1a1a;
	--sk-tt-text: #f5f5f5;
	--sk-tt-muted: #e8e8e8;
	--sk-tt-pink: #fe2c55;
	--sk-tt-cyan: #25f4ee;
	--sk-tt-border: rgba(255, 255, 255, 0.08);
	--sk-tt-radius: 16px;
	background: var(--sk-tt-bg) !important;
	color: var(--sk-tt-text);
}

body.sk-tiktok-landing #page,
body.sk-tiktok-landing .site-content,
body.sk-tiktok-landing .ast-container,
body.sk-tiktok-landing .site-main {
	background: transparent !important;
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.sk-tiktok-landing .rank-math-breadcrumb,
body.sk-tiktok-landing .ast-breadcrumbs-wrapper,
body.sk-tiktok-landing .entry-header,
body.sk-tiktok-landing .ast-single-entry-banner,
body.sk-tiktok-landing #masthead,
body.sk-tiktok-landing #ast-desktop-header,
body.sk-tiktok-landing #ast-mobile-header,
body.sk-tiktok-landing .site-header,
body.sk-tiktok-landing .sk-topbar,
body.sk-tiktok-landing .sk-header-main-wrap,
body.sk-tiktok-landing .sk-header:not(.sk-tt-shop__bar) {
	display: none !important;
}

body.sk-tiktok-landing,
body.sk-tiktok-landing .site-content,
body.sk-tiktok-landing .site-content p,
body.sk-tiktok-landing .entry-content,
body.sk-tiktok-landing .entry-content p {
	color: #ffffff !important;
}

body.sk-tiktok-landing #primary {
	margin: 0;
	padding: 0;
}

.sk-tt-shop {
	max-width: 480px;
	margin: 0 auto;
	min-height: 100vh;
	padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

.sk-tt-shop__bar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(0, 0, 0, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--sk-tt-border);
}

.sk-tt-shop__bar-inner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem 1rem;
}

.sk-tt-shop__brand img {
	display: block;
	height: 28px;
	width: auto;
	filter: brightness(0) invert(1);
}

.sk-tt-shop__brand span {
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--sk-tt-text);
}

.sk-tt-shop__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-left: auto;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	background: linear-gradient(90deg, rgba(254, 44, 85, 0.25), rgba(37, 244, 238, 0.2));
	border: 1px solid rgba(254, 44, 85, 0.45);
	color: #fff;
}

.sk-tt-shop__badge-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sk-tt-pink);
	box-shadow: 0 0 8px var(--sk-tt-pink);
	animation: sk-tt-pulse 1.4s ease-in-out infinite;
}

@keyframes sk-tt-pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.55;
		transform: scale(0.85);
	}
}

.sk-tt-shop__cart {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--sk-tt-text);
	background: var(--sk-tt-surface-2);
	border: 1px solid var(--sk-tt-border);
	text-decoration: none;
}

.sk-tt-shop__hero {
	padding: 1.25rem 1rem 0.5rem;
	text-align: left;
}

.sk-tt-shop__kicker {
	margin: 0 0 0.35rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	background: linear-gradient(90deg, var(--sk-tt-cyan), var(--sk-tt-pink));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.sk-tt-shop__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 5vw, 1.85rem);
	line-height: 1.15;
	font-weight: 800;
	color: #fff;
}

.sk-tt-shop__lead {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #ffffff;
}

.sk-tt-shop__lead strong {
	color: #ffffff;
}

.sk-tt-shop__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.sk-tt-shop__pill {
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 600;
	background: var(--sk-tt-surface);
	border: 1px solid var(--sk-tt-border);
	color: #e8e8e8;
}

.sk-tt-shop__feed {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	padding: 0.75rem 1rem 1.5rem;
}

.sk-tt-shop__empty {
	padding: 2rem 1rem;
	text-align: center;
	color: var(--sk-tt-muted);
}

.sk-tt-card {
	position: relative;
	border-radius: var(--sk-tt-radius);
	background: var(--sk-tt-surface);
	overflow: hidden;
	border: 1px solid var(--sk-tt-border);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.sk-tt-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(135deg, rgba(37, 244, 238, 0.35), rgba(254, 44, 85, 0.35));
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.sk-tt-card__media {
	display: block;
	position: relative;
	aspect-ratio: 1;
	background: #0a0a0a;
	overflow: hidden;
}

.sk-tt-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.sk-tt-card:active .sk-tt-card__media img {
	transform: scale(1.02);
}

.sk-tt-card__tag {
	position: absolute;
	top: 0.65rem;
	left: 0.65rem;
	z-index: 2;
	padding: 0.3rem 0.55rem;
	border-radius: 6px;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: var(--sk-tt-pink);
	color: #fff;
}

.sk-tt-card__body {
	padding: 0.85rem 1rem 1rem;
}

.sk-tt-card__title {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	line-height: 1.3;
	font-weight: 700;
}

.sk-tt-card__title a {
	color: #fff;
	text-decoration: none;
}

.sk-tt-card__price {
	margin: 0 0 0.85rem;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--sk-tt-cyan);
}

.sk-tt-card__actions {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 0.5rem;
}

.sk-tt-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.55rem 0.75rem;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 800;
	text-decoration: none;
	text-align: center;
	border: none;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.sk-tt-btn:active {
	transform: scale(0.97);
}

.sk-tt-btn--buy {
	background: linear-gradient(90deg, var(--sk-tt-pink), #ff4d6d);
	color: #fff;
	box-shadow: 0 4px 20px rgba(254, 44, 85, 0.45);
}

.sk-tt-btn--ghost {
	background: transparent;
	color: #fff;
	border: 1px solid var(--sk-tt-border);
}

.sk-tt-btn--disabled {
	grid-column: 1 / -1;
	background: #333;
	color: #888;
}

.sk-tt-shop__footer {
	padding: 1rem 1rem 2rem;
	text-align: center;
	border-top: 1px solid var(--sk-tt-border);
}

.sk-tt-shop__footer p {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	color: #ffffff;
}

.sk-tt-shop__footer a {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--sk-tt-cyan);
	text-decoration: none;
}

@media (min-width: 540px) {
	.sk-tt-shop__feed {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sk-tt-shop {
		max-width: 720px;
	}
}

/* Dæmp standard header/footer så siden føles som app-shop */
body.sk-tiktok-landing .site-footer,
body.sk-tiktok-landing #colophon {
	background: #000 !important;
	border-top: 1px solid var(--sk-tt-border) !important;
	color: var(--sk-tt-muted) !important;
}

body.sk-tiktok-landing .site-footer a {
	color: var(--sk-tt-muted) !important;
}

body.sk-tiktok-landing.ast-plain-container,
body.sk-tiktok-landing.ast-page-builder-template {
	background: #000 !important;
}

body.sk-tiktok-landing .site-content {
	padding-top: 0 !important;
}
