﻿@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

/* KINETIK VOLT - TIPOGRAFIA GLOBAL DE TARJETAS */
/* Valores originales: no modificar el diseño aprobado */

:root {
    --kv-tarjeta-fuente: "Montserrat", Arial, Helvetica, sans-serif;

    --kv-tarjeta-codigo: 7.2px;
    --kv-tarjeta-nombre: 17.4px;
    --kv-tarjeta-marca: 9px;
    --kv-tarjeta-caracteristicas: 9px;
    --kv-tarjeta-precio: 16.2px;
    --kv-tarjeta-modalidad: 7.2px;

    --kv-tarjeta-nombre-peso: 800;
    --kv-tarjeta-codigo-peso: 700;
    --kv-tarjeta-caracteristicas-peso: 500;
    --kv-tarjeta-precio-peso: 800;
    --kv-tarjeta-modalidad-peso: 600;
}

@media (max-width: 600px) {
    :root {
        --kv-tarjeta-nombre: 15px;
        --kv-tarjeta-precio: 13.8px;
    }
}

@media (max-width: 420px) {
    :root {
        --kv-tarjeta-nombre: 14.4px;
        --kv-tarjeta-precio: 15px;
    }
}


/* ALINEACION DERECHA - IDENTIDAD */
.kv-product-template-01__identity-text {
    flex: 1 1 auto;
    min-width: 0;
    align-items: flex-end;
    text-align: right;
}

.kv-product-template-01__identity-text > .kv-product-template-01__codigo,
.kv-product-template-01__identity-text > h2,
.kv-product-template-01__identity-text > p {
    max-width: 100%;
    text-align: right;
}

/* AJUSTE INTELIGENTE - CARACTERISTICAS */
:root {
    --kv-caracteristicas-fuente-min: 9px;
    --kv-caracteristicas-fuente-max: 14px;
}


/* CONTENEDOR ADAPTABLE - CARACTERISTICAS */
.kv-product-template-01__panel--features {
    min-height: 0;
    min-width: 0;
}

.kv-product-template-01__features-content {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

/* AJUSTE AUTOMATICO - PRECIO Y MODALIDAD */
:root {
    --kv-precio-fuente-min: 15.6px;
    --kv-precio-fuente-max: 26px;

    --kv-modalidad-fuente-min: 9.36px;
    --kv-modalidad-fuente-max: 13px;
}

/* CONTENEDOR ADAPTABLE - PRECIO Y MODALIDAD */
.kv-product-template-01__purchase-text {
    min-width: 0;
    max-width: 100%;
    align-items: flex-end;
    text-align: right;
}

.kv-product-template-01__purchase-text > .kv-product-template-01__price {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    text-align: right;
}

.kv-product-template-01__purchase-text > .kv-product-template-01__modalidad {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    text-align: right;
}


/* CONTROL ESTRUCTURAL DE DIMENSIONES - TARJETAS */

/* Escritorio: altura original de 312 px */
.kv-product-template-01__layout {
    height: 312px;
    min-height: 0;
}

.kv-product-template-01__photo,
.kv-product-template-01__photo-frame,
.kv-product-template-01__details {
    min-height: 0;
}

.kv-product-template-01__details {
    height: 100%;
    grid-template-rows: minmax(0, 2fr) minmax(0, 5fr) minmax(0, 2fr);
}

.kv-product-template-01__panel {
    min-height: 0;
    min-width: 0;
}

/* Tabletas: altura original de 264 px */
@media (max-width: 600px) and (min-width: 420.01px) {
    .kv-product-template-01__layout {
        height: 264px;
        min-height: 0;
    }

    .kv-product-template-01__photo-frame {
        min-height: 0;
    }
}

/* Celulares: fotografia y paneles con dimensiones constantes */
@media (max-width: 420px) {
    .kv-product-template-01__layout {
        height: 438px;
        min-height: 0;
        grid-template-rows: 174px 264px;
    }

    .kv-product-template-01__photo,
    .kv-product-template-01__photo-frame,
    .kv-product-template-01__photo-placeholder {
        height: 174px;
        min-height: 0;
    }

    .kv-product-template-01__details {
        height: 264px;
        min-height: 0;
        grid-template-rows: 63px 138px 63px;
    }

    .kv-product-template-01__panel {
        min-height: 0;
    }
}

/* DISTRIBUCION HORIZONTAL DE TARJETAS */
.kv-ventana-global__productos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.kv-ventana-global__productos > .kv-product-template-01 {
    min-width: 0;
}


/* TITULOS GLOBALES DE LAS SIETE CATEGORIAS */
.kv-ventana-global__informacion {
    width: 100%;
    text-align: center;
}

.kv-ventana-global__informacion h1 {
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}


