/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

  /* Header sticky */
.top-bar {
    position: sticky;
    top: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between; /* cambia center por space-between */
    height: 70px;
    padding: 0 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
}

.titulo {
    flex: 1;
    font-family: Brush Script MT;
    text-align: center;
    margin: 0;
    font-size: 1.75rem;   /* equivale a 28px */
    font-weight: bold;
    color: rgb(67, 16, 72);
}

/* Botón hamburguesa */
.menu-toggle {
    font-size: 24px;
    background: none;
    color: rgb(30, 7, 33);
    border: none;
    cursor: pointer;
    z-index: 20;
    padding: 10px;
}

  /* Menú lateral oculto */
.menu-lateral {
    position: fixed;
    left: -200px;
    top: 0;
    height: 100%;
    width: 200px;
    background: #3b004f;
    padding-top: 60px;
    transition: left 0.3s ease;
    z-index: 10; /* Menor que el z-index del botón */
}

.menu-lateral.active {
    left: 0; /* Esto hace que el menú sea visible */
}

.menu-lateral ul {
    list-style: none;
}

.menu-lateral li {
    padding: 20px;
    text-align: center;
}

.menu-lateral a {
    color: orangered;
    text-decoration: none;
    font-weight: bold;
}

  /* Banner */
.banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #ff5722;
    color: white;
    padding: 20px;
    justify-content: center;
}

.banner img {
    max-width: 300px;
    height: auto;
    margin-right: 20px;
}

.texto-banner h2 {
    font-size: 36px;
    color: #330042;
}

  /* Grid de productos */
.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.producto {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px;
    text-align: center;
}

.producto img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.producto p {
    margin-top: 10px;
    font-weight: bold;
    color: #555;
}

.producto span {
    font-weight: bold;
    display: block;
    margin: 10px 0;
    color: #ff5722;
}

.producto button {
    background-color: #ff5722;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.producto button:hover {
    background-color: #e64a19;
}

  /* Mapa */
.mapa-contenedor {
    padding: 20px;
    text-align: center;
}

.mapa {
    width: 100%;
    max-width: 600px;
    height: 450px;
    border: none;
}

  /* Footer */
footer {
    background: #eee;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #555;
}
