/* ----------------------------------------------------------------
	Primary Menu
-----------------------------------------------------------------*/


#primary-menu-2 { float: right; }

#primary-menu-2 ul.mobile-primary-menu-2 { display: none; }

#header.full-header #primary-menu-2 > ul {
	float: left;
	padding-right: 15px;
	margin-right: 15px;
	border-right: 1px solid #EEE;
}

#header.transparent-header.full-header #primary-menu-2 > ul { border-right-color: rgba(0,0,0,0.1); }

#primary-menu-2-trigger,
#page-submenu-trigger {
	opacity: 0;
	pointer-events: none;
	cursor: pointer;
	font-size: 14px;
	position: absolute;
	top: 50%;
	margin-top: -25px;
	width: 50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	-webkit-transition: opacity .3s ease;
	-o-transition: opacity .3s ease;
	transition: opacity .3s ease;
}

#primary-menu-2 ul {
	list-style: none;
	margin: 0;
}

#primary-menu-2 > ul { float: left; }

#primary-menu-2 ul li { position: relative; }

#primary-menu-2 ul li.mega-menu { position: inherit; }

#primary-menu-2 ul > li {
	float: left;
	margin-left: 2px;
}

#primary-menu-2 > ul > li:first-child { margin-left: 0; }

#primary-menu-2 ul li > a {
	display: block;
	line-height: 22px;
	padding: 39px 15px;
	color: #fff;
	font-weight: bold;
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-family: 'Raleway', sans-serif;
	-webkit-transition: margin .4s ease, padding .4s ease;
	-o-transition: margin .4s ease, padding .4s ease;
	transition: margin .4s ease, padding .4s ease;
}

#primary-menu-2 ul li > a span { display: none; }

#primary-menu-2 ul li > a i {
	position: relative;
	top: -1px;
	font-size: 14px;
	width: 16px;
	text-align: center;
	margin-right: 6px;
	vertical-align: top;
}

#primary-menu-2 ul li > a i.icon-angle-down:last-child {
	font-size: 12px;
	margin: 0 0 0 5px;
}

#primary-menu-2 ul li:hover > a,
#primary-menu-2 ul li.current > a { color: #1ABC9C; }

#primary-menu-2 > ul > li.sub-menu > a > div { }

body.no-superfish #primary-menu-2 li:hover > ul:not(.mega-menu-column),
body.no-superfish #primary-menu-2 li:hover > .mega-menu-content { display: block; }

#primary-menu-2 ul ul:not(.mega-menu-column),
#primary-menu-2 ul li .mega-menu-content {
	display: none;
	position: absolute;
	width: 220px;
	background-color: #FFF;
	box-shadow: 0px 13px 42px 11px rgba(0, 0, 0, 0.05);
	border: 1px solid #EEE;
	border-top: 2px solid #1ABC9C;
	height: auto;
	z-index: 199;
	top: 100%;
	left: 0;
	margin: 0;
}

#primary-menu-2 ul ul:not(.mega-menu-column) ul {
	top: -2px !important;
	left: 218px;
}

#primary-menu-2 ul ul.menu-pos-invert:not(.mega-menu-column),
#primary-menu-2 ul li .mega-menu-content.menu-pos-invert {
	left: auto;
	right: 0;
}

#primary-menu-2 ul ul:not(.mega-menu-column) ul.menu-pos-invert { right: 218px; }

#primary-menu-2 ul ul li {
	float: none;
	margin: 0;
}

#primary-menu-2 ul ul li:first-child { border-top: 0; }

#primary-menu-2 ul ul li > a {
	font-size: 12px;
	font-weight: 600;
	color: #666;
	padding-top: 10px;
	padding-bottom: 10px;
	border: 0;
	letter-spacing: 0;
	font-family: 'Lato', sans-serif;
	-webkit-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

#primary-menu-2 ul ul li > a i { vertical-align: middle; }

#primary-menu-2 ul ul li:hover > a {
	background-color: #F9F9F9;
	padding-left: 18px;
	color: #1ABC9C;
}

#primary-menu-2 ul ul > li.sub-menu > a,
#primary-menu-2 ul ul > li.sub-menu:hover > a {
	background-image: url("images/icons/submenu.png");
	background-position: right center;
	background-repeat: no-repeat;
}




.editar{
	color: #fff;
	font-size: 15px;
}

.editar:hover{
	color: #ed1c24 !important;
}

.editar-dark{
	color: #fff;
	font-size: 15px;
}

.editar-dark:hover{
	color: #ed1c24 !important;
}

.btn-e{
	background-color: #ed1c24 !important;
	border-color: #af0007; 
}

.btn-e:hover{
	background-color: #a0040a !important; 
}

.btn-hd{

	background-color: #ed1c24 !important;
	border-color: #af0007; 
}

.btn-hd:hover{

	background-color: #a0040a !important;

}

.btn-hd h4:hover{

	color: #000!important;
	 
}

.diriosa-thmb {	
	width: 100%;
	height: 44px;
	line-height: 44px;
	top: auto;
	bottom: -44px;
	left: 0;
	z-index: 6;
	overflow: hidden;
}

body:not(.device-touch):not(.device-xs):not(.device-xxs) .diriosa-thmb {
	-webkit-transition: bottom .3s ease-in-out;
	-o-transition: bottom .3s ease-in-out;
	transition: bottom .3s ease-in-out;
}

.product:hover .diriosa-thmb { bottom: 0; }

.diriosa-thmb a {
	display: block;
	float: left;
	width: 50%;
	font-size: 13px;
	color: #333;
	background-color: #F5F5F5;
	text-align: center;
	border-right: 1px solid rgba(0,0,0,0.1);
}

body:not(.device-touch):not(.device-xs):not(.device-xxs) .diriosa-thmb a {
	-webkit-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

.diriosa-thmb a.item-quick-view { border-right: 0; }

.diriosa-thmb a i {
	position: relative;
	top: 1px;
	font-size: 14px;
	margin-right: 3px;
}

.diriosa-thmb a:hover {
	background-color: #333;
	color: #FFF;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

.white-bg{
	background-color: #fff !important;
}

.grey-bg{
	background-color: #f0f0f0 !important;
}

.red-bg{
	background-color: #ed1c24 !important;
	color: #fff !important;
}

.diriosa-cont{
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    padding: 4px 4px 4px 4px;
    background-color: #fff;
}

.padding-vnt{
	padding: 50px 0 !important;
}

.match-title{
	padding: 1px 3px;
}

.match-title h5{
	color: #fff !important;
	text-transform: uppercase !important;
	margin-bottom: 8px;
	font-size: 16px;
	line-height: 1;
}

.match-title p{
	line-height: 1 !important;
}

.ctrl{
	font-weight: 300; 
}


.btn-des{
	color: #fff !important;
	font-size: 17px !important;
	text-transform: uppercase;
	font-weight: 600;
	cursor: pointer;    
    letter-spacing: 1px;
    border: none;  
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2)
}

.btn-des:hover{
	color: #ed1c24 !important;
	-webkit-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

.btn-c{
	border-style: solid !important;
    border-color: #fff !important;
}

.selec:hover{
	border: solid #ed1c24 3.5px !important;
	-webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;


}

.transparent-bg{
	background-color: transparent !important;
}

/* Loader */
#loader-logo{
	max-width: 30vh;
	display: inline-block;
	position: relative;
	top: 15vh;
}
.css3-spinner h3 {
	position: relative;
	top: 20vh;
}

.ficha-tecnica-producto {
	margin: 1.25rem 0 1.1rem;
}

.ficha-tecnica-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.65rem 1.1rem;
	border: 2px solid #b7212c;
	border-radius: 4px;
	color: #b7212c !important;
	font-weight: 600;
	text-decoration: none !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ficha-tecnica-link i {
	font-size: 1.5rem;
	line-height: 1;
}

.ficha-tecnica-link:hover {
	background-color: #b7212c;
	color: #fff !important;
}

/* Contacto: mapa e iconos sin solapamiento */
.contacto-page .contacto-principal {
	margin-bottom: 2.5rem;
}

.contacto-page .contacto-mapa-col {
	float: right;
	width: 48%;
}

.contacto-page #google-map.contacto-mapa {
	position: relative;
	width: 100%;
	height: 300px !important;
	max-height: 300px;
	margin: 0;
	overflow: hidden;
	border-radius: 4px;
}

.contacto-page #google-map.contacto-mapa iframe {
	display: block;
	width: 100% !important;
	height: 300px !important;
	max-height: 300px;
	border: 0;
}

.contacto-page .contacto-info {
	clear: both;
	margin-top: 0;
	padding-top: 1rem;
	position: relative;
	z-index: 2;
}

.contacto-page .contacto-info .feature-box {
	margin-bottom: 1.5rem;
}

/* Bloques de categoría (fila de color en productos) */
.categoria-bloques-row h3 {
	position: relative;
	top: -2px;
}

.categoria-bloque-descripcion {
	position: relative;
	top: -4px;
	font-size: 18px;
	line-height: 1.55;
	text-align: justify;
}

/* Categoría con sección fija (productos) */
.categoria-seccion-fija .categoria-seccion-fija-media,
.categoria-seccion-fija .categoria-seccion-fija-texto {
	min-height: 486px;
}

.categoria-seccion-fija .categoria-seccion-fija-texto {
	text-align: left !important;
}

.categoria-seccion-fija .categoria-seccion-fija-texto h3 {
	position: relative;
	top: -2px;
}

.categoria-seccion-fija .categoria-seccion-fija-contenido {
	position: relative;
	top: -4px;
}

.categoria-seccion-fija .categoria-seccion-fija-texto .heading-block,
.categoria-seccion-fija .categoria-seccion-fija-texto h3,
.categoria-seccion-fija .categoria-seccion-fija-contenido,
.categoria-seccion-fija .categoria-seccion-fija-contenido p,
.categoria-seccion-fija .categoria-seccion-fija-contenido ul,
.categoria-seccion-fija .categoria-seccion-fija-contenido ol,
.categoria-seccion-fija .categoria-seccion-fija-contenido li,
.categoria-seccion-fija .categoria-seccion-fija-contenido .iconlist,
.categoria-seccion-fija .categoria-seccion-fija-contenido .iconlist li,
.categoria-seccion-fija .categoria-seccion-fija-contenido h4 {
	text-align: left !important;
}

.categoria-seccion-fija-contenido ul.iconlist {
	margin-left: 1.75em;
	padding-left: 0;
}

.categoria-seccion-fija-contenido .iconlist h4.nomargin {
	display: inline;
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

@media (max-width: 991px) {
	.contacto-page .contacto-mapa-col {
		float: none;
		width: 100%;
		margin-top: 2rem;
	}
}

/* Footer — distribuidor Plastek */
.footer-plastek-wrap {
	margin-bottom: 2.5rem;
}
.footer-plastek-text {
	margin: 0 0 1rem;
	font-size: 30px;
	line-height: 1.4;
	color: #e8eaed;
}
.footer-plastek-text strong {
	font-weight: 600;
	letter-spacing: 0.04em;
}
.footer-plastek-logo-link {
	display: inline-block;
	/* background: #fff; */
	padding: 14px 22px;
	border-radius: 6px;
	line-height: 0;
	transition: opacity 0.2s ease;
}
.footer-plastek-logo-link:hover {
	opacity: 0.92;
}
.footer-plastek-logo {
	display: block;
	max-height: 93px;
	width: auto;
	height: auto;
	margin-bottom: 50px;
}

/* Detalle producto — fila superior: info izquierda, imagen derecha; atributos abajo */
.producto-detalle-layout {
	display: block;
}

.producto-detalle-top {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 2rem 2.5rem;
	align-items: start;
	width: 100%;
	margin-bottom: 2rem;
}

.producto-detalle-page .producto-detalle-top .producto-detalle-info,
.producto-detalle-page .producto-detalle-top .producto-detalle-media {
	float: none !important;
	width: auto !important;
	max-width: none;
	margin-right: 0 !important;
	margin-bottom: 0 !important;
	text-align: left;
}

.producto-detalle-atributos,
.producto-detalle-acordeon-wrap,
.producto-detalle-descripcion {
	float: none !important;
	width: 100% !important;
	max-width: 100%;
	margin-right: 0 !important;
	clear: both;
}

.producto-detalle-media-sticky {
	position: sticky;
	top: 100px;
}

.producto-detalle-page .producto-detalle-resumen {
	font-size: 16px;
	line-height: 1.55;
}

.producto-detalle-meta {
	margin: 0 0 1.75rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #e5e5e5;
}

.producto-detalle-meta__item {
	margin-bottom: 0.75rem;
}

.producto-detalle-meta .ficha-tecnica-producto {
	margin-bottom: 1.1rem;
}

.producto-detalle-descripcion {
	margin: 0 0 2rem;
}

.producto-detalle-descripcion .producto-descripcion {
	font-size: 16px;
	line-height: 1.6;
}

.producto-detalle-atributos {
	margin: 0 0 2.5rem;
}

.producto-atributos-bloque {
	margin-bottom: 0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	background: #fff;
	border: 2px solid #9e9e9e;
}

.producto-atributos-bloque__titulo-principal {
	font-size: 20px;
	margin: 0;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #333;
	background: #fff;
	border: none;
	border-bottom: 2px solid #9e9e9e;
	padding: 1rem 1.35rem;
}

.producto-atributos-bloque__titulo {
	font-size: 17px;
	margin: 0;
	padding: 0.75rem 1.35rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #555;
	background: #f5f5f5;
	border-bottom: 2px solid #bdbdbd;
}

.producto-atributos-bloque .producto-atributos-tabla {
	margin: 0;
	border: none !important;
	border-collapse: collapse;
	font-size: 17px;
}

.producto-atributos-bloque .producto-atributos-tabla > tbody > tr > th,
.producto-atributos-bloque .producto-atributos-tabla > tbody > tr > td {
	border-color: #d0d0d0 !important;
	padding: 0.9rem 1.35rem;
	vertical-align: middle;
}

.producto-atributos-bloque .producto-atributos-tabla > tbody > tr > th {
	width: 40%;
	font-size: 17px;
	font-weight: 700;
	color: #444;
	background: #f0f0f0 !important;
}

.producto-atributos-bloque .producto-atributos-tabla > tbody > tr > td {
	font-size: 17px;
	font-weight: 600;
	color: #222;
	background: #fff !important;
}

.producto-atributos-bloque .producto-atributos-tabla.table-striped > tbody > tr:nth-of-type(even) > th {
	background: #e8e8e8 !important;
}

.producto-atributos-bloque .producto-atributos-tabla.table-striped > tbody > tr:nth-of-type(even) > td {
	background: #f7f7f7 !important;
}

.producto-atributos-bloque .producto-atributos-tabla > tbody > tr:hover > th,
.producto-atributos-bloque .producto-atributos-tabla > tbody > tr:hover > td {
	background: #e0e0e0 !important;
}

.producto-atributos-bloque .producto-atributos-tabla .text-muted {
	color: #777 !important;
	font-weight: 500;
	font-size: 15px;
}

@media (max-width: 991px) {
	.producto-detalle-top {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.producto-detalle-media-sticky {
		position: static;
	}
}

.producto-detalle-acordeon-wrap {
	margin: 0.5rem 0 2rem;
}

.producto-acordeon {
	margin: 0;
}

.producto-acordeon-item {
	margin-bottom: 14px;
	border: 2px solid #b7212c !important;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	background: #fff;
}

.producto-acordeon-item:last-child {
	margin-bottom: 0;
}

.producto-acordeon-item .panel-heading {
	padding: 0;
	border: none;
	background: transparent;
}

.producto-acordeon .panel-title {
	margin: 0;
}

.producto-acordeon .panel-title a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.35rem;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	color: #333 !important;
	background: #fff;
	border: none;
	transition: color 0.2s ease;
}

.producto-acordeon .panel-title a:hover {
	color: #b7212c !important;
	background: #fff;
}

.producto-acordeon .panel-title a:not(.collapsed) {
	color: #b7212c !important;
	background: #fff;
}

.producto-acordeon .panel-title a:not(.collapsed):hover {
	color: #9a1a24 !important;
	background: #fff;
}

.producto-acordeon .panel-title a::before {
	content: none !important;
}

.producto-acordeon .panel-title a::after {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
	content: '+';
	color: #b7212c;
	background: #fff;
	border: 2px solid #b7212c;
	transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.producto-acordeon .panel-title a:not(.collapsed)::after {
	content: '−';
	color: #b7212c;
	background: #fff;
	border-color: #b7212c;
}

.producto-acordeon-item .panel-body {
	padding: 1.35rem 1.5rem 1.5rem;
	border-top: 2px solid #b7212c;
	background: #fff;
	font-size: 16px;
	line-height: 1.6;
}

.producto-acordeon-item:has(.panel-collapse.in) {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.producto-atributos-grupo {
	font-size: 14px;
	margin: 1rem 0 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.producto-seccion-tabla table {
	width: 100%;
	margin-bottom: 0;
}

.producto-seccion-imagen {
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

/* Detalle producto — imagen con zoom al hover */
.producto-detalle-media.portfolio-single-image {
	width: 100%;
}

.producto-imagen-zoom {
	max-width: 100%;
	margin: 0 auto;
}

.producto-imagen-zoom-inner {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	max-height: 480px;
	background: #fff;
	border: 1px solid #e8e8e8;
	cursor: zoom-in;
}

.producto-imagen-zoom-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 280px;
	max-height: 480px;
	line-height: 0;
}

.producto-detalle-media.portfolio-single-image .producto-imagen-zoom-link,
.producto-detalle-media.portfolio-single-image .producto-imagen-zoom-link img {
	display: block;
	width: auto;
	max-width: 92%;
	max-height: 400px;
	height: auto;
	margin: 0 auto;
	transition: transform 0.25s ease-out;
}

.producto-imagen-zoom-hint {
	margin: 12px 0 0;
	font-size: 13px;
	color: #888;
	text-align: center;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
	position: fixed;
	width: 50px;
	height: 50px;
	bottom: 100px;
	right: 30px;
	background-color: #25d366;
	color: #fff;
	border-radius: 50%;
	text-align: center;
	font-size: 32px;
	line-height: 50px;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
	z-index: 9999;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.whatsapp-float:hover,
.whatsapp-float:focus {
	color: #fff;
	opacity: 0.92;
	transform: scale(1.05);
}
.whatsapp-float .ion {
	line-height: 1;
}
@media (max-width: 767px) {
	.whatsapp-float {
		width: 50px;
		height: 50px;
		bottom: 90px;
		right: 20px;
		font-size: 28px;
		line-height: 50px;
	}
}










/* ==========================================================================
   Rediseño 2026: Servicios / Suministros / Trabajos
   ========================================================================== */
:root { --dir-rojo: #b7212c; --dir-rojo-osc: #8f1922; --dir-gris: #f4f5f7; --dir-texto: #333; }

.dir-btn-primary, .button.dir-btn-primary { background-color: var(--dir-rojo); color: #fff !important; border: 0; text-shadow: none; }
.dir-btn-primary:hover, .button.dir-btn-primary:hover { background-color: var(--dir-rojo-osc) !important; }
.button.dir-btn-outline { border: 2px solid var(--dir-rojo); color: var(--dir-rojo) !important; background: transparent; text-shadow: none; }
.button.dir-btn-outline:hover { background: var(--dir-rojo) !important; color: #fff !important; }

#primary-menu > ul > li.menu-cotizar > a { padding-top: 0; padding-bottom: 0; margin-top: 30px; line-height: 40px; height: 40px; background: #fff; color: var(--dir-rojo) !important; border-radius: 3px; padding-left: 18px; padding-right: 18px; margin-left: 10px; }
#primary-menu > ul > li.menu-cotizar > a:hover { background: #1d1f22; color: #fff !important; }
#header.sticky-header #primary-menu > ul > li.menu-cotizar > a { margin-top: 10px; padding-top: 0 !important; padding-bottom: 0 !important; line-height: 40px !important; }
#primary-menu ul ul li > a div strong { color: var(--dir-rojo); }
@media (min-width: 992px) and (max-width: 1199px) {
	#primary-menu > ul > li:first-child { display: none; }
	#primary-menu > ul > li > a { padding-left: 9px; padding-right: 9px; font-size: 12px; letter-spacing: .5px; }
	#primary-menu > ul > li.menu-cotizar > a { padding-left: 12px; padding-right: 12px; margin-left: 6px; }
	#logo { margin-right: 15px; }
}
@media (max-width: 991px) {
	#primary-menu > ul > li.menu-cotizar > a { margin: 10px 0; display: inline-block; }
}

.dir-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--dir-rojo); margin-bottom: 8px; }
.dir-lead { font-size: 18px; color: #666; margin-bottom: 10px; }
.dir-section-title { text-align: center; margin: 50px auto 30px; max-width: 820px; }
.dir-section-title h2 { margin-bottom: 8px; font-size: 28px; }
.dir-section-title h2:after { content: ''; display: block; width: 60px; height: 3px; background: var(--dir-rojo); margin: 14px auto 0; }
.dir-section-title--lg { margin-top: 0; }
.dir-section-title--lg h2 { font-size: 34px; }
.dir-section-title__texto { color: #555; font-size: 16px; }

.dir-home-block { padding: 70px 0; }
.dir-home-block--grey { background: var(--dir-gris); }
.dir-home-block--dark { background: #1d1f22; color: #ddd; }
.dir-home-block--dark h2 { color: #fff; }
.dir-home-block--dark .dir-lead { color: #bbb; }

/* Tarjetas de categoría */
.dir-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.dir-cards--compacta { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.dir-cards--cuatro { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 991px) { .dir-cards--cuatro { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .dir-cards--cuatro { grid-template-columns: 1fr; } }
.dir-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; overflow: hidden; color: var(--dir-texto); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.dir-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.12); border-color: var(--dir-rojo); color: var(--dir-texto); }
.dir-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: #eee; overflow: hidden; }
.dir-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dir-card:hover .dir-card__media img { transform: scale(1.05); }
.dir-card__media--contain { background: #fff; }
.dir-card__media--contain img { object-fit: contain; padding: 12px; }
.dir-card__tag { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.65); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 3px; letter-spacing: .5px; }
.dir-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.dir-card__title { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 17px; line-height: 1.3; color: #222; margin-bottom: 6px; }
.dir-card__text { font-size: 14px; color: #666; line-height: 1.5; margin-bottom: 12px; }
.dir-card__more { margin-top: auto; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--dir-rojo); }
.dir-cards--compacta .dir-card__body { padding: 12px 14px 14px; }
.dir-cards--compacta .dir-card__title { font-size: 15px; }

/* Galería de trabajos / equipos */
.dir-galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.dir-galeria__item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #ddd; }
.dir-galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dir-galeria__item:hover img { transform: scale(1.07); }
.dir-galeria__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; font-size: 13px; line-height: 1.35; }
.dir-galeria__caption strong { display: block; font-weight: 600; }
.dir-galeria__caption small { display: block; opacity: .85; }

.dir-filtros { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 28px; padding: 0; }
.dir-filtros button { border: 1px solid #ccc; background: #fff; color: #444; padding: 7px 16px; border-radius: 20px; font-size: 14px; cursor: pointer; transition: all .2s; }
.dir-filtros button:hover { border-color: var(--dir-rojo); color: var(--dir-rojo); }
.dir-filtros button.is-active { background: var(--dir-rojo); border-color: var(--dir-rojo); color: #fff; }

/* Hero de categoría */
#page-title.dir-hero { position: relative; padding: 110px 0 70px; background-color: #222; background-size: cover; background-position: center; border-bottom: 0; }
#page-title.dir-hero:before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,15,15,.92) 0%, rgba(15,15,15,.7) 55%, rgba(15,15,15,.35) 100%); }
#page-title.dir-hero .container { position: relative; z-index: 1; }
#page-title.dir-hero h1 { color: #fff; font-size: 40px; letter-spacing: 0; text-transform: none; max-width: 760px; }
#page-title.dir-hero span { color: #ddd; font-size: 18px; max-width: 700px; display: block; margin-top: 10px; }
#page-title.dir-hero .dir-hero__kicker { color: #fff; background: var(--dir-rojo); display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px; margin: 0 0 14px; border-radius: 2px; }
#page-title.dir-hero .breadcrumb { position: static !important; top: auto !important; right: auto !important; margin: 24px 0 0 !important; background: transparent; padding: 0; transform: none; }
#page-title.dir-hero .breadcrumb a, #page-title.dir-hero .breadcrumb > li + li:before { color: #ccc; }
#page-title.dir-hero .breadcrumb > .active { color: #fff; }
@media (max-width: 767px) {
	#page-title.dir-hero { padding: 70px 0 40px; }
	#page-title.dir-hero h1 { font-size: 28px; }
}

/* Intro de categoría */
.dir-intro { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.dir-intro__texto { font-size: 16px; line-height: 1.75; color: #444; }
.dir-intro__aside { display: flex; flex-direction: column; gap: 18px; }
.dir-intro__foto { margin: 0; position: relative; border-radius: 6px; overflow: hidden; border: 1px solid #e6e6e6; }
.dir-intro__foto img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.dir-intro__foto figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 3px; }
.dir-aviso { display: flex; gap: 14px; background: #fff7e6; border-left: 4px solid #e0a100; padding: 16px 18px; border-radius: 4px; font-size: 14px; color: #5a4a1a; }
.dir-aviso i { font-size: 26px; color: #e0a100; }
.dir-aviso > div > strong:first-child { display: block; font-size: 16px; margin-bottom: 4px; color: #3d3210; }
.dir-aviso p { margin: 0; }
.dir-cotiza-box { background: #1d1f22; color: #ccc; padding: 22px; border-radius: 6px; border-top: 4px solid var(--dir-rojo); }
.dir-cotiza-box strong { display: block; color: #fff; font-size: 18px; margin-bottom: 6px; }
.dir-cotiza-box p { margin-bottom: 16px; font-size: 14px; }
.dir-plastec-logo { max-width: 200px; height: auto; display: block; margin-bottom: 18px; }
.dir-marcas { text-align: center; }
.dir-marcas img { max-width: 100%; width: 420px; }
/* Ficha con foto (subcategorías finales): foto | texto + aviso + cotización */
.dir-intro--ficha { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "foto texto" "foto aside"; grid-template-rows: auto 1fr; gap: 8px 48px; }
.dir-intro--ficha .dir-intro__foto { grid-area: foto; align-self: start; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.dir-intro--ficha .dir-intro__texto { grid-area: texto; font-size: 18px; line-height: 1.7; }
.dir-intro--ficha .dir-intro__aside { grid-area: aside; gap: 16px; }
.dir-intro--ficha .dir-cotiza-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 20px; align-items: center; }
.dir-intro--ficha .dir-cotiza-box strong { grid-column: 1; }
.dir-intro--ficha .dir-cotiza-box p { grid-column: 1; margin: 0; }
.dir-intro--ficha .dir-cotiza-box .button { grid-column: 2; grid-row: 1 / span 2; width: auto; white-space: nowrap; }
.dir-intro__titulo { font-size: 30px; margin: 0 0 14px; }
.dir-intro__titulo:after { content: ''; display: block; width: 50px; height: 3px; background: var(--dir-rojo); margin-top: 12px; }
@media (max-width: 991px) {
	.dir-intro { grid-template-columns: 1fr; }
	.dir-intro--ficha { grid-template-columns: 1fr; grid-template-areas: "foto" "texto" "aside"; }
}
@media (max-width: 575px) {
	.dir-intro--ficha .dir-cotiza-box { grid-template-columns: 1fr; }
	.dir-intro--ficha .dir-cotiza-box .button { grid-column: 1; grid-row: auto; margin-top: 14px !important; width: 100%; }
}

/* Bloque suministros en inicio */
.dir-home-sum { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.dir-home-sum__texto h2 { font-size: 30px; margin-bottom: 8px; }
.dir-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; padding: 0; }
.dir-chips a { display: inline-block; border: 1px solid #ddd; padding: 6px 14px; border-radius: 20px; font-size: 14px; color: #444; background: #fff; }
.dir-chips a:hover { border-color: var(--dir-rojo); color: var(--dir-rojo); }
.dir-home-sum__plastec { display: flex; flex-direction: column; border: 1px solid #e6e6e6; border-radius: 6px; overflow: hidden; color: #555; background: #fff; transition: box-shadow .2s; }
.dir-home-sum__plastec:hover { box-shadow: 0 12px 28px rgba(0,0,0,.12); color: #555; }
.dir-home-sum__plastec-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.dir-home-sum__plastec-media img { width: 100%; height: 100%; object-fit: cover; }
.dir-home-sum__plastec-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.dir-home-sum__plastec-body .dir-plastec-logo { max-width: 160px; margin: 0; }
@media (max-width: 991px) {
	.dir-home-sum { grid-template-columns: 1fr; }
}

/* CTA cotización */
.dir-cta { position: relative; background: var(--dir-rojo) center / cover no-repeat; padding: 60px 0; color: #fff; }
.dir-cta:before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(143,25,34,.95), rgba(183,33,44,.8)); }
.dir-cta .container { position: relative; z-index: 1; }
.dir-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.dir-cta h3 { color: #fff; font-size: 28px; margin: 0 0 6px; }
.dir-cta p { margin: 0; font-size: 17px; color: rgba(255,255,255,.9); }
.dir-cta .button.dir-btn-primary { background: #fff; color: var(--dir-rojo) !important; }
.dir-cta .button.dir-btn-primary:hover { background: #1d1f22 !important; color: #fff !important; }

/* Footer */
#footer .footer-widgets-wrap.container,
#footer .footer-widgets-wrap > .container { width: auto; max-width: 100%; }
.dir-footer-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin: 0 0 30px; padding: 0; }
.dir-footer-links a { color: #ccc; font-size: 14px; }
.dir-footer-links a:hover { color: #fff; }
