/**
 * Base CSS - Solo Layout y Reset
 * Los estilos visuales vienen del tema cargado
 */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Layout principal */
body {
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.5;
}

.carta-container {
    max-width: 100%;
    min-height: 100vh;
}

/* Header */
.carta-header {
    width: 100%;
    text-align: center;
    padding: 20px;
}

.carta-logo {
    max-height: 80px;
    width: auto;
}

/* Categorías Grid */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px;
}

@media (min-width: 600px) {
    .categorias-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 800px;
        margin: 0 auto;
    }
}

.categoria-card {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.categoria-card:active {
    transform: scale(0.98);
}

.categoria-icono {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}

.categoria-nombre {
    margin-top: 8px;
    text-align: center;
    font-weight: 500;
}

/* Productos Lista */
.productos-container {
    padding: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.producto-card {
    margin-bottom: 24px;
    overflow: hidden;
}

.producto-imagen {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.producto-info {
    padding: 16px;
}

.producto-nombre {
    font-weight: 600;
    margin-bottom: 8px;
}

.producto-descripcion {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 12px;
}

.producto-precio {
    font-weight: 700;
}

/* Footer */
.carta-footer {
    text-align: center;
    padding: 24px 16px;
    font-size: 12px;
    opacity: 0.7;
}

/* Utilidades */
.hidden {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
