*{
      margin: 0;
      padding: 0;
      box-sizing: border-box;
}

:root {
  --color-principal: #4CAF50;
  --verde-oscuro: #3e7c3b;
  --verde_marron-oscuro: #2d5e2d;
  --beige: #f5f3ef;
  --tierra: #8B5E3C;
  --gris: #101010;
  --color-secundario: #ffffff;
  --blanco-hueso: #FAFAF5;
  --color-terciario: rgb(255, 149, 0);
  --color-cuarto: rgb(255, 0, 0);
  --verde-brillante : rgb(58, 207, 38);
  --navbar-texto:'Montserrat';
   --Main-texto: "Poppins", sans-serif;
  --navbar-texto-tamano: 18px;
  --texto-pc-tamano:18px;
  --titulos-pc-tamano:32px;
   /*Moviles*/
  --navbar-texto-tamano-movil: 14px;
  --navbar-texto-animacion-movil: 16px;

   /*Tablets*/
  --navbar-texto-tamano-movil: 15px;
  --navbar-texto-animacion-movil: 17px;
}
/*
body {
  background-color: var(--beige);
  color: #333;
  font-family: var(--Main-texto);
  font-size: var(--texto-pc-tamano);
  background-color: var(--beige);
  color: #333;
}*/





h1, h2, h3, p, a, span {
  font-family: var(--Main-texto);
}


.items {
  border: 1px solid #ccc;
  width: 300px;
  height: 300px;
  background: rgb(0, 0, 0);
  position: absolute;
  z-index: 1000;
  border: red solid;
  border-radius: 2px;
}

/*Header*/

header{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 100;
}
.navbar{
    /* position: fixed; */
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 20px;
    box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 9%);
    background-color: var(--color-secundario);
    position: absolute;
    overflow: hidden;
    z-index: 1;
}

.navbar::before {
   content: "";
    position: absolute;
    top: 0;
    left: 35%;
    width: 70%;
    height: 100%;
   background: linear-gradient(45deg, rgb(0 122 51 / 75%), rgb(214 40 40 / 83%));
    transform: skew(331deg);
    z-index: -9999;

}



.navbar_menu_items_phone{
  display: none;
}

.navbar_menu_items{
  display: flex;
  flex-direction: row;
  margin-right: 50px;
}

.navbar_menu_items a{
  font-family: var(--navbar-texto);
  font-size: var(--navbar-texto-tamano);
  /*color: var(--verde-oscuro);*/
  color: #fff;
  margin-left: 5px;
  font-weight: bold;
  text-decoration: none;
  margin-left: 100px;
}

.navbar_menu{
   display: flex;
   justify-content: center;
   align-items: center;
}

.navbar_menu_phone {
  width: 25px;
  height: 15px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1000;
}

.navbar_menu_phone span {
  display: block;
  height: 3px;
  background: var(--color-principal);
  border-radius: 2px;
  transition: all 0.4s ease;
}

.navbar_menu_items a:hover{
  /*color: var(--color-terciario);*/
  color: var(--verde-brillante)
  /* text-decoration: underline; */
  /* font-size: var(--navbar-texto-animacion); */
}

.navbar_menu_items svg{
  /*fill: var(--verde-oscuro);*/
  fill: #fff;
  width: 25px;
  height: 25px;
}

.carrito_compras_phone{
  display: none;
}

.carrito_compras{
  position: relative;
}

.carrito_compras svg{
   /*fill: var(--verde-oscuro);*/
   fill: #fff;
   margin-bottom: 5px;
}

.carrito_compras:hover{
  cursor: pointer;
}

.body-bloqueado {
  overflow: hidden;
}

.overlay.activo {
  display: block;
}

.overlay {
  position: fixed;
  inset: 0; /* top, right, bottom, left: 0 */
  background: rgba(0, 0, 0, 0.4); /* semitransparente */
  z-index: 100; /* debajo del carrito */
  display: none; /* oculto por defecto */
}


.contador_carrito{
  position: absolute;
  font-size: 0.8rem;
  bottom: 0;
  background-color: rgb(224, 224, 224);
  border-radius: 9999px;
  padding: 0.2em;
  display: none;
}

.contador_carrito_phone{
  position: absolute;
  font-size: 0.8rem;
  bottom: 0;
  background-color: rgb(224, 224, 224);
  border-radius: 9999px;
  padding: 0.2em;
  display: none;
}


.navbar_menu_items svg:hover{
    fill : var(--verde-brillante);
 /* fill: var(--color-terciario);*/
  /* width: 35px;
  height: 35px; */
}

.navbar_menu_phone.active span {
  background: var(--color-cuarto);
}



/* Animación del icono hamburguesa → X */
.navbar_menu_phone.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar_menu_phone.active span:nth-child(2) {
  opacity: 0;
}

.navbar_menu_phone.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.logo_navbar{
  width: 100px;
  height: 90px;
  margin-left:50px;
}

.logo_navbar img{
  width: 100%;
  height: 100%;
  transform: scale(1.5);
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar h1 {
  margin: 0;
  font-size: 20px;
  color: black;
}

.carrusel_imagenes{
  position: relative;
  height: 80vh;
  overflow: hidden;
  margin-top:110px;
}

.contenedor_imagenes_carrusel {
  display: flex;
  width: 500%;
  height: 80vh;
  transition: transform 1s ease-in-out;
}

.contenedor_imagenes_carrusel picture {
 width: 100%;
 object-fit: cover	;
object-position: center;
}

.contenedor_imagenes_carrusel img {
  width: 100%;
  height: 100%;
  object-fit: cover	;
  object-position: center;
  display: block;
  background: rgba(0, 0, 0, 0.45);
  filter: contrast(110%) brightness(105%);
}

.indicadores {
  height: 20px;
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 20;
  bottom: 0;
}

.indicador {
  position: relative;
  width: 39px;
  height: 5px;
  background: rgba(255, 255, 255, 0.6);
  /* border-radius: 50%; */
  cursor: pointer;
  transition: background 0.3s;
 }

.indicador.active {
  background: #f7b111;
}

.navbar_menu_redes{
  display: flex;
}



@keyframes zoomIn {
  from {
    transform: scale(2);
    filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.3);
  }
  to {
    transform: scale(1);
    filter: blur(1);
  }
}

.zoom {
  animation: zoomIn 4s ease-in-out;
}
/* fin header*/

/*Inicio del Main*/


/*quienes somos*/

.about {
  padding: 80px 60px;
 /* background-color: var(--beige);*/
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 450px;
  text-align: left;
}

.about-text h2 {
  font-size: 2.1rem;
  color: var(--verde_marron-oscuro);
  margin-bottom: 25px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gris);
}

.about-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* fin quienes somos*/

/*catalogo*/

.seccion_catalogo {
  /* width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; */
  padding: 80px 60px;
  /*background-color: var(--beige);*/
}

.seccion_catalogo.visible{
  opacity: 1;
  transform: translateY(0);
  transition: opacity 2s ease-out, transform 2s ease-out;
  will-change: opacity, transform;
}

.texto_catalogo{
  text-align: center;
}

.texto_catalogo h2{
  font-size: 2rem;
  color: var(--verde_marron-oscuro);
  text-align: center;
}

.container_texto_catalogo_tienda{
   margin: auto;
   margin-top: 25px;
   max-width: 700px;
}

.texto_catalogo span{
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gris);
  text-align: center;
  text-wrap: break-word;
}

.Contenedor_catalogo_tienda{
   display: flex;
   justify-content: center;
   align-items: center;
   margin-top: 15px;

}

.Boton_catalogo_tienda{
  display: flex;
  width: 185px;
  height: 66px;
  justify-content: center;
  align-items: center;
  border-radius: 38px;
  text-decoration: none;
  background-color: var(--verde-oscuro);
  color: var(--color-secundario);
  font-weight: 700;
  font-size: 20px;
}

.Boton_catalogo_tienda:hover{
  background:var(--verde_marron-oscuro)
}

.catalogo-container {
  max-width: 1250px;
  margin: 0 auto;
  margin-top: 20px;
  padding: 1rem 2rem;
  background-color: white;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.catalogo-container:hover {
  transform: scale(1.02);
}


.catalogo {
  margin-top: 20px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem; /* 🔹 Reduce el espacio entre columnas y filas */
  padding: 1rem;
  justify-items: center;
  place-items: center;
}

.barra_catalogo{
 margin: auto;
 padding: 0.7rem;
 background-color: #d7a800;
 width: 96%;
 height: 15px;
 margin-bottom: 20px;
}


.item {
  background: #f2f2f2;
  padding: 10px;
  border-radius: 8px;
}

/*productos*/
 .product-card {
    width: 265px; /* un ancho más estrecho */
    border-radius: 15px;
    background: #fbfbea;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
  }

 .product-card:hover {
  transform: translateY(-5px);
 }

  .contenedor_imagen {
    width: 100%;
    height: 320px; /* altura mayor que el ancho → forma vertical */
    overflow: hidden;
    border-bottom: 1px solid #eee;
  }

  .product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* llena el espacio sin deformarse */
    transition: transform 0.3s ease;
    filter: contrast(110%) brightness(105%);
  }

 /* .product-card img:hover {
  transform: scale(1.05);
  } */

  .cards-container .product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    background-color: var(--color-secundario);
    border-radius: 4px;

  }

  /* .product-info {
    margin-top: 10px;
    background-color: rgba(0, 0, 0, 0.201);
    width: 240px;
    border-radius: 5px;
  } */

  .product-info .product-info-Name{
    color: #2e6b37;
    font-weight: 600;
    margin: 10px 0 5px;
  }

  .product-info-Name:hover{
    color: var(--color-terciario);
  }

  .product-info .product-info-price{
    color: #d7a800;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .carro_compras{
    color: black;
  }

  .add_car{
  position: absolute;
  bottom: -42px; /* escondido inicialmente */
  left: 0;
  width: 100%;
  height: 42px;
  background: #fbfbea;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: bottom 0.3s ease;
  /* border-top: 1px solid #eee; */
  }
  .contenedor_productcar{
  background-color: var(--color-secundario);
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

/* .carro_compras:has(.contenedor_productcar:hover , .carro_compras:hover) {
   background-color: var(--color-terciario);
   transition: all 0.3s ease;
}

.contenedor_productcar:hover {
  background-color: var(--color-terciario);
  transition: background-color 0.3s ease;
}

.carro_compras:hover{
 color: var(--color-secundario);
} */




.product-card:hover .add_car {
  bottom: 0;
}



/*Fin catalogo*/

/*Punto de venta*/
.punto-venta {
  text-align: center;
  padding: 60px 20px;
  /*background-color:var(--beige)*/
}

.titulo-seccion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 2.1rem;
  color:var(--verde_marron-oscuro);
  font-weight: 700;
  margin-bottom: 35px;
}

.icono-pin {
  color: #e63946;
}

.container_mapa{
 display: flex;
 gap: 10px;
}

.mapa-card {
  width: 650px;
  margin: 0 auto;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.mapa-card:hover {
  transform: scale(1.02);
}

.info-punto {
  padding: 20px;
  background-color: #fff;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.info-punto strong {
  color:var(--verde_marron-oscuro);
}

.info-punto span {
  color: #e63946;
  font-weight: 600;
}

.burbuja_whatsapp {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 1000;
    cursor: pointer;
}
/*fin del Main*/

/*footer*/
.footer {
  background-color: #3d7738;
  color: white;
  font-family: "Poppins", sans-serif;
}

.footer-contenedor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: flex-start;
  justify-items: center;
  padding: 40px 20px;
  gap: 30px;
  text-align: left;
}

/* --- Contacto --- */
.footer-contacto h3,
.footer-Redes h3 {
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-contacto hr,
.footer-Redes hr {
  width: 80%;
  border: 1px solid white;
  margin-bottom: 15px;
}

.footer-contacto p {
  margin: 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Redes --- */
.footer-Redes a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}

.footer-Redes svg {
  fill: white;
}

.footer-Redes a:hover p {
  text-decoration: underline;
}

/* --- Logos --- */
.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.footer-logos img {
  height: 90px;
  object-fit: contain;
}

/* --- Derechos --- */
.footer-contenedor-derechos {
  text-align: center;
  border-top: 1px solid white;
  padding: 12px;
}

.footer_derechos {
  font-weight: bold;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer-contenedor {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logos {
    gap: 40px;
  }

  .footer-contacto hr,
  .footer-Redes hr {
    margin: 10px auto;
  }
}

.burbuja_whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  font-size: 28px;
  text-decoration: none;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.whatsapp:hover {
  transform: scale(1.1);
}
/*Fin footer*/

/*carro compras*/

/*fin carro compras*/
.carrito-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 375px;
  height: 100%;
  background-color: var(--color-fondo, #fff);
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.4s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
.carrito-panel.activo {
  right: 0;
  z-index: 2000;
}

.carrito-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.cerrar-carrito {
  background: none;
  border: none;
  font-size: 24px;
  color: #444;
  cursor: pointer;
}

.carrito-items {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center; /* Centra horizontal */
  align-items: center;     /* Centra vertical */
  height: 100%;            
  overflow-y: auto;
  padding: 15px 20px;
  
}
.item-carrito {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  background-color: rgba(0,0,0,0.03);
  border-radius: 12px;
  padding: 8px;
  transition: transform 0.2s;
}
.item-carrito:hover {
  transform: scale(1.02);
  background-color: #fbfbea;
}

.compras_vacio{
  text-align: center;
}
.item-carrito img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  margin-right: 10px;
}
.item-carrito h4:hover {
  color: var(--color-terciario);
}

.item-carrito h4 {
  font-size: 14px;
  margin: 0;
  color: var(--color-texto, #222);
}

.link_art{
  text-decoration: none;
}

.item-carrito span {
  font-size: 13px;
  color: gray;
}
.item-carrito .cantidad {
  font-size: 12px;
  color: gray;
}

.cantidades input {
    width: 65px;
    padding: 0.2rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.container_eliminar{
  align-self: flex-start;
  margin-left: 75px;
  cursor: pointer;
}

.container_eliminar svg path{
 
 stroke: gray;
}

/* svg path {
  stroke: var(--color-principal);
} */

.carrito-footer {
  padding: 18px 20px;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.checkout-btn {
  width: 100%;
  background-color: var(--color-principal);
  color: var(--color-secundario);
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}
.checkout-btn:hover {
  background-color: var(--color-terciario);
}

/*responsive*/

/*Header*/
@media (max-width: 1310px) {
  .navbar_menu_redes {
    display: none;
  }
}

@media (min-width: 320px) and (max-width: 500px) {

.navbar_menu_items_phone{
  width: 100%;
  max-height: 0px;
  overflow: hidden;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}



.navbar_menu_items_phone.activephone{
  max-height: 500px;
  opacity: 1;
}


.navbar_menu_items_phone a{
  font-family: var(--navbar-texto);
  font-size: var(--navbar-texto-tamano-movil);
  color: var(--color-principal);
  font-weight: bold;
  text-decoration: none;
  margin-top: 10px;
}

.navbar_menu_redes_phone{
  margin-top: 10px;
}

.navbar_menu_redes_phone a{
  margin-left: 10px;
}

.navbar_menu_items_phone a:hover{
  color: var(--color-terciario);
}

.navbar_menu_redes_phone svg{
  fill: var(--color-principal);
}



  .navbar{
    display: flex;
    justify-content: space-between;
    overflow: auto;
  }

  .navbar_menu_items{
    display: none;
  }

  .navbar{
    /* height: 60px; */
    transition: height 0.4s ease;
  }

  
}

/* === Fondo decorativo con líneas curvas rojo y verde === */
body {
  margin: 0;
  background-color: #f7fff5; /* tono suave tipo vivero */
  position: relative;
  overflow-x: hidden;
}

/* Capa decorativa del fondo (SVG incrustado) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800' preserveAspectRatio='xMidYMid slice'><path d='M-150 150 Q250 350 700 50 T1500 450' stroke='rgba(198,40,40,0.18)' stroke-width='60' fill='none' stroke-linecap='round'/><path d='M-200 500 Q400 700 1000 300 T1600 900' stroke='rgba(56,142,60,0.25)' stroke-width='80' fill='none' stroke-linecap='round'/><path d='M-100 750 Q600 950 1300 400' stroke='rgba(198,40,40,0.12)' stroke-width='55' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  z-index: -9999; /* 🔹 Esto lo manda detrás de TODO */
  pointer-events: none;
}




/*fin header*/