/* REM Scent Search — product page and cart lines. Colors match kdjinspired.com */

.rem-aop {
	font-family: "Red Hat Display", Nunito, sans-serif;
	color: #2d2d2d;
	margin: 0 0 18px;
	max-width: 100%;
}

.rem-aop__field {
	margin: 0 0 14px;
}

.rem-aop__label {
	display: block;
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: #2d2d2d;
}

.rem-aop__search {
	position: relative;
}

.rem-aop .rem-aop__input {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid #eadff0;
	border-radius: 8px;
	background: #fff;
	color: #2d2d2d;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	box-shadow: none;
	appearance: none;
}

.rem-aop .rem-aop__input:focus {
	outline: none;
	border-color: #db719d;
	box-shadow: 0 0 0 3px rgba(219, 113, 157, 0.18);
}

.rem-aop__field.is-missing .rem-aop__input,
.rem-aop__field.is-missing .rem-aop__chosen {
	border-color: #db719d;
}

.rem-aop__field.is-chosen .rem-aop__search {
	display: none;
}

.rem-aop__results {
	position: absolute;
	z-index: 40;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid #eadff0;
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(45, 45, 45, 0.1);
	max-height: 280px;
	overflow: auto;
}

.rem-aop__empty {
	margin: 0;
	padding: 10px 12px;
	color: #54595f;
	font-size: 14px;
}

.rem-aop button.rem-aop__result {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 8px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	color: #2d2d2d;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
	min-height: 56px;
}

.rem-aop button.rem-aop__result:hover,
.rem-aop button.rem-aop__result.is-active {
	background: #fcf6ff;
	color: #2d2d2d;
}

.rem-aop__thumb,
.rem-aop__chosen-image {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	object-fit: cover;
	border-radius: 6px;
	background: #f9f2f9;
}

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

.rem-aop__name {
	display: block;
	color: #2d2d2d;
}

.rem-aop__cat {
	display: block;
	margin-top: 2px;
	color: #54595f;
	font-size: 12px;
	font-weight: 500;
}

.rem-aop__chosen {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border: 1px solid #db719d;
	border-radius: 8px;
	background: #fcf6ff;
}

.rem-aop__chosen[hidden],
.rem-aop__results[hidden],
.rem-aop__status[hidden],
.rem-aop__notice[hidden] {
	display: none !important;
}

.rem-aop__chosen-name {
	flex: 1 1 auto;
	min-width: 0;
	color: #2d2d2d;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.rem-aop button.rem-aop__clear {
	margin: 0 0 0 auto;
	padding: 6px 10px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	color: #db719d;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

.rem-aop button.rem-aop__clear:hover {
	background: #fff;
	color: #c45a8a;
}

.rem-aop__status,
.rem-aop__notice {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: #54595f;
}

.rem-aop__status.is-error,
.rem-aop__notice {
	color: #9b2c4a;
}

.rem-aop-lines {
	display: block;
	margin-top: 6px;
}

.rem-aop-line,
a .rem-aop-line {
	display: block;
	margin: 2px 0 0;
	color: #54595f;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
	text-decoration: none;
}
