/* === TAB COMPATIBILIDAD (ficha de producto): buscador + tarjetas === */
.psvc-compat { margin-top: .5rem; }

.psvc-compat__search {
	display: block;
	width: 100%;
	margin: 0 0 1rem;
}

.psvc-compat__search .psvc-label { display: block; margin: 0 0 .35rem; }
.psvc-compat__search .psvc-input { display: block; width: 100%; }
.psvc-compat__search .psvc-compat__meta { display: block; margin: .35rem 0 0; }

.psvc-compat__meta { font-size: .8rem; color: #666; }
.psvc-compat__noresults { margin: .5rem 0 1rem; font-weight: 600; }

.psvc-compat-brand {
	margin: 0 0 1rem;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.psvc-compat-brand__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	padding: .7rem .9rem;
	background: rgba(0, 0, 0, .03);
	cursor: pointer;
	list-style: none;
}

.psvc-compat-brand__summary::-webkit-details-marker {
	display: none;
}

.psvc-compat-brand__title {
	font-size: .92rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.psvc-compat-brand__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	padding: .15rem .5rem;
	border-radius: 999px;
	background: #fff;
	color: #333;
	font-size: .78rem;
	font-weight: 700;
}

.psvc-compat-brand__summary::after {
	content: '+';
	margin-left: auto;
	color: #666;
	font-size: 1rem;
	font-weight: 700;
}

.psvc-compat-brand[open] .psvc-compat-brand__summary::after {
	content: '\2212';
}

.psvc-compat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: .65rem;
	padding: .85rem;
}

.psvc-vehicle-card {
	border: 1px solid rgba(0, 0, 0, .10);
	border-radius: 8px;
	background: #fff;
}

.psvc-vehicle-card.is-in-garage,
.psvc-compat-list__item.is-in-garage {
	border-color: rgba(40, 167, 69, .35);
	background: rgba(40, 167, 69, .05);
}

.psvc-vehicle-card__link {
	display: block;
	padding: .65rem .75rem;
	text-decoration: none;
	color: inherit;
	text-align: left;
}

.psvc-vehicle-card__head {
	display: block;
}

.psvc-vehicle-card__name {
	font-weight: 600;
	font-size: .82rem;
	line-height: 1.25;
}

.psvc-vehicle-card__mounting,
.psvc-compat-list__mounting {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	width: fit-content;
	max-width: 100%;
	margin-top: .28rem;
	padding: .16rem .42rem;
	border: 1px solid rgba(11, 99, 206, .18);
	border-radius: 4px;
	background: #eef6ff;
	color: #174f88;
	font-size: .68rem;
	font-weight: 700;
	line-height: 1.25;
}

.psvc-compat-list__mounting {
	margin: 0 0 .45rem;
}

.psvc-vehicle-card__mounting-label,
.psvc-compat-list__mounting-label {
	font-weight: 600;
	color: #446b91;
}

.psvc-vehicle-card__mounting-value,
.psvc-compat-list__mounting-value {
	overflow-wrap: anywhere;
}

.psvc-vehicle-card__meta {
	margin-top: .35rem;
	font-size: .82rem;
	color: #666;
}

.psvc-compat-list {
	list-style: none;
	margin: 0;
	padding: .35rem .9rem .75rem;
}

.psvc-compat-list__item {
	margin: 0;
	padding: 0;
	border-top: 1px solid rgba(0, 0, 0, .06);
}

.psvc-compat-list__item:first-child {
	border-top: 0;
}

.psvc-compat-list__link {
	display: block;
	padding: .4rem 0;
	color: inherit;
	text-decoration: none;
	font-size: .7rem;
	line-height: 1.35;
}

.psvc-compat-list__link:hover,
.psvc-vehicle-card__link:hover {
	color: #0b63ce;
}

.psvc-vehicle-card.is-in-garage .psvc-vehicle-card__name { font-weight: 800; }

/* === FICHA: widget compacto + modal selector === */
.psvc-product-compat {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	margin: .5rem 0 0;
}

.psvc-product-compat__row {
	display: flex;
	gap: .5rem;
	align-items: baseline;
	flex-wrap: wrap;
}

.psvc-product-compat__label { font-weight: 600; }
.psvc-product-compat__link { text-decoration: underline; }

.psvc-selected-vehicle__status {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem;
}

.psvc-selected-vehicle__text {
	flex: 1 1 220px;
	min-width: 0;
	overflow-wrap: anywhere;
}

.psvc-universal-help {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
}

.psvc-universal-help__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 1px solid #9bb4c7;
	border-radius: 50%;
	background: #fff;
	color: #0b5f8d;
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	cursor: help;
}

.psvc-universal-help__icon:focus-visible {
	outline: 2px solid #0b63ce;
	outline-offset: 2px;
}

.psvc-universal-help__tooltip {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 20;
	width: 290px;
	max-width: calc(100vw - 48px);
	padding: .65rem .75rem;
	border-radius: 6px;
	background: #073c5e;
	box-shadow: 0 5px 18px rgba(7, 60, 94, .24);
	color: #fff;
	font-size: .78rem;
	font-weight: 600;
	line-height: 1.4;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-3px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
	pointer-events: none;
}

.psvc-universal-help:hover .psvc-universal-help__tooltip,
.psvc-universal-help:focus-within .psvc-universal-help__tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.psvc-selected-vehicle__compatible-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .25rem;
	max-width: 100%;
	padding: .3rem .55rem;
	border: 1px solid rgba(27, 94, 32, .24);
	border-radius: 6px;
	background: #fff;
	color: #1b5e20;
	font-size: .78rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.psvc-selected-vehicle__compatible-link:hover {
	background: #e4f5e7;
	border-color: rgba(27, 94, 32, .4);
	color: #114015;
	text-decoration: none;
}

.psvc-selected-vehicle__arrow {
	display: block;
	flex: 0 0 15px;
	width: 15px;
	height: 15px;
}

.psvc-selected-vehicle__mounting {
	display: flex;
	align-items: center;
	gap: .35rem;
	margin-top: .5rem;
	padding: .55rem .7rem;
	border: 1px solid rgba(11, 99, 206, .2);
	border-radius: 6px;
	background: #eef6ff;
	color: #123f68;
	font-size: .88rem;
	line-height: 1.35;
}

.psvc-selected-vehicle__mounting-icon {
	flex: 0 0 auto;
	font-size: 18px;
	color: #0b63ce;
}

.psvc-selected-vehicle__mounting-label {
	font-weight: 700;
}

.psvc-selected-vehicle__mounting-value {
	font-weight: 800;
	overflow-wrap: anywhere;
}

.psvc-modal {
	display: none;
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	padding: 24px;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	isolation: isolate;
	z-index: 2147483000;
}

.psvc-modal.is-open { display: flex; }

.psvc-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.55);
	cursor: pointer;
}

.psvc-modal__dialog {
	position: relative;
	margin: 0;
	width: min(100%, 1100px);
	height: min(80vh, 720px);
	max-height: calc(100vh - 48px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 16px 40px rgba(0,0,0,.25);
}

@media (max-width: 768px) {
	.psvc-modal {
		padding: 0;
	}

	.psvc-modal__dialog {
		margin: 0;
		width: 100vw;
		height: 100vh;
		max-height: 100vh;
		border-radius: 0;
		box-shadow: none;
	}
}

.psvc-modal__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: .75rem 1rem;
	border-bottom: 1px solid rgba(0,0,0,.08);
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 2;
}

.psvc-modal__title { font-weight: 700; }

.psvc-modal__close {
	appearance: none;
	background: transparent;
	border: 0;
	font-size: 22px;
	line-height: 1;
	padding: .25rem .5rem;
	cursor: pointer;
}

.psvc-modal__body {
	padding: 1rem;
	flex: 1 1 auto;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
.psvc-modal__field { margin-bottom: .75rem; }

.psvc-modal__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: .6rem;
	margin-top: .75rem;
}

#psvc-vehicle-modal #psvc-apply {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 86px;
}

#psvc-vehicle-modal #psvc-add-garage {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

#psvc-vehicle-modal {
	--psvc-modal-navy: #073C5E;
	--psvc-modal-navy-dark: #052d47;
	--psvc-modal-green: #28a745;
	--psvc-modal-red: #e1252d;
	--psvc-modal-border: #dfe7ed;
	--psvc-modal-muted: #63717d;
	padding: clamp(16px, 3vw, 34px);
}

#psvc-vehicle-modal .psvc-modal__overlay {
	background: rgba(3, 15, 25, .64);
	backdrop-filter: blur(2px);
}

#psvc-vehicle-modal .psvc-modal__dialog {
	width: min(96vw, 1040px);
	height: auto;
	min-height: 0;
	max-height: calc(100vh - clamp(32px, 6vw, 68px));
	background: #f4f7f9;
	border: 1px solid rgba(7, 60, 94, .18);
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

#psvc-vehicle-modal .psvc-modal__header {
	position: relative;
	top: auto;
	padding: 14px 18px;
	min-height: 64px;
	background: var(--psvc-modal-navy);
	color: #fff;
	border-bottom: 0;
}

#psvc-vehicle-modal .psvc-modal__heading {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

#psvc-vehicle-modal .psvc-modal__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	border-radius: 6px;
	background: rgba(255, 255, 255, .13);
	color: #fff;
}

#psvc-vehicle-modal .psvc-modal__icon .material-icons {
	font-size: 23px;
	line-height: 1;
}

#psvc-vehicle-modal .psvc-modal__icon .psvc-garage-icon {
	color: #fff;
}

#psvc-vehicle-modal .psvc-modal__title {
	font-size: 18px;
	line-height: 1.15;
	font-weight: 800;
	color: #fff;
	letter-spacing: 0;
}

#psvc-vehicle-modal .psvc-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	padding: 0;
	border-radius: 6px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 26px;
	font-weight: 400;
	transition: background .16s ease, transform .16s ease;
}

#psvc-vehicle-modal .psvc-modal__close:hover {
	background: rgba(255, 255, 255, .22);
	transform: translateY(-1px);
}

#psvc-vehicle-modal .psvc-modal__body {
	padding: 18px;
	background: #f4f7f9;
}

#psvc-vehicle-modal .psvc-selector__form {
	display: block;
	max-width: none;
	margin: 0;
}

#psvc-vehicle-modal .psvc-modal__field,
#psvc-vehicle-modal .psvc-modal__grid,
#psvc-vehicle-modal .psvc-help {
	background: #fff;
	border: 1px solid var(--psvc-modal-border);
	border-radius: 8px;
	box-shadow: 0 10px 26px rgba(7, 60, 94, .06);
}

#psvc-vehicle-modal .psvc-modal__field {
	margin: 0;
	padding: 14px;
}

#psvc-vehicle-modal .psvc-label {
	display: block;
	margin: 0 0 7px;
	color: var(--psvc-modal-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
}

#psvc-vehicle-modal .psvc-modal__search {
	position: relative;
}

#psvc-vehicle-modal .psvc-modal__search-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--psvc-modal-muted);
	font-size: 21px;
	pointer-events: none;
}

#psvc-vehicle-modal .psvc-input {
	height: 46px;
	padding: 0 14px 0 44px;
	border: 1px solid #d4dfe7;
	border-radius: 6px;
	background: #fff;
	color: #1f2933;
	font-size: 14px;
	box-shadow: inset 0 1px 0 rgba(0, 0, 0, .02);
}

#psvc-vehicle-modal .psvc-input:focus {
	border-color: var(--psvc-modal-navy);
	box-shadow: 0 0 0 3px rgba(7, 60, 94, .14);
	outline: 0;
}

#psvc-vehicle-modal #psvc-search-results {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	z-index: 2147483010;
	display: none;
	max-height: min(360px, 48vh);
	overflow: auto;
	background: #fff;
	border: 1px solid var(--psvc-modal-border);
	border-radius: 8px;
	box-shadow: 0 18px 40px rgba(7, 60, 94, .18);
}

#psvc-vehicle-modal .psvc-modal__grid {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto auto;
	align-items: end;
	gap: 10px;
	margin-top: 12px;
	padding: 14px;
}

#psvc-vehicle-modal .psvc-dd-toggle {
	min-height: 44px;
	padding: 0 38px 0 14px;
	border: 1px solid #d4dfe7;
	border-radius: 6px;
	background: #fff;
	color: #1f2933;
	font-size: 14px;
	font-weight: 700;
	box-shadow: inset 0 1px 0 rgba(0, 0, 0, .02);
}

#psvc-vehicle-modal .psvc-dd-toggle:hover {
	border-color: #b9c8d4;
	background: #fff;
}

#psvc-vehicle-modal .psvc-dd-toggle:focus {
	border-color: var(--psvc-modal-navy);
	box-shadow: 0 0 0 3px rgba(7, 60, 94, .14);
	outline: 0;
}

#psvc-vehicle-modal .psvc-dd-toggle:disabled {
	background: #f4f7f9;
	color: #9aa7b2;
	opacity: 1;
}

#psvc-vehicle-modal .psvc-dd-toggle.has-value {
	background: var(--psvc-modal-navy);
	border-color: var(--psvc-modal-navy);
	color: #fff;
}

#psvc-vehicle-modal .psvc-dd-panel {
	top: calc(100% + 8px);
	z-index: 2147483010;
	padding: 8px;
	border: 1px solid var(--psvc-modal-border);
	border-radius: 8px;
	box-shadow: 0 18px 40px rgba(7, 60, 94, .18);
}

#psvc-vehicle-modal .psvc-dd-filter {
	height: 36px;
	border-radius: 6px;
	font-size: 13px;
}

#psvc-vehicle-modal .psvc-dd-options {
	max-height: 260px;
}

#psvc-vehicle-modal .psvc-dd-options .psvc-dropdown-option {
	padding: 9px 10px;
	border-radius: 5px;
	font-size: 13px;
	color: #25313b;
}

#psvc-vehicle-modal .psvc-dd-options .psvc-dropdown-option:hover {
	background: #eef4f8;
}

#psvc-vehicle-modal .psvc-dd-options .psvc-dropdown-option.selected,
#psvc-vehicle-modal .psvc-dd-options .psvc-dropdown-option[aria-selected="true"] {
	background: var(--psvc-modal-navy);
	color: #fff;
}

#psvc-vehicle-modal .psvc-modal__action {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 94px;
	height: 44px;
	padding: 0 16px;
	border: 0;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	box-shadow: none;
	transition: background .16s ease, transform .16s ease, opacity .16s ease;
}

#psvc-vehicle-modal .psvc-modal__action .material-icons {
	font-size: 18px;
	line-height: 1;
}

#psvc-vehicle-modal .psvc-modal__action--apply {
	background: var(--psvc-modal-navy);
	color: #fff;
}

#psvc-vehicle-modal .psvc-modal__action--apply:hover {
	background: var(--psvc-modal-navy-dark);
	color: #fff;
}

#psvc-vehicle-modal .psvc-modal__action--garage {
	background: var(--psvc-modal-green);
	color: #fff;
}

#psvc-vehicle-modal .psvc-modal__action--garage:hover {
	background: #218a3a;
	color: #fff;
}

#psvc-vehicle-modal .psvc-modal__action:disabled {
	background: #7b848b;
	color: #fff;
	opacity: .78;
	cursor: not-allowed;
	transform: none;
}

#psvc-vehicle-modal .psvc-help {
	margin-top: 12px;
	padding: 14px 16px;
	color: #2e3841;
	font-size: 14px;
	line-height: 1.5;
}

#psvc-vehicle-modal .psvc-help p {
	margin: 0 0 8px;
}

#psvc-vehicle-modal .psvc-help p:first-child {
	font-size: 15px;
	color: #1f2933;
}

#psvc-vehicle-modal .psvc-help ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 10px 0 8px;
	padding: 0;
	list-style: none;
}

#psvc-vehicle-modal .psvc-help li {
	position: relative;
	min-width: 0;
	padding: 8px 10px 8px 30px;
	border-radius: 6px;
	background: #f4f7f9;
}

#psvc-vehicle-modal .psvc-help li::before {
	content: "check";
	position: absolute;
	left: 9px;
	top: 9px;
	font-family: "Material Icons";
	font-size: 15px;
	line-height: 1;
	color: var(--psvc-modal-green);
}

/* Search result rows + buttons. The base styles live in garage-redesign.css,
   which is NOT loaded on PDPs, so the modal must style its own results here. */
#psvc-vehicle-modal .psvc-search-result-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px 12px;
	padding: 10px 14px;
	border-bottom: 1px solid #edf1f4;
	transition: background .12s ease;
}

#psvc-vehicle-modal .psvc-search-result-item:last-child {
	border-bottom: none;
}

#psvc-vehicle-modal .psvc-search-result-item:hover {
	background: #f4f7f9;
}

#psvc-vehicle-modal .psvc-search-result-title {
	min-width: 0;
	color: #1f2933;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-transform: none;
	overflow-wrap: anywhere;
	word-break: break-word;
}

#psvc-vehicle-modal .psvc-search-result-actions {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 6px;
}

#psvc-vehicle-modal .psvc-search-result-actions .psvc-s-apply,
#psvc-vehicle-modal .psvc-search-result-actions .psvc-s-garage {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	border: 0;
	border-radius: 5px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background .15s ease;
}

#psvc-vehicle-modal .psvc-search-result-actions .psvc-s-apply {
	background: var(--psvc-modal-navy);
}

#psvc-vehicle-modal .psvc-search-result-actions .psvc-s-apply:hover {
	background: var(--psvc-modal-navy-dark);
}

#psvc-vehicle-modal .psvc-search-result-actions .psvc-s-garage {
	background: var(--psvc-modal-green);
}

#psvc-vehicle-modal .psvc-search-result-actions .psvc-s-garage:hover {
	background: #218a3a;
}

@media (max-width: 768px) {
	#psvc-vehicle-modal {
		padding: 0;
	}

	#psvc-vehicle-modal .psvc-modal__dialog {
		width: 100vw;
		height: 100vh;
		max-height: 100vh;
		border-radius: 0;
		border: 0;
	}

	#psvc-vehicle-modal .psvc-modal__header {
		min-height: 56px;
		padding: 10px 14px;
	}

	#psvc-vehicle-modal .psvc-modal__icon {
		width: 34px;
		height: 34px;
		flex-basis: 34px;
	}

	#psvc-vehicle-modal .psvc-modal__title {
		font-size: 16px;
	}

	#psvc-vehicle-modal .psvc-modal__body {
		padding: 14px;
	}

	#psvc-vehicle-modal .psvc-modal__field,
	#psvc-vehicle-modal .psvc-modal__grid,
	#psvc-vehicle-modal .psvc-help {
		padding: 12px;
	}

	#psvc-vehicle-modal .psvc-modal__grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	#psvc-vehicle-modal .psvc-modal__action {
		width: 100%;
		min-width: 0;
	}

	#psvc-vehicle-modal .psvc-help ul {
		grid-template-columns: 1fr;
	}

	#psvc-vehicle-modal .psvc-search-result-item {
		grid-template-columns: 1fr;
		align-items: stretch;
	}

	#psvc-vehicle-modal .psvc-search-result-actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		width: 100%;
	}

	#psvc-vehicle-modal .psvc-search-result-actions .psvc-s-apply,
	#psvc-vehicle-modal .psvc-search-result-actions .psvc-s-garage {
		min-height: 38px;
	}
}

/* Bloque de ayuda (manual) */
.psvc-help {
	margin-top: .9rem;
	background: #fff;
	border: 0;
	border-radius: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.55;
	color: inherit;
}

.psvc-help__title {
	font-weight: 800;
	margin: 0 0 .4rem;
}

.psvc-help__p {
	margin: 0 0 .6rem;
}

.psvc-help__p:last-child {
	margin-bottom: 0;
}

.psvc-help__list {
	margin: .35rem 0 .6rem;
	padding-left: 1.2rem;
}

.psvc-help__list li {
	margin: .25rem 0;
}

.psvc-help img {
	max-width: 100%;
	height: auto;
}

.psvc-help p { margin: 0 0 .6rem; }
.psvc-help p:last-child { margin-bottom: 0; }
.psvc-help ul { margin: .35rem 0 .6rem; }

/* Dentro del modal, asegurar que los paneles flotantes queden por encima */
.psvc-modal .psvc-dd-panel { z-index: 11010; }
#psvc-vehicle-modal #psvc-search-results { z-index: 11010; }

/* Opciones de dropdown (el modal usa divs con .psvc-dropdown-option) */
.psvc-dd-options .psvc-dropdown-option {
	padding: .45rem .55rem;
	border-radius: 4px;
	font-size: .72rem;
	cursor: pointer;
	user-select: none;
}

.psvc-dd-options .psvc-dropdown-option:hover {
	background: #eef5ff;
}

.psvc-dd-options .psvc-dropdown-option.selected,
.psvc-dd-options .psvc-dropdown-option[aria-selected="true"] {
	background: #2684ff;
	color: #fff;
}

/* Widget compacto en ficha (debajo del precio) */
.psvc-product-compat {
	margin-top: 10px;
}

.psvc-compat-box {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px;
	background: #fff;
	border: 1px solid #dee2e6;
	border-radius: 6px;
	cursor: pointer;
}

.psvc-compat-box__icon {
	width: 36px;
	height: 36px;
	border-radius: 6px;
	background: #111;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.psvc-compat-box__icon .material-icons {
	font-size: 20px;
	line-height: 1;
}

.psvc-compat-box__text {
	min-width: 0;
}

.psvc-compat-box__label {
	font-weight: 600;
	color: #333;
	line-height: 1.2;
}

.psvc-compat-box__link {
	display: inline-block;
	margin-top: 2px;
}

@media (min-width: 768px) {
	.psvc-modal__grid {
		grid-template-columns: 1fr 1fr 1fr auto auto;
		align-items: end;
	}
}

body.psvc-modal-open { overflow: hidden; }


/* Compact on small screens */
@media (max-width: 768px) {
	.psvc-selector__form .form-control,
	.psvc-selector__form #psvc-apply {
		flex: 1 1 100%;
		min-width: 100%;
	}
}

/* (Legacy) pill en nav - mantenida por compatibilidad si otra posición la imprime */
.psvc-selected-nav { display:inline-flex; align-items:center; gap:.35rem; padding:.2rem .6rem; border:1px solid #e9ecef; border-radius:999px; background:#fff; font-size:.75rem; }
.psvc-selected-nav .material-icons { font-size:16px; line-height:1; }
.psvc-selected-nav .psvc-clear { margin-left:.25rem; text-decoration:none; color:#888; }
.psvc-selected-nav .psvc-clear:hover { color:#333; }

/* Ocultar enlace de contacto en cabecera para dejar solo el vehículo a la izquierda */
header a[href*="contactenos"],
#header a[href*="contactenos"] {
	display: none !important;
}
/* Tema: ocultar en topbar basado en estructura banner/nav */
.banner nav a[href*="contactenos"]{ display:none !important; }

/* Force single-line layout in header */
#header .psvc-selector__form {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	gap: .5rem !important;
}
#header .psvc-selector__form .form-control {
	width: auto !important;
	display: inline-block !important;
	flex: 0 0 auto !important;
	min-width: 180px !important;
	max-width: 260px !important;
}
#header .psvc-selector__form button { height: 36px !important; }
.psvc-selector__form .form-control { display: inline-block !important; margin: 0 !important; }
/* #psvc-apply and #psvc-add-garage visibility controlled by garage-redesign.css */

/* Integration with Shoppica theme */
.psvc-selector {
    margin: 0;
    padding: 5px 0;
}
.psvc-selector__form {
    justify-content: center;
}
.tvheader-offer-wrapper .psvc-selector__form {
    justify-content: flex-start;
}
.tvheader-offer-wrapper .psvc-selected-nav {
	margin-left: .5rem;
}
/* Ajuste wrapper top nueva barra */
#wrappertop .psvc-filter-bar { margin:0 0 1.25rem; }
@media (max-width: 991.98px) {
	.psvc-filter-row { flex-wrap:wrap; }
	.psvc-col-actions { flex:1 1 100%; order:5; }
	.psvc-actions { flex-direction:row; }
	.psvc-actions .btn { flex:1 1 50%; }
}

/* Accesibilidad: foco */
.psvc-filter-bar select:focus, #psvc-search:focus { outline:2px solid #2684ff; outline-offset:1px; }

/* Suavizado visual */
.psvc-filter-bar select[disabled], .psvc-actions .btn[disabled] { opacity:.55; cursor:not-allowed; }
/* Literal variant notes share the existing PDP compatibility surfaces. */
.psvc-variant-note {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.psvc-variant-note[hidden] {
  display: none !important;
}
.psvc-variant-note__literal {
  white-space: pre-wrap;
}
