/* AZ Smart Search – live results panel */
:root { --azss-brand: #1f2937; --azss-text: #1f2937; --azss-muted: #6b7280; --azss-line: #e5e7eb; --azss-soft: #f5f7f6; --azss-radius: 14px; }
.azss-panel {
	position: fixed; z-index: 100000; box-sizing: border-box;
	background: #fff; color: var(--azss-text);
	border: 1px solid var(--azss-line); border-radius: var(--azss-radius);
	box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
	overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
	padding: 6px 0; font-size: 14px; line-height: 1.35; text-align: start;
}
.azss-panel[hidden] { display: none !important; }
.azss-panel *, .azss-panel *::before, .azss-panel *::after { box-sizing: border-box; }
.azss-sec { padding: 8px 14px; }
.azss-sec + .azss-sec { border-top: 1px solid var(--azss-line); }
.azss-h { display: flex; justify-content: space-between; align-items: center; margin: 2px 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--azss-muted); }
.azss-h a.azss-clear { font-size: 12px; text-transform: none; letter-spacing: 0; color: var(--azss-muted); text-decoration: underline; }
.azss-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.azss-panel a.azss-chip {
	display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border-radius: 99px;
	border: 1px solid var(--azss-line); background: #fff; color: var(--azss-text); text-decoration: none; font-size: 13px;
}
.azss-panel a.azss-chip:hover, .azss-panel a.azss-chip.is-active { border-color: var(--azss-brand); background: var(--azss-soft); }
.azss-list { list-style: none; margin: 0; padding: 0; }
.azss-panel a.azss-item {
	display: flex; align-items: center; gap: 12px; padding: 8px; margin: 0 -8px; border-radius: 10px;
	color: var(--azss-text); text-decoration: none; min-height: 60px;
}
.azss-panel a.azss-item:hover, .azss-panel a.azss-item.is-active { background: var(--azss-soft); }
.azss-item img { width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain; border-radius: 8px; background: var(--azss-soft); }
.azss-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.azss-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.azss-label { font-size: 12px; color: var(--azss-muted); }
.azss-meta { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: end; }
.azss-price { font-weight: 600; color: var(--azss-brand); white-space: nowrap; font-size: 13px; }
.azss-price del { color: var(--azss-muted); font-weight: 400; margin-inline-end: 4px; }
.azss-price ins { text-decoration: none; }
.azss-panel .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.azss-oos { font-size: 11px; color: #b42318; white-space: nowrap; }
.azss-item.is-oos img { opacity: .55; }
.azss-panel mark { background: none; color: inherit; font-weight: 700; padding: 0; }
.azss-panel a.azss-all {
	display: block; margin: 6px 14px 8px; padding: 11px 14px; border-radius: 10px; text-align: center; text-decoration: none;
	background: var(--azss-brand); color: #fff; font-weight: 600;
}
.azss-panel a.azss-all:hover, .azss-panel a.azss-all.is-active { filter: brightness(1.12); color: #fff; }
.azss-note, .azss-empty, .azss-loading { margin: 0 0 8px; color: var(--azss-muted); font-size: 13px; }
.azss-loading { padding: 12px 14px; margin: 0; }
.azss-empty { color: var(--azss-text); }
/* Elementor "full screen" search: when suggestions are shown, move the box up so the list has room */
.elementor-widget-search-form.azss-active.elementor-search-form--skin-full_screen .elementor-search-form__container,
.elementor-search-form--skin-full_screen.azss-active .elementor-search-form__container { align-items: flex-start !important; padding-top: 12vh !important; }
@media (max-width: 767px) {
	.azss-panel { border-radius: 12px; }
	/* Elementor full-screen search uses a very large font; keep typed text readable on phones */
	.elementor-search-form--skin-full_screen input[type="search"].elementor-search-form__input { font-size: 22px !important; }
	.azss-panel a.azss-item { min-height: 64px; }
	.elementor-widget-search-form.azss-active .elementor-search-form--full-screen .elementor-search-form__container,
	.elementor-search-form--skin-full_screen.azss-active .elementor-search-form__container { padding-top: 72px !important; }
}
@media (prefers-reduced-motion: no-preference) {
	.azss-panel { animation: azss-in .14s ease-out; }
	@keyframes azss-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}
