/* Category-only layer; product grids, header and footer stay with Blocksy/WooCommerce. */
.asp-category-archive .hero-section { background: var(--asp-paper); }
.asp-category-archive .hero-section .entry-header { max-width: var(--asp-container-max); text-align: start; }
/* A separate text surface keeps any category photograph unaltered and legible. */
.asp-category-archive .hero-section[data-type="type-2"] { display: flex; flex-direction: column; padding-top: 0; }
.asp-category-archive .hero-section[data-type="type-2"] > figure { position: relative; inset: auto; width: 100%; height: clamp(180px,26vw,340px); margin: 0; }
.asp-category-archive .hero-section[data-type="type-2"] > figure .ct-media-container { width: 100%; height: 100%; }
.asp-category-archive .hero-section[data-type="type-2"] > figure img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.asp-category-archive .hero-section[data-type="type-2"] > .entry-header { padding-block: clamp(24px,3vw,40px); min-height: 0; background: var(--asp-paper); }
.asp-category-archive .hero-section .ct-breadcrumbs,
.asp-category-archive .hero-section .rank-math-breadcrumb { color: var(--asp-ink); }
.asp-category-archive .hero-section .rank-math-breadcrumb a { color: var(--asp-accent); text-decoration: underline; }
.asp-category-archive .hero-section .page-title { color: var(--asp-accent); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; }
.asp-category-archive .hero-section .page-description { max-width: 76ch; color: var(--asp-ink); }
.asp-category-archive .hero-section .page-description p:last-child { margin-bottom: 0; }
.asp-category-tools { margin-block: 0 2rem; }
.asp-category-tools nav ul { display: flex; flex-wrap: wrap; gap: .65rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.asp-category-tools nav li { margin: 0; }
.asp-category-tools nav a { display: flex; align-items: center; min-height: 44px; padding: .65rem 1rem; border: 1px solid var(--asp-line); border-radius: .5rem; color: var(--asp-accent); background: var(--asp-white); font-weight: 600; line-height: 1.4; }
.asp-category-tools nav a[aria-current="page"] { background: var(--asp-accent); color: var(--asp-white); border-color: var(--asp-accent); }
.asp-category-tools nav a:hover { border-color: var(--asp-orange-dark); }
.asp-category-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem; background: var(--asp-paper); border-inline-start: 4px solid var(--asp-orange); border-radius: .5rem; }
.asp-category-contact p { flex: 1 1 260px; margin: 0; color: var(--asp-ink); }
.asp-category-contact .asp-contact a { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem .8rem; min-height: 44px; align-items: center; padding: .8rem 1rem; border-radius: .4rem; color: var(--asp-white); background: var(--asp-accent); font-weight: 600; line-height: 1.5; }
.asp-category-contact .asp-contact a:hover { background: var(--asp-accent-hover); }
.asp-category-archive .asp-category-catalog-title { font-size: 1.5rem; color: var(--asp-ink); margin-bottom: 1.25rem; }
.asp-category-details { max-width: 80ch; margin-block: 2.5rem 1rem; padding-block-start: 1.75rem; border-top: 1px solid var(--asp-line); color: var(--asp-ink); }
.asp-category-details h2 { font-size: 1.5rem; }
.asp-category-archive :where(.asp-category-tools, .rank-math-breadcrumb) a:focus-visible { outline: 3px solid var(--asp-focus); outline-offset: 4px; }
.asp-category-archive main { overflow-wrap: anywhere; }
@media (max-width: 479px) {
	.asp-category-tools nav li { flex: 1 1 100%; }
	.asp-category-contact { padding: 1rem; }
	.asp-category-contact .asp-contact { width: 100%; }
	.asp-category-details { margin-block-start: 1.75rem; }
}
