/* Gadget Chai inline header search (includes/header-search.php). Brown #2A1D17, orange #FF7A1A, grey #F5F5F5, muted #6F625B. */
.gc-search { position: relative; }
.gc-search .gc-search-toggle { display: none; }
.gc-search-form { position: relative; margin: 0; }
.gc-search .gc-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: flex; color: #6F625B; pointer-events: none; }
.gc-search .gc-search-input {
	width: 230px; height: 40px; margin: 0; padding: 0 16px 0 40px; border: 1.5px solid transparent; border-radius: 999px;
	background: #F5F5F5; color: #2A1D17; font-size: 14px; box-shadow: none; transition: border-color .15s, background .15s, width .2s;
}
.gc-search .gc-search-input::placeholder { color: #8A7F79; opacity: 1; }
.gc-search .gc-search-input:focus { outline: 0; background: #FFFFFF; border-color: #FF7A1A; }
.gc-search .gc-search-input::-webkit-search-cancel-button { cursor: pointer; }

/* Suggestions. */
.gc-search-results {
	position: absolute; top: calc(100% + 8px); right: 0; z-index: 1000; width: 340px; max-width: calc(100vw - 32px);
	padding: 6px; background: #FFFFFF; border: 1px solid #ECECEC; border-radius: 16px; box-shadow: 0 14px 36px rgba(42, 29, 23, .14); text-align: left;
}
.gc-search-results[hidden] { display: none; }
.gc-search-results a.gc-sr-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; color: #2A1D17; text-decoration: none; }
.gc-search-results a.gc-sr-item:hover, .gc-search-results a.gc-sr-item.is-active { background: #F7F7F7; color: #2A1D17; }
.gc-sr-thumb { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; background: #F5F5F5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gc-sr-thumb img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; margin: 0; }
.gc-sr-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gc-sr-name { font-size: 14px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gc-sr-price { font-size: 13px; color: #6F625B; }
.gc-sr-empty { margin: 0; padding: 12px 10px 4px; font-size: 14px; color: #6F625B; }
.gc-search-results a.gc-sr-all { display: block; margin-top: 4px; padding: 10px; border-top: 1px solid #F0F0F0; font-size: 13px; font-weight: 700; color: #2A1D17; text-decoration: none; }
.gc-search-results a.gc-sr-all:hover { color: #FF7A1A; }

/* Phones and tablets: icon in the header; tapping it opens the box in a row under the header. */
#mobile-header .site-main-header-wrap { position: relative; }
#mobile-header .gc-search { position: static; }
#mobile-header .gc-search .gc-search-toggle {
	display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
	background: transparent; color: #2A1D17; cursor: pointer; box-shadow: none;
}
#mobile-header .gc-search .gc-search-toggle:hover, #mobile-header .gc-search.is-open .gc-search-toggle { background: #F5F5F5; color: #FF7A1A; }
#mobile-header .gc-search-form { display: none; position: absolute; left: 16px; right: 16px; top: 100%; z-index: 1000; padding: 0 0 10px; }
#mobile-header .gc-search.is-open .gc-search-form { display: block; }
#mobile-header .gc-search .gc-search-input { width: 100%; height: 44px; font-size: 16px; background: #FFFFFF; border-color: #FF7A1A; box-shadow: 0 8px 24px rgba(42, 29, 23, .10); }
#mobile-header .gc-search .gc-search-icon { top: 22px; }
#mobile-header .gc-search-results { left: 0; right: 0; width: auto; max-width: none; top: 52px; }
/* Hide the browser's own blue clear (×) button; Esc or deleting the text clears it. */
.gc-search .gc-search-input::-webkit-search-cancel-button, .gc-search .gc-search-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
