/* Product finder + search – layout from the HifiFinder / HifiSearch artboards */
.cc-f-wrap { max-width: 1360px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 40px); }
.cc-f-head { padding-block: 36px 32px; }
.cc-f-title { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; text-transform: uppercase; font-weight: 500; color: var(--wp--preset--color--yale-blue); margin: 8px 0 16px; }
.cc-finder .cc-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--wp--preset--color--text-muted); margin-bottom: 32px; }
.cc-finder .cc-breadcrumbs a { color: var(--wp--preset--color--yale-blue); }
.cc-finder .cc-eyebrow { color: var(--wp--preset--color--text-muted); }
.cc-f-search { display: flex; gap: 8px; max-width: 720px; margin-top: 24px; }
.cc-f-search input[type=search] { flex: 1; min-height: 56px; padding: 0 22px; border: 1.5px solid var(--wp--preset--color--grey); border-radius: 999px; font: inherit; font-size: 17px; }
.cc-f-search button { min-height: 56px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--wp--preset--color--yale-blue); color: #fff; font: inherit; font-weight: 500; cursor: pointer; }
.cc-f-search button:hover { background: var(--wp--preset--color--navy-deep); }
.cc-f-steps { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.cc-f-steps li { display: flex; align-items: center; gap: 10px; color: var(--wp--preset--color--text-muted); font-weight: 500; }
.cc-f-steps__n { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--wp--preset--color--sky-tint); color: var(--wp--preset--color--yale-blue); font-size: 15px; }
.cc-f-steps .is-current { color: var(--wp--preset--color--yale-blue); }
.cc-f-steps .is-current .cc-f-steps__n, .cc-f-steps .is-done .cc-f-steps__n { background: var(--wp--preset--color--yale-blue); color: #fff; }
.cc-f-step { margin-bottom: 32px; }
.cc-f-q { font-size: var(--wp--preset--font-size--large); font-weight: 500; color: var(--wp--preset--color--black); text-transform: none; margin: 0 0 16px; }
.cc-f-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cc-f-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px; background: var(--wp--preset--color--sky-tint); color: var(--wp--preset--color--yale-blue); text-decoration: none; font-weight: 500; font-size: 16px; }
.cc-f-chips a:hover { background: #d3f1fb; }
.cc-f-chips a.is-on { background: var(--wp--preset--color--yale-blue); color: #fff; }
.cc-f-n { font-size: 13px; font-weight: 500; color: var(--wp--preset--color--text-muted); }
.cc-f-chips a.is-on .cc-f-n { color: rgba(255,255,255,.8); }
.cc-f-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 64px; }
.cc-f-refine { position: sticky; top: calc(var(--cc-header-h) + 24px); }
.cc-f-refine__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.cc-f-refine__head h2 { font-size: var(--wp--preset--font-size--large); text-transform: none; color: var(--wp--preset--color--black); margin: 0; }
.cc-f-refine__head a { font-size: 15px; }
.cc-f-group { border-top: 1px solid var(--wp--preset--color--hairline); padding: 14px 0; }
.cc-f-group summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 32px; }
.cc-f-group summary::-webkit-details-marker { display: none; }
.cc-f-group summary::after { content: "+"; color: var(--wp--preset--color--yale-blue); font-size: 22px; }
.cc-f-group[open] summary::after { content: "–"; }
.cc-f-group ul { list-style: none; margin: 8px 0 0; padding: 0; }
.cc-f-group .cc-f-extra { display: none; }
.cc-f-group.is-all .cc-f-extra { display: block; }
.cc-f-check { display: flex; align-items: center; gap: 10px; min-height: 40px; color: var(--wp--preset--color--black); text-decoration: none; font-size: 16px; }
.cc-f-check:hover .cc-f-label { color: var(--wp--preset--color--yale-blue); text-decoration: underline; }
.cc-f-box { width: 20px; height: 20px; flex-shrink: 0; border: 1.5px solid var(--wp--preset--color--grey); border-radius: 4px; background: #fff; }
.cc-f-check.is-on .cc-f-box { background: var(--wp--preset--color--yale-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5 5.5 10.5 11.5 3.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--wp--preset--color--yale-blue); }
.cc-f-label { flex: 1; }
.cc-f-showall { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--wp--preset--color--yale-blue); text-decoration: underline; font: inherit; font-size: 15px; cursor: pointer; }
.cc-f-results__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 16px; }
.cc-f-count { margin: 0; font-size: var(--wp--preset--font-size--lead); }
.cc-f-active { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cc-f-active a { display: inline-flex; gap: 8px; align-items: center; min-height: 36px; padding: 4px 14px; border-radius: 999px; background: var(--wp--preset--color--yale-blue); color: #fff; text-decoration: none; font-size: 15px; }
.cc-pcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cc-pcard { display: flex; justify-content: space-between; gap: 24px; padding: 24px 28px; border-radius: 16px; background: var(--wp--preset--color--sky-tint); }
.cc-pcard__title { margin: 0; font-size: var(--wp--preset--font-size--large); font-weight: 500; text-transform: none; }
.cc-pcard__title a { color: var(--wp--preset--color--yale-blue); text-decoration: none; }
.cc-pcard__title a:hover { text-decoration: underline; }
.cc-pcard__meta { margin: 4px 0 0; font-size: 15px; color: var(--wp--preset--color--text-muted); }
.cc-pcard__desc { margin: 10px 0 0; font-size: 16px; line-height: 1.55; max-width: 72ch; }
.cc-pcard__chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cc-pcard__chips li { padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--wp--preset--color--yale-blue); font-size: 14px; font-weight: 500; }
.cc-pcard__actions { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 10px; flex-shrink: 0; }
.cc-pcard__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--wp--preset--color--yale-blue); color: var(--wp--preset--color--yale-blue); background: #fff; text-decoration: none; font-weight: 500; white-space: nowrap; }
.cc-pcard__cta:hover { background: var(--wp--preset--color--yale-blue); color: #fff; }
.cc-pcard__tds { font-weight: 500; }
.cc-f-more { margin: 24px 0 0; text-align: center; }
.cc-f-more .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 10px; }
.cc-f-empty { padding: 32px; border-radius: 16px; background: var(--wp--preset--color--sky-tint); }
.cc-f-help { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 32px 36px; border-radius: 16px; background: var(--wp--preset--color--yale-blue); color: #fff; }
.cc-f-help h2 { margin: 0 0 6px; font-size: var(--wp--preset--font-size--large); text-transform: none; color: #fff; }
.cc-f-help p { margin: 0; color: rgba(255,255,255,.9); }
.cc-btn--light { background: #fff; color: var(--wp--preset--color--yale-blue); border-color: #fff; }
.cc-btn--light:hover { background: var(--wp--preset--color--sky-tint); }
.cc-finder .cc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 500; text-decoration: none; border: 2px solid var(--wp--preset--color--yale-blue); }
.cc-finder .cc-btn--outline { color: var(--wp--preset--color--yale-blue); background: #fff; }
.cc-finder .cc-btn--light { border-color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.cc-f-filterbtn, .cc-f-close, .cc-f-apply { display: none; }
body.cc-noscroll { overflow: hidden; }
@media (max-width: 1023px) {
	.cc-f-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	/* Filters live in a full-screen panel behind the "Filters" button */
	.cc-f-refine { display: none; }
	.cc-f-refine.is-open { display: block; position: fixed; inset: 0; z-index: 1000; overflow-y: auto; background: #fff; padding: 0 20px calc(96px + env(safe-area-inset-bottom, 0px)); }
	.admin-bar .cc-f-refine.is-open { top: var(--wp-admin--admin-bar--height, 46px); }
	.cc-f-refine.is-open .cc-f-refine__head { position: sticky; top: 0; z-index: 1; background: #fff; padding: calc(16px + env(safe-area-inset-top, 0px)) 0 12px; border-bottom: 1px solid var(--wp--preset--color--hairline); margin-bottom: 0; align-items: center; gap: 16px; }
	.cc-f-refine__head h2 { flex: 1; }
	.cc-f-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--wp--preset--color--sky-tint); color: var(--wp--preset--color--yale-blue); font-size: 26px; line-height: 1; cursor: pointer; }
	.cc-f-apply { display: block; position: fixed; left: 20px; right: 20px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); min-height: 56px; border: 0; border-radius: 999px; background: var(--wp--preset--color--yale-blue); color: #fff; font: inherit; font-size: 17px; font-weight: 500; cursor: pointer; }
	.cc-f-filterbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; margin-left: auto; border: 2px solid var(--wp--preset--color--yale-blue); border-radius: 999px; background: #fff; color: var(--wp--preset--color--yale-blue); font: inherit; font-weight: 500; cursor: pointer; }
	.cc-f-results__head { gap: 12px; }
	.cc-f-active { order: 3; width: 100%; }
	/* Chip rows scroll horizontally instead of wrapping over several lines */
	.cc-f-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: calc(-1 * clamp(20px, 4vw, 40px)); padding-inline: clamp(20px, 4vw, 40px); scrollbar-width: thin; }
	.cc-f-chips li { flex-shrink: 0; }
	.cc-f-step { margin-bottom: 20px; }
	.cc-f-q { font-size: 18px; margin-bottom: 10px; }
	.cc-f-steps { gap: 6px 16px; margin-bottom: 20px; font-size: 14px; }
	.cc-f-steps__n { width: 26px; height: 26px; font-size: 13px; }
	.cc-f-head { padding-block: 24px 20px; }
	.cc-finder .cc-breadcrumbs { margin-bottom: 20px; }
}
@media (max-width: 600px) {
	.cc-pcard { flex-direction: column; padding: 20px; }
	.cc-pcard__actions { flex-direction: row; align-items: center; justify-content: space-between; }
	.cc-f-search { flex-direction: column; }
}
