/* Camu Search — header search form and suggestion list. Class names follow the markup the theme
   (style.css, responsive.css mobile modal) already styles. */

.dgwt-wcas-search-wrapp { position: relative; display: block; box-sizing: border-box; width: 100%; min-width: 230px; max-width: 600px; margin: 0 auto; line-height: 100%; color: #444; text-align: left; }
.dgwt-wcas-search-wrapp *,
.dgwt-wcas-suggestions-wrapp * { box-sizing: border-box; }
.dgwt-wcas-search-form { width: 100%; margin: 0; padding: 0; }
.dgwt-wcas-sf-wrapp { position: relative; width: 100%; max-width: 100vw; margin: 0; background: none; }
.dgwt-wcas-sf-wrapp::before,
.dgwt-wcas-sf-wrapp::after { content: ""; display: table; }
.dgwt-wcas-sf-wrapp::after { clear: both; }

input[type="search"].dgwt-wcas-search-input { margin: 0; box-shadow: none; transition: none; text-align: left; -webkit-appearance: textfield; }
[type="search"].dgwt-wcas-search-input::-webkit-search-decoration { -webkit-appearance: none; }
[type="search"].dgwt-wcas-search-input::-webkit-search-cancel-button { display: none; }
.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	box-sizing: border-box;
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 3px;
	background: #fff;
	font-size: 14px;
	line-height: 100%;
	-webkit-appearance: none;
}
.dgwt-wcas-open .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input { border-radius: 3px 3px 0 0; }
.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus { outline: 0; background: #fff; box-shadow: 0 0 9px 1px rgba(0, 0, 0, .06); transition: all 150ms ease-in; }
.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder { color: #999; font-weight: normal; font-style: italic; line-height: normal; }

.dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
	position: absolute;
	top: 0;
	right: 0;
	bottom: auto;
	left: auto;
	overflow: visible;
	width: auto;
	min-width: 50px;
	height: 40px;
	min-height: 100%;
	margin: 0;
	padding: 0 15px;
	border: 0;
	border-radius: 0 2px 2px 0;
	background-color: #333;
	box-shadow: none;
	color: #fff;
	line-height: 100%;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
	text-transform: uppercase;
	cursor: pointer;
	transition: all 250ms ease-in-out;
	-webkit-appearance: none;
}
.dgwt-wcas-open .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit { border-radius: 0 2px 0 0; }
.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:hover,
.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:active,
.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:focus { opacity: .7; outline: 0; }
/* Small arrow pointing from the button into the field. */
.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit::before {
	content: '';
	position: absolute;
	top: 12px;
	left: -6px;
	border-width: 8px 8px 8px 0;
	border-style: solid solid solid none;
	border-color: rgba(255, 255, 255, 0) #333 rgba(255, 255, 255, 0);
	transition: all 250ms ease-in-out;
}

/* The slot left of the button: a spinner while suggestions load, a clear button (×) while the field has text. */
.dgwt-wcas-preloader { position: absolute; top: 0; right: 0; z-index: -1; width: 40px; height: 100%; }
.dgwt-wcas-voice-search { display: none; }
.dgwt-wcas-inner-preloader { z-index: 1; display: flex; align-items: center; justify-content: center; }
.dgwt-wcas-close:not(.dgwt-wcas-inner-preloader) { z-index: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 160ms ease-in-out; }
.dgwt-wcas-close:not(.dgwt-wcas-inner-preloader)::before { content: ''; position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: auto; background: none; }
.dgwt-wcas-close path { fill: #ccc; }
.dgwt-wcas-close:hover { opacity: .3; }
.dgwt-wcas-loader-circular { width: 24px; height: 24px; animation: 2s linear infinite camu-search-rotate; }
.dgwt-wcas-loader-circular-path { fill: transparent; stroke: #ddd; stroke-linecap: round; stroke-width: 4px; stroke-dasharray: 1, 200; stroke-dashoffset: 0; transform-origin: 50% 50%; animation: 1s ease-in-out infinite camu-search-dash; }
@keyframes camu-search-rotate { 100% { transform: rotate(360deg); } }
@keyframes camu-search-dash {
	0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; }
	50% { stroke-dasharray: 89, 200; stroke-dashoffset: -35px; }
	100% { stroke-dasharray: 89, 200; stroke-dashoffset: -124px; }
}

/* Suggestion list (appended to <body>, positioned under the field by the script). */
.dgwt-wcas-suggestions-wrapp { box-sizing: border-box; margin: 0; padding: 0; overflow-y: auto; border: 1px solid #ddd; border-top: none; background: #fff; }
.dgwt-wcas-suggestions-wrapp-fixed { position: fixed !important; }
.dgwt-wcas-suggestions-wrapp a:focus { outline: none; }
.dgwt-wcas-suggestion {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 7px 10px;
	border-bottom: 1px solid #dfdfdf;
	font-size: 12px;
	line-height: 110%;
	text-align: left;
	cursor: pointer;
}
.dgwt-wcas-suggestion::after { content: ''; display: block; clear: both; }
.dgwt-wcas-suggestion strong { font-weight: bold; }
.dgwt-wcas-suggestion-selected { background-color: #eadf10; }
.dgwt-wcas-has-headings .dgwt-wcas-suggestion { border-bottom: none; }
.dgwt-wcas-has-headings .dgwt-wcas-suggestion-headline { display: block; font-weight: 500; white-space: nowrap; pointer-events: none; }
.dgwt-wcas-has-headings .dgwt-wcas-suggestion-headline .dgwt-wcas-st { margin-top: 16px; padding-bottom: 3px; border-bottom: 1px solid #ddd; font-size: 12px; text-transform: uppercase; }
.dgwt-wcas-has-headings .dgwt-wcas-suggestion-tax .dgwt-wcas-st { padding: 0; }
.dgwt-wcas-has-headings .dgwt-wcas-suggestion.dgwt-wcas-suggestion-tax:hover,
.dgwt-wcas-has-headings .dgwt-wcas-suggestion.dgwt-wcas-suggestion-tax.dgwt-wcas-suggestion-selected { background: transparent; text-decoration: underline; }

.dgwt-wcas-st { display: block; width: 100%; color: #444; font-size: 15px; line-height: 110%; }
.dgwt-wcas-st > span { display: inline-block; vertical-align: middle; }
.dgwt-wcas-st-breadcrumbs { width: 100%; padding-right: 10px; overflow: hidden; font-size: 80%; text-align: left; text-overflow: ellipsis; white-space: nowrap; opacity: .6; }

.dgwt-wcas-has-img .dgwt-wcas-suggestion.dgwt-wcas-suggestion-product { min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
.dgwt-wcas-si { display: block; width: 50px; height: 100%; }
.dgwt-wcas-si img { display: block; width: auto; max-width: 100%; height: auto; max-height: 90%; margin: auto; padding: 2px; border: 1px solid #e8e8e8; border-radius: 3px; background: #fff; }
.dgwt-wcas-content-wrapp { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; padding-left: 10px; }
.dgwt-wcas-sp { padding-left: 10px; color: #555; font-size: 14px; line-height: 120%; text-align: right; }
.dgwt-wcas-sp * { line-height: 130%; }
.dgwt-wcas-has-img .dgwt-wcas-sp > * { display: block; }
.dgwt-wcas-sp del { font-size: 12px; opacity: .5; }

.dgwt-wcas-suggestion.dgwt-wcas-suggestion-more { justify-content: center; min-height: 30px; color: #6d6d6d; text-transform: uppercase; }
.dgwt-wcas-suggestion.dgwt-wcas-suggestion-more .dgwt-wcas-st-more { padding: 0 10px; text-align: center; }
.dgwt-wcas-suggestion-nores { width: 100%; padding: 15px; font-size: 15px; line-height: 157%; }
