/* PRAFER Soluciones SEO — grid Machic-aligned CRO Fase 1 (Staging) v1.2.3 */
.prafer-soluciones-block {
	width: 100%;
	max-width: 100%;
	margin: 0 0 1.5rem;
	overflow-x: hidden;
	box-sizing: border-box;
}

.prafer-soluciones-grid,
.prafer-soluciones-grid .woocommerce {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

.prafer-soluciones-grid .products,
.prafer-soluciones-grid ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(240px, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	max-width: 100%;
}

.prafer-soluciones-grid .product,
.prafer-soluciones-grid li.product,
.prafer-soluciones-grid .product .product-wrapper,
.prafer-soluciones-grid .product .product-inner {
	border-radius: 12px !important;
}

.prafer-soluciones-grid .product,
.prafer-soluciones-grid li.product {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	background: #ffffff !important;
	border: 1px solid #f1f5f9 !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	box-sizing: border-box !important;
	position: relative;
	padding: 16px !important;
	border-radius: 12px !important;
}

.prafer-soluciones-grid .product:hover,
.prafer-soluciones-grid li.product:hover {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
	transform: translateY(-2px);
}

.prafer-soluciones-grid .product .woocommerce-loop-product__title,
.prafer-soluciones-grid .product .product-title,
.prafer-soluciones-grid .product h2,
.prafer-soluciones-grid .product h3 {
	min-height: 2.6em;
	line-height: 1.3;
	margin-bottom: 0.5rem;
}

.prafer-soluciones-grid .product .price {
	margin-top: auto;
	font-weight: 600;
}

/* Botones de acción — altura uniforme 44px */
.prafer-soluciones-grid .product .button,
.prafer-soluciones-grid .product .add_to_cart_button,
.prafer-soluciones-grid .product a.button,
.prafer-soluciones-grid .product .product-price-cart .button,
.prafer-soluciones-grid .product .product-footer-buttons > a,
.prafer-soluciones-grid .product .product-footer-buttons > button {
	height: 44px !important;
	line-height: 44px !important;
	min-height: 44px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

/* Badges de descuento — rojo destacado, esquina superior de la imagen */
.prafer-soluciones-grid .product .product-thumbnail,
.prafer-soluciones-grid .product .product-content,
.prafer-soluciones-grid .product .product-wrapper {
	position: relative;
}

.prafer-soluciones-grid .onsale,
.prafer-soluciones-grid .badge.onsale,
.prafer-soluciones-grid .product-badges .badge.onsale,
.prafer-soluciones-grid span.onsale {
	position: absolute !important;
	top: 0.75rem !important;
	left: 0.75rem !important;
	z-index: 2;
	background-color: #e63946 !important;
	color: #fff !important;
	border-radius: 12px !important;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.prafer-soluciones-grid .product-badges {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
	pointer-events: none;
}

.prafer-soluciones-block .no-products-found {
	margin: 0;
	padding: 1.25rem 1rem;
	border-radius: 12px;
	background: #f8fafc;
	color: #475569;
	border: 1px dashed #cbd5e1;
	text-align: center;
}

/* Tablet: 3 columnas */
@media (max-width: 1024px) {
	.prafer-soluciones-grid .products,
	.prafer-soluciones-grid ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Mobile: 2 columnas, sin desbordamiento horizontal */
@media (max-width: 768px) {
	.prafer-soluciones-grid .products,
	.prafer-soluciones-grid ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	.prafer-soluciones-grid .product .button,
	.prafer-soluciones-grid .product .add_to_cart_button,
	.prafer-soluciones-grid .product a.button {
		height: 44px !important;
		line-height: 44px !important;
		font-size: 0.8125rem;
	}
}

/* Paridad CRO en archivos de taxonomía /soluciones/{caso}/ */
.tax-caso_de_uso .site-content ul.products,
.tax-caso_de_uso ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tax-caso_de_uso ul.products .product,
.tax-caso_de_uso ul.products li.product {
	border-radius: 12px !important;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	position: relative;
}

.tax-caso_de_uso ul.products .product:hover,
.tax-caso_de_uso ul.products li.product:hover {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.tax-caso_de_uso ul.products .button,
.tax-caso_de_uso ul.products .add_to_cart_button,
.tax-caso_de_uso ul.products a.button {
	height: 44px !important;
	line-height: 44px !important;
	min-height: 44px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}

.tax-caso_de_uso .onsale,
.tax-caso_de_uso .badge.onsale,
.tax-caso_de_uso span.onsale {
	position: absolute !important;
	top: 0.75rem !important;
	left: 0.75rem !important;
	z-index: 2;
	background-color: #e63946 !important;
	color: #fff !important;
	border-radius: 12px !important;
}

@media (max-width: 1024px) {
	.tax-caso_de_uso ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.tax-caso_de_uso ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}
}

/* Fase 2 — Botonera filtros + headings semánticos (Machic) */
.prafer-filter-nav {
	display: flex;
	gap: 12px;
	margin-bottom: 30px;
	overflow-x: auto;
	padding-bottom: 10px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.prafer-filter-btn {
	background: #f4f6f9 !important;
	color: #1e293b !important;
	padding: 10px 18px !important;
	border-radius: 30px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	border: 1px solid #e2e8f0 !important;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	line-height: 1.2;
}

.prafer-filter-btn:hover,
.prafer-filter-btn.active {
	background: #0066cc !important;
	color: #ffffff !important;
	border-color: #0066cc !important;
}

.prafer-soluciones-heading {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 1rem;
	color: #0f172a;
	letter-spacing: -0.01em;
}

.prafer-soluciones-section {
	margin: 0 0 2.5rem;
	scroll-margin-top: 96px;
}

.prafer-soluciones-sections {
	width: 100%;
}

/* Fase 3 — Box model aireado Machic (padding interno 16px) */
body.archive.tax-caso_de_uso .site-main ul.products li.product,
body .machic-products-grid ul.products li.product,
body .prafer-soluciones-grid ul.products li.product,
body .prafer-soluciones-landing ul.products li.product,
.prafer-soluciones-grid .product-category.product {
	border-radius: 12px !important;
	padding: 16px !important;
	background: #ffffff !important;
	border: 1px solid #f1f5f9 !important;
	box-sizing: border-box !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

body.archive.tax-caso_de_uso .products li.product .product-content,
body.archive.tax-caso_de_uso .products li.product .product-caption,
body .machic-products-grid li.product .product-content,
body .machic-products-grid li.product .product-caption,
body .prafer-soluciones-grid li.product .product-content,
body .prafer-soluciones-grid li.product .product-caption {
	padding: 12px 4px 0 4px !important;
}

body.archive.tax-caso_de_uso .products li.product .woocommerce-loop-product__title,
body.archive.tax-caso_de_uso .products li.product h2.woocommerce-loop-product__title,
body .machic-products-grid li.product .woocommerce-loop-product__title,
body .machic-products-grid li.product h2.woocommerce-loop-product__title,
body .prafer-soluciones-grid li.product .woocommerce-loop-product__title,
body .prafer-soluciones-grid li.product h2.woocommerce-loop-product__title,
body .prafer-soluciones-grid li.product h2,
body .prafer-soluciones-grid li.product h3 {
	font-size: 14px !important;
	line-height: 1.4 !important;
	height: 40px !important;
	min-height: 40px !important;
	overflow: hidden;
	margin-bottom: 10px !important;
	color: #0f172a !important;
}

body.archive.tax-caso_de_uso .products li.product .price,
body .machic-products-grid li.product .price,
body .prafer-soluciones-grid li.product .price {
	margin-bottom: 14px !important;
	margin-top: auto;
	display: block !important;
}

body.archive.tax-caso_de_uso .products li.product .button.add_to_cart_button,
body .machic-products-grid li.product .button.add_to_cart_button,
body .prafer-soluciones-grid li.product .button.add_to_cart_button,
body .prafer-soluciones-grid li.product a.button {
	border-radius: 8px !important;
	width: 100% !important;
	text-align: center !important;
	justify-content: center !important;
}

/* Fase 4 — Máxima especificidad vs Machic/Woo (v2.0.0-pad16) */
html body.woocommerce ul.products li.product,
html body.woocommerce-page ul.products li.product,
html body .machic-products-grid ul.products li.product,
html body.archive.tax-caso_de_uso .site-main ul.products li.product,
html body .prafer-soluciones-grid ul.products li.product,
html body .prafer-soluciones-landing ul.products li.product {
	padding: 18px 16px !important;
	border-radius: 12px !important;
	background-color: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	box-sizing: border-box !important;
}

html body .products li.product .product-wrapper,
html body .products li.product .product-content,
html body .products li.product .product-caption,
html body .prafer-soluciones-grid li.product .product-wrapper,
html body .prafer-soluciones-grid li.product .product-content,
html body .prafer-soluciones-grid li.product .product-caption {
	padding: 12px 8px 0 8px !important;
	margin: 0 !important;
}

html body .products li.product .woocommerce-loop-product__title,
html body .products li.product h2.woocommerce-loop-product__title,
html body .prafer-soluciones-grid li.product .woocommerce-loop-product__title,
html body .prafer-soluciones-grid li.product h2.woocommerce-loop-product__title {
	padding: 0 4px !important;
	margin-top: 8px !important;
	margin-bottom: 12px !important;
	height: 40px !important;
	line-height: 1.4 !important;
	font-size: 14px !important;
}

/* Fase 5 — Ancho real de tarjeta (Machic usa div.products.column-4 + max-width:25%) */
html body .prafer-soluciones-grid .products,
html body .prafer-soluciones-grid .products.column-4,
html body .prafer-soluciones-grid ul.products,
html body .prafer-soluciones-landing .products,
html body.archive.tax-caso_de_uso .prafer-soluciones-landing .products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(240px, 1fr)) !important;
	gap: 1.5rem !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

html body .prafer-soluciones-grid .products .product,
html body .prafer-soluciones-grid .products.column-4 .product,
html body .prafer-soluciones-grid .products.column-4 .product.first,
html body .prafer-soluciones-grid .products.column-4 .product.last,
html body .prafer-soluciones-landing .products .product,
html body.woocommerce .prafer-soluciones-grid .product,
html body.woocommerce-page .prafer-soluciones-grid .product {
	flex: none !important;
	-ms-flex: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	float: none !important;
	margin: 0 !important;
	padding: 16px !important;
	box-sizing: border-box !important;
}

html body .prafer-soluciones-grid .product .thumbnail-wrapper,
html body .prafer-soluciones-grid .product .thumbnail-wrapper a,
html body .prafer-soluciones-grid .product .product-wrapper,
html body .prafer-soluciones-grid .product .product-content {
	width: 100% !important;
	max-width: 100% !important;
	display: block;
}

html body .prafer-soluciones-grid .product .thumbnail-wrapper img,
html body .prafer-soluciones-grid .product img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	object-fit: contain;
	display: block;
}

html body .prafer-soluciones-grid .product .product-title,
html body .prafer-soluciones-grid .product h3.product-title,
html body .prafer-soluciones-grid .product .product-title a {
	height: auto !important;
	min-height: 2.8em;
	max-height: 2.8em;
	line-height: 1.4 !important;
	font-size: 14px !important;
	overflow: hidden;
	word-break: normal !important;
	overflow-wrap: break-word !important;
	white-space: normal !important;
}

@media (max-width: 1100px) {
	html body .prafer-soluciones-grid .products,
	html body .prafer-soluciones-grid .products.column-4,
	html body .prafer-soluciones-landing .products {
		grid-template-columns: repeat(3, minmax(200px, 1fr)) !important;
	}
}

@media (max-width: 768px) {
	html body .prafer-soluciones-grid .products,
	html body .prafer-soluciones-grid .products.column-4,
	html body .prafer-soluciones-landing .products {
		grid-template-columns: repeat(2, minmax(150px, 1fr)) !important;
		gap: 0.875rem !important;
	}
}

/* Botonera unificada: visibilidad por data-section / style.display */
.prafer-filter-section,
.prafer-equipos-section {
	display: block;
}
.prafer-filter-nav {
	flex-wrap: wrap;
}
.prafer-filter-nav .prafer-filter-btn {
	font-size: 13px !important;
}

/* Estado inicial mientras JS procesa el barajado */
.prafer-random-grid {
	opacity: 0;
	transition: opacity 0.15s ease-in-out;
}

/* Estado activo revelado por JS */
.prafer-random-grid.is-shuffled,
.no-js .prafer-random-grid {
	opacity: 1 !important;
}

/* Pool cacheado: el JS oculta el excedente del Fisher-Yates */
.prafer-random-grid > .product[style*="display: none"],
.prafer-random-grid > li.product[style*="display: none"] {
	display: none !important;
}

/* Badges de condición NUEVO / REACONDICIONADO (esquina superior izquierda) */
.prafer-soluciones-grid .thumbnail-wrapper {
	position: relative;
}
.prafer-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 5;
	padding: 3px 8px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	border-radius: 6px;
	line-height: 1;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	pointer-events: none;
}
.prafer-badge--new {
	background-color: #0d9488 !important; /* Verde Teal profesional */
	color: #ffffff !important;
}
.prafer-badge--refurbished {
	background-color: #d97706 !important; /* Naranja / Ámbar destacado */
	color: #ffffff !important;
}

/* Badge alineado a la derecha (procedencia) */
.prafer-badge--right {
	left: auto !important;
	right: 10px !important;
}

/* Badge ORIGINAL (Azul Tech) */
.prafer-badge--original {
	background-color: #2563eb !important;
	color: #ffffff !important;
}

/* Badge ALTERNATIVO (Gris Slate / Neutro) */
.prafer-badge--alternative {
	background-color: #64748b !important;
	color: #ffffff !important;
}

.prafer-count-badge {
	font-size: 13px !important;
	color: #64748b !important;
	font-weight: 500 !important;
	margin-left: 8px;
}
.prafer-more-wrapper {
	text-align: center;
	margin-top: 24px;
	margin-bottom: 30px;
	grid-column: 1 / -1;
	width: 100%;
}
.prafer-btn-expand {
	background: #ffffff !important;
	color: #0066cc !important;
	border: 1.5px solid #0066cc !important;
	padding: 10px 24px !important;
	border-radius: 30px !important;
	font-weight: 600 !important;
	cursor: pointer;
	transition: all 0.2s ease;
}
.prafer-btn-expand:hover {
	background: #0066cc !important;
	color: #ffffff !important;
}

/* --- Cotización B2B PDP (Staging) --- */
.prafer-b2b-quote-box {
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	padding: 16px;
	margin-top: 20px;
	margin-bottom: 20px;
}
.prafer-b2b-header {
	color: #0f172a;
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 8px;
}
.prafer-b2b-subtext {
	font-size: 13px;
	color: #64748b;
	margin: 6px 0 12px 0;
	line-height: 1.4;
}
.prafer-b2b-btn {
	background: #0066cc !important;
	color: #ffffff !important;
	border: none !important;
	padding: 10px 18px !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	cursor: pointer;
	transition: all 0.2s ease;
	width: 100%;
	text-align: center;
}
.prafer-b2b-btn:hover {
	background: #004c99 !important;
}
.prafer-quote-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(4px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}
.prafer-quote-modal-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}
.prafer-quote-modal-overlay[hidden] {
	display: none !important;
}
.prafer-quote-modal {
	background: #ffffff;
	border-radius: 14px;
	padding: 28px;
	width: 90%;
	max-width: 540px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
	position: relative;
}
.prafer-quote-close {
	position: absolute;
	top: 16px;
	right: 20px;
	font-size: 24px;
	cursor: pointer;
	color: #64748b;
	background: transparent;
	border: none;
	line-height: 1;
}
.prafer-quote-close:hover { color: #0f172a; }
#prafer-quote-product-display {
	color: #0d2b4f;
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 1.3em;
	padding-right: 28px;
}
.prafer-qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prafer-qfull { grid-column: span 2; }
.prafer-qfield label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	color: #334155;
	text-transform: uppercase;
	margin-bottom: 4px;
}
.prafer-qfield input,
.prafer-qfield select,
.prafer-qfield textarea {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 13px;
	box-sizing: border-box;
}
.prafer-quote-actions { margin-top: 20px; }
.prafer-b2b-submit {
	width: 100%;
	background: #0d2b4f;
	color: #ffffff;
	border: none;
	padding: 12px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease;
}
.prafer-b2b-submit:hover { background: #007cba; }
.prafer-quote-success { text-align: center; padding: 30px 10px; }
.prafer-quote-success-icon { font-size: 40px; margin-bottom: 10px; }
.prafer-quote-success h3 { color: #0d2b4f; margin-bottom: 10px; }
.prafer-quote-success p { color: #64748b; font-size: 14px; }
.prafer-b2b-close-success {
	background: #0d2b4f;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	cursor: pointer;
	font-weight: bold;
	margin-top: 15px;
}
@media (max-width: 640px) {
	.prafer-qgrid { grid-template-columns: 1fr; }
	.prafer-qfull { grid-column: span 1; }
}

.prafer-badge--off {
	background-color: #e11d48 !important;
	color: #ffffff !important;
	left: auto !important;
	right: 10px !important;
	font-weight: 800 !important;
}
.prafer-badge--right.prafer-badge--original,
.prafer-badge--right.prafer-badge--alternative {
	top: 38px;
}
body.page-id-43059 .prafer-soluciones-grid .onsale,
body.page-liquidacion .prafer-soluciones-grid .onsale {
	display: none !important;
}


/* ========== Prafer Mobile Bottom Navigation ========== */
.prafer-mobile-bottom-nav {
	display: none;
}
@media (max-width: 768px) {
	body {
		padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px)) !important;
	}
	.prafer-mobile-bottom-nav {
		display: block !important;
		position: fixed !important;
		bottom: 0 !important;
		left: 0 !important;
		width: 100% !important;
		background: #ffffff !important;
		border-top: 1px solid #e2e8f0 !important;
		box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08) !important;
		z-index: 99999 !important;
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
	.prafer-mobile-nav-list {
		display: flex !important;
		justify-content: space-around !important;
		align-items: center !important;
		margin: 0 !important;
		padding: 6px 0 !important;
		list-style: none !important;
		width: 100% !important;
	}
	.prafer-mobile-nav-list li {
		flex: 1 !important;
		text-align: center !important;
		margin: 0 !important;
		position: relative !important;
	}
	.prafer-mobile-nav-list li a {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		font-size: 11px !important;
		font-weight: 600 !important;
		color: #475569 !important;
		text-decoration: none !important;
		line-height: 1.2 !important;
		padding: 4px 0 !important;
		position: relative !important;
	}
	.prafer-mobile-nav-list li a:hover,
	.prafer-mobile-nav-list li.current-menu-item a,
	.prafer-mobile-nav-list li.current_page_item a {
		color: #0066cc !important;
	}
	.prafer-mobile-nav-list li a i,
	.prafer-mobile-nav-list li a svg {
		font-size: 18px !important;
		margin-bottom: 2px !important;
	}
	.prafer-mobile-cart-count {
		position: absolute !important;
		top: 0 !important;
		right: calc(50% - 22px) !important;
		min-width: 16px !important;
		height: 16px !important;
		padding: 0 4px !important;
		border-radius: 999px !important;
		background: #e11d48 !important;
		color: #fff !important;
		font-size: 10px !important;
		font-weight: 700 !important;
		line-height: 16px !important;
		text-align: center !important;
	}
	.prafer-mobile-cart-count.is-empty {
		display: none !important;
	}
}

/* ==========================================================================
   MENÚ LATERAL: Desplegado SOLO en Homepage, Colapsado en Páginas Internas
   ========================================================================== */

.site-header {
	height: auto !important;
}

/* 1. EXCLUSIVO HOMEPAGE (Desktop >= 992px) */
@media (min-width: 992px) {
	body.home .site-header .vertical-menu .dropdown-menu,
	body.home .site-header .all-departments .dropdown-menu,
	body.home .site-header .department-menu .dropdown-menu,
	body.home .site-header .site-departments .departments-menu,
	body.home .site-header .prafer-site-departments .departments-menu,
	body.home .site-header .departments-menu.collapse,
	body.home .site-header .departments-menu.collapse.show {
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
		position: absolute !important;
		top: 100% !important;
		left: 0 !important;
		width: 270px !important;
		height: auto !important;
		z-index: 999 !important;
		background: #ffffff !important;
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
		border: 1px solid #e2e8f0 !important;
		border-top: none !important;
		margin: 0 !important;
	}

	body.home .site-header .vertical-menu,
	body.home .site-header .all-departments,
	body.home .site-header .department-menu,
	body.home .site-header .site-departments,
	body.home .site-header .prafer-site-departments,
	body.home .site-header .site-departments-wrapper,
	body.home .site-header .departments-menu-wrapper {
		position: relative !important;
		height: auto !important;
		overflow: visible !important;
	}

	body.home .site-header .header-main,
	body.home .site-header .header-row,
	body.home .site-header .header-wrapper {
		overflow: visible !important;
	}
}

/* 2. REGLA ESTRICTA PARA PÁGINAS INTERNAS (Cerrado por defecto) */
@media (min-width: 992px) {
	body:not(.home) .site-header .vertical-menu .dropdown-menu,
	body:not(.home) .site-header .all-departments .dropdown-menu,
	body:not(.home) .site-header .department-menu .dropdown-menu,
	body:not(.home) .site-header .site-departments .departments-menu.collapse:not(.show),
	body:not(.home) .site-header .prafer-site-departments .departments-menu.collapse:not(.show),
	body:not(.home) .site-header .departments-menu.collapse:not(.show) {
		display: none !important;
		opacity: 0 !important;
		visibility: hidden !important;
	}

	body:not(.home) .site-header .departments-menu.collapse.show,
	body:not(.home) .site-header .vertical-menu.open .dropdown-menu,
	body:not(.home) .site-header .site-departments.open .departments-menu {
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
		position: absolute !important;
		top: 100% !important;
		left: 0 !important;
		width: 270px !important;
		z-index: 999 !important;
		background: #ffffff !important;
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
	}
}

