#header .apc-finder-toggle {
	width: 44px;
	height: 44px;
	justify-content: center;
}

#header [data-device="mobile"] .apc-finder-toggle .ct-icon {
	width: 18px;
	height: 18px;
}

.apc-finder {
	box-sizing: border-box;
	width: min(42rem, calc(100vw - 24px));
	max-width: none;
	max-height: 86vh;
	max-height: 86dvh;
	margin: auto;
	padding: 0;
	overflow: auto;
	overscroll-behavior: contain;
	border: 1px solid #dce6ee;
	border-radius: 18px;
	background: #fff;
	color: #19364e;
	box-shadow: 0 24px 72px #0a1f3540;
}

.apc-finder::backdrop { background: #101f30aa; }
body:has(.apc-finder[open]) { overflow: hidden; }

.apc-finder-content { padding: clamp(16px, 4vw, 28px); }

.apc-finder-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.apc-finder h2,
.apc-finder h3 {
	margin: 0;
	color: #19364e;
}

.apc-finder h2 { font-size: clamp(1.125rem, 4vw, 1.4rem); }
.apc-finder h3 { font-size: .95rem; }

.apc-finder button {
	min-width: 44px;
	min-height: 44px;
	border: 0;
	border-radius: 10px;
	font: inherit;
	font-weight: 650;
	cursor: pointer;
}

.apc-finder .apc-finder-close {
	padding: 0;
	background: #eef4f8;
	color: #19364e;
	font-size: 1.35rem;
	line-height: 1;
}

.apc-finder-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
}

.apc-finder-form input[type="search"] {
	min-height: 46px;
	padding: 0 12px;
	border: 1px solid #9fb5c7;
	border-radius: 10px;
	background: white;
	color: #19364e;
	font-size: 16px;
}

.apc-finder-form button {
	padding: 0 12px;
	background: #234a68;
	color: white;
}

.apc-finder-size {
	margin-top: 16px;
	padding: 12px;
	border-radius: 12px;
	background: #f0f6fa;
}

.apc-finder-sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0;
}

.apc-finder-sizes button {
	padding: 0 11px;
	background: #e0ecf4;
	color: #234a68;
	font-size: .875rem;
}

.apc-finder-sizes button:is(:hover, [aria-pressed="true"]) {
	background: #234a68;
	color: #fff;
}

.apc-finder-size a {
	color: #234a68;
	font-size: .875rem;
	text-decoration: underline;
	text-underline-offset: .15em;
}

.apc-finder-status { margin: 12px 0 0; font-size: .85rem; }
.apc-finder-status:empty { display: none; }
.apc-finder-results section { margin-top: 12px; }

.apc-finder-results ul {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.apc-finder-results a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 6px 8px;
	border-bottom: 1px solid #e8eff4;
	color: #19364e;
	font-size: .9rem;
	line-height: 1.35;
}

.apc-finder-results a:hover { background: #f0f6fa; }
.apc-finder-results img { object-fit: contain; flex: 0 0 52px; }

.apc-finder :is(a, button, input):focus-visible {
	outline: 2px solid #2d648d;
	outline-offset: 2px;
}
