/* =========================================================
   DALTON MEGA MODELOS
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
.dmm-menu,
.dmm-menu * {
    box-sizing: border-box;
}

.dmm-menu {
    width: 100%;
    display: grid;
    grid-template-columns: var(--dmm-sidebar, 195px) minmax(0, 1fr);
    background: var(--dmm-bg, #fff);
    border-radius: var(--dmm-radius, 0);
    overflow: hidden;
    font-family: inherit;
}


/* =========================================================
   TABS / COLUMNA IZQUIERDA
========================================================= */

.dmm-tabs {
    border-right: 1px solid #ececec;
    background: var(--dmm-tab-bg, #fff);
}

.dmm-tab {
    appearance: none;
    border: 0;
    outline: 0;

    width: 100%;
    min-height: 55px;

    padding: 0 26px 0 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--dmm-tab-bg, #fff);
    color: #333A3D;

    font: inherit;
    font-size: 16px;
    font-weight: 600;
     font-family: 'Poppins', sans-serif;

    text-align: left;
    cursor: pointer;

    transition: 0.2s ease;
}

.dmm-tab:hover,
.dmm-tab.is-active {
    background: var(--dmm-tab-active, #f2f2f2);
}

.dmm-arrow {
    font-size: 24px;
    line-height: 1;
    font-weight: 300;
}


/* =========================================================
   CONTENIDO
========================================================= */

.dmm-content {
    min-width: 0;

    background: var(--dmm-content-bg, #fff);

    padding: 16px 30px 32px;
}


/* =========================================================
   PANELES
========================================================= */

.dmm-panel {
    display: none;
}

.dmm-panel.is-active {
    display: block;
    animation: dmmFade 0.22s ease both;
}

@keyframes dmmFade {

    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: none;
    }

}


/* =========================================================
   LOGO DE MARCA
========================================================= */

.dmm-brand-logo-wrap {
    min-height: calc(var(--dmm-logo-height, 36px) + 7px);

    display: flex;
    align-items: center;

    margin-bottom: 10px;
}

.dmm-brand-logo {
    display: block;

    width: auto;
    max-width: 220px;
    max-height: var(--dmm-logo-height, 36px);

    object-fit: contain;
}

.dmm-brand-text-logo {
    font-size: 28px;
    font-weight: 700;

    letter-spacing: 0.04em;

    color: #444;
}


/* =========================================================
   GRID DE AUTOS
========================================================= */

.dmm-grid {
    display: grid;

    grid-template-columns:
        repeat(
            var(--dmm-columns, 4),
            minmax(110px, 1fr)
        );

    gap: 24px 26px;

    align-items: start;

    max-width: 950px;
}


/* =========================================================
   CARD DE AUTO
========================================================= */

.dmm-card {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    color: var(--dmm-model-text, #30343b) !important;

    text-decoration: none !important;

    transition: transform 0.2s ease;
}

.dmm-card:hover {
    transform: translateY(-3px);
}


/* =========================================================
   IMAGEN DEL AUTO
========================================================= */

.dmm-image {
    width: 210px;
    height: 100px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    margin-bottom: 4px;
}

.dmm-image img {
    display: block;

    width: 210px;
    height: 100px;

    object-fit: contain;
}


/* =========================================================
   SIN IMAGEN
========================================================= */

.dmm-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5f5f5;
    color: #999;

    font-size: 11px;
}


/* =========================================================
   NOMBRE DEL MODELO
========================================================= */

.dmm-model-line {
    width: auto;
    min-height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    text-align: center;
}

.dmm-model-name {
    color: #1F2937;
     font-family: 'Poppins', sans-serif;
    font-size: 15.83px;
    font-weight: 600;
    line-height: 1.25;
}


/* =========================================================
   ICONO HÍBRIDO
========================================================= */

.dmm-hybrid {
    width: 21px;
    height: 21px;

    flex: 0 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dmm-hybrid img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================================
   TABLET / LAPTOP
========================================================= */

@media (max-width: 1100px) {

    .dmm-menu {
        grid-template-columns: 170px minmax(0, 1fr);
    }

    .dmm-tab {
        padding-left: 25px;
    }

    .dmm-grid {
        grid-template-columns:
            repeat(3, minmax(105px, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    /* =========================
       CONTENEDOR GENERAL
    ========================= */

    .dmm-menu {
        display: block;

        width: 100%;

        overflow: visible;

        background: #fff;

        border-radius: 0;
    }


    /* =========================
       TABS
    ========================= */

    .dmm-tabs {
        width: 100%;

        display: grid;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        overflow: visible;

        border-right: 0;
        border-bottom: 1px solid #bfc0c2;

        background: #fff;

        scrollbar-width: none;
    }

    .dmm-tabs::-webkit-scrollbar {
        display: none;
    }

    .dmm-tab {
        position: relative;

        width: 100%;
        min-width: 0;
        min-height: 39px;

        padding: 0 4px;

        display: flex;
        align-items: center;
        justify-content: center;

        background: #fff !important;
        color: #62666b;

        font-size: 15px;
        font-weight: 500;
        line-height: 1;

        text-align: center;
    }

    .dmm-tab::after {
        content: "";

        position: absolute;

        left: 0;
        right: 0;
        bottom: -1px;

        height: 3px;

        background: transparent;
    }

    .dmm-tab.is-active {
        color: #55595e;

        background: #fff !important;
    }

    .dmm-tab.is-active::after {
        background: #ef233c;
    }

    .dmm-tab-count,
    .dmm-arrow {
        display: none;
    }


    /* =========================
       CONTENIDO
    ========================= */

    .dmm-content {
        width: 100%;

        padding: 18px 12px 26px;

        background: #fff;
    }


    /* =========================
       OCULTAR LOGO EN MOBILE
    ========================= */

    .dmm-brand-logo-wrap {
        display: none !important;
    }


    /* =========================
       GRID MOBILE
    ========================= */

    .dmm-grid {
        width: 100%;
        max-width: none;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 10px;
        row-gap: 26px;
    }


    /* =========================
       CARD MOBILE
    ========================= */

    .dmm-card {
        width: 100%;
        min-width: 0;

        transform: none !important;
    }


    /* =========================
       IMAGEN MOBILE
    ========================= */

    .dmm-image {
        width: 100%;
        height: 112px;

        margin-bottom: 5px;

        align-items: flex-end;
    }

    .dmm-image img {
        width: 100%;
        max-width: 195px;
        height: 112px;

        object-fit: contain;
    }


    /* =========================
       NOMBRE + ICONO
    ========================= */

    .dmm-model-line {
        width: 100%;

        min-height: 24px;

        display: flex;
        align-items: center;
        justify-content: center;

        gap: 7px;
    }

    .dmm-model-name {
        color: #1F2937
         font-family: 'Poppins', sans-serif;
        font-size: 15.83px;
        font-weight: 600;
        line-height: 1.12;

        white-space: normal;
    }


    /* =========================
       ICONO HÍBRIDO MOBILE
    ========================= */

    .dmm-hybrid {
        width: 22px;
        height: 22px;

        flex: 0 0 22px;
    }

    .dmm-hybrid img {
        width: 100%;
        height: 100%;
    }

}


/* =========================================================
   MOBILE PEQUEÑO
========================================================= */

@media (max-width: 380px) {

    .dmm-tab {
        font-size: 13px;
    }

    .dmm-content {
        padding-left: 8px;
        padding-right: 8px;
    }

    .dmm-grid {
        column-gap: 6px;
        row-gap: 22px;
    }

    .dmm-image,
    .dmm-image img {
        height: 96px;
    }

    .dmm-model-name {
        font-size: 15.83px;
         font-family: 'Poppins', sans-serif;
    }

}