body.wcodps-open {
	overflow: hidden;
}

.wcodps-overlay[hidden] {
	display: none;
}

.wcodps-overlay {
	position: fixed;
	top: var(--wcodps-top, 80px);
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 999999;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	padding: 0;
	background: rgba(20, 20, 20, 0.16);
	font-family: gothambook, Helvetica, Arial, sans-serif;
	opacity: 0;
	pointer-events: none;
	transition: opacity 180ms ease;
	overflow-y: auto;
}

.wcodps-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

.wcodps-panel {
	width: min(560px, 100%);
	max-height: 100%;
	padding: 28px 30px 34px;
	background: #fff;
	box-shadow: -12px 18px 40px rgba(0, 0, 0, 0.13);
	color: #171717;
	overflow-y: auto;
	transform: translateY(-8px);
	transition: transform 180ms ease;
}

.wcodps-overlay.is-open .wcodps-panel {
	transform: translateY(0);
}

.wcodps-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 28px;
}

.wcodps-heading p {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.wcodps-close {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: 300 34px/1 gothambook, Helvetica, Arial, sans-serif;
	cursor: pointer;
}

.wcodps-form {
	display: flex;
	align-items: center;
	border-bottom: 1px solid currentColor;
}

#wcodps-query {
	flex: 1;
	min-width: 0;
	padding: 8px 0 18px;
	border: 0;
	border-radius: 0;
	outline: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-family: gothambook, Helvetica, Arial, sans-serif;
	font-size: 24px;
	font-weight: 300;
	line-height: 1.15;
}

#wcodps-query::placeholder {
	color: #8b8b8b;
	opacity: 1;
}

.wcodps-submit {
	flex: 0 0 auto;
	padding: 5px 0 12px 24px;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 34px;
	font-weight: 300;
	cursor: pointer;
}

.wcodps-status {
	margin: 24px 0 0;
	color: #777;
	font-size: 13px;
}

.wcodps-results {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	margin-top: 30px;
	background: #dedede;
	border: 1px solid #dedede;
}

.wcodps-results:empty {
	display: none;
}

.wcodps-result {
	display: flex;
	min-width: 0;
	gap: 20px;
	padding: 16px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: background 150ms ease;
}

.wcodps-result:hover,
.wcodps-result:focus-visible {
	background: #f5f3ef;
}

.wcodps-result img {
	width: 76px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: #f1f1f1;
}

.wcodps-result-copy {
	display: flex;
	flex: 1;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
}

.wcodps-result-category {
	margin-bottom: 7px;
	color: #777;
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.wcodps-result strong {
	font-size: 15px;
	font-weight: 500;
}

.wcodps-result-price {
	margin-top: 8px;
	font-size: 13px;
}

.wcodps-result-price del {
	color: #888;
}

.wcodps-all {
	display: table;
	margin: 28px auto 0;
	padding: 12px 20px;
	border: 1px solid currentColor;
	color: inherit;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.wcodps-all[hidden] {
	display: none;
}

@media (max-width: 700px) {
	.wcodps-heading {
		margin-bottom: 24px;
	}

	.wcodps-panel {
		width: 100%;
		padding: 24px 18px 30px;
	}

	#wcodps-query {
		font-size: 21px;
	}

	.wcodps-result {
		gap: 15px;
		padding: 12px;
	}

	.wcodps-results {
		margin-top: 22px;
	}
}
