/* Product category template
   Loaded only on product category archives. Uses the tokens in tokens.css. */

.alh-wrap {
	max-width: 1100px;
	margin-inline: auto;
	padding-inline: var(--alh-space-sm);
}

.alh-category section {
	padding-block: var(--alh-space-lg);
}

.alh-category section:nth-child(even) {
	background: var(--alh-cream);
}

/* 1 — Header */

.alh-cat-header {
	background: var(--alh-cocoa);
	color: var(--alh-sand);
	padding-block: var(--alh-space-lg);
}

.alh-cat-header h1 {
	color: #fff;
	font-family: var(--alh-font-display);
	font-size: var(--alh-step-4);
	line-height: 1.15;
	margin: var(--alh-space-xs) 0 var(--alh-space-sm);
}

.alh-cat-header .woocommerce-breadcrumb,
.alh-cat-header .woocommerce-breadcrumb a {
	color: var(--alh-sand);
	font-size: 0.875rem;
}

.alh-cat-intro {
	max-width: var(--alh-measure);
	font-size: var(--alh-step-1);
	line-height: 1.65;
}

/* 3 — Specifications */

.alh-spec-table {
	width: 100%;
	max-width: 46rem;
	border-collapse: collapse;
}

.alh-spec-table th,
.alh-spec-table td {
	text-align: left;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--alh-rule);
	vertical-align: top;
}

.alh-spec-table th {
	width: 38%;
	font-weight: 600;
	color: var(--alh-cocoa);
}

.alh-spec-table td {
	font-family: var(--alh-font-mono);
	font-size: 0.9375rem;
}

/* 4–6 — Detail columns */

.alh-cols {
	display: grid;
	gap: var(--alh-space-md);
	grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.alh-col h2 {
	font-size: var(--alh-step-1);
	color: var(--alh-amber);
	margin-bottom: var(--alh-space-xs);
}

/* 7 — FAQ */

.alh-faq-item {
	border-bottom: 1px solid var(--alh-rule);
}

.alh-faq-item summary {
	cursor: pointer;
	padding: 1rem 0;
	font-weight: 600;
	color: var(--alh-cocoa);
	list-style: none;
}

.alh-faq-item summary::-webkit-details-marker {
	display: none;
}

.alh-faq-item summary::after {
	content: "+";
	float: right;
	color: var(--alh-amber);
	font-size: 1.25em;
	line-height: 1;
}

.alh-faq-item[open] summary::after {
	content: "\2013";
}

.alh-faq-answer {
	padding-bottom: 1rem;
	max-width: var(--alh-measure);
}

/* 8 — CTA */

.alh-cat-cta {
	background: var(--alh-cocoa);
	color: var(--alh-sand);
	text-align: center;
}

.alh-cat-cta h2 {
	color: #fff;
	font-size: var(--alh-step-3);
}

.alh-cta-buttons {
	display: flex;
	gap: var(--alh-space-sm);
	justify-content: center;
	flex-wrap: wrap;
	margin-top: var(--alh-space-md);
}

.alh-btn {
	display: inline-block;
	padding: 1rem 2rem;
	border-radius: var(--alh-radius);
	font-weight: 600;
	text-decoration: none;
}

.alh-btn-primary {
	background: var(--alh-amber);
	color: #fff;
}

.alh-btn-outline {
	border: 2px solid #fff;
	color: #fff;
}

.alh-empty {
	padding: var(--alh-space-md);
	background: var(--alh-cream);
	border-left: 3px solid var(--alh-amber);
	max-width: var(--alh-measure);
}
