/*
Theme Name:  DKK Publishing Theme
Theme URI:    https://dkkpublishing.co.za
Author:       DKK Publishing
Description:  Front-end styles for the DKK Publishing interactive children's book platform.
Version:      2.0.0
*/

/* ─── 1. Design Tokens ───────────────────────────────────────────
   Values mirror functions.php dkk_theme_defaults(). WordPress emits
   live overrides in #dkk-theme-overrides using the --dkk-* names. */
:root {
	--dkk-primary: #c4162a;
	--dkk-primary-dark: #9a1020;
	--dkk-secondary: #1a6b1a;
	--dkk-navy: #011a6e;
	--dkk-bg: #fffaf0;
	--dkk-bg-2: #fff0e0;
	--dkk-surface: #ffffff;
	--dkk-text: #011a40;
	--dkk-text-muted: #5b6080;
	--dkk-border: #e8dfc8;
	--dkk-pink: #e85050;
	--dkk-mint: #2d8f5e;
	--dkk-coral: #e87050;
	--dkk-sky: #5a90b0;

	--dkk-max-width: 1200px;
	--radius-md: 12px;
	--btn-pad: 14px;
	--h1-size: 42px;

	--header-link-color: var(--dkk-navy);

	--font-body: "Comic Neue", system-ui, sans-serif;

	--header-pad: 0;
	--footer-pad: 0;
	--hero-pad: 0;
	--how-pad: 0;
	--cta-pad: 0;
	--logos-pad: 0;
}

/* ─── 2. Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--dkk-text);
	background: var(--dkk-bg);
}

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

a {
	color: var(--dkk-primary);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--dkk-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	line-height: 1.2;
	color: var(--dkk-navy);
	font-weight: 700;
}

p {
	margin: 0 0 1em;
}

ul {
	padding-left: 1.25em;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* ─── 3. Layout Helpers ───────────────────────────────────────── */
.dkk-container {
	width: 100%;
	max-width: var(--dkk-max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.dkk-main {
	display: block;
}

.dkk-site {
	overflow: clip;
}

/* ─── 4. Buttons ──────────────────────────────────────────────── */
.dkk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: calc(var(--btn-pad) - 4px) calc(var(--btn-pad) + 10px);
	border: 2px solid transparent;
	border-radius: var(--radius-md);
	font-family: var(--font-body);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.dkk-btn:hover {
	transform: translateY(-2px);
}

.dkk-btn:active {
	transform: translateY(0);
}

.dkk-btn-primary {
	background: var(--dkk-primary);
	color: #fff;
	border-color: var(--dkk-primary);
}

.dkk-btn-primary:hover {
	background: var(--dkk-primary-dark);
	border-color: var(--dkk-primary-dark);
	color: #fff;
}

.dkk-btn-secondary {
	background: var(--dkk-secondary);
	color: #fff;
	border-color: var(--dkk-secondary);
}

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

.dkk-btn-outline {
	background: transparent;
	color: var(--dkk-primary);
	border-color: var(--dkk-primary);
}

.dkk-btn-outline:hover {
	background: var(--dkk-primary);
	color: #fff;
}

.dkk-btn-lg {
	padding: calc(var(--btn-pad) + 4px) calc(var(--btn-pad) + 22px);
	font-size: 1.15rem;
}

.dkk-btn-nav-cta {
	margin-left: 14px;
}

/* ─── 5. Header ───────────────────────────────────────────────── */
.dkk-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--dkk-surface);
	border-bottom: 3px solid var(--dkk-border);
	padding-top: var(--header-pad);
}

.dkk-sticky-header .dkk-header {
	box-shadow: 0 2px 12px rgba(1, 26, 64, 0.08);
}

.dkk-header.scrolled {
	box-shadow: 0 4px 16px rgba(1, 26, 64, 0.12);
}

.dkk-transparent-header.dkk-front-page .dkk-header {
	background: transparent;
	border-bottom-color: transparent;
}

.dkk-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 110px;
	max-width: var(--dkk-max-width);
	margin: 0 auto;
	padding: 12px 20px;
}

.dkk-brand {
	flex-shrink: 0;
}

.dkk-brand-img {
	max-height: var(--dkk-logo-h, 60px);
	width: auto;
	object-fit: contain;
}

/* Nav */
.dkk-nav {
	display: flex;
	align-items: center;
	gap: 6px;
}

.dkk-nav ul.menu,
.dkk-nav .menu {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dkk-nav li {
	margin: 0;
}

.dkk-nav li a {
	display: block;
	padding: 10px 14px;
	color: var(--header-link-color);
	font-weight: 700;
	border-radius: 8px;
}

.dkk-nav li a:hover,
.dkk-nav li.current-menu-item > a,
.dkk-nav li.current_page_item > a {
	color: var(--dkk-primary);
	background: var(--dkk-bg-2);
}

.dkk-nav-cta {
	white-space: nowrap;
}

/* Menu toggle (mobile) */
.dkk-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: transparent;
	border: 2px solid var(--dkk-border);
	border-radius: 8px;
	cursor: pointer;
}

.dkk-menu-toggle span {
	display: block;
	height: 3px;
	width: 100%;
	background: var(--dkk-navy);
	border-radius: 3px;
}

/* ─── 6. Hero ─────────────────────────────────────────────────── */
.dkk-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 12% 22%, rgba(232, 80, 80, 0.12), transparent 42%),
		radial-gradient(circle at 88% 18%, rgba(90, 144, 176, 0.16), transparent 45%),
		radial-gradient(circle at 70% 90%, rgba(26, 107, 26, 0.10), transparent 48%),
		linear-gradient(160deg, var(--dkk-bg) 0%, var(--dkk-bg-2) 55%, var(--dkk-bg) 100%);
	padding-top: var(--hero-pad);
}

.dkk-hero-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.dkk-hero-shape {
	position: absolute;
	border-radius: 50%;
	opacity: 0.5;
}

.dkk-hero-shape-1 {
	width: 220px;
	height: 220px;
	top: -60px;
	right: -40px;
	background: rgba(232, 80, 80, 0.16);
}

.dkk-hero-shape-2 {
	width: 160px;
	height: 160px;
	bottom: -50px;
	left: 8%;
	background: rgba(45, 143, 94, 0.14);
}

.dkk-hero-shape-3 {
	width: 110px;
	height: 110px;
	top: 40%;
	left: 42%;
	background: rgba(232, 112, 80, 0.13);
}

.dkk-hero-content {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px;
	align-items: center;
	max-width: var(--dkk-max-width);
	margin: 0 auto;
	padding: 70px 20px 60px;
	width: 100%;
}

.dkk-hero-badge {
	display: inline-block;
	padding: 8px 18px;
	margin-bottom: 18px;
	background: var(--dkk-surface);
	border: 2px solid var(--dkk-border);
	border-radius: 999px;
	color: var(--dkk-navy);
	font-size: 0.95rem;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(1, 26, 64, 0.06);
}

.dkk-hero-text h1 {
	font-size: var(--h1-size);
	line-height: 1.1;
	margin-bottom: 16px;
}

.dkk-text-gradient {
	background: linear-gradient(90deg, var(--dkk-primary), var(--dkk-coral), var(--dkk-primary));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.dkk-hero-sub {
	font-size: 1.25rem;
	color: var(--dkk-text-muted);
	max-width: 34em;
	margin-bottom: 28px;
}

.dkk-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 34px;
}

.dkk-hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.dkk-hero-stat {
	flex: 1 1 120px;
	padding: 14px 18px;
	background: var(--dkk-surface);
	border: 2px solid var(--dkk-border);
	border-radius: var(--radius-md);
	text-align: center;
	box-shadow: 0 6px 20px rgba(1, 26, 64, 0.06);
}

.dkk-hero-stat-num {
	display: block;
	font-size: 1.7rem;
	font-weight: 900;
	color: var(--dkk-primary);
}

.dkk-hero-stat-label {
	display: block;
	font-size: 0.95rem;
	color: var(--dkk-text-muted);
}

/* Hero visual */
.dkk-hero-visual {
	display: flex;
	justify-content: center;
}

.dkk-hero-illustration {
	position: relative;
	width: 100%;
	max-width: 380px;
}

.dkk-hero-spark {
	width: 100%;
	filter: drop-shadow(0 16px 24px rgba(1, 26, 64, 0.18));
}

.dkk-hero-bubble {
	position: absolute;
	top: -8px;
	right: -6px;
	left: -6px;
	background: var(--dkk-surface);
	border: 3px solid var(--dkk-primary);
	border-radius: 20px 20px 20px 4px;
	padding: 14px 16px;
	box-shadow: 0 10px 26px rgba(1, 26, 64, 0.12);
	transform: rotate(-2deg);
}

.dkk-hero-bubble p {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
}

.dkk-hero-bubble::after {
	content: "";
	position: absolute;
	bottom: -14px;
	left: 26px;
	border: 8px solid transparent;
	border-top-color: var(--dkk-primary);
	border-right-color: var(--dkk-primary);
}

.dkk-hero-spark-floats {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.dkk-hero-spark-floats span {
	position: absolute;
	font-size: 1.7rem;
	animation: dkk-float 4s ease-in-out infinite;
}

.dkk-hero-spark-floats span:nth-child(1) { top: 12%; left: 6%; animation-delay: 0s; }
.dkk-hero-spark-floats span:nth-child(2) { top: 30%; right: 4%; animation-delay: 0.6s; }
.dkk-hero-spark-floats span:nth-child(3) { bottom: 22%; left: -2%; animation-delay: 1.2s; }
.dkk-hero-spark-floats span:nth-child(4) { top: 4%; right: 20%; animation-delay: 1.8s; }
.dkk-hero-spark-floats span:nth-child(5) { bottom: -2%; right: 18%; animation-delay: 2.4s; }

@keyframes dkk-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-14px); }
}

/* ─── 7. Logos Bar ────────────────────────────────────────────── */
.dkk-logos-bar {
	padding-top: var(--logos-pad);
	padding-bottom: 40px;
	background: var(--dkk-surface);
	border-top: 1px solid var(--dkk-border);
}

.dkk-logos-label {
	text-align: center;
	color: var(--dkk-text-muted);
	font-weight: 700;
	margin-bottom: 18px;
}

.dkk-logos-track {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.dkk-logos-track span {
	padding: 10px 18px;
	background: var(--dkk-bg-2);
	border: 2px solid var(--dkk-border);
	border-radius: 999px;
	font-weight: 700;
	color: var(--dkk-navy);
}

/* ─── 8. How It Works ─────────────────────────────────────────── */
.dkk-how-section {
	padding-top: var(--how-pad);
	padding-bottom: 60px;
}

.dkk-section-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 40px;
}

.dkk-section-badge {
	display: inline-block;
	padding: 6px 16px;
	margin-bottom: 12px;
	background: var(--dkk-mint);
	color: #fff;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.9rem;
}

.dkk-section-header h2 {
	font-size: 2.1rem;
}

.dkk-section-header p {
	color: var(--dkk-text-muted);
	font-size: 1.1rem;
}

.dkk-steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.dkk-step-card {
	position: relative;
	background: var(--dkk-surface);
	border: 2px solid var(--dkk-border);
	border-radius: var(--radius-md);
	padding: 30px 22px 24px;
	text-align: center;
	box-shadow: 0 10px 26px rgba(1, 26, 64, 0.07);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dkk-step-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 36px rgba(1, 26, 64, 0.12);
}

.dkk-step-icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	margin-bottom: 16px;
	background: var(--dkk-bg-2);
	border: 3px solid var(--dkk-border);
	border-radius: 50%;
}

.dkk-step-icon {
	font-size: 2.6rem;
	line-height: 1;
}

.dkk-step-num {
	position: absolute;
	top: 12px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	background: var(--dkk-primary);
	color: #fff;
	border-radius: 50%;
	font-weight: 900;
	font-size: 0.95rem;
}

.dkk-step-card h3 {
	font-size: 1.3rem;
	margin-bottom: 8px;
}

.dkk-step-card p {
	color: var(--dkk-text-muted);
	font-size: 1rem;
	margin-bottom: 0;
}

/* ─── 9. CTA Section ──────────────────────────────────────────── */
.dkk-cta-section {
	padding-top: var(--cta-pad);
	padding-bottom: 60px;
}

.dkk-cta-card {
	position: relative;
	overflow: hidden;
	max-width: 900px;
	margin: 0 auto;
	padding: 60px 40px;
	background: linear-gradient(135deg, var(--dkk-navy) 0%, #1b2f7a 100%);
	border-radius: 24px;
	text-align: center;
	color: #fff;
	box-shadow: 0 20px 50px rgba(1, 26, 64, 0.25);
}

.dkk-cta-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.dkk-cta-shape {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
}

.dkk-cta-shape-1 {
	width: 240px;
	height: 240px;
	top: -80px;
	right: -60px;
}

.dkk-cta-shape-2 {
	width: 180px;
	height: 180px;
	bottom: -60px;
	left: -40px;
}

.dkk-cta-content {
	position: relative;
	z-index: 1;
}

.dkk-cta-content h2 {
	color: #fff;
	font-size: 2.2rem;
	margin-bottom: 12px;
}

.dkk-cta-content p {
	font-size: 1.2rem;
	opacity: 0.92;
	max-width: 30em;
	margin: 0 auto 28px;
}

/* CTA button on the dark navy card — white pill so it stands out */
.dkk-cta-content .dkk-btn {
	background: #ffffff;
	color: var(--dkk-navy);
	border: 3px solid #ffffff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.dkk-cta-content .dkk-btn:hover {
	background: var(--dkk-bg-2);
	border-color: var(--dkk-bg-2);
	color: var(--dkk-navy);
}

/* ─── 10. Footer ──────────────────────────────────────────────── */
.dkk-footer {
	background: var(--dkk-navy);
	color: #e6edf4;
	padding-top: var(--footer-pad);
}

.dkk-footer-inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 36px;
	max-width: var(--dkk-max-width);
	margin: 0 auto;
	padding: 56px 20px 40px;
}

.dkk-footer-brand-img {
	max-height: 70px;
	background: #fff;
	border-radius: 8px;
	padding: 6px 8px;
	margin-bottom: 16px;
	object-fit: contain;
}

.dkk-footer-tagline-big {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-start;
	margin-bottom: 16px;
}

.dkk-footer-tagline-big span {
	padding: 6px 12px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.9rem;
}

.dkk-footer-desc {
	color: #b9c6dd;
	font-size: 1rem;
	max-width: 26em;
}

.dkk-footer h4 {
	color: #fff;
	font-size: 1.1rem;
	margin-bottom: 14px;
}

.dkk-footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dkk-footer-nav li {
	margin-bottom: 10px;
}

.dkk-footer-nav a {
	color: #c4d0e6;
}

.dkk-footer-nav a:hover {
	color: #fff;
}

.dkk-social-icons {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}

.dkk-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	transition: background 0.2s ease;
}

.dkk-social-link:hover {
	background: var(--dkk-primary);
	color: #fff;
}

.dkk-social-link svg {
	width: 20px;
	height: 20px;
}

.dkk-footer-bottom {
	background: rgba(0, 0, 0, 0.22);
}

.dkk-footer-bottom-inner {
	max-width: var(--dkk-max-width);
	margin: 0 auto;
	padding: 16px 20px;
	font-size: 0.9rem;
	color: #9fb0cc;
}

/* ─── 11. Content / Posts ─────────────────────────────────────── */
.dkk-content-area {
	padding: 40px 0 60px;
}

.dkk-page,
.dkk-single,
.dkk-archive {
	background: var(--dkk-surface);
	border: 2px solid var(--dkk-border);
	border-radius: var(--radius-md);
	padding: 36px;
}

.dkk-entry-header {
	margin-bottom: 24px;
}

.dkk-entry-title,
.dkk-page-title {
	font-size: 2rem;
	margin-bottom: 10px;
}

.dkk-entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	color: var(--dkk-text-muted);
	font-size: 0.95rem;
}

.dkk-entry-thumb {
	margin-bottom: 24px;
}

.dkk-entry-content {
	font-size: 1.05rem;
}

.dkk-entry-content > * {
	max-width: 100%;
}

/* Post cards (archive) */
.dkk-post-card {
	background: var(--dkk-surface);
	border: 2px solid var(--dkk-border);
	border-radius: var(--radius-md);
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 8px 20px rgba(1, 26, 64, 0.06);
}

.dkk-post-thumb {
	display: block;
	margin-bottom: 14px;
	border-radius: 8px;
	overflow: hidden;
}

.dkk-post-title {
	font-size: 1.4rem;
}

.dkk-post-title a {
	color: var(--dkk-navy);
}

.dkk-post-excerpt {
	color: var(--dkk-text-muted);
}

/* Archive header, no-posts, pagination */
.dkk-archive-header {
	margin-bottom: 24px;
}

.dkk-no-posts {
	text-align: center;
	padding: 40px 20px;
}

.pagination,
.navigation.pagination {
	margin-top: 24px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.pagination .nav-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.pagination a,
.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 2px solid var(--dkk-border);
	border-radius: 8px;
	font-weight: 700;
}

.pagination .current {
	background: var(--dkk-primary);
	border-color: var(--dkk-primary);
	color: #fff;
}

/* 404 */
.dkk-404 {
	background: var(--dkk-surface);
	border: 2px solid var(--dkk-border);
	border-radius: var(--radius-md);
	padding: 60px 36px;
	text-align: center;
}

.dkk-404-emoji {
	font-size: 4rem;
	margin-bottom: 12px;
}

.dkk-404-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 22px;
}

.dkk-404-actions .search-form,
.dkk-search-form {
	margin-top: 18px;
	width: 100%;
}

.search-form {
	display: flex;
	gap: 10px;
	justify-content: center;
}

.search-form input[type="search"],
.search-field {
	flex: 1;
	max-width: 340px;
	padding: 12px 14px;
	border: 2px solid var(--dkk-border);
	border-radius: var(--radius-md);
	font-family: var(--font-body);
	font-size: 1rem;
}

.search-form .search-submit {
	padding: 12px 20px;
	background: var(--dkk-primary);
	color: #fff;
	border: 2px solid var(--dkk-primary);
	border-radius: var(--radius-md);
	font-family: var(--font-body);
	font-weight: 700;
	cursor: pointer;
}

/* Form basics */
.dkk-entry-content input[type="text"],
.dkk-entry-content input[type="email"],
.dkk-entry-content input[type="url"],
.dkk-entry-content input[type="password"],
.dkk-entry-content input[type="search"],
.dkk-entry-content input[type="number"],
.dkk-entry-content textarea,
.dkk-entry-content select {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid var(--dkk-border);
	border-radius: var(--radius-md);
	font-family: var(--font-body);
	font-size: 1rem;
	background: var(--dkk-surface);
	color: var(--dkk-text);
}

/* ─── 12. Homepage block editor area ──────────────────────────── */
.dkk-homepage-blocks {
	padding-top: 40px;
	padding-bottom: 60px;
}

.dkk-homepage-blocks .wp-block-heading {
	color: var(--dkk-navy);
}

.dkk-notice {
	padding: 20px;
	background: var(--dkk-bg-2);
	border: 2px dashed var(--dkk-coral);
	border-radius: var(--radius-md);
	text-align: center;
}

/* ─── 13. Scroll-to-top ───────────────────────────────────────── */
.dkk-scroll-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 90;
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 50%;
	background: var(--dkk-primary);
	color: #fff;
	font-size: 1.3rem;
	font-weight: 900;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(1, 26, 64, 0.25);
	transition: transform 0.15s ease, background 0.2s ease;
}

.dkk-scroll-top:hover {
	background: var(--dkk-primary-dark);
	transform: translateY(-3px);
}

/* ─── 14. WooCommerce ─────────────────────────────────────────── */
.woocommerce .woocommerce-breadcrumb {
	margin-bottom: 24px;
	color: var(--dkk-text-muted);
	font-weight: 700;
}

.woocommerce .woocommerce-breadcrumb a {
	color: var(--dkk-primary);
}

/* Result count + sorting */
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
	color: var(--dkk-text-muted);
	font-weight: 700;
	margin: 0 0 20px;
}

.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering {
	margin-bottom: 20px;
}

.woocommerce .woocommerce-ordering select {
	padding: 10px 14px;
	border: 2px solid var(--dkk-border);
	border-radius: var(--radius-md);
	background: var(--dkk-surface);
	color: var(--dkk-text);
	font-family: var(--font-body);
	font-weight: 700;
}

/* Product grid tiles */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	background: var(--dkk-surface);
	border: 2px solid var(--dkk-border);
	border-radius: var(--radius-md);
	padding: 18px;
	text-align: left;
	box-shadow: 0 8px 20px rgba(1, 26, 64, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(1, 26, 64, 0.12);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
	color: var(--dkk-navy);
	font-size: 1.15rem;
	font-weight: 700;
	padding: 0.5em 0 0;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
	color: var(--dkk-primary);
	font-size: 1.25rem;
	font-weight: 900;
	margin: 8px 0 12px;
}

/* Buttons (add to cart, single, etc.) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.wc-block-components-button,
.wc-block-button__link,
.woocommerce .button.wc-forward {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	background: var(--dkk-primary);
	border: 2px solid var(--dkk-primary);
	border-radius: var(--radius-md);
	color: #fff;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
	background: var(--dkk-primary-dark);
	border-color: var(--dkk-primary-dark);
	color: #fff;
	transform: translateY(-2px);
}

.woocommerce a.button.loading::after,
.woocommerce button.button.loading::after,
.woocommerce input.button.loading::after {
	opacity: 0.6;
}

/* Product card add-to-cart link style */
.woocommerce ul.products li.product .button {
	margin-top: 10px;
}

/* Single product */
.woocommerce div.product .product_title {
	color: var(--dkk-navy);
	font-size: 2rem;
	margin-bottom: 8px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--dkk-primary);
	font-size: 1.7rem;
	font-weight: 900;
}

.woocommerce div.product p.stock {
	font-weight: 700;
}

.woocommerce div.product form.cart {
	margin: 24px 0;
	gap: 12px;
	align-items: flex-start;
}

.woocommerce div.product form.cart .button {
	height: auto;
}

.woocommerce div.product .woocommerce-product-gallery {
	margin-bottom: 24px;
}

.woocommerce div.product .woocommerce-product-gallery__image img {
	border-radius: var(--radius-md);
	border: 2px solid var(--dkk-border);
}

/* Product meta */
.woocommerce div.product .product_meta {
	border-top: 2px solid var(--dkk-border);
	padding-top: 16px;
	margin-top: 24px;
	font-size: 0.95rem;
	color: var(--dkk-text-muted);
}

.woocommerce div.product .product_meta a {
	color: var(--dkk-primary);
	font-weight: 700;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
	margin: 0 0 24px;
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: var(--dkk-bg-2);
	border: 2px solid var(--dkk-border);
	border-radius: 10px 10px 0 0;
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: var(--dkk-surface);
	border-bottom-color: var(--dkk-surface);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 12px 20px;
	font-weight: 700;
	color: var(--dkk-text-muted);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--dkk-navy);
}

.woocommerce div.product .woocommerce-tabs .panel {
	background: var(--dkk-surface);
	border: 2px solid var(--dkk-border);
	border-radius: 0 0 var(--radius-md) var(--radius-md);
	padding: 24px;
}

/* Notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
	border-radius: var(--radius-md);
}

.woocommerce-message,
.woocommerce-info {
	border-top-color: var(--dkk-secondary);
	background: #eef7ee;
	color: var(--dkk-text);
}

.woocommerce-error {
	background: #fdeeee;
	border-top-color: var(--dkk-primary);
	color: var(--dkk-text);
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	margin-top: -0.2em;
}

/* Cart table */
.woocommerce table.shop_table {
	border: 2px solid var(--dkk-border);
	border-radius: var(--radius-md);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}

.woocommerce table.shop_table th {
	background: var(--dkk-navy);
	color: #fff;
	font-weight: 700;
	padding: 14px 16px;
}

.woocommerce table.shop_table td {
	padding: 14px 16px;
	border-top: 1px solid var(--dkk-border);
	color: var(--dkk-text);
}

.woocommerce table.shop_table .product-name a {
	color: var(--dkk-navy);
	font-weight: 700;
}

.woocommerce table.shop_table .product-quantity .qty,
.woocommerce .quantity .qty {
	border: 2px solid var(--dkk-border);
	border-radius: 8px;
	padding: 8px 10px;
	font-family: var(--font-body);
}

/* Cart page layout — fix the two-column grid */
.woocommerce-cart .woocommerce-cart-form {
	margin-bottom: 2em;
}

.woocommerce-cart .cart-collaterals {
	overflow: hidden;
	zoom: 1;
}

.woocommerce-cart .cart-collaterals .cart_totals {
	float: right;
	width: 40%;
}

.woocommerce-cart .cart-collaterals .cross-sells {
	float: left;
	width: 55%;
}

/* Cart totals */
.woocommerce .cart_totals {
	background: var(--dkk-surface);
	border: 2px solid var(--dkk-border);
	border-radius: var(--radius-md);
	padding: 24px;
}

.woocommerce .cart_totals h2 {
	font-size: 1.4rem;
	margin-bottom: 16px;
}

.woocommerce .cart_totals .order-total {
	font-size: 1.2rem;
}

/* Checkout */
.woocommerce form.checkout {
	background: var(--dkk-surface);
	border: 2px solid var(--dkk-border);
	border-radius: var(--radius-md);
	padding: 24px;
}

.woocommerce form .form-row label {
	font-weight: 700;
	color: var(--dkk-navy);
	margin-bottom: 6px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
	border: 2px solid var(--dkk-border);
	border-radius: var(--radius-md);
	padding: 10px 12px;
	font-family: var(--font-body);
	background: var(--dkk-surface);
	color: var(--dkk-text);
}

.woocommerce form .form-row textarea {
	min-height: 120px;
}

/* Checkout order review summary */
.woocommerce #order_review_heading {
	font-size: 1.4rem;
	margin: 32px 0 16px;
}

/* Account */
.woocommerce-account .woocommerce-MyAccount-navigation {
	margin-bottom: 32px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 2px solid var(--dkk-border);
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--dkk-surface);
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	border-bottom: 1px solid var(--dkk-border);
	margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
	border-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 14px 20px;
	color: var(--dkk-navy);
	font-weight: 700;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active {
	background: var(--dkk-primary);
	color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content {
	background: var(--dkk-surface);
	border: 2px solid var(--dkk-border);
	border-radius: var(--radius-md);
	padding: 24px;
}

/* Reviews / star rating */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
	color: var(--dkk-coral);
}

/* Empty states */
.woocommerce .woocommerce-message,
.woocommerce-page .woocommerce-cart .cart-empty {
	text-align: center;
}

.woocommerce .return-to-shop .button {
	background: var(--dkk-secondary);
	border-color: var(--dkk-secondary);
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul {
	border: 2px solid var(--dkk-border);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.woocommerce nav.woocommerce-pagination ul li {
	border-right: 1px solid var(--dkk-border);
}

.woocommerce nav.woocommerce-pagination ul li:last-child {
	border-right: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	padding: 10px 16px;
	font-weight: 700;
	color: var(--dkk-navy);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--dkk-primary);
	color: #fff;
}

/* ─── 15. Responsive ──────────────────────────────────────────── */
@media (max-width: 992px) {
	.dkk-hero-content {
		grid-template-columns: 1fr;
		padding-top: 50px;
	}

	.dkk-hero-visual {
		order: -1;
	}

	.dkk-hero-illustration {
		max-width: 260px;
	}

	.dkk-steps-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dkk-footer-inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 768px) {
	body {
		font-size: 16px;
	}

	.dkk-header-inner {
		min-height: 80px;
	}

	.dkk-menu-toggle {
		display: flex;
	}

	.dkk-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		background: var(--dkk-surface);
		border-bottom: 3px solid var(--dkk-border);
		padding: 8px 16px 16px;
		box-shadow: 0 10px 20px rgba(1, 26, 64, 0.1);
		display: none;
	}

	.dkk-nav.active {
		display: flex;
	}

	.dkk-nav ul.menu,
	.dkk-nav .menu {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.dkk-nav li a {
		padding: 12px 14px;
	}

	.dkk-nav-cta {
		margin-left: 0;
		margin-top: 8px;
		width: 100%;
	}

	.dkk-hero-text h1 {
		font-size: calc(var(--h1-size) * 0.8);
	}

	.dkk-cta-card {
		padding: 40px 24px;
	}

	.dkk-cta-content h2 {
		font-size: 1.7rem;
	}

	.dkk-page,
	.dkk-single,
	.dkk-archive,
	.dkk-404 {
		padding: 24px 18px;
	}
}

@media (max-width: 520px) {
	.dkk-steps-grid {
		grid-template-columns: 1fr;
	}

	.dkk-hero-actions {
		flex-direction: column;
	}

	.dkk-hero-actions .dkk-btn {
		width: 100%;
	}
}

/* Cart page responsive */
@media (max-width: 768px) {
	.woocommerce-cart .cart-collaterals .cart_totals,
	.woocommerce-cart .cart-collaterals .cross-sells {
		float: none;
		width: 100%;
	}

	.woocommerce-cart .cart-collaterals .cart_totals {
		margin-top: 1.5em;
	}

	.woocommerce table.shop_table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* Header logo smaller on mobile */
	.dkk-brand-img {
		max-height: 40px;
	}

	/* Footer tagline badges stack vertically + center on mobile */
	.dkk-footer-tagline-big {
		flex-direction: column;
		align-items: center;
	}

	.dkk-footer-tagline-big span {
		font-size: 0.8rem;
		padding: 5px 10px;
	}

	/* Footer columns already stack at 992px, but tighten padding */
	.dkk-footer-inner {
		padding: 36px 16px 28px;
		gap: 24px;
	}

	/* Center ALL footer content on mobile */
	.dkk-footer {
		text-align: center;
	}

	.dkk-footer-brand {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.dkk-footer-brand-img {
		margin-left: auto;
		margin-right: auto;
	}

	.dkk-footer-desc {
		margin-left: auto;
		margin-right: auto;
		max-width: 24em;
	}

	.dkk-footer h4 {
		text-align: center;
	}

	.dkk-footer-nav ul {
		display: inline-flex;
		flex-direction: column;
		align-items: center;
	}

	.dkk-footer-nav li {
		text-align: center;
	}

	.dkk-social-icons {
		justify-content: center;
	}

	.dkk-footer-bottom-inner {
		text-align: center;
	}
}
