/*
 * EWT theme styles. Tokens come from the EWT Design System via theme.json
 * (docs/design-system/). Flat: no gradients, glows or shadows.
 */

/* Header and brand */
.ewt-header {
	padding-block: 1rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.ewt-header-row { gap: 2rem; }
.ewt-brand {
	flex-shrink: 0;
	margin: 0;
	/* The nucliflare lockup is taller per width than the former EWT one; this keeps it no taller
	   than the EU flag on the EU projects page from 1024 px up (European Funds rule, U02). */
	width: clamp(9.5rem, 13vw, 12rem);
}
.ewt-brand img {
	display: block;
	width: 100%;
	height: auto;
}

/* Navigation */
.ewt-navigation {
	font-weight: 500;
	--wp--style--block-gap: 1.125rem;
}
.ewt-navigation .wp-block-navigation__container { gap: 1rem; }
.ewt-navigation .wp-block-navigation-item__content {
	padding-block: 0.75rem;
	text-decoration: none;
}
.ewt-navigation .wp-block-navigation-item__content:hover { text-decoration: underline; }
.ewt-navigation .wp-block-navigation__submenu-container {
	min-width: 17rem;
	padding: 0.75rem;
	border-color: var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--sm);
}
.ewt-navigation .ewt-nav-rfq > .wp-block-navigation-item__content {
	padding: 0.75rem 1rem;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--brand-blue);
	color: var(--wp--preset--color--brand-white);
}

/* Sections */
/* No root block gap between header, main and footer; the header rule is the separator. */
body .wp-site-blocks > :is(header, main, footer) { margin-block: 0; }
.ewt-section { padding-block: clamp(2rem, 4vw, 3.5rem); }
/* First content after the header starts close to it (24–32 px). */
main.ewt-section,
main > .ewt-section:first-child { padding-top: clamp(1.5rem, 2.5vw, 2rem); }
/* Section padding alone sets the gap: drop the first element's default top margin (e.g. h1 0.67em). */
.ewt-section > :first-child,
.ewt-section > .wp-block-group:first-child > :first-child { margin-block-start: 0; }
.ewt-hero { padding-bottom: 1.5rem; background: var(--wp--preset--color--brand-white); }
.ewt-hero h1 {
	max-width: 22ch;
	font-size: var(--wp--preset--font-size--display);
	font-weight: 900;
	line-height: 1.083;
}
.ewt-hero .ewt-intro {
	max-width: 44rem;
	font-size: var(--wp--preset--font-size--body-lg);
	line-height: 1.556;
}
.ewt-divisions { padding-top: 1.5rem; }
.ewt-division {
	box-sizing: border-box;
	height: 100%;
	padding: clamp(1.25rem, 2vw, 2rem);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--bg-raised);
}
.ewt-division h2 { font-size: var(--wp--preset--font-size--heading-2); }
.ewt-eyebrow {
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	line-height: 1.23;
	letter-spacing: 0;
	color: var(--wp--preset--color--text-muted);
}
.ewt-note { color: var(--wp--preset--color--text-muted); }
h2[id] { scroll-margin-top: 1.5rem; }

/* Dark (brand-ink) and raised bands */
.ewt-dark { color: var(--wp--preset--color--text-on-ink); }
.ewt-dark :where(.ewt-note, .ewt-eyebrow) { color: var(--wp--preset--color--text-muted-on-ink); }
.ewt-dark a:not(.wp-element-button) { color: var(--wp--preset--color--brand-cyan); }
.ewt-light a:not(.wp-element-button) { color: var(--wp--preset--color--brand-ink); }
.ewt-footer { padding-block: 2rem; }
.ewt-footer .wp-block-columns { margin-bottom: 0; }

/* Links, focus and targets */
a { text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--brand-blue);
	outline-offset: 2px;
}
.ewt-dark :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline-color: var(--wp--preset--color--brand-cyan);
}
.wp-element-button,
.ewt-navigation button {
	box-sizing: border-box;
	min-height: 44px;
	min-width: 44px;
}
.ewt-section :where(h1, h2, h3, p),
.ewt-footer :where(p, a) { overflow-wrap: anywhere; }

/* Product cards and catalog listings */
.ewt-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	gap: 1.5rem;
}
.ewt-product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	padding: 0 0 1.5rem;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--brand-white);
}
.ewt-product-card > * { margin-block: 0; padding-inline: 1.25rem; }
.ewt-product-card > * + * { margin-top: 0.75rem; }
.ewt-product-card > .ewt-card-image { padding-inline: 0; }
.ewt-product-card > .ewt-card-image + * { margin-top: 1.25rem; }
.ewt-product-card > :first-child:not(.ewt-card-image) { margin-top: 1.5rem; }
.ewt-product-card h3 { font-size: var(--wp--preset--font-size--heading-3); line-height: 1.3; }
.ewt-product-card h3 a { color: inherit; text-decoration: none; }
.ewt-product-card h3 a:hover { text-decoration: underline; }
.ewt-product-card > p:not(.ewt-stub-label) { font-size: var(--wp--preset--font-size--small); line-height: 1.43; }
.ewt-product-card .wp-block-read-more {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: auto;
	padding-top: 0.5rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}
.ewt-card-image {
	display: block;
	border-bottom: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--bg-raised);
}
.ewt-card-image-empty {
	display: flex;
	aspect-ratio: 1;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--small);
	text-align: center;
}
.ewt-card-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
}
.ewt-stub-label {
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
}
.ewt-stub-notice {
	padding: 0.75rem 1rem;
	border-radius: var(--wp--custom--radius--sm);
	background: var(--wp--preset--color--bg-tint);
	font-size: var(--wp--preset--font-size--small);
}
.ewt-catalog-sidebar {
	padding: 1.5rem;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--bg-raised);
	font-size: var(--wp--preset--font-size--body);
}
.ewt-catalog-sidebar h2 { font-size: var(--wp--preset--font-size--heading-3); }
.ewt-catalog-sidebar a { color: var(--wp--preset--color--brand-ink); display: inline-flex; align-items: center; min-height: 44px; }
.ewt-automatic-catalog:not(.ewt-product-grid) > h2 { margin-top: 2.5rem; }
.ewt-catalog-row {
	display: grid;
	grid-template-columns: 8rem minmax(0, 1fr);
	column-gap: 1.5rem;
	align-items: start;
	border-top: 1px solid var(--wp--preset--color--line);
	padding-block: 1.5rem;
}
.ewt-catalog-row > :not(.ewt-card-image) { grid-column: 2; margin-block: 0; }
.ewt-catalog-row > * + * { margin-top: 0.5rem; }
.ewt-catalog-row > .ewt-card-image {
	grid-column: 1;
	grid-row: 1 / span 4;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--sm);
	overflow: hidden;
}
.ewt-catalog-row :where(h2, h3) { font-size: var(--wp--preset--font-size--heading-3); }
.ewt-catalog-row .wp-block-read-more { display: inline-flex; align-items: center; min-height: 44px; }
.ewt-catalog-pagination { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.ewt-catalog-pagination .page-numbers {
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding-inline: 0.5rem;
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: var(--wp--custom--radius--sm);
}
.ewt-catalog-pagination .current { font-weight: 700; background: var(--wp--preset--color--bg-raised); }

/* Product page */
.wp-block-post-title {
	font-size: var(--wp--preset--font-size--heading-1);
	font-weight: 900;
	line-height: 1.167;
	margin-bottom: 1.5rem;
}
.ewt-product-page .wp-block-post-content > h2 { margin-top: 3rem; }
.ewt-breadcrumb { color: var(--wp--preset--color--text-muted); font-size: var(--wp--preset--font-size--small); }
.ewt-product-photographs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ewt-product-photograph {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--bg-raised);
}
.ewt-product-photograph:first-child { grid-column: 1 / -1; }
.ewt-product-photograph a { display: block; }
.ewt-product-photograph img { display: block; width: 100%; height: auto; }
.ewt-photo-placeholder {
	display: flex;
	min-height: 22rem;
	padding: 2rem;
	box-sizing: border-box;
	flex-direction: column;
	justify-content: center;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--bg-raised);
	text-align: center;
}
.ewt-photo-placeholder p { width: 100%; }
.ewt-product-features { padding-left: 1.25rem; }
.ewt-product-features li + li { margin-top: 0.375rem; }
.ewt-section-nav {
	border-top: 1px solid var(--wp--preset--color--line);
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding-block: 0.5rem;
}
.ewt-section-nav a { display: inline-flex; min-height: 44px; align-items: center; margin-right: 1rem; }
/* Table blocks in page content (e.g. the cookie list on the privacy page) match the
   specification tables: hairlines instead of core's ink borders, left-aligned headers. */
.wp-block-table table thead { border-bottom: 0; }
.wp-block-table table :is(th, td) {
	padding: 0.75rem 1rem;
	border: 1px solid var(--wp--preset--color--line);
	font-size: var(--wp--preset--font-size--small);
	text-align: left;
	vertical-align: top;
	overflow-wrap: break-word;
}
.wp-block-table table code { overflow-wrap: anywhere; }
.wp-block-table table thead th { font-weight: 500; border-bottom-color: var(--wp--preset--color--line-strong); }
@media (max-width: 600px) {
	.wp-block-table table :is(th, td) { padding: 0.5rem; }
}
.ewt-specifications { overflow-x: auto; }
.ewt-specifications table { border-collapse: collapse; width: 100%; }
.ewt-specifications :where(th, td) {
	padding: 0.75rem 1rem;
	border: 1px solid var(--wp--preset--color--line);
	text-align: left;
	vertical-align: top;
	overflow-wrap: anywhere;
}
.ewt-specifications th {
	width: 32%;
	font-weight: 500;
	background: var(--wp--preset--color--bg-raised);
}

/* Diagrams (documented logical connections, not illustrations) */
.ewt-diagram { margin-inline: 0; }
.ewt-diagram > a { display: block; }
.ewt-diagram img {
	display: block;
	width: 100%;
	height: auto;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--sm);
	background: var(--wp--preset--color--brand-white);
}
.ewt-diagram .wp-element-caption {
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--small);
	text-align: left;
}
.ewt-diagram .wp-element-caption a { color: var(--wp--preset--color--brand-ink); }

/* EU funding logo strips: shown as supplied, never cropped or recoloured. Full wide
   width keeps the EU flag at least as tall as the header logo (programme rule:
   other logos may not be larger than the EU flag). */
.ewt-funding-logos { margin-block: 1.5rem; }
.ewt-funding-logos img { display: block; width: 100%; height: auto; }

/* WooCommerce's own colour variables mapped to design-system tokens (its purple default is not a
   brand colour). Status colours (--wc-red, --wc-green, --wc-destructive) stay WooCommerce's until
   the design system defines them; required-field markers use the text colour instead of red. */
body {
	--woocommerce: var(--wp--preset--color--brand-blue);
	--wc-primary: var(--wp--preset--color--brand-blue);
	--wc-primary-text: var(--wp--preset--color--brand-white);
	--wc-secondary: var(--wp--preset--color--bg-raised);
	--wc-secondary-text: var(--wp--preset--color--brand-ink);
	--wc-content-bg: var(--wp--preset--color--brand-white);
	--wc-subtext: var(--wp--preset--color--text-muted);
	--wc-form-border-color: var(--wp--preset--color--line-strong);
	--wc-form-border-radius: var(--wp--custom--radius--sm);
	--wc-card-border-radius: var(--wp--custom--radius--md);
}
body .woocommerce form .form-row .required { color: inherit; }

/* WooCommerce cart, checkout and account: the page title and the WooCommerce content share
   the catalog's wide column (WooCommerce's block-theme CSS caps both at 1000 px otherwise). */
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) main :is(.wp-block-post-title, .wp-block-post-content, .woocommerce, .wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) {
	box-sizing: border-box;
	max-width: 76rem;
	margin-inline: auto;
}
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) main .wp-block-post-content > * { max-width: 76rem; }
.woocommerce-account main .woocommerce :is(form.login, form.register, form.lost_reset_password) { max-width: 30rem; }
.woocommerce-account main .woocommerce :is(h2, form) { margin-inline: 0; }
.wp-block-woocommerce-empty-cart-block { text-align: left; }
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title { margin-top: 0; font-size: var(--wp--preset--font-size--heading-2); }
.woocommerce :is(input.input-text, select, textarea),
.wc-block-components-text-input input {
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: var(--wp--custom--radius--sm);
}
.woocommerce form.login,
.woocommerce form.register { border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius--md); }

/* Quote list and request form (plugin ewt-quotes). The design system defines no status colours
   (open question R10): errors are marked with text, a heavier brand-ink border and a bordered
   summary, never by colour alone. */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
.ewt-quote-action { margin-block: 1rem 0.5rem; }
.ewt-quote-status { min-height: 1.5rem; margin: 0.5rem 0 0; font-size: var(--wp--preset--font-size--small); }
.ewt-quote-status:empty { min-height: 0; }
.ewt-nav-rfq .ewt-quote-count { margin-left: 0.25rem; }
.ewt-quote-form { box-sizing: border-box; max-width: 48rem; }
.ewt-quote-form fieldset { min-width: 0; margin: 0 0 2rem; padding: 0; border: 0; }
.ewt-quote-form legend { margin: 0 0 0.5rem; padding: 0; font-size: var(--wp--preset--font-size--heading-3); font-weight: 700; line-height: 1.3; }
.ewt-quote-form label { display: block; margin-bottom: 0.25rem; font-size: var(--wp--preset--font-size--label); font-weight: 500; }
.ewt-quote-hint,
.ewt-quote-required,
.ewt-quote-sku { color: var(--wp--preset--color--text-muted); font-size: var(--wp--preset--font-size--small); font-weight: 400; }
.ewt-quote-hint { display: block; margin: 0 0 0.5rem; }
.ewt-quote-field { margin: 0 0 1.25rem; }
.ewt-quote-form :is(input[type="text"], input[type="email"], input[type="number"], textarea, select) {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 0.625rem 0.75rem;
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: var(--wp--custom--radius--sm);
	background: var(--wp--preset--color--brand-white);
	color: var(--wp--preset--color--brand-ink);
	font: inherit;
}
.ewt-quote-form textarea { resize: vertical; }
.ewt-quote-form [aria-invalid="true"] { border: 2px solid var(--wp--preset--color--brand-ink); }
.ewt-quote-table { width: 100%; border-collapse: collapse; }
.ewt-quote-table th { padding: 0.5rem 0.75rem 0.5rem 0; border-bottom: 1px solid var(--wp--preset--color--line-strong); color: var(--wp--preset--color--text-muted); font-size: var(--wp--preset--font-size--small); font-weight: 500; text-align: left; }
.ewt-quote-table td { padding: 0.75rem 0.75rem 0.75rem 0; border-bottom: 1px solid var(--wp--preset--color--line); vertical-align: middle; }
.ewt-quote-table :is(th, td):nth-child(2) { width: 7rem; }
.ewt-quote-table :is(th, td):last-child { width: 1%; padding-right: 0; text-align: right; white-space: nowrap; }
.ewt-quote-table input[type="number"] { max-width: 7rem; }
.ewt-quote-remove {
	min-height: 44px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--brand-white);
	color: var(--wp--preset--color--brand-ink);
	font: inherit;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	cursor: pointer;
}
.ewt-quote-remove:hover { background: var(--wp--preset--color--bg-raised); }
.ewt-quote-empty { margin: 0; padding: 1rem 1.25rem; border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius--md); background: var(--wp--preset--color--bg-raised); }
.ewt-quote-add { margin-top: 1.25rem; }
.ewt-quote-add-row { display: flex; gap: 0.75rem; align-items: stretch; }
.ewt-quote-add-row select { flex: 1 1 auto; min-width: 0; }
.ewt-quote-add-row button { flex: none; min-height: 44px; border: 0; cursor: pointer; }
.ewt-quote-error { margin: 0.25rem 0 0; font-size: var(--wp--preset--font-size--small); font-weight: 500; }
.ewt-quote-errors {
	margin: 0 0 2rem;
	padding: 1rem 1.25rem;
	border: 2px solid var(--wp--preset--color--brand-ink);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--bg-tint);
}
.ewt-quote-errors :is(p, ul) { margin: 0; }
.ewt-quote-errors ul { margin-top: 0.5rem; padding-left: 1.25rem; }
.ewt-quote-submit button { border: 0; cursor: pointer; }
.ewt-quote-sent { padding: 1.25rem; border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius--md); background: var(--wp--preset--color--bg-raised); }
.ewt-quote-sent p:first-child { margin-top: 0; }
.ewt-quote-sent p:last-child { margin-bottom: 0; }
/* Honeypot field: off-screen, not display:none, so that simple bots still fill it. */
.ewt-quote-extra { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 30rem) {
	.ewt-quote-table :is(th, td):nth-child(2) { width: 5.5rem; }
	.ewt-quote-add-row { flex-wrap: wrap; }
	.ewt-quote-add-row select { flex-basis: 100%; }
}

/* Disabled inquiry preview */
.ewt-rfq-preview {
	box-sizing: border-box;
	margin: 0;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--brand-white);
	color: var(--wp--preset--color--brand-ink);
}
/* Floated so the legend sits inside the panel instead of cutting the top border. */
.ewt-rfq-preview legend {
	float: left;
	width: 100%;
	margin: 0 0 0.5rem;
	padding: 0;
	font-size: var(--wp--preset--font-size--heading-3);
	font-weight: 700;
	line-height: 1.3;
}
.ewt-rfq-preview legend + * { clear: both; }
.ewt-rfq-preview > p {
	margin: 0 0 1.5rem;
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--small);
}
.ewt-rfq-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}
.ewt-rfq-fields label {
	display: block;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
}
.ewt-rfq-fields :where(input, select, textarea) {
	box-sizing: border-box;
	display: block;
	width: 100%;
	min-height: 44px;
	margin-top: 0.5rem;
	padding: 0.75rem;
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: var(--wp--custom--radius--sm);
	background: var(--wp--preset--color--bg-raised);
	color: var(--wp--preset--color--brand-ink);
	font: inherit;
	font-size: var(--wp--preset--font-size--body);
	font-weight: 400;
	opacity: 1;
}
.ewt-rfq-wide { grid-column: 1 / -1; }
.ewt-rfq-preview button {
	margin-top: 1.5rem;
	padding: 0.75rem 1.25rem;
	border: 0;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--brand-ink);
	color: var(--wp--preset--color--brand-white);
	font: inherit;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
}

/* Responsive navigation */
@media (max-width: 1180px) {
	.ewt-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
	.ewt-navigation .wp-block-navigation__responsive-container-open { display: flex !important; }
	.ewt-navigation .wp-block-navigation__responsive-container.is-menu-open {
		box-sizing: border-box;
		position: fixed;
		inset: 0;
		padding: 4.5rem 1.5rem 2rem;
		background: var(--wp--preset--color--brand-white);
		color: var(--wp--preset--color--brand-ink);
		overflow: auto;
	}
	.ewt-navigation .is-menu-open .wp-block-navigation__responsive-dialog { width: 100%; }
	.ewt-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch; padding-top: 0; }
	.ewt-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container { width: 100%; align-items: stretch; gap: 0.25rem; }
	.ewt-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item { width: 100%; align-items: stretch; }
	.ewt-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item .wp-block-navigation-item__content {
		box-sizing: border-box;
		display: block;
		width: 100%;
		min-height: 44px;
		padding: 0.75rem 1rem;
		white-space: normal;
		text-align: left;
	}
	.ewt-navigation .is-menu-open .wp-block-navigation__submenu-container { min-width: 0; padding: 0.25rem 1rem; }
	.ewt-navigation .is-menu-open .wp-block-navigation__responsive-container-close { position: fixed; top: 1rem; right: 1rem; }
}
@media (max-width: 600px) {
	.ewt-header-row { gap: 1rem; }
	.ewt-hero .wp-block-button,
	.ewt-hero .wp-block-button__link { width: 100%; }
	.ewt-rfq-fields { grid-template-columns: minmax(0, 1fr); }
	.ewt-product-grid { grid-template-columns: minmax(0, 1fr); }
	.ewt-catalog-row { grid-template-columns: 5rem minmax(0, 1fr); column-gap: 1rem; }
	.ewt-photo-placeholder { min-height: 14rem; }
	.ewt-specifications :where(th, td) { padding: 0.625rem; font-size: var(--wp--preset--font-size--small); }
	.ewt-specifications th { width: 40%; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
