/* Base styles */
:root {
    --accent: #dc3545;
    --white: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #000;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.page {
    min-height: 100vh;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.sheet {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 15px;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 12px;
}

/* Header */
.header {
    margin-bottom: 30px;
    text-align: center;
}

.logo {
    max-width: 200px;
    height: 80px;
    margin: 0 auto;
    background: url('res/Keito_Logo_BlancoKeito_logo_blanco.png') center/contain no-repeat;
}

/* Menu sections */
.menu-card {
    margin-bottom: 40px;
}

.section-title {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

/* Menu items */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 15px;
}

.desc {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.price {
    font-weight: 600;
    white-space: nowrap;
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
}

/* Combos */
.combo {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.combo-left {
    flex: 1;
}

.combo-title {
    color: var(--accent);
    font-weight: 700;
    margin: 0 0 8px 0;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.combo-features {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
}

.combo-right {
    width: 100%;
}

.combo-prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
    width: 100%;
}

.combo-price-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
}

.combo-pieces {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    text-align: center;
}

.combo-price-display {
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
    background: rgba(255,255,255,0.05);
    padding: 8px 12px;
    border-radius: 3px;
    text-align: center;
    white-space: nowrap;
}

/* Item variants - Non-combo style */
.variant-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.variant-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.variant-title {
    color: var(--white);
    font-weight: 700;
    margin: 0;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.variant-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    line-height: 1.3;
}

.variant-prices {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 8px;
    width: fit-content;
}

.variant-price-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    text-align: center;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}

.variant-pieces {
    font-weight: 700;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.variant-piezas {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-transform: lowercase;
    letter-spacing: 0px;
}

.variant-price {
    font-weight: 600;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    padding: 0;
    border-top: none;
    width: auto;
}

/* Old Item variants - keeping for compatibility */
.item-variants {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
}

.variant-option {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

/* Mobile - variant prices en una columna */
@media (max-width: 479px) {
    .variant-prices {
        grid-template-columns: 1fr;
    }
}

/* Responsive breakpoints */
@media (min-width: 480px) {
    .sheet {
        padding: 30px;
    }

    .section-title {
        font-size: 22px;
    }
}

@media (min-width: 768px) {
    .page {
        padding: 30px;
    }

    .logo {
        height: 100px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .combo {
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
    }

    .combo-left {
        flex: 1;
        min-width: 300px;
    }

    .combo-right {
        flex: 1;
        min-width: 300px;
    }

    .combo-prices-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 24px;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .sheet {
        padding: 40px;
    }

    .title {
        font-size: 16px;
    }

    .desc {
        font-size: 14px;
    }

    .price {
        font-size: 15px;
    }
}
