/*
Theme Name: Jonker Industries
Theme URI: https://jonkerindustries.co.za
Author: Jonker Industries (Pty) Ltd
Description: House theme for Jonker Industries — company site and air-conditioning store on WooCommerce. Contact details, home-page text and the installation add-on are set in Appearance → Customize → Jonker Industries.
Version: 1.1.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jonker
WC requires at least: 9.0
WC tested up to: 11.1
*/

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */

@font-face { font-family: "Archivo Black"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/archivo-black-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("assets/fonts/open-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/open-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/open-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("assets/fonts/open-sans-latin-800-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */

:root {
	--navy: #05182F;
	--navy-deep: #000F2C;
	--blue-band: #03317F;
	--blue: #1466C8;
	--blue-bright: #3D94E8;
	--blue-tint: #EAF2FC;
	--green: #156037;
	--green-tint: #EDF6F0;
	--gold: #F2C14E;
	--ink: #17222E;
	--grey: #55636F;
	--rule: #DCE3EA;
	--tint: #F4F7FA;
	--page: #FFFFFF;
	--danger: #B3261E;

	--display: "Archivo Black", "Arial Black", Impact, sans-serif;
	--body: "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 6px;
	--shadow: 0 1px 2px rgba(5, 24, 47, .06), 0 8px 24px rgba(5, 24, 47, .08);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
h3, h4 { font-family: var(--body); font-weight: 800; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 10px; }
.eyebrow--light { color: var(--blue-bright); }

/* ---------- Buttons ---------- */

.btn,
.button,
button.button,
input[type="submit"],
.wp-block-button__link,
.wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: var(--radius);
	font-family: var(--body); font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
	background: var(--blue); color: #fff; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover, .button:hover, button.button:hover, input[type="submit"]:hover, .wp-block-button__link:hover, .wc-block-components-button:not(.is-link):hover { background: var(--blue-band); color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn + .btn { margin-left: 10px; }

/* ---------- Top bar & header ---------- */

.topbar { background: var(--navy-deep); color: #C9D6E4; font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.topbar__where { letter-spacing: .06em; text-transform: uppercase; font-weight: 600; font-size: 12px; align-self: center; white-space: nowrap; }
.topbar__links { display: flex; gap: 20px; white-space: nowrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--blue-bright); }

.site-header { background: #fff; border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand__img { display: block; width: 190px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; gap: 4px; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: 10px 12px; color: var(--ink); font-weight: 600; font-size: 15.5px; text-decoration: none; border-radius: var(--radius); white-space: nowrap; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-menu-ancestor > a { color: var(--blue); }
.site-nav .sub-menu { position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 60; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { font-weight: 500; }
.site-nav .sub-menu a:hover { background: var(--tint); }
.site-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.basket { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--navy); border-radius: var(--radius); }
.basket:hover { background: var(--tint); color: var(--blue); }
.basket-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 19px; text-align: center; }
.basket-count.is-empty { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: var(--radius); color: var(--navy); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 22px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s, opacity .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.site-header__inner { gap: 12px; min-height: 66px; }
	.brand__img { width: 160px; }
	.site-header__actions { margin-left: auto; }
	.site-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: var(--shadow); display: none; max-height: calc(100vh - 110px); overflow-y: auto; }
	.nav-open .site-nav { display: block; }
	.site-nav > ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
	.site-nav a { padding: 13px 4px; border-bottom: 1px solid var(--rule); border-radius: 0; font-size: 17px; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
	.site-nav .menu-item-has-children > a::after { display: none; }
}
@media (max-width: 640px) {
	.hide-sm { display: none !important; }
	.topbar__where { display: none; }
	.topbar__inner { justify-content: center; }
}

/* ---------- Hero ---------- */

.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 44%; background: linear-gradient(160deg, var(--blue-band), var(--blue)); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.hero__title { color: #fff; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; margin: 0 0 22px; }
.hero__title span { display: block; white-space: nowrap; }
@media (max-width: 380px) { .hero__title span { white-space: normal; } }
.hero__title-accent { color: var(--blue-bright); }
.hero__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 12px; }
.hero__price-from { font-size: 15px; font-weight: 600; color: #C9D6E4; text-transform: uppercase; letter-spacing: .08em; }
.hero__price strong { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4.6vw, 52px); line-height: 1; white-space: nowrap; }
.vat-chip { display: inline-block; background: var(--gold); color: var(--navy); font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 3px; white-space: nowrap; align-self: center; }
.hero__lede { color: #DCE6F1; font-size: 18px; max-width: 34em; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__actions .btn + .btn { margin-left: 0; }
.hero__benefits { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .15); display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 15px; font-weight: 600; }
.hero__benefits li { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.hero__benefits .icon { color: var(--blue-bright); flex: none; }
.hero__panel { display: flex; justify-content: center; }
.hero__unit { width: 100%; max-width: 560px; filter: drop-shadow(0 24px 30px rgba(0, 10, 30, .45)); }

@media (max-width: 860px) {
	.hero::after { width: 100%; height: 250px; inset: auto 0 0 0; clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%); }
	.hero__inner { grid-template-columns: 1fr; padding-bottom: 28px; }
	.hero__panel { order: 2; }
	.hero__unit { max-width: 420px; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tint { background: var(--tint); }
.section__head { max-width: 760px; margin-bottom: 36px; }
.section__title { font-size: clamp(28px, 3.6vw, 42px); }
.section__lede { font-size: 18.5px; color: var(--grey); margin: 0; }
.subhead { font-size: 22px; margin: 56px 0 20px; }

/* Type cards */
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.type-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); overflow: visible; }
.type-card__head { padding: 16px 22px; border-radius: var(--radius) var(--radius) 0 0; color: #fff; }
.type-card__head h3 { color: #fff; margin: 0; font-size: 20px; }
.type-card--green .type-card__head { background: var(--green); }
.type-card--blue .type-card__head { background: var(--blue); }
.type-card--navy .type-card__head { background: var(--navy); }
.type-card__badge { position: absolute; top: -13px; right: 18px; background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 3px; white-space: nowrap; z-index: 2; }
.type-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.type-card__body > .btn { margin-top: auto; align-self: flex-start; }
.type-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.type-card__price span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--grey); }
.type-card__price strong { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.1; color: var(--navy); white-space: nowrap; }
.type-card__price small { font-size: 13px; color: var(--grey); white-space: nowrap; }
.type-card p { color: var(--grey); font-size: 16px; }
.ticks { list-style: none; margin: 0 0 22px; padding: 14px 0 0; border-top: 1px solid var(--rule); }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 15.5px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 7px; height: 12px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(40deg); }
.type-card--green .ticks li::before { border-color: var(--green); }
@media (max-width: 900px) { .types { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.service { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.service:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.service__media { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--navy); }
.service__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.service:hover .service__img { transform: scale(1.04); }
.service__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14.5px; color: var(--blue); }
.service__more .icon { width: 16px; height: 16px; }
.service__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; flex: 1; }
.service__title { font-weight: 800; font-size: 18px; color: var(--navy); }
.service__text { font-size: 15px; color: var(--grey); line-height: 1.5; }
.services__more { margin: 26px 0 0; color: var(--grey); font-size: 15.5px; }
.services__more span { display: inline-block; margin: 4px 0 0 6px; padding: 3px 11px; border: 1px solid var(--rule); border-radius: 20px; background: #fff; font-weight: 600; color: var(--ink); white-space: nowrap; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } }

/* Credentials band */
.band { position: relative; background: var(--blue-band) var(--photo, none) center / cover no-repeat; color: #E4EDF8; padding-block: clamp(64px, 9vw, 112px); isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5, 24, 47, .94) 0%, rgba(3, 49, 127, .86) 55%, rgba(3, 49, 127, .55) 100%); }
.band .btn { margin-top: 8px; }
.band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.band__title { color: #fff; font-size: clamp(28px, 3.4vw, 40px); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .2); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(6px); }
.facts li { background: rgba(5, 24, 47, .72); padding: 22px 22px; }
.facts strong { display: block; font-family: var(--display); font-weight: 400; font-size: 32px; color: #fff; line-height: 1.1; }
.facts span { font-size: 15px; color: #BFD3EC; }
@media (max-width: 860px) { .band__inner { grid-template-columns: 1fr; gap: 28px; } }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.project { border-top: 4px solid var(--blue); padding-top: 16px; }
.project__year { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 0 0 6px; }
.project__name { font-size: 20px; margin: 0 0 2px; }
.project__where { font-size: 14.5px; font-weight: 600; color: var(--grey); margin: 0 0 10px; }
.project__text { font-size: 15.5px; color: var(--ink); margin: 0; }
@media (max-width: 860px) { .projects { grid-template-columns: 1fr; gap: 26px; } }


/* Retainer */
.retainer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.retainer__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.retainer .section__lede { margin-bottom: 24px; }
.retainer__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.retainer__actions .btn + .btn { margin-left: 0; }
@media (max-width: 860px) { .retainer { grid-template-columns: 1fr; } .retainer__img { aspect-ratio: 16 / 9; } }

/* ---------- Footer ---------- */

.contact-bar { background: var(--navy-deep); color: #C9D6E4; padding-block: 44px; }
.contact-bar__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 32px; align-items: center; }
.contact-bar__title { color: #fff; font-size: clamp(28px, 3.2vw, 38px); margin: 0 0 6px; }
.contact-bar__offices { margin: 0; font-size: 15px; }
.contact-bar__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.contact-bar__wide { grid-column: 1 / -1; }
.contact-bar__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-bright); }
.contact-bar a { color: #fff; font-weight: 700; font-size: 19px; text-decoration: none; white-space: nowrap; }
.contact-bar a:hover { color: var(--blue-bright); }
.contact-bar__logo { width: 170px; height: auto; display: block; }
@media (max-width: 900px) { .contact-bar__inner { grid-template-columns: 1fr; } .contact-bar__logo { width: 150px; } }
@media (max-width: 420px) { .contact-bar__grid { grid-template-columns: 1fr; } .contact-bar a { font-size: 17px; } }

.footer-links { background: var(--navy); padding-block: 18px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: #C9D6E4; font-size: 14.5px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-links .widget { color: #C9D6E4; font-size: 14.5px; }
.footer-links .widget-title { color: #fff; font-size: 15px; }

.legal { background: #000A1F; color: #8EA0B4; font-size: 12px; padding-block: 12px; }
.legal__inner { display: flex; justify-content: space-between; gap: 16px; }
.legal__inner span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .legal__inner { flex-direction: column; gap: 2px; } .legal__inner span:first-child { white-space: normal; } }

/* ---------- Pages ---------- */

.page-head { position: relative; isolation: isolate; background: var(--navy) var(--photo, none) center / cover no-repeat; padding-block: clamp(56px, 9vw, 120px) clamp(36px, 5vw, 60px); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 24, 47, .55) 0%, rgba(5, 24, 47, .9) 100%); }
.page-head__lede { color: #DCE6F1; font-size: 18px; max-width: 36em; margin: 12px 0 0; }
.page-head--shop { padding-block: clamp(40px, 6vw, 72px); }
.page-head--shop::before { background: linear-gradient(100deg, rgba(5, 24, 47, .96) 0%, rgba(5, 24, 47, .88) 55%, rgba(3, 49, 127, .7) 100%); }
.page-head__split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: center; }
.page-head__unit { width: 100%; max-width: 380px; justify-self: end; filter: drop-shadow(0 18px 24px rgba(0, 10, 30, .5)); }
@media (max-width: 760px) { .page-head__split { grid-template-columns: 1fr; } .page-head__unit { display: none; } }
.page-head__title { color: #fff; font-size: clamp(30px, 4.4vw, 50px); margin: 0; }
.prose { max-width: 860px; padding-block: 44px 72px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); }
.prose__lead-img { width: 100%; margin-bottom: 1.5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--blue); color: var(--grey); }
.prose .meta { color: var(--grey); font-size: 14.5px; }
.entry-summary { padding-bottom: 24px; border-bottom: 1px solid var(--rule); margin-bottom: 24px; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
/* Cart, checkout and account sit in page.php; give them the full width. */
.woocommerce-cart .prose, .woocommerce-checkout .prose, .woocommerce-account .prose { max-width: var(--wrap); }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input[type="url"], select, textarea {
	width: 100%; max-width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #B9C6D3; border-radius: var(--radius); background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
textarea { min-height: 140px; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 2px solid rgba(20, 102, 200, .25); outline-offset: 0; }
label { font-weight: 600; font-size: 15px; }

/* ---------- WooCommerce: shop & product grid ---------- */

.shop { padding-bottom: 80px; }
.shop__body { padding-top: 28px; }
.woocommerce-breadcrumb { font-size: 14px; color: var(--grey); margin-bottom: 18px; }
.woocommerce-breadcrumb a { color: var(--grey); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--blue); }
.woocommerce-breadcrumb .sep { margin: 0 8px; opacity: .5; }
.woocommerce-products-header__title { font-size: clamp(30px, 4vw, 46px); margin-bottom: 8px; }
.term-description { color: var(--grey); max-width: 760px; }
.woocommerce-result-count { float: left; margin: 10px 0 20px; color: var(--grey); font-size: 15px; }
.woocommerce-ordering { float: right; margin: 0 0 20px; }
.woocommerce-ordering select { min-width: 230px; }

ul.products { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; clear: both; }
ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ul.products::before, ul.products::after { display: none; }
ul.products li.product { position: relative; display: flex; flex-direction: column; margin: 0; padding: 0 0 20px; width: auto; float: none; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
ul.products li.product:hover { box-shadow: var(--shadow); }
ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--ink); text-decoration: none; }
ul.products li.product img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: linear-gradient(180deg, #F7FAFD, #EDF2F7); padding: 14px; margin: 0 0 14px; }
ul.products li.product .woocommerce-loop-product__title { font-family: var(--body); font-weight: 800; font-size: 17px; line-height: 1.35; color: var(--navy); padding: 0 18px; margin: 0 0 8px; }
ul.products li.product .price { display: block; padding: 0 18px; margin: auto 0 14px; font-family: var(--display); font-size: 25px; color: var(--navy); }
ul.products li.product .price del { font-family: var(--body); font-size: 15px; color: var(--grey); margin-right: 6px; }
ul.products li.product .price ins { text-decoration: none; }
ul.products li.product .button { margin: 0 18px; align-self: flex-start; min-height: 44px; padding: 10px 18px; font-size: 15px; }
ul.products li.product .added_to_cart { margin: 8px 18px 0; font-size: 14.5px; font-weight: 700; }
.woocommerce-price-suffix { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--grey); letter-spacing: 0; }
@media (max-width: 960px) { ul.products, ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { ul.products, ul.products.columns-4, ul.products.columns-2 { grid-template-columns: 1fr; } .woocommerce-result-count, .woocommerce-ordering { float: none; } .woocommerce-ordering select { width: 100%; } }

span.onsale { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--gold); color: var(--navy); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: 3px; min-height: 0; min-width: 0; line-height: 1.4; }

.woocommerce-pagination ul { list-style: none; display: flex; gap: 6px; padding: 0; margin: 24px 0 0; justify-content: center; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; font-weight: 700; }
.woocommerce-pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- WooCommerce: single product ---------- */

.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 48px; align-items: start; }
.single-product div.product > .onsale { grid-column: 1; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; grid-row: 1 / span 2; position: relative; width: auto !important; float: none; margin: 0; opacity: 1 !important; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image img, .woocommerce-product-gallery img { display: block; width: 100%; height: auto; background: linear-gradient(180deg, #F7FAFD, #EDF2F7); border-radius: var(--radius); }
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 0; margin: 10px 0 0; }
.woocommerce-product-gallery .flex-control-thumbs img { cursor: pointer; opacity: .6; }
.woocommerce-product-gallery .flex-control-thumbs .flex-active { opacity: 1; }
.woocommerce-product-gallery__trigger { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); font-size: 0; }
.single-product div.product .summary { grid-column: 2; float: none; width: auto; margin: 0; }
.single-product .product_title { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 10px; }
.single-product .summary > .price { font-family: var(--display); font-size: 36px; color: var(--navy); margin: 0 0 16px; }
.single-product .summary > .price .woocommerce-price-suffix { font-size: 14px; }
.woocommerce-product-details__short-description { color: var(--grey); font-size: 16.5px; }
.woocommerce-product-details__short-description ul { padding-left: 1.2em; }
.single-product form.cart { margin: 22px 0 10px; display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.single-product form.cart .install-choice { flex: 1 1 100%; }
.single-product form.cart .quantity { display: flex; }
.single-product form.cart .quantity input.qty { width: 84px; text-align: center; min-height: 52px; font-weight: 700; font-size: 17px; }
.single-product form.cart .single_add_to_cart_button { flex: 1 1 220px; min-height: 52px; font-size: 17px; }
.single-product .stock { font-weight: 700; color: var(--green); }
.single-product .stock.out-of-stock { color: var(--danger); }
.product_meta { font-size: 14px; color: var(--grey); border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 18px; }
.product_meta > span { display: block; margin-bottom: 3px; }

.install-choice { border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px 14px; margin: 0; background: var(--tint); min-width: 0; }
.install-choice legend { font-weight: 800; font-size: 15px; color: var(--navy); padding: 0 6px; margin-left: -6px; text-transform: uppercase; letter-spacing: .08em; }
.install-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 8px; background: #fff; border: 2px solid var(--rule); border-radius: var(--radius); cursor: pointer; font-weight: 600; }
.install-opt:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.install-opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); flex: none; }
.install-opt__body { display: flex; justify-content: space-between; gap: 12px; flex: 1; min-width: 0; }
.install-opt__title { min-width: 0; }
.install-opt__price { font-weight: 800; color: var(--navy); white-space: nowrap; }
.install-note { font-size: 14px; color: var(--grey); margin: 6px 0 12px; line-height: 1.5; }
.install-total { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0; padding-top: 12px; border-top: 1px solid var(--rule); }
.install-total span { font-weight: 700; }
.install-total strong { font-family: var(--display); font-weight: 400; font-size: 28px; color: var(--navy); white-space: nowrap; margin-left: auto; }
.install-total small { color: var(--grey); font-weight: 600; }

.product-assure { list-style: none; margin: 14px 0 0; padding: 0; font-size: 15px; color: var(--grey); }
.product-assure li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.product-assure li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 7px; height: 12px; border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(40deg); }

.woocommerce-tabs { grid-column: 1 / -1; margin-top: 36px; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0; border-bottom: 2px solid var(--rule); overflow-x: auto; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce-tabs ul.tabs li { margin: 0 0 -2px; padding: 0; background: none; border: 0; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 18px; font-weight: 700; color: var(--grey); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.woocommerce-tabs ul.tabs li.active a { color: var(--navy); border-color: var(--blue); }
.woocommerce-tabs .panel { padding: 24px 0 0; max-width: 860px; }
.woocommerce-tabs .panel h2:first-child { display: none; }
table.shop_attributes { width: 100%; border-collapse: collapse; }
table.shop_attributes th, table.shop_attributes td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
table.shop_attributes th { width: 34%; color: var(--grey); font-weight: 600; }
table.shop_attributes td p { margin: 0; }
.related.products, .upsells.products { grid-column: 1 / -1; margin-top: 40px; }
.related.products > h2, .upsells.products > h2 { font-size: 26px; }

@media (max-width: 860px) {
	.single-product div.product { grid-template-columns: 1fr; }
	.single-product div.product .woocommerce-product-gallery, .single-product div.product .summary { grid-column: 1; grid-row: auto; }
}

/* ---------- WooCommerce: notices ---------- */

.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 22px; padding: 14px 18px; border-radius: var(--radius); border-left: 4px solid var(--blue); background: var(--blue-tint); color: var(--ink); font-size: 15.5px;
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
}
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; min-height: 40px; padding: 8px 16px; font-size: 14.5px; }
.woocommerce-error { border-color: var(--danger); background: #FCEDEC; }
.woocommerce-message { border-color: var(--green); background: var(--green-tint); }

/* ---------- WooCommerce: classic cart & checkout ---------- */

table.shop_table { width: 100%; border-collapse: collapse; border: 1px solid var(--rule); border-radius: var(--radius); font-size: 15.5px; }
table.shop_table th, table.shop_table td { padding: 12px 14px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: middle; }
table.shop_table thead th { background: var(--tint); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); }
table.shop_table .product-thumbnail img { width: 72px; }
table.shop_table .product-remove a { font-size: 22px; text-decoration: none; color: var(--danger); }
table.shop_table dl.variation { margin: 4px 0 0; font-size: 14px; color: var(--grey); }
table.shop_table dl.variation dt { font-weight: 700; float: left; margin-right: 4px; }
table.shop_table dl.variation dd { margin: 0; }
.cart-collaterals .cart_totals { max-width: 460px; margin-left: auto; margin-top: 28px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; font-size: 18px; }
#customer_details { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { #customer_details { grid-template-columns: 1fr; } table.shop_table { font-size: 14.5px; } }
.woocommerce form .form-row { margin: 0 0 14px; }
.woocommerce form .form-row .required { color: var(--danger); text-decoration: none; }
#payment { background: var(--tint); border-radius: var(--radius); padding: 18px; margin-top: 18px; }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 14px; }
#payment .place-order .button { width: 100%; min-height: 54px; font-size: 18px; }

/* ---------- WooCommerce: block cart & checkout ---------- */

.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--body); }
.wc-block-components-title, .wc-block-cart__totals-title { font-family: var(--body) !important; font-weight: 800 !important; color: var(--navy); }
.wc-block-components-product-name { font-weight: 800; color: var(--navy); text-decoration: none; }
.wc-block-components-product-details { font-size: 14px; color: var(--grey); }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--navy); }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { width: 100%; min-height: 54px; font-size: 18px; }
.wc-block-components-radio-control__option--checked-option-highlighted, .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--blue) !important; }

/* ---------- Photo strip under the hero ---------- */

.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; background: var(--navy); }
.strip__item { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.strip__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.strip__item:hover img { transform: scale(1.04); }
.strip__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; background: linear-gradient(transparent, rgba(5, 24, 47, .85)); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
@media (max-width: 860px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Featured project ---------- */

.feature-project { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.feature-project__img { display: block; width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.feature-project__body { position: absolute; left: 0; bottom: 0; max-width: 560px; padding: 26px 28px; background: linear-gradient(90deg, rgba(5, 24, 47, .92), rgba(5, 24, 47, .75)); color: #DCE6F1; border-top-right-radius: var(--radius); }
.feature-project__body .project__year { color: var(--blue-bright); }
.feature-project__name { color: #fff; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 34px); margin: 0 0 6px; }
.feature-project__body p:last-child { margin: 0; }
@media (max-width: 700px) {
	.feature-project__img { aspect-ratio: 16 / 10; }
	.feature-project__body { position: static; max-width: none; border-radius: 0; background: var(--navy); }
}

/* ---------- Product stand-in photo ---------- */

.standin-note { margin: 8px 0 0; font-size: 13px; color: var(--grey); }

/* ---------- Content left behind by the old theme ---------- */

/* Old page-builder shortcodes and empty spacer blocks shouldn't leave holes. */
.prose .wp-block-spacer { max-height: 48px; }
.prose > p:empty { display: none; }
.prose .wp-block-image img, .prose figure img { height: auto; }
.prose .wp-block-columns { gap: 28px; }
.prose .wp-block-button__link { color: #fff; }

/* ---------- Win over WooCommerce's own stylesheet ---------- */

.woocommerce ul.products, .woocommerce-page ul.products { margin: 0 0 24px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: auto; float: none; margin: 0; padding: 0 0 20px; clear: none; }
.woocommerce ul.products li.product a img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; margin: 0 0 14px; padding: 14px; box-shadow: none; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 18px; margin: 0 0 8px; font-size: 17px; }
.woocommerce ul.products li.product .price { display: block; color: var(--navy); font-family: var(--display); font-weight: 400; font-size: 25px; padding: 0 18px; margin: auto 0 14px; }
.woocommerce ul.products li.product .price .woocommerce-price-suffix { font-family: var(--body); font-size: 13px; color: var(--grey); }
.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 {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
	background: var(--blue); color: #fff; border: 0; border-radius: var(--radius);
	font-family: var(--body); font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: var(--blue-band); color: #fff; }
.woocommerce ul.products li.product .button { margin: 0 18px; min-height: 44px; padding: 10px 18px; font-size: 15px; align-self: flex-start; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--navy); }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .button { float: none; }
.woocommerce .quantity .qty { width: 84px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto; float: none; }
.woocommerce span.onsale { min-height: 0; min-width: 0; line-height: 1.4; border-radius: 3px; background: var(--gold); color: var(--navy); }
.woocommerce .woocommerce-breadcrumb { font-size: 14px; color: var(--grey); margin: 0 0 18px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--grey); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top: 0; }
