/*
Theme Name: Genconstruct Shop
Description: A shop's design, made and changed in Genconstruct.
Version: 1.8
Requires at least: 6.6
*/

/* Atom Labs, "Precision Dark": near-black background (#09080D, a hint of violet) with white text on every page, the
   home page included; one centred 1200px container whose edges the header, footer, home sections, catalogue, product
   pages and info pages all share; one sans-serif throughout (body 17px on computers, 16px on phones); large type only
   for the hero headline; panels (#131119) only a shade lighter than the page; thin dark-grey dividers between sections.
   One vivid violet accent taken from the logo's glowing orbit: filled buttons, the highlighted words of the hero
   headline, the free-shipping bar, notice-box borders with matching accent text, links, small rules, glowing dots,
   icons, the basket count and sale badges. Eyebrows and labels stay white so the page reads mostly black and white.
   Colours come from theme.json's palette. The violet comes in two shades of the same hue: --wp--preset--color--accent
   (#B66DFF) for text, links, icons and lines on the dark background (6.2:1, 5.8:1 on panels), and
   --wp--custom--accent-strong (#9327E8) for filled buttons and badges, which carry white text (--wp--custom--on-accent,
   5.7:1); --wp--custom--accent-hover (#7A1BC9) is their hover. */

body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
a { text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.wp-element-button, .wp-block-button__link { border-radius: var(--wp--custom--button-radius); }

/* Text meant only for screen readers (e.g. "Product on sale" inside sale badges) never shows on screen. */
.screen-reader-text:not(:focus) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Outline buttons (Register): thin violet outline on the dark background, filling violet with white text on hover. */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background-color: transparent;
	color: var(--wp--preset--color--accent);
	border: 1px solid var(--wp--preset--color--accent);
	padding: calc(0.75rem - 1px) calc(1.5rem - 1px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible { background-color: var(--wp--custom--accent-strong); border-color: var(--wp--custom--accent-strong); color: var(--wp--custom--on-accent); }

/* Quiet secondary links next to a primary button ("Return to the home page"): white text, muted underline, no arrow. */
.wp-block-button.gc-button-link > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--contrast);
	padding: 0.75rem 0.1rem;
	border-radius: 0;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--muted);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.35em;
}
.wp-block-button.gc-button-link > .wp-block-button__link:hover,
.wp-block-button.gc-button-link > .wp-block-button__link:focus-visible { background: transparent; color: var(--wp--preset--color--accent); text-decoration-color: currentColor; }
.gc-text-link { margin: 0; }
.gc-text-link a { font-weight: 500; text-underline-offset: 0.3em; }

/* Sign in / Register prompts are only for signed-out visitors (WordPress marks signed-in pages with "logged-in"). */
body.logged-in .gc-signed-out-only { display: none !important; }
body:not(.logged-in) .gc-signed-in-only { display: none !important; }

/* Newsletter sign-up (form "newsletter"): shown to signed-in customers only, through .gc-signed-in-only on the
   sign-up block in the home page's footer and beside the catalogue's title. For signed-out visitors the home footer
   then starts straight at its links row with no leftover gap, exactly like the footer on every other page. */
body:not(.logged-in) .gc-footer > .gc-signup.gc-signed-in-only + * { margin-block-start: 0 !important; }

/* Members-only catalogue and certificates: signed-out visitors see the sign-in panel (.gc-members-gate) in place of
   the product grid, titles, product details and the home page's certificate list (.gc-members-only). This only
   changes what is displayed: it is not access control. The content is still in the page's code, and remains
   reachable by other means until a members-only setting is switched on at the server. */
body:not(.logged-in) .gc-members-only,
body:not(.logged-in) .gc-product .wp-block-woocommerce-product-details { display: none !important; }

/* The sign-in panel: one design on the home page, catalogue, categories, search and product pages.
   A notice box: dark panel outlined in violet, its heading in violet. Heading and short explanation on the left,
   Sign in and Register on the right (stacked on phones), and a fine rule above a short note that signing in also
   unlocks the certificates of analysis. */
.gc-members-gate {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem var(--wp--preset--spacing--50);
	align-items: start;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid var(--wp--preset--color--accent);
	border-left: 2px solid var(--wp--preset--color--accent);
	background-color: var(--wp--preset--color--subtle);
}
.gc-members-gate > * { margin: 0 !important; max-width: 42rem; }
.gc-members-gate .gc-gate-title { font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.2; letter-spacing: -0.015em; color: var(--wp--preset--color--accent); }
.gc-members-gate .gc-gate-text { color: var(--wp--preset--color--muted); }
.gc-members-gate .gc-gate-actions { gap: 0.75rem; margin-top: 0.5rem !important; }
.gc-members-gate .gc-gate-note { margin-top: 0.75rem !important; padding-top: 1rem; border-top: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--muted); max-width: none; }
@media (min-width: 782px) {
	.gc-members-gate { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
	.gc-members-gate .gc-gate-actions { grid-column: 2; grid-row: 1; justify-content: flex-end; flex-wrap: nowrap; margin-top: 0 !important; }
	.gc-members-gate:has(> .gc-gate-title) .gc-gate-actions { grid-row: 1 / span 2; }
	.gc-members-gate .gc-gate-note { grid-column: 1 / -1; }
}

/* Eyebrows above headings: small spaced capitals in white, keeping the violet for the few accents. */
.gc-eyebrow { font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8125rem !important; line-height: 1.4; margin-bottom: 0.75rem; }
.gc-eyebrow, .gc-eyebrow.has-muted-color { color: var(--wp--preset--color--contrast) !important; }
.gc-section-head { margin-bottom: var(--wp--preset--spacing--40); row-gap: var(--wp--preset--spacing--20); }
.gc-section-head h2, .gc-section-head p { margin: 0; }

/* Home page sections: separated by thin grey rules at the container width, with the same spacing above and below. */
.gc-home > .gc-section, .gc-home > .gc-hero { margin-top: 0; margin-bottom: 0; }

/* Hero: balanced columns. Left: eyebrow, headline (the largest type on the site, its closing words highlighted in
   violet), the supporting line in muted grey and the single "Shop research peptides" button. Right: the Atom Labs
   atom illustration, drawn in the page itself as a vector graphic so it stays crisp at any size: three glowing
   violet orbit rings around a bright white-violet nucleus, three small electrons and a scatter of faint particles,
   on a soft violet glow that fades into the near-black page (no frame or box), echoing the light swirls of the
   logo. The nucleus breathes gently and the particles twinkle, unless the visitor prefers reduced motion.
   The supporting line is about 19px on computers and 17px on phones. */
.gc-hero { position: relative; overflow: hidden; overflow: clip; }
.gc-hero::before {
	content: "";
	position: absolute;
	top: 50%;
	right: -10%;
	width: 70%;
	aspect-ratio: 1 / 1;
	transform: translateY(-50%);
	background: radial-gradient(closest-side, rgba(147, 39, 232, 0.28), rgba(147, 39, 232, 0.08) 55%, transparent 100%);
	pointer-events: none;
	z-index: 0;
}
.gc-hero > * { position: relative; z-index: 1; }
.gc-hero .gc-eyebrow { margin-top: 0; }
.gc-hero h1 { margin-top: 0; margin-bottom: var(--wp--preset--spacing--30); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; max-width: 14ch; }
.gc-hero h1 mark { background-color: transparent; color: var(--wp--preset--color--accent); }
.gc-hero-lead { margin-top: 0; max-width: 30rem; line-height: 1.55; }
.gc-hero .gc-hero-lead { font-size: 1.1875rem !important; }
.gc-hero-actions { margin-top: var(--wp--preset--spacing--40) !important; align-items: center; gap: 0.75rem 1.75rem; }
.gc-hero-actions .wp-block-button__link { padding: 0.9rem 1.75rem; box-shadow: 0 0 28px rgba(147, 39, 232, 0.35); }
.gc-hero-visual { position: relative; }
.gc-hero-visual > * { margin: 0; }
.gc-hero-art { width: 100%; max-width: 34rem; margin: 0 auto; aspect-ratio: 1 / 1; }
.gc-hero-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.gc-atom__halo, .gc-atom__spark { transform-box: fill-box; transform-origin: center; }
@keyframes gc-atom-pulse { 0%, 100% { opacity: 0.8; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes gc-atom-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: no-preference) {
	.gc-atom__halo { animation: gc-atom-pulse 6s ease-in-out infinite; }
	.gc-atom__spark { animation: gc-atom-twinkle 4.5s ease-in-out infinite; }
	.gc-atom__spark:nth-child(2n) { animation-delay: -1.5s; animation-duration: 5.5s; }
	.gc-atom__spark:nth-child(3n) { animation-delay: -3s; }
}
@media (max-width: 781px) {
	/* Phones and small tablets: text first, then the atom straight below, centred and a little smaller. */
	.gc-hero .wp-block-columns { row-gap: var(--wp--preset--spacing--30) !important; }
	.gc-hero::before { top: auto; bottom: -10%; right: -20%; width: 120%; transform: none; }
	.gc-hero-art { max-width: min(24rem, 88%); }
	.gc-hero .gc-hero-lead { font-size: 1.0625rem !important; }
}

/* Highlights under the hero: three equal dark panels (Tracked delivery, Quality you can rely on, Easy ordering),
   each with a small glowing violet dot like the logo's orb, a short white heading and one muted line. Side by side
   on computers, stacked on phones. */
.gc-highlight-row { margin: 0; }
.gc-highlight {
	padding: clamp(1.25rem, 3vw, 1.75rem);
	background-color: var(--wp--preset--color--subtle);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--button-radius);
}
.gc-highlight::before {
	content: "";
	display: block;
	width: 0.6rem;
	height: 0.6rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 12px 2px rgba(182, 109, 255, 0.6);
}
.gc-highlight > * { margin-top: 0; margin-bottom: 0; }
.gc-highlight h3 { margin-bottom: 0.4rem; font-size: var(--wp--preset--font-size--large); }
.gc-highlight p { color: var(--wp--preset--color--muted); }

/* Two-column sections (Product certificates): heading and note left, a thin vertical rule, then the list. */
.gc-split-intro > :first-child { margin-top: 0; }
.gc-split-intro h2 { margin-bottom: var(--wp--preset--spacing--30); }
.gc-split-intro p { max-width: 26rem; }
.gc-split-list > :first-child { margin-top: 0; }
@media (min-width: 782px) {
	.gc-split-list { border-left: 1px solid var(--wp--preset--color--line); padding-left: var(--wp--preset--spacing--50); }
}

/* About Atom Labs on the home page: a short, narrow text block with a smaller heading. */
.gc-about-text { max-width: 36rem; }
.gc-about-text > * { margin-top: 0; margin-bottom: 0; }
.gc-about-text h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.3; letter-spacing: -0.015em; margin-bottom: 0.75rem; }
.gc-about-text p:not(.gc-eyebrow) { color: var(--wp--preset--color--muted); }
.gc-about-text p + p { margin-top: var(--wp--preset--spacing--30); }
.gc-about-text .gc-eyebrow { margin-bottom: 0.75rem; }

/* Product certificates: tidy ruled rows, product name on the left, "View certificate ↗" on the right;
   on narrow phones the link drops under the name. Signed-in customers only: signed-out visitors see the sign-in
   panel (.gc-coa-gate) in the list's place, while the heading and intro stay for everyone. */
.gc-coas { scroll-margin-top: var(--wp--preset--spacing--40); }
.gc-coa-list { padding: 0; }
.gc-coa-list p { margin: 0; }
.gc-coa-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wp--preset--color--line); }
.gc-coa-rows li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.3rem 1.5rem;
	margin: 0;
	padding: 1rem 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.gc-coa-name { flex: 1 1 12rem; min-width: 0; overflow-wrap: anywhere; font-weight: 600; font-size: var(--wp--preset--font-size--medium); letter-spacing: 0; color: var(--wp--preset--color--contrast); }
.gc-coa-rows a { flex: none; font-weight: 500; font-size: var(--wp--preset--font-size--medium); white-space: nowrap; text-underline-offset: 0.3em; }
.gc-coa-rows a::after { content: "\00a0\2197"; display: inline-block; }
@media (max-width: 480px) {
	.gc-coa-rows li { flex-direction: column; align-items: flex-start; }
	.gc-coa-name { flex: none; }
}

/* Certificates sign-in panel: the same notice box as elsewhere, set on the page's near-black so it stands out from
   the certificates section's lighter panel; the message in white, then Sign in and Register underneath. */
.gc-coas .gc-coa-gate { grid-template-columns: minmax(0, 1fr) !important; align-items: start; background-color: var(--wp--preset--color--base); }
.gc-coas .gc-coa-gate .gc-gate-text { color: var(--wp--preset--color--contrast); font-weight: 500; }
.gc-coas .gc-coa-gate .gc-gate-actions { grid-column: auto !important; grid-row: auto !important; justify-content: flex-start !important; flex-wrap: wrap !important; margin-top: 0.5rem !important; }

/* Certificate search: a search box at the top of the list filters the rows live as the visitor types (any part of the
   name, ignoring case, spaces and dashes), with the count underneath ("11 certificates" / "3 results") and a
   "No certificates found" message when nothing matches. By default only the first 8 rows show, with a
   "Show all certificates" button under the list; a search always shows every match.
   The search box, the count and the button are always in the page and never hidden waiting for the script; the
   filtering and the 8-row limit come from the script under the list, and wherever it doesn't run (e.g. the editor's
   preview) every row shows. Adding a certificate: add one row to the list (the product name, then a "View
   certificate" link opening in a new tab) and update the number in the count and the button; the page keeps the
   list in alphabetical order. Only the button (while searching) and filtered-out rows are ever hidden. */
.gc-coa-more[hidden], .gc-coa-rows li[hidden] { display: none !important; }
.gc-coa-search { margin: 0 0 1.25rem; }
.gc-coa-search .gc-coa-search__input {
	display: block;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	min-height: 3rem;
	-webkit-appearance: none;
	appearance: none;
	background-color: var(--wp--preset--color--base) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ACA8B8' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 0.9rem 50%;
	background-size: 1.15rem 1.15rem;
	padding-left: 2.75rem !important;
}
.gc-coa-search .gc-coa-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
	width: 1rem;
	height: 1rem;
	cursor: pointer;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6F5F9' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") no-repeat center / contain;
}
.gc-coa-list .gc-coa-count { margin: 0.6rem 0 0; font-size: var(--wp--preset--font-size--small); line-height: 1.4; color: var(--wp--preset--color--muted); }
.gc-coa-empty { display: none; }
.gc-coa-list.is-empty .gc-coa-empty { display: block; padding: 1.25rem 0; border-bottom: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--medium); }
.gc-coa-empty strong { color: var(--wp--preset--color--contrast); font-weight: 600; }
.gc-coa-more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 1.25rem 0 0;
	padding: calc(0.75rem - 1px) calc(1.5rem - 1px);
	background-color: transparent;
	color: var(--wp--preset--color--accent);
	border: 1px solid var(--wp--preset--color--accent);
	border-radius: var(--wp--custom--button-radius);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
}
.gc-coa-more::after { content: "\2193"; }
.gc-coa-more[aria-expanded="true"]::after { content: "\2191"; }
.gc-coa-more:hover, .gc-coa-more:focus-visible { background-color: var(--wp--custom--accent-strong); border-color: var(--wp--custom--accent-strong); color: var(--wp--custom--on-accent); }
@media (max-width: 480px) {
	.gc-coa-more { display: flex; justify-content: center; width: 100%; }
}

/* Body text in the catalogue and certificates sections: one reading size everywhere (the theme's body size,
   about 17px on computers and 16px on phones) for the sign-in panel's explanation and note, category intros,
   product descriptions and notes, and the certificates' text, names and links. */
.gc-members-gate .gc-gate-text,
.gc-members-gate .gc-gate-note,
.gc-collection .gc-section-head .gc-text-link,
.gc-shop .wp-block-term-description,
.gc-product-summary .wp-block-post-excerpt,
.gc-product-summary .gc-research-note,
.gc-product .woocommerce-Tabs-panel,
.gc-coas .gc-split-intro p { font-size: var(--wp--preset--font-size--medium) !important; }

/* Info pages, account, basket and other pages: text at a comfortable reading width (720px), but starting at the
   same left edge as the logo and the rest of the site rather than floating in the middle; the basket, checkout
   and account areas use the full container width. */
.gc-page.is-layout-constrained > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright) {
	margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size)) / 2)) !important;
	margin-right: auto !important;
}
.gc-page .wp-block-post-content.is-layout-constrained > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright) { margin-left: 0 !important; margin-right: auto !important; }
.gc-page .wp-block-post-content > .wp-block-woocommerce-cart,
.gc-page .wp-block-post-content > .wp-block-woocommerce-checkout,
body.woocommerce-account .gc-page .wp-block-post-content > .woocommerce { max-width: var(--wp--style--global--wide-size) !important; }
.gc-page h1 { margin-top: 0; margin-bottom: var(--wp--preset--spacing--30); }
.gc-page > .gc-eyebrow { margin-top: 0; }
.gc-page-lead { margin-top: 0; line-height: 1.5; }
.gc-page > h2.wp-block-heading { margin-top: var(--wp--preset--spacing--50); padding-top: var(--wp--preset--spacing--40); border-top: 1px solid var(--wp--preset--color--line); font-size: clamp(1.375rem, 2.4vw, 1.625rem); }
.gc-page-note { margin-top: var(--wp--preset--spacing--50); padding-top: var(--wp--preset--spacing--30); border-top: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--muted); }

/* theme.json can't style form fields, so they follow the palette from here; otherwise they keep the browser's white boxes.
   WooCommerce's block checkout fields keep their own layout (floating labels) and only take the colours, further down. */
input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=range]):not(.wc-block-components-text-input input):not(.wc-block-components-combobox input):not(.wc-block-components-quantity-selector input),
select:not(.wc-blocks-components-select__select),
textarea:not(.wc-block-components-textarea) {
	background-color: var(--wp--preset--color--subtle);
	color: var(--wp--preset--color--contrast);
	border: 1px solid var(--wp--custom--field-border);
	border-radius: 6px;
	padding: 0.75rem 0.9rem;
	font: inherit;
	line-height: 1.3;
}
input::placeholder, textarea::placeholder { color: var(--wp--preset--color--muted); opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 1px; border-color: var(--wp--preset--color--accent); }
input[type=checkbox], input[type=radio] { accent-color: var(--wp--custom--accent-strong); }
select option { background-color: var(--wp--preset--color--subtle); color: var(--wp--preset--color--contrast); }
.woocommerce .quantity input.qty { width: 4.5em; text-align: center; }

/* WooCommerce's own (classic) buttons follow the site's violet buttons with white text. */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	background-color: var(--wp--custom--accent-strong);
	color: var(--wp--custom--on-accent);
	border: 0;
	border-radius: var(--wp--custom--button-radius);
	padding: 0.8rem 1.5rem;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background-color: var(--wp--custom--accent-hover); color: var(--wp--custom--on-accent); }
.woocommerce button.button.alt.disabled, .woocommerce button.button.alt:disabled { background-color: var(--wp--custom--accent-strong); color: var(--wp--custom--on-accent); }

/* Cart, checkout and mini-cart blocks: dark fields and panels instead of WooCommerce's white ones. */
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-blocks-components-select .wc-blocks-components-select__container,
.wc-block-components-textarea {
	background-color: var(--wp--preset--color--subtle) !important;
	color: var(--wp--preset--color--contrast) !important;
	border-color: var(--wp--custom--field-border) !important;
}
.wc-block-components-text-input input:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus,
.wc-block-components-textarea:focus { border-color: var(--wp--preset--color--accent) !important; box-shadow: 0 0 0 1px var(--wp--preset--color--accent) !important; }
.wc-block-components-text-input label,
.wc-block-components-combobox .wc-block-components-combobox-control label,
.wc-blocks-components-select .wc-blocks-components-select__label { color: var(--wp--preset--color--muted) !important; }
.wc-blocks-components-select .wc-blocks-components-select__expand { fill: var(--wp--preset--color--contrast); }
/* Checkout checkboxes and radio buttons: dark boxes that fill violet when chosen. */
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] { background-color: var(--wp--preset--color--subtle) !important; border-color: var(--wp--custom--field-border) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background-color: var(--wp--custom--accent-strong) !important; border-color: var(--wp--custom--accent-strong) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--wp--custom--on-accent) !important; }
.wc-block-components-radio-control .wc-block-components-radio-control__input { background-color: var(--wp--preset--color--subtle) !important; border-color: var(--wp--custom--field-border) !important; }
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked { border-color: var(--wp--preset--color--accent) !important; }
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before { background-color: var(--wp--preset--color--accent) !important; }
.wc-block-components-quantity-selector { border-color: var(--wp--custom--field-border) !important; }
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input,
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { color: var(--wp--preset--color--contrast); background: transparent; }
.wc-block-components-drawer,
.wc-block-mini-cart__drawer .components-modal__content,
.wc-block-components-drawer .wc-block-components-drawer__content { background-color: var(--wp--preset--color--base) !important; color: var(--wp--preset--color--contrast) !important; }
.wc-block-components-drawer__close { color: var(--wp--preset--color--contrast) !important; }
.wc-block-components-totals-wrapper, .wc-block-components-order-summary, .wp-block-woocommerce-checkout-order-summary-block { border-color: var(--wp--preset--color--line) !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-color: var(--wp--preset--color--line) !important; }
.wc-block-components-product-metadata, .wc-block-components-formatted-money-amount { color: inherit; }
.wc-block-components-checkout-step__description, .wc-block-components-address-card { color: var(--wp--preset--color--muted); }
.wc-block-components-address-card { border-color: var(--wp--preset--color--line) !important; }
.wc-block-components-title, .wp-block-woocommerce-cart .wc-block-cart__totals-title { letter-spacing: -0.01em; }
/* Notices: dark panel outlined in violet, with a violet icon and links. */
.wc-block-components-notice-banner {
	background-color: var(--wp--preset--color--subtle) !important;
	color: var(--wp--preset--color--contrast) !important;
	border: 1px solid var(--wp--preset--color--accent) !important;
	border-left: 2px solid var(--wp--preset--color--accent) !important;
	border-radius: 0 !important;
}
.wc-block-components-notice-banner > svg { fill: var(--wp--preset--color--accent) !important; background-color: transparent !important; }
.wc-block-components-notice-banner a { color: var(--wp--preset--color--accent) !important; }

/* Checkout, "Need BAC Water?" box: the extra notice line added under "BAC Water is not included automatically with
   vial products." (the script in the checkout template puts it in place). Small, slightly bold text in muted grey,
   set just below the line it qualifies, with a small violet warning mark, so it reads as a clear notice without
   competing with the box's heading or button. */
.gc-bac-note {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	margin: 0.4rem 0 0 !important;
	padding: 0;
	font-size: 0.8125rem !important;
	font-weight: 500;
	line-height: 1.45;
	color: var(--wp--preset--color--muted);
	text-align: left;
}
.gc-bac-note::before {
	content: "!";
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1rem;
	height: 1rem;
	margin-top: 0.05rem;
	border: 1px solid var(--wp--preset--color--accent);
	border-radius: 50%;
	color: var(--wp--preset--color--accent);
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
}
.gc-bac-note + * { margin-top: 0.75rem; }

/* "Basket", not "Cart": the basket page (templates/page-cart.html) is headed "Basket" rather than the page's own
   title, and WooCommerce's visible cart labels read "basket". The original wording stays in the page for WooCommerce;
   only the display changes. (.gc-basket-title / .gc-page-title cover the general page template as a fallback.) */
.gc-basket-title { display: none; }
body.woocommerce-cart .gc-basket-title { display: block; }
body.woocommerce-cart .gc-page-title { display: none; }
.wp-block-woocommerce-mini-cart-title-label-block,
.wc-block-mini-cart__footer-cart .wc-block-components-button__text,
.wc-block-mini-cart__shopping-button .wc-block-components-button__text,
.wp-block-woocommerce-empty-mini-cart-contents-block > p > strong,
.wp-block-woocommerce-cart .wc-block-cart__totals-title,
.wc-block-components-checkout-return-to-cart-button { font-size: 0 !important; }
.wp-block-woocommerce-mini-cart-title-label-block::before { content: "Your basket"; font-size: var(--wp--preset--font-size--large); }
.wc-block-mini-cart__footer-cart .wc-block-components-button__text::before { content: "View basket"; font-size: 1rem; }
.wc-block-mini-cart__shopping-button .wc-block-components-button__text::before { content: "View catalogue"; font-size: 1rem; }
.wp-block-woocommerce-empty-mini-cart-contents-block > p > strong::before { content: "Your basket is empty"; font-size: var(--wp--preset--font-size--large); font-weight: 600; }
.wp-block-woocommerce-cart .wc-block-cart__totals-title::before { content: "Basket totals"; font-size: 0.875rem; }
.wc-block-components-checkout-return-to-cart-button svg { display: none !important; }
.wc-block-components-checkout-return-to-cart-button::after { content: "Return to basket"; font-size: 1rem; }

/* Basket page: "Basket" starts at the same left edge as the logo, and a filled basket uses the full container width. */
.gc-basket > .gc-basket-heading { margin-top: 0; margin-bottom: var(--wp--preset--spacing--30); }
.gc-basket .gc-basket-content > .wp-block-woocommerce-cart { max-width: none; }

/* Empty basket: no sad-face icon, no "New in store" products or empty image boxes. Everything is centred in one column
   at the standard 720px content width: "Basket", then "Your basket is empty", a short line and the violet
   "View catalogue" button (the button group sits under the basket in the template and shows only once WooCommerce
   has drawn the empty basket). Product recommendations are hidden from signed-out visitors. */
.wp-block-woocommerce-empty-cart-block { max-width: var(--wp--style--global--content-size); margin-left: auto; margin-right: auto; text-align: center; }
.wp-block-woocommerce-empty-cart-block > :not(.wc-block-cart__empty-cart__title) { display: none !important; }
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title { margin: 0; text-align: center !important; font-size: 0 !important; line-height: 1.2; }
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title::before { content: none !important; display: none !important; }
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title::after { content: "Your basket is empty"; display: block; font-size: var(--wp--preset--font-size--x-large); font-weight: 650; letter-spacing: -0.015em; color: var(--wp--preset--color--contrast); }
body.woocommerce-cart:has(.wp-block-woocommerce-empty-cart-block):not(:has(.wp-block-woocommerce-filled-cart-block)) .gc-basket-heading { text-align: center; margin-bottom: var(--wp--preset--spacing--40); }
body.woocommerce-cart:has(.wp-block-woocommerce-empty-cart-block):not(:has(.wp-block-woocommerce-filled-cart-block)) .wp-block-woocommerce-cart { margin-top: 0; margin-bottom: 0; }
.gc-empty-basket { display: none; text-align: center; }
body.woocommerce-cart:has(.wp-block-woocommerce-empty-cart-block):not(:has(.wp-block-woocommerce-filled-cart-block)) .gc-empty-basket { display: block; }
.gc-basket > .gc-empty-basket { max-width: var(--wp--style--global--content-size); margin-top: 0.75rem !important; margin-left: auto !important; margin-right: auto !important; }
.gc-empty-basket > * { margin-top: 0; margin-bottom: 0; }
.gc-empty-basket > p { margin-bottom: var(--wp--preset--spacing--40); }
.gc-empty-basket .wp-block-buttons { justify-content: center; }
.gc-empty-basket .wp-block-button__link { display: inline-block; min-width: 12rem; text-align: center; }
body:not(.logged-in) .wp-block-woocommerce-cart-cross-sells-block,
body:not(.logged-in) .wp-block-woocommerce-cart .cross-sells,
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new { display: none !important; }

/* Classic WooCommerce notices and the account page's sign-in (and, once WooCommerce registration is switched on,
   registration) forms: clear labels above comfortable fields, restrained borders, a violet primary button. */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	background-color: var(--wp--preset--color--subtle) !important;
	color: var(--wp--preset--color--contrast) !important;
	border-top-color: var(--wp--preset--color--accent) !important;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--wp--preset--color--accent) !important; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password {
	max-width: 30rem;
	margin: 0 0 var(--wp--preset--spacing--40) !important;
	padding: clamp(1.25rem, 3vw, 2rem) !important;
	border: 1px solid var(--wp--preset--color--line) !important;
	border-radius: 0 !important;
	background-color: var(--wp--preset--color--subtle);
}
.woocommerce form.checkout_coupon { border: 1px solid var(--wp--preset--color--line) !important; border-radius: 0 !important; background-color: transparent; }
.woocommerce form .form-row { padding: 0; margin: 0 0 1.1rem; }
.woocommerce form .form-row label:not(.woocommerce-form__label-for-checkbox) { display: block; margin-bottom: 0.4rem; font-size: 0.9375rem; font-weight: 500; line-height: 1.4; color: var(--wp--preset--color--contrast); }
.woocommerce form .form-row .required { color: var(--wp--preset--color--accent); text-decoration: none; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select { width: 100%; box-sizing: border-box; }
.woocommerce form.login .input-text, .woocommerce form.register .input-text, .woocommerce form.lost_reset_password .input-text { background-color: var(--wp--preset--color--base); }
.woocommerce form .password-input { display: block; position: relative; }
.woocommerce form .show-password-input { color: var(--wp--preset--color--muted); }
.woocommerce form .woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 400; color: var(--wp--preset--color--muted); }
.woocommerce form.login .woocommerce-form-login__submit, .woocommerce form.register .woocommerce-form-register__submit { display: block; float: none !important; width: 100%; margin: 1rem 0 0 !important; }
.woocommerce form.login .lost_password { margin: 1rem 0 0; font-size: 0.9375rem; }
.woocommerce form.login .lost_password a { color: var(--wp--preset--color--muted); }
.woocommerce form.login .lost_password a:hover { color: var(--wp--preset--color--accent); }
.woocommerce form .woocommerce-privacy-policy-text { color: var(--wp--preset--color--muted); font-size: 0.9375rem; }
.woocommerce-account .woocommerce h2 { margin-top: 0; margin-bottom: 1rem; font-size: clamp(1.25rem, 2vw, 1.5rem); }
/* Sign in and Register side by side on the account page (when registration is switched on in WooCommerce). */
.woocommerce-account #customer_login { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: var(--wp--preset--spacing--50); max-width: 64rem; }
.woocommerce-account #customer_login::before, .woocommerce-account #customer_login::after { content: none; }
.woocommerce-account #customer_login > .u-column1, .woocommerce-account #customer_login > .u-column2 { width: auto; float: none; margin: 0; }
.woocommerce-account #customer_login form.login, .woocommerce-account #customer_login form.register { max-width: none; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--wp--preset--color--line); }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--wp--preset--color--line); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 0.75rem 0; color: var(--wp--preset--color--contrast); text-decoration: none; font-weight: 500; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { color: var(--wp--preset--color--accent); }
.woocommerce table.shop_table { border-color: var(--wp--preset--color--line); border-radius: 0; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--wp--preset--color--line); }

/* The Atom Labs logo: the supplied square artwork (a wide glowing background around the wordmark), placed in the
   header and footer as an image linked to the home page, alt text "Atom Labs". The wordmark already says the name,
   so there is no separate site-name text. It sits straight on the dark background: no box, border, panel or
   rounding. "lighten" blending melts the artwork's black backing into the near-black page; the purple and silver
   lettering keep their colours.
   Close central crop: the link is a crop window about 3.7 times as wide as it is tall (180px wide on computers,
   150px on tablets and in the footer, 130px on phones). The square image inside it is enlarged evenly (never
   stretched; held square with "cover" so it cannot distort) and shifted so the whole ATOM | LABS wordmark with
   the atom orbit fills the window. */
.gc-header { --gc-logo-w: 180px; }
.gc-footer { --gc-logo-w: 150px; }
.gc-logo { margin: 0 !important; line-height: 0; }
.gc-logo a {
	display: block;
	width: var(--gc-logo-w);
	max-width: 100%;
	aspect-ratio: 1105 / 300;
	overflow: hidden;
	background: none;
	border: 0;
	padding: 0;
}
.gc-logo img {
	display: block;
	width: 113.48% !important;
	max-width: none !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: 50% 50%;
	margin: -38.91% 0 0 -9.5%;
	mix-blend-mode: lighten;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}

/* Free-shipping bar above the header: one short centred line in white on a dark band that glows violet in the
   middle, like the light in the logo, with a fine rule underneath. */
.gc-announcement {
	background-color: var(--wp--preset--color--subtle);
	background-image: linear-gradient(90deg, var(--wp--preset--color--base) 0%, #2A0C4A 50%, var(--wp--preset--color--base) 100%);
	border-bottom: 1px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--contrast);
}
.gc-announcement p { margin: 0; font-size: 0.875rem !important; font-weight: 500; line-height: 1.4; letter-spacing: 0.02em; }

/* Affiliate bar at the very top of the home page: the same glowing band, with a short white line beside a small
   filled violet "Become an affiliate →" button. Both stay on one centred line on phones; on the narrowest phones
   only the button shows. */
.gc-affiliate-bar { gap: 0.4rem 1rem; margin: 0 !important; }
.gc-affiliate-bar > p { margin: 0 !important; }
.gc-affiliate-bar .gc-affiliate-bar__link a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.25rem;
	box-sizing: border-box;
	padding: 0.35rem 0.95rem;
	background-color: var(--wp--custom--accent-strong);
	color: var(--wp--custom--on-accent);
	border: 1px solid var(--wp--custom--accent-strong);
	border-radius: var(--wp--custom--button-radius);
	font-weight: 600;
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 0 18px rgba(147, 39, 232, 0.35);
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
.gc-affiliate-bar .gc-affiliate-bar__link a::after { content: "\2192"; }
.gc-affiliate-bar .gc-affiliate-bar__link a:hover,
.gc-affiliate-bar .gc-affiliate-bar__link a:focus-visible { background-color: var(--wp--custom--accent-hover); border-color: var(--wp--custom--accent-hover); color: var(--wp--custom--on-accent); }
@media (max-width: 600px) {
	.gc-affiliate-bar { gap: 0.4rem 0.75rem; }
	.gc-affiliate-bar .gc-affiliate-bar__link a { padding: 0.3rem 0.8rem; }
}
@media (max-width: 379px) {
	.gc-affiliate-bar .gc-affiliate-bar__text { display: none; }
}

/* Header: compact; logo left, menu centred, Sign in, Register and basket right, all on one centre line. */
.gc-header-wrap { background-color: var(--wp--preset--color--base); }
.gc-header { gap: var(--wp--preset--spacing--40); align-items: center; }
.gc-header .gc-brand { min-width: 0; flex-shrink: 0; background: none; border: 0; padding: 0; }
.gc-header > .wp-block-navigation { flex: 1 1 auto; }
.gc-header .wp-block-navigation-item__content { padding: 0.35rem 0; }
.gc-header .wp-block-navigation .current-menu-item > a { color: var(--wp--preset--color--accent); }
.gc-header-icons { color: var(--wp--preset--color--contrast); align-items: center; }
.gc-header-icons a, .gc-header-icons .wc-block-mini-cart__button { color: inherit; }
.gc-header-icons .wp-block-woocommerce-customer-account a:hover, .gc-header-icons .wc-block-mini-cart__button:hover { color: var(--wp--preset--color--accent); }
.gc-header-signin { margin: 0; flex-wrap: nowrap; align-items: center; }
.gc-header-signin .wp-block-button__link { padding: 0.5rem 1rem; font-size: 0.9375rem; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.gc-header-signin .is-style-outline > .wp-block-button__link { padding: calc(0.5rem - 1px) calc(1rem - 1px); }
.gc-header-icons .gc-header-register > .wp-block-button__link { border: 1px solid var(--wp--custom--accent-strong); padding: calc(0.5rem - 1px) calc(1rem - 1px); color: var(--wp--custom--on-accent); }
.gc-header-icons .gc-header-register > .wp-block-button__link:hover,
.gc-header-icons .gc-header-register > .wp-block-button__link:focus-visible { border-color: var(--wp--custom--accent-hover); }
.gc-header-icons .wc-block-mini-cart__badge { background-color: var(--wp--custom--accent-strong) !important; color: var(--wp--custom--on-accent) !important; border-color: var(--wp--preset--color--base) !important; }
/* The basket icon carries a visible "Basket" label and its item count (shown even at 0). */
.gc-header-icons .wc-block-mini-cart__button { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0; }
.gc-header-icons .wc-block-mini-cart__button::after { content: "Basket"; font-size: 0.9375rem; font-weight: 500; line-height: 1; }
.gc-header-icons .wc-block-mini-cart__button:hover::after { color: var(--wp--preset--color--accent); }
/* Phone menu: a clear, easy-to-tap menu button and a calm full-screen list of links. */
.gc-header .wp-block-navigation__responsive-container-open { padding: 0.4rem; margin-right: -0.4rem; color: var(--wp--preset--color--contrast); }
.gc-header .wp-block-navigation__responsive-container-open:hover { color: var(--wp--preset--color--accent); }
.gc-header .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }
.wp-block-navigation__responsive-container.is-menu-open { padding: var(--wp--preset--spacing--40) !important; background-color: var(--wp--preset--color--base) !important; color: var(--wp--preset--color--contrast) !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.25rem !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: var(--wp--preset--font-size--large); }
.wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
@media (min-width: 601px) {
	/* Signed-out visitors see the Sign in and Register buttons instead of the account icon. */
	body:not(.logged-in) .gc-header-icons .wp-block-woocommerce-customer-account { display: none; }
}
@media (min-width: 601px) and (max-width: 959px) {
	/* Tablets: a slightly smaller logo and menu gaps, and room for Sign in only; Register stays in the footer,
	   the sign-in panels and the account page. */
	.gc-header-register { display: none !important; }
	.gc-header { --gc-logo-w: 150px; }
	.gc-header > .wp-block-navigation { --wp--style--block-gap: 1.25rem; }
	.gc-header > .wp-block-navigation .wp-block-navigation__container { gap: 1.25rem; }
}
@media (max-width: 600px) {
	.gc-header { --gc-logo-w: 130px; }
	.gc-header .gc-header-icons { margin-left: auto; gap: var(--wp--preset--spacing--30); }
	.gc-header > .wp-block-navigation { order: 3; flex: 0 0 auto; }
	/* Phones: the account icon (sign in or register) stands in for the buttons so the header stays one row. */
	.gc-header-signin { display: none !important; }
	.gc-announcement p { font-size: 0.8125rem !important; }
}
@media (max-width: 389px) {
	/* Small phones: the basket icon and count alone, so the header stays on one row. */
	.gc-header-icons .wc-block-mini-cart__button::after { content: none; }
}
@media (max-width: 339px) {
	.gc-header { --gc-logo-w: 112px; }
}

/* Footer: a thin rule, then the logo and research-use line on the left and three labelled link groups on the right;
   a second fine rule above the copyright line. */
.gc-footer { margin-top: var(--wp--preset--spacing--50); }
.gc-footer-top { gap: var(--wp--preset--spacing--50); }
.gc-footer-brand { flex: 1 1 14rem; max-width: 22rem; }
.gc-footer-brand > * { margin-top: 0; margin-bottom: 0; }
.gc-footer-brand > p { margin-top: var(--wp--preset--spacing--30); }
.gc-footer-nav { gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50); }
.gc-footer-col { min-width: 9rem; }
.gc-footer-col > * { margin-top: 0; margin-bottom: 0; }
.gc-footer-col > .gc-footer-label { margin-bottom: 0.85rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--contrast); }
.gc-footer a { color: var(--wp--preset--color--muted); text-decoration: none; }
.gc-footer a:hover, .gc-footer a:focus-visible { color: var(--wp--preset--color--accent); text-decoration: underline; }
.gc-footer-links { display: flex; flex-direction: column; gap: 0.55rem; list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; line-height: 1.4; }
.gc-footer-links li { margin: 0; }
.gc-footer-bottom { margin-top: 0; }
.gc-footer-bottom p { margin: 0; }
@media (max-width: 600px) {
	.gc-footer { --gc-logo-w: 130px; }
	.gc-footer-nav { width: 100%; gap: var(--wp--preset--spacing--40) 1.5rem; }
	.gc-footer-col { flex: 1 1 calc(50% - 1.5rem); min-width: 8rem; }
}

/* WhatsApp: hidden until a number is supplied. To switch it on, make the footer's "WhatsApp" paragraph a link to
   https://wa.me/<number> (country code, no + or spaces); it then shows as a discreet button in the bottom-right corner. */
.gc-whatsapp { display: none !important; }
.gc-whatsapp:has(a[href]) {
	display: inline-flex !important;
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 50;
	margin: 0 !important;
	line-height: 1.3;
}
.gc-whatsapp a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 1rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	background-color: var(--wp--preset--color--subtle);
	color: var(--wp--preset--color--contrast) !important;
	font-weight: 500;
	text-decoration: none !important;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}
.gc-whatsapp a::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background-color: var(--wp--preset--color--accent); flex: none; }
.gc-whatsapp a:hover, .gc-whatsapp a:focus-visible { border-color: var(--wp--preset--color--accent); }
@media (max-width: 600px) {
	.gc-whatsapp:has(a[href]) { right: 0.75rem; bottom: 0.75rem; }
}

/* Floating WhatsApp chat button (in both footer parts): a round green 56px link fixed 20px from the bottom-right
   corner, white WhatsApp icon. Signed-in visitors only, through .gc-signed-in-only. */
.gc-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background-color: #25D366; }
.gc-wa-float svg { display: block; width: 30px; height: 30px; }

/* Catalogue, category and search pages (templates/archive-product.html, product-search-results.html).
   The main catalogue page is headed "Catalogue"; category and search pages show their own title. */
.gc-shop h1 { margin-top: 0; margin-bottom: 0; }
.gc-shop-heading { display: none; }
body.woocommerce-shop:not(.search) .gc-shop-heading { display: block; }
body.woocommerce-shop:not(.search) .gc-shop-title { display: none; }
.gc-shop .wp-block-term-description { margin-top: var(--wp--preset--spacing--30); max-width: 42rem; }
.gc-shop-filters { row-gap: var(--wp--preset--spacing--30); margin-top: var(--wp--preset--spacing--40); padding-top: var(--wp--preset--spacing--40); border-top: 1px solid var(--wp--preset--color--line); }
.gc-shop-search { flex: 1 1 18rem; max-width: 30rem; margin: 0; }
.gc-shop-search .wp-block-search__inside-wrapper { gap: 0.5rem; }
.gc-shop-search .wp-block-search__input { width: 100%; }
.gc-shop-search .wp-block-search__button { margin-left: 0; }
.gc-shop-categories ul { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.gc-shop-categories li { margin: 0; }
.gc-shop-categories a {
	display: inline-block;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 4px;
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	text-decoration: none;
}
.gc-shop-categories a:hover, .gc-shop-categories a:focus-visible { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); }
.gc-shop-categories .current-cat > a { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); }
.gc-shop-toolbar { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); row-gap: var(--wp--preset--spacing--20); margin-bottom: var(--wp--preset--spacing--40); }
.gc-shop-toolbar .woocommerce-ordering, .gc-shop-toolbar .woocommerce-result-count { margin: 0; }
.gc-shop .wp-block-query-pagination { margin-top: var(--wp--preset--spacing--50); gap: 0.75rem; font-size: var(--wp--preset--font-size--small); }
.gc-shop .wp-block-query-pagination .page-numbers.current { color: var(--wp--preset--color--accent); font-weight: 600; }

/* Internal SKUs stay out of sight on every page; reviews and star ratings are hidden too. */
.sku_wrapper, .wc-block-components-product-sku, .wp-block-woocommerce-product-sku { display: none !important; }
.woocommerce-tabs .reviews_tab, .woocommerce-tabs #tab-reviews, .woocommerce #reviews,
.wp-block-woocommerce-product-rating, .woocommerce-product-rating, .wp-block-woocommerce-product-reviews { display: none !important; }

/* Product cards: one square image area per card (the real photo fitted whole, never cropped, on a dark square),
   then the name at reading size (the body size: about 17px on computers, 16px on phones), the price and the
   availability. The basket icon on the photo opens the product's page, where the research-use box is ticked
   before adding to the basket. A card's photo frame lights up violet on hover. */
.gc-product-grid .wc-block-product-template { gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30); }
.gc-product-grid .wc-block-product { display: flex; flex-direction: column; gap: 0.3rem; text-align: left; }
.gc-product-grid .wc-block-product > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.gc-product-grid .wc-block-components-product-image {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	margin-bottom: 0.7rem !important;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 0;
	background-color: var(--wp--preset--color--subtle);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gc-product-grid .wc-block-product:hover .wc-block-components-product-image { border-color: var(--wp--custom--accent-strong); box-shadow: 0 0 22px rgba(147, 39, 232, 0.25); }
/* Only the photo's own link fills the square; the basket button and sale badge keep their small sizes. */
.gc-product-grid .wc-block-components-product-image a:not(.gc-quick-add__button) { display: block; width: 100%; height: 100%; }
.gc-product-grid .wc-block-components-product-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: contain !important;
	border-radius: 0;
	background: transparent;
}
.gc-product-grid .wp-block-post-title { font-size: var(--wp--preset--font-size--medium) !important; line-height: 1.4; font-weight: 600; letter-spacing: 0; }
.gc-product-grid .wp-block-post-title a { text-decoration: none; }
.gc-product-grid .wp-block-post-title a:hover, .gc-product-grid .wp-block-post-title a:focus-visible { color: var(--wp--preset--color--accent); }
.gc-product-grid .wc-block-components-product-price { font-size: 0.9375rem !important; font-weight: 500; color: var(--wp--preset--color--contrast); }
.gc-product-grid .wc-block-components-product-price del { color: var(--wp--preset--color--muted); font-weight: 400; }
.gc-product-grid .wc-block-components-product-price ins { text-decoration: none; }
/* Availability: a small line with a dot, violet when in stock, grey otherwise. */
.wc-block-components-product-stock-indicator { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; font-size: 0.875rem !important; font-weight: 500; color: var(--wp--preset--color--muted) !important; }
.wc-block-components-product-stock-indicator::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background-color: var(--wp--preset--color--muted); flex: none; }
.wc-block-components-product-stock-indicator--in-stock, .wc-block-components-product-stock-indicator--low-stock { color: var(--wp--preset--color--contrast) !important; }
.wc-block-components-product-stock-indicator--in-stock::before, .wc-block-components-product-stock-indicator--low-stock::before { background-color: var(--wp--preset--color--accent); }

/* Sale badge: a small violet pill with white text in the photo's top-right corner, shown only on products that are
   on sale (WooCommerce prints it only for them). Never a large circle and never over the whole photo. */
.wc-block-components-product-sale-badge, .woocommerce span.onsale {
	display: inline-block !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: calc(100% - 1.2rem);
	margin: 0 !important;
	padding: 0.2rem 0.6rem !important;
	background-color: var(--wp--custom--accent-strong) !important;
	color: var(--wp--custom--on-accent) !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	box-shadow: none !important;
}
.wc-block-components-product-sale-badge:empty, .woocommerce span.onsale:empty,
.wp-block-woocommerce-product-sale-badge:empty { display: none !important; }
.gc-product-grid .wc-block-components-product-image__inner-container {
	position: absolute !important;
	inset: 0 !important;
	width: auto !important;
	height: auto !important;
	background: none !important;
	pointer-events: none;
}
.gc-product-grid .wc-block-components-product-image__inner-container > *,
.gc-product-grid .wc-block-components-product-image__inner-container a,
.gc-product-grid .wc-block-components-product-image__inner-container button { pointer-events: auto; }
.gc-product-grid .wc-block-components-product-image .wp-block-woocommerce-product-sale-badge,
.gc-product-grid .wc-block-components-product-image > .wc-block-components-product-sale-badge,
.gc-product-grid .wc-block-components-product-image > a > .wc-block-components-product-sale-badge,
.gc-product-grid .wc-block-product span.onsale {
	position: absolute !important;
	top: 0.6rem !important;
	right: 0.6rem !important;
	left: auto !important;
	bottom: auto !important;
	z-index: 2;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding-top: 0;
	background: none;
	line-height: 0;
}
.gc-product-grid .wc-block-components-product-image .wp-block-woocommerce-product-sale-badge > .wc-block-components-product-sale-badge { position: static !important; }
.gc-product-grid .wc-block-product span.onsale { padding: 0.2rem 0.6rem !important; background-color: var(--wp--custom--accent-strong) !important; line-height: 1.4 !important; }
.gc-related > h2 { margin-bottom: var(--wp--preset--spacing--40); padding-top: var(--wp--preset--spacing--50); border-top: 1px solid var(--wp--preset--color--line); }
@media (max-width: 600px) {
	/* Two cards per row on phones, every grid alike. */
	.gc-product-grid .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: var(--wp--preset--spacing--40) 1rem !important; }
	.gc-product-grid .wc-block-product-template > li { width: auto !important; max-width: none !important; margin-left: 0; margin-right: 0; }
	.gc-product-grid .wp-block-post-title { font-size: 1rem !important; }
}

/* Missing product photos: one neutral near-black square everywhere (WooCommerce's grey placeholder picture is hidden). */
.gc-product-grid .wc-block-components-product-image:has(img[src*="woocommerce-placeholder"]),
.gc-product .woocommerce-product-gallery__image--placeholder { background: linear-gradient(160deg, #18141F 0%, #0E0C13 100%); }
.gc-product-grid .wc-block-components-product-image img[src*="woocommerce-placeholder"],
.gc-product .woocommerce-product-gallery__image--placeholder img { opacity: 0; }

/* Quick add basket icon on product photos: a small round violet button in the photo's bottom-right corner, only
   the icon showing (its label stays for screen readers). It never grows to cover the photo. Every product needs
   the research-use confirmation, so the script at the end of the footer makes it open the product's page instead
   of adding straight to the basket (its label says so). */
.gc-quick-add__button { z-index: 2; background-color: var(--wp--custom--accent-strong) !important; color: var(--wp--custom--on-accent) !important; border-color: var(--wp--custom--accent-strong) !important; }
.gc-product-grid .wc-block-components-product-image .gc-quick-add__button {
	position: absolute !important;
	top: auto !important;
	left: auto !important;
	right: 0.6rem !important;
	bottom: 0.6rem !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2.5rem !important;
	height: 2.5rem !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: 2.5rem !important;
	max-height: 2.5rem !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--wp--custom--accent-strong);
	border-radius: 999px !important;
	overflow: hidden;
	font-size: 0 !important;
	line-height: 0 !important;
	text-indent: 0 !important;
	text-decoration: none !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
	cursor: pointer;
}
.gc-product-grid .wc-block-components-product-image .gc-quick-add__button svg {
	display: block;
	width: 1.15rem !important;
	height: 1.15rem !important;
	max-width: 1.15rem;
	max-height: 1.15rem;
	flex: none;
}
.gc-product-grid .wc-block-components-product-image .gc-quick-add__button::before,
.gc-product-grid .wc-block-components-product-image .gc-quick-add__button::after { font-size: 1.1rem; line-height: 1; }
.gc-quick-add__button:hover, .gc-quick-add__button:focus-visible { background-color: var(--wp--custom--accent-hover) !important; border-color: var(--wp--custom--accent-hover) !important; color: var(--wp--custom--on-accent) !important; }
form.cart .gc-buy-now__button {
	background-color: transparent !important;
	color: var(--wp--preset--color--accent) !important;
	border: 1px solid var(--wp--preset--color--accent) !important;
	border-radius: var(--wp--custom--button-radius);
}
form.cart .gc-buy-now__button:hover, form.cart .gc-buy-now__button:focus-visible { background-color: var(--wp--custom--accent-strong) !important; border-color: var(--wp--custom--accent-strong) !important; color: var(--wp--custom--on-accent) !important; }

/* Product page: the photo (square, fitted whole) beside the category, name, price and availability, short
   description, options and basket buttons; then the description tabs and related products. */
.woocommerce-product-gallery { opacity: 1 !important; }
.gc-product .wp-block-woocommerce-product-image-gallery, .gc-product .woocommerce-product-gallery { width: 100% !important; max-width: none; float: none !important; margin: 0; position: relative; }
.gc-product .woocommerce-product-gallery__image { border: 1px solid var(--wp--preset--color--line); background-color: var(--wp--preset--color--subtle); }
.gc-product .woocommerce-product-gallery__image img, .gc-product .woocommerce-product-gallery__image--placeholder img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 0; background: transparent; }
.gc-product .woocommerce-product-gallery__trigger { background-color: var(--wp--preset--color--subtle) !important; border: 1px solid var(--wp--preset--color--line); }
.gc-product .woocommerce-product-gallery .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--20); margin: var(--wp--preset--spacing--20) 0 0; padding: 0; }
.gc-product .woocommerce-product-gallery .flex-control-thumbs li { width: calc(25% - var(--wp--preset--spacing--20) * 3 / 4); margin: 0; list-style: none; }
.gc-product .woocommerce-product-gallery .flex-control-thumbs img { aspect-ratio: 1 / 1; object-fit: contain; background-color: var(--wp--preset--color--subtle); border: 1px solid var(--wp--preset--color--line); opacity: 0.6; }
.gc-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--wp--preset--color--accent); }
.gc-product .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; }
.gc-product .wp-block-woocommerce-product-image-gallery .onsale { display: none !important; }
@media (min-width: 782px) {
	.gc-product-summary { position: sticky; top: var(--wp--preset--spacing--40); align-self: flex-start; }
}
.gc-product-summary > * { margin-top: 0; }
.gc-product-cat { margin-bottom: -0.25rem; font-size: 0.8125rem !important; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--contrast); }
.gc-product-cat a { color: inherit; text-decoration: none; }
.gc-product-cat a:hover { color: var(--wp--preset--color--accent); }
.gc-product-summary .wp-block-post-title { font-size: clamp(1.625rem, 2.8vw, 2.125rem); line-height: 1.15; letter-spacing: -0.02em; }
.gc-product-buyline { gap: 0.5rem 1.25rem; align-items: center; }
.gc-product-buyline > * { margin: 0; }
.gc-product-buyline .wc-block-components-product-price { font-weight: 600; color: var(--wp--preset--color--contrast); }
.gc-product-summary .wp-block-post-excerpt__excerpt { margin: 0; color: var(--wp--preset--color--muted); }
.gc-product-summary .wp-block-add-to-cart-form > p.stock { display: none; }
.gc-product-summary .variations { margin-bottom: var(--wp--preset--spacing--30); border-spacing: 0; }
.gc-product-summary .variations th, .gc-product-summary .variations td { padding: 0.25rem 0.75rem 0.25rem 0; vertical-align: middle; text-align: left; }
.gc-product-summary .variations label { font-size: 0.9375rem; font-weight: 500; }
.gc-product-summary .reset_variations { font-size: var(--wp--preset--font-size--small); margin-left: 0.5rem; }
.gc-product-summary .woocommerce-variation-price, .gc-product-summary .woocommerce-variation-availability { margin-bottom: 0.75rem; }
.gc-product-summary form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 0; padding-top: var(--wp--preset--spacing--30); border-top: 1px solid var(--wp--preset--color--line); }
.gc-product-summary form.variations_form { display: block; }
.gc-product-summary form.cart .quantity { margin: 0 !important; }
.gc-product-summary form.cart .single_add_to_cart_button:not(.gc-buy-now__button) { font-size: 0 !important; }
.gc-product-summary form.cart .single_add_to_cart_button:not(.gc-buy-now__button)::before { content: "Add to basket"; font-size: 1rem; }
.gc-product-summary .gc-research-note { margin-top: var(--wp--preset--spacing--20); padding: 0.25rem 0 0.25rem 1rem; border-left: 1px solid var(--wp--preset--color--accent); }

/* Research-use confirmation on every product page (simple and with options), directly above the quantity and
   "Add to basket": a dark card with a thin violet border; a small violet warning icon beside "RESEARCH USE ONLY."
   (bold, violet) and its line in white, "Dispatched from the UK." smaller in grey; then, under a fine rule, a
   dark tick box (filling violet when ticked) with its label. Until it is ticked, "Add to basket" and "Buy it now"
   are disabled and greyed, with "Please tick the box to continue." under the tick box. The card is written in the
   product template; the script next to it moves it into the basket form, just above the buttons, and does the
   locking (it also stops the form being sent unticked). */
.gc-ruo {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 0.25rem;
	padding: 1rem 1.125rem;
	background-color: var(--wp--preset--color--subtle);
	border: 1px solid var(--wp--preset--color--accent);
	border-radius: var(--wp--custom--button-radius);
	color: var(--wp--preset--color--contrast);
	transition: box-shadow 0.2s ease;
}
.gc-product-summary form.cart > .gc-ruo { flex: 1 1 100%; }
.gc-product-summary .single_variation_wrap > .gc-ruo { margin-bottom: 1rem; }
.gc-ruo p { margin: 0; }
.gc-ruo__notice { display: flex; align-items: flex-start; gap: 0.75rem; }
.gc-ruo__icon { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.1rem; color: var(--wp--preset--color--accent); }
.gc-ruo__text { min-width: 0; }
.gc-ruo__lead { font-size: 0.9375rem; line-height: 1.5; }
.gc-ruo__lead strong { color: var(--wp--preset--color--accent); font-weight: 700; letter-spacing: 0.04em; }
.gc-ruo .gc-ruo__sub { margin-top: 0.3rem; font-size: 0.8125rem; line-height: 1.45; color: var(--wp--preset--color--muted); }
.gc-ruo__confirm { display: flex; align-items: flex-start; gap: 0.7rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--wp--preset--color--line); }
.gc-ruo__confirm label { flex: 1 1 auto; min-width: 0; font-size: 0.9375rem; font-weight: 500; line-height: 1.5; color: var(--wp--preset--color--contrast); cursor: pointer; }
.gc-ruo .gc-ruo__check {
	-webkit-appearance: none;
	appearance: none;
	flex: none;
	box-sizing: border-box;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0.1rem 0 0;
	padding: 0;
	border: 1.5px solid var(--wp--preset--color--accent);
	border-radius: 4px;
	background-color: var(--wp--preset--color--base);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 0.85rem 0.85rem;
	cursor: pointer;
}
.gc-ruo .gc-ruo__check:checked {
	background-color: var(--wp--custom--accent-strong);
	border-color: var(--wp--custom--accent-strong);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.gc-ruo .gc-ruo__check:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
@media (forced-colors: active) {
	.gc-ruo .gc-ruo__check { -webkit-appearance: auto; appearance: auto; }
}
.gc-ruo .gc-ruo__hint { margin-top: 0.6rem; padding-left: 1.95rem; font-size: 0.8125rem; font-weight: 500; line-height: 1.45; color: var(--wp--preset--color--accent); }
.gc-ruo .gc-ruo__hint[hidden],
.gc-ruo.is-info-only .gc-ruo__confirm,
.gc-ruo.is-info-only .gc-ruo__hint { display: none; }
.gc-ruo.is-attention:not(.is-confirmed) { box-shadow: 0 0 0 1px var(--wp--preset--color--accent), 0 0 18px rgba(147, 39, 232, 0.35); }
/* The locked buttons: grey with muted text, no violet, a "not allowed" pointer. */
.gc-product-summary form.cart [data-gc-ruo-locked],
.gc-product-summary form.cart [data-gc-ruo-locked]:hover,
.gc-product-summary form.cart [data-gc-ruo-locked]:focus,
.gc-product-summary form.cart [data-gc-ruo-locked]:focus-visible {
	background-color: var(--wp--preset--color--line) !important;
	border-color: var(--wp--preset--color--line) !important;
	color: var(--wp--preset--color--muted) !important;
	opacity: 1 !important;
	box-shadow: none !important;
	cursor: not-allowed !important;
}
@media (max-width: 600px) {
	.gc-ruo { padding: 0.9rem 1rem; }
	.gc-ruo .gc-ruo__check { width: 1.375rem; height: 1.375rem; }
	.gc-ruo .gc-ruo__hint { padding-left: 2.075rem; }
}

.gc-product .wp-block-woocommerce-product-details { margin-top: var(--wp--preset--spacing--50); }
.gc-product .woocommerce-tabs ul.tabs { padding-left: 0 !important; }
.gc-product .woocommerce-tabs ul.tabs::before { border-color: var(--wp--preset--color--line) !important; }
.gc-product .woocommerce-tabs ul.tabs li { background: transparent !important; border-color: var(--wp--preset--color--line) !important; border-radius: 0 !important; margin-left: 0 !important; }
.gc-product .woocommerce-tabs ul.tabs li::before, .gc-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.gc-product .woocommerce-tabs ul.tabs li a { color: var(--wp--preset--color--muted) !important; font-weight: 500; }
.gc-product .woocommerce-tabs ul.tabs li a:hover { color: var(--wp--preset--color--accent) !important; }
.gc-product .woocommerce-tabs ul.tabs li.active a { color: var(--wp--preset--color--contrast) !important; }
.gc-product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--wp--preset--color--accent) !important; }
.gc-product .woocommerce-Tabs-panel { max-width: 720px; }
.gc-product .woocommerce-Tabs-panel > h2:first-child { display: none; }
.gc-product table.shop_attributes { width: 100%; border-collapse: collapse; border: 0; }
.gc-product table.shop_attributes th, .gc-product table.shop_attributes td { padding: 0.75rem 0; border-bottom: 1px solid var(--wp--preset--color--line); text-align: left; font-style: normal; background: transparent; }
.gc-product table.shop_attributes p { margin: 0; }

/* Forms from the chat (wp:genconstruct/form): their fields follow the rules above. The plugin's own
   styles have no specificity, so these win: .gc-form (and .gc-form--<id>), .gc-form__field (--<type>,
   --<name>), .gc-form__label, .gc-form__control, .gc-form__notice (--error), .gc-form__submit;
   --gc-form-gap and --gc-form-error tweak it. Its width is the page's, as for any block. */
.gc-form { --gc-form-gap: 1.25rem; --gc-form-error: #F2A7B8; margin-top: var(--wp--preset--spacing--40); margin-bottom: var(--wp--preset--spacing--40); padding-top: var(--wp--preset--spacing--40); border-top: 1px solid var(--wp--preset--color--line); }
.gc-form__label { font-weight: 500; font-size: 0.9375rem; line-height: 1.4; }
.gc-form__control:not([type=checkbox]):not([type=radio]) { width: 100%; box-sizing: border-box; }
.gc-form__notice { border-color: var(--wp--preset--color--accent); border-left: 2px solid var(--wp--preset--color--accent); background-color: var(--wp--preset--color--subtle); }
.gc-form__notice--error { border-color: currentColor; background-color: transparent; }

/* Home page: the same near-black background and violet accents as every other page. The certificates section
   keeps its panel shape, a near-black panel a shade lighter than the page. */
body.home .gc-coas {
	background-color: var(--wp--preset--color--subtle);
	padding-left: clamp(1.25rem, 4vw, 3rem);
	padding-right: clamp(1.25rem, 4vw, 3rem);
	border-radius: var(--wp--custom--button-radius);
}

/* PeptideSupermarket supplier badge under "About Atom Labs" on the home page: the light badge image shown about
   480px wide on computers and the full content width on phones (proportions kept), on a rounded near-white panel
   with a fine border so it sits neatly on the dark page. Left-aligned with the About text; the link opens in a new
   tab. On hover or keyboard focus the panel glows violet. */
.gc-supplier-badge > a {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: calc(480px + 2.5rem + 2px);
	padding: 1.25rem;
	background-color: var(--wp--preset--color--contrast);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px;
	line-height: 0;
	text-decoration: none;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.gc-supplier-badge > a:hover,
.gc-supplier-badge > a:focus-visible { border-color: var(--wp--preset--color--accent); box-shadow: 0 0 24px rgba(147, 39, 232, 0.35); }
.gc-supplier-badge > a:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 3px; }
.gc-supplier-badge img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 247 / 60; }
@media (max-width: 600px) {
	.gc-supplier-badge > a { max-width: none; padding: 0.875rem; border-radius: 10px; }
}
