﻿

/* =========================================
   RIMAG IMPORTACIONES - THEME 2026
   ========================================= */

:root {
    --rimag-blue: #002868;
    --rimag-orange: #ff6600;
    --rimag-light: #f5f7fa;
    --rimag-dark: #0f172a;
    --rimag-white: #ffffff;
}

body {
    background: #f5f7fa !important;
}

/* =========================================
   HERO HOME
========================================= */

.hero-rimag {
    width: 100%;
    margin: 0;
    background: #002868;
    padding: 30px 40px;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-sizing: border-box;
}

.hero-left {
    flex: 1;
}

    .hero-left h1 {
        font-size: 62px;
        font-weight: 800;
        line-height: 1.1;
        color: #ffffff;
        margin-bottom: 20px;
    }

        .hero-left h1 span {
            color: #FF6A00;
        }

    .hero-left p {
        font-size: 18px;
        color: #ffffff;
        max-width: 500px;
    }

.hero-right {
    flex: 1;
    text-align: center;
}

    .hero-right img {
        width: 100%;
        max-width: 700px;
    }

/* =========================================
   HEADER RIMAG
========================================= */

.rimag-header {
    width: 100%;
    background: white;
    padding: 20px 40px;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

    .rimag-header .container-rimag {
        display: flex;
        align-items: center;
        gap: 30px;
    }

.header-logo img {
    height: 60px;
}

.header-search {
    flex: 1;
    max-width: 900px;
    margin-right: 60px;
}

    .header-search input {
        width: 100%;
        height: 48px;
        border: 2px solid #e5e5e5;
        border-radius: 8px;
        padding: 0 15px;
        font-size: 15px;
    }

.header-actions {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
}

    .header-actions a {
        text-decoration: none;
        color: #0B2E6B;
        font-weight: 600;
    }

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .hero-rimag {
        flex-direction: column;
        text-align: center;
    }

    .hero-left h1 {
        font-size: 32px;
    }

    .hero-left p {
        max-width: 100%;
    }

    .hero-right img {
        max-width: 100%;
    }

    .rimag-features {
        flex-direction: column;
        gap: 20px;
    }

    .feature-item {
        width: 100%;
        border-right: none !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 768px) {

    .rimag-header {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

        .rimag-header .container-rimag {
            flex-direction: column;
            align-items: center;
            gap: 20px;
            text-align: center;
        }

    .header-search {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
    }

        .header-search input {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

    .header-actions {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }


    .hero-rimag {
        width: 100%;
        margin: 0;
        padding: 25px;
        gap: 25px;
        flex-direction: column;
        text-align: center;
        box-sizing: border-box;
    }

    .hero-left,
    .hero-right {
        width: 100%;
    }

        .hero-left h1 {
            font-size: 32px;
        }

        .hero-right img {
            width: 100%;
            max-width: 100%;
            height: auto;
            display: block;
        }
}


/* =========================================
   MENU RIMAG
========================================= */

.rimag-menu {
    width: 100%;
    margin: 0;
    background: #ffffff;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 45px;
    height: 60px;
    border-bottom: 1px solid #e5e7eb;
    box-sizing: border-box;
}

    .rimag-menu a {
        position: relative;
        text-decoration: none;
        color: #111827;
        font-size: 15px;
        font-weight: 500;
        height: 60px;
        display: flex;
        align-items: center;
        transition: .2s;
    }

        .rimag-menu a:hover {
            color: #ff6600;
        }

        .rimag-menu a.active {
            color: #ff6600;
            font-weight: 600;
        }

            .rimag-menu a.active::after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 3px;
                background: #ff6600;
            }

.menu-toggle {
    display: none;
}

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
        width: 100%;
        height: 50px;
        border: none;
        background: #002868;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }

    .rimag-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        height: auto;
        gap: 0;
        padding: 0;
    }

        .rimag-menu.show {
            display: flex;
        }

        .rimag-menu a {
            width: 100%;
            height: auto;
            padding: 15px 25px;
            border-bottom: 1px solid #e5e7eb;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            box-sizing: border-box;
        }
}

/* =========================================
   MENU RESPONSIVE
========================================= */
/*@media (max-width: 768px) {

    .menu-toggle {
        display: block !important;
        width: 100%;
        background: #002868;
        color: white;
        border: none;
        padding: 15px;
        font-size: 24px;
    }

    .rimag-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #ffffff;
    }

        .rimag-menu.show {
            display: flex;
        }

        .rimag-menu a {
            display: block;
            width: 100%;
            padding: 15px 20px;
            border-bottom: 1px solid #e5e5e5;
        }

        .rimag-menu a {
            display: block !important;
            width: 100%;
            padding: 15px 20px;
            border-bottom: 1px solid #e5e7eb;
            text-align: left;
        }
}*/


/* =========================================
   BENEFICIOS
========================================= */

.rimag-features {
    width: 100%;
    margin: 0;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 30px;
    border-bottom: 1px solid #e5e7eb;
    box-sizing: border-box;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

    .feature-item i {
        font-size: 34px;
        color: #002868;
    }

    .feature-item strong {
        display: block;
        font-size: 15px;
        color: #111827;
    }

    .feature-item span {
        display: block;
        font-size: 13px;
        color: #6b7280;
    }

    .feature-item:not(:last-child) {
        border-right: 1px solid #e5e7eb;
        padding-right: 20px;
    }

@media (max-width: 900px) {

    .rimag-features {
        flex-direction: column;
        gap: 20px;
    }

    .feature-item {
        width: 100%;
        border-right: none !important;
        padding-right: 0 !important;
    }
}


/* =========================================
   FOOTER RIMAG
========================================= */

.rimag-footer {
    margin-top: 0;
}

.rimag-footer-top {
    background: #0b5ed7;
    color: white;
    padding: 50px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.footer-cta {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
}

.footer-cta-icon i {
    font-size: 70px;
    color: white;
}

.footer-cta-content h3 {
    margin: 0 0 10px 0;
    font-size: 30px;
    font-weight: 700;
}

.footer-cta-content p {
    margin: 0 0 20px 0;
    opacity: .9;
}

.btn-cotizacion {
    display: inline-block;
    background: white;
    color: #0b5ed7;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.footer-benefits {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .benefit i {
        font-size: 28px;
    }

.rimag-footer-main {
    background: #0f172a;
    color: white;
    padding: 70px 60px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand img {
    max-width: 220px;
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.8;
    color: #cbd5e1;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: white;
    font-size: 18px;
}

.footer-col a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 12px;
}

.footer-col p {
    color: #cbd5e1;
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: white;
}

@media (max-width: 900px) {

    .rimag-footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-cta {
        flex-direction: column;
    }

    .footer-benefits {
        grid-template-columns: 1fr;
    }

    .rimag-footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
}



/* =========================================
   CONTENEDOR GENERAL
========================================= */

.container-rimag {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
}

.header-search {
    display: flex;
    gap: 10px;
}

#btnBuscar {
    width: 50px;
    border: none;
    border-radius: 8px;
    background: #ff6600;
    color: white;
    cursor: pointer;
}



/* GRID PRODUCTOS HOME */

.resultados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}


html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

main {
    margin: 0 !important;
    padding: 0 !important;
}



/* =====================================================
   COMPARATIVO
===================================================== */

.comparativo-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.switch-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.switch-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

/* SWITCH */

.switch {
    position: relative;
    width: 58px;
    height: 30px;
}

    .switch input {
        display: none;
    }

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #d1d5db;
    border-radius: 999px;
    transition: all .25s ease;
}

    .slider:before {
        content: "";
        position: absolute;
        width: 24px;
        height: 24px;
        left: 3px;
        top: 3px;
        background: #fff;
        border-radius: 50%;
        transition: all .25s ease;
        box-shadow: 0 3px 8px rgba(0,0,0,.15);
    }

.switch input:checked + .slider {
    background: #10b981;
}

    .switch input:checked + .slider:before {
        transform: translateX(28px);
    }


/* =====================================================
   COMPARATIVO
===================================================== */

.comparativo-box {
    display: flex;
    align-items: center;
    gap: 18px;
}

.switch-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.switch-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.switch {
    position: relative;
    width: 58px;
    height: 30px;
}

    .switch input {
        display: none;
    }

.slider {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 999px;
    cursor: pointer;
    transition: all .3s ease;
}

    .slider:before {
        content: "";
        position: absolute;
        width: 24px;
        height: 24px;
        left: 3px;
        top: 3px;
        background: #fff;
        border-radius: 50%;
        transition: all .3s ease;
        box-shadow: 0 2px 6px rgba(0,0,0,.15);
    }

.switch input:checked + .slider {
    background: #10b981;
}

    .switch input:checked + .slider:before {
        transform: translateX(28px);
    }

.select-comparativo {
    width: 130px;
    height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0 12px;
    background: #fff;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

    .select-comparativo:focus {
        outline: none;
        border-color: #f97316;
        box-shadow: 0 0 0 3px rgba(249,115,22,.15);
    }

