/* KHOME ShinkoLite Province — classic PHP template styles (v1.1.5) */

:root {
	--kh-orange:     #ff6b1a;
	--kh-orange-600: #e85a0c;
	--kh-navy:       #0c2340;
	--kh-navy-50:    #f3f6fb;
	--kh-dark:       #111827;
	--kh-grey:       #6B7280;
	--kh-light:      #f8fafc;
	--kh-line:       #06C755;
	--kh-line-600:   #05A647;
	--kh-border:     rgba(0,0,0,.08);
	--kh-radius:     10px;
	--kh-radius-lg:  16px;
	--kh-shadow-sm:  0 1px 2px rgba(12,35,64,.06), 0 1px 3px rgba(12,35,64,.08);
	--kh-shadow-md:  0 6px 18px rgba(12,35,64,.08);
}

.kh-provpage { color: var(--kh-dark); }
.kh-provpage a { color: inherit; }
.kh-provpage .kh-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.kh-provpage .kh-section { padding: 100px 0; }
.kh-provpage .kh-section--grey { background: var(--kh-light); }
.kh-provpage .kh-section--navy { background: var(--kh-navy); }
.kh-provpage .kh-section--navy .kh-h2 { color: #fff; }
.kh-provpage .kh-section--navy .kh-sub { color: rgba(255,255,255,.78); }
/* Section header (h2/sub/section--head) is shared from khome-global.css */
.kh-provpage .kh-sub,
.kh-provpage .kh-section--head .kh-sub { max-width: 850px; }

/* Inline links typed into editable text fields — orange, like other templates */
.kh-provpage p a:not(.kh-btn) { color: var(--kh-orange); font-weight: 600; text-decoration: none; }
.kh-provpage p a:not(.kh-btn):hover { color: var(--kh-orange-600); }

/* === Hero extras (base hero styles live in khome-global.css) === */
.kh-provpage .kh-page-hero .kh-cta-buttons { margin-top: 28px; }

/* === Hero with video — two columns, player on the right === */
.kh-pv-hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(24px, 3vw, 44px);
	align-items: center;
}
/* The headline has roughly half the width it gets in the full-width hero, so
   it steps down a size — otherwise it wraps to four lines and towers over the
   player. Scoped to .kh-provpage to outrank .kh-page-hero h1 in the global CSS. */
.kh-provpage .kh-page-hero .kh-pv-hero-grid h1 {
	font-size: clamp(1.6rem, 2.8vw, 2.3rem);
	margin-bottom: .45em;
}
.kh-provpage .kh-page-hero .kh-pv-hero-grid .lead {
	font-size: 1.02rem;
}
.kh-pv-hero-copy,
.kh-pv-hero-media { min-width: 0; }
/* the lead is capped at 680px in the full-width hero; here it fills its column */
.kh-pv-hero-grid .lead { max-width: none; }
.kh-pv-video {
	position: relative;
	padding-top: 56.25%;
	border-radius: var(--kh-radius-lg);
	overflow: hidden;
	background: #000;
	box-shadow: var(--kh-shadow-md);
}
.kh-pv-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* === Trust strip === */
.kh-pv-trust { background: var(--kh-navy); color: #fff; padding: 26px 0; }
.kh-pv-trust-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 20px;
	text-align: center;
}
.kh-pv-trust-value { font-size: 1.5rem; font-weight: 800; color: var(--kh-orange); line-height: 1.25; }
.kh-pv-trust-caption { font-size: .85rem; opacity: .8; margin-top: 2px; }

/* === Intro + aside === */
.kh-pv-intro-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}
.kh-pv-intro-copy p { margin: 0 0 16px; color: #374151; }
.kh-pv-intro-copy p:last-child { margin-bottom: 0; }
.kh-pv-intro-copy .kh-h2 { text-align: left; margin-bottom: 18px !important; }
.kh-pv-aside {
	background: var(--kh-light);
	border: 1px solid var(--kh-border);
	border-radius: var(--kh-radius-lg);
	padding: 26px 28px;
}
.kh-provpage .kh-pv-aside h3 { margin: 0 0 14px !important; font-size: 1.05rem; color: var(--kh-navy); }
/* Each point is a stacked title + body separated by a hairline, rather than a
   bullet with an em-dash — easier to scan than a run-on line. */
.kh-pv-aside ul { margin: 0; padding: 0; list-style: none; font-size: .95rem; }
.kh-pv-aside li { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--kh-border); }
.kh-pv-aside li:first-child { padding-top: 0; }
.kh-pv-aside li:last-child { padding-bottom: 0; border-bottom: 0; }
.kh-pv-aside-title {
	display: flex;
	align-items: baseline;
	gap: 9px;
	font-weight: 700;
	color: var(--kh-navy);
	margin-bottom: 5px;
}
.kh-pv-aside-title i { color: var(--kh-orange); font-size: .9em; flex: none; }
.kh-pv-aside-body {
	display: block;
	color: var(--kh-grey);
	font-size: .9rem;
	line-height: 1.75;
}

/* === Tables (same look as the color-page price table) === */
.kh-pv-table-wrap {
	overflow-x: auto;
	background: #fff;
	border: 1px solid var(--kh-border);
	border-radius: var(--kh-radius-lg);
	box-shadow: var(--kh-shadow-sm);
}
.kh-pv-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .95rem;
	text-align: center;
}
.kh-pv-table th {
	background: var(--kh-navy);
	color: #fff;
	font-weight: 600;
	font-size: .88rem;
	padding: 14px 16px;
	white-space: nowrap;
}
.kh-pv-table td { padding: 13px 16px; border-top: 1px solid var(--kh-border); color: #374151; }
.kh-pv-table tbody tr:nth-child(even) { background: var(--kh-light); }
.kh-pv-table tbody tr:hover { background: var(--kh-navy-50); }
.kh-pv-cell-left { text-align: left; }
.kh-pv-cell-series { font-weight: 700; color: var(--kh-dark); white-space: nowrap; }
.kh-pv-cell-price { font-weight: 700; color: var(--kh-dark); white-space: nowrap; }
.kh-pv-cell-note { color: var(--kh-grey); font-size: .9rem; }
.kh-pv-badge {
	display: inline-block;
	background: var(--kh-orange);
	color: #fff;
	font-size: .68rem;
	font-weight: 700;
	padding: 2px 9px;
	border-radius: 20px;
	margin-left: 6px;
	vertical-align: middle;
	white-space: nowrap;
}
.kh-pv-table-note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 14px 2px 0;
	font-size: .88rem;
	color: var(--kh-grey);
}
.kh-pv-table-note i { color: var(--kh-orange); line-height: 1.6; flex: none; }

/* === Photo gallery (under the colours table) === */
.kh-pv-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-top: 34px;
}
.kh-pv-gallery-item { margin: 0; }
.kh-pv-gallery-item img {
	display: block;
	width: 100%;
	/* height:auto is required — the img height attribute would otherwise
	   win over aspect-ratio and the crop would not apply */
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--kh-radius-lg);
	box-shadow: var(--kh-shadow-sm);
}
.kh-pv-gallery-item figcaption {
	margin-top: 10px;
	font-size: .88rem;
	color: var(--kh-grey);
	line-height: 1.6;
	text-align: center;
}

/* === Cards (specs + accessories) === */
.kh-pv-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}
.kh-pv-card {
	background: #fff;
	border-radius: var(--kh-radius-lg);
	padding: 24px 26px;
	box-shadow: var(--kh-shadow-sm);
}
.kh-pv-cards--outline .kh-pv-card { box-shadow: none; border: 1px solid var(--kh-border); }
.kh-provpage .kh-pv-card h3 {
	margin: 0 0 12px !important;
	font-size: 1.02rem;
	color: var(--kh-navy);
	display: flex;
	align-items: center;
	gap: 9px;
}
.kh-pv-card h3 i { color: var(--kh-orange); font-size: 1rem; }
.kh-provpage .kh-pv-card h3.kh-pv-card-orange { color: var(--kh-orange); }
.kh-pv-card ul { margin: 0; padding-left: 20px; font-size: .93rem; color: #374151; }
.kh-pv-card li { margin: 7px 0; }
.kh-pv-card p { margin: 0; font-size: .92rem; color: #374151; }

/* === How to order steps === */
.kh-pv-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 20px;
}
.kh-pv-step { text-align: center; padding: 10px 16px; }
.kh-pv-step-num {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--kh-orange);
	color: #fff;
	font-weight: 800;
	font-size: 1.15rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
}
.kh-provpage .kh-pv-step h3 { margin: 0 0 8px !important; font-size: 1rem; color: var(--kh-dark); }
.kh-pv-step p { margin: 0; font-size: .92rem; color: var(--kh-grey); }

/* === FAQ (same look as color-page FAQ) === */
.kh-pv-faq { max-width: 820px; margin: 0 auto; }
.kh-pv-faq-item {
	background: #fff;
	border: 1px solid #e4e8ee;
	border-radius: var(--kh-radius);
	padding: 14px 18px;
	margin-bottom: 10px;
}
.kh-pv-faq-item summary {
	font-weight: 700;
	color: var(--kh-navy);
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 10px;
}
.kh-pv-faq-item summary::-webkit-details-marker { display: none; }
.kh-pv-faq-item summary::before {
	content: "";
	width: 11px;
	height: 11px;
	flex: none;
	position: relative;
	top: 2px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 2.5 L9 6 L3.5 9.5 Z' fill='%230c2340' stroke='%230c2340' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
	transition: transform .2s ease;
}
.kh-pv-faq-item[open] summary::before { transform: rotate(90deg); }
.kh-pv-faq-a { color: #5f6a78; margin-top: 8px; }
.kh-pv-faq-a p { margin: 0 0 10px; }
.kh-pv-faq-a p:last-child { margin-bottom: 0; }

/* === Contact CTA === */
.kh-pv-cta { text-align: center; }
.kh-pv-cta .kh-cta-buttons { justify-content: center; margin-top: 26px; }

/* === CTA buttons (shared pattern) === */
.kh-cta-buttons {
	display: flex;
	flex-wrap: nowrap;
	gap: 14px;
}
/* .kh-provpage scope so this outranks `.kh-provpage a { color: inherit }` */
.kh-provpage .kh-btn, .kh-provpage .kh-btn:hover { color: #fff; }
.kh-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	border-radius: var(--kh-radius);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: background .2s ease, transform .2s ease;
}
.kh-btn:hover { transform: translateY(-1px); }
.kh-btn i { font-size: 1.1em; line-height: 1; }
.kh-btn--phone { background: var(--kh-orange); }
.kh-btn--phone:hover { background: var(--kh-orange-600); }
.kh-btn--line { background: var(--kh-line); }
.kh-btn--line:hover { background: var(--kh-line-600); }

/* === Responsive === */
@media (max-width: 960px) {
	.kh-provpage .kh-section { padding: 70px 0; }
	.kh-pv-intro-grid { grid-template-columns: 1fr; }
	.kh-pv-hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.kh-provpage .kh-section { padding: 36px 0; }
	/* hide secondary table columns on mobile instead of horizontal scroll */
	.kh-pv-hide-sm { display: none; }
	.kh-pv-table th, .kh-pv-table td { padding: 11px 10px; }
	/* CTA buttons stay side-by-side in ONE line on mobile */
	.kh-cta-buttons .kh-btn { flex: 1; min-width: 0; justify-content: center; padding: 13px 12px; font-size: .95rem; }
	.kh-pv-trust-value { font-size: 1.2rem; }
	.kh-pv-trust-caption { font-size: .78rem; }
}
