/*
 * reensa.com — componentes re-* sobre bloques Kadence.
 *
 * Los colores salen de la paleta global de Kadence (Personalizar › Colores):
 *   palette12 #173C8F azul REENSA · palette1 #4872B4 azul medio · palette3 #1A2340 tinta
 *   palette7 #E2E9F3 línea · palette8 #F4F7FC fondo suave · palette13 #F5A623 acento
 */

:root {
	--re-navy: var(--global-palette12, #173C8F);
	--re-blue: var(--global-palette1, #4872B4);
	--re-ink: var(--global-palette3, #1A2340);
	/* gris secundario un paso más oscuro que el de Kadence (#6B7A8D daba 4,38:1): mínimo 4,5:1 */
	--global-palette6: #5F6E80;
	--re-muted: var(--global-palette6, #5F6E80);
	--re-field: #7A879A; /* borde de campos: 3,6:1 sobre blanco */
	--re-line: var(--global-palette7, #E2E9F3);
	--re-soft: var(--global-palette8, #F4F7FC);
	--re-gold: var(--global-palette13, #F5A623);
	--re-radius: 20px;
	--re-radius-sm: 14px;
	--re-shadow: 0 24px 60px -28px rgba(23, 60, 143, .35);
	--re-shadow-sm: 0 10px 30px -18px rgba(23, 60, 143, .35);
}

/* ------------------------------------------------------------ tipografía y piezas comunes */
body .re-h1,
body .re-h2 {
	color: var(--re-ink);
	letter-spacing: -.01em;
	margin: 0 0 .45em;
}
body .re-h1 + *, body .re-pill + * {
	margin-top: 0;
}
body .re-h1 {
	font-size: clamp(2.6rem, 1.6rem + 3.2vw, 4.4rem);
	line-height: 1.02;
}
body .re-h2 {
	font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem);
	line-height: 1.05;
}
/* titulares de un solo color (auditoría Hallmark, 38iii): el <mark> que quede no cambia el tono */
body .re-h1 mark,
body .re-h2 mark {
	background: none;
	color: inherit;
	padding: 0;
}
body .re-text {
	color: var(--global-palette5, #4A5568);
	font-size: 1.05rem;
	line-height: 1.7;
	margin: 0 0 1.5em;
	max-width: 36em;
}
body .re-lead {
	font-size: 1.15rem;
}

body .re-pill {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	margin: 0 0 1.25em;
	padding: .45em 1em;
	border-radius: 999px;
	background: rgba(72, 114, 180, .1);
	color: var(--re-navy);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .02em;
}
body .re-pill::before {
	content: "";
	width: .5em;
	height: .5em;
	border-radius: 50%;
	background: var(--re-gold);
	box-shadow: 0 0 0 4px rgba(245, 166, 35, .2);
}

/* botones: Kadence singlebtn, estilos fill / outline / inherit (enlace) */
body .re-btns {
	gap: 12px;
}
body .re-btns .kb-button {
	border-radius: 999px;
	padding: .85em 1.6em;
	font-weight: 600;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
body .re-btns .kb-btn-global-fill {
	background: var(--re-navy);
	color: #fff;
	box-shadow: 0 12px 24px -12px rgba(23, 60, 143, .6);
}
body .re-btns .kb-btn-global-fill:hover {
	background: var(--re-blue);
	transform: translateY(-2px);
}
body .re-btns .kb-btn-global-outline {
	background: #fff;
	color: var(--re-navy);
	border: 1.5px solid var(--re-navy);
}
/* Kadence Blocks 3.9 (preset «outline») pone texto y borde blancos al pasar el ratón, pensado para
   fondos oscuros: sobre fondo claro el botón desaparecía. Se fija el relleno azul. */
body .re-btns .kb-button.kb-btn-global-outline:is(:hover, :focus-visible),
body .re-btns .kb-button.kb-btn-global-outline.kb-preset--outline:is(:hover, :focus-visible) {
	background: var(--re-navy);
	border-color: var(--re-navy);
	color: #fff;
}
body .re-btns .kb-btn-global-inherit.re-link {
	background: none;
	padding: .4em 0;
	color: var(--re-navy);
	box-shadow: none;
}
body .re-btns .kb-btn-global-inherit.re-link:hover {
	color: var(--re-blue);
	transform: translateX(3px);
}

/* infobox: quitar el aspecto por defecto de Kadence */
body [class*="re-"] .kt-blocks-info-box-link-wrap {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	box-shadow: none;
}
body [class*="re-"] .kt-blocks-info-box-title {
	color: var(--re-ink);
	margin: 0;
}
body [class*="re-"] .kt-blocks-info-box-text {
	color: var(--re-muted);
	margin: .25em 0 0;
}
body [class*="re-"] .kt-blocks-info-box-media {
	color: var(--re-navy);
	border: 0;
}

/* ------------------------------------------------------------ 1. hero */
body .re-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(60rem 30rem at 85% 10%, rgba(72, 114, 180, .16), transparent 60%),
		radial-gradient(40rem 24rem at 0% 100%, rgba(23, 60, 143, .08), transparent 60%),
		linear-gradient(180deg, #fff 0%, var(--re-soft) 100%);
}
body .re-hero::after {
	/* anillo decorativo, eco del globo del logo */
	content: "";
	position: absolute;
	right: -14rem;
	top: -10rem;
	width: 42rem;
	height: 26rem;
	border: 1px solid rgba(23, 60, 143, .1);
	border-radius: 50%;
	pointer-events: none;
}

body .re-hero-visual > .kt-inside-inner-col {
	position: relative;
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 18px;
}
body .re-hv {
	margin: 0 !important;
}
body .re-hv figure,
body .re-hv img {
	width: 100%;
	height: 100%;
	margin: 0;
}
body .re-hv img {
	aspect-ratio: 1;
	object-fit: contain;
	padding: 8%;
	background: #fff;
	border-radius: var(--re-radius);
	box-shadow: var(--re-shadow);
}
body .re-hv-main {
	grid-row: span 2;
}
body .re-hv-main img {
	aspect-ratio: auto;
	padding: 10%;
	background:
		radial-gradient(circle at 50% 40%, #fff 0%, #fff 55%, var(--re-soft) 100%);
}
body .re-hero-badge {
	position: absolute;
	left: -28px;
	bottom: 28px;
	z-index: 2;
	padding: 14px 18px;
	background: #fff;
	border-radius: var(--re-radius-sm);
	box-shadow: var(--re-shadow);
}
body .re-hero-badge .kt-blocks-info-box-media {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-right: 12px !important;
	border-radius: 50%;
	background: var(--re-navy);
	color: #fff;
}
body .re-hero-badge .kt-blocks-info-box-title {
	font-size: 1.05rem;
	line-height: 1.2;
}
body .re-hero-badge .kt-blocks-info-box-text {
	font-size: .85rem;
}

/* ------------------------------------------------------------ 2. cifras */
body .re-stats {
	position: relative;
	z-index: 3;
	margin-top: -72px;
}
body .re-stats > .kt-row-column-wrap {
	background: #fff;
	border-radius: var(--re-radius);
	box-shadow: var(--re-shadow);
	padding: 28px 12px;
}
body .re-stats .wp-block-kadence-column + .wp-block-kadence-column {
	border-left: 1px solid var(--re-line);
}
body .re-stat {
	padding: 4px 20px;
}
body .re-stat .kt-blocks-info-box-media,
body .re-feature .kt-blocks-info-box-media {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--re-soft);
	margin-right: 14px !important;
}
body .re-stat .kt-blocks-info-box-title {
	font-size: 1.6rem;
	line-height: 1.1;
}
body .re-stat .kt-blocks-info-box-text {
	font-size: .9rem;
	line-height: 1.4;
}

/* ------------------------------------------------------------ 3. sobre REENSA */
body .re-about-img > .kt-inside-inner-col {
	position: relative;
}
body .re-about-img > .kt-inside-inner-col::before {
	content: "";
	position: absolute;
	inset: 10% -6% -6% 8%;
	border-radius: var(--re-radius);
	background: linear-gradient(135deg, var(--re-blue), var(--re-navy));
	opacity: .12;
}
body .re-photo,
body .re-photo figure {
	position: relative;
	margin: 0;
}
body .re-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--re-radius);
	box-shadow: var(--re-shadow);
}
body .re-features {
	margin: 0 0 1.75em;
}
body .re-features > .kt-row-column-wrap {
	padding: 0 !important;
}
body .re-feature {
	height: 100%;
	padding: 18px 10px;
	border: 1px solid var(--re-line);
	border-radius: var(--re-radius-sm);
	background: #fff;
	transition: border-color .2s ease, transform .2s ease;
}
body .re-feature:hover {
	border-color: var(--re-blue);
	transform: translateY(-3px);
}
body .re-feature .kt-blocks-info-box-media {
	margin: 0 auto 10px !important;
}
body .re-feature .kt-blocks-info-box-title {
	font-family: var(--global-body-font-family);
	font-size: .92rem;
	font-weight: 600;
	line-height: 1.3;
}

/* ------------------------------------------------------------ cabeceras de sección */
body .re-head > .kt-row-column-wrap {
	align-items: end;
}
body .re-head .re-h2 {
	margin: 0;
}
body .re-head-link .re-btns {
	justify-content: flex-end;
}

/* ------------------------------------------------------------ 4. líneas de producto */
body .re-cat {
	height: 100%;
	padding: 14px 14px 20px;
	background: #fff;
	border: 1px solid var(--re-line);
	border-radius: var(--re-radius);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body .re-cat:hover {
	transform: translateY(-6px);
	border-color: transparent;
	box-shadow: var(--re-shadow);
}
body .re-cat .kt-blocks-info-box-media-container {
	width: 100%;
	margin: 0 0 14px;
}
body .re-cat .kt-blocks-info-box-media {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0 !important;
	border-radius: var(--re-radius-sm);
	background: var(--re-soft);
	overflow: hidden;
}
body .re-cat .kt-blocks-info-box-media img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	padding: 12%;
	mix-blend-mode: multiply;
	transition: transform .35s ease;
}
body .re-cat:hover .kt-blocks-info-box-media img {
	transform: scale(1.06);
}
body .re-cat .kt-blocks-info-box-title {
	font-size: 1.25rem;
}
body .re-cat .kt-blocks-info-box-text {
	font-size: .85rem;
	line-height: 1.4;
}

/* ------------------------------------------------------------ 5. destacados (carrusel Woo) */
body .re-featured {
	background: var(--re-soft);
}
body .re-carousel .product,
body .re-carousel li.entry {
	background: #fff;
	border: 1px solid var(--re-line);
	border-radius: var(--re-radius);
	overflow: hidden;
	box-shadow: none;
	transition: box-shadow .25s ease, transform .25s ease;
}
body .re-carousel .product:hover,
body .re-carousel li.entry:hover {
	transform: translateY(-4px);
	box-shadow: var(--re-shadow);
}
body .re-carousel .woocommerce-loop-image-link img,
body .re-carousel img {
	aspect-ratio: 1;
	object-fit: contain;
	padding: 10%;
	mix-blend-mode: multiply;
}

/* ------------------------------------------------------------ 6. instalaciones */
body .re-facilities {
	position: relative;
	color: #fff;
	background:
		radial-gradient(50rem 24rem at 100% 0%, rgba(72, 114, 180, .45), transparent 60%),
		linear-gradient(120deg, #10285f 0%, var(--re-navy) 100%);
}
body .re-facilities .re-h2 {
	color: #fff;
}
body .re-facilities .re-h2 mark {
	color: var(--re-gold);
}
body .re-facilities .re-text {
	color: rgba(255, 255, 255, .78);
}
body .re-facilities .re-pill {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .2);
	color: #fff;
	box-shadow: none;
}
body .re-facilities-gallery > .kt-inside-inner-col {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
/* kadence/image: la clase va en el propio <figure> */
body .re-fac {
	position: relative;
	margin: 0 !important;
	border-radius: var(--re-radius-sm);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .18);
}
body .re-fac img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	transition: transform .4s ease;
}
body .re-fac:hover img {
	transform: scale(1.05);
}
body .re-fac figcaption {
	position: absolute;
	inset: auto 0 0;
	margin: 0;
	padding: 28px 12px 12px;
	background: linear-gradient(transparent, rgba(10, 25, 60, .85));
	color: #fff;
	font-size: .85rem;
	font-weight: 600;
	text-align: center;
}

/* ------------------------------------------------------------ 7. pasos y marcas */
body .re-steps {
	counter-reset: re-step;
}
body .re-step {
	height: 100%;
	padding: 28px;
	background: #fff;
	border: 1px solid var(--re-line);
	border-radius: var(--re-radius);
}
body .re-step .kt-blocks-info-box-media {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin: 0 0 16px !important;
	border-radius: 50%;
	background: var(--re-navy);
	color: #fff;
	font-family: var(--global-heading-font-family);
	font-size: 1.4rem;
	font-weight: 700;
}
body .re-step .kt-blocks-info-box-title {
	font-size: 1.35rem;
}

body .re-brands > .kt-row-column-wrap {
	padding: 28px 32px !important;
	border: 1px solid var(--re-line);
	border-radius: var(--re-radius);
}
body .re-brands .re-text {
	margin: 0;
}
body .re-brands-logos > .kt-inside-inner-col {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
body .re-logo {
	margin: 0 !important;
}
body .re-logo img {
	display: block;
	max-height: 44px;
	width: auto;
	filter: grayscale(1);
	opacity: .65;
	transition: filter .25s ease, opacity .25s ease;
}
body .re-logo img:hover {
	filter: none;
	opacity: 1;
}

/* ------------------------------------------------------------ 8. llamada final */
body .re-cta {
	padding: 0 24px 96px !important;
}
body .re-cta > .kt-row-column-wrap {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	color: #fff;
	background:
		radial-gradient(36rem 20rem at 0% 0%, rgba(72, 114, 180, .55), transparent 60%),
		linear-gradient(120deg, #10285f 0%, var(--re-navy) 100%);
	box-shadow: var(--re-shadow);
}
body .re-cta .re-h2 {
	color: #fff;
}
body .re-cta .re-text {
	color: rgba(255, 255, 255, .8);
}
body .re-chips ul {
	display: flex !important;
	flex-wrap: wrap;
	gap: 10px;
}
body .re-chips li {
	margin: 0 !important;
	padding: .5em 1em;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .2);
	color: #fff;
	font-size: .88rem;
}
body .re-chips .kb-svg-icon-wrap {
	color: var(--re-gold);
}
body .re-cta-card > .kt-inside-inner-col {
	padding: 28px;
	background: #fff;
	border-radius: var(--re-radius);
	box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45);
}
body .re-cta-phone {
	margin-bottom: 18px;
}
body .re-cta-phone .kt-blocks-info-box-media {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-right: 14px !important;
	border-radius: 50%;
	background: var(--re-soft);
}
body .re-cta-phone .kt-blocks-info-box-title {
	order: 2;
	font-size: 2rem;
	line-height: 1.1;
	color: var(--re-navy);
}

/* ------------------------------------------------------------ tienda: tarjeta de producto (catálogo, categorías, relacionados, portada) */
/* La tienda cuelga de #wrapper (contenedor de Kadence): un ID gana a las reglas de Kadence y Shop Kit
   (.archive.content-style-unboxed …, .kwt-tabs-wrap …) sin llenar esto de !important. */
#wrapper .woocommerce ul.products li.product,
#wrapper ul.products li.product.entry {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--re-line);
	border-radius: var(--re-radius);
	box-shadow: none;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
#wrapper .woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	border-color: transparent;
	box-shadow: var(--re-shadow);
}
#wrapper ul.products li.product .woocommerce-loop-image-link {
	display: block;
	margin: 10px 10px 0;
	border-radius: var(--re-radius-sm);
	background: var(--re-soft);
	overflow: hidden;
}
#wrapper ul.products li.product .woocommerce-loop-image-link img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	padding: 10%;
	background: transparent;
	mix-blend-mode: multiply;
	transition: transform .35s ease;
}
#wrapper ul.products li.product:hover .woocommerce-loop-image-link img {
	transform: scale(1.05);
}
#wrapper ul.products li.product .product-details {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 14px 16px 16px;
	background: none;
}
#wrapper ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 .4em;
	font-size: 1.1rem;
	line-height: 1.25;
}
#wrapper ul.products li.product .woocommerce-loop-product__title a {
	color: var(--re-ink);
}
#wrapper ul.products li.product .price {
	margin-bottom: 12px;
}
#wrapper ul.products li.product .product-action-wrap {
	margin-top: auto;
}
#wrapper ul.products li.product .rc-add {
	width: 100%;
	margin: 0;
	padding: .7em 1em;
	border-radius: 999px;
	border: 1.5px solid var(--re-navy);
	background: #fff;
	color: var(--re-navy);
	font-weight: 600;
	letter-spacing: .02em;
	transition: background .2s ease, color .2s ease;
}
#wrapper ul.products li.product .rc-add:hover {
	background: var(--re-navy);
	color: #fff;
}
#wrapper ul.products li.product .rc-badge {
	border-radius: 999px;
	padding: .25rem .65rem;
}

/* ------------------------------------------------------------ tienda: ficha de producto (Woo Template «Ficha de producto») */
#wrapper .re-pdp-crumbs .woocommerce-breadcrumb,
#wrapper .re-plp-hero .woocommerce-breadcrumb {
	margin: 0;
	font-size: .85rem;
	color: var(--re-muted);
}
#wrapper .re-pdp-crumbs .woocommerce-breadcrumb a,
#wrapper .re-plp-hero .woocommerce-breadcrumb a {
	color: var(--re-muted);
	text-decoration: none;
}
#wrapper .re-pdp-crumbs .woocommerce-breadcrumb a:hover,
#wrapper .re-plp-hero .woocommerce-breadcrumb a:hover {
	color: var(--re-navy);
}

#wrapper .re-pdp-gallery > .kt-inside-inner-col {
	position: sticky;
	top: 24px;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--re-line);
	border-radius: var(--re-radius);
}
#wrapper .re-pdp-gallery .woocommerce-product-gallery__image,
#wrapper .re-pdp-gallery .ksk-gallery img {
	border-radius: var(--re-radius-sm);
}

#wrapper .re-pdp-summary .product_title {
	margin: 0 0 .35em;
	color: var(--re-ink);
	font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem);
	line-height: 1.05;
}
#wrapper .re-pdp-summary .price {
	margin: 0 0 .9rem;
}
#wrapper .re-pdp-summary .rc-consultar {
	font-family: var(--global-heading-font-family);
	font-size: 2rem;
	line-height: 1;
	color: var(--re-navy);
}
/* extracto corto = resumen técnico de la importación («3 · 50A»): como etiqueta */
#wrapper .re-pdp-summary .woocommerce-product-details__short-description p {
	display: inline-block;
	margin: 0 0 .5rem;
	padding: .3em .8em;
	border: 1px solid var(--re-line);
	border-radius: 8px;
	background: #fff;
	color: var(--re-ink);
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .03em;
}
#wrapper .re-pdp-summary .rc-mod-btn[aria-pressed="true"] {
	background: var(--re-navy);
	border-color: var(--re-navy);
}

/* bloque de cotización del plugin como tarjeta */
#wrapper .re-pdp-summary .rc-single {
	margin: 1.25rem 0;
	padding: 20px;
	background: var(--re-soft);
	border-radius: var(--re-radius);
}
#wrapper .re-pdp-summary .rc-cantidad {
	border-radius: 999px;
	background: #fff;
}
#wrapper .re-pdp-summary .rc-cantidad button {
	background: #fff;
}
#wrapper .re-pdp-summary .rc-add-single {
	flex: 1;
	padding: .85em 1.6em;
	border-radius: 999px;
	background: var(--re-navy);
	font-weight: 600;
	box-shadow: 0 12px 24px -12px rgba(23, 60, 143, .6);
}
#wrapper .re-pdp-summary .rc-add-single:hover {
	background: var(--re-blue);
}
#wrapper .re-pdp-summary .rc-datos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	padding-top: 14px;
	border-top: 1px solid var(--re-line);
	font-size: .9rem;
}
#wrapper .re-pdp-summary .rc-datos li {
	margin: 0;
}
#wrapper .re-pdp-summary .rc-datos a {
	font-weight: 600;
	color: var(--re-navy);
}
#wrapper .re-pdp-summary .product_meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin: 0 0 1.5rem;
	font-size: .82rem;
	color: var(--re-muted);
}
#wrapper .re-pdp-summary .product_meta > span {
	display: inline;
}

#wrapper .re-pdp-trust > .kt-row-column-wrap {
	padding: 0 !important;
	gap: 10px !important;
}
#wrapper .re-trust {
	height: 100%;
	padding: 14px;
	border: 1px solid var(--re-line);
	border-radius: var(--re-radius-sm);
	background: #fff;
}
#wrapper .re-trust .kt-blocks-info-box-media {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-right: 10px !important;
	border-radius: 50%;
	background: var(--re-soft);
}
#wrapper .re-trust .kt-blocks-info-box-title {
	font-family: var(--global-body-font-family);
	font-size: .85rem;
	font-weight: 700;
	line-height: 1.25;
}
#wrapper .re-trust .kt-blocks-info-box-text {
	font-size: .78rem;
	line-height: 1.35;
}

/* pestañas: descripción e información adicional */
#wrapper .re-pdp-tabs .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 8px;
	margin: 0 0 -1px;
	padding: 0;
	border: 0;
}
#wrapper .re-pdp-tabs .woocommerce-tabs ul.tabs::before {
	display: none;
}
#wrapper .re-pdp-tabs .woocommerce-tabs ul.tabs li {
	margin: 0;
	border: 1px solid var(--re-line);
	border-bottom: 0;
	border-radius: var(--re-radius-sm) var(--re-radius-sm) 0 0;
	background: var(--re-soft);
}
#wrapper .re-pdp-tabs .woocommerce-tabs ul.tabs li::before,
#wrapper .re-pdp-tabs .woocommerce-tabs ul.tabs li::after {
	display: none;
}
#wrapper .re-pdp-tabs .woocommerce-tabs ul.tabs li a {
	padding: .8em 1.4em;
	font-weight: 600;
	color: var(--re-muted);
}
#wrapper .re-pdp-tabs .woocommerce-tabs ul.tabs li.active {
	background: #fff;
}
#wrapper .re-pdp-tabs .woocommerce-tabs ul.tabs li.active a {
	color: var(--re-navy);
}
#wrapper .re-pdp-tabs .woocommerce-tabs .panel {
	margin: 0;
	padding: 32px;
	background: #fff;
	border: 1px solid var(--re-line);
	border-radius: 0 var(--re-radius) var(--re-radius) var(--re-radius);
}
#wrapper .re-pdp-tabs .woocommerce-tabs .panel > h2:first-child {
	display: none;
}
#wrapper .re-pdp-tabs table.shop_attributes {
	margin: 0;
	border: 0;
	font-size: .92rem;
}
#wrapper .re-pdp-tabs table.shop_attributes :is(th, td) {
	padding: .65em 1em;
	border: 0;
	background: #fff;
	text-align: left;
	font-style: normal;
	vertical-align: middle;
	line-height: 1.5;
}
#wrapper .re-pdp-tabs table.shop_attributes tr:nth-child(odd) :is(th, td) {
	background: var(--re-soft);
}
#wrapper .re-pdp-tabs table.shop_attributes th {
	width: 32%;
	color: var(--re-ink);
	font-weight: 600;
}
#wrapper .re-pdp-tabs table.shop_attributes td p {
	margin: 0;
	padding: 0;
}

#wrapper .re-pdp-related .related > h2 {
	margin: 0 0 24px;
	color: var(--re-ink);
	font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem);
}

#wrapper .re-trust .kt-blocks-info-box-link-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}
#wrapper .re-trust .kt-blocks-info-box-media-container {
	margin: 0;
}
#wrapper .re-trust .kt-blocks-info-box-media {
	overflow: visible;
	margin: 0 !important;
}
#wrapper .re-trust .kt-blocks-info-box-media :is(.kadence-info-box-icon-container, .kadence-info-box-icon-inner-container) {
	display: grid;
	place-items: center;
}
/* Kadence fija el icono a 50px con una regla por bloque: se reduce desde el contenedor */
#wrapper .re-trust .kt-blocks-info-box-media {
	padding: 0 !important;
}
#wrapper .re-trust .kt-blocks-info-box-media .kb-svg-icon-wrap {
	width: 18px;
	height: 18px;
	font-size: 18px !important;
}
#wrapper .re-trust .kt-blocks-info-box-media svg {
	width: 18px;
	height: 18px;
}

/* ------------------------------------------------------------ tienda: catálogo y categorías (Woo Template «Catálogo y categorías») */
#wrapper .re-plp-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(50rem 22rem at 90% 0%, rgba(72, 114, 180, .16), transparent 60%),
		linear-gradient(180deg, #fff 0%, var(--re-soft) 100%);
	border-bottom: 1px solid var(--re-line);
}
#wrapper .re-plp-hero::after {
	content: "";
	position: absolute;
	right: -12rem;
	top: -8rem;
	width: 34rem;
	height: 21rem;
	border: 1px solid rgba(23, 60, 143, .1);
	border-radius: 50%;
	pointer-events: none;
}
#wrapper .re-plp-title {
	margin: 0 0 .25em;
}
#wrapper .re-plp-desc {
	margin: 0;
	max-width: 44em;
}
#wrapper .re-plp-desc:has(.kb-inline-dynamic:empty) {
	display: none;
}

/* barra lateral */
#wrapper .re-plp-sidebar > .kt-inside-inner-col {
	position: sticky;
	top: 24px;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--re-line);
	border-radius: var(--re-radius);
}
#wrapper .re-plp-search {
	margin-bottom: 20px;
}
#wrapper .re-plp-search .wc-block-product-search__fields {
	display: flex;
	overflow: hidden;
	border: 1.5px solid var(--re-field);
	border-radius: 999px;
	background: #fff;
}
#wrapper .re-plp-search .wc-block-product-search__field {
	flex: 1;
	min-width: 0;
	padding: .65em 1em;
	border: 0;
	background: transparent;
	font-size: .9rem;
}
#wrapper .re-plp-search .wc-block-product-search__button {
	margin: 4px;
	border-radius: 999px;
	background: var(--re-navy);
	color: #fff;
}
#wrapper .re-plp-side-title {
	margin: 0 0 10px;
	font-size: 1.2rem;
	color: var(--re-ink);
}
#wrapper .re-plp-cats ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#wrapper .re-plp-cats li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 4px;
	margin: 0;
}
#wrapper .re-plp-cats li > ul {
	flex-basis: 100%;
}
#wrapper .re-plp-cats .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
#wrapper .re-plp-cats li a {
	display: inline-block;
	padding: .3em 0;
	color: var(--re-ink);
	text-decoration: none;
	font-size: .92rem;
}
#wrapper .re-plp-cats li a:hover {
	color: var(--re-blue);
}
#wrapper .re-plp-cats .wc-block-product-categories-list--depth-0 > li {
	padding: 6px 0;
	border-bottom: 1px solid var(--re-line);
}
#wrapper .re-plp-cats .wc-block-product-categories-list--depth-0 > li:last-child {
	border-bottom: 0;
}
#wrapper .re-plp-cats .wc-block-product-categories-list--depth-0 > li > a {
	font-weight: 700;
}
#wrapper .re-plp-cats .wc-block-product-categories-list--depth-1 {
	margin: 2px 0 4px 12px;
	padding-left: 10px;
	border-left: 2px solid var(--re-line);
}
#wrapper .re-plp-cats .wc-block-product-categories-list--depth-1 a {
	color: var(--re-muted);
	font-size: .88rem;
}
#wrapper .re-plp-cats .wc-block-product-categories-list-item-count {
	margin-left: 4px;
	padding: .05em .55em;
	border-radius: 999px;
	background: var(--re-soft);
	color: var(--re-muted);
	font-size: .72rem;
}
#wrapper .re-plp-cats .wc-block-product-categories-list-item-count::before,
#wrapper .re-plp-cats .wc-block-product-categories-list-item-count::after {
	content: none;
}

/* barra de herramientas: modalidad, recuento, orden */
#wrapper .re-plp-products .rc-selector {
	margin-bottom: 14px;
}
#wrapper .re-plp-products .rc-mod-btn[aria-pressed="true"] {
	background: var(--re-navy);
	border-color: var(--re-navy);
}
#wrapper .re-plp-products .kadence-shop-top-row {
	align-items: center;
	margin-bottom: 20px;
	padding: 10px 14px;
	border: 1px solid var(--re-line);
	border-radius: var(--re-radius-sm);
	background: #fff;
	font-size: .88rem;
}
#wrapper .re-plp-products .woocommerce-result-count {
	margin: 0;
	color: var(--re-muted);
}
#wrapper .re-plp-products .woocommerce-ordering select {
	border-radius: 999px;
	font-size: .88rem;
}

/* paginación */
#wrapper .woocommerce-pagination ul.page-numbers {
	display: flex;
	justify-content: center;
	gap: 6px;
	border: 0;
}
#wrapper .woocommerce-pagination ul.page-numbers li {
	border: 0;
}
#wrapper .woocommerce-pagination .page-numbers :is(a, span) {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	border: 1px solid var(--re-line);
	border-radius: 999px;
	color: var(--re-ink);
}
#wrapper .woocommerce-pagination .page-numbers span.current {
	background: var(--re-navy);
	border-color: var(--re-navy);
	color: #fff;
}

@media (max-width: 767px) {
	#wrapper .re-plp-sidebar > .kt-inside-inner-col {
		position: static;
	}
	/* en móvil la lista no debe empujar los productos: altura limitada con scroll propio */
	#wrapper .re-plp-cats {
		max-height: 240px;
		overflow-y: auto;
		overscroll-behavior: contain;
		mask-image: linear-gradient(#000 85%, transparent);
	}
	#wrapper .re-pdp-gallery > .kt-inside-inner-col {
		position: static;
	}
	#wrapper .re-trust {
		padding: 10px 12px;
	}
	#wrapper .re-trust .kt-blocks-info-box-link-wrap {
		flex-direction: row;
		align-items: center;
		gap: 12px;
	}
}

/* ------------------------------------------------------------ pie de página (Kadence Element «Pie de página» + fila inferior del footer de Kadence) */
#wrapper .re-footer {
	position: relative;
	overflow: hidden;
	color: rgba(255, 255, 255, .78);
	background:
		radial-gradient(40rem 22rem at 100% 0%, rgba(72, 114, 180, .35), transparent 60%),
		linear-gradient(120deg, #0d2152 0%, #10285f 55%, var(--re-navy) 100%);
}
#wrapper .re-footer::after {
	/* anillo del globo del logo */
	content: "";
	position: absolute;
	right: -10rem;
	bottom: -14rem;
	width: 38rem;
	height: 23.5rem;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 50%;
	pointer-events: none;
}
@media (min-width: 1025px) {
	#wrapper .re-footer > .kt-row-column-wrap {
		grid-template-columns: 1.5fr 1fr 1fr 1.2fr !important;
	}
}
#wrapper .re-footer-logo {
	margin: 0 0 18px !important;
}
#wrapper .re-footer-logo img {
	width: 240px;
	max-width: 100%;
	height: auto;
}
#wrapper .re-footer-text {
	margin: 0 0 22px;
	max-width: 30em;
	color: rgba(255, 255, 255, .78);
	font-size: .95rem;
	line-height: 1.65;
}
#wrapper .re-footer-text strong {
	color: #fff;
}
#wrapper .re-footer .re-btns .kb-btn-global-fill {
	background: #fff;
	color: var(--re-navy);
	box-shadow: none;
}
#wrapper .re-footer .re-btns .kb-btn-global-fill:hover {
	background: var(--re-gold);
	color: var(--re-ink);
}
#wrapper .re-footer-title {
	position: relative;
	margin: 0 0 18px;
	padding-bottom: 12px;
	color: #fff;
	font-size: 1.35rem;
}
#wrapper .re-footer-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 28px;
	height: 3px;
	border-radius: 3px;
	background: var(--re-gold);
}
#wrapper .re-footer :is(.re-footer-links, .re-footer-contact) ul {
	margin: 0;
	padding: 0;
}
#wrapper .re-footer :is(.re-footer-links, .re-footer-contact) li {
	margin: 0 0 10px;
	color: rgba(255, 255, 255, .78);
	font-size: .93rem;
	line-height: 1.45;
}
#wrapper .re-footer :is(.re-footer-links, .re-footer-contact) a {
	color: rgba(255, 255, 255, .78);
	text-decoration: none;
	transition: color .2s ease;
}
#wrapper .re-footer :is(.re-footer-links, .re-footer-contact) a:hover {
	color: #fff;
}
#wrapper .re-footer .kb-svg-icon-wrap {
	color: var(--re-gold);
}
#wrapper .re-footer-links .kb-svg-icon-wrap {
	font-size: 14px !important;
	opacity: .8;
}

/* fila inferior del footer de Kadence: copyright */
#wrapper .site-footer .site-bottom-footer-wrap,
#wrapper .site-footer .site-bottom-footer-inner-wrap {
	background: #0a1a42;
}
#wrapper .site-footer .site-bottom-footer-inner-wrap {
	min-height: 0;
	padding-top: 18px;
	padding-bottom: 18px;
	border-top: 1px solid rgba(255, 255, 255, .08);
}
#wrapper .site-footer .footer-html,
#wrapper .site-footer .footer-html-inner p {
	margin: 0;
	color: rgba(255, 255, 255, .55);
	font-size: .82rem;
}
@media (max-width: 767px) {
	/* móvil: marca y contacto a todo el ancho; catálogo y empresa lado a lado */
	#wrapper .re-footer > .kt-row-column-wrap {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 36px 20px !important;
	}
	#wrapper .re-footer > .kt-row-column-wrap > :is(.re-footer-brand, :nth-child(4)) {
		grid-column: 1 / -1;
	}
}

/* ------------------------------------------------------------ ajustes sobre el marcado de Kadence */
/* las columnas de Kadence apilan en columna: los grupos de imágenes van en fila */
body .re-brands-logos > .kt-inside-inner-col {
	flex-direction: row;
}
/* imagen del info box: Kadence usa un contenedor intrínseco que sin ancho máximo mide 0 */
body .re-cat .kadence-info-box-image-inner-intrisic-container,
body .re-cat .kadence-info-box-image-intrisic {
	width: 100%;
	max-width: none;
	height: auto;
	padding: 0 !important;
}
body .re-cat .kadence-info-box-image-inner-intrisic {
	position: static;
}
body .re-cat .kadence-info-box-image-inner-intrisic img {
	position: static;
	height: auto;
}
/* número de los pasos centrado */
body .re-step .kadence-info-box-number-container,
body .re-step .kadence-info-box-number-inner-container {
	display: contents;
}
body .re-step .kt-blocks-info-box-number {
	line-height: 1;
}
body .re-brands-logos > .kt-inside-inner-col {
	justify-content: flex-end;
}
@media (min-width: 768px) {
	body .re-brands > .kt-row-column-wrap {
		grid-template-columns: 1fr auto !important;
	}
}
body .re-brands .re-text {
	font-size: 1.2rem;
	color: var(--re-ink);
}
body .re-logo-eaton img {
	max-height: 52px;
	filter: none;
	opacity: 1;
}
/* tarjeta blanca del CTA: Kadence pinta el fondo de columna con --kb-col-bg */
body .re-cta-card {
	--kb-col-bg: #fff;
}
body .re-cta-card .kt-blocks-info-box-text {
	color: var(--re-muted);
}

/* tarjetas de una misma fila con la misma altura */
body :is(.re-cats, .re-steps, .re-features) > .kt-row-column-wrap {
	align-items: stretch;
}
body :is(.re-cats, .re-steps, .re-features) .kt-inside-inner-col {
	height: 100%;
}
body .re-step .kt-blocks-info-box-number {
	font-size: 1.4rem !important;
	line-height: 1 !important;
}
body .re-brands {
	margin-bottom: 96px;
}
body .re-chips ul {
	gap: 10px !important;
}
/* flechas del carrusel de productos */
body .re-carousel .splide__arrow {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	color: var(--re-navy);
	opacity: 1;
	box-shadow: var(--re-shadow-sm);
}
body .re-carousel .splide__arrow svg {
	fill: currentColor;
}
body .re-carousel .splide__arrow:hover {
	background: var(--re-navy);
	color: #fff;
}

/* cabecera: botón de Kadence en píldora, como el resto */
.site-header .header-button {
	border-radius: 999px;
	padding: .7em 1.4em;
	font-weight: 600;
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1024px) {
	body .re-cats > .kt-row-column-wrap {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
	body :is(.re-stats, .re-features) > .kt-row-column-wrap {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	body .re-hero-badge {
		left: 12px;
	}
	body .re-stats .wp-block-kadence-column + .wp-block-kadence-column {
		border-left: 0;
	}
	body .re-facilities-gallery > .kt-inside-inner-col {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 767px) {
	body .re-cats > .kt-row-column-wrap {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	body .re-brands {
		padding-inline: 16px;
	}
	body .re-brands > .kt-row-column-wrap {
		padding: 22px 18px !important;
	}
	body .re-hero-visual > .kt-inside-inner-col {
		margin-top: 32px;
	}
	body .re-stats {
		margin-top: -48px;
	}
	body .re-stat {
		padding: 10px 8px;
	}
	body .re-head-link .re-btns {
		justify-content: flex-start;
	}
	body .re-cta > .kt-row-column-wrap {
		border-radius: 20px;
	}
	body .re-brands-logos > .kt-inside-inner-col {
		justify-content: center;
	}
}
@media (prefers-reduced-motion: reduce) {
	body .re-cat,
	body .re-cat img,
	body .re-fac img,
	body .re-feature,
	body .re-btns .kb-button {
		transition: none;
	}
}

/* ------------------------------------------------------------ auditoría Hallmark (2026-11-19) */
/* un solo botón principal en todo el sitio: los botones del núcleo (Sobre, Marcas, Contacto)
   toman la píldora azul de la portada; alto 48px */
body .wp-block-button__link {
	border-radius: 999px;
	padding: .6em 1.5em;
	line-height: 1.4;
	white-space: nowrap;
	font-weight: 600;
	background: var(--re-navy);
	color: #fff;
	transition: background .2s ease;
}
body .wp-block-button__link:hover {
	background: var(--re-blue);
	color: #fff;
}
body .re-btns .kb-button {
	padding: .55em 1.4em;
	min-height: 48px;
}
/* Kadence quita el contorno con body.hide-focus-outline (0,2,0): el mapa necesita ganarle */
body :is(.wp-block-button__link, .kb-button, .rc-add, .rc-mod-btn, iframe):focus-visible,
body.hide-focus-outline iframe:focus,
body iframe:focus {
	outline: 2px solid var(--re-blue);
	outline-offset: 3px;
	transition: none;
}

/* el iframe del mapa no toma :focus en todos los navegadores: el anillo va en su columna */
body .kt-inside-inner-col:has(> iframe):focus-within {
	outline: 2px solid var(--re-blue);
	outline-offset: 4px;
	border-radius: 4px;
}

/* contraste mínimo 4,5:1 en textos secundarios */
body .re-hero-badge .kt-blocks-info-box-text,
#wrapper .re-trust .kt-blocks-info-box-text {
	color: var(--global-palette5, #4A5568);
}

/* portada: más aire encima de los títulos de sección que debajo */
body .re-head {
	padding-top: 24px;
}

/* páginas interiores (bloques del núcleo): títulos de sección y medida de lectura */
body.page .entry-content .wp-block-kadence-column h2.wp-block-heading:not(.re-h2) {
	font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem);
	line-height: 1.1;
}
body.page .entry-content .wp-block-kadence-column p:not([class*="re-"]) {
	max-width: 62ch;
}

/* Marcas: Eaton es la marca principal; el resto, una fila discreta de logos */
body .re-otras-marcas .wp-block-image img {
	max-height: 44px;
	width: auto;
	object-fit: contain;
}
body .re-otras-marcas h3.wp-block-heading {
	font-size: 1.15rem;
	margin: .8em 0 .3em;
}
body .re-otras-marcas p {
	font-size: .95rem;
	color: var(--global-palette5, #4A5568);
}
body .re-marca-principal .wp-block-image img {
	max-width: 100%;
	height: auto;
}

/* ficha: datos de confianza en una línea, sin tarjetas */
#wrapper .re-trust {
	padding: 0;
	border: 0;
	background: none;
}
#wrapper .re-pdp-summary .product_meta {
	font-size: .85rem;
}
#wrapper .re-pdp-summary .product_meta :is(span, a) {
	font-size: inherit;
}

/* filtro de categorías: el recuento no salta de línea */
#wrapper .re-plp-cats .wc-block-product-categories-list-item {
	display: flex;
	align-items: baseline;
	gap: 6px;
}
#wrapper .re-plp-cats .wc-block-product-categories-list-item-count {
	white-space: nowrap;
	margin-left: auto;
}
#wrapper .re-plp-cats .wc-block-product-categories-list-item > .wc-block-product-categories-list {
	flex-basis: 100%;
}
#wrapper .re-plp-cats .wc-block-product-categories-list-item:has(> .wc-block-product-categories-list) {
	flex-wrap: wrap;
}

/* campos con borde visible (búsqueda, orden, cantidad) */
#wrapper :is(.wc-block-product-search__field, .woocommerce-ordering select, .rc-qty),
#wrapper .re-pdp-summary .rc-cantidad {
	border-color: var(--re-field);
}
#wrapper .wc-block-product-search__field,
#wrapper .woocommerce-ordering select {
	border-width: 1px;
	border-style: solid;
}
/* selector de modalidad: control de interfaz, 40px */
#wrapper .rc-mod-btn {
	min-height: 40px;
	padding-block: .4rem;
}
/* botón de la ficha a 48px y en una línea */
#wrapper .re-pdp-summary .rc-add-single {
	min-height: 48px;
	padding-block: .55em;
	white-space: nowrap;
}
/* datos de confianza de la ficha en línea, no en columnas iguales */
#wrapper .re-pdp-trust > .kt-row-column-wrap {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px 24px !important;
}
#wrapper .re-pdp-trust > .kt-row-column-wrap > .wp-block-kadence-column {
	flex: 0 1 auto;
	width: auto;
}
/* migas y pestañas sin partir enlaces; títulos del listado con más interlineado */
#wrapper .re-pdp-crumbs a,
#wrapper .woocommerce-tabs .tabs a {
	white-space: nowrap;
}
#wrapper ul.products li.product .woocommerce-loop-product__title,
#wrapper ul.products li.product .woocommerce-LoopProduct-link-title {
	line-height: 1.35;
}
#wrapper .woocommerce-Tabs-panel p {
	max-width: 70ch;
}

@media (max-width: 767px) {
	/* la cantidad y el botón de la ficha en filas separadas */
	#wrapper .re-pdp-summary .rc-add-single {
		flex: 1 1 100%;
	}
	/* cifras: una por fila, icono a la izquierda, sin partir palabras */
	body .re-stats {
		padding-inline: 16px;
	}
	body .re-stats > .kt-row-column-wrap {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 4px !important;
		padding: 16px 8px;
	}
	body .re-stat .kt-blocks-info-box-title {
		font-size: 1.3rem;
		overflow-wrap: normal;
		word-break: normal;
		hyphens: none;
	}
	body .re-stat .kt-blocks-info-box-link-wrap {
		flex-direction: row;
		align-items: center;
	}
	/* «Mi cotización» compacto: el pie no queda tapado */
	body {
		padding-bottom: 72px;
	}
}

