/*
Theme Name:        Solvik
Theme URI:         https://solvik.co.uk/
Description:       Fast, accessible, search-optimised theme for Solvik luxury Fiat Ducato, Citroën Relay and Peugeot Boxer campervan conversions. Pair with the Solvik Core plugin for models, FAQs, enquiries and structured data.
Version:           1.2.8
Requires at least: 6.3
Requires PHP:      7.4
Author:            Solvik
Text Domain:       solvik
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Tags:              elementor, custom-menu, custom-logo, featured-images, accessibility-ready
*/

/* ---------- Tokens ---------- */
:root {
	--ground: #F4F1EA;
	--ink: #1F2622;
	--muted: #4A544E;
	--muted-2: #55605A;
	--line: #D9D3C7;
	--sand: #E7E1D4;
	--card: #FBF9F4;
	--photo: #DDD6C6;
	--accent: #8A5A2B;
	--on-dark: #F4F1EA;
	--on-dark-muted: #C9D0C9;
	--on-dark-faint: #B9C0B9;
	--dark-line: #3A443D;
	--gold: #D9B48A;
	--serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--pad-x: clamp(20px, 5vw, 64px);
	--pad-y: clamp(48px, 7vw, 104px);
	--max: 1320px;
}

/* ---------- 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; } }
body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
[id] { scroll-margin-top: 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: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: var(--ink); color: var(--on-dark); padding: 12px 18px; text-decoration: none;
}

.wrap { max-width: var(--max); margin: 0 auto; }
.section { padding: var(--pad-y) var(--pad-x); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark a { color: var(--on-dark); }
.section--tight { padding-top: clamp(40px, 6vw, 88px); padding-bottom: 24px; }

.eyebrow {
	display: block; font-family: var(--sans); font-size: 13px; letter-spacing: 0.18em;
	text-transform: uppercase; color: var(--accent); font-weight: 600; line-height: 1.5;
}
.section--dark .eyebrow { color: var(--gold); }
.display {
	font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.5vw, 60px);
	line-height: 1.05; letter-spacing: -0.005em;
}
.display--xl { font-size: clamp(52px, 7vw, 100px); line-height: 0.98; letter-spacing: -0.01em; }
.display--l { font-size: clamp(44px, 6vw, 80px); line-height: 1; }
.display--m { font-size: clamp(34px, 4vw, 52px); }
.lede { font-size: 20px; color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted-2); }
.section--dark .muted { color: var(--on-dark-muted); }
.stack > * + * { margin-top: 20px; }
.stack-s > * + * { margin-top: 10px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
	padding: 13px 28px; font: 500 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
	border: 1px solid var(--ink); background: var(--ink); color: var(--on-dark);
	transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: #333d37; color: var(--on-dark); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--on-dark); }
.btn--light { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.btn--ghost-light:hover { background: var(--on-dark); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { display: inline-block; font-weight: 500; padding: 10px 0; }

/* ---------- Header ---------- */
.site-header {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 16px 32px; padding: 22px var(--pad-x); border-bottom: 1px solid var(--line);
}
.brand {
	font-family: var(--serif); font-size: 30px; letter-spacing: 0.28em; font-weight: 600;
	text-decoration: none; color: var(--ink); line-height: 1;
}
.brand img { max-height: 44px; width: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.primary-nav a { text-decoration: none; display: inline-block; padding: 10px 0; }
.primary-nav .current-menu-item > a, .primary-nav a[aria-current="page"] { color: var(--accent); }
.header-cta { padding: 12px 24px; font-size: 15px; }
.nav-toggle {
	display: none; background: none; border: 1px solid var(--ink); color: var(--ink);
	min-height: 44px; padding: 8px 16px; font: 500 15px var(--sans); cursor: pointer;
}

@media (max-width: 820px) {
	.js .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
	.js .primary-nav { flex-basis: 100%; display: none; }
	.js .primary-nav.is-open { display: block; }
	.js .primary-nav ul { flex-direction: column; gap: 0; }
	.js .primary-nav a { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
	.header-cta { order: 2; }
}

/* ---------- Photos / placeholders ---------- */
.photo { background: var(--photo); position: relative; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--hero { min-height: 420px; aspect-ratio: 4 / 3; }
.photo--card { aspect-ratio: 3 / 2; }
.photo--tall { min-height: 400px; aspect-ratio: 4 / 3; }
.photo--main { aspect-ratio: 4 / 3; }
.photo--thumb { aspect-ratio: 4 / 3; }
.section--dark .photo { background: #2F3832; }
.photo__label {
	position: absolute; left: 16px; bottom: 14px; right: 16px; font-size: 13px; color: var(--muted-2);
}
.section--dark .photo__label { color: var(--on-dark-faint); }

/* ---------- Hero ---------- */
.hero {
	display: flex; flex-wrap: wrap; align-items: stretch; gap: 48px;
	padding: clamp(40px, 7vw, 96px) var(--pad-x); max-width: var(--max); margin: 0 auto;
}
.hero__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.hero__media { flex: 1 1 440px; min-width: 0; }
.hero h1 { font-size: inherit; font-weight: 500; }
.hero h1 .eyebrow { margin-bottom: 24px; }
.hero h1 .display { display: block; }

/* ---------- Glance strip ---------- */
.glance { background: var(--sand); padding: 40px var(--pad-x); }
.glance ul { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); display: flex; flex-wrap: wrap; gap: 32px; }
.glance li { flex: 1 1 240px; min-width: 0; }
.glance strong { display: block; margin-bottom: 4px; }
.glance span { font-size: 15px; color: var(--muted); }

/* ---------- Model cards ---------- */
.section-head { margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head .display { margin-bottom: 16px; }
.section-head p { color: var(--muted); max-width: 640px; }
.cards { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; margin: 0; padding: 0; }
.model-card { flex: 1 1 340px; min-width: 0; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.model-card__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.model-card__meta { font-size: 13px; color: var(--muted-2); }
.model-card__name { font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1.1; }
.model-card__name a { text-decoration: none; }
.model-card__name a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.model-card__price { margin-top: 8px; font-size: 22px; font-weight: 600; }
.model-card__more { margin-top: auto; padding-top: 12px; font-weight: 500; color: var(--ink); }
.model-card:hover .model-card__more { color: var(--accent); }
.model-card:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Split (text + photo) ---------- */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split > * { flex: 1 1 420px; min-width: 0; }

/* ---------- Steps / columns ---------- */
.cols { display: flex; flex-wrap: wrap; gap: 32px; list-style: none; margin: 0; padding: 0; }
.cols > * { flex: 1 1 240px; min-width: 0; border-top: 2px solid var(--ink); padding-top: 18px; }
.cols--3 > * { flex-basis: 280px; }
.cols h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.cols p { color: var(--muted); font-size: 16px; }
.step-num { font-size: 13px; color: var(--muted-2); margin-bottom: 6px !important; }

/* ---------- CTA band ---------- */
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band__copy { flex: 1 1 400px; min-width: 0; }
.cta-band__copy .display { margin-bottom: 10px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 14px; color: var(--muted-2); margin-bottom: 24px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; }
.breadcrumbs a { color: var(--muted-2); }

/* ---------- Model page ---------- */
.model-top { padding: clamp(32px, 5vw, 64px) var(--pad-x) 0; max-width: var(--max); margin: 0 auto; }
.model-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.model-gallery { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.model-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin: 0; padding: 0; }
.model-gallery__thumbs li { flex: 1 1 160px; min-width: 0; }
.model-summary { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.model-title { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 6vw, 84px); line-height: 1; }
.model-title__sub { display: block; font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--muted-2); letter-spacing: 0; margin-top: 12px; line-height: 1.4; }
.model-price { margin-top: 8px; font-size: 30px; font-weight: 600; }
.specs { margin: 16px 0 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted-2); }
.specs dd { margin: 0; text-align: right; }
.layout-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.layout-grid > * { min-width: 0; }
.layout-plan { flex: 1 1 480px; background: var(--sand); min-height: 360px; display: flex; align-items: center; justify-content: center; padding: 24px; }
.layout-plan img { width: 100%; height: auto; object-fit: contain; }
.layout-features { flex: 1 1 360px; display: flex; flex-direction: column; gap: 22px; }
.layout-features h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.layout-features p { color: var(--muted); font-size: 16px; }

/* ---------- Compare table ---------- */
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.compare tbody th { color: var(--muted-2); font-weight: 500; width: 160px; }

/* ---------- Content (pages, posts, model description) ---------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; margin-top: 1.6em; }
.prose h3 { font-size: 20px; font-weight: 600; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose img { margin: 1.6em 0; }
.prose blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 24px; }
.prose a { color: var(--accent); }
.alignwide { max-width: var(--max); }
.wp-caption-text, figcaption { font-size: 14px; color: var(--muted-2); margin-top: 8px; }

/* ---------- Info cards (Buying page) ---------- */
.info-cards { display: flex; flex-wrap: wrap; gap: 28px; }
.info-card { flex: 1 1 380px; min-width: 0; background: var(--card); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.info-card h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.15; }
.info-card p { color: var(--muted); font-size: 16px; }
.editor-note { font-size: 13px; color: var(--accent); border: 1px dashed var(--accent); padding: 8px 12px; }

/* ---------- FAQs ---------- */
.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; line-height: 1; color: var(--muted-2); }
.faq-item[open] summary::after { content: "−"; }
.faq-q { display: inline; font-size: 18px; font-weight: 600; }
.faq-a { padding: 0 0 22px; color: var(--muted); font-size: 16px; }
.faq-a > * + * { margin-top: .8em; }

/* ---------- Enquiry form ---------- */
.enquiry .wrap { display: flex; flex-wrap: wrap; gap: 56px; }
.enquiry__copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.enquiry__form { flex: 1 1 400px; min-width: 0; }
.enquiry-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; color: var(--on-dark-muted); }
.field input, .field select, .field textarea {
	padding: 13px 14px; font: 16px/1.4 var(--sans); border: 1px solid var(--muted-2);
	background: var(--ground); color: var(--ink); border-radius: 0; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-form .btn { align-self: flex-start; }
.form-note { font-size: 13px; color: var(--on-dark-faint); }
.enquiry-notice { padding: 20px 24px; border: 1px solid var(--gold); }
.enquiry-notice > * + * { margin-top: 6px; }
.enquiry-notice--error { border-color: #E8A0A0; margin-bottom: 18px; }

/* ---------- Configurator ---------- */
.configurator__grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.configurator__options { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.configurator__summary { flex: 1 1 340px; min-width: 0; background: var(--card); border: 1px solid var(--line); padding: 28px; position: sticky; top: 24px; }
.cfg-group { border: 0; padding: 0; margin: 0; }
.cfg-group legend { font-weight: 600; font-size: 18px; padding: 0; margin-bottom: 10px; }
.cfg-hint { font-weight: 400; font-size: 14px; color: var(--muted-2); }
.cfg-option { position: relative; }
.cfg-option + .cfg-option { margin-top: 8px; }
.cfg-option input { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.cfg-option label {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px;
	padding: 12px 18px 12px 50px; background: var(--card); border: 1px solid var(--line); cursor: pointer;
}
.cfg-option input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cfg-option input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.cfg-option__price { white-space: nowrap; font-weight: 500; color: var(--muted); }
.cfg-summary__title { font-family: var(--serif); font-weight: 500; font-size: 30px; margin-bottom: 12px; }
.cfg-totals { margin: 0 0 12px; }
.cfg-totals div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cfg-totals dt { color: var(--muted-2); }
.cfg-totals dd { margin: 0; }
.cfg-totals__total dt { color: var(--ink); font-weight: 600; }
.cfg-totals__total dd { font-size: 26px; font-weight: 600; }
.configurator__summary > p { margin-top: 8px; }
.cfg-contact { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.cfg-contact .field label, .section:not(.section--dark) .enquiry-form .field label { color: var(--muted); }
.cfg-contact .btn { align-self: flex-start; }
.configurator .enquiry-notice { border-color: var(--accent); }

/* ---------- Posts list ---------- */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.post-card h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.15; margin: 14px 0 8px; }
.post-card h2 a { text-decoration: none; }
.post-meta { font-size: 14px; color: var(--muted-2); }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); text-decoration: none; padding: 0 12px; }
.pagination .current { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 56px var(--pad-x) 40px; font-size: 15px; }
.site-footer a { color: var(--on-dark); }
.site-footer .brand { color: var(--on-dark); font-size: 26px; display: inline-block; margin-bottom: 12px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; max-width: var(--max); margin: 0 auto 40px; }
.footer-cols > * { flex: 1 1 200px; min-width: 0; }
.footer-cols h2 { font-size: 15px; font-family: var(--sans); font-weight: 600; color: var(--on-dark); margin-bottom: 8px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li a { display: inline-block; padding: 4px 0; }
.footer-cols address { font-style: normal; }
.footer-legal { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--dark-line); padding-top: 24px; font-size: 13px; color: var(--on-dark-faint); display: flex; flex-direction: column; gap: 6px; }


/* ---------- Elementor ----------
   Widgets take the Solvik look from the CSS classes in Advanced › CSS Classes
   (display, eyebrow, lede, muted, step, sv-btn...). Anything you style in
   Elementor's own Style tab overrides these. */
.elementor-widget.display .elementor-heading-title,
.elementor-widget.eyebrow .elementor-heading-title,
.elementor-widget.card-title .elementor-heading-title {
	font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; line-height: inherit;
}
.elementor-widget.display, .elementor-widget.card-title { color: inherit; }
.card-title { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.15; }
.narrow { max-width: 560px; }
.wide { max-width: 640px; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-text-editor p + p { margin-top: 1em; }
.elementor-widget-text-editor a { color: var(--accent); }

.on-dark { color: var(--on-dark); }
.on-dark .muted, .on-dark .lede { color: var(--on-dark-muted); }
.on-dark .eyebrow { color: var(--gold); }
.on-dark a, .on-dark .elementor-widget-text-editor a { color: var(--on-dark); }

.glance-item { font-size: 15px; color: var(--muted); }
.glance-item strong { color: var(--ink); font-size: 17px; font-weight: 600; }

.step { border-top: 2px solid var(--ink); padding-top: 18px; }
.step h3 { font-size: 20px; font-weight: 600; margin: 0 0 8px; line-height: 1.3; }
.step p { color: var(--muted); font-size: 16px; }
.step .step-num { font-size: 13px; color: var(--muted-2); margin: 0 0 6px; }

.info-col .elementor-element-populated {
	background: var(--card); border: 1px solid var(--line); padding: 32px !important; margin: 14px !important;
}

.photo-fill img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--photo); }
.photo-fill--hero img { min-height: 420px; }
.photo-fill--tall img { min-height: 400px; }

.sv-btn .elementor-button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
	padding: 14px 28px; font: 500 16px/1.2 var(--sans); border-radius: 0;
	border: 1px solid var(--ink); background: var(--ink); color: var(--on-dark);
}
.sv-btn .elementor-button:hover, .sv-btn .elementor-button:focus { background: #333d37; color: var(--on-dark); }
.on-dark .sv-btn .elementor-button { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.sv-btn--outline .elementor-button { background: transparent; color: var(--ink); }
.sv-btn--outline .elementor-button:hover { background: var(--ink); color: var(--on-dark); }
.on-dark .sv-btn--ghost-light .elementor-button, .sv-btn--ghost-light .elementor-button { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.sv-btn--ghost-light .elementor-button:hover { background: var(--on-dark); color: var(--ink); }

.site-main--elementor .model-hero, .site-main--elementor .model-summary { gap: 18px; }

/* Map Elementor's global colours and fonts to the Solvik palette,
   so any widget left on Elementor's defaults still looks on-brand. */
body[class*="elementor-kit-"] {
	--e-global-color-primary: #1F2622;
	--e-global-color-secondary: #4A544E;
	--e-global-color-text: #4A544E;
	--e-global-color-accent: #1F2622;
	--e-global-typography-primary-font-family: "Cormorant Garamond";
	--e-global-typography-primary-font-weight: 500;
	--e-global-typography-secondary-font-family: "Inter";
	--e-global-typography-text-font-family: "Inter";
	--e-global-typography-accent-font-family: "Inter";
}
.elementor .sv-btn .elementor-button { border-radius: 0; }
.elementor .sv-btn--outline .elementor-button { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.elementor .sv-btn--outline .elementor-button:hover { background: var(--ink); color: var(--on-dark); }
.elementor .sv-btn--ghost-light .elementor-button { background: transparent; color: var(--on-dark); border: 1px solid var(--on-dark); }
.elementor .sv-btn--ghost-light .elementor-button:hover { background: var(--on-dark); color: var(--ink); }
.elementor .on-dark .sv-btn:not(.sv-btn--ghost-light) .elementor-button { background: var(--on-dark); color: var(--ink); }
.elementor .elementor-widget-button.sv-btn.elementor-widget__width-auto { margin: 0 14px 14px 0 !important; --kit-widget-spacing: 0px; vertical-align: top; }
.elementor .sv-btn.elementor-widget__width-auto .elementor-button { min-width: 190px; justify-content: center; }

/* Footer links big enough to tap on phones */
.footer-menu ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-menu a, .footer-cols li a, .footer-legal a { display: inline-block; padding: 12px 0; min-height: 44px; }

/* ---------- WordPress core ---------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.sticky, .bypostauthor, .gallery-caption { }

@media print {
	.site-header nav, .nav-toggle, .header-cta, .cta-band, .enquiry { display: none !important; }
	body { background: #fff; }
}

/* Included as standard */
.std-spec{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:32px 40px}
.std-spec__title{font-family:var(--font-body,Inter,system-ui,sans-serif);font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--accent,#8A5A2B);margin:0 0 12px}
.std-spec__list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line,#D9D3C7)}
.std-spec__list li{padding:9px 0 9px 22px;border-bottom:1px solid var(--line,#D9D3C7);position:relative;font-size:15px;line-height:1.45}
.std-spec__list li::before{content:"";position:absolute;left:2px;top:15px;width:9px;height:5px;border-left:2px solid var(--accent,#8A5A2B);border-bottom:2px solid var(--accent,#8A5A2B);transform:rotate(-45deg)}

/* Floor plan: tap to enlarge */
.plan-zoom{display:block;position:relative;cursor:zoom-in}
.plan-zoom img{display:block;width:100%;height:auto}
.plan-zoom__hint{position:absolute;right:12px;bottom:12px;background:rgba(31,38,34,.82);color:#fff;font-size:13px;padding:6px 10px;border-radius:4px;pointer-events:none}
.plan-lightbox{position:fixed;inset:0;z-index:9999;background:rgba(20,24,22,.92);display:flex;align-items:center;justify-content:center}
.plan-lightbox[hidden]{display:none}
.plan-lightbox__scroll{max-width:100vw;max-height:100vh;overflow:auto;padding:56px 16px 16px;box-sizing:border-box;-webkit-overflow-scrolling:touch}
.plan-lightbox__scroll img{display:block;max-width:min(1600px,96vw);height:auto;margin:0 auto;background:#F4F1EA}
.plan-lightbox__close{position:fixed;top:12px;right:12px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#1F2622;font-size:28px;line-height:44px;cursor:pointer}
.plan-lightbox-open,.plan-lightbox-open body{overflow:hidden}
