/* DJI Pakistan: DJI-style look on top of Woodmart.
   Palette from dji.com: text #303233, greys #6c7073 / #919699,
   light backgrounds #f7f9fa / #f0f1f2, accent #1890ff. */

:root {
	--djipk-text: #303233;
	--djipk-muted: #6c7073;
	--djipk-faint: #919699;
	--djipk-bg-alt: #f7f9fa;
	--djipk-line: #f0f1f2;
	--djipk-blue: #1890ff;
	--djipk-blue-hover: #1677d9;
}

:root { --wd-main-bgcolor: #fff; }
body,
.website-wrapper,
.wd-page-content.main-page-wrapper { background-color: #fff !important; }

/* Header: thin hairline like dji.com, no demo side toolbar */
.whb-general-header { border-bottom: 1px solid var(--djipk-line); }
.wd-sticky-nav { display: none !important; }
.wd-nav-main > li > a { font-weight: 400; color: var(--djipk-text); }
.wd-nav-main > li > a:hover { color: var(--djipk-blue); }
.dji-quote-btn .btn {
	padding: 0 20px;
	min-height: 36px;
	border-radius: 999px;
	background: var(--djipk-blue);
	color: #fff;
	font-size: 14px;
	text-transform: none;
}
.dji-quote-btn .btn:hover { background: var(--djipk-blue-hover); color: #fff; }

/* Product grid: clean cards on a light-grey image well */
.wd-product .product-wrapper { border: 0; box-shadow: none; }
.wd-product .product-element-top {
	background: var(--djipk-bg-alt);
	border-radius: 12px;
	overflow: hidden;
}
.wd-product .wd-entities-title { font-size: 16px; font-weight: 600; text-align: center; }
.wd-product .wd-entities-title a { color: var(--djipk-text); }
.wd-product .wd-product-cats,
.wd-product .star-rating,
.wd-product .wd-compare-btn,
.wd-product .wd-wishlist-btn { display: none !important; }
.djipk-loop-quote {
	display: block;
	text-align: center;
	margin-top: 6px;
	font-size: 14px;
	color: var(--djipk-blue);
}
.djipk-loop-quote:hover { color: var(--djipk-blue-hover); text-decoration: underline; }

/* Single product */
.single-product .product_title { font-size: 32px; font-weight: 600; color: var(--djipk-text); }
.single-product .woocommerce-product-details__short-description ul { padding-left: 18px; color: var(--djipk-muted); }
.single-product .woocommerce-product-gallery .wd-carousel-item,
.single-product .woocommerce-product-gallery__image { background: #fff; border: 1px solid var(--djipk-line); border-radius: 12px; overflow: hidden; }
.djipk-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0 8px; }
.djipk-cta .btn {
	min-height: 46px;
	padding: 0 28px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	text-transform: none;
}
.djipk-cta .djipk-quote { background: var(--djipk-blue); color: #fff; border: 1px solid var(--djipk-blue); }
.djipk-cta .djipk-quote:hover { background: var(--djipk-blue-hover); border-color: var(--djipk-blue-hover); color: #fff; }
.djipk-cta .djipk-wa { background: #fff; color: var(--djipk-text); border: 1px solid #d5d8db; }
.djipk-cta .djipk-wa:hover { border-color: #25d366; color: #128c4b; }
.djipk-cta-note { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--djipk-faint); }
.djipk-dealer-badge { display: block; width: 190px; height: auto; margin-top: 8px; }
.single-product .product_meta { display: none; }

/* Spec tables */
.dji-specs { width: 100%; border-collapse: collapse; margin: 0 0 28px; table-layout: fixed; }
.dji-specs th,
.dji-specs td { padding: 12px 0; border-bottom: 1px solid var(--djipk-line); vertical-align: top; text-align: left; }
.dji-specs th { width: 34%; padding-right: 24px; font-weight: 400; color: var(--djipk-muted); }
.dji-specs td { color: var(--djipk-text); overflow-wrap: anywhere; }
.woocommerce-Tabs-panel h4 { margin: 32px 0 4px; font-size: 18px; }

/* Collapsible spec groups and FAQ on product pages (<details>, indexable by search engines) */
.woocommerce-Tabs-panel--description h2 { margin: 36px 0 14px; font-size: 24px; font-weight: 600; color: var(--djipk-text); }
.woocommerce-Tabs-panel--description h2:first-of-type { margin-top: 24px; }
.djipk-highlights { columns: 2; column-gap: 32px; padding-left: 18px; }
.djipk-highlights li { margin-bottom: 8px; break-inside: avoid; }
.djipk-acc-group { border-top: 1px solid var(--djipk-line); }
.djipk-acc { border-bottom: 1px solid var(--djipk-line); }
.djipk-acc > summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 4px;
	list-style: none;
	cursor: pointer;
	user-select: none;
}
.djipk-acc > summary::-webkit-details-marker { display: none; }
.djipk-acc > summary h3 { flex: 1; margin: 0; font-size: 17px; font-weight: 600; color: var(--djipk-text); }
.djipk-acc-count { font-size: 13px; color: var(--djipk-faint); }
.djipk-acc > summary::after {
	content: "+";
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--djipk-bg-alt);
	color: var(--djipk-text);
	font-size: 18px;
	line-height: 28px;
	text-align: center;
	transition: transform .25s ease, background .2s;
}
.djipk-acc[open] > summary::after { content: "\2212"; background: #e8f4ff; color: var(--djipk-blue); }
.djipk-acc > summary:hover h3 { color: var(--djipk-blue); }
.djipk-acc > summary:focus-visible { outline: 2px solid var(--djipk-blue); outline-offset: 2px; border-radius: 8px; }
.djipk-acc-body { padding: 0 4px 18px; }
.djipk-acc[open] .djipk-acc-body { animation: djipk-acc-in .25s ease; }
.djipk-acc-body .dji-specs { margin: 0; }
.djipk-faq .djipk-acc > summary h3 { font-size: 16px; }
.djipk-faq .djipk-acc-body p { margin: 0; color: var(--djipk-muted); }
@keyframes djipk-acc-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 768px) {
	.djipk-highlights { columns: 1; }
	.djipk-acc > summary h3 { font-size: 15px; }
}

/* Quote popup */
html.djipk-modal-open { overflow: hidden; }
.djipk-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(15, 17, 18, .55);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity .2s ease;
}
.djipk-modal[hidden] { display: none; }
.djipk-modal.is-open { opacity: 1; }
.djipk-modal-dialog {
	position: relative;
	width: 100%;
	max-width: 460px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 32px 32px 24px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 64px rgba(0, 0, 0, .25);
	transform: translateY(12px) scale(.98);
	transition: transform .25s ease;
}
.djipk-modal.is-open .djipk-modal-dialog { transform: none; }
.djipk-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	min-height: 0 !important;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--djipk-bg-alt);
	color: var(--djipk-muted);
	font-size: 22px;
	line-height: 36px;
	cursor: pointer;
}
.djipk-modal-close:hover { background: var(--djipk-line); color: var(--djipk-text); }
.djipk-modal-eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--djipk-blue); }
.djipk-modal-title { margin: 0 0 6px; padding-right: 32px; font-size: 24px; font-weight: 600; line-height: 1.25; color: var(--djipk-text); }
.djipk-modal-sub { margin: 0 0 20px; font-size: 14px; color: var(--djipk-muted); }
.djipk-modal .ff-el-group { margin-bottom: 14px; }
.djipk-modal .ff-el-input--label label { font-size: 13px; font-weight: 600; color: var(--djipk-text); }
.djipk-modal input[readonly] { background: var(--djipk-bg-alt); color: var(--djipk-text); font-weight: 600; cursor: default; }
.djipk-modal .ff-btn-submit { width: 100%; }
.djipk-thanks { padding: 12px 0 4px; text-align: center; }
.djipk-thanks-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: #e8f4ff;
	color: var(--djipk-blue);
	font-size: 28px;
	line-height: 56px;
}
.djipk-thanks h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; color: var(--djipk-text); }
.djipk-thanks p { margin: 0 0 8px; font-size: 14px; color: var(--djipk-muted); }
.djipk-thanks-note { font-size: 13px !important; color: var(--djipk-faint) !important; }
.ff-message-success { border: 0 !important; box-shadow: none !important; padding: 0 !important; }
@media (max-width: 480px) {
	.djipk-modal-dialog { padding: 26px 20px 18px; border-radius: 16px; }
	.djipk-modal-title { font-size: 20px; }
}

/* SEO headings and category copy */
.djipk-archive-title,
.djipk-page-title {
	margin: 8px 0 12px;
	font-size: 34px;
	font-weight: 600;
	color: var(--djipk-text);
	text-align: center;
}
.term-description { max-width: 760px; margin: 0 auto 28px; text-align: center; color: var(--djipk-muted); }
.djipk-seo-text {
	max-width: 880px;
	margin: 56px auto 0;
	padding: 32px 36px;
	border-radius: 16px;
	background: var(--djipk-bg-alt);
	color: var(--djipk-muted);
	font-size: 15px;
	line-height: 1.75;
}
.djipk-seo-text h2 { font-size: 22px; font-weight: 600; color: var(--djipk-text); margin: 0 0 12px; }
.djipk-seo-text h3 { font-size: 17px; font-weight: 600; color: var(--djipk-text); margin: 22px 0 8px; }
.djipk-seo-text ul { padding-left: 18px; }
@media (max-width: 768px) {
	.djipk-archive-title, .djipk-page-title { font-size: 26px; }
	.djipk-seo-text { padding: 24px 20px; }
}

/* Quote form */
.fluentform .ff-btn-submit { border-radius: 999px !important; padding: 12px 36px !important; }
.fluentform .ff-el-form-control { border-color: #d5d8db; border-radius: 8px; }

/* Footer: DJI uses a light-grey footer */
.footer-container { background: var(--djipk-bg-alt); }
.djf { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 24px; }
.djf-brand img { display: block; margin-bottom: 14px; }
.djf-brand p { max-width: 340px; color: var(--djipk-muted); font-size: 14px; }
.djf h4 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--djipk-text); }
.djf ul { list-style: none; margin: 0; padding: 0; }
.djf li { margin: 0 0 8px; }
.djf a { color: var(--djipk-muted); font-size: 14px; }
.djf a:hover { color: var(--djipk-blue); }
.wd-copyrights { font-size: 12px; color: var(--djipk-faint); border-top: 1px solid var(--djipk-line); }
@media (max-width: 768px) { .djf { grid-template-columns: 1fr 1fr; } .djf-brand { grid-column: 1 / -1; } }

/* ---------- Homepage (DJI-style) ---------- */
.djh-hero {
	position: relative;
	min-height: 560px;
	margin: 0 0 16px;
	border-radius: 16px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	text-align: center;
}
.djh-hero-text { padding: 56px 24px 0; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }

/* Hero carousel (DJI-style: full photo, caption bottom-left, progress tabs) */
.djh-slider {
	--djh-interval: 6000ms;
	position: relative;
	height: clamp(460px, 42vw, 600px);
	margin: 0 0 16px;
	border-radius: 16px;
	overflow: hidden;
	background: #0b0c0d;
	isolation: isolate;
}
.djh-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease, visibility 0s linear 1s;
}
.djh-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
.djh-media, .djh-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}
.djh-media img {
	object-fit: cover;
	object-position: center;
	transform: scale(1.06);
	transition: transform 7s ease-out;
	will-change: transform;
}
.djh-slide.is-active .djh-media img { transform: scale(1); }
/* readable caption without darkening the whole photo */
.djh-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(to top, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .18) 38%, rgba(0, 0, 0, 0) 60%),
		linear-gradient(to right, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 55%);
}
.djh-caption {
	position: absolute;
	left: clamp(24px, 5vw, 64px);
	bottom: 96px;
	z-index: 2;
	max-width: 520px;
	color: #fff;
	text-align: left;
}
.djh-eyebrow {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 10px;
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}
.djh-slider .djh-title {
	margin: 0 0 8px;
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -.5px;
	color: #fff;
}
.djh-line { margin: 0 0 22px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.djh-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.djh-slider .djh-more { color: #fff; font-weight: 600; }
.djh-slider .djh-more:hover { color: #fff; opacity: .8; }
/* caption rises in after the slide fades in */
.djh-caption > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.djh-slide.is-active .djh-caption > * { opacity: 1; transform: none; }
.djh-slide.is-active .djh-caption > :nth-child(1) { transition-delay: .25s; }
.djh-slide.is-active .djh-caption > :nth-child(2) { transition-delay: .35s; }
.djh-slide.is-active .djh-caption > :nth-child(3) { transition-delay: .45s; }
.djh-slide.is-active .djh-caption > :nth-child(4) { transition-delay: .55s; }

/* trust bar across the top of the banner (stays put while slides change) */
.djh-topbar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px clamp(24px, 5vw, 64px);
	background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0));
	color: #fff;
	pointer-events: none;
}
.djh-dealer {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .3px;
}
.djh-dealer-dot { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 4px rgba(52, 199, 89, .25); }
.djh-trust { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: rgba(255, 255, 255, .85); }
.djh-trust li { position: relative; padding-left: 20px; }
.djh-trust li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 12px;
	height: 7px;
	margin-top: -5px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg);
	opacity: .85;
}

/* key-spec highlights on the right */
.djh-specs {
	position: absolute;
	right: clamp(24px, 5vw, 64px);
	bottom: 96px;
	z-index: 2;
	width: 250px;
	margin: 0;
	padding: 6px 22px;
	list-style: none;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 16px;
	background: rgba(20, 22, 24, .38);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	color: #fff;
}
.djh-specs li {
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .14);
	opacity: 0;
	transform: translateX(16px);
	transition: opacity .6s ease, transform .6s ease;
}
.djh-specs li:last-child { border-bottom: 0; }
.djh-specs strong {
	display: block;
	font-size: 34px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.5px;
}
.djh-specs small { margin-left: 3px; font-size: 15px; font-weight: 600; letter-spacing: 0; opacity: .85; }
.djh-specs span { display: block; margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.djh-slide.is-active .djh-specs li { opacity: 1; transform: none; }
.djh-slide.is-active .djh-specs li:nth-child(1) { transition-delay: .5s; }
.djh-slide.is-active .djh-specs li:nth-child(2) { transition-delay: .65s; }
.djh-slide.is-active .djh-specs li:nth-child(3) { transition-delay: .8s; }

.djh-arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	min-height: 0 !important;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	color: #fff;
	font-size: 26px;
	line-height: 42px;
	cursor: pointer;
	opacity: 0;
	backdrop-filter: blur(6px);
	transition: opacity .3s, background .2s;
}
.djh-slider:hover .djh-arrow, .djh-arrow:focus-visible { opacity: 1; }
.djh-arrow:hover { background: rgba(255, 255, 255, .32); }
.djh-prev { left: 20px; }
.djh-next { right: 20px; }

/* labelled progress tabs */
.djh-tabs {
	position: absolute;
	left: clamp(24px, 5vw, 64px);
	right: clamp(24px, 5vw, 64px);
	bottom: 28px;
	z-index: 3;
	display: flex;
	gap: 16px;
}
.djh-tabs button {
	/* Woodmart lays buttons out as a centred flex row; stack label above bar instead */
	display: block !important;
	flex: 1 1 0;
	max-width: 200px;
	min-height: 0 !important;
	padding: 0 0 8px;
	border: 0;
	background: none;
	box-shadow: none;
	color: rgba(255, 255, 255, .6);
	font-size: 13px;
	font-weight: 600;
	text-align: left;
	text-transform: none;
	cursor: pointer;
}
.djh-tabs button:hover, .djh-tabs button.is-active { color: #fff; }
.djh-tab-label { display: block; margin-bottom: 8px; }
.djh-tab-bar { display: block; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.djh-tab-bar i { display: block; height: 100%; width: 0; background: #fff; }
.djh-tabs button.is-active .djh-tab-bar i { animation: djh-progress var(--djh-interval) linear forwards; }
.djh-slider.is-paused .djh-tabs button.is-active .djh-tab-bar i { animation-play-state: paused; }
.djh-slider.is-static .djh-tabs button.is-active .djh-tab-bar i { animation: none; width: 100%; }
@keyframes djh-progress { from { width: 0; } to { width: 100%; } }

@media (max-width: 1024px) {
	/* not enough width beside the caption: show specs as a compact row above it */
	.djh-specs {
		left: clamp(24px, 5vw, 64px);
		right: auto;
		bottom: auto;
		top: 72px;
		width: auto;
		display: flex;
		gap: 18px;
		padding: 10px 16px;
	}
	.djh-specs li { padding: 0; border: 0; }
	.djh-specs strong { font-size: 22px; }
	.djh-specs small { font-size: 12px; }
	.djh-specs span { font-size: 11px; margin-top: 3px; }
}
@media (max-width: 768px) {
	.djh-slider { height: 520px; border-radius: 12px; }
	.djh-specs { left: 20px; right: 20px; top: 16px; justify-content: space-between; gap: 10px; }
	.djh-media img { object-position: 60% center; }
	.djh-caption { left: 20px; right: 20px; bottom: 84px; }
	.djh-line { font-size: 15px; margin-bottom: 18px; }
	.djh-tabs { left: 20px; right: 20px; bottom: 22px; gap: 10px; }
	.djh-tabs button { font-size: 12px; }
	.djh-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.djh-slide, .djh-media img, .djh-caption > *, .djh-specs li { transition: none; transform: none; }
}
.djh-hero h1 { margin: 0 0 8px; font-size: 44px; font-weight: 600; color: #fff; }
.djh-hero p { margin: 0 0 20px; font-size: 18px; }
.djh-links { display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; }
.djh-btn {
	display: inline-block;
	padding: 10px 28px;
	border-radius: 999px;
	background: var(--djipk-blue);
	color: #fff !important;
	font-weight: 600;
}
.djh-btn:hover { background: var(--djipk-blue-hover); }
.djh-more { color: var(--djipk-blue); font-weight: 600; }
.djh-hero .djh-more { color: #fff; }

.djh-segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 16px; }
.djh-seg {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 28px 24px 32px;
	border-radius: 16px;
	background: var(--djipk-bg-alt);
	color: var(--djipk-text);
	transition: box-shadow .2s;
}
.djh-seg:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.djh-seg img { width: 100%; max-width: 320px; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.djh-seg strong { margin: 12px 0 6px; font-size: 22px; font-weight: 600; }
.djh-seg span { color: var(--djipk-muted); font-size: 14px; line-height: 1.5; }
.djh-seg em { margin-top: 12px; font-style: normal; color: var(--djipk-blue); font-weight: 600; }

.djh-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0 0 56px; }
.djh-tile {
	position: relative;
	min-height: 420px;
	border-radius: 16px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	display: flex;
	justify-content: center;
}
.djh-tile-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 40px;
	color: #fff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.djh-tile-text strong { font-size: 28px; font-weight: 600; }
.djh-tile-text em { font-style: normal; font-size: 16px; margin: 4px 0 10px; }
.djh-tile .djh-more { color: #fff; }
.djh-tile-light {
	background-color: #fff;
	background-size: 62%;
	background-position: center 78%;
	background-repeat: no-repeat;
	box-shadow: inset 0 0 0 1px var(--djipk-line);
}
.djh-tile-light .djh-tile-text { color: var(--djipk-text); text-shadow: none; }
.djh-tile-light .djh-more { color: var(--djipk-blue); }

.djh-section { text-align: center; margin: 56px auto 24px; max-width: 760px; }
.djh-section h2 { font-size: 32px; font-weight: 600; margin: 0 0 8px; }
.djh-section p { color: var(--djipk-muted); margin: 0 0 8px; }

.djh-cat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.djh-cat-row a {
	padding: 8px 18px;
	border-radius: 999px;
	background: var(--djipk-bg-alt);
	color: var(--djipk-text);
	font-size: 14px;
}
.djh-cat-row a:hover { background: var(--djipk-line); color: var(--djipk-blue); }

.djh-why {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: 72px 0 0;
	padding: 40px 32px;
	border-radius: 16px;
	background: var(--djipk-bg-alt);
}
.djh-why h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.djh-why p { margin: 0; color: var(--djipk-muted); font-size: 14px; }
.djh-cta { text-align: center; padding: 72px 16px 32px; }
.djh-cta h2 { font-size: 32px; font-weight: 600; margin: 0 0 8px; }
.djh-cta p { color: var(--djipk-muted); margin: 0 0 20px; }

/* white-background product photos blend into the light-grey image well (shop grids only:
   on the single-product gallery the hover-zoom layer sits on top of the image, and
   blending would show both at once) */
.wd-product .product-element-top img { mix-blend-mode: multiply; }
.single-product .woocommerce-product-gallery img,
.single-product .woocommerce-product-gallery .zoomImg { mix-blend-mode: normal; }
.single-product .woocommerce-product-gallery .zoomImg { background: #fff; }

@media (max-width: 1024px) {
	.djh-segments { grid-template-columns: 1fr; }
	.djh-why { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.djh-grid { grid-template-columns: 1fr; }
	.djh-tile { min-height: 320px; }
	.djh-section h2, .djh-cta h2 { font-size: 24px; }
	.djh-why { grid-template-columns: 1fr; }
	.single-product .product_title { font-size: 24px; }
	.djipk-cta .btn { flex: 1 1 100%; }
	.dji-specs th { width: 42%; }
}

/* banner trust bar on smaller screens: keep only the dealer badge */
@media (max-width: 1024px) {
	.djh-trust { display: none; }
	.djh-topbar { padding: 18px 20px; }
}
@media (max-width: 768px) {
	.djh-specs { top: 64px; }
	.djh-dealer { font-size: 12px; padding: 5px 12px; }
}

/* mobile header: equal side columns so the logo sits dead centre ("Menu" label is wider than the search icon) */
@media (max-width: 1024px) {
	.whb-general-header .whb-mobile-left,
	.whb-general-header .whb-mobile-right { flex: 1 1 0; }
	.whb-general-header .whb-mobile-right { justify-content: flex-end; }
	.whb-general-header .whb-mobile-center { flex: 0 0 auto; }
}

/* homepage intro under the banner: the page's H1 and a short "who we are" */
.djh-intro { max-width: 860px; margin: 56px auto 8px; padding: 0 16px; text-align: center; }
.djh-intro h1 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 600; margin: 0 0 16px; color: var(--djipk-text); }
.djh-intro p { color: var(--djipk-muted); font-size: 16px; line-height: 1.7; margin: 0 0 12px; }

/* discontinued notice on product pages */
.djipk-discontinued { padding: 14px 18px; border-left: 3px solid #f0a020; background: #fff8ec; border-radius: 6px; }

/* mobile: the related-products carousel and zoom layer pushed pages ~13px wider than the screen */
html, body { overflow-x: clip; }
@media (hover: none) { .zoomImg { display: none !important; } }

/* phones: shorter product gallery so "Request a Quote" is on the first screen */
@media (max-width: 768px) {
	.single-product .woocommerce-product-gallery img { max-height: 42vh; width: auto; margin: 0 auto; object-fit: contain; }
}

/* discontinued badge above the quote buttons */
.djipk-badge-discontinued { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: #fff3dc; color: #8a5a00; font-size: 13px; font-weight: 600; letter-spacing: .02em; }

/* About / Warranty / Returns / Shipping pages */
.djipk-policy { max-width: 820px; margin: 0 auto; }
.djipk-policy .djipk-lead { font-size: 18px; line-height: 1.7; color: var(--djipk-text); margin-bottom: 28px; }
.djipk-policy h2 { font-size: 22px; margin: 36px 0 12px; }
.djipk-policy ul, .djipk-policy ol { padding-left: 20px; }
.djipk-policy li { margin-bottom: 8px; line-height: 1.65; }

/* homepage intro: justified on wider screens (narrow phones get ragged gaps, so they stay centred) */
@media (min-width: 768px) {
	.djh-intro p { text-align: justify; text-align-last: center; hyphens: auto; }
}
