/* WC Photo Search */
.wc-ps {
	max-width: 720px;
	margin: 1.5em 0;
}
.wc-ps__dropzone {
	position: relative;
	border: 2px dashed #c3c4c7;
	border-radius: 8px;
	padding: 2rem 1rem;
	margin-bottom: 0.9rem;
	text-align: center;
	cursor: pointer;
	background: #fafafa;
	transition: border-color 0.15s, background 0.15s;
}
.wc-ps__dropzone:hover,
.wc-ps__dropzone:focus {
	border-color: #2271b1;
	background: #f0f6fc;
	outline: none;
}
.wc-ps__dropzone.wc-ps__dropzone--drag {
	border-color: #2271b1;
	background: #e7f0f8;
}
.wc-ps__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}
.wc-ps__hint {
	font-size: 0.95rem;
	color: #50575e;
	pointer-events: none;
}
.wc-ps__preview {
	margin-top: 1rem;
}
.wc-ps__preview img {
	max-height: 200px;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.wc-ps__submit {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0;
	margin-bottom: 0.4rem;
}
.wc-ps__status {
	min-height: 1.25em;
	font-size: 0.9rem;
	color: #50575e;
}
.wc-ps__results {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}
.wc-ps__card {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.15s;
}
.wc-ps__card:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.wc-ps__card a {
	text-decoration: none;
	color: inherit;
	display: block;
}
.wc-ps__card img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	display: block;
}
.wc-ps__card-body {
	padding: 0.5rem 0.65rem 0.65rem;
	font-size: 0.8rem;
	line-height: 1.35;
}
.wc-ps__card-title {
	font-weight: 600;
	margin: 0 0 0.25rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.wc-ps__card-price {
	color: #2271b1;
	font-size: 0.85rem;
	font-weight: 600;
}
