/**
 * Estilos específicos para páginas de precios
 * Incluye layout de columnas y contenedores para HD, FULLHD y UHD
 */

/* ============================================
   ESTILOS BASE (HD/FULLHD)
   ============================================ */

.ourmenu-section {
    height: 90vh !important;
    overflow: hidden !important;
    padding-top: 0 !important;
}

.auto-container {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    max-width: 2000px !important;
}

.menu-columns-container {
    display: flex !important;
    flex-flow: column wrap !important;
    align-content: center !important;
    height: 100% !important;
    width: 100% !important;
    padding: 15px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.menu-column {
    width: calc(50% - 10px) !important;
    padding-right: 20px !important;
    margin-bottom: 1px !important;
    margin-left: 13px !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    box-sizing: border-box !important;
}

.menu-column.three-columns {
    width: calc(33.33% - 14px) !important;
}

.menu-columns-container.single-column {
    justify-content: center !important;
    align-items: center !important;
}

.menu-column.single {
    margin-left: auto !important;
    margin-right: auto !important;
}

.row.clearfix {
    margin: 0 !important;
    display: contents !important;
}

.col-lg-12 {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.single-menu-box {
    padding-left: 0px !important;
    margin-bottom: 0px !important;
    min-height: 3px !important;
}

.inner.clearfix {
    padding-top: 1px !important;
}

/* Estilos específicos para precios - colores y otros estilos */
h3 {
    color: var(--prices-subtitle-color);
    /* font-size se escala según resolución más abajo */
}

h5 {
    color: var(--prices-items-color);
    font-weight: 600 !important;
    line-height: 42px !important;
    /* font-size se escala según resolución más abajo */
}

/* Sobrescribir style.css - control total desde config_editor */
.ourmenu-section .single-menu-box .inner .price,
.price {
    color: var(--prices-price-color);
    font-size: var(--prices-price-size) !important;
    font-weight: 600 !important;
    line-height: 42px !important;
}

/* ============================================
   TAMAÑOS DE FUENTE POR RESOLUCIÓN
   ============================================ */

/* HD - valores base sin escalar */
@media (max-width: 1919px) {
    h3 {
        font-size: var(--prices-subtitle-size) !important;
    }
    
    h5 {
        font-size: var(--prices-items-size) !important;
    }
    
    .ourmenu-section .single-menu-box .inner .price,
    .price {
        font-size: var(--prices-price-size) !important;
    }
}

/* FULLHD - escala 2.206x */
@media (min-width: 1920px) and (max-width: 3839px) {
    h3 {
        font-size: calc(var(--prices-subtitle-size) * 2.206) !important;
    }
    
    h5 {
        font-size: calc(var(--prices-items-size) * 2.206) !important;
    }
    
    .ourmenu-section .single-menu-box .inner .price,
    .price {
        font-size: calc(var(--prices-price-size) * 2.206) !important;
    }
}

/* UHD - escala 7.624x - ajuste visual para pantallas UHD */
@media (min-width: 3840px) {
    h3 {
        font-size: calc(var(--prices-subtitle-size) * 7.624) !important;
    }
    
    h5 {
        font-size: calc(var(--prices-items-size) * 7.624) !important;
    }
    
    /* Selector ultra-específico para sobrescribir style.css - NO MODIFICAR */
    .ourmenu-section .single-menu-box .inner .price,
    section.ourmenu-section .single-menu-box .inner .price,
    .ourmenu-section .single-menu-box .inner.clearfix .price,
    .price {
        font-size: calc(var(--prices-price-size) * 7.624) !important;
    }
}

.line {
    border-bottom: 1px var(--prices-line-style) var(--prices-line-color);
}

/* ============================================
   AJUSTES ESPECÍFICOS HD/VERTICAL
   ============================================ */
@media (max-width: 1919px) {
    .logo-box {
        padding: 10px !important;
    }
    
    .logo-box img {
        max-width: 45px !important;
        height: auto;
    }
    
    .header-lower h1 {
        padding-bottom: 10px !important;
        font-size: 1.2rem !important;
        margin: 0 !important;
    }
    
    .ourmenu-section .single-menu-box .inner {
        position: relative;
        display: block;
        width: 100%;
        z-index: 1;
        display: flex;
        align-items: center;
        margin-bottom: -20px;
        padding-top: 11px;
    }
}

/* ============================================
   AJUSTES ESPECÍFICOS FULLHD/VERTICAL
   ============================================ */
@media (min-width: 1920px) and (max-width: 3839px) {
    .logo-box {
        padding: 10px !important;
    }
    
    .logo-box img {
        max-width: 60px !important;
        height: auto;
        margin-top: 20px !important;
    }
    
    .header-lower h1 {
        padding-bottom: 10px !important;
        font-size: 3.2rem !important;
        margin: 0 !important;
    }

    
    .single-menu-box {
        min-height: 7px !important;
    }
    
    .inner.clearfix {
        padding-top: 2px !important;
    }
    
    .menu-column {
        margin-bottom: 5px !important;
    }
}

/* ============================================
   AJUSTES ESPECÍFICOS UHD
   ============================================ */
@media (min-width: 3840px) {
    .logo-box {
        padding: var(--spacing-uhd) !important;
    }
    
    .logo-box img {
        max-width: 200%;
        height: auto;
    }
    
    .header-lower h1 {
        padding-bottom: 40px !important;
    }
    
    /* Remover límite de ancho para aprovechar todo el viewport en UHD */
    .auto-container {
        max-width: 2000px !important;
        width: 100% !important;
        padding: 0px 15px !important;
    }
    
    .menu-columns-container {
        padding: var(--spacing-uhd) !important;
        max-width: none !important;
        column-gap: 2rem !important;
    }
    
    /* Columnas ensanchadas 25% para UHD - mejor aprovechamiento del espacio */
    .menu-column {
        width: calc(62.5% - var(--column-gap-uhd)) !important;  /* 50% + 25% = 62.5% */
        padding-right: calc(var(--column-padding-uhd) * 1.25) !important;
        margin-bottom: 10px !important;
        margin-left: var(--column-margin-uhd) !important;
    }
    
    .menu-column.three-columns {
        width: calc(41.66% - 28px) !important;  /* 33.33% + 25% = 41.66% */
    }
    
    /* Cuando hay una sola columna, centrarla y darle ancho máximo razonable */
    .menu-columns-container.single-column {
        align-content: center !important;
        justify-content: center !important;
    }
    
    .menu-column.single {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
    
    .single-menu-box {
        min-height: 15px !important;
    }
    
    .inner.clearfix {
        padding-top: 5px !important;
    }
    
    img[style*="width:25px"],
    .nuovo img {
        width: 50px !important;
    }

}

/* ============================================
   AJUSTES PARA AJAX-CONTENT
   ============================================ */
/* Los ajax-content heredan automáticamente las variables CSS y estilos del contenedor padre */
