/*
Theme Name: NextGen Polywood
Theme URI: https://nextgenpolywood.com
Author: NextGen Polywood Pvt Ltd
Description: Business theme for NextGen Polywood Pvt Ltd — PVC, uPVC and WPC wall panels, louvers, profile sheets and more. Homepage sections, a Catalogues section where each PDF is uploaded and replaced from the dashboard, a Products section, an enquiry form that saves every lead in the dashboard, and a WhatsApp button. All text, phone numbers and images are editable from Appearance › Customize.
Version: 1.3.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nextgen-polywood
*/

/* ---------- Tokens ---------- */
:root {
	--accent: #1F5A3D;
	--accent-dark: color-mix(in srgb, var(--accent) 78%, #000);
	--accent-soft: color-mix(in srgb, var(--accent) 12%, #fff);
	--accent-chip: color-mix(in srgb, var(--accent) 82%, #fff);
	--ink: #14201A;
	--ink-2: #3B4740;
	--muted: #4A564F;
	--line: #DDE3DE;
	--ground: #F6F7F4;
	--white: #FFFFFF;
	--wood: #8A5523;
	--dark: #14201A;
	--dark-text: #C9D3CC;
	--radius: 18px;
	--max: 1240px;
	--font-display: "Sora", system-ui, sans-serif;
	--font-body: "Manrope", system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--ground);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; color: inherit; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: 8px;
}
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, #fff); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: 999px;
	font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
	border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--accent-soft); color: var(--ink); }
.btn--ghost { border-color: #7FA08D; color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.08); color: var(--white); }
.btn--outline { border-color: var(--accent); color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: var(--white); }
.btn--dark { background: var(--dark); color: var(--white); }
.btn--dark:hover { background: #000; color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 20px; }

.eyebrow {
	display: block; color: var(--wood); font-weight: 700; letter-spacing: .1em;
	text-transform: uppercase; font-size: 13px; margin-bottom: 12px;
}
.section-title { font-size: clamp(28px, 3.4vw, 42px); margin: 0; }
.section { padding: 88px 0; }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Top bar ---------- */
.topbar { background: var(--dark); color: #E7ECE8; font-size: 14px; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: #E7ECE8; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
	width: 44px; height: 44px; border-radius: 12px; background: var(--accent);
	display: flex; align-items: center; justify-content: center; flex: none;
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.brand__sub { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.custom-logo-link img { max-height: 64px; width: auto; }
@media (max-width: 600px) { .custom-logo-link img { max-height: 50px; } }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 0; display: inline-block; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--accent); }
.main-nav .sub-menu { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
	display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
	background: var(--white); color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1024px) {
	.nav-toggle { display: inline-flex; }
	.main-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.06);
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px; }
	.main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.main-nav .sub-menu { display: block; padding: 0 0 0 16px; }
	.header-quote { display: none; }
}

/* ---------- Hero ---------- */
.hero { background: var(--dark); color: var(--white); }
.hero .container { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__badge { align-self: flex-start; padding: 6px 14px; border-radius: 999px; border: 1px solid #4F7A63; color: #BFD8C9; font-size: 14px; font-weight: 600; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; margin: 0; }
.hero__text { font-size: 18px; color: var(--dark-text); max-width: 560px; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero__tile { position: relative; height: 260px; border-radius: 20px; overflow: hidden; }
.hero__tile--wide { grid-column: span 2; height: 180px; }
.hero__tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-label {
	position: absolute; left: 14px; bottom: 14px; background: var(--white); color: var(--ink);
	font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 8px;
}
@media (max-width: 560px) {
	.hero .container { padding-top: 48px; padding-bottom: 56px; }
	.hero__tile { height: 180px; }
	.hero__tile--wide { height: 140px; }
}

/* ---------- Swatches (shown until real photos are added) ---------- */
.swatch { width: 100%; height: 100%; min-height: 160px; }
.swatch--pvc { background: repeating-linear-gradient(90deg, #C9B79C 0 30px, #BBA88B 30px 32px); }
.swatch--upvc { background: repeating-linear-gradient(90deg, #E2DDD3 0 40px, #D2CCC0 40px 42px); }
.swatch--ceiling { background: repeating-linear-gradient(0deg, #EEF0EC 0 24px, #D9DED8 24px 26px); }
.swatch--louver { background: repeating-linear-gradient(90deg, #8B5E34 0 14px, #6E4826 14px 18px); }
.swatch--charcoal { background: repeating-linear-gradient(90deg, #3A3A38 0 12px, #262624 12px 16px); }
.swatch--profile { background: linear-gradient(180deg, #F4F1EB, #E9E4DA); }
.swatch--marble { background: linear-gradient(135deg, #F4F2EE 0%, #E4E0D8 45%, #F4F2EE 55%, #DAD5CB 100%); }
.swatch--cladding { background: repeating-linear-gradient(0deg, #7A5534 0 28px, #5E3F25 28px 31px); }
.swatch--decking { background: repeating-linear-gradient(90deg, #9A6B3E 0 46px, #7D5430 46px 49px); }
.swatch--laminate { background: linear-gradient(135deg, #D8C3A5, #C9B08C); }
.swatch--green { background: repeating-linear-gradient(0deg, #2E4A3B 0 22px, #263F32 22px 24px); }
.swatch--leaf { background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.swatch--leaf svg { width: 96px; height: 96px; opacity: .6; }

/* ---------- Stats ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--accent); }
.stat__label { color: var(--muted); }

/* ---------- Split (about / distributor) ---------- */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split__media { flex: 1 1 420px; min-width: 0; height: 380px; border-radius: 24px; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__copy { flex: 1 1 480px; min-width: 0; }
.split__copy p { font-size: 17px; line-height: 1.7; color: var(--ink-2); }

/* ---------- Product cards ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.section-head__link { font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.product-card {
	display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; text-decoration: none; color: var(--ink); background: var(--white);
	transition: transform .2s, box-shadow .2s;
}
.product-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20,32,26,.08); }
.product-card__media { height: 180px; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.product-card__title { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.product-card__use { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---------- Benefits ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.benefit { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.benefit__num {
	width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent);
	display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; margin-bottom: 12px;
}
.benefit h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.benefit p { color: var(--muted); margin: 0; }

/* ---------- Distributor ---------- */
.distributor { background: var(--accent); color: var(--white); padding: 80px 0; }
.distributor .eyebrow { color: #CFE3D6; }
.distributor p { color: #E3EEE7; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 80%, #fff 20%); font-size: 14px; font-weight: 600; }
.presence-card { flex: 1 1 360px; min-width: 0; background: var(--white); color: var(--ink); border-radius: 20px; padding: 28px; }
.presence-card h3 { font-size: 20px; }
.presence-card ul { list-style: none; margin: 0 0 20px; padding: 0; }
.presence-card li { color: var(--muted); padding: 6px 0; display: flex; gap: 10px; align-items: flex-start; }
.presence-card li svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--accent); }

/* ---------- Catalogue band ---------- */
.catalogue-band {
	background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px;
	display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.catalogue-band h2 { font-size: 24px; margin: 0 0 6px; }
.catalogue-band p { color: var(--muted); margin: 0; }

/* ---------- Contact / form ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 48px; }
.contact__info { flex: 1 1 340px; min-width: 0; }
.contact__info p { font-size: 17px; color: var(--ink-2); }
.contact-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-weight: 600; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.enquiry-form {
	flex: 1 1 480px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.enquiry-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.enquiry-form .full { grid-column: 1 / -1; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
	min-height: 46px; border: 1px solid #B9C4BD; border-radius: 10px; padding: 10px 12px;
	font: inherit; font-weight: 400; background: var(--white); color: var(--ink); width: 100%;
}
.enquiry-form textarea { min-height: 110px; resize: vertical; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); }
.enquiry-form .btn { width: 100%; }
.req { color: #B42318; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-notice--ok { background: #E3F2E8; color: #14532D; }
.form-notice--err { background: #FDECEA; color: #8A1C12; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--dark); color: var(--white); padding: 56px 0; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); margin: 0; }
.page-hero p { color: var(--dark-text); margin: 10px 0 0; max-width: 680px; }
.breadcrumbs { font-size: 14px; color: var(--dark-text); margin-bottom: 12px; }
.breadcrumbs a { color: var(--dark-text); }
.entry-content { max-width: 820px; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 28px; margin-top: 1.6em; }
.entry-content h3 { font-size: 22px; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content img { border-radius: 14px; }
.entry-content .alignwide { max-width: none; }
.entry-content table { width: 100%; border-collapse: collapse; background: var(--white); }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.wp-block-button__link { background: var(--accent); border-radius: 999px; font-weight: 700; }

.product-single { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.product-single__media { flex: 1 1 440px; min-width: 0; border-radius: 22px; overflow: hidden; height: 420px; background: var(--white); }
.product-single__media img { width: 100%; height: 100%; object-fit: cover; }
.product-single__body { flex: 1 1 440px; min-width: 0; }
.product-single__use { font-size: 18px; color: var(--muted); }
.product-single__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.product-single .entry-content { font-size: 17px; color: var(--ink-2); }

.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card__body { padding: 20px; }
.post-card h2 { font-size: 20px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-meta { color: var(--muted); font-size: 14px; }
.pagination { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* ---------- Catalogues ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.cat-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.cat-card:hover { box-shadow: 0 14px 30px rgba(20,32,26,.09); transform: translateY(-3px); }
.cat-card__cover { display: block; text-decoration: none; aspect-ratio: 3 / 4; background: var(--accent-soft); overflow: hidden; }
.cat-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.cat-card__placeholder {
	width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
	padding: 24px; text-align: center; color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.25;
	background: linear-gradient(160deg, var(--accent-soft), #fff 70%);
}
.cat-card__placeholder svg { width: 56px; height: 56px; opacity: .7; }
.cat-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-card__series { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wood); }
.cat-card__title { font-size: 18px; font-weight: 600; margin: 0; }
.cat-card__title a { color: var(--ink); text-decoration: none; }
.cat-card__title a:hover { color: var(--accent); }
.cat-card__line { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0; }
.cat-card__actions { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.cat-card__view { font-weight: 700; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none; }
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--white); }
.cat-single { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.cat-single__cover { flex: 0 1 380px; min-width: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 4; background: var(--white); }
.cat-single__cover img { width: 100%; height: 100%; object-fit: cover; }
.cat-single__body { flex: 1 1 420px; min-width: 0; }
.cat-single__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cat-single__meta { color: var(--muted); margin: 12px 0 0; font-size: 15px; }
.cat-single .entry-content { margin-top: 28px; font-size: 17px; color: var(--ink-2); }
.pdf-frame { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #525659; height: min(85vh, 1000px); }
.pdf-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.pdf-note { color: var(--muted); margin-top: 12px; font-size: 15px; }
.footer-group { font-size: 14px; border-top: 1px solid #2C3A32; padding-top: 12px; }
.footer-group span { display: block; color: var(--white); font-weight: 700; margin-bottom: 2px; }
@media (max-width: 600px) {
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.cat-card__body { padding: 12px 12px 16px; }
	.cat-card__title { font-size: 15px; }
	.cat-card__line { display: none; }
	.cat-card__actions .btn { width: 100%; padding: 0 10px; font-size: 14px; }
	.cat-card__placeholder { font-size: 14px; padding: 12px; }
	.pdf-frame { height: 70vh; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-text); }
.site-footer .container.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.footer-title { font-weight: 700; color: var(--white); display: block; margin-bottom: 12px; }
.footer-brand { font-family: var(--font-display); font-size: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--dark-text); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid #2C3A32; display: inline-flex; align-items: center; justify-content: center; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid #2C3A32; font-size: 14px; }
.footer-bottom .container { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
	background: #1F8A4C; color: var(--white); display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.wa-float:hover { background: #17703D; color: var(--white); }
.wa-float svg { width: 28px; height: 28px; }

@media (max-width: 600px) {
	.topbar { display: none; }
	.section { padding: 64px 0; }
	.split__media { height: 260px; }
	.product-single__media { height: 300px; }
	.enquiry-form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.product-card { transition: none; }
}

/* ==========================================================
 * v1.2 — warm interior palette: ivory, walnut, olive, brass
 * ========================================================== */
:root {
	--ink: #241C17;
	--ink-2: #4A3F37;
	--muted: #6B5D52;
	--line: #E7DFD3;
	--ground: #F8F4EE;
	--white: #FFFFFF;
	--wood: #8A5A12;
	--gold: #C9952B;
	--gold-soft: #F3E6CC;
	--dark: #2A211C;
	--dark-2: #3A2E26;
	--dark-text: #DCD1C5;
}
.topbar { background: var(--dark-2); color: #EFE6DA; }
.topbar a { color: #EFE6DA; }
.site-header { box-shadow: 0 1px 0 var(--line); }
.header-phone {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
	border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; font-size: 15px;
}
.header-phone svg { width: 18px; height: 18px; color: var(--accent); }
.header-phone:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 1024px) { .header-phone span { display: none; } .header-phone { padding: 0 12px; } }
.hero { background: radial-gradient(120% 90% at 85% 10%, #3A2E26 0%, var(--dark) 60%); }
.hero__badge { border-color: var(--gold); color: var(--gold-soft); }
.hero h1 { color: #FFF8EE; }
.hero__text { color: var(--dark-text); }
.btn--light { background: var(--gold); color: #241C17; }
.btn--light:hover { background: #E0AE47; color: #241C17; }
.btn--ghost { border-color: #8E7E70; }
.eyebrow { color: var(--wood); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); display: inline-block; }
.section-title { color: var(--ink); }
.stat__num { color: var(--wood); }
.stats { background: var(--white); }
.product-card, .cat-card, .benefit, .feature { border-color: var(--line); }
.swatch--green { background: repeating-linear-gradient(0deg, #5A4636 0 22px, #4B3A2C 22px 24px); }
.swatch--leaf, .cat-card__cover { background: var(--gold-soft); }
.cat-card__placeholder { color: var(--wood); background: linear-gradient(160deg, var(--gold-soft), #fff 75%); }
.cat-card__series { color: var(--wood); }
.distributor { background: linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 70%, #1b1410) 100%); }
.distributor .eyebrow { color: var(--gold-soft); }
.distributor p { color: #EEF0E6; }
.chip { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { border-color: #CDBFAE; }
.site-footer { background: var(--dark); }
.site-footer .footer-bottom, .footer-group, .social a { border-color: #44372E; }
.footer-title { color: #FFF8EE; }
.page-hero { background: radial-gradient(120% 120% at 90% 0%, #3A2E26 0%, var(--dark) 65%); }
.page-hero h1 { color: #FFF8EE; }
.filter-chip.is-active { background: var(--accent); border-color: var(--accent); }

/* Feature tiles */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 40px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(42,33,28,.08); }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); color: var(--wood); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.55; }

/* FAQ */
.faq-wrap { display: flex; flex-wrap: wrap; gap: 40px; }
.faq-intro { flex: 1 1 300px; min-width: 0; }
.faq-intro p { color: var(--muted); margin-top: 16px; }
.faq-list { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.faq { background: var(--ground); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 700; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--wood); font-weight: 400; }
.faq[open] summary::after { content: "\2212"; }
.faq p { margin: 0 0 18px; color: var(--ink-2); line-height: 1.65; }

/* Floating actions */
.wa-float { display: none; }
.float-actions { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.float-btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px;
	font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,.18); font-size: 15px;
}
.float-btn svg { width: 22px; height: 22px; }
.float-btn--cat { background: var(--gold); color: #241C17; }
.float-btn--cat:hover { background: #E0AE47; color: #241C17; }
.float-btn--wa { background: #1F8A4C; color: #fff; }
.float-btn--wa:hover { background: #17703D; color: #fff; }
@media (max-width: 600px) { .float-btn span { display: none; } .float-btn { padding: 0; width: 52px; justify-content: center; } }

/* Product page galleries */
.entry-content .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 20px 0 28px; padding: 0; }
.entry-content .wp-block-gallery.columns-2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.entry-content .wp-block-gallery figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.entry-content .wp-block-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.entry-content .wp-block-gallery.columns-2 img { aspect-ratio: 9 / 8; object-fit: contain; }
.entry-content h3 { margin: 26px 0 8px; font-size: 19px; }

/* =====================================================================
   v1.3 — Premium refresh (ivory, deep forest green, brass; serif display)
   ===================================================================== */
:root {
	--ink: #1B1E1C;
	--ink-2: #454A47;
	--muted: #6F736F;
	--line: #E7E1D6;
	--ground: #F7F4EE;
	--white: #FFFFFF;
	--wood: #9A7330;
	--gold: #B8893A;
	--gold-2: #CFA556;
	--gold-soft: #F1E8D6;
	--dark: #13241B;
	--dark-2: #0E1B14;
	--dark-text: #D9DED6;
	--radius: 6px;
	--font-display: "Cormorant Garamond", Georgia, serif;
	--font-body: "Manrope", system-ui, sans-serif;
}
body { background: var(--ground); color: var(--ink); }
a { color: var(--dark); }
a:hover { color: var(--gold); }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.005em; }
h3, h4 { font-family: var(--font-body); font-weight: 600; letter-spacing: -.01em; }

/* Buttons: square, quiet, confident */
.btn { border-radius: 2px; min-height: 50px; padding: 0 28px; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 13px; }
.btn--primary, .btn--dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn--primary:hover, .btn--dark:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--light { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--light:hover { background: var(--gold-2); border-color: var(--gold-2); color: #fff; }
.btn--ghost { border: 1px solid rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--dark); }
.btn--outline { border: 1px solid var(--dark); color: var(--dark); }
.btn--outline:hover { background: var(--dark); color: #fff; }

/* Labels & titles */
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .24em; margin-bottom: 16px; }
.eyebrow::before { width: 36px; height: 1px; background: var(--gold); }
.section-title { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; font-weight: 600; color: var(--ink); }
.section { padding: 112px 0; }
.section--white { background: var(--white); border: 0; }
@media (max-width: 600px) { .section { padding: 72px 0; } }

/* Top bar & header */
.topbar { background: var(--dark-2); color: #CFD6CF; font-size: 12.5px; letter-spacing: .06em; }
.topbar a { color: #E9E2D2; }
.site-header { background: rgba(255,255,255,.96); backdrop-filter: saturate(140%) blur(8px); box-shadow: 0 1px 0 var(--line); border-bottom: 0; }
.site-header .container { padding-top: 12px; padding-bottom: 12px; }
.main-nav a { font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--gold); }
.header-phone { border-radius: 2px; font-weight: 600; font-size: 14px; border-color: var(--line); }
.header-phone svg { color: var(--gold); }
.header-phone:hover { border-color: var(--gold); color: var(--ink); }
.nav-toggle { border-radius: 2px; }

/* Hero: full-bleed photograph */
.hero.hero--full { position: relative; background: var(--dark) var(--hero-bg) center / cover no-repeat; min-height: min(88vh, 820px); display: flex; align-items: center; isolation: isolate; }
.hero.hero--full::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,20,14,.86) 0%, rgba(10,20,14,.62) 45%, rgba(10,20,14,.15) 100%); }
.hero.hero--full .container { width: 100%; padding-top: 96px; padding-bottom: 96px; }
.hero.hero--full .hero__media { display: none; }
.hero.hero--full .hero__copy { max-width: 680px; flex: 0 1 680px; gap: 26px; }
.hero__badge { border-radius: 0; border: 0; padding: 0; color: var(--gold-2); font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; color: #fff; }
.hero__text { font-size: 18px; line-height: 1.7; color: #E4E7E1; max-width: 540px; }
@media (max-width: 600px) { .hero.hero--full { min-height: 78vh; } .hero.hero--full::before { background: linear-gradient(180deg, rgba(10,20,14,.55) 0%, rgba(10,20,14,.85) 100%); } }

/* Highlights strip */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats .container { padding-top: 40px; padding-bottom: 40px; }
.stats .container > div { border-left: 1px solid var(--line); padding-left: 24px; }
.stats .container > div:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1; color: var(--dark); margin-bottom: 8px; }
.stat__label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 600px) { .stats .container > div { border-left: 0; padding-left: 0; } }

/* About split */
.split { gap: 72px; }
.split__media { height: 520px; border-radius: 0; }
.split__copy p { color: var(--ink-2); }
@media (max-width: 600px) { .split__media { height: 300px; } }

/* Product cards: image-led */
.section-head { margin-bottom: 48px; }
.section-head__link { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dark); border-bottom: 1px solid var(--gold); padding-bottom: 4px; text-decoration: none; }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px 24px; }
.product-card { border: 0; border-radius: 0; background: transparent; }
.product-card:hover { transform: none; box-shadow: none; }
.product-card__media { height: auto; aspect-ratio: 4 / 5; border-radius: 0; background: var(--gold-soft); }
.product-card__media img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { padding: 18px 0 0; gap: 4px; }
.product-card__title { font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.15; }
.product-card__use { font-size: 14px; color: var(--muted); }

/* Why NextGen */
.feature-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { background: transparent; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: 36px 32px; }
.feature:hover { transform: none; box-shadow: none; background: var(--white); }
.feature__icon { background: transparent; color: var(--gold); width: auto; height: auto; justify-content: flex-start; margin-bottom: 18px; }
.feature__icon svg { width: 30px; height: 30px; stroke-width: 1.4; }
.feature h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; }

/* Distributor band */
.distributor { background: var(--dark); }
.distributor .eyebrow { color: var(--gold-2); }
.distributor .section-title { color: #fff; }
.distributor p { color: var(--dark-text); }
.chip { border-radius: 0; background: transparent; border: 1px solid rgba(255,255,255,.28); letter-spacing: .04em; }
.presence-card { border-radius: 0; }

/* Catalogue cards */
.cat-card { border: 0; border-radius: 0; background: transparent; }
.cat-card:hover { box-shadow: none; transform: none; }
.cat-card__cover { border-radius: 0; box-shadow: 0 18px 40px rgba(19,36,27,.12); }
.cat-card__series { color: var(--gold); letter-spacing: .18em; }

/* FAQ */
.faq { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; }
.faq summary { font-weight: 600; font-size: 17px; padding: 22px 36px 22px 0; }
.faq summary::after { color: var(--gold); }

/* Forms */
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { border-radius: 2px; border-color: #D9D1C3; background: #fff; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(184,137,58,.15); }

/* Inner page headers */
.page-hero { background: var(--dark); }
.page-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 5vw, 64px); }
.filter-chip { border-radius: 0; }
.filter-chip.is-active { background: var(--dark); border-color: var(--dark); }

/* Footer */
.site-footer { background: var(--dark-2); }
.footer-title { color: #fff; font-family: var(--font-body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.footer-brand { font-family: var(--font-display); font-size: 26px; letter-spacing: 0; text-transform: none; }
.site-footer a:hover { color: var(--gold-2); }

/* Floating buttons */
.float-btn { border-radius: 2px; font-size: 13px; letter-spacing: .06em; min-height: 46px; }
.float-btn--cat { background: var(--gold); color: #fff; }
.float-btn--cat:hover { background: var(--gold-2); color: #fff; }
@media (max-width: 600px) { .float-btn { border-radius: 50%; width: 50px; min-height: 50px; } }

/* v1.3.1 header fit */
.btn, .header-phone { white-space: nowrap; }
.main-nav ul { flex-wrap: nowrap; gap: 4px 22px; }
.main-nav a { font-size: 12.5px; letter-spacing: .1em; }
@media (max-width: 1320px) { .header-phone span { display: none; } .header-phone { padding: 0 12px; } }
@media (max-width: 1180px) { .main-nav ul { gap: 4px 16px; } .main-nav a { letter-spacing: .06em; } }
@media (max-width: 1024px) { .main-nav ul { flex-wrap: wrap; } }

/* v1.3.2 Inspiration gallery */
.spaces { background: var(--dark); }
.spaces .section-title { color: #fff; }
.spaces .section-head__link { color: #fff; }
.spaces-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 290px; gap: 12px; }
.space { position: relative; margin: 0; overflow: hidden; background: #0b150f; }
.space:first-child { grid-column: span 2; grid-row: span 2; }
.space img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.space:hover img { transform: scale(1.04); }
.space figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 16px; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background: linear-gradient(transparent, rgba(0,0,0,.62)); }
@media (max-width: 800px) { .spaces-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; gap: 8px; } .space:first-child { grid-row: span 1; } .space figcaption { font-size: 10.5px; padding: 32px 12px 10px; } }

/* v1.3.3 Official WhatsApp icon (Simple Icons CDN) */
.ico-wa { display: inline-block; flex: none; width: 18px; height: 18px; background-color: currentColor; -webkit-mask: url(https://cdn.simpleicons.org/whatsapp) center / contain no-repeat; mask: url(https://cdn.simpleicons.org/whatsapp) center / contain no-repeat; }
.float-btn .ico-wa { width: 22px; height: 22px; }
.float-btn--wa { background: #25D366; color: #fff; }
.float-btn--wa:hover { background: #1EBE5A; color: #fff; }
.contact-list .ico-wa, .footer-grid .ico-wa { width: 20px; height: 20px; color: #25D366; }

/* v1.3.4 keep WhatsApp icon visible on mobile float button */
@media (max-width: 600px) { .float-btn span.ico-wa { display: inline-block; width: 26px; height: 26px; } }

/* v1.3.5 Mobile polish */
@media (max-width: 600px) {
	.section { padding: 56px 0; }
	.section-title { font-size: 34px; }
	.section-head { margin-bottom: 28px; }
	.hero__actions { flex-direction: column; align-items: stretch; }
	.hero__actions .btn { width: 100%; }
	/* Highlights: 2 x 2 */
	.stats .container { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-top: 28px; padding-bottom: 28px; }
	.stat__num { font-size: 30px; }
	.stat__label { font-size: 10.5px; letter-spacing: .12em; }
	/* Products: 2 per row */
	.product-grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
	.product-card__body { padding-top: 10px; }
	.product-card__title { font-size: 19px; }
	.product-card__use { font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	/* Why NextGen: compact 2 per row */
	.feature-grid { grid-template-columns: 1fr 1fr; margin-top: 32px; }
	.feature { padding: 20px 14px; }
	.feature__icon { margin-bottom: 10px; }
	.feature__icon svg { width: 24px; height: 24px; }
	.feature h3 { font-size: 19px; margin-bottom: 4px; }
	.feature p { font-size: 12.5px; line-height: 1.5; }
	/* Catalogue cards */
	.cat-grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
	.cat-card .btn { width: 100%; padding: 0 8px; font-size: 11.5px; letter-spacing: .04em; min-height: 42px; }
	.cat-card__body { padding-left: 0; padding-right: 0; }
	.cat-card h3, .cat-card__title { font-size: 16px; }
	.cat-card__series { font-size: 10px; }
	/* Inspiration: last photo full width */
	.space:last-child:nth-child(even) { grid-column: span 2; }
	/* About photo shorter */
	.split { gap: 32px; }
	.split__media { height: 260px; }
	.split__copy p { font-size: 16px; }
}

/* v1.3.6 Clear numbers (Cormorant uses old-style figures: 1 looked like I) */
h1, h2, h3, h4, .product-card__title, .feature h3, .section-title { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.stat__num { font-family: var(--font-body); font-weight: 600; letter-spacing: -.02em; font-size: 34px; }
@media (max-width: 600px) { .stat__num { font-size: 26px; } }
