/**
Theme Name: Unirubber Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: unirubber-child
Template: astra
*/

/* ==========================================
   UNIRUBBER - FICHA INDIVIDUAL DE PRODUCTO
   ========================================== */

.unirubber-producto {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px 60px;
    color: #334155;
}

/* MIGAS DE PAN */
.producto-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    font-size: 13px;
    color: #64748B;
}

.producto-breadcrumb a {
    color: #12345A;
    text-decoration: none;
}

.producto-breadcrumb a:hover {
    color: #B18B00;
}

/* PRESENTACIÓN */
.producto-presentacion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: start;
    margin-bottom: 65px;
}

/* IMAGEN */
.producto-imagen {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 25px;
    min-width: 0;
}

.producto-imagen-principal {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    margin: 0 auto;
}

.producto-sin-imagen {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
}

/* RESUMEN */
.producto-resumen {
    padding: 10px 0;
}

.producto-categoria {
    display: inline-block;
    background: #FFF8CC;
    color: #12345A;
    padding: 7px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 16px;
}

.producto-resumen h1 {
    color: #12345A;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 18px;
}

.producto-referencia {
    display: inline-block;
    background: #F1F5F9;
    padding: 9px 13px;
    border-left: 3px solid #FBF01C;
    color: #334155;
    font-size: 14px;
    margin-bottom: 22px;
}

.producto-descripcion-corta {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.producto-descripcion-corta p {
    margin: 0;
}

/* APLICACIONES */
.producto-aplicaciones {
    margin: 25px 0;
}

.producto-aplicaciones h2 {
    color: #12345A;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.producto-aplicaciones p {
    line-height: 1.7;
    margin: 0;
}

/* BOTÓN COTIZACIÓN */
.producto-boton-cotizar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #FFFFFF !important;
    padding: 14px 24px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .2s ease;
}

.producto-boton-cotizar:hover {
    background: #128C7E;
    color: #FFFFFF !important;
}

/* INFORMACIÓN TÉCNICA */
.producto-informacion {
    border-top: 1px solid #E2E8F0;
    padding-top: 35px;
}

.producto-informacion > h2 {
    color: #12345A;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 14px;
    border-bottom: 3px solid #FBF01C;
}

.producto-contenido {
    font-size: 15px;
    line-height: 1.8;
}

.producto-contenido h2,
.producto-contenido h3 {
    color: #12345A;
    margin-top: 28px;
}

/* TABLAS TÉCNICAS */
.producto-contenido table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 14px;
}

.producto-contenido th {
    background: #12345A;
    color: #FFFFFF;
    padding: 12px;
    text-align: left;
}

.producto-contenido td {
    padding: 11px 12px;
    border: 1px solid #E2E8F0;
}

.producto-contenido tr:nth-child(even) {
    background: #F8FAFC;
}

/* VOLVER AL CATÁLOGO */
.producto-volver {
    margin-top: 45px;
}

.producto-volver a {
    color: #12345A;
    font-weight: 700;
    text-decoration: none;
}

.producto-volver a:hover {
    color: #B18B00;
}

/* TABLET */
@media (max-width: 921px) {
    .producto-presentacion {
        gap: 30px;
    }

    .producto-resumen h1 {
        font-size: 29px;
    }
}

/* MÓVIL */
@media (max-width: 767px) {
    .unirubber-producto {
        padding: 25px 18px 45px;
    }

    .producto-presentacion {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 40px;
    }

    .producto-imagen {
        padding: 15px;
    }

    .producto-resumen h1 {
        font-size: 27px;
    }

    .producto-informacion > h2 {
        font-size: 22px;
    }

    .producto-contenido {
        overflow-x: auto;
    }

    .producto-contenido table {
        min-width: 500px;
    }

    .producto-boton-cotizar {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ==========================================
   CABECERA DE CATEGORÍA - FICHA PRODUCTO
   ========================================== */

/* CABECERA DE CATEGORÍA A ANCHO COMPLETO */

.producto-cabecera-categoria {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    box-sizing: border-box;
    border-radius: 0;
    margin-top: 0;
    margin-bottom: 25px;

    background-image:
        linear-gradient(
            90deg,
            rgba(3, 35, 68, .96) 0%,
            rgba(3, 35, 68, .82) 55%,
            rgba(3, 35, 68, .55) 100%
        ),
        url('http://unirubbersas.com/wp-content/uploads/2026/11/unirubber-bg-blue-breadcrumb.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 150px;
    padding: 18px max(25px, calc((100vw - 1200px) / 2 + 25px)) 25px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* MIGAS */
.producto-cabecera-categoria .producto-breadcrumb {
    margin: 0 0 16px;
    padding: 0;
    background: none;
    min-height: 0;
}

/* EVITAR DESBORDAMIENTO HORIZONTAL */
html,
body {
    overflow-x: clip;
}



/* MIGAS DE PAN */
.producto-cabecera-categoria .producto-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    background: none;
    min-height: 0;
    color: #FFFFFF;
    font-size: 12px;
}

.producto-breadcrumb a,
.producto-breadcrumb span {
    color: #FFFFFF;
    text-decoration: none;
}

.producto-breadcrumb i {
    color: #FBF01C;
    font-size: 10px;
}

/* TÍTULO DE CATEGORÍA */
.producto-categoria-intro h1 {
    color: #FFFFFF;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 8px;
}

/* DESCRIPCIÓN DE CATEGORÍA */
.producto-descripcion-categoria {
    color: #FFFFFF;
    font-size: 15px;
    line-height: 1.5;
    max-width: 100%;
}

.producto-descripcion-categoria p {
    margin: 0;
}

/* MÓVIL */
@media (max-width: 767px) {
    .producto-cabecera-categoria {
        padding: 20px;
        min-height: 145px;
    }

    .producto-categoria-intro h1 {
        font-size: 25px;
    }

    .producto-descripcion-categoria {
        font-size: 14px;
    }
}
/* Eliminar espacio superior de la ficha de producto */
body.single-producto #content,
body.single-producto .site-content,
body.single-producto #primary {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* La cabecera debe comenzar inmediatamente */
body.single-producto .producto-cabecera-categoria {
    margin-top: 0 !important;
}.



/* ==========================================
   APLICACIONES + CONSTRUCCIÓN
   ========================================== */

.producto-aplicaciones-construccion {
    display: grid !important;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr) !important;
    gap: 30px !important;
    align-items: start !important;
    width: 100%;
    margin: 45px 0;
}

/* Evitar que los bloques fuercen el ancho */
.producto-aplicaciones-construccion > div {
    min-width: 0 !important;
    width: 100%;
    box-sizing: border-box;
}

/* TÍTULOS */
.producto-aplicaciones-construccion h2 {
    color: #12345A;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
}

/* LÍNEA AMARILLA */
.producto-linea-amarilla {
    width: 40px;
    height: 4px;
    background: #FBF01C;
    margin-bottom: 17px;
}

/* APLICACIONES */
.producto-lista-aplicaciones {
    color: #334155;
    font-size: 14px;
    line-height: 1.65;
}

.producto-lista-aplicaciones p {
    margin: 0 0 12px;
}

.producto-lista-aplicaciones ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.producto-lista-aplicaciones ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 9px;
}

.producto-lista-aplicaciones ul li::before {
    content: "\f058";
    font-family: "Font Awesome 7 Free";
    font-weight: 400;
    position: absolute;
    left: 0;
    top: 2px;
    color: #12345A;
}

/* CONSTRUCCIÓN */
.producto-bloque-construccion {
    background: #F1F5F9;
    border-radius: 6px;
    padding: 22px 20px;
    min-width: 0;
}

.producto-tabla-construccion table {
    width: 100% !important;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 0;
}

.producto-tabla-construccion td:first-child {
    width: 30%;
    color: #12345A;
    font-weight: 700;
}

.producto-tabla-construccion td {
    width: auto;
    padding: 9px 8px;
    border: 0;
    border-bottom: 1px solid #DCE4EC;
    background: transparent;
    color: #334155;
    font-size: 13px;
    line-height: 1.5;
    vertical-align: top;
}

/* MÓVIL */
@media (max-width: 767px) {
    .producto-aplicaciones-construccion {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 30px !important;
    }
}

/* CORRECCIÓN DEFINITIVA DE LAS DOS COLUMNAS */

body.single-producto .producto-aplicaciones-construccion {
    display: grid !important;
    grid-template-columns: 36% 1fr !important;
    gap: 30px !important;
    align-items: start !important;
    width: 100% !important;
}

/* Cada bloque ocupa su columna */
body.single-producto .producto-aplicaciones-construccion
> .producto-bloque-aplicaciones {
    display: block !important;
    grid-column: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
}

body.single-producto .producto-aplicaciones-construccion
> .producto-bloque-construccion {
    display: block !important;
    grid-column: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

/* En móvil, una columna */
@media (max-width: 767px) {
    body.single-producto .producto-aplicaciones-construccion {
        grid-template-columns: 1fr !important;
    }

    body.single-producto .producto-aplicaciones-construccion
    > .producto-bloque-aplicaciones,
    body.single-producto .producto-aplicaciones-construccion
    > .producto-bloque-construccion {
        grid-column: 1 !important;
    }
}

/* ==========================================
   TABLA TÉCNICA + PRESENTACIÓN + CONDICIONES
   ========================================== */

.producto-ficha-tecnica {
    display: grid;
    grid-template-columns: minmax(0, 2.5fr) minmax(250px, 1fr);
    gap: 30px;
    align-items: start;
    margin: 45px 0;
}

/* TÍTULO PRINCIPAL */
.producto-especificaciones > h2 {
    color: #12345A;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
}

/* TABLA TÉCNICA */
.producto-especificaciones .producto-contenido {
    font-size: 13px;
    line-height: 1.5;
    overflow-x: auto;
}

.producto-especificaciones .producto-contenido table {
    width: 100%;
    min-width: 550px;
    border-collapse: collapse;
    margin: 0;
    font-size: 12px;
}

.producto-especificaciones .producto-contenido th {
    background: #12345A;
    color: #FFFFFF;
    padding: 10px 7px;
    text-align: center;
    border: 1px solid #D5DFE9;
    font-weight: 600;
}

.producto-especificaciones .producto-contenido td {
    background: #FFFFFF;
    color: #334155;
    padding: 8px 7px;
    text-align: center;
    border: 1px solid #D5DFE9;
}

.producto-especificaciones .producto-contenido tr:nth-child(even) td {
    background: #F1F5F9;
}

/* COLUMNA DERECHA */
.producto-datos-complementarios {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

/* TARJETAS */
.producto-tarjeta-dato {
    background: #F1F5F9;
    border-radius: 6px;
    padding: 18px 20px;
    box-sizing: border-box;
}

/* TÍTULOS DE TARJETAS */
.producto-tarjeta-dato h2 {
    color: #12345A;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
}

/* LÍNEA AMARILLA */
.producto-tarjeta-dato .producto-linea-amarilla {
    margin-bottom: 14px;
}

/* CONTENIDO DE TARJETAS */
.producto-tarjeta-dato .producto-wysiwyg {
    color: #334155;
    font-size: 13px;
    line-height: 1.6;
}

.producto-tarjeta-dato p {
    margin: 0 0 8px;
}

.producto-tarjeta-dato p:last-child {
    margin-bottom: 0;
}

.producto-tarjeta-dato ul,
.producto-tarjeta-dato ol {
    padding-left: 20px;
    margin: 5px 0;
}

/* TABLET Y MÓVIL */
@media (max-width: 767px) {
    .producto-ficha-tecnica {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
        margin: 35px 0;
    }

    .producto-datos-complementarios {
        gap: 15px;
    }

    .producto-tarjeta-dato {
        padding: 18px;
    }
}

/* ==========================================
   TABLA DE ESPECIFICACIONES TÉCNICAS
   ========================================== */

/* Primera fila: encabezados */
.producto-especificaciones .producto-contenido table thead th,
.producto-especificaciones .producto-contenido table tr:first-child th,
.producto-especificaciones .producto-contenido table tr:first-child td {
    background-color: #12345A !important;
    color: #FFFFFF !important;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #12345A;
    padding: 11px 8px;
}

/* Filas de datos */
.producto-especificaciones .producto-contenido table tbody tr:nth-child(even) td {
    background-color: #F1F5F9;
}

.producto-especificaciones .producto-contenido table tbody tr:nth-child(odd) td {
    background-color: #FFFFFF;
}

/* Bordes */
.producto-especificaciones .producto-contenido table td {
    border: 1px solid #D5DFE9;
}

/* ==========================================
   CARRUSEL DE PRODUCTOS ALEATORIOS
   ========================================== */

.producto-carrusel-relacionados {
    margin: 55px 0 1px;
    width: 100%;
}

/* TÍTULO */
.producto-carrusel-titulo h2 {
    color: #12345A;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
}

.producto-carrusel-titulo .producto-linea-amarilla {
    width: 45px;
    height: 4px;
    background: #FBF01C;
    margin-bottom: 18px;
}

/* CONTENEDOR */
.producto-carrusel-contenedor {
    position: relative;
    padding: 0 28px;
}

/* PISTA HORIZONTAL */
.producto-carrusel-pista {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 2px 12px;
}

.producto-carrusel-pista::-webkit-scrollbar {
    display: none;
}

/* TARJETAS */
.producto-carrusel-tarjeta {
    flex: 0 0 calc((100% - 72px) / 5);
    min-width: 0;
    scroll-snap-align: start;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    background: #FFFFFF;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .07);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.producto-carrusel-tarjeta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .12);
}

/* FOTOGRAFÍAS */
.producto-carrusel-imagen {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #F1F5F9;
    overflow: hidden;
}

.producto-carrusel-imagen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.producto-carrusel-tarjeta:hover .producto-carrusel-imagen img {
    transform: scale(1.04);
}

.producto-carrusel-sin-imagen {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #64748B;
    font-size: 12px;
}

/* CONTENIDO */
.producto-carrusel-contenido {
    padding: 12px;
}

.producto-carrusel-contenido h3 {
    color: #12345A;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 3px;
}

.producto-carrusel-contenido h3 a {
    color: #12345A;
    text-decoration: none;
}

.producto-carrusel-contenido p {
    color: #334155;
    font-size: 13px;
    margin: 0 0 10px;
}

.producto-carrusel-enlace {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #12345A;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.producto-carrusel-enlace:hover {
    color: #B18B00;
}

/* FLECHAS */
.producto-carrusel-flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 32px;
    height: 32px;
    border: 1px solid #DCE4EC;
    border-radius: 50%;
    background: #FFFFFF;
    color: #12345A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.producto-carrusel-flecha:hover {
    background: #12345A;
    color: #FFFFFF;
}

.producto-carrusel-anterior {
    left: -10px;
}

.producto-carrusel-siguiente {
    right: -10px;
}

/* TABLET */
@media (max-width: 921px) {
    .producto-carrusel-tarjeta {
        flex-basis: calc((100% - 36px) / 3);
    }
}

/* MÓVIL */
@media (max-width: 600px) {
    .producto-carrusel-contenedor {
        padding: 0 20px;
    }

    .producto-carrusel-tarjeta {
        flex-basis: 75%;
    }

    .producto-carrusel-flecha {
        width: 28px;
        height: 28px;
    }
}


/* ==========================================
   UNIRUBBER - CATÁLOGO PRINCIPAL
   ========================================== */

/* CONTENEDOR */
.unirubber-catalogo {
    width: 100%;
    color: #334155;
    margin-bottom: 50px;
}

/* CABECERA */
.catalogo-cabecera {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    box-sizing: border-box;
    border-radius: 0;
    margin-top: 0;
    margin-bottom: 25px;

    background-image:
        linear-gradient(
            90deg,
            rgba(3, 35, 68, .96) 0%,
            rgba(3, 35, 68, .82) 55%,
            rgba(3, 35, 68, .55) 100%
        ),
        url('http://unirubbersas.com/wp-content/uploads/2026/11/unirubber-bg-blue-breadcrumb.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 150px;
    padding: 18px max(25px, calc((100vw - 1200px) / 2 + 25px)) 25px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.catalogo-cabecera-contenido {
    width: 100%;
    max-width: 1200px;
}

.catalogo-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #FFFFFF;
    font-size: 12px;
}

.catalogo-breadcrumb a,
.catalogo-breadcrumb span {
    color: #FFFFFF;
    text-decoration: none;
}

.catalogo-breadcrumb i {
    color: #FBF01C;
    font-size: 10px;
}

.catalogo-cabecera h1 {
    color: #FFFFFF;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 9px;
}

.catalogo-cabecera p {
    color: #FFFFFF;
    font-size: 16px;
    margin: 0;
    max-width: 750px;
}

/* SECCIÓN DE CATEGORÍAS */
.catalogo-categorias {
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 25px 55px;
}

.catalogo-introduccion {
    margin-bottom: 25px;
}

.catalogo-introduccion h2 {
    color: #12345A;
    font-size: 25px;
    font-weight: 700;
    margin: 0 0 9px;
}

.catalogo-linea-amarilla {
    width: 43px;
    height: 4px;
    background: #FBF01C;
    margin-bottom: 12px;
}

.catalogo-introduccion p {
    color: #64748B;
    font-size: 15px;
    margin: 0;
}

/* CUADRÍCULA */
.catalogo-grid-categorias {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

/* TARJETAS */
.catalogo-tarjeta-categoria {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.catalogo-tarjeta-categoria:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}

.catalogo-tarjeta-categoria > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

/* IMAGEN */
.catalogo-tarjeta-imagen {
    width: 100%;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    background: #F1F5F9;
}

.catalogo-tarjeta-imagen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.catalogo-tarjeta-categoria:hover img {
    transform: scale(1.04);
}

.catalogo-imagen-vacia {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 35px;
}

/* CONTENIDO DE TARJETA */
.catalogo-tarjeta-contenido {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.catalogo-tarjeta-contenido h3 {
    color: #12345A;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
}

.catalogo-tarjeta-contenido p {
    color: #64748B;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 14px;
}

.catalogo-ver-categoria {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #12345A;
    font-size: 13px;
    font-weight: 700;
    margin-top: auto;
}

.catalogo-ver-categoria:hover {
    color: #B18B00;
}

/* ASESORÍA */
.catalogo-asesoria {
    max-width: 1150px;
    margin: 0 auto 1px;
    padding: 28px 35px;
    background: #F1F5F9;
    border-left: 4px solid #FBF01C;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.catalogo-asesoria h2 {
    color: #12345A;
    font-size: 21px;
    margin: 0 0 7px;
}

.catalogo-asesoria p {
    color: #475569;
    font-size: 14px;
    margin: 0;
}

.catalogo-asesoria > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #25D366;
    color: #FFFFFF;
    padding: 13px 22px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.catalogo-asesoria > a:hover {
    background: #128C7E;
    color: #FFFFFF;
}

/* TABLET */
@media (max-width: 921px) {
    .catalogo-grid-categorias {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .catalogo-asesoria {
        margin-left: 25px;
        margin-right: 25px;
    }
}

/* MÓVIL */
@media (max-width: 600px) {
    .catalogo-cabecera {
        min-height: 165px;
        padding: 22px 20px;
    }

    .catalogo-cabecera h1 {
        font-size: 27px;
    }

    .catalogo-cabecera p {
        font-size: 14px;
    }

    .catalogo-categorias {
        padding: 35px 18px;
    }

    .catalogo-introduccion h2 {
        font-size: 21px;
    }

    .catalogo-grid-categorias {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .catalogo-tarjeta-contenido {
        padding: 11px;
    }

    .catalogo-tarjeta-contenido h3 {
        font-size: 14px;
    }

    .catalogo-tarjeta-contenido p {
        font-size: 12px;
    }

    .catalogo-ver-categoria {
        font-size: 12px;
    }

    .catalogo-asesoria {
        flex-direction: column;
        align-items: flex-start;
        margin: 0 18px 35px;
        padding: 22px;
    }

    .catalogo-asesoria > a {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Mantener el contenido alineado con el resto de la página */
.catalogo-cabecera-contenido {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 25px 28px;
}
/* Eliminar espacio entre el header y la cabecera del catálogo */
body.page .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.page .site-content .ast-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.page .unirubber-catalogo {
    margin-top: 0 !important;
}

/* CUADRÍCULA DE PRODUCTOS POR CATEGORÍA */
.unirubber-catalogo .categoria-productos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
}

/* TARJETAS */
.unirubber-catalogo .categoria-producto-card {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.unirubber-catalogo .categoria-producto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .10);
}

/* IMÁGENES */
.unirubber-catalogo .categoria-producto-card img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* CONTENIDO */
.unirubber-catalogo .categoria-producto-card a {
    display: block;
    text-decoration: none;
}

.unirubber-catalogo .categoria-producto-info {
    padding: 20px;
}

.unirubber-catalogo .categoria-producto-info h2 {
    color: #12345A;
    font-size: 20px;
    margin-bottom: 15px;
}

.unirubber-catalogo .categoria-producto-info span {
    color: #12345A;
    font-weight: 600;
}

/* TABLET */
@media (max-width: 1024px) {
    .unirubber-catalogo .categoria-productos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MÓVIL */
@media (max-width: 600px) {
    .unirubber-catalogo .categoria-productos-grid {
        grid-template-columns: 1fr;
    }
}
/* CUADRÍCULA DE PRODUCTOS */
.unirubber-catalogo .categoria-productos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
}

.unirubber-catalogo .categoria-producto-card {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.unirubber-catalogo .categoria-producto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .10);
}

.unirubber-catalogo .categoria-producto-card img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.unirubber-catalogo .categoria-producto-card a {
    display: block;
    text-decoration: none;
}

.unirubber-catalogo .categoria-producto-info {
    padding: 20px;
}

.unirubber-catalogo .categoria-producto-info h2 {
    color: #12345A;
    font-size: 20px;
    margin-bottom: 15px;
}

.unirubber-catalogo .categoria-producto-info span {
    color: #12345A;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .unirubber-catalogo .categoria-productos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .unirubber-catalogo .categoria-productos-grid {
        grid-template-columns: 1fr;
    }
}

/* CAMPOS DE APLICACIÓN */
.campos-aplicacion-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
}

.campo-aplicacion-card {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.campo-aplicacion-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .10);
}

.campo-aplicacion-card a {
    display: block;
    text-decoration: none;
}

.campo-aplicacion-imagen {
    height: 190px;
    overflow: hidden;
}

.campo-aplicacion-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.campo-aplicacion-card:hover img {
    transform: scale(1.04);
}

.campo-aplicacion-info {
    padding: 20px;
}

.campo-aplicacion-info h2 {
    color: #12345A;
    font-size: 19px;
    margin-bottom: 10px;
}

.campo-aplicacion-info p {
    color: #64748B;
    font-size: 14px;
    line-height: 1.6;
}

.campo-aplicacion-info span {
    color: #12345A;
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .campos-aplicacion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .campos-aplicacion-grid {
        grid-template-columns: 1fr;
    }
}

/* PÁGINA DE CONTACTO */
.contacto-contenido {
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 25px 70px;
}

.contacto-introduccion {
    max-width: 100%;
    margin-bottom: 35px;
}

.contacto-introduccion h2,
.contacto-mapa h2 {
    color: #12345A;
    font-size: 28px;
    font-weight: 700;
}

.contacto-introduccion p {
    color: #64748B;
    line-height: 1.7;
}

.contacto-tarjetas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.contacto-tarjeta {
    padding: 30px 25px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,.05);
}

.contacto-tarjeta > i {
    font-size: 30px;
    color: #12345A;
    margin-bottom: 15px;
}

.contacto-tarjeta h3 {
    color: #12345A;
    font-size: 20px;
    margin-bottom: 12px;
}

.contacto-tarjeta p {
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.contacto-tarjeta a {
    color: #12345A;
    text-decoration: none;
}

.contacto-tarjeta a:hover {
    color: #B89B00;
}

.contacto-whatsapp {
    margin: 40px 0 55px;
    padding: 30px;
    background: #F1F5F9;
    border-left: 4px solid #FBF01C;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.contacto-whatsapp h2 {
    color: #12345A;
    font-size: 23px;
    margin-bottom: 5px;
}

.contacto-whatsapp p {
    color: #64748B;
    margin: 0;
}

.contacto-whatsapp a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #12345A;
    color: #fff;
    padding: 14px 22px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.contacto-whatsapp a:hover {
    background: #0B2948;
    color: #fff;
}

.contacto-mapa h2 {
    margin-bottom: 20px;
}

.contacto-mapa iframe {
    display: block;
    width: 100%;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .contacto-tarjetas {
        grid-template-columns: 1fr;
    }

    .contacto-whatsapp {
        flex-direction: column;
        align-items: flex-start;
    }

    .contacto-whatsapp a {
        white-space: normal;
    }
}
