

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Estilos generales */
body {
  font-family: sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
}

/* Header y logo centrado */
header {
  background-color: #000000;
  padding: 1rem;
  text-align: center; /* Esto centra todo el contenido inline, como la imagen dentro del h1 */
}

header h1 {
  margin: 0; /* Elimina márgenes por defecto del h1 */
}

header h1 img {
  width: 200px;
  max-width: 100%;
  display: inline-block; /* Asegura que se comporte como inline para centrarse */
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}

nav a:hover {
  color: #ff6100;
}

/* Secciones */
main section {
  padding: 2rem;
  border-bottom: 1px solid #ddd;
}

main h2 {
  color: #ff6100;
  margin-bottom: 0.5rem;
}

#whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;      /* tamaño del botón */
  height: 60px;
  z-index: 1000;
  cursor: pointer;
  display: block;
}

#whatsapp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;  /* hace la imagen redonda */
  box-shadow: 0 2px 8px rgba(255, 97, 0, 0.5);  /* sombra naranja translúcida */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#whatsapp:hover img {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 97, 0, 0.7); /* sombra naranja más fuerte en hover */
}

#subir {
  position: fixed;
  bottom: 100px; /* separado del botón de WhatsApp */
  right: 20px;
  width: 60px;  /* igual al tamaño de WhatsApp */
  height: 60px; /* igual al tamaño de WhatsApp */
  padding: 0;   /* ya no es necesario el padding */
  background-color: #ff6100;
  color: white;
  border: none;
  border-radius: 50%;  /* redondeado */
  cursor: pointer;
  box-shadow: 0 2px 6px rgb(255 97 0 / 0.6);
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#subir svg {
  width: 30px;   /* Ajustar al tamaño del ícono */
  height: 30px;  /* Ajustar al tamaño del ícono */
  fill: white;
}

#subir:hover {
  background-color: #e05500;
  transform: scale(1.1);
}

footer {
  width: 100%;
  background-color: #222; /* fondo oscuro que ocupa toda la pantalla */
  padding: 2rem 0; /* padding vertical para espacio arriba y abajo */
  box-sizing: border-box;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  color: #fff;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0 1rem; /* para que no pegue a los bordes en pantallas chicas */
  box-sizing: border-box;
}

.footer-contact p {
  margin: 0.3rem 0;
  text-align: left;
}

.footer-contact a {
  color: #ff6100;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-social a {
  color: #ff6100;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
}

.footer-social img {
  width: 24px;
  height: 24px;
}

.footer-social a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.9rem;
  color: #aaa;
  margin: 0 auto;
  max-width: 1000px;
  padding: 0 1rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-contact p {
    text-align: center;
  }
}

/* Responsive */
@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-contact p {
    text-align: center;
  }
}

.banner {
  width: 100%;
  margin: 0;
  padding: 0;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
}

@media (max-width: 480px) {
  .banner {
    height: 35vh;
  }
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5); /* fondo negro con transparencia */
  padding: 1rem 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 0.5rem;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  padding: 0.5rem;
}

nav a:hover {
  color: #ff6100;
}

nav a {
  position: relative;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  padding: 0.5rem;
  transition: color 0.3s;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ff6100;
  transition: width 0.3s ease;
}

nav a:hover {
  color: #ff6100;
}

nav a:hover::after {
  width: 100%;
}

/* Ocultamos el checkbox */
#menu-toggle {
  display: none;
}

/* Estilos para el icono hamburguesa */
.menu-icon {
  display: none; /* lo mostramos solo en mobile */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 20;
}

.menu-icon span {
  display: block;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Estilos normales para el nav en desktop */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 0.5rem;
  padding: 0;
}

/* Responsive */
@media (max-width: 768px) {
  /* Mostrar hamburguesa */
  .menu-icon {
    display: flex;
  }

  /* Ocultar menú inicialmente */
  nav ul {
    display: block;
    position: fixed;
    top: 60px; /* debajo del header */
    right: 0;
    width: 200px;
    background-color: rgba(0,0,0,0.95);
    height: calc(100vh - 60px);
    padding-top: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    gap: 0;
    text-align: right;
    z-index: 15;
  }

  nav ul li {
    margin: 1.5rem 2rem;
  }

  nav ul li a {
    display: block;
    font-size: 1.2rem;
  }

  /* Cuando el checkbox está chequeado, mostramos el menú */
  #menu-toggle:checked + .menu-icon + nav ul {
    transform: translateX(0);
  }

  /* Animación hamburguesa cuando está activo */
  #menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

@media (max-width: 768px) {
  nav ul {
    display: block;
    position: fixed;
    top: 60px; /* justo debajo del header */
    right: 0;
    width: 200px;
    background-color: rgba(0,0,0,0.95);
    /* En vez de ocupar toda la altura, ponemos height automático */
    height: auto;
    padding: 1rem 0;
    /* Quitamos la altura fija, dejamos que se ajuste */
    transform: translateX(100%);
    transition: transform 0.3s ease;
    gap: 0;
    text-align: right;
    z-index: 15;
    border-radius: 0 0 0 10px; /* un toque redondeado en la esquina izquierda inferior */
  }

  nav ul li {
    margin: 1rem 2rem;
  }

  nav ul li a {
    display: block;
    font-size: 1.2rem;
  }

  /* Mostrar menú */
  #menu-toggle:checked + .menu-icon + nav ul {
    transform: translateX(0);
  }
}

#historia h2 {
  color: #ff6100;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

#historia {
  padding: 4rem 1rem; /* mismo padding lateral que #inicio */
  background-color: #f9f9f9; /* opcional */
  text-align: center;
  box-sizing: border-box; /* para que padding no aumente ancho */
}



.historia-container {
  max-width: 1000px;
  width: 100%; /* ocupa todo el ancho permitido */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: left;
  box-sizing: border-box;
}

.historia-container p {
  flex: 1;
  text-align: justify;
}

.historia-img {
  width: 300px;
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 768px) {
  #historia {
    padding: 2rem 2rem; /* 🔧 reduce el padding lateral */
  }

  .historia-container {
    flex-direction: column;
    padding: 0; /* 🔧 o poné 0 0.5rem si querés algo de aire */
    max-width: 100%;
    box-sizing: border-box;
  }

  .historia-container p {
    width: 100%;
  }

  .historia-img {
    display: none;
  }
}

#inicio {
  padding: 4rem 1rem; /* igual que #inicio */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.inicio-container {
  max-width: 1000px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  /* 🔴 BORRÁ este padding */
}

#inicio h2 {
  color: #ff6100;
  font-size: 2rem;
margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

#inicio p {
  text-align: justify;
  font-size: 1rem;
  line-height: 1.8;
}

/* Responsive */

@media (max-width: 768px) {
  #inicio {
    padding-top: 2rem; /* antes 1rem — para igualarlo visualmente con #inicio */
    padding-right: 1rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
  }

  .inicio-container {
    flex-direction: column;
    padding: 0 1rem; /* ✅ mantiene márgenes laterales como en contacto */
    max-width: 100%;
    box-sizing: border-box;
  }

  .inicio-container p {
    width: 100%;
  }

  #inicio h2 {
    margin-top: 1.5rem;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.5); /* fondo negro semitransparente */
  padding: 1.1rem 0;
  backdrop-filter: blur(6px); /* opcional: para dar efecto de vidrio */
}

main {
  padding-top: 120px; /* ajustá según la altura real de tu header */
}

#productos {
  padding: 4rem 1rem; /* igual que #inicio */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.productos-container {
  max-width: 1000px;
  width: 100%;
  text-align: center;
  padding: 0 1rem; /* <<< esto da el margen lateral interno */
  box-sizing: border-box; /* asegura que el padding no expanda el ancho */
}

#productos h2 {
  color: #ff6100;
  font-size: 2rem;
  margin-top: 1rem;         /* elimino margen superior para que no haya espacio extra */
  margin-bottom: 1.5rem;
  text-align: center;
}

.productos-texto {
  max-width: 1000px;
  margin: 0 auto;
}

.productos-texto p {
  text-align: justify;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: -1rem;
}

@media (max-width: 768px) {
  #productos {
    padding-top: 2.5rem; /* antes 1rem — para igualarlo visualmente con #inicio */
    padding-right: 1rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
  }

  .productos-container {
    flex-direction: column;
    padding: 0 1rem; /* ✅ mantiene márgenes laterales como en contacto */
    max-width: 100%;
    box-sizing: border-box;
  }

 .productos-texto {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem; /* ✅ agrega el margen lateral interno */
  box-sizing: border-box;
}

  .productos-container {
    flex-direction: column;
    padding: 0 1rem; /* ✅ mantiene márgenes laterales como en contacto */
    max-width: 100%;
    box-sizing: border-box;
  }

  .carousel {
    margin-top: 2rem; /* más compacto */
    width: 100%;
    max-width: 320px;
  }

  .carousel-slide,
  .carousel-slide img {
    width: 100%;
    height: auto;
  }
}

.carousel {
  position: relative;
  width: 320px; /* ancho fijo igual al ancho de la imagen */
  margin: 3rem auto;
  padding: 0;
  box-sizing: border-box;
  overflow: visible; /* para botones fuera */
  max-width: 100%
}

.carousel-track-container {
  overflow: hidden;
  width: 320px; /* igual que .carousel */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgb(255 97 0 / 0.3);
  margin: 0;
  padding: 0;
  max-width: 100%
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 0; /* sin espacio extra */
  margin: 0;
  padding: 0;
}

.carousel-slide {
  width: 320px; /* ancho fijo igual a la imagen */
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgb(255 97 0 / 0.4);
  background: #fff;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 0;
  margin: 0;
}

.carousel-slide img {
  width: 320px; /* forzar imagen igual al contenedor */
  height: 240px;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  user-select: none;
  pointer-events: none;
}

.carousel-slide img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ff6100;
  border: none;
  color: white;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgb(255 97 0 / 0.6);
  transition: background-color 0.3s ease;
  user-select: none;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-button.prev {
  left: -20px;
}

.carousel-button.next {
  right: -20px;
}

/* Responsive */
@media (max-width: 600px) {
  .carousel-button.prev {
    left: 0; /* en lugar de -15px */
  }

  .carousel-button.next {
    right: 0;
  }
}

  
.contacto {
  background-color: #f5f5f5; /* fondo gris clarito */
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.contacto .container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto; /* centra */
  padding: 0 0rem;
  box-sizing: border-box;

  display: flex;       /* para que formulario y mapa estén lado a lado */
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contacto h2 {
  color: #ff6100;
  font-size: 2rem;
  margin-bottom: -0.5rem;
  text-align: center;
  width: 100%;
  margin-top: 1.5rem;
}

.contacto-intro {
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 0;
  margin-bottom: 2rem;
  text-align: justify;
  max-width: 1000px;
  width: 100%;
  color: #333;
padding: 0 2rem; /* MÁS espacio lateral en texto */
  box-sizing: border-box;
}

/* Responsive */
@media (max-width: 768px) {
  #contacto {
    padding-top: 2rem; /* antes 1rem — para igualarlo visualmente con #inicio */
    padding-right: 1rem;
    padding-bottom: 0rem;
    padding-left: 1rem;
  }

  .contacto .container {
    flex-direction: column;
    padding: 0 1rem; /* mantener padding lateral */
    max-width: 100%;
  }

  .contacto-intro {
    padding: 0 1rem; /* padding lateral para texto */
  }
}

.info-envios {
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify; /* ahora está justificado */
  color: #333;
  max-width: 1000px; /* igual que .inicio-container */
  margin: 0 auto 2rem auto; /* centrado horizontal con margen inferior */
  width: 100%;
}

.formulario-contacto {
  flex: 1 1 400px; /* crece y ocupa mínimo 400px */
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.formulario-contacto label {
  font-weight: 600;
  color: #ff6100;
  margin-bottom: 0.3rem;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 0.75rem 1rem;
  border: 2px solid #ff6100;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s ease;
  width: 100%;
}

.formulario-contacto textarea {
  min-height: 150px; /* Más alto para "Tu consulta" */
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
  outline: none;
  border-color: #d04a00;
  background-color: #fff7f0;
}

.btn-container {
  text-align: right; /* Botón a la derecha */
  margin-top: 1rem;
}

.formulario-contacto button {
  background-color: #ff6100;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formulario-contacto button:hover {
  background-color: #d04a00;
}

/* Estilo para el contenedor del mapa */
.mapa-container {
  flex: 1 1 493px;  /* aumenté el mínimo de 400px a 500px */
  max-width: 700px; /* aumenté un poco el máximo */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mapa-container iframe {
  width: 100%;
  height: 493px; /* aumenté la altura de 350px a 450px */
  border: 0;
  display: block;
  border-radius: 10px;
}

@media (max-width: 1024px) {
  .mapa-container {
    margin: 0 auto;
  }
}

@media (max-width: 1024px) and (min-width: 701px) {
  .mapa-container {
    margin: 0 auto;
    max-width: 600px; /* o 100%, probá lo que mejor se adapte */
    width: 100%;
  }
}

/* Responsive: apilar en móvil */
@media (max-width: 700px) {
  .contacto .container {
    flex-direction: column;
  }
  .formulario-contacto,
  .mapa-container {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .mapa-container {
    margin: 0 auto; /* centramos el mapa en móvil */
    margin-bottom: 2rem;
  }
}


#productos .productos-container {
  padding: 0;
  margin: 0 auto;
  max-width: fit-content; /* que ajuste al contenido */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 0;
  padding: 0;
  margin: 0;
  justify-content: flex-start;
}

form {
  max-width: 600px;     /* limitar ancho del formulario */
  width: 100%;
  margin: 0 auto;       /* centrar horizontal */
  display: flex;
  flex-direction: column;
  gap: 1rem;            /* espacio entre campos */
  box-sizing: border-box;
}

form label {
  text-align: left;
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: block;
}

form input,
form textarea {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  box-sizing: border-box;
}

form button {
  align-self: flex-end; /* alinear botón a la derecha */
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  background-color: #ff6100;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #e05500;
}

footer {
  background-color: #222;  /* fondo oscuro */
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

footer p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.social-links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-links li {
  display: inline-block;
}

.social-links a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-links a img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(1);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.social-links a:hover img {
  filter: brightness(1.3);
  transform: scale(1.1);
}

html {
  scroll-padding-top: 170px; /* ajustá este valor a la altura real del nav */
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Evita usar width: 100vw; en contenedores principales */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Contenedor principal */
.container {
  width: 100%;
  max-width: 100%;
  padding: 0 1rem; /* Margen izquierdo y derecho parejo */
}

/* Si usás <main> directamente sin .container adentro */
main {
  padding: 0 1rem;
}

/* estilos.css */

/* estilos.css */

body.gracias-page {
  background-color: #000000; /* fondo negro */
  color: #ffffff; /* texto blanco */
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.gracias {
  background-color: #ff6100; /* naranja vibrante */
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(255, 97, 0, 0.6);
  max-width: 500px;
  width: 100%;
}

.gracias h1 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 3px #000; /* sombra negra para resaltar */
}

.gracias p {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.boton-volver {
  display: inline-block;
  background-color: #ffffff;
  color: #ff6100;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 8px rgba(255, 97, 0, 0.5);
}

.boton-volver:hover {
  background-color: #ff6100;
  color: #ffffff;
  box-shadow: 0 6px 12px rgba(255, 97, 0, 0.8);
}

/* Galería horizontal en desktop */
.productos-galeria-desktop {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.productos-galeria-desktop img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  flex: 1;
}

/* Ocultar carrusel en desktop */
@media (min-width: 1024px) {
  .carousel {
    display: none;
  }

  .productos-galeria-desktop {
    display: flex;
  }
}

/* Mostrar carrusel en mobile */
@media (max-width: 1023px) {
  .productos-galeria-desktop {
    display: none;
  }

  .carousel {
    display: block;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
  }

  .carousel-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 10px;
  }

  .carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .carousel-button {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ff6100;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
  }

  .carousel-button.prev {
    left: 10px;
  }

  .carousel-button.next {
    right: 10px;
  }
}
main {
  padding: 1rem 1rem 4rem 1rem;
  background-color: transparent !important; /* Forzamos a eliminar el fondo gris */
  box-sizing: border-box;
  max-width: 1000px;
  margin: -16rem auto 0 auto;
}

main h1 {
  color: #ff6100;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Contenedor filtros */
.filtros {
  position: relative;
  top: 11.1rem; /* baja visualmente 50px sin afectar flujo */
  margin: 1rem 1rem 1rem 3rem; /* margen top grande para bajarlo mucho, y margen left para alinear */
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
  max-width: 250px;
  padding-left: 0.5rem;
  box-sizing: border-box;
}

/* Etiquetas */
.filtros label {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #ff6100;
  width: 100%;
}

/* Checkbox */
.filtros input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
  margin-left: 0.4rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Responsive para móviles */
@media (max-width: 480px) {
  .filtros {
    max-width: 100%;
    padding-left: 0;
    margin-left: 1rem;
    margin-top: 3rem; /* menos margen top en móvil para no quedar tan lejos */
  }
}

/* Otros estilos que ya tenías (si querés me pasás para integrarlos acá) */
main {
  padding: 1rem 1rem 4rem 1rem;
  /* background-color: #f9f9f9; */ /* Quitamos el fondo gris */
  box-sizing: border-box;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0rem; /* sube más todo el main */
}

main h1 {
  color: #ff6100;
  font-size: 2.5rem;
  text-align: center;
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Contenedor filtros */
.filtros {
  position: relative;
  top: 9.9rem;
  margin: 1rem 1rem 1rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
  max-width: 250px;
  padding-left: 0.5rem;
  box-sizing: border-box;
}

/* Etiquetas */
.filtros label {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #ff6100;
  width: 100%;
}

/* Checkbox */
.filtros input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
  margin-left: 0.4rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Responsive para móviles */
@media (max-width: 480px) {
  .filtros {
    max-width: 100%;
    padding-left: 0;
    margin-left: 1rem;
    margin-top: 3rem;
  }
}

.catalogo {
  margin-top: 3rem;
}

.categoria h2 {
  color: #ff6100;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.categoria ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  max-width: 100%;
}

.categoria ul li {
  text-align: justify;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  main {
    padding: 2rem 1rem;
  }


}

#titulo-catalogo {
  margin-top: 1.5rem;
  font-size: 2rem;

}

.contenedor-principal {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap; /* permite el salto en pantallas chicas */
}

/* Filtros en desktop */
.filtros {
  flex: 0 0 250px; /* ancho fijo en escritorio */
}

/* Main al lado de los filtros */
main {
  flex: 1 1 700px; /* ocupa el resto del espacio */
}

/* En pantallas chicas, apilamos los elementos */
@media (max-width: 768px) {
  .contenedor-principal {
    flex-direction: column;
    align-items: stretch;
  }

  .filtros {
    position: static; /* elimina el "top" que los empujaba */
    margin: 2rem 1rem 1rem 1rem;
    padding: 0;
    max-width: 100%;
    width: auto;
  }

  main {
    margin-top: 0;
  }
}

/* --- ESTILO PARA LA LISTA DE PRODUCTOS EN DESKTOP --- */
.categoria ul {
  display: grid;
  grid-template-columns: 1fr 1fr; /* dos columnas */
  gap: 0.8rem 2rem;
  padding-left: 2rem;
  margin-top: 1rem;
}

.categoria li {
  text-align: left;
}

/* --- SOLO PARA MOBILE (menos de 768px) --- */
@media (max-width: 768px) {
  .categoria ul {
    display: block;
    padding-left: 0;
    margin-top: 1rem;
  }

  .categoria li {
    text-align: justify;
    padding: 0 1rem;
  }

  .categoria h2 {
    text-align: center;
    margin-top: 2rem;
  }
}

.filtros {
  position: fixed;
  top: 500px; /* distancia desde arriba */
  left: 20px; /* distancia desde la izquierda */
  width: 250px;
  background: white; /* o el color que prefieras */
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  z-index: 999; /* para que esté encima de otros elementos */
  max-height: calc(100vh - 120px); /* para que no sobrepase pantalla */
  overflow-y: auto; /* si hay muchos filtros, scroll interno */
}

/* Responsive móvil */
@media (max-width: 768px) {
  .contenedor-principal {
    display: block; /* para que los elementos estén en bloque */
  }

  .filtros {
    position: static; /* sin fixed */
    width: 100%;
    max-height: none;
    box-shadow: none;
    padding: 0;
    margin: 1.5rem 0 0rem 0; /* margen debajo del título */
  }

  main {
    margin-left: 0;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  #catalogo-titulo {
    margin-bottom: -1rem; /* menos espacio debajo del título */
  }

  .filtros {
    position: static;
    width: 100%;
    max-height: none;
    box-shadow: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    margin-bottom: -1rem; /* o menos si querés */
  }

  .categoria {
    margin-top: -2rem; /* elimina margen arriba de la categoría */
  }
}

/* Desde 769px hasta 1599px: filtros sin posición fija */
@media (min-width: 769px) and (max-width: 1599px) {
  .filtros {
    position: relative; /* o static */
    top: auto;
    left: auto;
    width: 250px;
    background: white;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-height: none;
    overflow-y: visible;
    margin: 1rem 1rem 1rem 3rem; /* ajusta según quieras */
  }
}

/* Desde 1600px hacia arriba: filtros fijos a 500px de arriba */
@media (min-width: 1600px) {
  .filtros {
    position: fixed;
    top: 500px; /* ✅ Ajustá esto según la altura de tu banner */
    left: 20px;
    width: 250px;
    background: white;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 999;
    max-height: calc(100vh - 200px); /* también ajustá si hace falta */
    overflow-y: auto;
    margin: 0;
  }
}

/* Estilo base para todos los checkboxes */
input[type="checkbox"] {
  accent-color: #ff6100; /* naranja personalizado */
}