/* PGS Catalogue: structural defaults. Colours follow the PGS design-system variables (--border, --paper, --primary,
   --secondary, --radius-l, --space-m, --white) when the site defines them, otherwise the theme (currentColor).
   Override via the custom properties or the Product Sections element controls. */
.pgsc-sections {
	--pgsc-border: var(--border, color-mix(in srgb, currentColor 18%, transparent));
	--pgsc-stripe: var(--paper, color-mix(in srgb, currentColor 4%, transparent));
	--pgsc-head: var(--paper, color-mix(in srgb, currentColor 8%, transparent));
	--pgsc-gap: 1rem;
	--pgsc-acc-title: var(--secondary, inherit);
	--pgsc-acc-title-hover: var(--primary, inherit);
	--pgsc-acc-icon: var(--primary, currentColor);
	display: grid;
	/* minmax(0, 1fr): an opened section with a wide table scrolls inside its wrapper instead of widening the page. */
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	font-variant-numeric: tabular-nums;
}

.pgsc-section { min-width: 0; border-bottom: 1px solid var(--pgsc-border); }
.pgsc-sections--stacked .pgsc-section { border: 0; padding-block: var(--pgsc-gap); }

/* Full width inside flex parents (Bricks Container/Block), so closing every section does not shrink it. */
.brxe-pgsc-sections { width: 100%; }

/* Accordion style: set by the Product Sections element controls (custom properties), theme defaults otherwise. */
.pgsc-sections--accordion { border-top: var(--pgsc-acc-border-width, 1px) solid var(--pgsc-acc-border, var(--pgsc-border)); }
.pgsc-sections--accordion .pgsc-section { border-bottom: var(--pgsc-acc-border-width, 1px) solid var(--pgsc-acc-border, var(--pgsc-border)); }
.pgsc-sections--accordion .pgsc-section__title { color: var(--pgsc-acc-title, inherit); }
.pgsc-sections--accordion .pgsc-section__title:hover { color: var(--pgsc-acc-title-hover, var(--pgsc-acc-title, inherit)); }
.pgsc-sections--accordion .pgsc-section[open] > .pgsc-section__title { color: var(--pgsc-acc-title-open, var(--pgsc-acc-title, inherit)); }
/* Accordion titles: a chevron on the right instead of the browser marker. */
.pgsc-sections--accordion .pgsc-section__title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; padding-block: 1.125rem; font-size: 1.125rem; line-height: 1.35; }
.pgsc-sections--accordion .pgsc-section__title::-webkit-details-marker { display: none; }
.pgsc-sections--accordion .pgsc-section__title::after { content: ""; flex: none; width: 0.55rem; height: 0.55rem; margin-right: 0.375rem; border-right: 2px solid var(--pgsc-acc-icon); border-bottom: 2px solid var(--pgsc-acc-icon); transform: translateY(-0.15rem) rotate(45deg); transition: transform 0.2s, border-color 0.2s; }
.pgsc-sections--accordion .pgsc-section[open] > .pgsc-section__title::after { transform: translateY(0.15rem) rotate(-135deg); border-color: var(--pgsc-acc-icon-open, var(--pgsc-acc-icon)); }
@media (prefers-reduced-motion: reduce) { .pgsc-sections--accordion .pgsc-section__title::after { transition: none; } }

.pgsc-section__title {
	font-weight: 600;
	padding-block: var(--pgsc-gap);
	cursor: pointer;
	list-style-position: outside;
}
.pgsc-sections--stacked .pgsc-section__title { cursor: auto; padding-block: 0 var(--pgsc-gap); }
.pgsc-section__title:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
/* Accordion titles are h3 for the outline but look like the summary: theme heading styles are reset. */
.pgsc-section__title > .pgsc-section__heading { margin: 0; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }

.pgsc-section__body { padding-block-end: var(--pgsc-gap); }
.pgsc-section__content > :first-child { margin-top: 0; }
.pgsc-section__content img { max-width: 100%; height: auto; }
/* Images without a width attribute are kept to a readable size. */
.pgsc-section__content img:not([width]) { width: auto; max-height: 26rem; }
.pgsc-section__content h4 { color: var(--primary, inherit); }
.pgsc-section__note { margin-top: 1lh; font-size: 0.875em; opacity: 0.85; }
/* One blank line between the table and its notes; the first child must not add its own margin. */
.pgsc-section__note > :first-child { margin-top: 0; }

/* Same space above and below every table, whatever sits next to it; none at the edges of the section. */
.pgsc-table-wrap { overflow-x: auto; max-width: 100%; margin-block: 1.5rem; }
.pgsc-section__content > .pgsc-table-wrap:first-child { margin-top: 0; }
.pgsc-section__content > .pgsc-table-wrap:last-child { margin-bottom: 0; }
.pgsc-table-wrap:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
/* Wide tables: the horizontal scrollbar stays visible on every device (macOS and touch hide it until you scroll).
   ::-webkit-scrollbar forces a classic bar in Chrome, Edge and Safari; Firefox gets the standard properties. */
.pgsc-table-wrap { --pgsc-scroll-thumb: var(--primary, color-mix(in srgb, currentColor 45%, transparent)); --pgsc-scroll-track: var(--paper, color-mix(in srgb, currentColor 8%, transparent)); }
.pgsc-table-wrap::-webkit-scrollbar { height: 10px; }
.pgsc-table-wrap::-webkit-scrollbar-track { background: var(--pgsc-scroll-track); border-radius: 999px; }
.pgsc-table-wrap::-webkit-scrollbar-thumb { background: var(--pgsc-scroll-thumb); border-radius: 999px; border: 2px solid var(--pgsc-scroll-track); }
@supports not selector(::-webkit-scrollbar) { .pgsc-table-wrap { scrollbar-width: thin; scrollbar-color: var(--pgsc-scroll-thumb) var(--pgsc-scroll-track); } }

.pgsc-table { width: 100%; border-collapse: collapse; font-size: 0.9375em; }
.pgsc-table th,
.pgsc-table td {
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--pgsc-border);
	text-align: left;
	vertical-align: top;
}
.pgsc-table thead th { background: var(--pgsc-head); white-space: nowrap; }
.pgsc-table tbody tr:nth-child(even) { background: var(--pgsc-stripe); }
.pgsc-table tbody th { font-weight: 600; }
/* Merged cells hold one value for several rows or columns: centre it in the merged area. */
.pgsc-table td[rowspan], .pgsc-table td[colspan] { vertical-align: middle; text-align: center; }
.pgsc-table--specs tbody th { width: 35%; min-width: 9rem; }
.pgsc-table tbody .pgsc-table__group th { width: auto; background: var(--pgsc-head); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.875em; }
/* A list inside a cell starts level with its label. */
.pgsc-table td > :is(ul, ol) { margin: 0; padding-left: 1.1em; }
.pgsc-table:not(.pgsc-table--specs) td,
.pgsc-table:not(.pgsc-table--specs) tbody th { min-width: 7rem; }

/* Product gallery: large image (contained) with thumbnails. */
.pgsc-gallery { --pgsc-border: var(--border, #dcdcde); --pgsc-accent: var(--primary, currentColor); --pgsc-radius: var(--radius-l, 8px); --pgsc-stage-bg: #fff; display: grid; gap: 0.75rem; }
.pgsc-gallery__stage { aspect-ratio: 4 / 3; border: 1px solid var(--pgsc-border, #dcdcde); border-radius: var(--pgsc-radius); background: var(--pgsc-stage-bg); overflow: hidden; }
.pgsc-gallery__main { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 1.5rem; box-sizing: border-box; cursor: zoom-in; }
.pgsc-gallery__main[hidden] { display: none; }
.pgsc-gallery__main img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.pgsc-gallery__main:focus-visible { outline: 2px solid var(--pgsc-accent); outline-offset: -4px; }
.pgsc-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.pgsc-gallery__thumb { display: block; width: 4.5rem; height: 4.5rem; padding: 0.25rem; box-sizing: border-box; border: 1px solid var(--pgsc-border, #dcdcde); border-radius: calc(var(--pgsc-radius) - 2px); background: var(--pgsc-stage-bg); cursor: pointer; }
.pgsc-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pgsc-gallery__thumb:hover { border-color: var(--pgsc-accent); }
.pgsc-gallery__thumb[aria-current="true"] { border-color: var(--pgsc-accent); box-shadow: inset 0 0 0 1px var(--pgsc-accent); }
.pgsc-gallery__thumb:focus-visible { outline: 2px solid var(--pgsc-accent); outline-offset: 2px; }

/* Column rows inside text sections (migrated layout tables): side by side on wide screens, stacked on narrow ones. */
.pgsc-cols { display: grid; grid-template-columns: repeat(var(--pgsc-cols, 2), minmax(0, 1fr)); gap: var(--pgsc-gap) calc(var(--pgsc-gap) * 2); align-items: center; margin-block: var(--pgsc-gap); }
.pgsc-cols--3 { --pgsc-cols: 3; }
.pgsc-cols--4 { --pgsc-cols: 4; }
.pgsc-cols--1 { --pgsc-cols: 1; }
/* Text and a small icon side by side (benefit rows). */
.pgsc-cols--3-1 { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
/* A small icon then its text (icon rows). */
.pgsc-cols--1-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
.pgsc-col { min-width: 0; }
/* In text sections a column row is a boxed panel. */
.pgsc-section__content .pgsc-cols { padding: var(--space-m, 1.5rem); border: 1px solid var(--pgsc-border); border-radius: var(--radius-l, 8px); background: var(--white, #fff); }
.pgsc-col > :first-child { margin-top: 0; }
.pgsc-col > :last-child { margin-bottom: 0; }
.pgsc-col img { display: block; margin-inline: auto; }
/* An image on its own line is centred, as on the source site. */
.pgsc-section__content p:has(> img:only-child),
.pgsc-section__content p:has(> a:only-child > img:only-child) { text-align: center; }
.pgsc-section__content p > a:only-child > img:only-child,
.pgsc-section__content p > img:only-child { display: inline-block; }
/* A tall drawing on its own line (spec drawings) is capped in height so it does not fill several screens;
   the width follows, overriding the migrated inline width:90%. */
.pgsc-section__content > p > img:only-child,
.pgsc-section__content > p > a:only-child > img:only-child { max-height: 48rem; width: auto !important; }
/* Several images in one paragraph (e.g. before a table) sit centred side by side. */
.pgsc-section__content p:has(> img ~ img, > a ~ a, > a ~ img, > img ~ a) { text-align: center; }
/* Feature cards: a column row whose columns are separate flat cards (Key Features). */
.pgsc-section__content .pgsc-cols--cards { padding: 0; border: 0; border-radius: 0; background: none; align-items: stretch; gap: var(--pgsc-gap) calc(var(--pgsc-gap) * 1.5); }
.pgsc-cols--cards > .pgsc-col { padding: var(--space-m, 1.5rem); border: 1px solid var(--pgsc-border); background: var(--white, #fff); }
.pgsc-cols--cards .pgsc-col img,
.pgsc-cols--cards .pgsc-col img.alignleft,
.pgsc-cols--cards .pgsc-col img.alignright { float: none; display: block; max-width: 100%; height: auto; max-height: 240px; object-fit: contain; margin: 0 auto 1rem; }
.pgsc-cols--cards .pgsc-col p:has(img.alignleft, img.alignright) { display: block; margin-block: 0 1rem; }
/* One title style for every card, whatever heading level the source used. */
.pgsc-cols--cards .pgsc-col :is(h2, h3, h4, h5, h6) { margin: 0 0 0.5rem; font-size: var(--pgsc-card-title-size, 1.125rem); line-height: 1.35; color: var(--pgsc-card-title-color, var(--primary, inherit)); }
/* A small icon inside a card or column title sits inline before the text. */
.pgsc-cols--cards .pgsc-col :is(h2, h3, h4, h5, h6) img,
.pgsc-col :is(h2, h3, h4, h5, h6) img { display: inline-block; width: auto; height: 1.75em; max-height: none; margin: 0 0.5rem 0 0; vertical-align: middle; }
@media (max-width: 991px) {
	.pgsc-cols--3 { --pgsc-cols: 2; }
}
/* Short lists and plain feature paragraphs flow into two columns. */
.pgsc-split { columns: 2; column-gap: calc(var(--pgsc-gap) * 3); }
.pgsc-split > *, .pgsc-split li { break-inside: avoid; }
.pgsc-split > :first-child { margin-top: 0; }
@media (max-width: 767px) {
	.pgsc-split { columns: 1; }
}
@media (max-width: 767px) {
	.pgsc-cols { grid-template-columns: minmax(0, 1fr); }
}

/* WordPress image alignment in text sections: text wraps beside left/right images, as on the source site.
   A paragraph with a floated image holds it and starts below the previous one; on phones images stack. */
.pgsc-section__content img.alignleft { float: left; margin: 0.25rem 1.5rem 1rem 0; }
.pgsc-section__content img.alignright { float: right; margin: 0.25rem 0 1rem 1.5rem; }
.pgsc-section__content img.aligncenter { display: block; margin: 0 auto 1rem; }
.pgsc-section__content p:has(img.alignleft, img.alignright) { display: flow-root; clear: both; margin-block: 0 1.5rem; }
@media (max-width: 600px) {
	.pgsc-section__content img.alignleft,
	.pgsc-section__content img.alignright { float: none; display: block; margin: 0 auto 1rem; }
}
/* Several logos in one table cell (e.g. Certificate: RCM, CE, FCC) sit small, side by side. */
.pgsc-section__content td:has(> img ~ img) > img { display: inline-block; width: auto; height: 2.5rem; max-height: 2.5rem; margin: 0.25rem 1rem 0.25rem 0; vertical-align: middle; }
