/*
Theme Name: Pressed Linen
Description: Drop-in replacement for Vantage Premium on tablecloth-hire.co.uk. Keeps the Primary menu location, the Sidebar / Footer / Header / Masthead widget areas, Vantage's page templates and per-page settings, and restyles SiteOrigin Page Builder content, Contact Form 7 and HTML price tables.
Version: 1.0.8
Requires at least: 6.3
Requires PHP: 8.1
Tested up to: 6.8
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pressed-linen
*/

/* ---------- Fonts (self-hosted, SIL Open Font License: see fonts/README.txt) ---------- */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(fonts/cormorant-garamond-latin.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-italic-latin.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/manrope-latin.woff2) format('woff2'); }

/* ---------- Tokens ---------- */
:root {
	--navy: #15213B;
	--navy-deep: #0F182C;
	--accent: #2350A8;
	--accent-dark: #1B3F86;
	--accent-tint: #E6ECF7;
	--ink: #15213B;
	--ink-soft: #4A5468;
	--muted: #5B6478;
	--line: #E3E6EC;
	--line-strong: #CBD3E1;
	--mist: #F3F5F8;
	--paper: #FFFFFF;
	--on-dark: #C9D2E3;
	--on-dark-accent: #8FA8DA;
	--error: #B42318;
	--success: #17663F;

	--serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--wrap: 1200px;
	--gutter: 24px;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 22px 40px -18px rgba(21, 33, 59, .28);
	--navbar-h: 56px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--navbar-h) + 16px); }
html.menu-locked { overflow: hidden; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, video, iframe { max-width: 100%; }
img { height: auto; }

a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--serif);
	font-weight: 600;
	line-height: 1.12;
	color: var(--ink);
	margin: 0 0 .5em;
	letter-spacing: -.005em;
}
h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.04; }
h2 { font-size: clamp(30px, 3.4vw, 44px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); }
h4 { font-size: 22px; }
h5, h6 { font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: 0; }

p, ul, ol, dl, blockquote, figure, table { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong, b { font-weight: 700; }
small { font-size: 13px; }
big { font-size: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

blockquote {
	padding: 0 0 0 1.25em;
	border-left: 3px solid var(--accent);
	font-family: var(--serif);
	font-size: 24px;
	line-height: 1.4;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link {
	position: absolute; left: 12px; top: -100px; z-index: 100000;
	background: var(--paper); color: var(--ink); padding: 12px 18px;
	border-radius: var(--radius-sm); font-weight: 700; box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }

.eyebrow {
	display: block;
	font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
	color: var(--accent); margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn,
.wp-block-button__link,
.entry-content input[type="submit"],
.entry-content button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px;
	border: 1.5px solid transparent; border-radius: 999px;
	font-family: var(--sans); font-size: 15px; font-weight: 700; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary,
.wp-block-button__link,
.entry-content input[type="submit"],
.entry-content button[type="submit"] { background: var(--accent); color: #fff; }
.btn--primary:hover,
.wp-block-button__link:hover,
.entry-content input[type="submit"]:hover,
.entry-content button[type="submit"]:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }

.more {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
	font-weight: 700; font-size: 14px; text-decoration: none;
}
.more .icon { width: 16px; height: 16px; }

/* SiteOrigin Button widget: restyle every instance to the theme button. */
.site .so-widget-sow-button .ow-button-base a,
.site .so-widget-sow-button .ow-button-base a.ow-button-hover {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 26px !important;
	background: var(--accent) !important; color: #fff !important;
	border: 0 !important; border-radius: 999px !important; box-shadow: none !important;
	font-family: var(--sans) !important; font-size: 15px !important; font-weight: 700 !important;
	text-transform: none; text-shadow: none !important; text-decoration: none;
	transition: background-color .15s;
}
.site .so-widget-sow-button .ow-button-base a:hover { background: var(--accent-dark) !important; }
.site .so-widget-sow-button .ow-button-base a .sow-icon-fontawesome,
.site .so-widget-sow-button .ow-button-base a .sow-icon-image { color: inherit !important; }
/* Empty buttons (no label) left over in widget areas stay hidden. */
.site .so-widget-sow-button .ow-button-base a:empty { display: none !important; }

/* ---------- Top bar (Header widget area) ---------- */
.topbar {
	background: var(--navy);
	color: #DCE3F0;
	font-size: 13px;
	line-height: 1.5;
}
.topbar__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 6px 24px; min-height: 40px; padding-block: 8px;
}
.topbar__note { margin: 0; }
.topbar__widgets { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.topbar__widgets .widget { margin: 0; }
.topbar__widgets .widget-title { display: none; }
.topbar__widgets p { margin: 0; }
.topbar__widgets .boxed,
.topbar__widgets .textwidget,
.topbar__widgets .siteorigin-widget-tinymce,
.topbar__widgets p {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px;
	text-align: left !important;
}
.topbar__widgets br { display: none; }
.topbar__widgets strong, .topbar__widgets big { font-weight: 600; font-size: inherit; }
.topbar a { color: #DCE3F0; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar a[href^="tel:"] { font-weight: 700; color: #fff; }
/* The Header area also carries the Google Tag Manager text widget: never render space for it. */
.topbar__widgets .widget_text:not(:has(a, img)) { display: none; }

@media (max-width: 640px) {
	.topbar__note { display: none; }
	.topbar__inner { justify-content: center; }
}

/* ---------- Masthead ---------- */
.site-header { background: var(--paper); }
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 16px 24px;
	min-height: 88px; padding-block: 14px;
}
.brand {
	display: inline-flex; flex-direction: column; line-height: 1;
	color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__eyebrow {
	font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
	color: var(--accent);
}
.brand__name { font-family: var(--serif); font-size: 34px; font-weight: 600; margin-top: 5px; letter-spacing: -.005em; }
.custom-logo-link { display: inline-block; line-height: 0; }
.custom-logo { max-height: 72px; width: auto; }
.site-header__widgets { flex: 1; min-width: 0; }

/* ---------- Menu bar (.navbar, pinned by myStickyMenu) ---------- */
.navbar {
	position: sticky; top: 0; z-index: 990;
	background: rgba(255, 255, 255, .97);
	border-block: 1px solid var(--line);
	-webkit-backdrop-filter: saturate(1.4) blur(6px);
	backdrop-filter: saturate(1.4) blur(6px);
}
.admin-bar .navbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .navbar { top: 46px; } }
@media (max-width: 600px) { .admin-bar .navbar { top: 0; } }

/* myStickyMenu sets its own background (#f7f5e7) and opacity on .myfixed; keep the theme's look. */
.navbar.myfixed,
#mysticky-wrap .navbar.myfixed {
	background: rgba(255, 255, 255, .97) !important;
	opacity: 1 !important;
	border-top-color: transparent;
	box-shadow: 0 12px 30px -18px rgba(21, 33, 59, .35);
}

.navbar__inner {
	display: flex; align-items: center; gap: 8px 16px;
	min-height: var(--navbar-h);
}
.main-navigation { flex: 1; min-width: 0; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation li { margin: 0; position: relative; }
.main-navigation a { text-decoration: none; }

.navbar__cta { min-height: 42px; padding: 0 20px; font-size: 14px; flex-shrink: 0; }

.menu-toggle {
	display: none; align-items: center; gap: 8px;
	min-height: 44px; padding: 0 14px 0 10px; margin-left: -10px;
	background: none; border: 0; border-radius: var(--radius-sm);
	font: 700 15px/1 var(--sans); color: var(--ink); cursor: pointer;
}
.menu-toggle:hover { background: var(--mist); }

.submenu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 44px; padding: 0; margin-left: -10px;
	background: none; border: 0; border-radius: 6px;
	color: var(--muted); cursor: pointer;
}
.submenu-toggle svg { transition: transform .2s; }
.is-open > .submenu-toggle svg { transform: rotate(180deg); }

/* Desktop */
@media (min-width: 1080px) {
	/* The duplicate button only appears once the bar is pinned. */
	.navbar__cta { display: none; }
	.navbar.myfixed .navbar__cta { display: inline-flex; }

	.main-navigation .menu { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; margin-left: -12px; }
	.main-navigation .menu > li { display: flex; align-items: center; }
	.main-navigation .menu > li > a {
		display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
		border-radius: 8px; color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap;
	}
	.main-navigation .menu > li > a:hover,
	.main-navigation .menu > li:hover > a { color: var(--accent); background: var(--mist); }
	.main-navigation .menu > .current-menu-item > a,
	.main-navigation .menu > .current-menu-ancestor > a,
	.main-navigation .menu > .current_page_ancestor > a { color: var(--accent); }
	.main-navigation .menu > .menu-item-has-children > a { padding-right: 10px; }

	.main-navigation .sub-menu {
		display: none; position: absolute; top: 100%; left: 0; z-index: 20;
		min-width: 260px; padding: 8px;
		background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
		box-shadow: 0 18px 40px -12px rgba(21, 33, 59, .22);
	}
	.main-navigation .sub-menu .sub-menu { top: -9px; left: 100%; margin-left: 4px; }
	/* Last items flip their flyouts to the left so they stay on screen. */
	.main-navigation .menu > li:nth-last-child(-n+3) > .sub-menu { left: auto; right: 0; }
	.main-navigation .menu > li:nth-last-child(-n+3) .sub-menu .sub-menu { left: auto; right: 100%; margin: 0 4px 0 0; }

	.main-navigation li:hover > .sub-menu,
	.main-navigation li:focus-within > .sub-menu,
	.main-navigation li.is-open > .sub-menu { display: block; }

	.main-navigation .sub-menu li { display: flex; align-items: center; }
	.main-navigation .sub-menu a {
		flex: 1; display: block; padding: 10px 12px; border-radius: 8px;
		color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.35;
	}
	.main-navigation .sub-menu a:hover,
	.main-navigation .sub-menu li:hover > a { background: var(--mist); color: var(--accent); }
	.main-navigation .sub-menu .current-menu-item > a { color: var(--accent); font-weight: 700; }
	.main-navigation .sub-menu .submenu-toggle { margin-left: -32px; transform: rotate(-90deg); }
	.main-navigation .menu > li:nth-last-child(-n+3) .sub-menu .submenu-toggle { transform: rotate(90deg); }
	.main-navigation .sub-menu .menu-item-has-children > a { padding-right: 34px; }
}

/* Mobile */
@media (max-width: 1079px) {
	.site-header__cta { display: none; }
	.site-header__inner { min-height: 76px; }
	.brand__name { font-size: 30px; }

	.navbar__inner { justify-content: space-between; flex-wrap: wrap; }
	.menu-toggle { display: inline-flex; }
	.navbar__cta { margin-left: auto; }

	.main-navigation { display: none; flex: 1 1 100%; order: 3; }
	.menu-open .main-navigation {
		display: block;
		max-height: calc(100vh - var(--navbar-h) - 24px);
		max-height: calc(100dvh - var(--navbar-h) - 24px);
		overflow-y: auto; overscroll-behavior: contain;
		padding-bottom: 20px; border-top: 1px solid var(--line);
	}
	.main-navigation li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
	.main-navigation li:last-child { border-bottom: 0; }
	.main-navigation a {
		flex: 1; display: flex; align-items: center; min-height: 52px; padding: 6px 4px;
		color: var(--ink); font-size: 16px; font-weight: 600;
	}
	.main-navigation .current-menu-item > a { color: var(--accent); }
	.submenu-toggle { width: 52px; height: 52px; margin: 0; color: var(--ink); }
	.submenu-toggle:hover { background: var(--mist); }
	.main-navigation .sub-menu { display: none; flex: 1 1 100%; padding: 0 0 8px 16px; border-left: 2px solid var(--line); margin-left: 4px; }
	.main-navigation .is-open > .sub-menu { display: block; }
	.main-navigation .sub-menu a { min-height: 46px; font-size: 15px; font-weight: 500; }
	.main-navigation .sub-menu li { border-bottom: 0; }
}

/* ---------- Page header ---------- */
.page-header { padding-block: 44px 0; }
.page-title {
	margin: 0;
	font-size: clamp(32px, 3.4vw, 46px);
	line-height: 1.1;
	text-wrap: balance;
}
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs .breadcrumb_last { color: var(--ink); font-weight: 600; }
.page-thumbnail { margin-top: 28px; }
.page-thumbnail img { display: block; width: 100%; border-radius: 20px; }
.entry-meta { font-size: 14px; color: var(--muted); margin: 10px 0 0; }

/* ---------- Content ---------- */
.entry-content { padding-block: 32px 88px; }
.page-header + .entry-content { padding-top: 24px; }
.entry-content--prose > * { max-width: 820px; }
.entry-content--prose > .table-scroll,
.entry-content--prose > .wpcf7,
.entry-content--prose > .alignwide,
.entry-content--prose > figure { max-width: none; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content p, .entry-content li { color: var(--ink-soft); }
.entry-content strong { color: var(--ink); }
.entry-content img { border-radius: 12px; }
.entry-content img.alignleft, .entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.entry-content img.alignright, .entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; }
.entry-content .aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content center { display: block; }

/*
 * Content headings: one calm scale for every page.
 * Older pages use <h1>–<h6> for anything from sentences to captions, so the
 * level only picks a size here; the page title is the only large heading.
 * The home page's .pl-* sections are excluded and keep their own styles.
 */
.entry-content :is(h1, h2, h3, h4, h5, h6):not(.pl-section *),
.entry-content .widget-title {
	margin: 1.6em 0 .6em;
	color: var(--ink);
	text-wrap: balance;
	letter-spacing: 0;
}
.entry-content :is(h1, h2):not(.pl-section *),
.entry-content .widget-title {
	font-family: var(--serif); font-weight: 600;
	font-size: clamp(26px, 2.4vw, 32px); line-height: 1.2;
}
.entry-content h3:not(.pl-section *) {
	font-family: var(--serif); font-weight: 600;
	font-size: clamp(22px, 2vw, 25px); line-height: 1.25;
}
.entry-content h4:not(.pl-section *) {
	font-family: var(--sans); font-weight: 700; font-size: 18px; line-height: 1.4;
}
.entry-content :is(h5, h6):not(.pl-section *) {
	font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.5;
	color: var(--ink-soft);
}
/* Centred headings: keep long lines readable. */
.entry-content :is(h1, h2, h3, h4, h5, h6)[style*="center"] { max-width: 34em; margin-inline: auto; }
.entry-content :is(h1, h2, h3)[style*="center"] { max-width: 28em; }
/* No extra space above the first heading in a block. */
.entry-content .textwidget > :is(h1, h2, h3, h4, h5, h6):first-child,
.entry-content .panel-grid-cell .so-panel:first-child .widget-title,
.entry-content > :is(h1, h2, h3, h4, h5, h6):first-child { margin-top: 0; }

/* Strip one-off formatting inside headings: underlines, colours, sizes, faux bold and italics. */
.entry-content :is(h1, h2, h3, h4, h5, h6, .widget-title):not(.pl-section *) :is(span, u, font, strong, b, em, i) {
	color: inherit !important;
	font-size: inherit !important;
	font-family: inherit !important;
	font-weight: inherit !important;
	font-style: normal;
	text-decoration: none !important;
}
.entry-content :is(h1, h2, h3, h4, h5, h6):not(.pl-section *) a { color: var(--accent); text-decoration: underline; }

/* Inline colours in body copy: red always marks a price, blue marks pack names and pack prices. */
.entry-content span[style*="#0000ff"],
.entry-content span[style*="#3366ff"] { color: var(--accent) !important; }
.entry-content span[style*="#26282a"],
.entry-content span[style*="#000000"],
.entry-content span[style*="#333333"] { color: inherit !important; }
.entry-content span[style*="font-family"] { font-family: inherit !important; font-size: inherit !important; }
.entry-content u, .entry-content span[style*="underline"] { text-decoration: none !important; }

/* Prices: the red figures in price tables and under product images, in the mockup's price style. */
.entry-content span[style*="#ff0000"],
.entry-content span[style*="#FF0000"],
.entry-content :is(p, td)[style*="font-size: 20px"],
.entry-content :is(p, td)[style*="font-size:20px"] {
	color: var(--ink) !important;
	font-family: var(--serif) !important;
	font-size: 24px !important;
	font-weight: 600;
	line-height: 1.15;
}
.entry-content :is(p, td)[style*="font-size: 20px"] span[style*="#ff0000"] { font-size: inherit !important; }
.entry-content span[style*="#ff0000"] strong,
.entry-content :is(p, td)[style*="font-size: 20px"] strong { font-weight: 600; color: inherit; }

/* Horizontal rules: a quiet divider. */
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* Empty spacer paragraphs/headings are hidden by theme.js (.is-empty). */
.entry-content .is-empty { display: none !important; }

/* ---------- SiteOrigin Page Builder ---------- */
.entry-content--panels { padding-top: 32px; }
.panel-layout .so-panel { margin-bottom: 0; }
.panel-grid .panel-row-style { border-radius: 0; }
.so-widget-sow-image img,
.so-widget-image { border-radius: 14px; }
.so-widget-sow-editor ul { padding-left: 1.2em; }
.siteorigin-panels-stretch { box-sizing: border-box; }

/* ---------- Tables (price lists) ---------- */
.table-scroll {
	width: 100%; overflow-x: auto; margin: 0 0 2em;
	border: 1px solid var(--line); border-radius: 14px; background: var(--paper);
	-webkit-overflow-scrolling: touch;
}
.table-scroll:focus-visible { outline-offset: 3px; }
.table-scroll > table { margin: 0; border: 0; }
.entry-content table {
	width: 100% !important; border-collapse: separate; border-spacing: 0;
	font-size: 15px; line-height: 1.45; height: auto !important;
}
.entry-content th,
.entry-content td {
	padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line);
	vertical-align: middle; color: var(--ink); width: auto;
}
.entry-content td p, .entry-content th p { margin: 0; color: inherit; }
.entry-content tr:last-child > td { border-bottom: 0; }
.entry-content th,
.entry-content thead td,
.entry-content tbody:first-child tr:first-child:has(strong) > td {
	background: var(--mist);
	font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: var(--muted);
}
.entry-content th strong,
.entry-content tbody:first-child tr:first-child:has(strong) > td strong { color: var(--muted); font-weight: 700; }
.entry-content tbody tr { transition: background-color .15s; }
.entry-content tbody tr:not(:first-child):hover { background: #FAFBFC; }
.entry-content td a {
	display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px;
	border: 1.5px solid var(--line-strong); border-radius: 999px;
	color: var(--ink); font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap;
}
.entry-content td a:hover { border-color: var(--accent); color: var(--accent); }
.entry-content td img { border-radius: 8px; }

/* ---------- Forms (Contact Form 7 and core) ---------- */
.wpcf7 { margin: 0 0 1.5em; }
.wpcf7 form {
	background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
	padding: clamp(24px, 4vw, 40px);
	box-shadow: 0 30px 60px -30px rgba(21, 33, 59, .25);
	max-width: 760px;
}
.wpcf7 form > center,
.wpcf7 form center { display: block; text-align: left; }
.wpcf7 form p {
	margin: 0 0 20px; color: var(--ink);
	font-size: 14px; font-weight: 700; line-height: 1.5;
}
.wpcf7 form p:last-of-type { margin-bottom: 0; }
/* "Items & Details" label is in its own paragraph, above the textarea's. */
.wpcf7 form p:has(+ p > .wpcf7-form-control-wrap > textarea) { margin-bottom: 0; }
.wpcf7 form p > .wpcf7-form-control-wrap:first-child { margin-top: 8px; }
.wpcf7 br { display: none; }
.wpcf7-form-control-wrap { display: block; margin-top: 8px; font-weight: 400; }
.wpcf7 label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.wpcf7 .req { color: var(--error); }
.wpcf7 .form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0 20px; }
.wpcf7 .form-narrow { max-width: 320px; }
.wpcf7 .form-hint { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.wpcf7 .form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 4px; }
.wpcf7 .form-submit small { font-size: 13px; font-weight: 500; color: var(--muted); }
.wpcf7 .form-submit input[type="submit"] { margin-top: 0; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea,
.search-form .search-field,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%; min-height: 52px; padding: 14px 16px;
	border: 1.5px solid var(--line-strong); border-radius: 12px;
	background: var(--paper); color: var(--ink);
	font: 400 16px/1.4 var(--sans);
	transition: border-color .15s, box-shadow .15s;
}
.wpcf7 textarea, .comment-form textarea { min-height: 150px; resize: vertical; }
.wpcf7 input:hover, .wpcf7 textarea:hover, .wpcf7 select:hover { border-color: #9AA6BD; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus,
.search-form .search-field:focus, .comment-form input:focus, .comment-form textarea:focus {
	outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(35, 80, 168, .15);
}
.wpcf7 ::placeholder { color: #7A8499; }

.wpcf7 input[type="submit"],
.comment-form input[type="submit"],
.search-form .search-submit {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 56px; padding: 0 32px; margin-top: 4px;
	background: var(--accent); color: #fff; border: 0; border-radius: 999px;
	font: 700 16px/1 var(--sans); cursor: pointer; transition: background-color .15s;
	-webkit-appearance: none; appearance: none;
}
.wpcf7 input[type="submit"]:hover,
.comment-form input[type="submit"]:hover,
.search-form .search-submit:hover { background: var(--accent-dark); }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 14px; vertical-align: middle; }

.wpcf7-not-valid { border-color: var(--error) !important; }
.wpcf7-not-valid-tip { color: var(--error); font-size: 13px; font-weight: 600; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0; padding: 14px 18px; border: 0; border-radius: 12px;
	font-size: 15px; font-weight: 600;
	background: #FDECEA; color: var(--error);
}
.wpcf7 form.sent .wpcf7-response-output { background: #E3F2EA; color: var(--success); }
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output { display: none; }

.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form label { flex: 1; }
.search-form .search-submit { min-height: 52px; margin: 0; padding: 0 24px; font-size: 15px; }

/* ---------- Archive / single ---------- */
.layout { display: grid; gap: 48px; padding-block: 32px 88px; }
.layout--sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
@media (max-width: 900px) { .layout--sidebar { grid-template-columns: 1fr; } }
.layout .entry-content { padding: 0; }
.layout__aside .widget { margin-bottom: 32px; }
.post-list { display: grid; gap: 24px; }
.post-card {
	display: grid; grid-template-columns: minmax(0, 240px) 1fr; gap: 24px;
	padding: 20px; border: 1px solid var(--line); border-radius: var(--radius);
}
.post-card:not(:has(.post-card__image)) { grid-template-columns: 1fr; }
.post-card__image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.post-card__title { font-size: 28px; margin: 0; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--accent); }
@media (max-width: 640px) { .post-card { grid-template-columns: 1fr; } }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.nav-links a, .nav-links .current {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
	border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600;
}
.nav-links .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.entry-comments { padding-bottom: 88px; }
.comment-list { padding-left: 0; list-style: none; }

/* ---------- 404 ---------- */
.notfound { background: var(--mist); }
.notfound__inner { padding-block: 96px; max-width: 760px; }
.notfound__inner .page-title { margin-bottom: 16px; }
.notfound__inner p { color: var(--ink-soft); font-size: 17px; }
.notfound .search-form { margin-block: 28px; }

/* ---------- Footer (Footer widget area) ---------- */
.site-footer {
	background: var(--navy-deep); color: var(--on-dark);
	font-size: 14px; line-height: 1.7;
	padding-block: 72px 32px;
}
.site-footer__grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 40px;
}
.site-footer__brand p { margin: 14px 0 0; max-width: 34ch; }
.brand--footer .brand__eyebrow { color: var(--on-dark-accent); }
.brand--footer .brand__name { color: #fff; font-size: 30px; }
.site-footer .widget { margin: 0; }
.site-footer .widget-title {
	margin: 0 0 12px; font-family: var(--sans);
	font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.site-footer p { margin: 0 0 .4em; color: var(--on-dark); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer li a { display: inline-block; padding-block: 3px; }
.site-footer a[href^="tel:"] { color: #fff; font-weight: 700; }
.site-footer .theme-text-color-2 { color: inherit !important; }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
	margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 13px; color: #A9B4CA;
}
.site-footer__bottom a { color: #A9B4CA; }

/* ---------- Home page sections (Page Builder editor widgets using .pl-* markup) ---------- */
.entry-content--panels:has(.pl-section) { padding-block: 0; }
.panel-layout .panel-grid:has(.pl-section) { margin-bottom: 0 !important; }
.panel-layout .panel-grid:has(.pl-section) .panel-grid-cell { margin-bottom: 0 !important; }

/* Full-bleed band inside the content column. */
.pl-section {
	position: relative;
	margin-inline: calc(50% - 50vw);
	padding: 96px max(var(--gutter), calc(50vw - var(--wrap) / 2 + var(--gutter)));
}
.pl-section--tight-top { padding-top: 56px; }
.pl-section--tight-bottom { padding-bottom: 40px; }
.pl-section--mist { background: var(--mist); }
.pl-section--navy { background: var(--navy); color: #fff; }
.pl-section--navy h2, .pl-section--navy h3 { color: #fff; }
.pl-section p, .pl-section li { color: var(--ink-soft); }
.pl-section--navy p { color: var(--on-dark); }
.pl-section h2 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.06; margin: 0; }
.pl-section ul { list-style: none; padding: 0; margin: 0; }
.pl-section li { margin: 0; }
.pl-section img { border-radius: 0; }
.pl-lead { font-size: 17px; line-height: 1.65; margin: 0; max-width: 640px; }
.pl-head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.pl-head .eyebrow { margin: 0; }
.pl-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.pl-stack { display: flex; flex-direction: column; gap: 40px; }
.pl-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.pl-split--top { align-items: flex-start; }
.pl-split > * { min-width: 0; }
.pl-grow-1 { flex: 1 1 360px; }
.pl-grow-2 { flex: 1.3 1 480px; }
.pl-grow-3 { flex: 2 1 560px; }
.pl-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pl-check { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; font-weight: 600; }
.pl-check li { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.pl-check svg, .pl-ticks svg { flex-shrink: 0; color: var(--accent); }

/* Hero */
.pl-hero { padding-block: 72px 80px; }
.pl-hero h1 { font-size: clamp(42px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.01em; margin: 0; }
.pl-hero h1 em { font-weight: 500; }
.pl-hero .pl-copy { display: flex; flex-direction: column; gap: 24px; flex: 1 1 420px; }
.pl-hero .pl-copy p { font-size: 18px; line-height: 1.65; margin: 0; max-width: 520px; }
.pl-hero .eyebrow { margin: 0; }
.pl-hero__media { flex: 1 1 460px; position: relative; }
.pl-hero__media img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 20px; }
.pl-price-chip {
	position: absolute; left: -16px; bottom: 28px;
	display: flex; flex-direction: column; gap: 2px;
	padding: 16px 20px; background: var(--paper); border-radius: 14px;
	box-shadow: 0 20px 40px -16px rgba(21, 33, 59, .35);
}
.pl-price-chip small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pl-price-chip strong { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.1; }
.pl-price-chip strong span { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink-soft); }
@media (max-width: 560px) { .pl-price-chip { left: 12px; bottom: 12px; padding: 12px 16px; } .pl-price-chip strong { font-size: 28px; } }

/* Cards */
.pl-cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.pl-cards--4 { gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.pl-card {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--ink); text-decoration: none;
	transition: transform .2s, box-shadow .2s;
}
.pl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.pl-card:hover .more { color: var(--accent-dark); }
.pl-card img, .pl-card__tile { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pl-cards--4 img, .pl-cards--4 .pl-card__tile { aspect-ratio: 3 / 2; }
.pl-card__tile { background: var(--navy); display: flex; align-items: center; justify-content: center; color: #fff; }
.pl-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex-grow: 1; }
.pl-cards--4 .pl-card__body { padding: 22px; gap: 8px; }
.pl-card h3 { margin: 0; font-size: 28px; }
.pl-cards--4 h3 { font-family: var(--sans); font-size: 18px; font-weight: 700; letter-spacing: 0; }
.pl-card p { margin: 0; font-size: 15px; line-height: 1.6; flex-grow: 1; }
.pl-cards--4 p { font-size: 14px; }
.pl-card .more { min-height: 0; color: var(--accent); }

/* Intro copy (kept from the previous home page) */
.pl-intro { columns: 2 320px; column-gap: 48px; }
.pl-intro p { margin: 0 0 1em; break-inside: avoid; }

/* Colour swatches */
.pl-swatches { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.pl-swatch { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; text-align: center; }
.pl-swatch:hover .pl-swatch__name { color: var(--accent); }
.pl-swatch__disc {
	display: block; aspect-ratio: 1 / 1; border-radius: 50%;
	box-shadow: inset 0 -18px 30px -12px rgba(21, 33, 59, .10), 0 16px 30px -18px rgba(21, 33, 59, .35);
}
.pl-swatch__disc--white { background: #fff; border: 1px solid #DDE1E8; }
.pl-swatch__disc--ivory { background: #F4EEDF; border: 1px solid #E6DDC6; }
.pl-swatch__disc--black { background: #1B1D22; }
.pl-swatch__name { font-weight: 700; font-size: 16px; }
.pl-swatch small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }

/* Bed packs */
.pl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-chips li { padding: 8px 14px; border-radius: 999px; background: var(--mist); font-size: 13px; font-weight: 600; color: var(--ink); }
.pl-packs { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.pl-pack { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.pl-pack--featured { border: 2px solid var(--accent); }
.pl-pack__badge {
	position: absolute; top: -13px; left: 24px; padding: 5px 10px; border-radius: 999px;
	background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.pl-pack h3 { margin: 0; font-size: 30px; }
.pl-pack p { margin: 0; font-size: 14px; }
.pl-ticks { display: flex; flex-direction: column; gap: 10px; padding-top: 16px !important; border-top: 1px solid var(--line); font-size: 15px; }
.pl-ticks li { display: flex; gap: 10px; color: var(--ink); }

/* Testimonials */
.pl-quotes { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.pl-quote {
	margin: 0; padding: 32px; display: flex; flex-direction: column; gap: 20px;
	border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.pl-quote blockquote { margin: 0; padding: 0; border: 0; font-family: var(--serif); font-size: 26px; line-height: 1.35; font-weight: 500; color: #fff; }
.pl-quote figcaption { margin: 0; font-size: 14px; color: var(--on-dark); }
.pl-quote svg { color: var(--on-dark-accent); }

/* Promise / CTA */
.pl-cta {
	display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between;
	padding: clamp(28px, 5vw, 56px); border-radius: 24px; background: var(--mist);
}
.pl-cta__copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 14px; }
.pl-cta__copy h2 { font-size: clamp(32px, 3.4vw, 44px); }
.pl-cta__copy p, .pl-cta__copy .eyebrow { margin: 0; }
.pl-cta__actions { flex: 0 1 320px; display: flex; flex-direction: column; gap: 12px; }
.pl-cta__actions .btn { min-height: 56px; font-size: 16px; }
.pl-cta__actions small { text-align: center; color: var(--muted); }

@media (max-width: 640px) {
	.pl-section { padding-block: 64px; }
	.pl-hero { padding-block: 40px 56px; }
	.pl-head-row { margin-bottom: 28px; }
}

/* ---------- Product pages (.pl-product) ---------- */
.pl-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; font-size: 13px; color: var(--muted); }
.pl-crumbs a { color: var(--muted); text-decoration: none; }
.pl-crumbs a:hover { color: var(--accent); text-decoration: underline; }
.pl-crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.pl-product-hero { padding-block: 40px 72px; }
.pl-product-hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.02; margin: 0; }
.pl-product-hero .pl-copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 20px; }
.pl-product-hero .pl-copy > p { font-size: 18px; line-height: 1.65; margin: 0; }
.pl-product-hero .eyebrow { margin: 0; }
.pl-stats { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 8px; margin: 0; }
.pl-stats div { display: flex; flex-direction: column; }
.pl-stats dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pl-stats dd { margin: 0; font-family: var(--serif); font-size: 36px; font-weight: 600; line-height: 1.1; color: var(--ink); }
.pl-product-media {
	flex: 1 1 440px; display: flex; align-items: center; justify-content: center;
	padding: 32px; border-radius: 20px; background: var(--mist);
}
.pl-product-media img { display: block; width: auto; max-width: min(100%, 470px); height: auto; mix-blend-mode: multiply; }
/* The older product cut-outs are small: show them a little larger, but not blurry. */
.pl-product-media img[width="218"], .pl-product-media img[width="288"] { width: min(100%, 320px); }
.pl-product-media img[width="399"] { width: min(100%, 440px); }

.pl-prices { padding-top: 0; }
.pl-prices .pl-head-row { margin-bottom: 24px; }
.pl-prices .pl-head-row > span { font-size: 13px; color: var(--muted); }
.pl-section .table-scroll { margin: 0; }
.entry-content .pl-pt { min-width: 720px; font-size: 15px; }
.entry-content .pl-pt th {
	padding: 14px 18px; text-align: left; background: var(--mist);
	font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.entry-content .pl-pt td { padding: 18px; }
.pl-pt td:last-child, .pl-pt th:last-child { text-align: right; }
.pl-pt .pl-size { display: block; font-size: 17px; font-weight: 700; color: var(--ink); }
.pl-pt .pl-sub { display: block; font-size: 13px; color: var(--muted); }
.pl-pt .price { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1; color: var(--ink); }
.pl-pt .code { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.pl-pt .na { font-size: 14px; color: var(--muted); }
.pl-pt .pl-note { display: block; max-width: 30ch; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.entry-content .pl-pt--single { min-width: 520px; }
.pl-pt tr:target { background: var(--accent-tint); }

.pl-panels { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.pl-panel { display: flex; flex-direction: column; gap: 18px; padding: 36px; border-radius: 18px; background: var(--paper); }
.pl-panel h2 { font-size: 32px; }
.pl-panel .eyebrow { margin: 0 0 -8px; }
.pl-panel p { margin: 0; font-size: 15px; line-height: 1.7; }
.pl-drops { display: flex; flex-wrap: wrap; gap: 24px; }
.pl-drops figure { flex: 1 1 160px; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pl-drops figcaption { margin: 0; text-align: center; font-size: 14px; color: var(--muted); }
.pl-drops figcaption strong { color: var(--ink); }
.pl-big-price { display: flex; align-items: baseline; gap: 10px; padding: 18px 0; border-block: 1px solid var(--line); }
.pl-big-price strong { font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1; }
.pl-big-price span { font-size: 14px; color: var(--ink-soft); }
.pl-panel .btn { align-self: flex-start; }

.pl-related { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); margin-top: 24px; }
.pl-related a {
	display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 16px;
	border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 600;
}
.pl-related a:hover { border-color: var(--accent); color: var(--ink); }
.pl-shape { flex-shrink: 0; width: 36px; height: 36px; border-radius: 6px; border: 1px solid var(--line-strong); background: #fff; }
.pl-shape--rect { width: 48px; height: 30px; }
.pl-shape--round { border-radius: 50%; }
.pl-shape--ivory { background: #F4EEDF; border-color: #E6DDC6; }
.pl-shape--black { background: #1B1D22; border-color: #1B1D22; }
.pl-band {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	margin-top: 48px; padding: 28px 32px; border-radius: 18px; background: var(--navy); color: #fff;
}
.pl-band strong { display: block; font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.2; }
.pl-band p { margin: 4px 0 0; color: var(--on-dark); font-size: 15px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #DCE3F0; color: var(--ink); }

/* ---------- Contact page (.pl-contact) ---------- */
.pl-contact { padding-block: 64px 96px; }
.pl-contact h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.02; margin: 0; }
.pl-contact .pl-copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 20px; }
.pl-contact .pl-copy > p { margin: 0; font-size: 17px; line-height: 1.7; }
.pl-contact .eyebrow { margin: 0; }
.pl-methods { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.pl-method {
	display: flex; align-items: center; gap: 16px; min-height: 44px; padding: 20px;
	border: 1px solid var(--line); border-radius: 14px; background: var(--paper);
	color: var(--ink); text-decoration: none;
}
a.pl-method:hover { border-color: var(--accent); color: var(--ink); }
.pl-method__icon {
	flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--accent-tint); color: var(--accent);
}
.pl-method__text { display: flex; flex-direction: column; min-width: 0; }
.pl-method__text strong { font-size: 17px; overflow-wrap: anywhere; }
.pl-method__text span { font-size: 13px; color: var(--muted); }
.pl-form-card {
	flex: 1.3 1 520px; min-width: 0; padding: clamp(24px, 4vw, 40px);
	border-radius: 22px; background: var(--paper);
	box-shadow: 0 30px 60px -30px rgba(21, 33, 59, .25);
}
.pl-form-card h2 { font-size: 32px; margin: 0 0 22px; }
.pl-form-card .wpcf7 { margin: 0; }
.pl-form-card .wpcf7 form { padding: 0; border: 0; box-shadow: none; border-radius: 0; max-width: none; background: none; }

.pl-faq { flex: 2 1 560px; min-width: 0; border-top: 1px solid var(--line); }
.pl-faq details { border-bottom: 1px solid var(--line); }
.pl-faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 44px; padding: 22px 0; list-style: none; cursor: pointer;
	font-size: 18px; font-weight: 700; color: var(--ink);
}
.pl-faq summary::-webkit-details-marker { display: none; }
.pl-faq summary:hover { color: var(--accent); }
.pl-faq summary svg { flex-shrink: 0; transition: transform .2s; }
.pl-faq details[open] summary svg { transform: rotate(45deg); }
.pl-faq details p { margin: 0 0 24px; font-size: 16px; line-height: 1.7; }
.pl-map { margin-top: 0; }
.pl-map iframe { display: block; width: 100%; height: 420px; border: 0; border-radius: 18px; background: var(--mist); }

/* Numbered steps (service pages) */
.pl-steps { list-style: none; margin: 0; padding: 0; counter-reset: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.pl-section .pl-steps li { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.pl-steps__num {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px;
}
.pl-steps h3, .pl-panel h3 { margin: 0; font-size: 24px; }
.pl-steps p { margin: 0; font-size: 15px; line-height: 1.65; }
.pl-pack > p { font-size: 15px; }
.pl-section--navy .pl-head p { color: var(--on-dark); }
.pl-btn-on-dark { border-color: #fff; color: #fff; }
.pl-btn-on-dark:hover { background: #fff; color: var(--ink); }

/* ---------- Service pages: extra components ---------- */
.pl-section .pl-pack ul.pl-ticks,
.pl-section .pl-pack ul.pl-crosses { padding-top: 16px; }
.pl-crosses { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 15px; }
.pl-crosses li { display: flex; gap: 10px; color: var(--ink-soft); }
.pl-crosses svg { flex-shrink: 0; color: var(--error); margin-top: 3px; }
.pl-ticks svg { margin-top: 3px; }
.pl-pack--muted { background: var(--mist); border-color: var(--mist); }
.pl-pack .pl-price-from { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1; color: var(--ink); margin: 0; }
.pl-pack .pl-price-from small { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-right: 6px; }
.pl-pack .btn { align-self: flex-start; margin-top: auto; }
.pl-pack img { display: block; width: 100%; height: auto; border-radius: 12px; }

.pl-example {
	display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
	padding: 28px; border-radius: var(--radius); background: var(--paper); border: 2px solid var(--accent);
}
.pl-example__intro { grid-column: 1 / -1; margin: 0; font-weight: 700; color: var(--ink) !important; }
.pl-example div { display: flex; flex-direction: column; gap: 4px; }
.pl-example strong { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1; color: var(--ink); }
.pl-example span { font-size: 14px; color: var(--ink-soft); }

.pl-specs { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.pl-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pl-specs dt { color: var(--ink-soft); }
.pl-specs dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.pl-panel h4, .pl-pack h4 { margin: 8px 0 0; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.pl-figure { margin: 0; }
.pl-figure img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.pl-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.pl-photos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.pl-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.pl-video { display: flex; justify-content: center; }
.pl-video iframe { display: block; width: min(100%, 340px); aspect-ratio: 9 / 16; height: auto; border: 0; border-radius: 18px; background: var(--navy); }

.pl-area-list { columns: 2 140px; column-gap: 24px; font-size: 15px; }
.pl-section .pl-area-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.pl-area-map { display: block; width: 100%; height: 220px; object-fit: contain; border-radius: 12px; background: var(--mist); padding: 12px; box-sizing: border-box; }

/* Towel size chart drawn to scale (1cm = var(--u)). */
.pl-towels {
	--u: 1.6px;
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 28px 24px;
	padding: 32px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line);
}
.pl-towel { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.pl-towel__shape {
	width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u));
	border: 2px solid var(--accent); border-radius: 10px; background: var(--accent-tint);
}
.pl-towel strong { font-size: 14px; color: var(--ink); }
.pl-towel span { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .pl-towels { --u: 1px; padding: 20px; gap: 20px 14px; } }

/* Grouped price tables (e.g. Small round / Large round) */
.entry-content .pl-pt tr.pl-group th {
	padding: 22px 18px 10px; background: var(--paper); text-align: left;
	font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink);
	border-bottom: 1px solid var(--line);
}
.entry-content .pl-pt tr.pl-group th .pl-shape { display: inline-block; vertical-align: -6px; width: 24px; height: 24px; margin-right: 10px; }
.entry-content .pl-pt tr.pl-group th .pl-shape--rect { width: 32px; height: 20px; vertical-align: -3px; }
.entry-content .pl-pt tr.pl-group:hover { background: none; }
.entry-content .pl-pt td .pl-size a { display: inline; min-height: 0; padding: 0; border: 0; border-radius: 0; font-size: inherit; color: var(--accent); text-decoration: underline; }
.pl-pack[id] { scroll-margin-top: calc(var(--navbar-h) + 24px); }
.pl-pack[id]:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }

/* Shape cards on colour pages */
.pl-card__tile--light { background: var(--mist); }
.pl-card__tile .pl-shape { width: 120px; height: 120px; border-width: 2px; box-shadow: 0 18px 30px -18px rgba(21, 33, 59, .45); }
.pl-card__tile .pl-shape--rect { width: 168px; height: 104px; }
.pl-card .pl-from { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1; color: var(--ink); flex-grow: 0; }
.pl-card .pl-from small { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }

/* Legal pages: readable long-form text */
.pl-legal { max-width: 760px; }
.pl-legal h2 { font-size: clamp(26px, 2.4vw, 32px); margin: 48px 0 12px; scroll-margin-top: calc(var(--navbar-h) + 24px); }
.pl-legal h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; margin: 24px 0 6px; }
.pl-section .pl-legal p { margin: 0 0 1em; }
.pl-section .pl-legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.pl-section .pl-legal li { margin-bottom: .35em; color: var(--ink-soft); }
.pl-toc { counter-reset: toc; columns: 2 220px; column-gap: 32px; }
.pl-section .pl-toc li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); list-style: none; }
.pl-toc a { text-decoration: none; font-weight: 600; }

/* ---------- Back to top (Vantage had "scroll to top" switched on) ---------- */
.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 980;
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border: 0; border-radius: 50%;
	background: var(--navy); color: #fff; cursor: pointer;
	box-shadow: 0 12px 24px -10px rgba(21, 33, 59, .5);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s, background-color .15s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }
.to-top svg { transform: rotate(180deg); }

/* Responsive video embeds (Vantage used FitVids). */
.entry-content iframe[src*="youtube"],
.entry-content iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }

/* ---------- Misc ---------- */
.sticky, .bypostauthor, .gallery-caption { /* WordPress classes */ }
.alignwide, .alignfull { max-width: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.topbar, .navbar, .site-footer__grid, .skip-link { display: none !important; }
	body { font-size: 12pt; }
}

/* One-off oversized paragraph text in older content: bring it into the body scale as lead text. */
.entry-content p[style*="font-size: 28px"],
.entry-content p[style*="font-size: 1.2em"] { font-size: 20px !important; line-height: 1.55; color: var(--ink); }
