/*
Theme Name: Solmino Labs
Theme URI: https://solminolabs.com
Description: Child theme for Solmino Labs — research-use-only biochemical wholesale. Spec-only product presentation with research-use attestation gating at registration and checkout. Built on Storefront.
Author: Solmino Labs
Template: storefront
Version: 1.0.0
Text Domain: solmino
*/

/* -------------------------------------------------------------------------
   Design tokens
   Identity: analytical-report / clean laboratory. Trust is signalled through
   precision and documentation, not persuasion. Monospace carries the
   technical identifiers (CAS, formula, MW) the way they'd read on a COA.
---------------------------------------------------------------------------- */
:root {
	--ink:       #14181c;
	--paper:     #fbfbf9;
	--surface:   #ffffff;
	--muted:     #5a6066;
	--hairline:  #e4e6e2;
	--accent:    #1a6e7e;  /* analytical teal */
	--accent-dk: #0f4a55;
	--flag:      #8a4b2a;  /* restrained ochre, RUO notices only */
	--flag-bg:   #f6efe8;
}

body,
.site {
	font-family: "Inter", system-ui, -apple-system, sans-serif;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.entry-title,
.product_title,
.site-title {
	font-family: "Space Grotesk", "Inter", sans-serif;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--ink);
}

/* -------------------------------------------------------------------------
   Site-wide RUO banner
---------------------------------------------------------------------------- */
.solmino-ruo-banner {
	background: var(--ink);
	color: #f4f5f3;
	font-size: 0.74rem;
	letter-spacing: 0.02em;
	text-align: center;
	padding: 0.5rem 1rem;
	line-height: 1.4;
}

/* Per-product RUO line */
.solmino-ruo-line {
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--flag);
	background: var(--flag-bg);
	border-left: 3px solid var(--flag);
	padding: 0.5rem 0.7rem;
	margin: 0 0 1.25rem;
}

/* -------------------------------------------------------------------------
   Specification table — the signature element. Reads like a COA data block.
---------------------------------------------------------------------------- */
.solmino-spec-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.25rem;
	border: 1px solid var(--hairline);
	background: var(--surface);
}
.solmino-spec-table th,
.solmino-spec-table td {
	text-align: left;
	padding: 0.6rem 0.85rem;
	border-bottom: 1px solid var(--hairline);
	vertical-align: top;
}
.solmino-spec-table tr:last-child th,
.solmino-spec-table tr:last-child td {
	border-bottom: none;
}
.solmino-spec-table th {
	width: 42%;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--muted);
	background: #f7f8f6;
}
.solmino-spec-table td {
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-size: 0.9rem;
	color: var(--ink);
}

.solmino-coa-link {
	display: inline-block;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-size: 0.82rem;
	color: var(--accent-dk);
	border: 1px solid var(--accent);
	border-radius: 2px;
	padding: 0.45rem 0.8rem;
	margin: 0 0 1.25rem;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}
.solmino-coa-link:hover,
.solmino-coa-link:focus {
	background: var(--accent);
	color: #fff;
}

/* -------------------------------------------------------------------------
   Access gate (guests) + price gating
---------------------------------------------------------------------------- */
.solmino-access-gate {
	border: 1px solid var(--hairline);
	border-radius: 2px;
	background: var(--surface);
	padding: 1.1rem 1.25rem;
	margin: 1rem 0 1.5rem;
}
.solmino-access-gate p {
	margin: 0 0 0.75rem;
	color: var(--muted);
	font-size: 0.92rem;
}
.solmino-price-gated {
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-size: 0.85rem;
	color: var(--muted);
}

/* Buttons — squared, precise */
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit {
	background: var(--ink);
	color: #fff;
	border-radius: 2px;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: none;
}
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
	background: var(--accent-dk);
}

/* -------------------------------------------------------------------------
   Attestation rows (registration + checkout)
---------------------------------------------------------------------------- */
.solmino-attest-row,
.solmino-attest-checkout {
	border: 1px solid var(--hairline);
	background: var(--flag-bg);
	border-radius: 2px;
	padding: 0.85rem 1rem;
	margin-top: 0.5rem;
	font-size: 0.88rem;
	line-height: 1.45;
}
.solmino-attest-row .checkbox,
.solmino-attest-checkout label {
	margin: 0;
	font-weight: 500;
}

/* Accessibility floor */
a:focus-visible,
.button:focus-visible,
input:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
}

@media (max-width: 600px) {
	.solmino-spec-table th { width: 50%; font-size: 0.72rem; }
	.solmino-spec-table td { font-size: 0.82rem; }
}

/* -------------------------------------------------------------------------
   Footer menu (registered via functions.php)
---------------------------------------------------------------------------- */
.solmino-footer-nav {
	margin: 0 0 1rem;
	text-align: center;
}
.solmino-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem 1.1rem;
}
.solmino-footer-menu li { margin: 0; }
.solmino-footer-menu a {
	font-family: "Inter", sans-serif;
	font-size: 0.82rem;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.15s ease;
}
.solmino-footer-menu a:hover,
.solmino-footer-menu a:focus { color: var(--accent); }
