/*
Theme Name: StyleDesignCreate 2026 (sdc12)
Theme URI: https://www.styledesigncreate.com
Author: Pernille
Description: Redesign af StyleDesignCreate – varm creme-palet, Newsreader + Figtree. Bygget fra Claude Design-projektet "StyleDesignCreate Redesign". Erstatter sdc11.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: sdc12
*/

/* ==================================================================
   1. TOKENS & BASE
   ================================================================== */
:root {
	--cream: #F6F1E9;
	--sand: #EDE5D8;
	--sand-2: #EBE3D6;
	--line: #E2D9CB;
	--line-2: #D8CDBB;
	--input: #CFC5B5;
	--ink: #232B45;
	--ink-2: #2E3858;
	--text: #2F3650;
	--body: #4A5068;
	--muted: #6B6F80;
	--rust: #A4552A;
	--peach: #E9A57A;
	--mustard: #D6A443;
	--pink: #E7B9A6;
	--sage: #8DA38A;
	--sage-dark: #4F6B4C;

	--serif: Newsreader, Georgia, "Times New Roman", serif;
	--sans: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1280px;
	--gutter: 32px;
	--radius: 4px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.site-content { flex: 1 0 auto; }

a { color: var(--ink); text-decoration: none; transition: color .15s, background-color .15s, border-color .15s; }
a:hover { color: var(--rust); }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 999px; }
.skip-link:focus { left: 8px; color: var(--cream); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }

/* Shared type */
.eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rust); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.meta .cat { color: var(--rust); }
.meta .date { color: var(--muted); }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -0.025em; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.02em; }
.lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--body); max-width: 48ch; text-wrap: pretty; }
.text-link { font-size: 15px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--rust); }
.breadcrumb > span:last-child, .breadcrumb .current { color: var(--ink); }

/* Buttons */
.btn, .button, button.button, a.button, input[type="submit"].button,
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px;
	border: none; border-radius: 999px;
	background: var(--ink); color: var(--cream);
	font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.2;
	cursor: pointer; text-decoration: none;
	transition: background-color .15s, color .15s;
}
.btn:hover, .button:hover,
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
	background: var(--rust); color: var(--cream);
}
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--peach); color: var(--ink); }

.round-btn {
	width: 44px; height: 44px; flex: none; border-radius: 50%;
	border: 1px solid var(--ink); background: transparent; color: var(--ink);
	font-size: 20px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.round-btn:hover { background: var(--ink); color: var(--cream); }

.pill-tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 12px; border: 1px solid var(--ink); border-radius: 999px; }
.pill-tag:hover { border-color: var(--rust); color: var(--rust); }

.badge { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--cream); padding: 2px 8px; border-radius: 999px; }

/* Images in cards */
.media { display: block; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); position: relative; }
.media img, .media .sdc-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media--43 { aspect-ratio: 4 / 3; }
.media--32 { aspect-ratio: 820 / 547; }
.media--11 { aspect-ratio: 1 / 1; }
.sdc-img--empty { display: flex !important; align-items: center; justify-content: center; color: var(--line-2); font-size: 40px; }

.cat-dot {
	width: 56px; height: 56px; flex: none; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center; font-size: 28px;
}

/* ==================================================================
   2. HEADER
   ================================================================== */
.site-header { border-bottom: 1px solid var(--line); background: var(--cream); position: relative; z-index: 20; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }

.logo { display: inline-flex; align-items: baseline; font-family: var(--serif); font-size: 30px; letter-spacing: -0.01em; line-height: 1; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-a { font-style: italic; color: var(--rust); }
.logo-c { font-style: italic; color: var(--mustard); }
.logo--small { font-size: 20px; }

.main-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-link { color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.nav-link:hover, .nav-link.is-active { color: var(--rust); }
.nav-link .ph-caret-down { font-size: 13px; transition: transform .15s; }
/* Webshop link: plain menu link, same as the others */
.nav-pill { color: var(--ink); }
.nav-pill:hover, .nav-pill.is-active { color: var(--rust); }
.nav-cart { position: relative; display: inline-flex; align-items: center; font-size: 22px; color: var(--ink); }
.nav-cart.is-active { color: var(--rust); }
.cart-count {
	position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 999px; background: var(--rust); color: var(--cream);
	font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.cart-count[hidden] { display: none; }

/* Kategorier dropdown */
.nav-cats { position: relative; padding: 10px 0; margin: -10px 0; }
.nav-cats-menu {
	position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
	width: min(560px, 90vw);
	background: var(--cream); border: 1px solid var(--line); border-radius: 6px;
	box-shadow: 0 12px 32px rgba(35, 43, 69, .12);
	padding: 20px; display: none; flex-direction: column; gap: 16px;
}
.nav-cats.is-open .nav-cats-menu { display: flex; }
.nav-cats.is-open .ph-caret-down { transform: rotate(180deg); }
.nav-cats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.nav-cat { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: var(--radius); color: var(--ink); font-size: 15px; }
.nav-cat:hover { background: var(--sand); color: var(--rust); }
.nav-cat .cat-dot { width: 30px; height: 30px; font-size: 16px; }
.nav-cats-all { font-size: 14px; font-weight: 600; color: var(--rust); border-top: 1px solid var(--line); padding: 14px 8px 0; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 22px; align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 860px) {
	.site-header-inner { flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
	.logo { font-size: 26px; }
	.menu-toggle { display: inline-flex; }
	.main-nav {
		display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0;
		border-top: 1px solid var(--line); padding-top: 8px;
	}
	.main-nav.is-open { display: flex; }
	.main-nav > * { padding: 12px 0; margin: 0; }
	.nav-cats { width: 100%; }
	.nav-cats-menu { position: static; transform: none; width: 100%; box-shadow: none; margin-top: 12px; padding: 12px; }
	.nav-cats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
	.nav-cats-grid { grid-template-columns: 1fr; }
}

/* ==================================================================
   3. FOOTER & COOKIE POPUP
   ================================================================== */
.site-footer { border-top: 1px solid var(--line); flex-shrink: 0; }
.site-footer-inner { padding-top: 36px; padding-bottom: 36px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--body); }
.footer-links { display: flex; gap: 12px 24px; flex-wrap: wrap; }
.footer-links a { color: var(--body); }
.footer-links a:hover { color: var(--rust); }

.cookie-popup {
	position: fixed; right: 20px; bottom: 20px; z-index: 50; max-width: 380px;
	background: var(--ink); color: var(--cream); border-radius: 6px; padding: 24px;
	box-shadow: 0 12px 40px rgba(35, 43, 69, .25);
	opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s;
}
.cookie-popup.show { opacity: 1; transform: none; }
.cookie-popup[hidden] { display: none; }
.cookie-popup h3 { font-size: 26px; margin-bottom: 8px; color: var(--cream); }
.cookie-popup p { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: #C9CCD8; }
.cookie-popup a { color: var(--peach); border-bottom: 1px solid currentColor; }
.cookie-popup-actions { display: flex; gap: 10px; }
.cookie-popup .btn { min-height: 42px; background: var(--cream); color: var(--ink); }
.cookie-popup .btn:hover { background: var(--peach); }
.cookie-popup .btn--ghost { background: transparent; color: var(--cream); border: 1px solid var(--cream); }
.cookie-popup .btn--ghost:hover { background: var(--cream); color: var(--ink); }
@media (max-width: 480px) { .cookie-popup { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* ==================================================================
   4. LAYOUT HELPERS, SECTIONS, CARDS
   ================================================================== */
.section { padding-top: 88px; padding-bottom: 88px; }
.section--top0 { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 40px; flex-wrap: wrap; }
.stack-8 { display: flex; flex-direction: column; gap: 8px; }
.stack-10 { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.stack-14 { display: flex; flex-direction: column; gap: 14px; }
.stack-22 { display: flex; flex-direction: column; gap: 22px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.grid { display: grid; gap: 48px 28px; }
.grid--posts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.grid--shop { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--archive { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--cats { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid--related { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px 24px; }

.card { display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.card:hover { color: var(--rust); }
.card .media img { transition: transform .4s ease; }
.card:hover .media img { transform: scale(1.03); }
.card-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.card-title--22 { font-size: 22px; }
.card-title--24 { font-size: 24px; }
.card-title--28 { font-size: 28px; }
.card-excerpt { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.meta--sm { font-size: 12px; }
.meta--center { justify-content: center; }

.page-intro { padding-top: 72px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 18px; }
.page-intro--center { align-items: center; text-align: center; padding-bottom: 120px; }
.page-intro--center .lead { max-width: 52ch; }

/* ==================================================================
   5. FRONT PAGE
   ================================================================== */
.hero {
	padding-top: 72px; padding-bottom: 80px;
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center;
}
@media (min-width: 900px) {
	.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 48px; }
}
@media (min-width: 1200px) {
	.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; }
}
.hero-text { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
/* max-width 9em keeps the headline on three lines at every screen width */
.hero-title { font-size: clamp(36px, 7vw, 56px); line-height: 1; letter-spacing: -0.025em; max-width: 9em; text-wrap: balance; }
@media (min-width: 900px) { .hero-title { font-size: clamp(44px, 4.8vw, 66px); } }
.hero-title em, .h2 em { font-style: italic; color: var(--rust); }
.shop-band .h2 em { color: inherit; }
.hero-lead { margin: 0; font-size: 18px; line-height: 1.55; max-width: 36ch; color: var(--body); text-wrap: pretty; }

.hero-art { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 480px; width: 100%; justify-self: start; }
@media (min-width: 900px) { .hero-art { justify-self: end; } }
.hero-art .t { aspect-ratio: 1; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.t-stripes { background: repeating-linear-gradient(90deg, var(--rust) 0 10px, var(--cream) 10px 20px); outline: 2px dashed var(--cream); outline-offset: -10px; }
.t-ink { background: var(--ink); color: var(--cream); font-size: 56px; }
.t-button { background: var(--mustard); border-radius: 50% !important; display: grid !important; grid-template-columns: repeat(2, 14px); gap: 10px; place-content: center; }
.t-button span, .t-button2 span { width: 14px; height: 14px; border-radius: 50%; background: var(--cream); }
.t-quarter { background: var(--pink); border-radius: 100% 0 0 0 !important; align-items: flex-end !important; justify-content: flex-end !important; padding: 12px; color: var(--ink); font-size: 48px; }
.t-tape {
	grid-column: span 2; aspect-ratio: 2 / 1 !important;
	background:
		repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 12px) left bottom / 100% 34% no-repeat,
		repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 60px) left bottom / 100% 58% no-repeat,
		var(--mustard);
	align-items: flex-start !important; justify-content: flex-start !important; padding: 14px 18px;
	font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--ink);
}
.t-gingham {
	background:
		linear-gradient(90deg, rgba(35,43,69,.45) 50%, transparent 50%) 0 0 / 24px 24px,
		linear-gradient(rgba(35,43,69,.45) 50%, transparent 50%) 0 0 / 24px 24px,
		var(--cream);
	outline: 2px dashed var(--rust); outline-offset: -10px;
}
.t-sage { background: var(--sage); border-radius: 0 0 100% 0 !important; align-items: flex-start !important; justify-content: flex-start !important; padding: 14px; color: var(--ink); font-size: 48px; }
.t-arch { background: var(--rust); border-radius: 50% 50% 0 0 !important; color: var(--cream); font-size: 44px; }
.t-button2 { background: var(--ink); border-radius: 50% !important; display: grid !important; grid-template-columns: repeat(2, 10px); gap: 8px; place-content: center; }
.t-button2 span { width: 10px; height: 10px; background: var(--mustard); }
.t-dots { background: radial-gradient(var(--ink) 22%, transparent 25%) 0 0 / 20px 20px, var(--pink); outline: 2px dashed var(--ink); outline-offset: -10px; }
.t-hanger { background: var(--cream); border: 1px solid var(--line); color: var(--rust); font-size: 52px; }
@media (max-width: 480px) {
	.hero { padding-top: 48px; gap: 40px; }
	.t-ink, .t-hanger { font-size: 36px; }
	.t-quarter, .t-sage { font-size: 32px; padding: 8px; }
	.t-arch { font-size: 30px; }
}

/* Category strip */
.cat-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cat-strip-inner { display: flex; align-items: center; gap: 16px; }
.cat-strip-track { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.cat-strip-track::-webkit-scrollbar { display: none; }
.cat-strip-item { flex: 0 0 220px; scroll-snap-align: start; display: flex; align-items: center; gap: 10px; padding: 20px 10px 20px 0; color: var(--ink); }
.cat-strip-item:hover { color: var(--rust); }
.cat-strip-name { font-family: var(--serif); font-size: 18px; line-height: 1.15; }
.cat-strip-nav { display: flex; gap: 8px; flex: none; }
@media (max-width: 600px) {
	.cat-strip-nav { display: none; }
	.cat-strip-inner { padding-right: 0; }
	/* ~1.5 categories visible, so the cut-off one invites a swipe */
	.cat-strip-item { flex-basis: 62%; gap: 10px; padding: 20px 10px 20px 0; }
	.cat-strip-item .cat-dot { width: 48px; height: 48px; font-size: 24px; }
	.cat-strip-name { font-size: 18px; }
	/* Soft fade on the right edge – removed when scrolled to the end */
	.cat-strip-track { -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); mask-image: linear-gradient(90deg, #000 70%, transparent); }
	.cat-strip-track.is-end { -webkit-mask-image: none; mask-image: none; }
}

/* Shop band */
.shop-band { background: var(--ink); color: var(--cream); }
.shop-band .h2, .shop-band .text-link { color: var(--cream); }
.shop-band .text-link:hover { color: var(--peach); }
.eyebrow--peach { color: var(--peach); }
.card--dark { color: var(--cream); gap: 16px; }
.card--dark:hover { color: var(--peach); }
.card--dark .media { background: var(--ink-2); }
.price-pill { font-size: 15px; font-weight: 600; white-space: nowrap; border: 1px solid currentColor; padding: 4px 12px; border-radius: 999px; }
.price-pill del { opacity: .6; margin-right: 4px; }
.price-pill ins { text-decoration: none; }

/* Fra arkivet – bento grid */
.archive-band { background: var(--sand); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 20vw, 260px); grid-auto-flow: dense; gap: 16px; }
.bento-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--line); color: var(--ink); }
.bento-item:hover { color: var(--rust); }
.bento-item > img, .bento-item > .sdc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bento-item:hover > img { transform: scale(1.03); }
.bento-item--big { grid-column: span 2; grid-row: span 2; }
.bento-item--wide { grid-column: span 2; }
.bento-label { position: absolute; left: 0; bottom: 0; max-width: 86%; background: var(--sand); padding: 10px 16px 0 0; display: flex; flex-direction: column; gap: 3px; }
.bento-label .meta { font-size: 11px; gap: 8px; }
.bento-title { font-family: var(--serif); font-size: 18px; line-height: 1.15; text-wrap: balance; }
.bento-item--big .bento-label { max-width: 82%; padding: 22px 28px 0 0; gap: 10px; }
.bento-item--big .bento-label .meta { font-size: 13px; }
.bento-item--big .bento-title { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
@media (max-width: 760px) {
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
	.bento-item--big { grid-row: span 2; }
}

/* About teaser */
.about-teaser { display: grid; grid-template-columns: 280px minmax(0, 640px); gap: 56px; align-items: center; justify-content: center; }
.about-teaser-image { aspect-ratio: 1; max-width: 280px; width: 100%; border-radius: 50%; overflow: hidden; background: var(--sand-2); }
.about-teaser-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-teaser-text { display: flex; flex-direction: column; gap: 20px; max-width: 560px; align-items: flex-start; }
@media (max-width: 700px) {
	.about-teaser { grid-template-columns: 1fr; gap: 28px; }
	.about-teaser-image { max-width: 200px; }
}
.about-teaser-quote { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; letter-spacing: -0.01em; text-wrap: pretty; }

/* ==================================================================
   6. POSTS & PAGES (single, page, entry content)
   ================================================================== */
.post-article { max-width: 884px; margin: 0 auto; padding: 64px var(--gutter) 0; display: flex; flex-direction: column; gap: 40px; }
.post-header { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.post-title { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; max-width: 16ch; }
.affiliate-note { margin: 0; font-size: 14px; color: var(--muted); }
.affiliate-note a { color: var(--rust); border-bottom: 1px solid currentColor; }

/* Entry content: text column 640px, images up to 820px */
.entry { font-size: 18px; line-height: 1.7; color: var(--text); display: flex; flex-direction: column; gap: 24px; }
.entry > * { width: 100%; max-width: 640px; margin: 0 auto !important; }
.entry > figure, .entry > .wp-block-image, .entry > .wp-caption, .entry > .gallery, .entry > .wp-block-gallery,
.entry > .responsive-video-container, .entry > .wp-block-embed, .entry > .promo, .entry > p:has(> img:only-child), .entry > p:has(> a:only-child > img) {
	max-width: 820px;
}
.entry p { margin: 0; text-wrap: pretty; }
.entry a { color: var(--rust); border-bottom: 1px solid currentColor; }
.entry a:hover { color: var(--ink); }
.entry a:has(> img) { border: 0; }
.entry img { display: block; border-radius: var(--radius); height: auto; }
.entry figure { margin: 0; }
.entry figcaption, .entry .wp-caption-text { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.entry .wp-caption { width: auto !important; }
.entry .aligncenter { margin-left: auto; margin-right: auto; }
.entry h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 16px !important; color: var(--ink); }
.entry h3 { font-size: 26px; margin-top: 8px !important; color: var(--ink); }
.entry h4 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.entry ul, .entry ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.entry blockquote { border-left: 3px solid var(--rust); padding: 4px 0 4px 24px; font-family: var(--serif); font-size: 24px; line-height: 1.35; color: var(--ink); }
.entry blockquote p { margin: 0; }
.entry hr { border: 0; border-top: 1px solid var(--line); }
.entry table { border-collapse: collapse; font-size: 16px; }
.entry th, .entry td { border-bottom: 1px solid var(--line); padding: 8px 12px 8px 0; text-align: left; }
.entry .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.entry .gallery-item { margin: 0; width: auto !important; }
.entry .gallery br { display: none; }
.responsive-video-container { position: relative; aspect-ratio: 16 / 9; }
.responsive-video-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }

/* Hama promo box – navy shop card, like the front page Webshop band */
.entry > .promo { max-width: 820px; margin: 16px auto !important; }
.promo {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	background: var(--ink); color: var(--cream);
	border-radius: 6px; overflow: hidden;
	box-shadow: 0 18px 40px rgba(35, 43, 69, .14);
}
.entry .promo a { border: 0; }
.promo-media { display: block; position: relative; min-height: 100%; background: var(--ink-2); overflow: hidden; }
.promo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.promo-body { padding: 40px 40px 40px 36px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.promo .eyebrow { font-size: 12px; }
.entry .promo-title { margin: 0 !important; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 36px); line-height: 1.08; letter-spacing: -0.02em; color: var(--cream); }
.promo-text { margin: 0; font-size: 16px; line-height: 1.55; color: #C9CCD8; }
.entry .promo-points { list-style: none; margin: 4px 0 0 !important; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.4; color: var(--cream); }
.promo-points li { display: flex; gap: 10px; align-items: baseline; }
.promo-points .ph { color: var(--peach); font-size: 15px; flex: none; transform: translateY(2px); }
.promo-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.entry .promo .btn--light { color: var(--ink); }
.entry .promo .btn--light:hover { background: var(--peach); color: var(--ink); }
.promo .price-pill { color: var(--cream); font-size: 15px; }
.promo .price-pill .woocommerce-Price-currencySymbol { margin-right: 2px; }

/* Compact version (top of post, English visitors) */
.promo--compact { grid-template-columns: 160px minmax(0, 1fr); box-shadow: none; }
.promo--compact .promo-body { padding: 22px 24px; gap: 8px; }
.entry .promo--compact .promo-title { font-size: 24px; }
.promo--compact .promo-actions { margin-top: 6px; }
.promo--compact .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }

@media (max-width: 640px) {
	.promo { grid-template-columns: 1fr; }
	.promo-media { aspect-ratio: 3 / 2; min-height: 0; }
	.promo-body { padding: 28px 24px 32px; }
	.promo--compact { grid-template-columns: 96px minmax(0, 1fr); }
	.promo--compact .promo-media { aspect-ratio: auto; }
	.promo--compact .promo-body { padding: 16px 18px; }
}

/* Post footer */
.post-footer { width: 100%; max-width: 640px; align-self: center; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.post-taxonomies { display: flex; flex-direction: column; gap: 12px; }
.tax-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tax-row--tags { gap: 8px 14px; }
.tax-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); min-width: 96px; flex: none; }
.tag-link { font-size: 14px; color: var(--rust); }
.tag-link:hover { color: var(--ink); }
.share { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--body); }
.share-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--sand); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--ink); }
.share-btn:hover, .share-btn.is-copied { background: var(--ink); color: var(--cream); }

.author-box { width: 100%; max-width: 640px; align-self: center; display: flex; gap: 20px; align-items: center; padding: 24px; background: var(--sand); border-radius: var(--radius); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; background: var(--line); }
.author-box p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); }
.author-box strong { font-weight: 600; color: var(--ink); }
.author-box a { font-weight: 600; border-bottom: 1px solid currentColor; }

.related-title { font-size: clamp(30px, 3.5vw, 44px); margin-bottom: 32px; }

/* Pages */
.page-article { padding: 72px var(--gutter) 96px; }
.page-article--wide { padding-left: 0; padding-right: 0; }
.page-header { margin-bottom: 32px; }
.page-header--narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
.page-title { font-size: clamp(40px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.025em; }
.entry--wide > * { max-width: none; }
.entry--intro { font-size: 16px; }
.entry--intro > * { margin: 0 !important; max-width: 60ch; }

/* Om mig */
.about { max-width: 744px; margin: 0 auto; padding: 72px var(--gutter) 24px; display: flex; flex-direction: column; gap: 24px; }
.about-header { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.about-portrait { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; background: var(--sand-2); }
.about-title { font-size: clamp(36px, 4.5vw, 52px); line-height: 1.05; }
.entry--about > * { max-width: none; }
.about-contact { padding-top: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px; }
.follow-list { display: flex; flex-direction: column; }
.follow-list a { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink); }
.follow-list a:hover { color: var(--rust); }
.follow-list .ph { font-size: 26px; }
.follow-list .ph-arrow-up-right { font-size: 18px; }
.follow-name { flex: 1; font-family: var(--serif); font-size: 24px; }
.follow-handle { font-size: 14px; color: var(--muted); }
.contact-card { background: var(--ink); color: var(--cream); border-radius: 6px; padding: 48px; display: flex; flex-direction: column; gap: 20px; align-self: start; align-items: flex-start; }
.contact-card h2 { font-size: clamp(34px, 4vw, 48px); color: var(--cream); }
.contact-card p { margin: 0; font-size: 17px; line-height: 1.6; color: #C9CCD8; }
.contact-card .btn { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 480px) { .contact-card { padding: 28px; } }

/* ==================================================================
   7. COMMENTS
   ================================================================== */
.comments-band { background: var(--sand); }
.comments-wrap { max-width: 704px; margin: 0 auto; padding: 72px var(--gutter); display: flex; flex-direction: column; gap: 24px; }
.comments-title { font-size: clamp(28px, 3vw, 38px); }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list { margin-bottom: 40px; }
.comment-list > li { padding: 28px 0; border-top: 1px solid var(--line-2); }
.comment-list .children { margin: 20px 0 0 60px; display: flex; flex-direction: column; gap: 12px; }
.comment-list .children > li { background: var(--cream); border-radius: var(--radius); padding: 20px; }
.comment-body { display: flex; gap: 16px; }
.comment-avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; object-fit: cover; background: var(--line); }
.comment-avatar--initial { display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 20px; color: var(--ink); }
.comment-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.comment-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.comment-name { font-weight: 600; font-size: 16px; }
.comment-date { font-size: 13px; color: var(--muted); }
.comment-text { font-size: 16px; line-height: 1.6; color: var(--text); overflow-wrap: anywhere; }
.comment-text p { margin: 0 0 10px; }
.comment-text p:last-child { margin: 0; }
.comment-awaiting { margin: 0; font-size: 14px; color: var(--rust); }
.comment-reply-link { font-size: 13px; font-weight: 600; color: var(--rust); align-self: flex-start; }
.comment-reply-link:hover { color: var(--ink); }
.comment-respond { padding-top: 32px; border-top: 1px solid var(--ink); }
.comment-reply-title { font-size: clamp(24px, 2.5vw, 30px); margin-bottom: 20px; }
.comment-reply-title small { font-family: var(--sans); font-size: 14px; margin-left: 12px; }
.comment-reply-title small a { color: var(--rust); }
.comment-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.comment-form .form-submit input { width: auto; }
@media (max-width: 480px) { .comment-form { grid-template-columns: 1fr; } }
.comment-form > p { margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.comment-form .comment-form-comment, .comment-form .form-submit, .comment-form .comment-form-cookies-consent, .comment-form > p:not(.comment-form-author):not(.comment-form-email) { grid-column: 1 / -1; }
.comment-form .comment-form-comment { order: 3; }
.comment-form .comment-form-author { order: 1; }
.comment-form .comment-form-email { order: 2; }
.comment-form .comment-form-cookies-consent { order: 4; flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; }
.comment-form .form-submit { order: 5; }
.comment-form > *:not(p) { grid-column: 1 / -1; order: 4; }

/* Form fields */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="number"], input[type="search"], textarea, select,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
	width: 100%; min-height: 46px; padding: 11px 14px;
	border: 1px solid var(--input); border-radius: var(--radius);
	background: var(--cream); color: var(--ink);
	font-family: var(--sans); font-size: 16px; font-weight: 400; line-height: 1.4;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ink); width: 18px; height: 18px; }
::placeholder { color: #8A8C99; }

/* ==================================================================
   8. ARCHIVES, SEARCH, CATEGORIES
   ================================================================== */
.archive-intro { padding-top: 48px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 28px; }
.archive-heading { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.cat-dot--xl { width: 104px; height: 104px; font-size: 52px; }
.archive-sub { margin: 0; font-size: 16px; color: var(--body); }

.cat-card { gap: 14px; }
.cat-card-media { position: relative; display: block; }
.cat-dot--badge { position: absolute; left: 16px; bottom: -24px; border: 4px solid var(--cream); font-size: 26px; }
.cat-card-row { padding-top: 18px; }
.cat-count { font-size: 14px; color: var(--muted); white-space: nowrap; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 600; margin-top: 56px; }
.pagination .page-numbers { min-width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--ink); }
.pagination .current { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pagination .dots { border: 0; color: var(--muted); min-width: 0; padding: 0 4px; }
.pagination .prev, .pagination .next { border-color: var(--ink); padding: 0 20px; }
.pagination .prev:hover, .pagination .next:hover { background: var(--ink); color: var(--cream); }

/* Søg & arkiv */
.search-hero { background: var(--sand); }
.search-hero-inner { max-width: 880px; margin: 0 auto; padding: 72px var(--gutter) 56px; display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.search-field { width: 100%; display: flex; align-items: center; gap: 14px; background: var(--cream); border: 1px solid var(--ink); border-radius: 999px; padding: 0 8px 0 24px; height: 64px; }
.search-field > .ph { font-size: 22px; }
.search-field input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 18px; height: 100%; padding: 0; box-shadow: none; }
.search-field input[type="search"]::-webkit-search-cancel-button { display: none; }
.search-clear { width: 40px; height: 40px; border-radius: 50%; background: var(--sand); display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.search-submit { min-height: 48px; }
@media (max-width: 480px) { .search-submit { display: none; } .search-field { padding-right: 8px; } }

.years { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: var(--cream); }
.years-inner { padding-top: 12px; padding-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.round-btn--sm { width: 40px; height: 40px; font-size: 18px; }
.years-track { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 0 24px; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.years-track::-webkit-scrollbar { display: none; }
.year { flex: none; font-size: 15px; font-weight: 500; padding: 8px 16px; border-radius: 999px; border: 1px solid transparent; color: var(--ink); }
.year:hover { border-color: var(--ink); color: var(--ink); }
.year.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); font-weight: 600; }

.results { padding-top: 40px; padding-bottom: 96px; }
.results-summary { margin: 0 0 16px; font-size: 15px; color: var(--body); }
.post-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 20px 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; padding: 8px; margin: -8px; border-radius: var(--radius); color: var(--ink); }
.post-row:hover { background: var(--sand); color: var(--rust); }
.post-row-media { border-radius: 3px; }
.post-row-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.post-row-title { font-family: var(--serif); font-size: 21px; line-height: 1.15; text-wrap: balance; }
.empty-state { padding: 56px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.empty-state p { margin: 0; font-size: 15px; color: var(--body); }
.empty-state .empty-title { font-family: var(--serif); font-size: 28px; color: var(--ink); }

@media (max-width: 600px) {
	:root { --gutter: 20px; }
	.section { padding-top: 64px; padding-bottom: 64px; }
	.post-article { padding-top: 40px; }
	.comment-list .children { margin-left: 0; }
}

/* ==================================================================
   9. WOOCOMMERCE
   (WooCommerce's own CSS is switched off in functions.php)
   ================================================================== */
.shop { padding-top: 40px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 28px; }
.shop-page { max-width: 1080px; width: 100%; margin: 0 auto; padding: 48px var(--gutter) 96px; display: flex; flex-direction: column; gap: 32px; }
.shop .page-title, .shop-page .page-title { font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.woocommerce-products-header { margin: 0; }
.woocommerce-products-header__title { margin: 0; }
.term-description { font-size: 17px; color: var(--body); max-width: 60ch; }
.woocommerce .screen-reader-text { position: absolute !important; }

/* Notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 8px; padding: 16px 20px;
	display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
	background: var(--sand); border-top: 3px solid var(--sage); border-radius: 0;
	font-size: 15px; color: var(--ink);
}
.woocommerce-info { border-top-color: var(--mustard); }
.woocommerce-error { border-top-color: var(--rust); flex-direction: column; align-items: flex-start; }
.woocommerce-error li { margin: 0; }
.woocommerce-message::before { content: "\2713"; color: var(--sage-dark); font-weight: 700; margin-right: -6px; }
.woocommerce .woocommerce-message a.button, .woocommerce .woocommerce-info a.button, .woocommerce-message .button, .woocommerce-info .button {
	order: 2; margin-left: auto; min-height: 0; padding: 0; background: none; color: var(--rust);
	border-bottom: 1px solid currentColor; border-radius: 0; font-weight: 600;
}
.woocommerce .woocommerce-message a.button:hover, .woocommerce .woocommerce-info a.button:hover, .woocommerce-message .button:hover, .woocommerce-info .button:hover { background: none; color: var(--ink); }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button) { color: var(--rust); border-bottom: 1px solid currentColor; }

/* Shop grid */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 48px 28px; }
ul.products::before, ul.products::after { display: none; }
ul.products li.product { margin: 0; padding: 0; width: auto; float: none; }
ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
ul.products li.product a.woocommerce-LoopProduct-link:hover { color: var(--rust); }
ul.products li.product img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); background: var(--sand-2); margin: 0; transition: transform .4s ease; }
ul.products li.product a:hover img { transform: scale(1.02); }
ul.products li.product .woocommerce-loop-product__title { margin: 0; padding: 0; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; text-wrap: balance; }
ul.products li.product .price { font-size: 16px; font-weight: 600; color: var(--rust); }
ul.products li.product .star-rating, ul.products li.product .button { display: none; }
.price del { opacity: .55; font-weight: 400; margin-right: 6px; }
.price ins { text-decoration: none; }
.onsale { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--rust); color: var(--cream); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.woocommerce-pagination ul { list-style: none; margin: 40px 0 0; padding: 0; display: flex; gap: 8px; justify-content: center; }
.woocommerce-pagination .page-numbers { min-width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; font-weight: 600; }
.woocommerce-pagination .current { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Single product */
.single-product div.product { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: start; position: relative; }
.single-product div.product > .woocommerce-product-gallery { max-width: 650px; width: 100%; position: relative; margin: 0; opacity: 1 !important; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image { border-radius: var(--radius); overflow: hidden; background: var(--sand-2); }
.woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; }
.woocommerce-product-gallery .flex-viewport { border-radius: var(--radius); overflow: hidden; }
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.woocommerce-product-gallery .flex-control-thumbs li { margin: 0; }
.woocommerce-product-gallery .flex-control-thumbs img, ul.products li.product img, .media img { font-size: 0; color: transparent; }
.woocommerce-product-gallery .flex-control-thumbs img { background: var(--sand-2); display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; cursor: pointer; opacity: .6; transition: opacity .15s; }
.woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: .9; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; outline: 2px solid var(--ink); outline-offset: 2px; }
.woocommerce-product-gallery__trigger { position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 0; }
.woocommerce-product-gallery__trigger::before { content: "\2922"; font-size: 18px; color: var(--ink); }
.woocommerce-product-gallery__trigger img { display: none !important; }

.single-product .summary { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.single-product .summary .product_title { font-size: clamp(34px, 4vw, 48px); line-height: 1.08; text-wrap: balance; margin: 0; }
.single-product .summary .price { margin: 0; font-size: 24px; font-weight: 600; color: var(--rust); }
.single-product .summary .woocommerce-product-details__short-description { font-size: 17px; line-height: 1.65; color: var(--text); }
.single-product .summary .woocommerce-product-details__short-description p { margin: 0 0 12px; }
.single-product .summary .woocommerce-product-details__short-description p:last-child { margin: 0; }
.single-product .summary form.cart { display: flex; gap: 12px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
.single-product .summary .single_add_to_cart_button { padding: 0 28px; }
.single-product .quantity { display: none !important; }
.single-product .stock { margin: 0; font-size: 14px; color: var(--sage-dark); }
.single-product .stock.out-of-stock { color: var(--rust); }
.product-description { grid-column: 1 / -1; margin-top: 40px; display: flex; flex-direction: column; }
.product-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); }
.product-tabs span { padding: 12px 0; font-size: 15px; font-weight: 600; border-bottom: 2px solid var(--ink); margin-bottom: -1px; }
.product-description-body { max-width: 720px; padding-top: 32px; display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.7; color: var(--text); }
.product-description-body p { margin: 0; text-wrap: pretty; }
.product-description-body ul, .product-description-body ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.product-description-body h2, .product-description-body h3 { font-size: 24px; margin-top: 12px; color: var(--ink); }
.product-description-body a { color: var(--rust); border-bottom: 1px solid currentColor; }
.product-description-body em { font-size: 15px; color: var(--body); }
.product-description-body img { border-radius: var(--radius); }

/* Shared: sand summary boxes */
.cart_totals, #order_review_heading, #order_review { background: var(--sand); }

/* Cart (classic shortcode) */
.woocommerce-cart .shop-page > .woocommerce { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px 48px; align-items: start; }
.woocommerce-cart .shop-page > .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-cart .shop-page > .woocommerce > .cart-empty,
.woocommerce-cart .shop-page > .woocommerce > .return-to-shop,
.woocommerce-cart .shop-page > .woocommerce > .wc-empty-cart-message { grid-column: 1 / -1; }
.woocommerce-cart-form { margin: 0; }
table.shop_table { width: 100%; border-collapse: collapse; font-size: 15px; }
table.shop_table th { text-align: left; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0 0 12px; }
table.shop_table td { padding: 14px 0; vertical-align: middle; }
table.cart { display: block; }
table.cart thead, table.cart tbody { display: block; }
table.cart thead tr { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 20px; border-bottom: 1px solid var(--ink); }
table.cart thead .product-remove, table.cart thead .product-quantity, table.cart thead .product-subtotal { display: none; }
table.cart tr.cart_item {
	display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-areas: "thumb name price" "thumb remove price";
	column-gap: 20px; row-gap: 6px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line);
}
table.cart tr.cart_item td { padding: 0; border: 0; }
table.cart td.product-thumbnail { grid-area: thumb; }
table.cart td.product-thumbnail img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); background: var(--sand-2); }
table.cart td.product-name { grid-area: name; align-self: end; font-family: var(--serif); font-size: 21px; line-height: 1.2; }
table.cart td.product-name dl.variation { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 4px 0 0; }
table.cart td.product-remove { grid-area: remove; align-self: start; }
table.cart td.product-remove a { font-size: 0; color: var(--rust); border-bottom: 1px solid currentColor; }
table.cart td.product-remove a::after { content: "Fjern"; font-size: 14px; }
table.cart td.product-remove a:hover { color: var(--ink); }
table.cart td.product-price { grid-area: price; font-size: 16px; font-weight: 600; }
table.cart td.product-quantity, table.cart td.product-subtotal { display: none; }
table.cart tr:not(.cart_item) { display: none; } /* coupon / update row – not needed when you always sell one */
table.cart td::before { display: none !important; }

.cart-collaterals { margin: 0; }
.cart_totals { border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 16px; width: auto !important; float: none !important; }
.cart_totals h2 { font-size: 28px; }
.cart_totals table.shop_table { display: block; }
.cart_totals table.shop_table tbody { display: flex; flex-direction: column; }
.cart_totals table.shop_table tr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { padding: 0; text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 15px; font-weight: 400; }
.cart_totals .cart-subtotal { padding-bottom: 14px; border-bottom: 1px solid var(--line-2); margin-bottom: 14px; }
.cart_totals .order-total th { font-size: 17px; font-weight: 600; }
.cart_totals .order-total td { text-align: right; font-size: 20px; font-weight: 600; }
.cart_totals .order-total td strong { font-weight: 600; }
.includes_tax, .tax_label { display: block; font-size: 13px; font-weight: 400; color: var(--body); margin-top: 2px; }
.cart_totals td::before { display: none !important; }
.wc-proceed-to-checkout { margin-top: 8px; padding: 0; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 52px; }
.cart-empty.woocommerce-info { border: 0; background: none; padding: 24px 0 0; border-top: 1px solid var(--line); font-size: 17px; color: var(--text); }
.cart-empty.woocommerce-info::before { display: none; }
.return-to-shop { margin: 0; }

/* Checkout (classic shortcode) */
.woocommerce-form-coupon-toggle, .checkout_coupon { display: none !important; }
form.checkout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); grid-template-rows: auto 1fr; column-gap: 48px; align-items: start; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 24px; }
form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0; padding: 28px 28px 16px; border-radius: 6px 6px 0 0; font-size: 28px; }
form.checkout #order_review { grid-column: 2; grid-row: 2; padding: 0 28px 28px; border-radius: 0 0 6px 6px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 880px) {
	form.checkout #customer_details, form.checkout #order_review_heading, form.checkout #order_review { grid-column: 1; grid-row: auto; }
	form.checkout #order_review_heading { margin-top: 40px; }
}
.col2-set { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.col2-set .col-1, .col2-set .col-2 { width: 100% !important; float: none !important; max-width: none; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 { font-size: 28px; margin: 0 0 18px; }
.woocommerce-additional-fields h3 { display: none; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.woocommerce form .form-row { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; width: auto !important; float: none !important; grid-column: 1 / -1; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { grid-column: auto; }
.woocommerce form .form-row label { font-size: 13px; font-weight: 600; line-height: 1.3; margin: 0; }
.woocommerce form .form-row .required { color: var(--rust); text-decoration: none; border: 0; }
.woocommerce form .form-row .optional { font-weight: 400; color: var(--muted); }
.woocommerce form .form-row .woocommerce-input-wrapper { display: block; }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--rust); }
.woocommerce form .form-row textarea { min-height: 96px; }
#ship-to-different-address { font-family: var(--sans); font-size: 15px; font-weight: 600; }
#ship-to-different-address label { display: flex; gap: 10px; align-items: center; cursor: pointer; }

table.woocommerce-checkout-review-order-table { display: block; }
table.woocommerce-checkout-review-order-table thead, table.woocommerce-checkout-review-order-table tbody, table.woocommerce-checkout-review-order-table tfoot { display: block; }
table.woocommerce-checkout-review-order-table tr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
table.woocommerce-checkout-review-order-table thead tr { border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
table.woocommerce-checkout-review-order-table thead th { padding: 0; }
table.woocommerce-checkout-review-order-table tbody tr, table.woocommerce-checkout-review-order-table tfoot .cart-subtotal { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
table.woocommerce-checkout-review-order-table td, table.woocommerce-checkout-review-order-table tfoot th { padding: 0; font-size: 15px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink); }
table.woocommerce-checkout-review-order-table .product-quantity { display: none; }
table.woocommerce-checkout-review-order-table .product-total { white-space: nowrap; }
table.woocommerce-checkout-review-order-table tfoot .order-total { padding-top: 14px; }
table.woocommerce-checkout-review-order-table tfoot .order-total th { font-size: 17px; font-weight: 600; }
table.woocommerce-checkout-review-order-table tfoot .order-total td { text-align: right; font-size: 20px; font-weight: 600; }

#payment { background: none; }
#payment ul.payment_methods { list-style: none; margin: 8px 0 0; padding: 16px; background: var(--cream); border-radius: var(--radius); display: flex; flex-direction: column; gap: 8px; }
#payment ul.payment_methods li { margin: 0; }
#payment ul.payment_methods li > label { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
#payment ul.payment_methods li > label img { max-height: 24px; width: auto; }
#payment ul.payment_methods li input[type="radio"] { margin: 0 10px 0 0; vertical-align: middle; }
#payment .payment_box { margin: 4px 0 0; padding: 0; background: none; font-size: 14px; line-height: 1.5; color: var(--body); }
#payment .payment_box p { margin: 0; }
#payment .payment_box::before { display: none; }
#payment .about_paypal { font-size: 13px; margin-left: 8px; color: var(--rust); }
#payment div.form-row.place-order { padding: 16px 0 0; display: flex; flex-direction: column; gap: 16px; }
.woocommerce-privacy-policy-text p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--body); }
.woocommerce-privacy-policy-text a, .woocommerce-terms-and-conditions-link { color: var(--rust); border-bottom: 1px solid currentColor; }
.woocommerce-terms-and-conditions-wrapper .form-row { margin: 0; }
.woocommerce-terms-and-conditions-wrapper label.checkbox { display: flex !important; align-items: flex-start; gap: 10px; font-size: 14px !important; font-weight: 400 !important; line-height: 1.5 !important; cursor: pointer; }
.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] { flex: none; margin-top: 2px; }
.woocommerce-terms-and-conditions { max-height: 240px; overflow: auto; padding: 16px; background: var(--cream); border-radius: var(--radius); font-size: 14px; margin-bottom: 12px; }
#place_order { width: 100%; min-height: 52px; }

/* Order received / account */
.woocommerce-order-overview { list-style: none; margin: 0 0 32px; padding: 20px; background: var(--sand); border-radius: 6px; display: flex; flex-wrap: wrap; gap: 16px 32px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.woocommerce-order-overview strong { display: block; margin-top: 4px; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 32px; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 28px; margin-bottom: 16px; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td, .woocommerce-table--order-downloads th, .woocommerce-table--order-downloads td { border-bottom: 1px solid var(--line); padding: 12px 12px 12px 0; text-align: left; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-MyAccount-navigation a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: var(--cream); border-color: var(--ink); }
address { font-style: normal; line-height: 1.6; }

/* Select2 / SelectWoo (country field) */
.select2-container .select2-selection--single { height: 46px; border: 1px solid var(--input); border-radius: var(--radius); background: var(--cream); }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 44px; padding-left: 14px; color: var(--ink); }
.select2-container .select2-selection--single .select2-selection__arrow { height: 44px; }
.select2-dropdown { border-color: var(--input); background: var(--cream); }
.select2-results__option--highlighted[aria-selected], .select2-results__option--highlighted[data-selected] { background: var(--ink) !important; color: var(--cream) !important; }

/* Block cart/checkout (if those are used instead of shortcodes) */
.wc-block-components-button:not(.is-link) { background: var(--ink) !important; color: var(--cream) !important; border-radius: 999px !important; font-weight: 600; }
.wc-block-components-button:not(.is-link):hover { background: var(--rust) !important; }
.wc-block-components-totals-coupon, .wc-block-components-quantity-selector { display: none !important; }
.wc-block-cart .wc-block-cart__sidebar .wc-block-components-sidebar, .wc-block-checkout__sidebar { background: var(--sand); border-radius: 6px; padding: 12px 20px; }

/* Loading overlay (blockUI) */
.blockUI.blockOverlay { background: rgba(246, 241, 233, .6) !important; }
table.cart td.product-name a { color: var(--ink); border: 0; }
table.cart td.product-name a:hover { color: var(--rust); }

/* No hover effects on images inside posts: hide the "Pin It" plugin's hover button
   (sharing to Pinterest is still available via the Del buttons under each post) */
.entry a.pinit-button, a.pinit-button { display: none !important; }
.entry img.pinit-hover { opacity: 1 !important; filter: none !important; }
.mail-fallback { margin: 0; font-size: 15px; color: #C9CCD8; }

/* Tighter space between category/date and title: front page (Nyeste projekter) + category pages */
.grid--posts .card .card-title, .grid--archive .card .card-title { margin-top: -6px; }

/* Single category page: title and "xx indlæg" a bit closer */
.archive-heading .stack-10 { gap: 4px; }

/* Dropdowns from the WordPress menu (Hovedmenu sub-items) */
.nav-sub { width: max-content; min-width: 220px; max-width: 90vw; padding: 12px; gap: 8px; }
.nav-sub-list { display: flex; flex-direction: column; gap: 2px; }
.nav-sub-link { display: block; padding: 8px 10px; border-radius: var(--radius); color: var(--ink); font-size: 15px; font-weight: 500; }
.nav-sub-link:hover, .nav-sub-link.is-active { background: var(--sand); color: var(--rust); }
.nav-sub .nav-cats-all { padding: 10px 10px 0; }
@media (max-width: 860px) {
	.nav-sub { width: 100%; }
}

/* ------------------------------------------------------------------
   Front page hero – more compact
   ------------------------------------------------------------------ */
.hero { padding-top: 64px; padding-bottom: 72px; gap: 32px; }
.hero-text { gap: 15px; }
.hero .eyebrow { display: none; } /* small heading above the hero headline is hidden */
.hero-text .btn { margin-top: 6px; }
.hero-lead { font-size: 17px; line-height: 1.5; max-width: 52ch; text-wrap: balance; } /* two lines on computers */
.hero-art { max-width: 480px; gap: 10px; }
@media (min-width: 900px) {
	.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 48px; }
	.hero-art { max-width: none; }
}
@media (min-width: 1200px) {
	.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; }
}
@media (max-width: 600px) {
	.hero { padding-top: 40px; padding-bottom: 48px; gap: 28px; }
	.hero-art { max-width: none; gap: 8px; }
	.hero-lead { font-size: 16px; }
}

/* ------------------------------------------------------------------
   Category band – clearer that the categories are clickable
   ------------------------------------------------------------------ */
.cat-strip-text { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.cat-strip-name { display: inline-flex; align-items: center; gap: 6px; }
.cat-strip-count { font-size: 12px; line-height: 1.2; color: var(--muted); }
.cat-strip-item .cat-dot { transition: transform .2s ease; }
.cat-strip-item:hover .cat-dot, .cat-strip-item:focus-visible .cat-dot { transform: scale(1.1); }
.cat-strip-item:hover .cat-strip-count { color: var(--rust); }
