/*
 * Advanced Woo Search styled like the old LupaSearch box and dropdown on pinkpharma.lt.
 * Values copied from the live Lupa styles: #f8f8f8 field, 42px high, Poppins, pink prices.
 */

/* Header search box */

.whb-header .aws-container {
	width: 100%;
	min-width: 700px;
}

.whb-header .aws-container .aws-search-form {
	height: 42px;
}

.whb-header .aws-container .aws-search-field {
	height: 42px;
	padding: 0 15px;
	border: 0;
	border-bottom: 1px solid #e2e2e2;
	background-color: #f8f8f8;
	box-shadow: none;
	color: #777;
	font-family: var(--wd-text-font);
	font-size: 14px;
	line-height: 42px;
}

.whb-header .aws-container .aws-search-field:focus {
	background-color: #f8f8f8;
}

.whb-header .aws-container .aws-search-field::placeholder,
.whb-header .aws-container .aws-search-field:focus::placeholder {
	color: #777;
	opacity: 1;
}

.whb-header .aws-container .aws-search-form .aws-form-btn,
.whb-header .aws-container .aws-search-form .aws-form-btn:hover,
.whb-header .aws-container .aws-search-form .aws-form-btn:active {
	margin: 0;
	border: 0;
	border-bottom: 1px solid #e2e2e2;
	background: #f8f8f8;
}

.whb-header .aws-container .aws-search-form .aws-search-btn {
	width: 56px;
}

.whb-header .aws-container .aws-search-form .aws-search-btn_icon {
	width: 24px;
	height: 24px;
	margin: 0 auto;
	color: #777;
}

.whb-header .aws-container .aws-search-form .aws-search-clear {
	color: #777;
}

@media (max-width: 1024px) {
	.whb-header .aws-container {
		min-width: 0;
	}
}

/* Dropdown */

.aws-search-result.pp-aws-result {
	margin-top: 0;
	border: 0;
	background: #fff;
	box-shadow: 0 1px 1px 0 rgba(22, 22, 22, .14), 0 2px 1px 0 rgba(22, 22, 22, .12), 0 1px 3px 0 rgba(22, 22, 22, .2);
	color: #777;
	font-family: var(--wd-text-font);
	font-size: 15px;
	line-height: 24px;
}

.pp-aws-result .aws_result_scroll {
	max-height: 70vh;
}

.pp-aws-result .pp-aws {
	display: grid;
	grid-template-columns: 35% 65%;
}

.pp-aws-result .pp-aws__col--cats {
	border-right: 1px solid rgba(0, 0, 0, .1);
}

.pp-aws-result .pp-aws--single .pp-aws__col--cats {
	border-right: 0;
}

.pp-aws-result .pp-aws--single {
	grid-template-columns: 100%;
}

.pp-aws-result .pp-aws__title {
	padding: 12px 20px;
	color: #777;
	font-size: 17px;
	font-weight: 700;
	line-height: 27px;
}

.pp-aws-result .pp-aws__close {
	position: absolute;
	top: -4px;
	right: -4px;
	z-index: 3;
	padding: 10px 24px;
	color: var(--wd-primary-color, #c70c7f);
	font-size: 22px;
	line-height: 35px;
	cursor: pointer;
}

.pp-aws-result .aws_results .aws_result_item {
	padding: 4px 20px;
	border-bottom: 0;
	background: #fff;
}

.pp-aws-result .aws_result_item:hover,
.pp-aws-result .aws_result_item.hovered {
	background: #fff;
}

/* Categories column */

.pp-aws-result .pp-aws__cat {
	color: #2e2e2e;
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
}

.pp-aws-result .pp-aws__cat strong {
	font-weight: 700;
}

.pp-aws-result .pp-aws__cat:hover,
.pp-aws-result .pp-aws__cat.hovered,
.pp-aws-result .pp-aws__cat:hover strong,
.pp-aws-result .pp-aws__cat.hovered strong {
	color: var(--wd-primary-color, #c70c7f);
}

/* Products column */

.pp-aws-result .aws_results .pp-aws__product {
	display: flex;
	align-items: center;
	padding: 10px;
}

.pp-aws-result .pp-aws__product .aws_result_image {
	float: none;
	flex: 0 0 85px;
	width: 85px;
	height: 70px;
	padding: 0;
}

.pp-aws-result .pp-aws__product .aws_result_image img {
	display: block;
	width: 70px;
	height: 70px;
	object-fit: contain;
}

.pp-aws-result .pp-aws__product .aws_result_content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.pp-aws-result .pp-aws__product .aws_result_title {
	padding: 0;
	color: #2e2e2e;
	font-size: 16px;
	font-weight: 600;
	line-height: 15px;
}

.pp-aws-result .pp-aws__product .aws_result_title strong {
	font-weight: inherit;
}

.pp-aws-result .pp-aws__product:hover .aws_result_title,
.pp-aws-result .pp-aws__product.hovered .aws_result_title {
	color: var(--wd-primary-color, #c70c7f);
}

.pp-aws-result .pp-aws__product .aws_result_price {
	margin-top: 4px;
	color: var(--wd-primary-color, #c70c7f);
	font-size: 16px;
	font-weight: 600;
	line-height: 15px;
	text-align: left;
}

.pp-aws-result .pp-aws__product .aws_result_price del,
.pp-aws-result .pp-aws__product .aws_result_price ins {
	padding: 0 6px 0 0;
	color: inherit;
	text-decoration: none;
}

.pp-aws-result .pp-aws__product .aws_result_price del {
	color: #6b7280;
	font-size: 14px;
	text-decoration: line-through !important;
}

/* Footer and empty state */

.pp-aws-result .aws_search_more {
	padding: 5px 10px;
	border-top: 1px solid rgba(0, 0, 0, .1);
	background: #fff;
	color: #2e2e2e;
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
	text-align: center;
}

.pp-aws-result .aws_search_more:hover,
.pp-aws-result .aws_search_more.hovered {
	color: var(--wd-primary-color, #c70c7f);
}

.pp-aws-result .aws_results .aws_no_result {
	padding: 12px 20px;
	color: #2e2e2e;
	font-size: 16px;
	font-weight: 300;
}

@media (max-width: 767px) {
	.pp-aws-result .pp-aws {
		display: block;
	}

	.pp-aws-result .pp-aws__col--cats {
		border-right: 0;
	}

	.pp-aws-result .aws_result_scroll {
		max-height: 75vh;
	}
}
