/* Dunk Basketball — Dynamic SEO Homepage (v1.0.0)
   Navy #0F1E33 / Orange #F26B21. No JavaScript — FAQ uses <details>.
   All sections are scoped under .dunk-hp so theme styles cannot leak in. */

.dunk-hp {
	color: #1a1a1a;
}

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

.dunk-hp-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Hide the theme's own "Home" page title — the hero H1 is the page H1. */
body.home .entry-header,
body.home .entry-hero {
	display: none;
}

/* Fallback if Kadence still boxes the front page. */
body.home .site-main,
body.home .content-wrap,
body.home .entry-content,
body.home #primary {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
body.home .entry-content > p:empty,
body.home .entry-content > br {
	display: none;
}
body.home .entry-content > *:first-child {
	margin-top: 0 !important;
}
body.home .content-area {
	margin-top: 0;
	margin-bottom: 0;
}
body.home .content-container.site-container,
body.home .site-main > .content-wrap,
body.home article.entry.content-bg,
body.home .entry-content-wrap {
	max-width: none;
	padding: 0;
	margin: 0;
	background: transparent;
	box-shadow: none;
}

.dunk-hp-section {
	padding: 64px 0;
}

.dunk-hp-section h2,
.dunk-hp-cta h2 {
	font-size: 32px;
	line-height: 1.25;
	color: #0f1e33;
	text-align: center;
	margin: 0 0 12px;
}

.dunk-hp-section-sub {
	text-align: center;
	color: #555;
	font-size: 17px;
	line-height: 1.6;
	max-width: 720px;
	margin: 0 auto 40px;
}

/* Buttons */
.dunk-hp-btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	transition: background .15s ease, transform .15s ease;
}

.dunk-hp-btn-primary {
	background: #f26b21;
	color: #fff;
}

.dunk-hp-btn-primary:hover {
	background: #d9541a;
	color: #fff;
	transform: translateY(-1px);
}

.dunk-hp-btn-secondary {
	border: 2px solid #fff;
	color: #fff;
}

.dunk-hp-btn-secondary:hover {
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

.dunk-hp-btn-outline {
	border: 2px solid #0f1e33;
	color: #0f1e33;
}

.dunk-hp-btn-outline:hover {
	background: #0f1e33;
	color: #fff;
}

.dunk-hp-more {
	text-align: center;
	margin: 32px 0 0;
}

/* Hero — full-bleed navy */
.dunk-hp-hero,
.dunk-hp-cta {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.dunk-hp-hero {
	background: linear-gradient(135deg, #0f1e33 0%, #16324f 100%);
	color: #fff;
	padding: 72px 0;
}

.dunk-hp-hero-inner {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 48px;
	align-items: center;
}

.dunk-hp-hero h1 {
	font-size: 44px;
	line-height: 1.15;
	color: #fff;
	margin: 0 0 16px;
	text-align: left;
}

.dunk-hp-hero-sub {
	font-size: 18px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .82);
	margin: 0 0 28px;
}

.dunk-hp-hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.dunk-hp-hero-trust {
	font-size: 14px;
	letter-spacing: .02em;
	color: rgba(255, 255, 255, .65);
	margin: 22px 0 0;
}

.dunk-hp-hero-art {
	text-align: center;
}

.dunk-hp-hero-art img {
	width: 100%;
	max-width: 360px;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35));
}

/* Trust strip */
.dunk-hp-trust {
	background: #fff;
	border-bottom: 1px solid #eee;
}

.dunk-hp-trust-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 40px;
	justify-content: space-between;
	padding-top: 20px;
	padding-bottom: 20px;
}

.dunk-hp-trust-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: #0f1e33;
}

.dunk-hp-trust-item svg {
	color: #f26b21;
	flex-shrink: 0;
}

/* Categories */
.dunk-hp-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}

.dunk-hp-cat-card {
	display: block;
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	padding: 28px 20px;
	text-align: center;
	text-decoration: none;
	color: #0f1e33;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.dunk-hp-cat-card:hover {
	border-color: #f26b21;
	box-shadow: 0 12px 28px rgba(15, 30, 51, .1);
	transform: translateY(-3px);
}

.dunk-hp-cat-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #fdf1ea;
	overflow: hidden;
}

.dunk-hp-cat-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dunk-hp-cat-name {
	display: block;
	font-size: 18px;
	font-weight: 700;
}

.dunk-hp-cat-count {
	display: block;
	font-size: 14px;
	color: #777;
	margin-top: 4px;
}

/* Products */
.dunk-hp-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
}

.dunk-hp-product-card {
	display: block;
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	text-decoration: none;
	color: #0f1e33;
	transition: box-shadow .15s ease, transform .15s ease;
}

.dunk-hp-product-card:hover {
	box-shadow: 0 12px 28px rgba(15, 30, 51, .1);
	transform: translateY(-3px);
}

.dunk-hp-product-image {
	display: block;
	aspect-ratio: 1 / 1;
	background: #f7f5f3;
	overflow: hidden;
}

.dunk-hp-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dunk-hp-product-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.dunk-hp-product-name {
	display: block;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	padding: 16px 16px 0;
}

.dunk-hp-product-rating {
	display: block;
	font-size: 14px;
	color: #f26b21;
	padding: 6px 16px 0;
}

.dunk-hp-product-price {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: #0f1e33;
	padding: 8px 16px 18px;
}

.dunk-hp-product-price del {
	color: #999;
	font-weight: 400;
	margin-right: 6px;
}

/* How it works */
.dunk-hp-how {
	background: #f7f5f3;
}

.dunk-hp-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.dunk-hp-step {
	background: #fff;
	border-radius: 14px;
	padding: 28px 24px;
	text-align: center;
}

.dunk-hp-step-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #0f1e33;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
}

.dunk-hp-step h3 {
	font-size: 18px;
	color: #0f1e33;
	margin: 0 0 8px;
}

.dunk-hp-step p {
	font-size: 15px;
	line-height: 1.6;
	color: #555;
	margin: 0;
}

/* Why choose us — comparison table */
.dunk-hp-compare-wrap {
	overflow-x: auto;
}

.dunk-hp-compare {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	overflow: hidden;
}

.dunk-hp-compare th,
.dunk-hp-compare td {
	padding: 14px 16px;
	text-align: left;
	border-bottom: 1px solid #eee;
	font-size: 15px;
	line-height: 1.5;
}

.dunk-hp-compare thead th {
	background: #0f1e33;
	color: #fff;
	font-size: 16px;
}

.dunk-hp-compare tbody tr:last-child th,
.dunk-hp-compare tbody tr:last-child td {
	border-bottom: 0;
}

.dunk-hp-compare tbody th {
	color: #0f1e33;
	font-weight: 600;
}

.dunk-hp-compare tbody td:nth-child(2) {
	background: #fff6f0;
	font-weight: 600;
}

.dunk-hp-yes {
	color: #1a9e54;
	font-weight: 700;
}

.dunk-hp-no {
	color: #c0392b;
	font-weight: 700;
}

/* Testimonials */
.dunk-hp-testi-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.dunk-hp-testi {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-top: 4px solid #f26b21;
	border-radius: 14px;
	padding: 28px;
	margin: 0;
}

.dunk-hp-testi p {
	font-size: 16px;
	line-height: 1.7;
	color: #333;
	margin: 0 0 16px;
}

.dunk-hp-testi footer strong {
	display: block;
	color: #0f1e33;
}

.dunk-hp-testi footer span {
	font-size: 14px;
	color: #777;
}

/* SEO content */
.dunk-hp-seo-inner {
	max-width: 820px;
}

.dunk-hp-seo-inner p {
	font-size: 16px;
	line-height: 1.8;
	color: #444;
	margin: 0 0 16px;
}

.dunk-hp-seo-inner h3 {
	font-size: 20px;
	color: #0f1e33;
	margin: 28px 0 10px;
}

.dunk-hp-seo-inner a {
	color: #f26b21;
}

/* FAQ */
.dunk-hp-faq-inner {
	max-width: 820px;
}

.dunk-hp-faq-item {
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	background: #fff;
	margin-bottom: 12px;
}

.dunk-hp-faq-item summary {
	padding: 18px 20px;
	font-size: 16px;
	font-weight: 600;
	color: #0f1e33;
	cursor: pointer;
	list-style: none;
}

.dunk-hp-faq-item summary::-webkit-details-marker {
	display: none;
}

.dunk-hp-faq-item summary::after {
	content: "+";
	float: right;
	color: #f26b21;
	font-weight: 700;
}

.dunk-hp-faq-item[open ] summary::after {
	content: "\2013";
}

.dunk-hp-faq-answer {
	padding: 0 20px 20px;
	color: #444;
	line-height: 1.7;
}

.dunk-hp-faq-answer p {
	margin: 0 0 10px;
}

.dunk-hp-faq-answer p:last-child {
	margin-bottom: 0;
}

/* Final CTA */
.dunk-hp-cta {
	background: linear-gradient(135deg, #0f1e33 0%, #16324f 100%);
	color: #fff;
	text-align: center;
	padding: 72px 0;
}

.dunk-hp-cta h2 {
	color: #fff;
}

.dunk-hp-cta p {
	font-size: 18px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .82);
	max-width: 640px;
	margin: 0 auto 28px;
}

.dunk-hp-cta .dunk-hp-hero-cta {
	justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
	.dunk-hp-hero-inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.dunk-hp-hero-art img {
		max-width: 280px;
	}

	.dunk-hp-hero h1 {
		font-size: 34px;
	}

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

	.dunk-hp-testi-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.dunk-hp-section {
		padding: 48px 0;
	}

	.dunk-hp-section h2,
	.dunk-hp-cta h2 {
		font-size: 26px;
	}

	.dunk-hp-hero {
		padding: 48px 0;
	}

	.dunk-hp-hero h1 {
		font-size: 30px;
	}

	.dunk-hp-steps {
		grid-template-columns: 1fr;
	}

	.dunk-hp-container {
		padding: 0 16px;
	}
}
