@import url("./white-theme.css?v=20260922");
/*
=====================================================
DIPTEC - MAIN CSS
=====================================================
*/


/*
=====================================================
RESET
=====================================================
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #163447;

    background: #ffffff;

    line-height: 1.6;
}


a {
    text-decoration: none;
}


/*
=====================================================
CONTAINER
=====================================================
*/

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/*
=====================================================
HEADER
=====================================================
*/

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(
        255,
        255,
        255,
        .97
    );

    border-bottom:
        1px solid #e6edf1;

    backdrop-filter:
        blur(10px);
}


.navbar {
    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.logo img {
    width: 165px;
    height: auto;
    display: block;
}


.nav-menu {
    display: flex;

    align-items: center;

    gap: 28px;
}


.nav-menu a {
    color: #173d53;

    font-size: 14px;

    font-weight: 600;

    transition: .2s;
}


.nav-menu a:hover {
    color: #00a8c8;
}


.nav-menu a.nav-active {
    color: #00a8c8;
}


/*
=====================================================
IDIOMAS
=====================================================
*/

.languages {
    display: flex;

    align-items: center;

    gap: 5px;

    border:
        1px solid #dce5ea;

    padding: 5px;

    border-radius: 20px;
}


.languages a {
    padding:
        5px 9px;

    border-radius: 15px;

    font-size: 12px;

    font-weight: bold;

    color: #527080;
}


.languages a.active {
    background: #123c55;
    color: white;
}


/*
=====================================================
LOGIN
=====================================================
*/

.login-btn {
    background: #123c55;

    color: white !important;

    padding:
        10px 16px;

    border-radius: 7px;
}


.login-btn:hover {
    background: #0e3045;
}


/*
=====================================================
HERO
=====================================================
*/

.hero {
    min-height: 600px;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            110deg,
            #0e354c 0%,
            #14536c 55%,
            #0c8499 100%
        );
}


.hero::after {
    content: "";

    position: absolute;

    width: 550px;

    height: 550px;

    border-radius: 50%;

    right: -180px;

    top: -170px;

    background:
        rgba(
            255,
            255,
            255,
            .06
        );
}


.hero-content {
    position: relative;

    z-index: 2;

    max-width: 700px;

    color: white;
}


.hero-content h1 {
    font-size:
        clamp(
            38px,
            6vw,
            68px
        );

    line-height: 1.05;

    margin-bottom: 25px;

    letter-spacing: -2px;
}


.hero-content p {
    font-size: 19px;

    max-width: 650px;

    color:
        rgba(
            255,
            255,
            255,
            .88
        );

    margin-bottom: 35px;
}


.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


/*
=====================================================
BOTONES
=====================================================
*/

.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        13px 22px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: bold;

    transition: .2s;

    border: none;

    cursor: pointer;
}


.btn-primary {
    background: #123c55;
    color: white;
}


.btn-primary:hover {
    transform:
        translateY(-2px);

    background: #0e3045;
}


.btn-light {
    background: white;
    color: #123c55;
}


.btn-light:hover {
    transform:
        translateY(-2px);
}


/*
=====================================================
SECCIONES
=====================================================
*/

.section {
    padding:
        85px 0;
}


.section-header {
    text-align: center;

    max-width: 720px;

    margin:
        0 auto 45px;
}


.section-header h2 {
    font-size: 38px;

    color: #123c55;

    margin-bottom: 12px;
}


.section-header p {
    color: #647984;
}


/*
=====================================================
PRODUCTOS
=====================================================
*/

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                250px,
                1fr
            )
        );

    gap: 25px;
}


.product-card {
    background: white;

    border:
        1px solid #e6edf1;

    border-radius: 15px;

    overflow: hidden;

    box-shadow:
        0 8px 30px
        rgba(
            17,
            50,
            67,
            .07
        );

    transition: .25s;
}


.product-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        0 15px 35px
        rgba(
            17,
            50,
            67,
            .12
        );
}


/*
=====================================================
IMAGEN DEL PRODUCTO
=====================================================
*/

.product-image {
    height: 230px;

    padding: 20px;

    background:
        #f7fafb;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;
}


.product-image img {
    width: 100%;

    height: 100%;

    object-fit: contain;
}


/*
=====================================================
IMAGEN PLACEHOLDER
=====================================================
*/

.product-placeholder {
    font-size: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;
}


/*
=====================================================
PRODUCTO DESTACADO
=====================================================
*/

.featured-badge {
    position: absolute;

    top: 15px;

    left: 15px;

    background: #f3b51b;

    color: white;

    padding:
        5px 10px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: bold;

    z-index: 2;
}


.catalog-featured {
    position: absolute;

    top: 15px;

    right: 15px;

    z-index: 3;

    background: #f3b51b;

    color: white;

    padding:
        5px 10px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: bold;
}


/*
=====================================================
INFORMACIÓN PRODUCTO
=====================================================
*/

.product-info {
    padding: 22px;
}


.product-category {
    font-size: 11px;

    color: #00a2c2;

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: .5px;

    margin-bottom: 5px;
}


.product-info h3 {
    color: #123c55;

    font-size: 20px;

    margin-bottom: 8px;
}


.product-brand {
    color: #758993;

    font-size: 13px;

    margin-bottom: 12px;
}


.product-description {
    color: #667984;

    font-size: 14px;

    margin-bottom: 18px;
}


/*
=====================================================
PRECIO / WHATSAPP PRODUCTO
=====================================================
*/

.product-bottom {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    border-top:
        1px solid #edf1f3;

    padding-top: 15px;
}


.product-price {
    color: #123c55;

    font-size: 18px;

    font-weight: bold;
}


.product-price.consultar {
    color: #00a2c2;

    font-size: 14px;
}


.product-whatsapp {
    background: #F59E0B;

    color: white;

    padding:
        9px 13px;

    border-radius: 7px;

    font-size: 12px;

    font-weight: bold;

    transition: .2s;

    display: inline-flex;

    align-items: center;

    justify-content: center;
}


.product-whatsapp:hover {
    background: #D97706;

    transform:
        translateY(-1px);
}


/*
=====================================================
SERVICIOS
=====================================================
*/

.services-section {
    background: #f7fafb;
}


.service-icon {
    padding: 45px;

    text-align: center;

    font-size: 55px;

    background: #ffffff;
}


/*
=====================================================
CATÁLOGO PÚBLICO
=====================================================
*/

.catalog-hero {
    background:
        linear-gradient(
            110deg,
            #0e354c 0%,
            #14536c 55%,
            #0c8499 100%
        );

    padding:
        80px 0;

    color: white;

    text-align: center;
}


.catalog-hero h1 {
    font-size:
        clamp(
            38px,
            5vw,
            58px
        );

    margin-bottom: 15px;
}


.catalog-hero p {
    max-width: 700px;

    margin: auto;

    color:
        rgba(
            255,
            255,
            255,
            .85
        );

    font-size: 17px;
}


.catalog-section {
    padding:
        60px 0 90px;

    background: #f7fafb;
}


/*
=====================================================
FILTROS CATÁLOGO
=====================================================
*/

.catalog-filters {
    background: white;

    border:
        1px solid #e4ebef;

    border-radius: 15px;

    padding: 25px;

    margin-bottom: 35px;

    box-shadow:
        0 8px 25px
        rgba(
            17,
            50,
            67,
            .06
        );
}


.catalog-filter-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr auto;

    gap: 15px;

    align-items: end;
}


.catalog-filter-group label {
    display: block;

    font-size: 12px;

    font-weight: bold;

    color: #48606d;

    margin-bottom: 7px;
}


.catalog-filter-group input,
.catalog-filter-group select {
    width: 100%;

    padding:
        12px 13px;

    border:
        1px solid #d5e0e5;

    border-radius: 8px;

    font-family: inherit;

    font-size: 14px;

    background: white;
}


.catalog-filter-group input:focus,
.catalog-filter-group select:focus {
    outline: none;

    border-color: #123c55;
}


.catalog-filter-buttons {
    display: flex;

    gap: 8px;
}


.catalog-filter-buttons button,
.catalog-filter-buttons a {
    white-space: nowrap;
}


/*
=====================================================
RESULTADOS CATÁLOGO
=====================================================
*/

.catalog-results {
    margin-bottom: 25px;

    color: #617681;

    font-size: 14px;
}


.catalog-results strong {
    color: #123c55;
}


/*
=====================================================
TARJETAS CATÁLOGO
=====================================================
*/

.catalog-product-card {
    position: relative;
}


.catalog-product-image {
    height: 250px;
}


.catalog-product-info {
    min-height: 245px;
}


.catalog-product-code {
    color: #899aa3;

    font-size: 11px;

    margin-bottom: 8px;
}


.catalog-product-actions {
    margin-top: 20px;

    display: flex;

    gap: 8px;
}


.catalog-product-actions a {
    flex: 1;

    text-align: center;
}


/*
=====================================================
CATÁLOGO VACÍO
=====================================================
*/

.catalog-empty {
    background: white;

    border-radius: 15px;

    padding:
        70px 25px;

    text-align: center;

    color: #647984;

    border:
        1px solid #e5ecef;
}


.catalog-empty-icon {
    font-size: 55px;

    margin-bottom: 15px;
}


/*
=====================================================
CTA
=====================================================
*/

.cta {
    background:
        #f0f7f9;

    padding:
        70px 0;
}


.cta-box {
    background:
        linear-gradient(
            110deg,
            #123c55,
            #087f98
        );

    border-radius: 20px;

    padding:
        55px;

    color: white;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.cta-box h2 {
    font-size: 32px;

    margin-bottom: 10px;
}


.cta-box p {
    color:
        rgba(
            255,
            255,
            255,
            .8
        );
}


/*
=====================================================
FOOTER
=====================================================
*/

footer {
    background: #0c2b3d;

    color: white;

    padding:
        45px 0 20px;
}


.footer-content {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 40px;
}


.footer-logo img {
    width: 160px;

    margin-bottom: 15px;
}


.footer-content h3 {
    margin-bottom: 15px;

    font-size: 15px;
}


.footer-content p,
.footer-content a {
    color:
        #b4c5ce;

    font-size: 13px;
}


.footer-links {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.footer-links a:hover {
    color: white;
}


.footer-bottom {
    margin-top: 35px;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            .1
        );

    text-align: center;

    color: #8da3ae;

    font-size: 12px;
}


/*
=====================================================
WHATSAPP FLOTANTE
=====================================================
*/

.whatsapp-float {
    position: fixed;

    right: 22px;

    bottom: 22px;

    z-index: 999;

    width: 58px;

    height: 58px;

    border-radius: 50%;

    background: #20b85a;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 27px;

    box-shadow:
        0 8px 25px
        rgba(
            0,
            0,
            0,
            .2
        );

    transition: .2s;
}


.whatsapp-float:hover {
    transform:
        scale(1.08);

    background: #169947;
}


/*
=====================================================
NO PRODUCTOS
=====================================================
*/

.no-products {
    text-align: center;

    padding: 50px;

    color: #647984;
}


/*
=====================================================
RESPONSIVE - TABLET
=====================================================
*/

@media (max-width: 900px) {

    .nav-menu {
        gap: 14px;
    }


    .nav-menu a {
        font-size: 12px;
    }


    .cta-box {
        flex-direction: column;

        align-items: flex-start;

        padding: 35px;
    }


    .footer-content {
        grid-template-columns:
            1fr 1fr;
    }


    .catalog-filter-grid {
        grid-template-columns:
            1fr 1fr;
    }

}


/*
=====================================================
RESPONSIVE - MOBILE
=====================================================
*/

@media (max-width: 650px) {

    .navbar {
        padding:
            15px 0;

        flex-wrap: wrap;
    }


    .logo {
        width: 100%;

        text-align: center;
    }


    .logo img {
        margin: auto;
    }


    .nav-menu {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;
    }


    .languages {
        margin: auto;
    }


    .hero {
        min-height: 520px;
    }


    .hero-content {
        text-align: center;
    }


    .hero-content h1 {
        font-size: 42px;
    }


    .hero-content p {
        font-size: 16px;
    }


    .hero-buttons {
        justify-content: center;
    }


    .section {
        padding:
            60px 0;
    }


    .section-header h2 {
        font-size: 30px;
    }


    .product-bottom {
        flex-direction: column;

        align-items: stretch;
    }


    .product-whatsapp {
        text-align: center;
    }


    .footer-content {
        grid-template-columns: 1fr;
    }


    /*
    =============================================
    CATÁLOGO MOBILE
    =============================================
    */

    .catalog-hero {
        padding:
            60px 0;
    }


    .catalog-hero h1 {
        font-size: 38px;
    }


    .catalog-hero p {
        font-size: 15px;
    }


    .catalog-filter-grid {
        grid-template-columns: 1fr;
    }


    .catalog-filter-buttons {
        width: 100%;
    }


    .catalog-filter-buttons a,
    .catalog-filter-buttons button {
        flex: 1;

        text-align: center;
    }


    .catalog-product-actions {
        flex-direction: column;
    }

}


/*
=====================================================
BOTONES TARJETA PRODUCTO DESTACADO
=====================================================
*/

.product-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.product-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 13px;
    border-radius: 7px;
    background: #123c55;
    color: white;
    font-size: 12px;
    font-weight: bold;
    transition: .2s;
}

.product-view-button:hover {
    background: #0d3044;
    transform: translateY(-1px);
}

.product-card-actions .product-whatsapp {
    width: 100%;
}

@media (max-width: 650px) {

    .product-card-actions {
        grid-template-columns: 1fr;
    }

}

/* Fondo uniforme para fotografías de productos: integra blancos con la tarjeta sin modificar las imágenes originales. */
.product-card img,
.product-image img {
    mix-blend-mode: multiply;
}


/* Alineación uniforme de acciones en tarjetas de producto */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
}
.product-bottom {
    margin-top: auto;
}

/* Consulta por WhatsApp: color destacado */
.product-whatsapp {
    background: #F59E0B !important;
}

.product-whatsapp:hover {
    background: #D97706 !important;
}

/* Detalle de producto: acciones e imágenes consistentes */
.product-whatsapp-main {
    background: #F59E0B !important;
}

.product-whatsapp-main:hover {
    background: #D97706 !important;
}

.product-main-image img,
.product-thumbnail img {
    mix-blend-mode: multiply;
}

.product-thumbnail {
    background: #F3F7F9;
}

.product-thumbnail {
    background: #F3F7F9 !important;
}

/* Recomendados: integrar fondos claros de todas las imágenes */
.related-product-image img {
    mix-blend-mode: multiply;
}
