/* Rovet Pharma — buscador fullscreen (layout Athena) */
#pa-search-root,
.pa-search-trigger {
	--pa-primary: #258252;
	--pa-secondary: #0d2919;
	--pa-accent: #fad103;
	--pa-price: #258252;
	--pa-text-muted: #5c6b62;
	--pa-surface: #f4f7f5;
	--pa-bg: rgba(13, 41, 25, 0.48);
	--pa-panel: #ffffff;
	--pa-link: #258252;
	--pa-text: #0d2919;
	--pa-muted: #6b7a72;
	--pa-border: #e4ebe7;
	--pa-green: #258252;
	--pa-font-heading: "Barlow", sans-serif;
	--pa-font-body: "Barlow", sans-serif;
}

/* Sin botón flotante: búsqueda solo en cabecera y Ctrl/Cmd+K. */
.pa-search-trigger {
	display: none !important;
}

.pa-search {
	position: fixed; inset: 0; z-index: 999999;
	display: flex; align-items: stretch; justify-content: stretch;
	padding: 0;
	opacity: 0; visibility: hidden;
	transition: opacity .2s, visibility .2s;
	font-family: var(--pa-font-body);
	color: var(--pa-text);
}
.pa-search.is-open { opacity: 1; visibility: visible; }
.pa-search__backdrop {
	position: absolute; inset: 0;
	background: #f4f7f5;
}
.pa-search__panel {
	position: relative;
	width: 100%;
	height: 100%;
	max-width: 100vw;
	max-height: 100vh;
	max-height: 100dvh;
	display: flex; flex-direction: column;
	background: #fff;
	border-radius: 0;
	box-shadow: none;
	overflow: hidden;
}
.pa-search__promo {
	height: 6px;
	flex-shrink: 0;
	background: var(--pa-accent);
}

.pa-search__close {
	position: static;
	transform: none;
	width: 44px; height: 44px; border: 0; border-radius: 50%;
	background: rgba(255,255,255,.08); color: #fff; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.pa-search__close:hover { color: var(--pa-accent); background: rgba(255,255,255,.16); }
.pa-search__close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }

.pa-search__header {
	position: relative;
	display: grid;
	grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px 20px;
	padding: 14px 18px 14px 22px;
	min-height: 76px;
	flex-shrink: 0;
	background: var(--pa-secondary);
	overflow: visible;
}
.pa-search__brand {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	max-width: 220px;
	flex-shrink: 0;
	text-decoration: none;
	overflow: visible;
}
.pa-search__brand img,
.pa-search__brand .pa-search__brand-img {
	display: block;
	width: auto !important;
	max-width: 200px;
	height: auto !important;
	max-height: 56px;
	object-fit: contain;
	object-position: left center;
}
.pa-search__brand-text {
	font: 700 1.05rem/1.2 var(--pa-font-heading);
	color: #fff;
	letter-spacing: .02em;
}
.pa-search__input-wrap {
	position: relative;
	width: 100%;
	max-width: min(920px, 100%);
	height: 58px;
	margin: 0 auto;
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}
.pa-search__input {
	width: 100%; height: 58px; padding: 0 68px 0 26px;
	border: 0; border-radius: 999px;
	background: #fff;
	font: 500 18px/1.35 var(--pa-font-heading); color: #010f34;
	outline: none;
	-webkit-appearance: none; appearance: none;
}
.pa-search__input::-webkit-search-decoration,
.pa-search__input::-webkit-search-cancel-button,
.pa-search__input::-webkit-search-results-button,
.pa-search__input::-webkit-search-results-decoration { display: none; }
.pa-search__input:focus { box-shadow: none; }
.pa-search__input::placeholder { color: #9aa3b5; font-family: var(--pa-font-heading); }
.pa-search__input-clear {
	position: absolute; right: 50px; top: 5px;
	width: 40px; height: 40px; border: 0; border-radius: 50%;
	background: transparent; color: #9aa0a6; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.pa-search__input-clear svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }
.pa-search__go {
	position: absolute; top: 5px; right: 5px;
	width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
	background: #fbdf44; color: #010f34;
	display: flex; align-items: center; justify-content: center;
	pointer-events: none;
}
.pa-search__go svg {
	width: 19px; height: 19px;
	fill: none; stroke: #010f34; stroke-width: 2.1;
	stroke-linecap: round; stroke-linejoin: round;
}

.pa-search__body {
	display: grid;
	grid-template-columns: 248px minmax(0, 1fr);
	column-gap: 32px;
	flex: 1 1 auto; min-height: 0;
	padding: 20px 32px 32px;
	overflow: hidden;
}

.pa-search__filters {
	min-width: 0;
	overflow-y: auto; overflow-x: hidden;
	overscroll-behavior: contain;
	padding-right: 4px;
}
.pa-search__filter-box {
	margin-bottom: 16px;
	padding: 18px 16px 16px;
	border: 0;
	border-radius: 16px;
	background: #f4f7fb;
}
.pa-search__filter-title {
	margin: 0 0 16px;
	font: 600 13px/1.2 var(--pa-font-heading);
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--pa-secondary);
}

.pa-search__price-track {
	position: relative; height: 28px; margin: 2px 4px 10px;
}
.pa-search__price-fill {
	position: absolute; top: 50%; left: 0; right: 0; height: 3px;
	transform: translateY(-50%); border-radius: 2px;
	background: #e6e8ee; pointer-events: none;
}
.pa-search__price-fill::after {
	content: ''; position: absolute; top: 0; bottom: 0;
	left: var(--pa-fill-left, 0%); right: var(--pa-fill-right, 0%);
	background: var(--pa-primary); border-radius: 2px;
}
.pa-search__range {
	position: absolute; top: 50%; left: 0; width: 100%; height: 4px;
	margin: 0; transform: translateY(-50%);
	-webkit-appearance: none; appearance: none;
	background: transparent; pointer-events: none;
}
.pa-search__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 16px; height: 16px; border-radius: 50%;
	background: var(--pa-secondary); border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,.15);
	cursor: pointer; pointer-events: auto;
}
.pa-search__range::-moz-range-thumb {
	width: 16px; height: 16px; border-radius: 50%;
	background: var(--pa-secondary); border: 2px solid #fff;
	cursor: pointer; pointer-events: auto;
}
.pa-search__range--max { z-index: 2; }
.pa-search__price-labels {
	display: flex; justify-content: space-between;
	font: 500 13px/1 var(--pa-font-body); color: #8f8f94;
}

.pa-search__cat-links {
	display: flex; flex-direction: column; gap: 10px;
}
.pa-search__cat-link {
	display: block; width: 100%;
	padding: 0; border: 0; background: none;
	font: 600 13px/1.4 var(--pa-font-heading);
	color: var(--pa-primary);
	text-align: left; cursor: pointer;
}
.pa-search__cat-link:hover { color: var(--pa-secondary); }
.pa-search__cat-link.is-active { font-weight: 700; color: var(--pa-secondary); }

.pa-search__results {
	min-width: 0; min-height: 0;
	display: flex; flex-direction: column;
	overflow-y: auto; overflow-x: hidden;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding-right: 8px;
	scrollbar-width: thin;
	scrollbar-color: var(--pa-secondary) #f3f3f5;
}
.pa-search__results::-webkit-scrollbar { width: 5px; }
.pa-search__results::-webkit-scrollbar-thumb { background: var(--pa-secondary); border-radius: 4px; }

.pa-search__home {
	flex-shrink: 0;
	margin-bottom: 8px;
}
.pa-search__home[hidden] { display: none !important; }
.pa-search__home-block { margin-bottom: 22px; }
.pa-search__videos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 14px;
}
.pa-search__video-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-decoration: none;
	color: inherit;
}
.pa-search__video-thumb {
	position: relative;
	display: block;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #e8ede9;
}
.pa-search__video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.pa-search__video-play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(37, 130, 82, 0.92);
	box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.pa-search__video-play::after {
	content: '';
	position: absolute;
	left: 17px;
	top: 12px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 0 10px 16px;
	border-color: transparent transparent transparent #fff;
}
.pa-search__video-title {
	font: 600 13px/1.35 var(--pa-font-heading);
	color: #1a2e24;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.pa-search__results-toolbar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	flex-shrink: 0;
}
.pa-search__sort-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}
.pa-search__sort-label {
	font: 600 12px/1 var(--pa-font-heading);
	color: #5c6770;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.pa-search__sort {
	font: 600 13px/1.3 var(--pa-font-body);
	padding: 8px 12px;
	border-radius: 10px;
	border: 1px solid #d5e6dc;
	background: #fff;
	color: #1a2e24;
	max-width: 100%;
}
.pa-search__check {
	display: flex;
	align-items: center;
	gap: 10px;
	font: 600 13px/1.3 var(--pa-font-heading);
	color: #1a2e24;
	cursor: pointer;
}
.pa-search__check input {
	width: 18px;
	height: 18px;
	accent-color: var(--pa-secondary);
}
.pa-search__filter-box--compact {
	padding-top: 14px;
	padding-bottom: 14px;
}
.pa-search__clear-filters {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #c5e0d0;
	border-radius: 10px;
	background: #fff;
	font: 600 13px/1.2 var(--pa-font-heading);
	color: var(--pa-secondary);
	cursor: pointer;
}
.pa-search__clear-filters:hover {
	background: #eaf3ee;
}
.pa-search__facet-count {
	font-weight: 500;
	color: #8f8f94;
	font-size: 11px;
}
.pa-search__card-specs {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	font: 500 12px/1.45 var(--pa-font-body);
	color: #5c6770;
}
.pa-search__card-specs li {
	margin: 0 0 3px;
}
.pa-search__spec-key {
	font-weight: 700;
	color: #3d4a42;
}
.pa-search__home-title {
	margin: 0 0 14px;
	font: 600 15px/1.2 var(--pa-font-heading);
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--pa-secondary);
}
.pa-search__suggest-pills,
.pa-search__live-suggest {
	display: flex; flex-wrap: wrap; gap: 8px;
}
.pa-search__live-suggest {
	margin-bottom: 18px;
}
.pa-search__live-suggest[hidden] { display: none !important; }
.pa-search__suggest-pill {
	padding: 9px 16px;
	border: 1.5px solid var(--pa-secondary);
	border-radius: 999px;
	background: #fff;
	color: var(--pa-secondary);
	font: 600 12px/1 var(--pa-font-heading);
	letter-spacing: .02em;
	cursor: pointer;
}
.pa-search__suggest-pill:hover,
.pa-search__suggest-pill.is-commercial:hover {
	background: var(--pa-accent);
	border-color: var(--pa-accent);
}
.pa-search__recent {
	display: flex; gap: 16px;
	overflow-x: auto;
	padding-bottom: 6px;
}
.pa-search__recent .pa-search__card {
	flex: 0 0 158px;
	width: 158px;
}

.pa-search__grid-wrap {
	position: relative;
	flex: 0 0 auto;
	min-height: 220px;
	overflow: visible;
}
.pa-search__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 22px;
	align-content: start;
}

.pa-search__card {
	display: flex; flex-direction: column; align-items: flex-start;
	width: 100%; min-width: 0;
	text-decoration: none; color: inherit;
}
.pa-search__card-img {
	width: 100%; aspect-ratio: 1.15;
	display: flex; align-items: center; justify-content: center;
	overflow: hidden; background: #fff;
}
.pa-search__card-img img {
	width: 100%; height: 100%; object-fit: contain;
}
.pa-search__card-placeholder { font-size: 32px; opacity: .18; }

.pa-search__card-icons {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
	margin: 10px 0 8px;
	min-height: 24px;
}
.pa-search__chip {
	display: inline-flex; align-items: center; gap: 5px;
	max-width: 100%;
	padding: 3px 8px 3px 6px;
	border-radius: 999px;
	font: 600 11px/1.2 var(--pa-font-heading);
	color: var(--pa-secondary);
	background: #eaf3ee;
	border: 1px solid #d5e6dc;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.pa-search__chip svg {
	width: 14px; height: 14px; flex-shrink: 0;
	fill: none; stroke: currentColor; stroke-width: 1.8;
	stroke-linecap: round; stroke-linejoin: round;
}
.pa-search__chip--brand {
	background: #fff8d6;
	border-color: #f0e6a0;
	color: #5a4d00;
	max-width: 9rem;
}
.pa-search__chip--dog { background: #e8f4ec; border-color: #c5e0d0; color: #1a4d32; }
.pa-search__chip--cat { background: #f3eef8; border-color: #ddd0ea; color: #4a3560; }
.pa-search__chip--bird { background: #eef6ff; border-color: #c8ddf5; color: #1e4a73; }
.pa-search__chip--farm { background: #f6f0e8; border-color: #e5d4bc; color: #5c4020; }
.pa-search__chip--rodent { background: #f5f0ea; border-color: #e0d4c8; color: #4a3d30; }
.pa-search__chip--fish { background: #e6f7fa; border-color: #b8e3ec; color: #0d4f5c; }
.pa-search__chip--horse { background: #faf0eb; border-color: #ecd9cc; color: #6b3d28; }
.pa-search__chip--food { background: #fff4e5; border-color: #f5d9b3; color: #7a4e12; }
.pa-search__chip--med { background: #fdecec; border-color: #f5c4c4; color: #8b2020; }
.pa-search__chip--care { background: #e8f7f0; border-color: #bde5d0; color: #1f5c3f; }
.pa-search__chip--stock { background: #258252; border-color: #258252; color: #fff; }
.pa-search__chip--stock svg { stroke: #fff; }
.pa-search__chip--out { background: #eceff1; border-color: #d5dbe0; color: #5c6770; }
.pa-search__chip--sale { background: #fad103; border-color: #e5bc00; color: #0d2919; }
.pa-search__chip--sale svg { fill: currentColor; stroke: none; }

.pa-search__card-title {
	margin: 0 0 10px;
	font: 600 18px/1.35 var(--pa-font-heading);
	color: #1a2e24;
	text-transform: none;
	letter-spacing: 0;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
	overflow: hidden;
	width: 100%;
}
.pa-search__card-title mark {
	background: rgba(3, 177, 255, 0.16);
	color: inherit;
}

.pa-search__price-pill {
	display: inline-flex; align-items: baseline; gap: 6px;
	margin-top: auto;
	padding: 0;
	border-radius: 0;
	background: transparent;
	font: 600 13px/1 var(--pa-font-heading);
	color: var(--pa-secondary);
	white-space: nowrap;
}
.pa-search__price-from { font-weight: 500; font-size: 12px; color: #7a7a7a; }
.pa-search__price-old { font-weight: 500; font-size: 13px; color: #9a9a9e; text-decoration: line-through; }
.pa-search__price-now { font: 600 17px/1 var(--pa-font-heading); color: var(--pa-price); }

.pa-search__count {
	margin: 0 0 12px;
	font: 600 13px/1.3 var(--pa-font-heading);
	color: var(--pa-muted);
	letter-spacing: .02em;
}
.pa-search__count[hidden] { display: none !important; }
.pa-search__count strong { color: var(--pa-secondary); font-weight: 700; }

.pa-search__empty {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 48px 20px;
	color: var(--pa-muted);
	text-align: center;
}
.pa-search__empty[hidden] { display: none !important; }
.pa-search__grid:empty + .pa-search__empty:not([hidden]) { display: flex; }
.pa-search__grid:not(:empty) + .pa-search__empty { display: none !important; }
.pa-search__empty-title {
	margin: 0;
	font: 700 15px/1.3 var(--pa-font-heading);
	color: var(--pa-secondary);
}
.pa-search__empty-text {
	margin: 0;
	max-width: 36ch;
	font: 400 13px/1.45 var(--pa-font-body);
	color: var(--pa-muted);
}
.pa-search__empty-suggest {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 14px;
	max-width: 42rem;
}
.pa-search__fallback {
	margin-top: 22px;
	width: 100%;
	max-width: 960px;
	text-align: left;
}
.pa-search__fallback[hidden] { display: none !important; }
.pa-search__fallback-title {
	margin: 0 0 14px;
	font: 600 15px/1.3 var(--pa-font-heading);
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--pa-secondary);
}
.pa-search__fallback-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 18px 14px;
}
.pa-search__loader {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	position: absolute;
	inset: 0;
	background: #fff;
	z-index: 4;
}
.pa-search.is-loading .pa-search__grid,
.pa-search.is-loading .pa-search__empty,
.pa-search.is-loading .pa-search__live-suggest { visibility: hidden; }
.pa-search.is-loading .pa-search__loader { display: flex; }
.pa-search.is-loading .pa-search__grid-wrap { min-height: 260px; }

.pa-search__pool {
	position: relative;
	width: min(280px, 70%);
	height: 120px;
	border-radius: 18px;
	overflow: hidden;
	background: linear-gradient(180deg, #e8f5ec 0%, #258252 42%, #1a6b3f 100%);
	box-shadow: inset 0 0 0 3px rgba(13, 41, 25, 0.08), 0 10px 24px rgba(37, 130, 82, 0.22);
}
.pa-search__wave {
	position: absolute; left: -50%; width: 200%; height: 80px;
	background: radial-gradient(ellipse at center, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 68%);
	opacity: .55;
}
.pa-search__wave--1 { top: 8px; animation: pa-wave 2.4s ease-in-out infinite; }
.pa-search__wave--2 { top: 28px; opacity: .35; animation: pa-wave 3.2s ease-in-out infinite reverse; }
.pa-search__wave--3 { top: 52px; opacity: .22; animation: pa-wave 2.8s ease-in-out .4s infinite; }
.pa-search__ripple {
	position: absolute; left: 50%; top: 42%;
	width: 18px; height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid rgba(255,255,255,.85);
	border-radius: 50%;
	animation: pa-ripple 1.8s ease-out infinite;
}
.pa-search__loader-text {
	margin: 0;
	font: 600 15px/1.3 var(--pa-font-heading);
	color: var(--pa-secondary);
	letter-spacing: .02em;
}
@keyframes pa-wave {
	0% { transform: translateX(-8%) translateY(0); }
	50% { transform: translateX(8%) translateY(6px); }
	100% { transform: translateX(-8%) translateY(0); }
}
@keyframes pa-ripple {
	0% { transform: scale(.4); opacity: .9; }
	100% { transform: scale(4.2); opacity: 0; }
}

@media (min-width: 1280px) {
	.pa-search__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
	.pa-search__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	.pa-search__header {
		grid-template-columns: 1fr auto;
		grid-template-rows: auto auto;
		padding: 12px 14px;
		gap: 10px;
	}
	.pa-search__brand { grid-column: 1; grid-row: 1; }
	.pa-search__brand img { max-height: 36px; max-width: 140px; }
	.pa-search__close { grid-column: 2; grid-row: 1; justify-self: end; }
	.pa-search__input-wrap { grid-column: 1 / -1; grid-row: 2; max-width: none; }
	.pa-search__body { grid-template-columns: 1fr; padding: 12px 16px 20px; }
	.pa-search__filters { display: none; }
	.pa-search__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
}

#pa-search-root,
#pa-search-root * { box-sizing: border-box; }
#pa-search-root button { font-family: var(--pa-font-heading); }
#pa-search-root .pa-search__cat-link,
#pa-search-root .pa-search__suggest-pill,
#pa-search-root .pa-search__card {
	appearance: none; border: 0 !important; outline: none !important;
	text-decoration: none !important; background: transparent !important;
}
#pa-search-root .pa-search__cat-link::before,
#pa-search-root .pa-search__cat-link::after,
#pa-search-root .pa-search__card::before,
#pa-search-root .pa-search__card::after,
#pa-search-root .pa-search__go::before,
#pa-search-root .pa-search__go::after {
	content: none !important; display: none !important;
}
#pa-search-root .pa-search__chip { text-transform: none !important; }
#pa-search-root .pa-search__suggest-pill {
	border: 1.5px solid var(--pa-secondary) !important;
	background: #fff !important;
}
#pa-search-root .pa-search__suggest-pill:hover {
	background: var(--pa-accent) !important;
	border-color: var(--pa-accent) !important;
}
#pa-search-root .pa-search__header {
	background: #0d2919 !important;
}
#pa-search-root .pa-search__brand img,
#pa-search-root .pa-search__brand .pa-search__brand-img {
	max-height: 56px !important;
	width: auto !important;
	height: auto !important;
	max-width: 200px !important;
	object-fit: contain !important;
}
#pa-search-root .pa-search__promo {
	background: #fad103 !important;
}
#pa-search-root .pa-search__go {
	background: #fad103 !important;
	color: #0d2919 !important;
	border: 0 !important;
	box-shadow: none !important;
}
#pa-search-root .pa-search__go svg {
	fill: none !important;
	stroke: #010f34 !important;
}
#pa-search-root .pa-search__input-wrap {
	height: 58px !important;
	border-radius: 999px !important;
	overflow: hidden !important;
	background: #fff !important;
}
#pa-search-root {
	font-size: 14px;
	line-height: 1.45;
	text-transform: none;
	letter-spacing: normal;
}
#pa-search-root input.pa-search__input[type="text"] {
	height: 58px !important;
	padding: 0 68px 0 26px !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: none !important;
	font: 400 15px/1.35 Barlow, sans-serif !important;
	color: #0d2919 !important;
	text-transform: none !important;
}
#pa-search-root .pa-search__input,
#pa-search-root .pa-search__home-title,
#pa-search-root .pa-search__filter-title,
#pa-search-root .pa-search__card-title,
#pa-search-root .pa-search__suggest-pill,
#pa-search-root .pa-search__cat-link,
#pa-search-root .pa-search__price-now,
#pa-search-root .pa-search__price-from,
#pa-search-root .pa-search__count,
#pa-search-root .pa-search__empty-title,
#pa-search-root .pa-search__empty-text,
#pa-search-root button {
	font-family: Barlow, sans-serif !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}
#pa-search-root .pa-search__home-title,
#pa-search-root .pa-search__filter-title {
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: .06em !important;
	text-transform: uppercase !important;
}
#pa-search-root .pa-search__cat-link {
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	color: var(--pa-primary) !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}
#pa-search-root .pa-search__cat-link.is-active {
	color: var(--pa-secondary) !important;
	font-weight: 700 !important;
}
#pa-search-root .pa-search__suggest-pill {
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	padding: 8px 14px !important;
	max-width: 100%;
}
#pa-search-root .pa-search__card-title {
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	color: #1a2e24 !important;
}
#pa-search-root .pa-search__card-title mark {
	background: rgba(37, 130, 82, 0.14) !important;
}
#pa-search-root .pa-search__price-now {
	font-size: 17px !important;
	font-weight: 700 !important;
}
#pa-search-root .pa-search__price-old {
	font-size: 12px !important;
}
#pa-search-root .pa-search__filter-box {
	background: #f0f6f2 !important;
}
#pa-search-root .pa-search__go svg {
	stroke: #0d2919 !important;
}
#pa-search-root .pa-search__grid-wrap,
#pa-search-root .pa-search__grid,
#pa-search-root .pa-search__results,
#pa-search-root .pa-search__home,
#pa-search-root .pa-search__card-img {
	background: #fff !important;
}
#pa-search-root h2,
#pa-search-root h3,
#pa-search-root h4,
#pa-search-root p {
	text-transform: none;
}

/* Barra de búsqueda AWS en cabecera (dispara overlay fullscreen). No tocar anchos de columnas Elementor. */
@media (min-width: 768px) {
	.elementor-location-header .elementor-element-2a88e12 > .elementor-container {
		min-height: auto !important;
		align-items: center !important;
		padding-top: 12px !important;
		padding-bottom: 12px !important;
	}
	.elementor-location-header .elementor-element-2a88e12 .elementor-column > .elementor-widget-wrap {
		justify-content: center !important;
	}
	.elementor-location-header .elementor-element-c17960e {
		padding-top: 4px !important;
		padding-bottom: 4px !important;
	}
	.elementor-location-header .elementor-element-3ce6fbf > .elementor-widget-container,
	.elementor-location-header .elementor-element.elementor-element-3ce6fbf > .elementor-widget-container {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}

.elementor-location-header .aws-container,
header .aws-container,
.site-header .aws-container {
	display: block !important;
	width: 100%;
	max-width: min(680px, 100%);
	margin: 8px auto !important;
	position: relative !important;
	top: auto !important;
	transform: none !important;
}
.aws-container .aws-search-form {
	display: flex !important;
	align-items: stretch;
	width: 100%;
	margin: 0;
	border: 2px solid #258252;
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 4px 18px rgba(13, 41, 25, 0.1);
	cursor: text;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.aws-container .aws-search-form:hover,
.aws-container .aws-search-form:focus-within {
	border-color: #1a6b40;
	box-shadow: 0 6px 22px rgba(37, 130, 82, 0.18);
}
.aws-container .aws-wrapper {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	min-width: 0;
	position: relative;
}
.aws-container .aws-search-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
.aws-container .aws-search-field {
	flex: 1 1 auto;
	width: 100% !important;
	height: 48px !important;
	min-height: 48px;
	margin: 0 !important;
	padding: 0 88px 0 22px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	font: 500 17px/1.35 Barlow, sans-serif !important;
	color: #0d2919 !important;
	box-shadow: none !important;
}
.aws-container .aws-search-field::placeholder {
	color: #7a8a80;
	opacity: 1;
}
.aws-container .aws-search-clear {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: auto !important;
	width: 40px;
	margin: 0 !important;
	transform: none !important;
	z-index: 2 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
}
.aws-container .aws-search-clear span {
	position: static !important;
	top: auto !important;
	left: auto !important;
	display: block !important;
	font-size: 22px !important;
	line-height: 1 !important;
	margin: 0 !important;
	transform: none !important;
}
.aws-container .aws-search-btn.aws-form-btn {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #fad103 !important;
	color: #0d2919 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.aws-container .aws-search-btn_icon svg {
	width: 24px;
	height: 24px;
	fill: #0d2919;
}
.rovet-aws-kbd {
	position: absolute;
	right: 58px;
	top: 50%;
	transform: translateY(-50%);
	padding: 3px 8px;
	border-radius: 6px;
	font: 600 10px/1.25 Barlow, sans-serif;
	color: #4a6a58;
	background: #eaf3ee;
	border: 1px solid #c9d8cf;
	pointer-events: none;
	white-space: nowrap;
}
.aws-wrapper:has(.aws-search-field:not(:placeholder-shown)) .rovet-aws-kbd,
.aws-wrapper:has(.aws-search-field:focus) .rovet-aws-kbd {
	display: none;
}
@media (max-width: 1024px) {
	.elementor-location-header .aws-container,
	header .aws-container {
		max-width: 100%;
	}
	.aws-container .aws-search-field {
		height: 48px !important;
		min-height: 48px;
		font-size: 16px !important;
		padding-right: 72px !important;
	}
	.aws-container .aws-search-btn.aws-form-btn {
		flex: 0 0 48px;
		width: 48px;
		height: 48px;
	}
	.rovet-aws-kbd { display: none; }
}
@media (max-width: 767px) {
	.elementor-location-header .aws-container {
		max-width: 100%;
	}
}

/* Carrito lateral Elementor por encima de WhatsApp / buscadores flotantes */
.elementor-menu-cart__container {
	z-index: 100000030 !important;
}

.qlwapp,
.qlwapp__button,
.qlwapp__container,
.qlwapp__container.qlwapp__container--bottom-right {
	z-index: 9990 !important;
}

body.rovet-cart-open .qlwapp,
body.rovet-cart-open .qlwapp__button,
body.rovet-cart-open .qlwapp__container,
body.rovet-cart-open .btn_buscador_mobile,
body.rovet-cart-open .elementor-element.btn_buscador_mobile,
body.rovet-cart-open .pa-search-trigger,
body.rovet-cart-open .box_buscador_header,
body.rovet-cart-open .elementor-widget-floating-buttons,
body.rovet-cart-open .e-floating-bars {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.rovet-cart-open .rovet-sticky-atc {
	transform: translateY(110%) !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

body.rovet-cart-open.rovet-sticky-atc-on {
	padding-bottom: 0 !important;
}

/* Evitar panel de búsqueda móvil fijo sobre el carrito */
@media (max-width: 1024px) {
	body.rovet-cart-open .box_buscador_header,
	body.rovet-cart-open .box_buscador_header .aws-container {
		display: none !important;
	}
}
