/*pliticas de privacidad*/
html{
  font-family: arial, sans-serif;
}
.politicas {
    max-width: 900px;
    margin: 180px auto 60px auto; /* Se separa del header fijo */
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    color: #2c2e33;
    font-family: Arial, sans-serif;
    line-height: 1.7;
    text-align: left;
}

/* Imagen del logo dentro del aviso */
.politicas .logo1 {
    display: block;
    width: 150px;
    margin: 0 auto 30px auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* TITULOS */
.politicas h1 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c2e33;
}

.politicas h2 {
    font-size: 22px;
    margin-top: 32px;
    font-weight: bold;
    color: #2c2e33;
    border-left: 6px solid #ead7c0; /* tu color beige */
    padding-left: 12px;
}

.politicas h3 {
    font-size: 19px;
    margin-top: 22px;
    font-weight: 600;
    color: #2c2e33;
}

/* PARRAFOS */
.politicas p {
    font-size: 16px;
    margin: 12px 0;
    color: #333;
}

/* LISTAS */
.politicas ul {
    margin: 10px 0 20px 40px;
}

.politicas ul li {
    margin-bottom: 8px;
    color: #333;
}

/* CORREO / CODIGO */
.politicas code {
    background: #f1f1f1;
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 15px;
}



.politicas-priv{
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}
.politicas-priv:hover{
    color: #c8a97e; /* color dorado al pasar el mouse */

}
.success {
  background-color: white; 
  border: 2px solid #04AA6D;
} 
.success:hover {
  background-color: #46a049; 
  color: white;
}

.btn {
  color: black; 
  padding: 14px 28px; 
  cursor: pointer; 
  border-radius: 5px; 
}

/*LO DE ARRIBA ES PARA EL BOTON DE LOS GRIDS*/
*{
    margin: auto;
    box-sizing: border-box;/*evita problemas de desbordamiento*/

}





.nav .logo{
    display: flex;
}

header{
    position: relative;
    /*padding: 3.6em;*/
    
}
.barra-cafe {
  position: fixed;           /* Fija arriba de todo */
  top: 0;/*Posicion para la barra*/
  left: 0;/*Posicion para la barra*/
  width: 100%;
  background-color: #ead7c0f0;
  z-index: 1000;             /*Fija hasta arriba*/
  padding: 4em;/*Tamaño para el menú de navegación del nav*/
}


.li-ah {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
}

.li-ah img {
  border-radius: 50%;
}

.li-ah li {
  margin: 0;
  
}

.li-a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

.li-a:hover {
  color: #c8a97e; /* color dorado al pasar el mouse */
}
/*
.search {
  margin-left: auto; /* lleva el buscador a la derecha 
  border: 1px solid #ccc;
  border-radius: 7px; /*Bordes redondeados
  width: 250px;
  padding: 5px 10px;
}*/

.container-img{
  display: flex;
  flex: wrap;
  margin-top: 50px;
}

.img-first img{
  margin-top: 30px;
  border-radius: 50%;
  margin-bottom: 30px;
}

.separador{
  margin: 0; /* quita márgenes para que no haya separación vertical */

  color: white;
  text-align: center;
  padding: 0.2em;
  text-shadow: 2px 2px 4px #000000; /*sombra para que resalte el texto*/
}

.loop {
  width: 100%;
  position: relative;
  height: 100%;
  /*margin-top: 110px;  deja espacio para la barra fija */
  z-index: 1;        /* menor para que la barra para que quede abajo */
}

.loop img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* La imagen se adapta al contenedor */
  z-index: 0; /* Detrás del texto */
}



.div-first {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}


.div-first span {
  display: block;
  color: white;
  font-size: 50px;
  font-style: arial;
  margin: 0.3em;
  font-weight: bold;
  text-shadow: 2px 2px 4px #000000;
}


.description{
  display: block;
  font-style: arial;
  padding: 35px;
  font-size: 20px;
  text-align:center;
 
}
#description-information{

  font-weight: bold;
  font-size: 25px;
  color: #5b3a29;
}
.container{/*estilo para el contenedor*/
  display: flex;
  height: auto;
  margin-top: 0; /* asegurar que no tenga separación con el elemento anterior */
  padding-top: 0;
}

.text{ /*Estilo para el texto centrado en el div y en columnas*/
    display: flex;
    flex-direction: column;
    flex: 1;
    font-size: 25px;
}

.text a{ /*Estilo para el enlace*/
    color: black;
    text-decoration: none;
}




.contenedor {
  position: relative; /* Permite posicionar elementos hijos en forma absoluta dentro de él */
  display: inline-block; /* Para que el contenedor tenga el tamaño de la imagen */
}

.imagen-fondo {
  position: absolute; /* Elimina la imagen del flujo normal */
  top: 0;
  left: 0;
  z-index: 1; /* Se coloca detrás de la imagen superpuesta */
}

.imagen-superpuesta {
  position: absolute;
  top: 50px; /* Ajusta la posición según sea necesario */
  left: 125px; /* Ajusta la posición según sea necesario */
  z-index: 2; /* Se coloca encima de la imagen de fondo */
}
   
/*Pagina productos  */


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  box-sizing: border-box;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.li-a {
  text-decoration: none;
  color: rgb(9, 3, 3);
  font-weight: bold;
  font-family: Arial, sans-serif;
  transition: color 0.3s;
}

.li-a:hover {
  color: #ffd700;
}

.contenido {
  margin-top: 140px;
  background-color: #fcf6f6;
  height: 500px;
  padding: 20px;
}


/* === PRODUCT PAGE STYLES === */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2c2e33;
  padding: 1rem 2rem;
}

.navbar .search {
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  width: 250px;
}

.breadcrumb {
  margin: 2rem 5%;
  font-size: 0.9rem;
}
.breadcrumb a {
  color: #555;
  text-decoration: none;
}
.breadcrumb span {
  color: #000;
  font-weight: 500;
}

.product {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 3rem;
  padding: 2rem 5%;
}

.product-image {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.product-image img {
  width: 800px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  margin-top: 30px;
}

.product-info h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/**.subtitle {
  color: #666;
}

.rating {
  color: #ffcc00;
  margin: 1rem 0;
}

.options button {
  border: 1px solid #ccc;
  background: #f4f4f4;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  margin-right: 10px;
  cursor: pointer;
}

.options button.active {
  background: #222;
  color: #fff;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

.quantity button {
  width: 30px;
  height: 30px;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

.price {
  margin-left: auto;
  font-weight: bold;
  font-size: 1.2rem;
}**/

.add-btn {
  display: block;
  background: #222;
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 1rem;
}

.similar {
  padding: 2rem 5%;
  text-align: center;
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  border-radius: 8px;
}

.card p {
  font-weight: bold;
  margin: 0.5rem 0 0;
}

footer {
  background: #2c2e33;
  color: #fff;
  padding: 2rem 5%;
}

.footer-top {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-top input {
  padding: 0.5rem;
  border: none;
  border-radius: 5px;
  width: 300px;
}

.footer-top button {
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 5px;
  background: #444;
  color: #fff;
  cursor: pointer;
  margin-left: 0.5rem;
}

.footer-bottom {
  
  justify-content: space-between;
  align-items: center;
}

.social-media {
  display: inline;
  gap: 20px;
 
  
}
.social-media a {
  display: inline-block;
  margin-top: 5px;

}
.des{
  font-family: Georgia, serif;
        font-size: italic;
        color: red;
        text-decoration: line-through;
}

 .titulo {
  margin: auto;
  margin-top: 30px;
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 40px;
}

.descripcion {
  text-align: center;
  margin-bottom: 50px;
  max-width: 1200px;
}

.container-desc {
  margin: 0;
  padding: 6em;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.items-container {
  display: flex;
  flex-direction: row;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 250px;
  text-align: center;
}

.circulo {
  width: 100px;
  height: 100px;
  background: #ead7c0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.circulo img {
  width: 50px;
  height: 50px;
}

@media (max-width: 768px) {

  /* Contenedor de políticas */
  .politicas {
    margin: 120px 20px 40px 20px;
    padding: 25px;
  }

  .politicas .logo1 {
    width: 110px;
  }

  .politicas h1 {
    font-size: 26px;
  }

  .politicas h2 {
    font-size: 20px;
  }

  .politicas h3 {
    font-size: 18px;
  }

  .politicas p,
  .politicas ul li {
    font-size: 15px;
  }

  /* Header */
  .barra-cafe {
    padding: 2em;
  }

  nav ul {
    gap: 10px;
  }

  nav ul li {
    font-size: 14px;
  }

  /* Ajuste la imagen pedro */
  .loop img {
    height: auto;
  }

  .div-first span {
    font-size: 30px;
  }

  /* Secciones con texto */
  .container {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }

  .text {
    font-size: 20px;
  }

  
  .product {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
  }

  .product-image img {
    width: 100%;
    max-width: 350px;
  }

  .breadcrumb {
    margin: 1rem;
    font-size: 0.8rem;
  }

  .similar-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  /* Footer */
  .footer-top input {
    width: 80%;
    margin-bottom: 10px;
  }

  .footer-top button {
    width: 80%;
  }

 
  .items-container {
    flex-direction: column;
    gap: 30px;
  }

  .item {
    width: 100%;
    max-width: 250px;
  }

  .circulo {
    width: 80px;
    height: 80px;
  }

  .circulo img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {

  .div-first {
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 10px; /* evita que se corte */
    text-align: center;
  }

  .div-first span {
    font-size: 28px;
    line-height: 1.2;
  }

  .loop img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
body{
  display: block;
    background-color: #f4f4f4f4;
    line-height: 1.6em;
 box-sizing: border-box;/*evita problemas de desbordamiento*/
 font-family: arial;
}