/* Dusk Till Dawn — Product Search. Colors use the theme tokens when present. */
.dtdps {
	position: relative;
}

.dtdps__panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 100;
	width: max(100%, 340px);
	max-width: min(520px, 92vw);
	overflow: hidden;
	background: var(--dtd-card, #1c1c20);
	border: 1px solid var(--dtd-border, rgba(255, 255, 255, 0.12));
	border-radius: var(--dtd-radius-sm, 12px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.dtdps__panel[hidden] {
	display: none;
}

.dtdps__list {
	max-height: 70vh;
	margin: 0;
	padding: 6px;
	overflow-y: auto;
	list-style: none;
}

.dtdps__option {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	margin: 0;
	padding: 6px 10px;
	border-radius: 8px;
	color: var(--dtd-text, #f5f5f5);
	cursor: pointer;
}

.dtdps__option:hover,
.dtdps__option.is-active {
	background: var(--dtd-burgundy, #390c16);
}

.dtdps__option.is-active {
	outline: 2px solid #fff;
	outline-offset: -2px;
}

.dtdps__option img {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	object-fit: contain;
	background: #141417;
	border-radius: 8px;
}

.dtdps__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.dtdps__title {
	font-weight: 700;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.dtdps__price {
	color: var(--dtd-muted, #b9b9c1);
	font-size: 0.9375rem;
}

.dtdps__price del {
	margin-right: 4px;
}

.dtdps__price ins {
	color: var(--dtd-red-text, #f2395b);
	text-decoration: none;
}

.dtdps__all {
	justify-content: center;
	margin-top: 4px;
	border-top: 1px solid var(--dtd-border, rgba(255, 255, 255, 0.12));
	border-radius: 0 0 8px 8px;
	color: var(--dtd-red-text, #f2395b);
	font-weight: 700;
	text-align: center;
}
