/* Ingeniería Real v62: limpieza final sin cambiar la esencia de v51. */
:root{--ir62-bg:#000000;--ir62-panel:#0D141B;--ir62-panel-2:#111B24;--ir62-line:rgba(88,242,244,.16);--ir62-text:#EAF2F5;--ir62-muted:#B8C8CE;--ir62-orange:#F57404;--ir62-cyan:#58F2F4;}

/* Evita que Directories Pro convierta navegación interna en botones gigantes. */
body.ir-v2-mode-oscuro .drts [class*="dashboard"] .btn:not(.drts-bs-btn-primary):not(.btn-primary):not([type="submit"]),
body.ir-v2-mode-oscuro .drts [class*="dashboard"] .drts-bs-btn:not(.drts-bs-btn-primary):not(.btn-primary):not([type="submit"]),
body.ir-v2-mode-oscuro .drts [class*="panel"] .btn:not(.drts-bs-btn-primary):not(.btn-primary):not([type="submit"]),
body.ir-v2-mode-oscuro .drts [class*="panel"] .drts-bs-btn:not(.drts-bs-btn-primary):not(.btn-primary):not([type="submit"]),
body.ir-v2-mode-oscuro .drts .ir62-panel-menu-item,
body.ir-v2-mode-oscuro .drts .ir62-panel-menu-item:visited{
	background:transparent!important;
	background-color:transparent!important;
	background-image:none!important;
	border:0!important;
	box-shadow:none!important;
	border-radius:0!important;
	color:var(--ir62-text)!important;
	fill:currentColor!important;
	font-size:13px!important;
	font-weight:500!important;
	line-height:1.35!important;
	padding:8px 10px!important;
	min-height:0!important;
	height:auto!important;
	text-decoration:none!important;
	text-shadow:none!important;
}
body.ir-v2-mode-oscuro .drts .ir62-panel-menu-item *,
body.ir-v2-mode-oscuro .drts [class*="dashboard"] .btn:not(.drts-bs-btn-primary):not(.btn-primary):not([type="submit"]) *,
body.ir-v2-mode-oscuro .drts [class*="panel"] .btn:not(.drts-bs-btn-primary):not(.btn-primary):not([type="submit"]) *{
	background:transparent!important;
	color:inherit!important;
	fill:currentColor!important;
	text-shadow:none!important;
}
body.ir-v2-mode-oscuro .drts .ir62-panel-menu-item:hover,
body.ir-v2-mode-oscuro .drts .ir62-panel-menu-item:focus{
	color:var(--ir62-orange)!important;
	background:transparent!important;
	outline:0!important;
}
body.ir-v2-mode-oscuro .drts .ir62-panel-section,
body.ir-v2-mode-oscuro .drts .ir62-panel-section *{
	background:transparent!important;
	background-image:none!important;
	border:0!important;
	box-shadow:none!important;
	color:var(--ir62-orange)!important;
	font-size:13px!important;
	font-weight:700!important;
	line-height:1.25!important;
	text-shadow:none!important;
}
body.ir-v2-mode-oscuro .drts .ir62-panel-logout,
body.ir-v2-mode-oscuro .drts .ir62-panel-logout:visited{
	background:var(--ir62-orange)!important;
	background-image:none!important;
	border:1px solid var(--ir62-orange)!important;
	border-radius:6px!important;
	box-shadow:none!important;
	color:#000!important;
	font-weight:700!important;
	padding:9px 14px!important;
}
body.ir-v2-mode-oscuro .drts .ir62-panel-logout *{color:#000!important;fill:#000!important;}

/* Botones reales del directorio: solo acciones, no navegación. */
body.ir-v2-mode-oscuro .drts .drts-bs-btn-primary,
body.ir-v2-mode-oscuro .drts .btn-primary,
body.ir-v2-mode-oscuro .drts a[href*="contact"].btn,
body.ir-v2-mode-oscuro .drts a[href*="message"].btn,
body.ir-v2-mode-oscuro .drts button[type="submit"],
body.ir-v2-mode-oscuro .drts input[type="submit"]{
	background:var(--ir62-orange)!important;
	background-image:none!important;
	border:1px solid var(--ir62-orange)!important;
	color:#000!important;
	box-shadow:none!important;
	text-shadow:none!important;
	font-weight:700!important;
}
body.ir-v2-mode-oscuro .drts .drts-bs-btn-primary:hover,
body.ir-v2-mode-oscuro .drts .btn-primary:hover,
body.ir-v2-mode-oscuro .drts button[type="submit"]:hover,
body.ir-v2-mode-oscuro .drts input[type="submit"]:hover{
	background:var(--ir62-cyan)!important;
	border-color:var(--ir62-cyan)!important;
	color:#000!important;
}

/* Pago, carrito y facturación: una sola superficie oscura, sin degradados ni brillos. */
body.ir-v2-mode-oscuro.woocommerce-cart .inside-article,
body.ir-v2-mode-oscuro.woocommerce-checkout .inside-article,
body.ir-v2-mode-oscuro .woocommerce-cart-form,
body.ir-v2-mode-oscuro .cart_totals,
body.ir-v2-mode-oscuro .woocommerce form.checkout,
body.ir-v2-mode-oscuro .woocommerce .woocommerce-checkout,
body.ir-v2-mode-oscuro .woocommerce-checkout-review-order,
body.ir-v2-mode-oscuro .woocommerce table.shop_table,
body.ir-v2-mode-oscuro .woocommerce table.shop_table thead,
body.ir-v2-mode-oscuro .woocommerce table.shop_table tbody,
body.ir-v2-mode-oscuro .woocommerce table.shop_table tfoot,
body.ir-v2-mode-oscuro .woocommerce table.shop_table tr,
body.ir-v2-mode-oscuro .woocommerce table.shop_table th,
body.ir-v2-mode-oscuro .woocommerce table.shop_table td{
	background:var(--ir62-panel)!important;
	background-color:var(--ir62-panel)!important;
	background-image:none!important;
	box-shadow:none!important;
	text-shadow:none!important;
	border-color:var(--ir62-line)!important;
	color:var(--ir62-text)!important;
}
body.ir-v2-mode-oscuro .woocommerce table.shop_table th,
body.ir-v2-mode-oscuro .woocommerce table.shop_table thead th{
	background:var(--ir62-panel-2)!important;
	color:var(--ir62-text)!important;
	font-weight:700!important;
}
body.ir-v2-mode-oscuro .woocommerce table.shop_table a:not(.button){color:var(--ir62-orange)!important;}
body.ir-v2-mode-oscuro .woocommerce table.shop_table .amount,
body.ir-v2-mode-oscuro .woocommerce .cart_totals .amount,
body.ir-v2-mode-oscuro .woocommerce-checkout-review-order .amount{color:var(--ir62-orange)!important;font-weight:800!important;}
body.ir-v2-mode-oscuro .woocommerce .woocommerce-info,
body.ir-v2-mode-oscuro .woocommerce .woocommerce-message,
body.ir-v2-mode-oscuro .woocommerce .woocommerce-error{
	background:var(--ir62-panel)!important;
	background-image:none!important;
	border:1px solid var(--ir62-line)!important;
	box-shadow:none!important;
	color:var(--ir62-text)!important;
}
body.ir-v2-mode-oscuro .woocommerce form .form-row input.input-text,
body.ir-v2-mode-oscuro .woocommerce form .form-row textarea,
body.ir-v2-mode-oscuro .woocommerce form .form-row select,
body.ir-v2-mode-oscuro .woocommerce .select2-container .select2-selection--single{
	background:#081016!important;
	background-image:none!important;
	border:1px solid var(--ir62-line)!important;
	box-shadow:none!important;
	color:var(--ir62-text)!important;
}
body.ir-v2-mode-oscuro .woocommerce .quantity .qty{background:#081016!important;color:var(--ir62-text)!important;}

/* Directorio: miniaturas visibles y sin placa gris encima. */
body.ir-v2-mode-oscuro .drts .drts-bs-card-img-top,
body.ir-v2-mode-oscuro .drts .card-img-top,
body.ir-v2-mode-oscuro .drts .card-img,
body.ir-v2-mode-oscuro .drts .card-image,
body.ir-v2-mode-oscuro .drts .card-header[style*="background-image"],
body.ir-v2-mode-oscuro .drts .drts-entity-thumbnail,
body.ir-v2-mode-oscuro .drts .drts-display-element-thumbnail,
body.ir-v2-mode-oscuro .drts .drts-display-element-entity_field_featured_image,
body.ir-v2-mode-oscuro .drts .drts-display-element-entity_field_image,
body.ir-v2-mode-oscuro .drts [class*="thumbnail"],
body.ir-v2-mode-oscuro .drts [class*="featured"]{
	background-color:transparent!important;
	background-blend-mode:normal!important;
	box-shadow:none!important;
	filter:none!important;
	isolation:isolate!important;
	overflow:hidden!important;
	position:relative!important;
}
body.ir-v2-mode-oscuro .drts .drts-bs-card-img-top::before,
body.ir-v2-mode-oscuro .drts .drts-bs-card-img-top::after,
body.ir-v2-mode-oscuro .drts .card-img-top::before,
body.ir-v2-mode-oscuro .drts .card-img-top::after,
body.ir-v2-mode-oscuro .drts .card-img::before,
body.ir-v2-mode-oscuro .drts .card-img::after,
body.ir-v2-mode-oscuro .drts .card-image::before,
body.ir-v2-mode-oscuro .drts .card-image::after,
body.ir-v2-mode-oscuro .drts [class*="thumbnail"]::before,
body.ir-v2-mode-oscuro .drts [class*="thumbnail"]::after,
body.ir-v2-mode-oscuro .drts [class*="featured"]::before,
body.ir-v2-mode-oscuro .drts [class*="featured"]::after{
	display:none!important;
	content:none!important;
	background:none!important;
	box-shadow:none!important;
}
body.ir-v2-mode-oscuro .drts .drts-bs-card-img-top img,
body.ir-v2-mode-oscuro .drts .card-img-top img,
body.ir-v2-mode-oscuro .drts .card-img img,
body.ir-v2-mode-oscuro .drts .card-image img,
body.ir-v2-mode-oscuro .drts .drts-entity-thumbnail img,
body.ir-v2-mode-oscuro .drts .drts-display-element-thumbnail img,
body.ir-v2-mode-oscuro .drts .drts-display-element-entity_field_featured_image img,
body.ir-v2-mode-oscuro .drts .drts-display-element-entity_field_image img{
	display:block!important;
	visibility:visible!important;
	opacity:1!important;
	filter:none!important;
	mix-blend-mode:normal!important;
	position:relative!important;
	z-index:2!important;
	width:100%!important;
	height:100%!important;
	object-fit:cover!important;
	object-position:center center!important;
}
body.ir-v2-mode-oscuro .drts .drts-bs-card-img-top:not([style*="background-image"]):not(:has(img)),
body.ir-v2-mode-oscuro .drts .card-img-top:not([style*="background-image"]):not(:has(img)),
body.ir-v2-mode-oscuro .drts .card-img:not([style*="background-image"]):not(:has(img)),
body.ir-v2-mode-oscuro .drts .card-image:not([style*="background-image"]):not(:has(img)){
	display:none!important;
	min-height:0!important;
	height:0!important;
	margin:0!important;
	padding:0!important;
}

/* Limpieza general de brillos innecesarios sin tocar identidad visual. */
body.ir-v2-mode-oscuro .inside-article,
body.ir-v2-mode-oscuro .woocommerce div.product,
body.ir-v2-mode-oscuro .woocommerce ul.products li.product,
body.ir-v2-mode-oscuro .drts .drts-bs-card,
body.ir-v2-mode-oscuro .drts .card{
	box-shadow:none!important;
}
