/* FlooringZone theme: front end + editor. Tokens live in theme.json; this file adds what theme.json can't. */

/* ---------- Base ---------- */
:root {
	--flz-ink: var(--wp--preset--color--ink);
	--flz-paper: var(--wp--preset--color--paper);
	--flz-warm: var(--wp--preset--color--paper-warm);
	--flz-rule: var(--wp--preset--color--rule);
	--flz-bronze: var(--wp--preset--color--bronze);
	--flz-bronze-dark: var(--wp--preset--color--bronze-on-dark);
	--flz-muted: var(--wp--preset--color--muted);
	--flz-soft: var(--wp--custom--color--ink-soft);
	--flz-ph: var(--wp--custom--color--placeholder);
	--flz-paper-warm: var(--wp--preset--color--paper-warm);
	--flz-font-heading: var(--wp--preset--font-family--heading);
	--flz-font-body: var(--wp--preset--font-family--body);
	--flz-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--flz-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
	--flz-i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
	--flz-header-h: 80px;
	--flz-pad: clamp(1rem, -0.2rem + 3.1vw, 3rem);
}
@media (max-width: 1024px) { :root { --flz-header-h: 64px; } }

html { scroll-padding-top: calc(var(--flz-header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
*, *::before, *::after { border-radius: 0 !important; box-shadow: none; }
img { height: auto; max-width: 100%; }
h1, h2, h3, h4, .is-style-stat, .wp-block-post-title { font-stretch: 112%; text-wrap: balance; }
h3, h4 { font-stretch: 105%; }
p { text-wrap: pretty; }
a { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
:where(.wp-block-group, .wp-block-columns, .wp-block-buttons, .wp-block-navigation, nav) a:where(:not(.wp-element-button)) { text-decoration: none; }
:where(.wp-block-post-content, .flz-prose, .wp-block-details, .flz-faq, .flz-branch-card, .flz-footer__branch, .flz-modal-fallback) :where(p, li, td, dd) > a:where(:not(.wp-element-button)) { text-decoration: underline; }
[class^="flz-card"] a, .flz-range-cards a, .flz-product-grid a, .flz-colour-grid a { text-decoration: none; }
table, .is-style-spec, .wp-block-table, dd { font-variant-numeric: tabular-nums; }
::selection { background: var(--flz-ink); color: var(--flz-paper); }

/* Focus: bronze ring everywhere, bronze-on-dark on ink. */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--flz-bronze); outline-offset: 2px; }
.has-ink-background-color :focus-visible, .flz-menu :focus-visible { outline-color: var(--flz-bronze-dark); }
.skip-link.screen-reader-text:focus { background: var(--flz-ink); color: var(--flz-paper); clip: auto; clip-path: none; height: auto; width: auto; left: 8px; top: 8px; padding: 12px 18px; z-index: 100000; font-weight: 600; text-decoration: none; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* Template parts sit flush: no root block gap between header, main and footer. */
.wp-site-blocks > * + * { margin-block-start: 0; }
:where(h1, h2, h3, h4) a { text-decoration: none; }
.flz-look-chip a, .flz-brands a, .flz-type-tile a, .flz-guide-card a, .flz-other-room a { text-decoration: none !important; }
.flz-type-tile > * + * { margin-block-start: 14px !important; }

/* Text colour helpers on ink bands */
.has-ink-background-color { color: var(--flz-paper); }
.has-ink-background-color :where(h1, h2, h3, h4, a:not(.wp-element-button)) { color: inherit; }
.has-ink-background-color a:not(.wp-element-button):hover { color: var(--flz-bronze-dark); }

/* Responsive grids: core grid layouts keep their column count, so step them down here.
   Specific components below override this where they need 2 columns or a swipe row. */
@media (max-width: 1024px) { .wp-site-blocks .is-layout-grid { grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)) !important; } }
@media (max-width: 600px) {
	.wp-site-blocks .is-layout-grid { grid-template-columns: minmax(0, 1fr) !important; }
	.wp-site-blocks .flz-two-up.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* ---------- Typography styles ---------- */
.is-style-eyebrow, .is-style-eyebrow-muted, .flz-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--xs) !important;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--flz-bronze);
}
.is-style-eyebrow-muted { color: var(--flz-muted); }
.has-ink-background-color .is-style-eyebrow, .flz-menu .is-style-eyebrow { color: var(--flz-bronze-dark); }
.has-ink-background-color .is-style-eyebrow-muted { color: var(--wp--custom--color--muted-on-dark); }
.is-style-lead { font-size: var(--wp--preset--font-size--lg); line-height: 1.55; color: var(--flz-soft); }
.has-ink-background-color .is-style-lead { color: var(--flz-rule); }
.is-style-stat { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem); line-height: 1.1; margin: 0; }
.flz-muted, .has-muted-color { color: var(--flz-muted); }
.flz-small { font-size: var(--wp--preset--font-size--sm); }
.flz-caption { font-size: 0.8125rem; color: var(--flz-muted); }

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: var(--wp--custom--touch--primary);
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	text-align: center;
}
.wp-block-button.is-style-outline > .wp-block-button__link { border: 1px solid var(--flz-ink); padding: 0.9rem 1.625rem; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--flz-ink); color: var(--flz-paper); border-color: var(--flz-ink); }
.wp-block-button.is-style-light > .wp-block-button__link { background: var(--flz-paper); color: var(--flz-ink); border-color: var(--flz-paper); }
.wp-block-button.is-style-light > .wp-block-button__link:hover { background: var(--flz-bronze); color: var(--flz-paper); border-color: var(--flz-bronze); }
.has-ink-background-color .wp-block-button.is-style-outline > .wp-block-button__link, .flz-menu .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--flz-paper); border-color: var(--flz-paper); background: transparent; }
.has-ink-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover, .flz-menu .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--flz-paper); color: var(--flz-ink); }
.wp-block-button.is-style-text-link > .wp-block-button__link { background: none; border: 0; border-bottom: 1px solid currentColor; color: var(--flz-ink); padding: 0 0 2px; min-height: 0; font-size: var(--wp--preset--font-size--sm); }
.wp-block-button.is-style-text-link > .wp-block-button__link:hover { color: var(--flz-bronze); }
.wp-block-buttons.is-layout-flex { gap: 12px; }
.flz-btn-arrow .wp-block-button__link::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--flz-i-arrow) center/contain no-repeat; mask: var(--flz-i-arrow) center/contain no-repeat; }
@media (max-width: 600px) {
	.flz-buttons-stack, .flz-buttons-stack.wp-block-buttons { flex-direction: column; align-items: stretch; }
	.flz-buttons-stack .wp-block-button, .flz-buttons-stack .wp-block-button__link { width: 100%; }
}

/* ---------- Forms (theme-level; the plugin styles its own forms on top) ---------- */
input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]), select, textarea {
	font: inherit; font-size: 16px; color: var(--flz-ink); background: var(--flz-paper);
	border: 1px solid var(--flz-ink); min-height: var(--wp--custom--touch--min); padding: 0 14px; width: 100%; box-sizing: border-box;
}
textarea { padding: 12px 14px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 0; border: 2px solid var(--flz-bronze); padding-left: 13px; }
::placeholder { color: var(--flz-muted); opacity: 1; }
label { font-size: 0.8125rem; font-weight: 600; }
input[type=checkbox], input[type=radio] { accent-color: var(--flz-ink); width: 22px; height: 22px; }

/* Postcode + mobile strip */
.flz-quickstart { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin: 0; }
.flz-quickstart__title { margin: 0 24px 12px 0; font-weight: 600; font-size: var(--wp--preset--font-size--md); }
.flz-quickstart label { display: flex; flex-direction: column; gap: 6px; color: var(--flz-soft); }
.flz-quickstart input[name=postcode] { width: 160px; }
.flz-quickstart input[name=mobile] { width: 220px; }
.flz-quickstart button { min-height: 50px; padding: 0 24px; background: var(--flz-ink); color: var(--flz-paper); border: 1px solid var(--flz-ink); font: inherit; font-weight: 600; cursor: pointer; }
.flz-quickstart button:hover { background: var(--flz-bronze); border-color: var(--flz-bronze); }
.flz-quickstart__help { margin: 0 0 13px auto; font-size: 0.875rem; color: var(--flz-muted); }
@media (max-width: 781px) {
	.flz-quickstart { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
	.flz-quickstart__title, .flz-quickstart__help, .flz-quickstart button { grid-column: 1 / -1; margin: 0; }
	.flz-quickstart input[name=postcode], .flz-quickstart input[name=mobile] { width: 100%; }
	.flz-quickstart button { min-height: 52px; }
}

/* ---------- Block styles ---------- */
.is-style-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.is-style-chips > li { padding: 9px 14px; border: 1px solid var(--flz-ink); font-size: 0.875rem; font-weight: 600; line-height: 1.3; margin: 0; }
.is-style-chips > li.is-warn, .is-style-chips > li:has(> em) { background: var(--flz-warm); }
.is-style-chips a { text-decoration: none; color: inherit; }
.is-style-chips > li:has(a:hover) { border-color: var(--flz-bronze); }
.is-style-ruled { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--flz-ink); }
.is-style-ruled > li { padding: 14px 0; border-bottom: 1px solid var(--flz-rule); margin: 0; }
.has-ink-background-color .is-style-ruled > li { border-color: var(--wp--custom--color--rule-dark); }

.wp-block-table.is-style-spec table, .is-style-spec table { border-collapse: collapse; width: 100%; border-top: 1px solid var(--flz-ink); }
.is-style-spec td, .is-style-spec th { border: 0; border-bottom: 1px solid var(--flz-rule); padding: 11px 16px 11px 0; text-align: left; vertical-align: top; }
.is-style-spec th { font-weight: 600; }
.is-style-spec thead { border-bottom: 0; }
.is-style-spec thead th { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--flz-muted); }
.is-style-spec tbody th, .is-style-spec td:first-child { color: var(--flz-muted); font-weight: 400; }
.wp-block-table.is-style-spec { overflow-x: auto; }
@media (max-width: 781px) { .is-style-spec table { min-width: 640px; } }

.is-style-card { border: 1px solid var(--flz-rule); }
.is-style-ruled-top { border-top: 1px solid var(--flz-ink); }
.flz-rule-top { border-top: 1px solid var(--flz-rule); }
.flz-rule-bottom { border-bottom: 1px solid var(--flz-rule); }
.flz-ink-top { border-top: 1px solid var(--flz-ink); }

.wp-block-details.is-style-faq, .flz-faq .wp-block-details { border-top: 1px solid var(--flz-ink); padding: 0; margin: 0; }
.wp-block-details.is-style-faq:last-child { border-bottom: 1px solid var(--flz-rule); }
.wp-block-details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 1.125rem; line-height: 1.35; min-height: 48px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; flex: none; }
.wp-block-details[open] summary::after { content: "\2212"; }
.wp-block-details summary:hover { color: var(--flz-bronze); }
.wp-block-details > :not(summary) { margin: 0 0 18px; color: var(--flz-soft); }
.wp-block-details > :not(summary) + :not(summary) { margin-top: -6px; }

.wp-block-image.is-style-placeholder img, .flz-media img { background: var(--flz-ph); }
.wp-block-image img, .wp-block-cover img { object-fit: cover; }
.wp-block-image figcaption, .flz-figcaption { font-size: 0.875rem; color: var(--flz-soft); margin-top: 12px; text-align: left; }
.wp-block-quote { margin: 0; }
.wp-block-quote cite { font-style: normal; font-size: 0.875rem; color: var(--flz-muted); }
.wp-block-separator { border: 0; height: 1px; opacity: 1; }

/* ---------- Header ---------- */
.flz-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .flz-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .flz-site-header { top: 0; } }
.flz-header { background: var(--flz-paper); border-bottom: 1px solid var(--flz-rule); }
.flz-header__bar { min-height: var(--flz-header-h); gap: 40px; }
.flz-header .wp-block-site-logo img, .flz-logo-fallback { display: block; height: 46px !important; width: auto !important; max-width: none; }
.flz-header .wp-block-site-logo { flex-shrink: 0; line-height: 0; }
.flz-nav-desktop { flex: 1 1 auto; }
.flz-nav-desktop .wp-block-navigation__container { gap: 28px; }
.flz-nav-desktop .wp-block-navigation-item__content { padding: 8px 0; }
.flz-nav-desktop .wp-block-navigation-item__content:hover, .flz-nav-desktop .current-menu-item > a, .flz-nav-desktop [aria-current=page] { color: var(--flz-bronze); }
.flz-nav-desktop .wp-block-navigation__submenu-container { border: 1px solid var(--flz-rule) !important; background: var(--flz-paper) !important; padding: 12px 0; min-width: 260px !important; }
.flz-nav-desktop .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 8px 20px; }
.flz-header__actions { gap: 24px; flex-shrink: 0; }
.flz-header__actions .wp-block-button__link { min-height: 48px; padding: 0 22px; font-size: var(--wp--preset--font-size--sm); }

/* Phone picker (details) */
.flz-phone-picker { position: relative; margin: 0; }
.flz-phone-picker > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: var(--wp--preset--font-size--sm); font-weight: 500; min-height: 48px; padding: 0; }
.flz-phone-picker > summary::-webkit-details-marker { display: none; }
.flz-phone-picker > summary::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--flz-i-phone) center/contain no-repeat; mask: var(--flz-i-phone) center/contain no-repeat; }
.flz-phone-picker > summary::after { content: none; }
.flz-phone-picker > summary:hover { color: var(--flz-bronze); }
.flz-phone-picker[open] > :not(summary) { position: absolute; right: 0; top: calc(100% + 8px); width: 320px; background: var(--flz-paper); border: 1px solid var(--flz-ink); padding: 8px 20px; z-index: 60; margin: 0; }
.flz-phone-picker .flz-branch-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--flz-rule); margin: 0; font-size: 0.9375rem; }
.flz-phone-picker .flz-branch-line:first-child { border-top: 0; }
.flz-phone-picker .flz-branch-line strong { font-weight: 600; }

/* Icon buttons (hamburger, close) */
.flz-icon-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none;
	border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; padding: 0;
}
.flz-icon-btn svg { width: 20px; height: 20px; }
.flz-icon-btn:hover { color: var(--flz-bronze); }
.flz-menu .flz-icon-btn:hover { color: var(--flz-bronze-dark); }
.flz-menu-toggle { display: none; }
@media (max-width: 1024px) {
	.flz-nav-desktop, .flz-phone-picker, .flz-header__book { display: none !important; }
	.flz-menu-toggle { display: inline-flex; }
	.flz-header__bar { gap: 16px; justify-content: space-between; }
	.flz-header .wp-block-site-logo img, .flz-header .flz-logo-fallback { height: 36px !important; }
}

/* ---------- Full-screen mobile menu ---------- */
.flz-menu { position: fixed; inset: 0; z-index: 1000; background: var(--flz-ink); color: var(--flz-paper); overflow-y: auto; overscroll-behavior: contain; display: none; flex-direction: column; margin: 0 !important; max-width: none !important; padding: 0 16px max(16px, env(safe-area-inset-bottom)); }
.flz-menu.is-open, .flz-menu:target { display: flex; }
.flz-menu.is-open { animation: flz-fade 0.18s ease-out; }
@keyframes flz-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.flz-menu a { color: var(--flz-paper); }
.flz-menu a:not(.wp-element-button):hover { color: var(--flz-bronze-dark); }
.flz-menu__top { min-height: 68px; border-bottom: 1px solid var(--wp--custom--color--rule-dark); justify-content: space-between; flex-wrap: nowrap !important; }
.flz-menu__top img { height: 36px !important; width: auto !important; }
.flz-menu .flz-menu-close { color: var(--flz-paper); }
.flz-menu__cta { margin-top: 20px !important; }
.flz-menu__cta .wp-block-button { flex: 1 1 100%; }
.flz-menu__cta .wp-block-button__link { width: 100%; }
.flz-menu__foot { font-size: 0.8125rem; color: var(--wp--custom--color--muted-on-dark); margin: 16px 0 0 !important; }
.flz-nav-mobile, .flz-nav-mobile .wp-block-navigation__container { width: 100%; align-items: stretch !important; gap: 0 !important; }
.flz-nav-mobile .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--wp--custom--color--rule-dark); flex-wrap: wrap; }
.flz-nav-mobile > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content,
.flz-nav-mobile > .wp-block-navigation__container > .wp-block-navigation-submenu > button {
	font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-stretch: 112%; letter-spacing: -0.015em;
	font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.25rem); line-height: 1.1; min-height: 60px; display: flex; align-items: center; flex: 1; padding: 0 !important;
}
.flz-nav-mobile .wp-block-navigation-item__content::after { content: none; }
.flz-nav-mobile .wp-block-navigation__submenu-icon { width: 44px; height: 44px; margin: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--flz-bronze-dark); }
.flz-nav-mobile .wp-block-navigation__submenu-icon svg { width: 16px; height: 16px; }
.flz-nav-mobile .wp-block-navigation__submenu-container { position: static !important; width: 100% !important; opacity: 1 !important; visibility: visible !important; height: auto !important; background: transparent !important; border: 0 !important; padding: 0 0 12px 0 !important; display: none !important; }
.flz-nav-mobile .wp-block-navigation-submenu.is-open > .wp-block-navigation__submenu-container,
.flz-nav-mobile .wp-block-navigation-submenu > button[aria-expanded=true] ~ .wp-block-navigation__submenu-container { display: flex !important; }
.flz-nav-mobile .wp-block-navigation__submenu-container .wp-block-navigation-item { border: 0; }
.flz-menu .flz-nav-mobile .wp-block-navigation__submenu-container, .flz-menu .flz-nav-mobile .wp-block-navigation__submenu-container .wp-block-navigation-item__content { color: var(--flz-paper) !important; }
.flz-menu .flz-nav-mobile .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover, .flz-menu .flz-nav-mobile .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible { color: var(--flz-bronze-dark) !important; }
.flz-nav-mobile .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1.0625rem; font-weight: 500; padding: 10px 0 10px 16px !important; min-height: 44px; display: flex; align-items: center; }
.flz-menu__branches { margin-top: auto !important; padding-top: 28px; }
.flz-menu-branch { padding: 12px 0; border-top: 1px solid var(--wp--custom--color--rule-dark); margin: 0 !important; }
.flz-menu-branch__name { font-weight: 700; font-size: 1.0625rem; margin: 0; }
.flz-menu-branch__meta { font-size: 0.8125rem; color: var(--wp--custom--color--muted-on-dark); margin: 2px 0 10px !important; }
.flz-menu-branch__actions { display: flex; gap: 8px; margin: 0 !important; }
.flz-menu-branch__actions a { flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 10px; border: 1px solid var(--flz-paper); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.flz-menu-branch__actions a:hover { background: var(--flz-paper); color: var(--flz-ink) !important; }
html.flz-scroll-lock, html.flz-scroll-lock body { overflow: hidden; }
@media (min-width: 1025px) { .flz-menu { display: none !important; } }

/* ---------- Sections and layout helpers ---------- */
.alignwide > h2.wp-block-heading { margin-bottom: var(--wp--preset--spacing--40); }
.flz-browse-card:not(:has(img))::before { content: ""; display: block; aspect-ratio: 1; background: var(--flz-ph); }
.flz-section-head { justify-content: space-between; align-items: flex-end !important; gap: 24px; margin-bottom: var(--wp--preset--spacing--40); }
.flz-section-head > * { margin: 0; }
.flz-section-head h2 { margin: 0; }
.flz-stack-tight > * + * { margin-block-start: 0.5rem; }
.flz-stack-0 > * { margin-block: 0; }
.flz-eyebrow-gap > .is-style-eyebrow { margin-bottom: 12px; }
.flz-eyebrow-gap > .is-style-eyebrow + * { margin-top: 0; }

/* Hero (home) */
.flz-hero.wp-block-cover { padding: 56px var(--flz-pad); align-items: flex-end; }
.flz-hero .wp-block-cover__inner-container { max-width: 1344px; margin: 0 auto; width: 100%; }
.flz-hero__card { background: var(--flz-paper); color: var(--flz-ink); max-width: 720px; padding: 48px 48px 40px !important; }
.flz-hero__card h1 { font-size: clamp(2.625rem, 2rem + 2vw, 3.75rem); line-height: 0.98; letter-spacing: -0.025em; margin: 0; }
.flz-hero__card .is-style-eyebrow { margin: 0 0 20px; }
.flz-hero__card .is-style-lead { margin: 20px 0 32px; max-width: 520px; }
@media (max-width: 781px) {
	.flz-hero.wp-block-cover { display: block; padding: 0; min-height: 0 !important; }
	.flz-hero .wp-block-cover__image-background, .flz-hero > img { position: relative !important; height: 300px; display: block; }
	.flz-hero .wp-block-cover__background { display: none; }
	.flz-hero .wp-block-cover__inner-container { padding: 0; }
	.flz-hero__card { padding: 28px 16px 32px !important; max-width: none; }
	.flz-hero__card .is-style-lead { margin: 16px 0 24px; }
}

/* Trust bar */
.flz-trust { border-bottom: 1px solid var(--flz-rule); }
.flz-trust > .wp-block-group, .flz-trust .flz-trust__item { padding: 28px 24px; border-right: 1px solid var(--flz-rule); margin: 0 !important; }
.flz-trust .flz-trust__item:first-child { padding-left: 0; }
.flz-trust .flz-trust__item:last-child { border-right: 0; padding-right: 0; }
.flz-trust__item p:last-child { margin: 2px 0 0; font-size: 0.875rem; color: var(--flz-muted); }
@media (max-width: 781px) {
	.flz-trust { border-top: 1px solid var(--flz-ink); border-bottom: 0; }
	.flz-trust.is-layout-grid { grid-template-columns: 1fr 1fr !important; gap: 0 !important; }
	.flz-trust .flz-trust__item { padding: 14px 12px !important; border-bottom: 1px solid var(--flz-rule); }
	.flz-trust .flz-trust__item:nth-child(odd) { padding-left: 0 !important; }
	.flz-trust .flz-trust__item:nth-child(even) { border-right: 0; }
}

/* Type tiles */
.flz-type-tile { display: flex; flex-direction: column; gap: 14px; }
.flz-type-tile .wp-block-image { margin: 0; }
.flz-type-tile .wp-block-image img { aspect-ratio: 4/5; width: 100%; }
.flz-type-tile__text { border-top: 1px solid var(--flz-rule); padding-top: 12px; }
.flz-type-tile__text h3 { font-size: 1.25rem; margin: 0; letter-spacing: 0; }
.flz-type-tile__text h3 a:hover { color: var(--flz-bronze); }
.flz-type-tile__text p { margin: 4px 0 0; font-size: 0.875rem; line-height: 1.45; color: var(--flz-muted); }
@media (max-width: 600px) {
	.flz-type-tiles.is-layout-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
	.flz-type-tile { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--flz-rule); }
	.flz-type-tile .wp-block-image img { aspect-ratio: 1; }
	.flz-type-tile__text { border: 0; padding: 0; }
	.flz-type-tile__text h3 { font-size: 1.125rem; }
}

/* Tone chips and pattern tiles */
.flz-look-chip { display: flex !important; align-items: center; gap: 12px; padding: 10px !important; border: 1px solid var(--flz-rule); min-height: 64px; margin: 0 !important; }
.flz-look-chip:hover { border-color: var(--flz-bronze); }
.flz-look-chip .wp-block-image { margin: 0; flex: none; }
.flz-look-chip .wp-block-image img { width: 44px; height: 44px; }
.flz-look-chip p { margin: 0; font-weight: 600; font-size: 0.9375rem; line-height: 1.25; }
.flz-look-chip a::after { content: ""; position: absolute; inset: 0; }
.flz-look-chip { position: relative; }
@media (max-width: 600px) { .flz-look-chip .wp-block-image img { width: 32px; height: 32px; } .flz-look-chip { min-height: 52px; padding: 8px !important; } }

/* Straight answers grid */
.flz-answers { border-left: 1px solid var(--flz-rule); }
.flz-answers > * { padding: 32px; margin: 0 !important; }
.flz-answers > :nth-child(-n+2) { border-bottom: 1px solid var(--flz-rule); padding-top: 0; }
.flz-answers > :nth-child(even) { border-left: 1px solid var(--flz-rule); }
.flz-answers > :nth-child(n+3) { padding-bottom: 0; }
.flz-answers h3 { font-size: 1.25rem; margin: 0 0 8px; letter-spacing: 0; }
.flz-answers p { font-size: 0.9375rem; color: var(--flz-soft); margin: 0 0 12px; }
@media (max-width: 781px) {
	.flz-answers { border: 0; }
	.flz-answers.is-layout-grid { grid-template-columns: 1fr !important; }
	.flz-answers > * { padding: 16px 0 !important; border: 0 !important; border-top: 1px solid var(--flz-rule) !important; }
}

/* Steps */
.flz-steps { border-top: 1px solid var(--flz-ink); }
.flz-steps > .flz-step { padding: 28px 32px 0; border-left: 1px solid var(--flz-rule); margin: 0 !important; }
.flz-steps > .flz-step:first-child { border-left: 0; padding-left: 0; }
.flz-steps > .flz-step:last-child { padding-right: 0; }
.flz-step__num { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-stretch: 112%; font-size: clamp(1.625rem, 1rem + 2.6vw, 3.5rem); line-height: 1; margin: 0 0 16px; }
.flz-step h3 { font-size: 1.25rem; margin: 0 0 8px; letter-spacing: 0; }
.flz-step p:last-child { font-size: 0.9375rem; color: var(--flz-soft); margin: 0; }
@media (max-width: 781px) {
	.flz-steps.is-layout-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
	.flz-steps > .flz-step { display: grid; grid-template-columns: 48px 1fr; column-gap: 0; padding: 14px 0 !important; border: 0; border-bottom: 1px solid var(--flz-rule); }
	.flz-step__num { grid-row: 1 / span 2; margin: 0; }
	.flz-step h3, .flz-step p:last-child { grid-column: 2; }
}

/* Showroom cards */
.flz-branch-card { border: 1px solid var(--flz-rule); display: flex; flex-direction: column; margin: 0 !important; }
.flz-branch-card > .wp-block-image { margin: 0; border-bottom: 1px solid var(--flz-rule); }
.flz-branch-card > .wp-block-image img { aspect-ratio: 16/10; width: 100%; }
.flz-branch-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.flz-branch-card__body > * { margin: 0; }
.flz-branch-card h3 { font-size: 1.625rem; font-weight: 800; letter-spacing: -0.01em; font-stretch: 112%; }
.flz-branch-card .is-style-eyebrow { font-size: 0.75rem !important; }
.flz-branch-card__body .wp-block-buttons { margin-top: auto; padding-top: 14px; gap: 10px; flex-wrap: nowrap; }
.flz-branch-card__body .wp-block-button { flex: 1; }
.flz-branch-card__body .wp-block-button__link { width: 100%; min-height: 48px; padding: 0 12px; font-size: 0.9375rem; }
.flz-today { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; }
.flz-today::before { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: var(--flz-i-clock) center/contain no-repeat; mask: var(--flz-i-clock) center/contain no-repeat; }
.flz-menu .flz-today::before, .flz-footer .flz-today::before { content: none; }

/* Projects, reviews, brands, guides */
.flz-projects.is-layout-grid { grid-template-columns: 2fr 1fr 1fr; }
.flz-projects figure { margin: 0; }
.flz-projects img { width: 100%; height: 360px; }
@media (max-width: 781px) { .flz-projects.is-layout-grid { grid-template-columns: repeat(6, 78%) !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; } .flz-projects figure { scroll-snap-align: start; } .flz-projects img { height: auto; aspect-ratio: 4/5; } }
.flz-projects--six.is-layout-grid { grid-template-columns: repeat(3, 1fr); }
.flz-projects--six img { height: auto; aspect-ratio: 4/5; }
.flz-review { border-top: 1px solid var(--flz-ink); padding-top: 24px; margin: 0 !important; }
.flz-review p { margin: 0 0 16px; }
.flz-review cite, .flz-review .flz-review__who { font-size: 0.875rem; color: var(--flz-muted); font-style: normal; }
.flz-brands { border-top: 1px solid var(--flz-rule); border-left: 1px solid var(--flz-rule); gap: 0 !important; }
.flz-brands > * { margin: 0 !important; display: flex; align-items: center; justify-content: center; min-height: 96px; border-right: 1px solid var(--flz-rule); border-bottom: 1px solid var(--flz-rule); font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.125rem; text-align: center; padding: 8px; }
.flz-brands a:hover { color: var(--flz-bronze); }
@media (max-width: 781px) { .flz-brands.is-layout-grid { grid-template-columns: 1fr 1fr !important; } .flz-brands > * { min-height: 64px; font-size: 0.9375rem; } }
.flz-guide-card { border: 1px solid var(--flz-rule); padding: 28px !important; min-height: 220px; display: flex; flex-direction: column; gap: 16px; margin: 0 !important; position: relative; }
.flz-guide-card:hover { border-color: var(--flz-ink); }
.flz-guide-card > * { margin: 0; }
.flz-guide-card h3 { font-size: 1.5rem; line-height: 1.15; font-weight: 800; }
.flz-guide-card h3 a::after { content: ""; position: absolute; inset: 0; }
.flz-guide-card p:last-child { margin-top: auto; font-size: 0.9375rem; color: var(--flz-soft); }
@media (max-width: 781px) { .flz-guide-card { min-height: 0; padding: 16px 0 !important; border: 0; border-top: 1px solid var(--flz-rule); } .flz-guide-card h3 { font-size: 1.1875rem; } .flz-guide-card p:last-child { display: none; } }

/* CTA band */
.flz-cta-band h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); line-height: 1; letter-spacing: -0.025em; }
.flz-cta-band .wp-block-buttons { flex-direction: column; align-items: stretch; }
.flz-cta-band .wp-block-button__link { width: 100%; min-height: 60px; }

/* ---------- Product (colour) page ---------- */
.flz-product-top { align-items: flex-start !important; }
.flz-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.flz-gallery > * { margin: 0 !important; }
.flz-gallery > :first-child { grid-column: 1 / -1; }
.flz-gallery > :first-child img { aspect-ratio: 3/2; }
.flz-gallery img { width: 100%; aspect-ratio: 1; background: var(--flz-ph); }
.flz-action-panel { position: sticky; top: calc(var(--flz-header-h) + 24px); display: flex; flex-direction: column; gap: 22px; }
.flz-action-panel > * { margin: 0 !important; }
.flz-action-panel h1 { font-size: clamp(2.75rem, 2rem + 2.2vw, 3.75rem); line-height: 0.98; letter-spacing: -0.025em; }
.flz-action-panel .wp-block-button, .flz-action-panel .wp-block-button__link { width: 100%; }
.flz-action-panel .wp-block-button__link { min-height: 60px; }
@media (max-width: 781px) {
	.flz-action-panel { position: static; }
	.flz-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px; margin-inline: calc(var(--flz-pad) * -1) !important; }
	.flz-gallery > * { flex: 0 0 100%; scroll-snap-align: start; }
	.flz-gallery img { aspect-ratio: 4/3 !important; }
}

/* Browse: filter chips + colour cards (Query Loop) */
.flz-filters { display: grid; gap: 16px; margin: 24px 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--flz-rule); }
.flz-filters__group { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: start; }
.flz-filters__label { margin: 9px 0 0; font-size: 0.8125rem; font-weight: 600; color: var(--flz-muted); }
.flz-filters .is-style-chips > li { padding: 0; }
.flz-filters .is-style-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; }
.flz-filters .is-style-chips > li.is-active { border: 2px solid var(--flz-bronze); }
.flz-filters__foot { display: flex; gap: 24px; align-items: center; }
.flz-filters__foot p { margin: 0; font-size: 0.875rem; }
.flz-filters__count { color: var(--flz-muted); }
@media (max-width: 781px) { .flz-filters__group { grid-template-columns: 1fr; gap: 6px; } .flz-filters .is-style-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .flz-filters .is-style-chips > li { flex: none; } }
.flz-browse-card { display: flex; flex-direction: column; gap: 8px; }
.flz-browse-card > * { margin: 0 !important; }
.flz-browse-card .wp-block-post-featured-image img { aspect-ratio: 1; object-fit: cover; background: var(--flz-ph); }
.flz-browse-card .wp-block-post-title { font-size: 1rem; font-weight: 700; font-stretch: 100%; letter-spacing: 0; }
.flz-browse-card .wp-block-post-title a:hover { color: var(--flz-bronze); }
@media (max-width: 600px) { .wp-site-blocks .flz-browse .is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* flz-catalogue block headings: keep the plugin's look, at the theme's sizes */
.flz-on-display__title { font: 600 0.8125rem/1.3 var(--flz-font-body) !important; letter-spacing: 0.18em !important; text-transform: uppercase; color: var(--flz-bronze) !important; margin: 0 0 12px; }
.flz-product-grid__title, .flz-range-cards__title, .flz-colour-grid__title, .flz-documents__title, .flz-spec-table__title, .flz-suitability__title { font-size: var(--wp--preset--font-size--xxl) !important; }
/* No photo yet: a quiet branded panel (FlooringZone wordmark on the warm ground), never a "photo goes here" label. */
.flz-media-col:not(:has(img))::before { content: ""; display: block; aspect-ratio: 3/2; background: var(--flz-ph) url("../images/pattern-plank.svg") center / 72px no-repeat; }
.flz-media-col--storefront:not(:has(img)) { display: none; }
.flz-showroom-hero:has(.flz-media-col--storefront:not(:has(img))) > .wp-block-column:first-child { flex-basis: 100% !important; max-width: 46rem; }
.flz-gallery:not(:has(img))::before { width: 100%; flex: 0 0 100%; box-sizing: border-box; content: ""; display: block; aspect-ratio: 3/2; background: var(--flz-ph) url("../images/pattern-plank.svg") center / 72px no-repeat; }

/* Plugin block spacing defaults (the plugin owns inner styling) */
[class*="wp-block-flz-"] { margin-block: 0; }

/* ---------- Mobile sticky bar ---------- */
.wp-block-buttons.flz-sticky-bar { display: none; }
@media (max-width: 1024px) {
	.wp-block-buttons.flz-sticky-bar { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--flz-paper); border-top: 1px solid var(--flz-rule); padding: 10px 16px max(14px, env(safe-area-inset-bottom)); margin: 0 !important; transition: transform 0.2s ease; }
	.flz-sticky-bar .wp-block-button, .flz-sticky-bar .wp-block-button__link { width: 100%; }
	.flz-sticky-bar .wp-block-button__link { min-height: 52px; padding: 0 12px; font-size: 0.9375rem; }
	.flz-sticky-bar.is-hidden, html.flz-scroll-lock .flz-sticky-bar { transform: translateY(110%); }
	body:has(.flz-sticky-bar) .flz-footer { padding-bottom: 96px !important; }
	body:has(.flz-sticky-bar) .flz-footer-landing { padding-bottom: 96px !important; }
}

/* ---------- Floor picker tabs ---------- */
.flz-tabs__list { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--flz-ink); margin: 0 0 24px; scrollbar-width: none; }
.flz-tabs__list::-webkit-scrollbar { display: none; }
.flz-tabs__tab { flex: none; min-height: 48px; padding: 0 20px; border: 0; background: none; font: inherit; font-weight: 600; font-size: 0.9375rem; color: var(--flz-ink); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.flz-tabs__tab[aria-selected=true] { border-bottom-color: var(--flz-bronze); }
.flz-tabs__tab:hover { color: var(--flz-bronze); }
.flz-tabs.is-enhanced .flz-tab-panel[hidden] { display: none !important; }
.flz-tabs.is-enhanced .flz-tab-panel > .flz-tab-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.flz-tab-panel + .flz-tab-panel { margin-top: var(--wp--preset--spacing--60); }
.flz-tabs.is-enhanced .flz-tab-panel + .flz-tab-panel { margin-top: 0; }

/* ---------- Modals ---------- */
.flz-modal { position: fixed; inset: 0; z-index: 1100; display: none; align-items: center; justify-content: center; padding: 16px; margin: 0 !important; max-width: none !important; background: rgba(20, 19, 18, 0.6); }
.flz-modal.is-open { display: flex; }
.flz-modal__dialog { background: var(--flz-paper); width: 100%; max-width: 520px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 32px !important; position: relative; margin: 0 !important; border: 1px solid var(--flz-ink); }
.flz-modal__dialog > * { margin-block: 0 16px; }
.flz-modal__dialog h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.08; padding-right: 48px; }
.flz-modal .flz-modal-close { position: absolute; top: 12px; right: 12px; border-color: transparent; }
.flz-modal .flz-modal-close:hover { border-color: var(--flz-ink); }
.flz-modal-product { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--flz-rule); font-size: 0.875rem; }
.flz-modal-product[hidden] { display: none; }
.flz-modal-product strong { display: block; font-size: 0.9375rem; }
.flz-modal-fallback { font-size: 0.875rem; color: var(--flz-muted); }
.flz-modal-thanks h2 { padding-right: 0; }
.flz-modal-thanks__tick { width: 56px; height: 56px; background: var(--flz-ink); color: var(--flz-paper); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
@media (max-width: 600px) {
	.flz-modal { padding: 0; align-items: stretch; }
	.flz-modal__dialog { max-width: none; max-height: none; height: 100%; border: 0; padding: 24px 16px 32px !important; }
	.flz-modal--sheet { align-items: flex-end; }
	.flz-modal--sheet .flz-modal__dialog { height: auto; max-height: 92dvh; border-top: 1px solid var(--flz-ink); }
}

/* ---------- Footer ---------- */
.flz-footer { color: var(--flz-rule); }
.flz-footer a { color: var(--flz-paper); }
.flz-footer .flz-footer__branch p { margin: 0; font-size: 0.9375rem; line-height: 1.6; }
.flz-footer .flz-footer__branch .is-style-eyebrow { margin-bottom: 10px; font-size: 0.75rem !important; }
.flz-footer__nav .wp-block-navigation__container { gap: 6px; }
.flz-footer__nav .wp-block-navigation-item__content { font-size: 0.9375rem; font-weight: 400; color: var(--flz-paper); }
.flz-footer__legal { border-top: 1px solid var(--wp--custom--color--rule-dark); padding-top: 20px; font-size: 0.8125rem; color: var(--wp--custom--color--muted-on-dark); justify-content: space-between; }
.flz-footer__legal p { margin: 0; }
.flz-footer__legal a { color: var(--wp--custom--color--muted-on-dark); }
.flz-footer .wp-block-site-logo img, .flz-footer .flz-logo-fallback { height: 48px !important; width: auto !important; }
.flz-logo-white img:not(.flz-logo-fallback) { filter: brightness(0) invert(1); }

/* Misc components */
.flz-rating { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-stretch: 112%; font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1; margin: 0; }
.flz-strong { font-weight: 700; font-size: 1.125rem; margin: 2px 0 0; }
.flz-small { margin: 0; }
.flz-pad-20 { padding: 20px !important; }
.flz-descriptor { color: var(--flz-soft); margin-top: -10px !important; }
.flz-descriptor p { margin: 0; }
.flz-eyebrow a { color: inherit; text-decoration: none; }
.flz-prose h2 { margin-bottom: 0.75em; }
.flz-prose h3 { margin-top: 1.5em; }
.flz-prose .wp-block-table { max-width: none; }
.flz-cta-slim__text { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.05; max-width: 720px; margin: 0; }
.flz-suit { border-top: 1px solid var(--flz-ink); border-left: 1px solid var(--flz-rule); }
.flz-suit-card { padding: 24px 28px 28px; border-right: 1px solid var(--flz-rule); border-bottom: 1px solid var(--flz-rule); margin: 0 !important; }
.flz-suit-card > * { margin: 0 0 8px; }
.flz-suit-card h3 { font-size: 1.25rem; letter-spacing: 0; }
.flz-suit-card p:last-child { font-size: 0.9375rem; color: var(--flz-soft); margin: 0; }
.flz-suit-box { border: 1px solid var(--flz-ink); padding: 16px 20px; margin-bottom: 32px; }
.flz-expect { border-top: 1px solid var(--flz-ink); margin-top: 28px !important; }
.flz-expect > * { padding: 24px 28px 0 0; margin: 0 28px 0 0 !important; border-right: 1px solid var(--flz-rule); }
.flz-expect > *:last-child { border-right: 0; }
.flz-expect h3 { font-size: 1.25rem; margin: 0 0 8px; }
.flz-expect p { font-size: 0.9375rem; color: var(--flz-soft); }
.flz-services { border-top: 1px solid var(--flz-ink); gap: 0 !important; }
.flz-service { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--flz-rule); margin: 0 !important; }
.flz-service h3 { font-size: 1.25rem; margin: 0 0 8px; }
.flz-service p { font-size: 0.9375rem; color: var(--flz-soft); margin: 0; }
.flz-actionbar { border-top: 1px solid var(--flz-ink); margin-top: 32px !important; }
.flz-actionbar > * { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--flz-rule); margin: 0 !important; }
.flz-actionbar > .wp-block-buttons { grid-column: 1 / -1; border-bottom: 0; padding-right: 0; }
.flz-visit-card { padding: 32px !important; border-color: var(--flz-ink); }
.flz-other-room a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--flz-rule); text-decoration: none !important; font-size: 1.125rem; }
.flz-other-room { margin: 0 !important; }
.flz-quickstart--card { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--flz-rule); display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.flz-quickstart--card .flz-quickstart__title { grid-column: 1 / -1; margin: 0; }
.flz-quickstart--card input[name=postcode], .flz-quickstart--card input[name=mobile] { width: 100%; }
.flz-quickstart--card .flz-quickstart__help { margin: 0; flex-basis: 100%; }
@media (max-width: 781px) {
	.flz-expect.is-layout-grid, .flz-suit.is-layout-grid { grid-template-columns: 1fr !important; }
	.flz-expect > * { margin: 0 !important; padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--flz-rule); }
	.flz-suit-card { padding: 16px 0 20px; border-right: 0; }
	.flz-suit { border-left: 0; }
}

/* Landing slim header */
.flz-header--landing .flz-header__bar { justify-content: space-between; }
.flz-header--landing .wp-block-button__link { min-height: 48px; padding: 0 18px; font-size: 0.9375rem; }
@media (max-width: 600px) { .flz-header--landing .flz-call-label-long { display: none; } }

/* Breadcrumb fallback spacing */
.flz-crumbs { font-size: 0.875rem; color: var(--flz-muted); padding-block: 20px; }

/* Utility: hide on breakpoints */
@media (max-width: 781px) { .flz-hide-mobile { display: none !important; } }
@media (min-width: 782px) { .flz-hide-desktop { display: none !important; } }

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

/* Trust bar adapts to 2-4 items (items without a confirmed value are left out). */
.flz-trust--2 .flz-trust__item, .flz-trust--3 .flz-trust__item { min-width: 0; }

/* Brand index page (/brands/) */
.flz-brand-index { margin-block: var(--wp--preset--spacing--40); }

/* QA regression: keep phone numbers on one line */
a[href^="tel:"]{white-space:nowrap}

/* Services page (photo rows) */
.flz-svc-index { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
.flz-svc-index a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--flz-rule); border-radius: 999px; color: var(--flz-ink); text-decoration: none; font-size: 0.9375rem; background: var(--flz-paper); transition: border-color .15s, background .15s; }
.flz-svc-index a:hover, .flz-svc-index a:focus-visible { border-color: var(--flz-ink); background: var(--wp--preset--color--paper-warm); }
.flz-svc-index a span { font-size: 0.75rem; color: var(--flz-muted); font-variant-numeric: tabular-nums; }
.flz-svc-row { margin: 0 !important; padding: 56px 0; border-top: 1px solid var(--flz-rule); scroll-margin-top: 96px; }
.flz-svc-row:first-of-type { border-top-color: var(--flz-ink); }
.flz-svc-row__media .wp-block-image { margin: 0; }
.flz-svc-row__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--flz-ph); }
.flz-svc-row__text { max-width: 34rem; }
.flz-svc-num { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-stretch: 112%; font-size: clamp(1.625rem, 1rem + 2.6vw, 3rem); line-height: 1; margin: 0 0 16px !important; color: var(--wp--preset--color--bronze); }
.flz-svc-row__text h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0 0 12px; }
.flz-svc-row__text > p:not(.flz-svc-num):not(.flz-svc-link) { color: var(--flz-soft); margin: 0 0 20px; }
.flz-svc-list { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--flz-rule); }
.flz-svc-list li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--flz-rule); font-size: 0.9375rem; }
.flz-svc-list li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.flz-svc-link { margin: 0; }
.flz-svc-link a { font-weight: 600; color: var(--flz-ink); text-underline-offset: 4px; }
.flz-svc-link a::after { content: " →"; }
@media (min-width: 782px) {
	.flz-svc-row--flip > .flz-svc-row__media { order: 2; }
	.flz-svc-row--flip > .flz-svc-row__text { order: 1; }
}
@media (max-width: 781px) {
	.flz-svc-index { flex-wrap: nowrap; overflow-x: auto; margin: 20px calc(-1 * var(--flz-pad)) 0; padding: 0 var(--flz-pad) 8px; scrollbar-width: none; }
	.flz-svc-index a { white-space: nowrap; }
	.flz-svc-row { padding: 32px 0; }
	.flz-svc-row.wp-block-columns { gap: 20px; }
}

/* Carpet page */
.flz-carpet-hero__img { margin: 0; }
.flz-carpet-hero__img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--flz-ph); }
.flz-carpet-hero h1 { font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4rem); line-height: 0.98; letter-spacing: -0.025em; margin: 0; }
.flz-carpet-hero .is-style-lead { margin: 20px 0 32px; }
.flz-carpet-grid { border-top: 1px solid var(--flz-ink); gap: 0 !important; }
.flz-carpet-card { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--flz-rule); }
.flz-carpet-card + .flz-carpet-card { padding-left: 24px; border-left: 1px solid var(--flz-rule); }
.flz-carpet-card__brand { margin: 0 0 8px; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--flz-bronze); font-weight: 600; }
.flz-carpet-card__name { font-size: 1.25rem; margin: 0 0 4px; }
.flz-carpet-card__colour { margin: 0 0 16px; font-size: 0.875rem; color: var(--flz-muted); }
.flz-carpet-card__specs { margin: 0; }
.flz-carpet-card__specs > div { padding: 8px 0; border-top: 1px solid var(--flz-rule); }
.flz-carpet-card__specs dt { font-size: 0.75rem; color: var(--flz-muted); margin: 0; }
.flz-carpet-card__specs dd { margin: 2px 0 0; font-size: 0.9375rem; }
.flz-carpet-compare { margin: 24px 0 !important; border-top: 1px solid var(--flz-ink); gap: 0 !important; }
.flz-carpet-compare__item { padding: 24px 32px 8px 0; margin: 0 !important; }
.flz-carpet-compare__item + .flz-carpet-compare__item { padding-left: 32px; border-left: 1px solid var(--flz-rule); }
.flz-carpet-compare__item h3 { font-size: 1.25rem; margin: 0 0 8px; }
.flz-carpet-compare__item p { color: var(--flz-soft); margin: 0; }
@media (max-width: 781px) {
	.flz-carpet-grid.is-layout-grid { grid-template-columns: 1fr !important; }
	.flz-carpet-card, .flz-carpet-card + .flz-carpet-card { padding: 20px 0; border-left: 0; }
	.flz-carpet-compare__item, .flz-carpet-compare__item + .flz-carpet-compare__item { padding: 20px 0 0; border-left: 0; }
	.flz-carpet-hero .wp-block-column:last-child { order: -1; }
}
@media (min-width: 782px) and (max-width: 1180px) {
	.flz-carpet-grid.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.flz-carpet-card:nth-child(odd) { padding-left: 0; border-left: 0; }
}
