* { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: Arial, sans-serif; background-color: #fff; display: flex; justify-content: center; background-color: #ccc; }
    .container { max-width: 1024px; width: 100%;background-color: #fff;box-shadow: 0px 5px 15px #3338;}

    header {
        position: relative;
        background-image: url('../images/cabecera.png');
        background-size: cover;
        background-position: center;
        height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: white;
    }
    header h1 {
        font-size: 3rem;
        background-color: rgba(0, 0, 0, 0.4);
        padding: 0.5rem 1rem;
        border-radius: 10px;
    }
    
    @media (max-width:600px){
        header h1{
            position: absolute;
            bottom: 20px;;
        }
    }

    .logo{
        width: 100px;
        position: absolute;
        right: 20px;
    }
    .cabana{
        width: 200px;
        position: absolute;
        left: 20px;
    }
    .social-icons {
        position: absolute;
        top: 15px;
        right: 20px;
    }

    .social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-icons a {
    font-size: 1.5rem;
    color: #fff;
    transition: transform 0.7s ease, color 0.3s ease, box-shadow 0.7s ease;
}

.social-icons a:hover {
    transform: scale(1.7);
  color: #333; /* Color al hacer hover (puedes personalizar por red) */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


    .navbar {
        background-color: #ba4c34;
        display: flex;
        justify-content: center;
        gap: 2rem;
        padding: 1.5rem 0;
        margin: 3px 0;
        position: sticky;
        top:0;
        box-shadow: 0px 5px 15px #3338;
        z-index: 100;
    }
    nav ul li a {
        text-decoration: none;
        color: #333;
        font-weight: bold;
        padding: 10px;
    }
    nav ul li a:hover {
        text-decoration: none;
        color: #555;
        font-weight: bold;
        padding: 10px;
    }
    main {
        padding: 2rem;
    }
    main .texto-principal {
        margin-bottom: 2rem;
        font-size: 1.1rem;
        line-height: 1.6;
        padding: 20px;
    }
    main .imagenes {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }
    main .imagenes img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .nosotros{
        text-align: center;
        margin-bottom: 10px;
        text-transform: uppercase;
        font-weight: bold;
    }
    .nosotros-p{
        padding: 8px;
        text-align: justify;
        letter-spacing: 0.05rem;
        line-height: 1.2rem;
        color: #333;
        font-style: italic;
        font-weight: bold;
    }
    div p:last-child{
        text-align: center;
        font-size: 1.3rem;
        line-height: 1.9rem;
    }

    /* SECCION PRODUCTOS */
    #productos-grid{
        margin: auto;

    }
    .productos {
        
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    }
    .producto {
        justify-content: center;
        margin-left: 5rem;
    width: 50%;
    text-align: center;
    cursor: pointer;
    }
    .producto img {
        width: 100%;
        border-radius: 8px;
        transition: transform 0.2s ease;
    }
    .producto img:hover {
        transform: scale(1.06);
    }
    .lightbox {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        justify-content: center;
        align-items: center;
        z-index: 999;
    }
    .lightbox-content {
        background: white;
        padding: 20px;
        border-radius: 10px;
        max-width: 600px;
        text-align: center;
    }
    .lightbox-content img {
        max-width: 100%;
        border-radius: 10px;
    }
    .lightbox-content p {
        margin: 10px 0;
    }
    .close-btn {
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 30px;
        color: white;
        cursor: pointer;
    }

    /* OFERTAS */
    .ofertas {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 20px;
    }
    .oferta {
        width: 30%;
        text-align: center;
        background: #fffbe0;
        border: 2px dashed #ffa500;
        border-radius: 10px;
        padding: 10px;
        cursor: pointer;
    }
    .oferta img {
        width: 100%;
        border-radius: 8px;
        transition: transform 0.2s ease;
    }
    .oferta img:hover {
        transform: scale(1.09);
    }

/* FORMULARIO */

    .form{
        max-width: 500px;
    }

    form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    label {
        font-weight: bold;
    }
    input, textarea {
        padding: 0.5rem;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 1rem;
    }
    button {
        background-color: #ba4c34;
        border: none;
        padding: 0.75rem;
        font-size: 1rem;
        font-weight: bold;
        color: #333;
        cursor: pointer;
        border-radius: 5px;
        box-shadow: 0px 5px 15px #3338;
    }
    button:hover {
        background-color: #c1533d;
        border: none;
        padding: 0.75rem;
        font-size: 1rem;
        font-weight: bold;
        color: #555;
        cursor: pointer;
        border-radius: 5px;
        box-shadow: 0px 5px 15px #3338;
    }
    #mascota{
        position: absolute;
        right: 0px;
        top: 5px;
    }
    @media (max-width:900px){
        .form{
            width: 60%;
        }
        #mascota{
            width: 40%;
            top:100px
        }
    }
.error-message {
    color: red;
    font-size: 0.9em;
    font-weight: bold;
    margin: 3px 0 10px;
}


    .mapa {
        margin-top: 2rem;
    }
    iframe {
        width: 100%;
        height: 300px;
        border: none;
        border-radius: 10px;
    }
    footer {
        background-color: #c1533d;
        color: white;
        font-weight: bold;
        text-transform: uppercase;
        text-align: center;
        padding: 1rem;
        margin-top: 2rem;
    }
    @media (max-width: 600px) {
        nav { flex-direction: column; gap: 1rem; }
        .social-icons { font-size: 1.2rem; }
        header h1 { font-size: 2rem; }
        nav{justify-content: center; text-align: center;text-transform: uppercase;}
    }


    @media (max-width: 768px) {
        .producto {
        width: 45%;
    }
    }
    @media (max-width: 500px) {
        .producto {
        width: 90%;
    }
}



/* Estructura base del navbar */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.navbar li a {
text-decoration: none;
color: black;
font-weight: bold;
}

/* Botón hamburguesa */
.menu-toggle {
display: none;
font-size: 24px;
background: #ba4c34;
border: none;
color: black;
position: absolute;
top: 20px;
left: 10px;
cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
.navbar {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 0.7rem;
    background-color: #ba4c34;
    width: 100%;
    margin-top: 10px;
}

.navbar.active {
    display: flex;
}

.navbar ul {
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    text-align: center;
}
.navbar ul li a{
    box-sizing: border-box;
    line-height: 1.7rem;
}

.menu-toggle {
    display: block;
}
.cabana{
        width: 180px;
        position: absolute;
        left: 0px;
    }

}

/* Ventas */

.producto {
    width: 250px; /* tamaño fijo para que todas se vean parejas */
    background: #fff; /* fondo blanco estilo card */
    border: 1px solid #ddd; /* borde sutil */
    border-radius: 10px; /* esquinas redondeadas */
    padding: 15px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1); /* sombra suave */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.producto img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.producto:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0,0,0,0.2); /* más sombra en hover */
}

.producto h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 10px 0 5px;
}

.producto p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
}

/* Dropdown base */
.dropdown {
  position: relative;
  
}

.dropdown-content {
  display: none !important; /* 🔥 oculto por defecto */
  position: absolute;
  top: 100%; /* debajo del botón */
  left: 0;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 1000;
  padding: 10px 0;
  border-radius: 5px;
}

/* Links del dropdown */
.dropdown-content li {
  list-style: none;
}

.dropdown-content li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-weight: normal;
}

.dropdown-content li a:hover {
  background-color: #f5f5f5;
  color: #000;
}



.btn-carrito {
      position: fixed;
      bottom: 80px;
      right: 20px;
      background: #ba4c34;
      color: white;
      padding: 12px 16px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      box-shadow: 0 4px 6px rgba(0,0,0,0.3);
      z-index: 999;
    }
    /* Clase que se activa al hacer click */
.dropdown-content.show {
  display: block !important;
}

/* En móvil, aseguramos que siga oculto hasta click */
@media (max-width: 768px) {
  .dropdown-content {
    width: 100%;
    left: 0;
    top: auto;
  }
}

/* Nuevo css */


/* --- GRID DE PRODUCTOS --- */
.productos {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas en escritorio */
  gap: 20px;
  padding: 20px;
  justify-items: center; /* centra los productos */
}

.producto {
  width: 100%; /* ocupa toda la celda */
  max-width: 250px; /* límite para que no se estiren mucho */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.producto:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 15px rgba(0,0,0,0.2);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .productos {
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en tablets grandes */
  }
}

@media (max-width: 768px) {
  .productos {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets/celus medianos */
  }
}

@media (max-width: 480px) {
  .productos {
    grid-template-columns: 1fr; /* 1 columna en celu chico */
  }
}
.producto {
  display: flex;
  flex-direction: column;   /* los hijos en columna */
  justify-content: space-between; /* reparte espacio */
  height: 100%;             /* que ocupe toda la celda */
}

.producto button {
  margin-top: auto; /* empuja el botón hacia abajo */
}


.proximamente {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) rotate(-45deg); /* inclinada 45° */
      font-size: 8vw; /* tamaño relativo al ancho de pantalla */
      font-weight: bold;
      color: rgba(255, 0, 0, 0.5); /* rojo con transparencia */
      white-space: nowrap;
      z-index: 9999; /* siempre arriba */
      pointer-events: none; /* no molesta clics */
    }


.lightbox-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    text-align: center;
}

.lightbox-content img {
    max-width: 95%;   /* 🔹 no ocupa todo el ancho */
    max-height: 80vh; /* 🔹 nunca pasa del 60% de la altura de la pantalla */
    border-radius: 10px;
    margin-bottom: 15px; /* 🔹 agrega aire con el texto */
    object-fit: contain; /* 🔹 mantiene proporción sin deformarse */
}

.tittle{
    font-weight: bold;
    font-size: 18px;
}
.promo-fiambres{
    display: block;
    width: 80vw;
    text-align: center;
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 25px;
}

/*  Footer  */

footer {
  background-color: #c1533d;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}

.footer-container h4 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  text-decoration: underline;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 0.5rem 0;
}

.footer-links a,
.footer-contact a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffd700;
}

.footer-contact p,
.footer-creditos p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
}
.footer-creditos a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-creditos a:hover {
  color: #ffd700;
}

.footer-contact i,
.footer-creditos i {
  margin-right: 8px;
  color: #ffd700;
}


.footer-bottom {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 1rem;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
