/* Category chooser opened from the homepage and the shop. */
body.lyg-finder-open {
	overflow: hidden;
}

.lyg-finder[hidden] {
	display: none !important;
}

.lyg-finder {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.lyg-finder-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 30, 50, 0.55);
}

.lyg-finder-dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(560px, 100%);
	max-height: min(680px, calc(100vh - 32px));
	margin: 0;
	padding: 26px 22px 18px;
	background: #fff;
	color: var(--navy, #031e32);
	border-radius: 18px;
	box-shadow: 0 24px 70px rgba(3, 30, 50, 0.28);
	box-sizing: border-box;
	overflow: hidden;
}

.lyg-finder-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	border: 1px solid #dce9ef;
	border-radius: 11px;
	background: #fff;
	color: var(--navy, #031e32);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.lyg-finder-close:hover {
	background: #eaf6f8;
}

.lyg-finder-kicker {
	margin: 0 36px 8px 0;
	color: var(--teal-deep, #05798b);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.lyg-finder-picked {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 36px 12px 0;
}

.lyg-finder-picked[hidden] {
	display: none !important;
}

.lyg-finder-picked-item {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	min-height: 34px;
	padding: 0 4px 0 12px;
	border-radius: 999px;
	background: #eaf6f8;
	color: var(--navy, #031e32);
	font-size: 14px;
	font-weight: 800;
}

.lyg-finder-picked-remove {
	width: 26px;
	height: 26px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--navy, #031e32);
	font-family: inherit;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.lyg-finder-picked-remove:hover {
	background: #fff;
}

.lyg-finder-dialog h2:focus {
	outline: none;
}

.lyg-finder-dialog h2 {
	margin: 0 36px 8px 0;
	color: var(--navy, #031e32);
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.15;
}

.lyg-finder-hint {
	margin: 0 0 16px;
	color: var(--muted, #55707e);
	font-size: 15px;
	line-height: 1.5;
}

.lyg-finder-height {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 16px;
}

.lyg-finder-height[hidden] {
	display: none !important;
}

.lyg-finder-height label {
	font-size: 14px;
	font-weight: 800;
}

.lyg-finder-height-field {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 12px;
	border: 1px solid #dce9ef;
	border-radius: 12px;
	background: #fff;
}

.lyg-finder-height-field input {
	width: 3.2em;
	border: 0;
	margin: 0;
	padding: 0;
	background: transparent;
	color: var(--navy, #031e32);
	font: inherit;
	font-size: 18px;
	font-weight: 800;
}

.lyg-finder-height-field input:focus {
	outline: none;
}

.lyg-finder-height-field:focus-within {
	border-color: var(--teal, #0098ab);
}

.lyg-finder-height-unit {
	color: var(--muted, #55707e);
	font-size: 14px;
	font-weight: 800;
}

.lyg-finder-height-confirm {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: none;
	border: 2px solid #d5e2e8;
	border-radius: 50%;
	background: #fff;
	color: #b7c9d2;
	cursor: pointer;
}

.lyg-finder-height-confirm:disabled {
	cursor: default;
}

.lyg-finder-height-confirm.is-ready {
	border-color: #1f9d55;
	color: #1f9d55;
}

.lyg-finder-height-confirm.is-confirmed {
	border-color: #1f9d55;
	background: #1f9d55;
	color: #fff;
}

.lyg-finder-options {
	overflow: auto;
	min-height: 0;
	padding: 2px;
	margin: 0 -2px;
}

.lyg-finder-options.is-chips {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
	gap: 8px;
}

.lyg-finder-chip-tick,
.lyg-finder-chip-remove {
	display: none;
}

.lyg-finder-choice[aria-pressed="true"] .lyg-finder-chip-tick {
	display: block;
	position: absolute;
	top: 4px;
	left: 4px;
	width: 12px;
	height: 12px;
	border-radius: 3px;
	background: #fff;
}

.lyg-finder-choice[aria-pressed="true"] .lyg-finder-chip-tick::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 3px;
	height: 6px;
	border: solid #031e32;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.lyg-finder-chip-remove {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}

.lyg-finder-choice[aria-pressed="true"]:hover .lyg-finder-chip-remove,
.lyg-finder-choice[aria-pressed="true"]:focus-visible .lyg-finder-chip-remove {
	display: block;
}

.lyg-finder-options.is-boxes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.lyg-finder-choice {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 8px 10px;
	border: 1px solid #dce9ef;
	border-radius: 12px;
	background: #fff;
	color: var(--navy, #031e32);
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: -0.02em;
	cursor: pointer;
}

.lyg-finder-options.is-boxes .lyg-finder-choice {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 12px 14px;
	font-size: 16px;
	text-align: left;
}

.lyg-finder-options.is-boxes .lyg-finder-choice.has-badge {
	align-items: flex-end;
	min-height: 74px;
	padding-top: 30px;
}

.lyg-finder-badge {
	position: absolute;
	top: 8px;
	left: 14px;
	color: var(--teal-deep, #05798b);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
}

.lyg-finder-choice {
	position: relative;
}

.lyg-finder-tick {
	position: relative;
	box-sizing: border-box;
	width: 20px;
	height: 20px;
	flex: none;
	border: 2px solid #b7c9d2;
	border-radius: 5px;
	background: #fff;
}

.lyg-finder-choice[aria-pressed="true"] .lyg-finder-tick {
	border-color: #fff;
	background: #fff;
}

.lyg-finder-choice[aria-pressed="true"] .lyg-finder-tick::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 9px;
	border: solid #031e32;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.lyg-finder-choice[aria-pressed="true"] .lyg-finder-badge {
	color: #9adbe4;
}

.lyg-finder-choice:hover {
	border-color: var(--teal, #0098ab);
	background: #f3fbfc;
}

.lyg-finder-choice[aria-pressed="true"] {
	background: var(--navy, #031e32);
	border-color: var(--navy, #031e32);
	color: #fff;
}

.lyg-finder-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
}

.lyg-finder-back {
	margin-right: auto;
	min-height: 44px;
	padding: 0 8px;
	border: 0;
	background: transparent;
	color: var(--teal-deep, #05798b);
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}

.lyg-finder-back:hover {
	color: var(--navy, #031e32);
}

.lyg-finder-any,
.lyg-finder-next {
	min-height: 48px;
	padding: 0 16px;
	border-radius: 11px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}

.lyg-finder-any {
	border: 1px solid #c5d7df;
	background: #fff;
	color: var(--navy, #031e32);
	line-height: 1.25;
	text-align: center;
	white-space: normal;
}

.lyg-finder-any:hover {
	border-color: var(--navy, #031e32);
}

.lyg-finder-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid var(--teal-deep, #05798b);
	background: var(--teal-deep, #05798b);
	color: #fff;
}

.lyg-finder-next svg {
	flex: none;
}

.lyg-finder-next:hover:not(:disabled) {
	background: var(--navy, #031e32);
	border-color: var(--navy, #031e32);
}

.lyg-finder-next:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.lyg-finder-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 22px;
	padding: 14px 18px;
	background: #eaf6f8;
	border-radius: 14px;
	color: var(--navy, #031e32);
}

.lyg-finder-summary p {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
}

.lyg-finder-summary-label {
	font-weight: 800;
	color: var(--teal-deep, #05798b);
}

.lyg-finder-summary-group {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.lyg-finder-summary-chips {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
}

body .lyg-finder-summary a.lyg-finder-summary-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 0 8px 0 10px;
	border-radius: 999px;
	background: #fff;
	color: #031e32;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

body .lyg-finder-summary a.lyg-finder-summary-chip:hover,
body .lyg-finder-summary a.lyg-finder-summary-chip:focus {
	background: #031e32;
	color: #fff;
}

body .lyg-finder-summary a.lyg-finder-clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 11px;
	background: #fff;
	color: #031e32;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

body .lyg-finder-summary a.lyg-finder-clear:hover {
	background: #031e32;
	color: #fff;
}

@media (max-width: 560px) {
	.lyg-finder {
		padding: 10px;
		align-items: flex-end;
	}

	.lyg-finder-dialog {
		width: 100%;
		max-height: calc(100vh - 20px);
		padding: 22px 16px 14px;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}

	.lyg-finder-options.is-boxes {
		grid-template-columns: 1fr;
	}

	.lyg-finder-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.lyg-finder-back {
		order: 3;
		justify-self: start;
		margin-right: 0;
	}

	.lyg-finder-any,
	.lyg-finder-next {
		width: 100%;
	}

	.lyg-finder-summary {
		flex-direction: column;
		align-items: stretch;
	}

	body .lyg-finder-summary a.lyg-finder-clear {
		width: 100%;
	}
}
