/* Línea divisoria entre header y hoja de info */
.divider-header-info {
    border: none;
    border-top: 2px solid #b87333;
    margin: 0 auto 18px auto;
    width: 90%;
    max-width: 600px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
/* Botón bonito para ver menú */
.ver-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 22px auto 0 auto;
    padding: 12px 32px;
    background: linear-gradient(90deg, #b87333 0%, #e0eafc 100%);
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(34,58,94,0.10);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    letter-spacing: 1px;
}
.ver-menu-btn i {
    font-size: 1.1em;
}
.ver-menu-btn:hover {
    background: linear-gradient(90deg, #cfdef3 0%, #b87333 100%);
    color: #223A5E;
    transform: translateY(-2px) scale(1.04);
}
/* HEADER PRINCIPAL */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #f7e9d0 0%, #f3d6b6 50%, #e7b97a 100%);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin: 24px auto 18px auto;
    padding: 24px 8px 18px 8px;
    max-width: 600px;
}
.logo-header {
        width: 120px;
        height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

@media (max-width: 600px) {
    .logo-header {
        width: 80px;
        height: 80px;
    }
}
.header h1 {
    font-size: 2em;
    color: #223A5E;
    margin: 0;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
    text-align: center;
    word-break: break-word;
    line-height: 1.1;
    hyphens: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Precios múltiples en platillos */
.multi-precio {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}
/* Avisos y notas de menú */
.aviso-empaque {
    margin-top: auto;
    padding: 10px;
    background: #ede0d5;
    border-left: 4px solid #c17a2a;
    border-radius: 4px;
    font-size: 0.95em;
    color: #c0392b;
    text-align: center;
}
.nota-platillo {
    margin-top: 12px;
    padding: 10px;
    background: #f9f4f0;
    border-left: 4px solid #c17a2a;
    border-radius: 4px;
    font-size: 0.85em;
    color: #5a4a42;
    line-height: 1.5;
}
.nota-pan {
    margin-top: 12px;
    padding: 10px;
    background: #f9f4f0;
    border-left: 4px solid #c17a2a;
    border-radius: 4px;
    font-size: 0.85em;
    color: #5a4a42;
    line-height: 1.5;
}
/* Imagen de platillo con zoom y estilo */
.zoom-gallo-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    flex-shrink: 0;
}
/* Colores para íconos de contacto */
.icon-info { color: #8B1E3F; }
.icon-phone { color: #3d2817; margin-right: 6px; }
.icon-whatsapp { color: #25D366; margin-right: 6px; }
.icon-facebook { color: #1877f3; margin-right: 6px; }
.icon-instagram { color: #C13584; margin-right: 6px; }
/* Modal de zoom para imágenes */
.zoom-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zoom-modal-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(34,58,94,0.18);
    background: #fff;
    padding: 8px;
    animation: zoomIn 0.3s cubic-bezier(.4,2,.6,1);
}
@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
/* Nombre de platillo debajo de la imagen */
.nombre-platillo {
    font-weight: bold;
    color: #223A5E;
    font-size: 1em;
    margin-bottom: 0.1em;
}
/* Unificar color de precio y hover */
.precio-platillo {
    color: #223A5E;
    font-size: 1.05em;
    margin-bottom: 2px;
    font-weight: bold;
    transition: color 0.2s;
}
.platillo:hover .precio-platillo {
    color: #B87333;
}
/* Adaptación móvil para imágenes de platillos con flexbox */
@media (max-width: 768px) {
    .platillo > div[style*="flex-direction:row"] img.zoom-gallo {
        width: 44px !important;
        height: 44px !important;
        margin-right: 6px;
    }
    .platillo > div[style*="flex-direction:row"] {
        gap: 7px !important;
    }
}

@media (max-width: 600px) {
    .logo-header {
        width: 80px;
        height: 80px;
    }
    .header h1 {
        font-size: 0.98em;
        padding: 0 2px;
        line-height: 1.1;
        letter-spacing: 0.2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .platillo > div[style*="flex-direction:row"] {
        gap: 4px !important;
    }
}
/* Efecto zoom para la imagen de gallopinto en opción #1 */
.zoom-gallo {
    transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.35s;
}
.zoom-gallo.zoomed {
    transform: scale(2.1);
    z-index: 10;
    box-shadow: 0 8px 32px rgba(34,58,94,0.18);
}
/* CSS extraído de index.html */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background: #F4F6FB; /* gris azulado claro */
    min-height: 100vh;
    padding: 5px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: #E5E1DA;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(34,58,94,0.10);
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}


.tabs-container {
display: flex;
overflow-x: auto;
background: #fff;
border-bottom: 3px solid #C9A66B;
gap: 4px;
padding: 6px;
flex-shrink: 0;
scroll-behavior: smooth;
justify-content: space-around;
z-index: 2;
position: relative;
}

.tab-btn {
    padding: 9px 20px;
    border: 2px solid #cfdef3;
    background: #fff;
    color: #223A5E;
    cursor: pointer;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1em;
    transition: background 0.18s, color 0.18s, border 0.18s, transform 0.18s;
    white-space: nowrap;
    min-height: 36px;
    margin: 0 3px;
    box-shadow: 0 1px 4px rgba(34,58,94,0.04);
    letter-spacing: 0.5px;
    touch-action: manipulation;
}

.tab-btn:hover {
    background: #cfdef3;
    color: #223A5E;
    border-color: #b87333;
    transform: translateY(-2px) scale(1.04);
}

.tab-btn.active {
    background: #b87333;
    color: #fff;
    border: 2px solid #b87333;
    box-shadow: 0 2px 8px rgba(34,58,94,0.10);
}

/* Carrusel horizontal */
.content-area {
flex: 1;
overflow: hidden;
padding: 0;
background: transparent;
position: relative;
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
}

/* Hojas wrapper para scroll horizontal */
.hojas-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    flex: 1 1 0%;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Cada hoja ocupa el 100% del ancho visible */
.hoja {
    min-width: 100%;
    max-width: 100%;
    flex: 1 1 0%;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background: transparent;
    padding: 15px 10px;
    animation: fadeIn 0.5s;
}

.hoja[data-hoja="1"] {
scroll-margin-left: 0;
}

.info-hoja {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
text-align: center;
word-break: break-word;
width: 100%;
box-sizing: border-box;
}

.info-hoja img {
max-width: 200px;
height: auto;
margin-bottom: 20px;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.info-hoja h2 {
    color: #223A5E;
    font-size: 1.8em;
    margin-bottom: 15px;
    word-break: break-word;
}

.info-hoja p {
    color: #223A5E;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
    word-break: break-word;
}

.contact-info {
    background: #fff;
    border-left: 4px solid #B87333;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
    font-size: 1em;
}

.contact-info h3 {
    color: #223A5E;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.contact-info p {
    color: #223A5E;
    margin-bottom: 8px;
    font-size: 0.9em;
    overflow-wrap: break-word;
    word-break: break-word;
}

.contact-info a {
    color: #B87333;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    word-break: break-word;
}

.contact-info a:hover {
    text-decoration: underline;
    color: #223A5E;
}

@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}

.categoria {
margin-bottom: 15px;
}

.categoria h2 {
    color: #223A5E;
    font-size: 1.1em;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid #B87333;
}

.platillos {
display: flex;
flex-direction: column;
gap: 8px;
}

.platillo {
    padding: 10px 10px;
    background: rgba(255,255,255,0.35);
    border-left: 4px solid #B87333;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(34,58,94,0.07);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255,255,255,0.25);
    position: relative;
}

.platillo::after {
    content: "";
    display: block;
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(34,58,94,0.10) 0%, rgba(34,58,94,0.18) 100%);
    box-shadow: 0 2px 8px 0 rgba(34,58,94,0.10);
    pointer-events: none;
}

.platillo strong {
    color: #223A5E;
    font-size: 0.9em;
}

.platillo small {
    color: #223A5E;
    line-height: 1.4;
    display: block;
    margin-top: 5px;
    font-size: 0.8em;
}

.platillo:hover {
    background: #F4F6FB;
    color: #B87333;
    transform: translateX(3px);
}

.platillo:active {
    background: #B87333;
    color: #223A5E;
}

.scroll-indicator {
    text-align: center;
    padding: 10px;
    font-size: 0.9em;
    color: #223A5E;
}

/* Scrollbar personalizado horizontal para hojas-wrapper */
.hojas-wrapper::-webkit-scrollbar {
height: 8px;
}

.hojas-wrapper::-webkit-scrollbar-track {
background: #f1f1f1;
}

.hojas-wrapper::-webkit-scrollbar-thumb {
background: #C9A66B;
border-radius: 4px;
}

.hojas-wrapper::-webkit-scrollbar-thumb:hover {
background: #8B1E3F;
}

/* Scrollbar vertical para cada hoja */
.hoja::-webkit-scrollbar {
width: 8px;
}

.hoja::-webkit-scrollbar-track {
background: #f1f1f1;
}

.hoja::-webkit-scrollbar-thumb {
background: #C9A66B;
border-radius: 4px;
}

.hoja::-webkit-scrollbar-thumb:hover {
background: #8B1E3F;
}

@media (max-width: 768px) {
.tab-btn {
padding: 7px 8px;
font-size: 0.65em;
min-height: 34px;
}

.tabs-container {
gap: 3px;
padding: 5px;
}

.hoja {
padding: 12px 8px;
}
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 0.85em;
        padding: 0 1px;
        line-height: 1.08;
        letter-spacing: 0.1px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
body {
padding: 3px;
}

.tabs-container {
gap: 2px;
padding: 4px;
justify-content: space-between;
}

.tab-btn {
padding: 6px 5px;
font-size: 0.6em;
min-height: 32px;
flex: 1;
text-align: center;
}

.hoja {
padding: 10px 4px;
}

.categoria h2 {
font-size: 1em;
margin-bottom: 6px;
}

.platillo {
padding: 8px 8px;
min-height: 38px;
font-size: 0.85em;
}

.platillo strong {
font-size: 0.85em;
}

.platillo small {
font-size: 0.75em;
margin-top: 3px;
}

.platillos {
gap: 5px;
}

.info-hoja {
padding: 15px 10px;
}

.info-hoja h2 {
font-size: 1.4em;
margin-bottom: 10px;
}

.info-hoja p {
font-size: 0.85em;
margin-bottom: 12px;
}

.contact-info {
padding: 12px;
margin-top: 15px;
border-left: 3px solid #c17a2a;
}

.contact-info h3 {
font-size: 0.95em;
margin-bottom: 8px;
}

.contact-info p {
font-size: 0.8em;
margin-bottom: 6px;
}

.contact-info a {
font-size: 0.8em;
}

@media (max-width: 600px) {
    .info-hoja {
        padding: 10px 2vw;
    }
    .info-hoja h2 {
        font-size: 1.15em;
        margin-bottom: 10px;
    }
    .info-hoja p {
        font-size: 0.95em;
        margin-bottom: 10px;
    }
    .contact-info {
        padding: 10px 4px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .info-hoja {
        padding: 6px 1vw;
    }
    .info-hoja h2 {
        font-size: 1em;
        margin-bottom: 7px;
    }
    .info-hoja p {
        font-size: 0.9em;
        margin-bottom: 7px;
    }
    .contact-info {
        padding: 7px 2px;
        font-size: 0.9em;
    }
}
