/* صف البحث: [رجوع] + [صندوق يتقلص] + [دائرة مسح خارج الصندوق] */
.awwtar-live-search-row {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
}

.awwtar-live-search-row > .awwtar-live-search-form {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	max-width: 100%;
	margin-bottom: 0 !important;
}

.awwtar-live-search-row > .awwtar-live-search-clear.is-visible,
.awwtar-live-search-row > .awwtar-live-search-back.is-visible {
	transform: translateY(-3px);
}

.awwtar-live-search-pill {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.awwtar-live-search-pill .awwtar-live-search-icon {
	flex: 0 0 auto;
}

.awwtar-live-search-pill .awwtar-live-search-input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
}

.awwtar-live-search-input::-webkit-search-cancel-button,
.awwtar-live-search-input::-webkit-search-decoration,
.awwtar-live-search-input::-webkit-search-results-button,
.awwtar-live-search-input::-ms-clear {
	display: none !important;
	-webkit-appearance: none;
	appearance: none;
	width: 0;
	height: 0;
}

.awwtar-live-search-form .awwtar-live-search-clear {
	display: none !important;
}

button.awwtar-live-search-clear,
button.awwtar-live-search-back {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	border-radius: 50%;
	border: 2px solid #f97316 !important;
	background: #fff !important;
	color: #111 !important;
	padding: 0 !important;
	margin: 0 !important;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	line-height: 1;
	-webkit-tap-highlight-color: transparent;
	box-sizing: border-box;
	box-shadow: none !important;
	position: relative;
	z-index: 2;
}

button.awwtar-live-search-clear.is-visible,
button.awwtar-live-search-back.is-visible {
	display: inline-flex !important;
}

button.awwtar-live-search-clear span {
	display: block;
	font-size: 26px;
	font-weight: 500;
	line-height: 1;
}

button.awwtar-live-search-back .awwtar-live-search-back-arrow {
	display: block;
	width: 11px;
	height: 11px;
	border-top: 2.5px solid #111;
	border-right: 2.5px solid #111;
	transform: rotate(45deg);
	margin-right: 2px;
}

button.awwtar-live-search-clear:focus-visible,
button.awwtar-live-search-back:focus-visible {
	outline: 2px solid #f97316;
	outline-offset: 2px;
}

.awwtar-live-search-row > .awwtar-live-search-clear.is-visible:focus-visible,
.awwtar-live-search-row > .awwtar-live-search-back.is-visible:focus-visible {
	transform: translateY(-3px);
}

.awwtar-search-trigger {
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

/* Closed by default — visibility is toggled only via .awwtar-open on panel/overlay + body.awwtar-search-open */
.awwtar-search-overlay,
.awwtar-search-panel {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.awwtar-search-overlay.awwtar-open,
.awwtar-search-panel.awwtar-open {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}

.awwtar-search-panel.awwtar-open {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 10202;
	display: flex !important;
	flex-direction: column;
	height: 100dvh;
	max-height: 100dvh;
	overflow: hidden;
	background: #fff;
	box-sizing: border-box;
	padding-top: env(safe-area-inset-top, 0px);
}

.awwtar-search-panel-header {
	flex: 0 0 auto;
	transition: transform 0.28s ease, opacity 0.28s ease, max-height 0.28s ease, padding 0.28s ease, border-color 0.28s ease;
	transform: translateY(0);
	opacity: 1;
	max-height: 120px;
	overflow: hidden;
	will-change: transform, opacity, max-height;
}

.awwtar-search-panel-title.awtar-search-title--grouped {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
	direction: rtl;
}

.awwtar-search-panel-title .awtar-search-title-sep {
	color: #f97316;
	font-weight: 700;
}

.awwtar-search-panel-title .awtar-search-title-group {
	color: #f97316;
	font-weight: 700;
}

.awwtar-live-search-inside > .awwtar-live-search-row {
	transition: transform 0.28s ease, opacity 0.28s ease, max-height 0.28s ease, margin 0.28s ease;
	transform: translateY(0);
	opacity: 1;
	max-height: 80px;
	overflow: hidden;
	will-change: transform, opacity, max-height;
}

.awwtar-search-panel.awtar-search-chrome-hidden .awwtar-search-panel-header {
	transform: translateY(calc(-100% - 8px));
	opacity: 0;
	max-height: 0;
	min-height: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	border-bottom-color: transparent !important;
	pointer-events: none;
}

.awwtar-search-panel.awtar-search-chrome-hidden .awwtar-live-search-inside > .awwtar-live-search-row {
	transform: translateY(calc(-100% - 8px));
	opacity: 0;
	max-height: 0;
	margin: 0 !important;
	pointer-events: none;
}

.awwtar-search-panel.awtar-search-chrome-hidden .awwtar-search-panel-body {
	padding-top: 8px !important;
}

.awwtar-search-panel.awtar-search-chrome-hidden .awwtar-live-search-typeahead,
.awwtar-search-panel.awtar-search-chrome-hidden .awwtar-live-search-dropdown {
	flex: 1 1 auto;
}

/* Override Elementor custom CSS: panel-body had overflow:hidden which blocked model lists */
.awwtar-search-panel-body {
	flex: 1 1 auto;
	min-height: 0;
	height: auto !important;
	max-height: none !important;
	overflow: hidden !important;
	overflow-y: hidden !important;
	display: flex;
	flex-direction: column;
	padding-bottom: env(safe-area-inset-bottom, 0px);
	box-sizing: border-box;
}

body.awwtar-search-open .awwtar-search-panel.awwtar-open .awwtar-search-panel-body,
body.open-search-popup .awwtar-search-panel.awwtar-open .awwtar-search-panel-body {
	overflow: hidden !important;
	overflow-y: hidden !important;
	height: auto !important;
	max-height: none !important;
}

body.awwtar-search-open .awwtar-search-panel.awwtar-open .awwtar-live-search-inside,
body.open-search-popup .awwtar-search-panel.awwtar-open .awwtar-live-search-inside {
	height: auto !important;
}

body.awwtar-search-open .awwtar-search-panel.awwtar-open.awtar-search-products-mode,
body.open-search-popup .awwtar-search-panel.awwtar-open.awtar-search-products-mode {
	isolation: isolate;
}

body.awwtar-search-open .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-search-panel-header,
body.open-search-popup .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-search-panel-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	flex: none !important;
	z-index: 60;
	background: #fff;
	transform: translateY(calc(-1 * var(--awtar-chrome-shift, 0px)));
	opacity: var(--awtar-chrome-opacity, 1);
	transition: none;
	will-change: transform, opacity;
}

body.awwtar-search-open .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-search-panel-body,
body.open-search-popup .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-search-panel-body {
	overflow: hidden !important;
	overflow-y: hidden !important;
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	display: flex !important;
	flex-direction: column !important;
	position: relative;
	touch-action: none;
}

body.awwtar-search-open .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-live-search-inside,
body.open-search-popup .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-live-search-inside {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: 100% !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: column !important;
	position: relative;
	touch-action: none;
}

body.awwtar-search-open .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-live-search-row,
body.open-search-popup .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-live-search-row {
	position: absolute;
	top: var(--awtar-chrome-header-h, 64px);
	left: 0;
	right: 0;
	flex: none !important;
	z-index: 55;
	background: #fff;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07);
	transform: translateY(calc(-1 * var(--awtar-chrome-shift, 0px)));
	opacity: var(--awtar-chrome-opacity, 1);
	transition: none;
	will-change: transform, opacity;
}

body.awwtar-search-open .awwtar-search-panel.awwtar-open.awtar-search-products-mode.awtar-search-chrome-fully-hidden .awwtar-search-panel-header,
body.open-search-popup .awwtar-search-panel.awwtar-open.awtar-search-products-mode.awtar-search-chrome-fully-hidden .awwtar-search-panel-header,
body.awwtar-search-open .awwtar-search-panel.awwtar-open.awtar-search-products-mode.awtar-search-chrome-fully-hidden .awwtar-live-search-row,
body.open-search-popup .awwtar-search-panel.awwtar-open.awtar-search-products-mode.awtar-search-chrome-fully-hidden .awwtar-live-search-row {
	pointer-events: none;
}

body.awwtar-search-open .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-live-search-dropdown,
body.open-search-popup .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-live-search-dropdown {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	overflow: hidden !important;
	overflow-y: hidden !important;
	display: flex !important;
	flex-direction: column !important;
	touch-action: none;
	position: relative;
	z-index: 0;
}

body.awwtar-search-open .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-live-search-dropdown .awwtar-live-search-head,
body.awwtar-search-open .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-live-search-dropdown .awwtar-live-search-smart,
body.awwtar-search-open .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-live-search-dropdown .awwtar-live-search-keywords,
body.open-search-popup .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-live-search-dropdown .awwtar-live-search-head,
body.open-search-popup .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-live-search-dropdown .awwtar-live-search-smart,
body.open-search-popup .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-live-search-dropdown .awwtar-live-search-keywords {
	display: none !important;
}

body.awwtar-search-open .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-live-search-results,
body.open-search-popup .awwtar-search-panel.awwtar-open.awtar-search-products-mode .awwtar-live-search-results {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-y;
	position: relative;
	z-index: 0;
	box-sizing: border-box;
	padding-top: var(--awtar-chrome-total-h, 130px);
}

body.awwtar-search-open .awwtar-search-panel.awwtar-open.awtar-search-chrome-hidden .awwtar-search-panel-header,
body.open-search-popup .awwtar-search-panel.awwtar-open.awtar-search-chrome-hidden .awwtar-search-panel-header {
	min-height: 0 !important;
	max-height: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	opacity: 0 !important;
	transform: translateY(calc(-100% - 8px)) !important;
	pointer-events: none !important;
}

body.awwtar-search-open .awwtar-search-panel.awwtar-open.awtar-search-chrome-hidden .awwtar-live-search-inside > .awwtar-live-search-row,
body.open-search-popup .awwtar-search-panel.awwtar-open.awtar-search-chrome-hidden .awwtar-live-search-inside > .awwtar-live-search-row {
	max-height: 0 !important;
	margin: 0 !important;
	opacity: 0 !important;
	transform: translateY(calc(-100% - 8px)) !important;
	pointer-events: none !important;
}

.awwtar-live-search-inside {
	flex: 1 1 auto;
	min-height: 0;
	height: auto !important;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.awwtar-live-search-row,
.awwtar-live-search-form {
	flex-shrink: 0;
}

.awwtar-live-search-inside > .awwtar-live-search-form {
	margin-bottom: 0 !important;
}

.awwtar-live-search .awwtar-live-search-form {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.awwtar-live-search .awwtar-live-search-input {
	margin-bottom: 0 !important;
}

.awwtar-live-search-static.awtar-has-brands-browser {
	margin-top: 0 !important;
}

.awwtar-live-search-static.awtar-has-brands-browser > .awtar-brands-browser {
	margin-top: 0 !important;
}

.awwtar-live-search-static {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-y;
}

/* الأكثر بحثاً: 3 وسوم في كل سطر */
.awwtar-live-search .awwtar-live-search-static .awwtar-live-search-tags {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	direction: rtl;
}

.awwtar-live-search .awwtar-live-search-static .awwtar-live-search-tags > .awwtar-live-tag {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 8px 6px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Browse-all-brands: orange tab that drops from the bottom of the search box */
.awtar-brands-browser {
	margin: 0 0 14px;
	border: none;
	background: transparent;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.awtar-brands-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: 85%;
	max-width: 100%;
	padding: 4px 24px;
	justify-content: center;
	border: none;
	background: #ff8c42;
	color: #111;
	border-radius: 0 0 14px 14px;
	font: inherit;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	direction: rtl;
	box-shadow: 0 4px 10px rgba(255, 106, 0, 0.22);
	-webkit-tap-highlight-color: transparent;
}

.awtar-brands-toggle-chevron {
	font-size: 18px;
	line-height: 1;
	color: #111;
	transform: rotate(180deg);
	transition: transform 0.2s ease;
}

.awtar-brands-browser.is-open .awtar-brands-toggle-chevron {
	transform: rotate(0deg);
}

.awtar-brands-groups {
	width: 100%;
	max-height: 0;
	margin-top: 0;
	padding: 0 12px;
	opacity: 0;
	overflow: hidden;
	box-sizing: border-box;
	transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.28s ease, margin-top 0.28s ease;
	direction: rtl;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.awtar-brands-browser.is-open .awtar-brands-groups {
	max-height: 1400px;
	opacity: 1;
	margin-top: 12px;
	padding: 12px;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #fff;
}

.awtar-brands-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.awtar-brands-group-title {
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
	text-align: right;
	direction: rtl;
	padding: 0 2px 6px;
	border-bottom: 2px solid #ffe3cc;
}

.awtar-brands-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	direction: rtl;
}

/* When the brands panel is open it takes over the full scroll area:
   other sections hide and only the brands grid scrolls internally. */
.awwtar-live-search-static.awtar-brands-open {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.awwtar-live-search-static.awtar-brands-open > .awwtar-live-search-section {
	display: none;
}

.awwtar-live-search-static.awtar-brands-open > .awtar-brands-browser {
	flex: 1 1 auto;
	min-height: 0;
	margin-bottom: 0;
}

.awwtar-live-search-static.awtar-brands-open .awtar-brands-groups {
	flex: 1 1 auto;
	min-height: 0;
	max-height: none;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.awtar-brand-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	padding: 10px 6px;
	border: 1px solid #eef2f7;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	font: inherit;
	-webkit-tap-highlight-color: transparent;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.awtar-brand-tile:focus {
	border-color: #f97316;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

@media (hover: hover) and (pointer: fine) {
	.awtar-brand-tile:hover {
		border-color: #f97316;
		box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
	}
}

.awtar-brand-tile-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
}

.awtar-brand-tile-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.awtar-brand-tile-fallback {
	font-size: 18px;
	font-weight: 800;
	color: #94a3b8;
}

/* Square brand logos (SKYWELL=BR06, FORTHING=BR51, ...) look small inside the
   fixed-height logo boxes. Enlarge them with transform only (keeping the box
   height equal to every other tile) so names stay aligned and uncovered. */
.awtar-brand-tile-logo img[src*="/BR06."],
.awtar-brand-tile-logo img[src*="/BR51."] {
	transform: scale(1.3);
}

.awwtar-live-brand-logo[src*="/BR06."],
.awwtar-live-brand-logo[src*="/BR51."] {
	transform: scale(1.22);
}

.awwtar-live-brand-logo--chip[src*="/BR06."],
.awwtar-live-brand-logo--chip[src*="/BR51."] {
	transform: scale(1.18);
}

.awtar-brand-tile-name {
	font-size: 12px;
	font-weight: 600;
	color: #334155;
	text-align: center;
	line-height: 1.3;
	direction: rtl;
	unicode-bidi: isolate;
}

@media (min-width: 480px) {
	.awtar-brands-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.awwtar-live-search-typeahead.awtar-typeahead--brand-models {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-y: contain;
	touch-action: pan-y;
	padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	scroll-padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.awwtar-live-search-dropdown {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-y;
}

.awwtar-live-search-dropdown .awwtar-live-search-head,
.awwtar-live-search-dropdown .awwtar-live-search-smart,
.awwtar-live-search-dropdown .awwtar-live-search-keywords {
	flex-shrink: 0;
}

.awwtar-live-search-results {
	flex: 1 1 auto;
	min-height: 0;
}

/* Solid cover for notch / status bar — panel content stays scrollable below */
.awwtar-search-panel.awwtar-open::before {
	content: "";
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	height: env(safe-area-inset-top, 0px);
	background: #fff;
	z-index: 25;
	pointer-events: none;
}

.awwtar-search-overlay.awwtar-open {
	position: fixed;
	inset: 0;
	z-index: 10201;
	background: rgba(0, 0, 0, 0.45);
	padding-top: env(safe-area-inset-top, 0px);
	box-sizing: border-box;
}

/* Lock page scroll only — search panel keeps overflow-y: auto */
html.awtar-search-scroll-lock,
body.awtar-search-scroll-lock {
	overflow: hidden !important;
	height: 100%;
}

body.awtar-search-scroll-lock {
	width: 100%;
}

/* Hide page layers behind search (not the portaled panel/overlay) */
body.awtar-search-open #header,
body.awtar-search-open #main-content,
body.awtar-search-open #footer,
body.awtar-search-open .footer-page,
body.awtar-search-open .main-elementor-template-theme {
	visibility: hidden !important;
	pointer-events: none !important;
}

body.awwtar-search-open .after-append-footer {
	z-index: 10200 !important;
}

body.awwtar-search-open .awwtar-search-overlay.awwtar-open,
body.open-search-popup .awwtar-search-overlay.awwtar-open {
	z-index: 10201 !important;
	position: fixed !important;
}

body.awwtar-search-open .awwtar-search-panel.awwtar-open,
body.open-search-popup .awwtar-search-panel.awwtar-open {
	z-index: 10202 !important;
	position: fixed !important;
}

/* Mobile: hide sticky announcement while search is open. */
@media (max-width: 767px) {
	body.awwtar-search-open .awwtar-search-overlay,
	body.open-search-popup .awwtar-search-overlay {
		z-index: 10201 !important;
	}

	body.awwtar-search-open .awwtar-search-panel,
	body.open-search-popup .awwtar-search-panel {
		z-index: 10202 !important;
	}

	body.awwtar-search-open .etaratcom-announcement-stack,
	body.open-search-popup .etaratcom-announcement-stack,
	body.awwtar-search-open .etaratcom-announcement-stack *,
	body.open-search-popup .etaratcom-announcement-stack * {
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}

	body.awwtar-search-open .main-elementor-template-theme .elementor-element-41105f9 .elementor-element-9f48818,
	body.awwtar-search-open .main-elementor-template-theme .elementor-element-41105f9 .elementor-element-93008dc,
	body.open-search-popup .main-elementor-template-theme .elementor-element-41105f9 .elementor-element-9f48818,
	body.open-search-popup .main-elementor-template-theme .elementor-element-41105f9 .elementor-element-93008dc {
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}
}

/* اقتراحات أثناء الكتابة — ظاهرة تحت حقل البحث مباشرة */
.awwtar-live-search-typeahead {
	display: none;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	margin: 10px 0 0;
	padding: 0;
	border: none;
	background: transparent;
	overflow: visible;
	box-sizing: border-box;
}

.awwtar-live-search-typeahead .awwtar-live-keyword--row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #111;
	border-radius: 14px;
	background: #fff;
	color: #111;
	font: inherit;
	text-decoration: none;
	box-sizing: border-box;
	box-shadow: none;
	cursor: pointer;
	direction: ltr;
	/* Skip painting/layout of off-screen cards so long suggestion lists scroll
	   smoothly on mobile (notably iOS standalone PWA). Falls back gracefully on
	   browsers that don't support content-visibility. */
	content-visibility: auto;
	contain-intrinsic-size: auto 64px;
}

.awwtar-live-search-typeahead .awwtar-live-keyword--row:last-child {
	border-bottom: 1px solid #111;
}

.awwtar-live-search-typeahead .awwtar-live-keyword--row:focus {
	background: #fff;
	border-color: #111;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Only apply the hover shadow on real pointer devices. On touchscreens the
   "sticky :hover" state lingers after a tap and forces a repaint while the list
   is scrolling, which causes the reported scroll jank. */
@media (hover: hover) and (pointer: fine) {
	.awwtar-live-search-typeahead .awwtar-live-keyword--row:hover {
		background: #fff;
		border-color: #111;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	}
}

.awwtar-live-search-typeahead .awwtar-typeahead-logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border: 1px solid #f1f5f9;
	border-radius: 10px;
	background: #fff;
	box-sizing: border-box;
	overflow: hidden;
}

.awwtar-live-search-typeahead .awwtar-typeahead-logo {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.awwtar-live-search-typeahead .awwtar-typeahead-logo--boost {
	width: 100%;
	height: 100%;
	transform: scale(1.45);
	transform-origin: center center;
}

.awwtar-live-search-typeahead .awwtar-typeahead-model-thumb-wrap {
	width: 60px;
	height: 44px;
	border-radius: 8px;
	border-color: #e2e8f0;
}

.awwtar-live-search-typeahead .awwtar-typeahead-model-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
}

.awwtar-live-search-typeahead .awwtar-typeahead-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 2px;
	margin-left: auto;
	margin-right: 4px;
	min-width: 0;
	direction: rtl;
	text-align: right;
}

.awwtar-live-search-typeahead .awwtar-live-keyword--brand .awwtar-typeahead-copy {
	align-items: center;
	text-align: center;
}

.awwtar-live-search-typeahead .awwtar-live-keyword--brand .awwtar-typeahead-name-en {
	text-align: center;
}

.awwtar-live-search-typeahead .awwtar-typeahead-name-ar {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	color: #1e293b;
}

.awwtar-name-amg {
	color: #f97316;
	font-weight: 700;
}

.awwtar-live-search-typeahead .awwtar-typeahead-name-en {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	color: #94a3b8;
}

.awwtar-live-search-typeahead .awwtar-typeahead-chevron {
	flex-shrink: 0;
	font-size: 22px;
	line-height: 1;
	color: #cbd5e1;
}

.awwtar-live-brand-logo {
	width: 36px;
	height: 36px;
	object-fit: contain;
	flex-shrink: 0;
	background: #fff;
	border-radius: 8px;
}

.awwtar-live-brand-logo--chip {
	width: 22px;
	height: 22px;
	border-radius: 4px;
}

.awwtar-live-keyword--brand {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.awwtar-live-brand-item {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
}

.awwtar-live-brand-item .awwtar-live-thumb {
	width: 44px;
	height: 44px;
	padding: 4px;
	box-sizing: border-box;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #f3f4f6;
}

.awwtar-live-search-typeahead .awwtar-live-brand-label {
	flex: 1;
	min-width: 0;
	text-align: start;
}
.awwtar-live-search-keywords--list {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	width: 100%;
	border-top: 1px solid #f1f1f1;
	margin-top: 8px;
	padding-top: 4px;
}

.awwtar-live-search-keywords--list .awwtar-live-keyword--row {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 12px 14px;
	border-radius: 0;
	border: none;
	border-bottom: 1px solid #f3f4f6;
	background: #fff;
	color: #111;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	box-sizing: border-box;
}

.awwtar-live-search-keywords--list .awwtar-live-keyword--row:last-child {
	border-bottom: none;
}

.awwtar-live-search-keywords--list .awwtar-live-keyword--row:focus {
	background: #fff7ed;
	color: #ea580c;
}

@media (hover: hover) and (pointer: fine) {
	.awwtar-live-search-keywords--list .awwtar-live-keyword--row:hover {
		background: #fff7ed;
		color: #ea580c;
	}
}

.awwtar-live-search-typeahead .awwtar-live-keyword--row.awwtar-live-keyword--model {
	align-items: center;
	min-height: 58px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.awwtar-live-search-typeahead .awwtar-live-keyword--model .awwtar-typeahead-copy {
	flex: 1 1 auto;
	margin-left: 0;
	margin-right: 0;
	align-items: center;
	justify-content: center;
	text-align: center;
	direction: rtl;
}

.awwtar-live-search-typeahead .awwtar-live-keyword--model .awwtar-typeahead-name-ar {
	direction: rtl;
	unicode-bidi: isolate;
}

.awwtar-live-search-typeahead .awwtar-live-keyword--model .awwtar-typeahead-name-en {
	direction: ltr;
	unicode-bidi: isolate;
}

.awwtar-live-search-typeahead .awwtar-typeahead-group {
	display: inline-flex;
	align-items: center;
	margin-top: 3px;
	padding: 2px 10px;
	border-radius: 999px;
	background: #fff3e9;
	color: #ea580c;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	direction: rtl;
	unicode-bidi: isolate;
}

.awwtar-live-search-typeahead .awwtar-typeahead-divider {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 4px 2px;
	color: #94a3b8;
	font-size: 12px;
	font-weight: 700;
	direction: rtl;
	unicode-bidi: isolate;
}

.awwtar-live-search-typeahead .awwtar-typeahead-divider::before,
.awwtar-live-search-typeahead .awwtar-typeahead-divider::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: #e2e8f0;
}

/* General search only: give the model cards more room so they don't look
   crammed inside the panel (the user asked to let them "breathe"). Group/category
   search keeps the compact layout. */
.awwtar-live-search-typeahead.awtar-typeahead--general-models {
	gap: 14px;
}

.awwtar-live-search-typeahead.awtar-typeahead--general-models .awwtar-live-keyword--row.awwtar-live-keyword--model {
	min-height: 78px;
	padding-top: 16px;
	padding-bottom: 16px;
	border-radius: 16px;
	contain-intrinsic-size: auto 78px;
}

.awwtar-live-search-typeahead.awtar-typeahead--general-models .awwtar-live-keyword--model .awwtar-typeahead-name-ar {
	font-size: 17px;
}

.awwtar-live-search-typeahead.awtar-typeahead--general-models .awwtar-typeahead-group {
	margin-top: 5px;
}

/* Plain line that separates vehicle-category sections in the brand model list
   (no heading — each card already shows its group label). */
.awwtar-live-search-typeahead .awwtar-typeahead-cat-divider {
	height: 3px;
	margin: 6px 6px;
	background: #f97316;
	border: none;
	border-radius: 3px;
	flex: 0 0 auto;
}

.awwtar-live-search-typeahead .awwtar-live-keyword--model .awwtar-typeahead-chevron {
	margin-left: 8px;
}

.awwtar-live-model-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	cursor: pointer;
}

.awwtar-live-search-results .awwtar-live-model-item--no-logo {
	width: 100%;
	padding: 12px;
	margin-bottom: 10px;
	border: 1px solid #111;
	border-radius: 14px;
	background: #fff;
	box-sizing: border-box;
}

.awwtar-live-search-results .awwtar-live-model-item--no-logo .awwtar-live-info {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 2px;
	min-width: 0;
}

.awwtar-live-search-results .awwtar-live-model-item--no-logo .awwtar-live-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	color: #1e293b;
	direction: rtl;
	unicode-bidi: isolate;
}

.awwtar-live-search-results .awwtar-live-model-item--no-logo .awwtar-live-cat {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	color: #94a3b8;
	direction: ltr;
	unicode-bidi: isolate;
}

.awwtar-live-keyword--model {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.awwtar-live-search-typeahead .awwtar-live-keyword--generation {
	position: relative;
	justify-content: center;
}

.awwtar-live-search-typeahead .awwtar-live-keyword--generation .awwtar-typeahead-copy {
	flex: 1 1 auto;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-align: center;
}

.awwtar-gen-trim {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	color: #475569;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	padding: 4px 11px;
}

.awwtar-gen-trim.is-commercial {
	color: #b45309;
	background: #fff7ed;
	border-color: #fed7aa;
}

.awwtar-gen-divider {
	height: 2px;
	margin: 10px 4px;
	border-radius: 999px;
	background: #f97316;
}

.awwtar-typeahead-generation-years {
	display: inline-flex;
	flex-direction: row;
	direction: rtl;
	unicode-bidi: isolate;
	align-items: center;
	justify-content: center;
	gap: 18px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.awwtar-typeahead-generation-years .awwtar-gen-year {
	direction: ltr;
	unicode-bidi: isolate;
	font-size: 18px;
}

.awwtar-typeahead-generation-years .awwtar-gen-sep {
	font-size: 26px;
	line-height: 1;
	color: #94a3b8;
	transform: translateY(-2px);
}

.awwtar-live-search-typeahead .awwtar-live-keyword--generation .awwtar-typeahead-chevron {
	position: absolute;
	inset-inline-end: 16px;
	top: 50%;
	transform: translateY(-50%);
}

.awwtar-live-products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	direction: rtl;
	padding-bottom: 110px;
}

.awwtar-live-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.awwtar-live-product-card:hover {
	border-color: #f97316;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.awwtar-live-product-link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	text-decoration: none;
	color: inherit;
}

.awwtar-live-cart-btn {
	position: absolute;
	bottom: 6px;
	right: 10px;
	left: auto;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 50%;
	background: #f97316;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
	transition: transform 0.12s ease, background 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

.awwtar-live-cart-btn:hover {
	background: #ea6a0c;
}

.awwtar-live-cart-btn:active {
	transform: scale(0.92);
}

.awwtar-live-cart-btn.loading {
	opacity: 0.7;
	pointer-events: none;
}

/* After the first click: outlined orange circle with the black quantity inside. */
.awwtar-live-cart-btn.is-counting {
	background: #ffffff;
	border-color: #f97316;
	color: #111827;
	box-shadow: 0 2px 8px rgba(249, 115, 22, 0.28);
}

.awwtar-live-cart-btn.is-counting:hover {
	background: #fff7ed;
}

.awwtar-live-cart-btn.is-counting .awwtar-live-cart-icon {
	display: none;
}

.awwtar-live-cart-btn .awwtar-live-cart-count {
	display: none;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	color: #111827;
}

.awwtar-live-cart-btn.is-counting .awwtar-live-cart-count {
	display: block;
}

@keyframes awwtarCartBump {
	0% { transform: scale(1); }
	40% { transform: scale(1.18); }
	100% { transform: scale(1); }
}

.awwtar-live-cart-btn.awwtar-live-cart-bump {
	animation: awwtarCartBump 0.22s ease;
}

/* Hide the "view cart" text link WooCommerce appends after an ajax add inside the card. */
.awwtar-live-product-card .added_to_cart {
	display: none !important;
}

.awwtar-live-cart-popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(15, 23, 42, 0.45);
	direction: rtl;
}

.awwtar-live-cart-popup[hidden] {
	display: none;
}

.awwtar-live-cart-popup-box {
	width: 100%;
	max-width: 320px;
	background: #fff;
	border-radius: 16px;
	padding: 22px 18px 18px;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.25);
	text-align: center;
}

.awwtar-live-cart-popup-msg {
	font-size: 15px;
	font-weight: 700;
	color: #16a34a;
	line-height: 1.5;
	margin-bottom: 16px;
}

.awwtar-live-cart-popup-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.awwtar-live-cart-popup-continue,
.awwtar-live-cart-popup-view,
.awwtar-live-cart-popup-buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
}

.awwtar-live-cart-popup-continue {
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	color: #334155;
}

.awwtar-live-cart-popup-view {
	border: 1px solid #f97316;
	background: #fff;
	color: #f97316;
}

.awwtar-live-cart-popup-view:hover {
	background: #fff7ed;
}

.awwtar-live-cart-popup-buy {
	border: 1px solid #f97316;
	background: #f97316;
	color: #fff;
}

.awwtar-live-cart-popup-buy:hover {
	background: #ea6a0c;
}

.awwtar-live-cart-icon {
	display: block;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: no-repeat center / contain;
	mask: no-repeat center / contain;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zM7.16 14.26l.03-.12.9-1.64h7.45c.75 0 1.41-.41 1.75-1.03l3.86-7.01-1.75-.95-3.86 7H8.53L4.27 2H1v2h2l3.6 7.59-1.35 2.44C4.52 15.37 5.48 17 7 17h12v-2H7.42c-.13 0-.25-.11-.26-.24z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zM7.16 14.26l.03-.12.9-1.64h7.45c.75 0 1.41-.41 1.75-1.03l3.86-7.01-1.75-.95-3.86 7H8.53L4.27 2H1v2h2l3.6 7.59-1.35 2.44C4.52 15.37 5.48 17 7 17h12v-2H7.42c-.13 0-.25-.11-.26-.24z'/%3E%3C/svg%3E");
}

.awwtar-live-product-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	background: #f8fafc;
}

.awwtar-live-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.awwtar-live-product-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 10px 12px 42px;
	text-align: center;
}

.awwtar-live-product-title {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	text-align: center;
	width: 100%;
}

.awwtar-live-product-brand {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	color: #64748b;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.awwtar-live-product-spec {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 4px;
	direction: ltr;
	unicode-bidi: isolate;
	line-height: 1.25;
}

.awwtar-live-product-size {
	font-size: 17px;
	font-weight: 800;
	color: #1e293b;
	direction: ltr;
	unicode-bidi: isolate;
}

.awwtar-live-product-extra {
	font-size: 13px;
	font-weight: 700;
	color: #475569;
	direction: ltr;
	unicode-bidi: isolate;
}

/* Merged front/rear (staggered) card: spans the full row and shows the two
   tires side by side, each keeping its own image + size, inside a single card
   with a single button. */
.awwtar-live-product-card--pair {
	grid-column: 1 / -1;
}

.awwtar-live-pair-images {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 12px 12px 0;
	box-sizing: border-box;
}

.awwtar-live-pair-tile {
	text-decoration: none;
	color: inherit;
}

.awwtar-live-pair-info-link {
	text-decoration: none;
	color: inherit;
}

.awwtar-live-pair-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1 1 0;
	min-width: 0;
	max-width: 200px;
	gap: 10px;
}

.awwtar-live-pair-tile .awwtar-live-product-thumb {
	width: 100%;
}

.awwtar-live-pair-tile-meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	width: 100%;
	line-height: 1.2;
	text-align: center;
}

.awwtar-live-pair-label {
	font-size: 15px;
	font-weight: 700;
	color: #94a3b8;
	direction: rtl;
	unicode-bidi: isolate;
}

.awwtar-live-pair-tile .awwtar-live-product-size {
	font-size: 17px;
	font-weight: 800;
	white-space: nowrap;
}

.awwtar-live-product-card--pair .awwtar-live-product-brand {
	font-size: 15px;
}

.awwtar-live-product-card--pair .awwtar-live-product-price {
	font-size: 18px;
}

.awwtar-live-product-price {
	font-size: 14px;
	font-weight: 800;
	color: #f97316;
	direction: ltr;
	unicode-bidi: isolate;
	text-align: center;
}

.awwtar-live-filter-bar {
	position: sticky;
	bottom: 0;
	z-index: 5;
	display: flex;
	justify-content: center;
	padding: 10px 4px 6px;
	background: linear-gradient(to bottom, rgba(248, 250, 252, 0) 0%, rgba(255, 255, 255, 0.92) 30%, #fff 70%);
	backdrop-filter: blur(3px);
}

.awwtar-live-filter-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #f97316;
	border-radius: 999px;
	background: #fff;
	color: #f97316;
	font-weight: 800;
	font-size: 14px;
	padding: 10px 16px;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.awwtar-live-filter-btn:active {
	transform: translateY(1px);
}

.awwtar-live-filter-btn.is-open {
	background: #f97316;
	color: #fff;
}

.awwtar-live-filter-icon {
	font-size: 16px;
	line-height: 1;
}

.awwtar-live-cat-panel {
	position: absolute;
	bottom: calc(100% - 2px);
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	width: max-content;
	max-width: min(92%, 420px);
	padding: 12px;
	margin-bottom: 8px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
	direction: rtl;
}

.awwtar-live-cat-panel[hidden] {
	display: none;
}

.awwtar-live-cat-chip {
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	background: #f8fafc;
	color: #334155;
	font-size: 13px;
	font-weight: 700;
	padding: 8px 14px;
	cursor: pointer;
	white-space: nowrap;
}

.awwtar-live-cat-chip.is-active {
	background: #f97316;
	border-color: #f97316;
	color: #fff;
}

