body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

.catalog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #d3d3d3;
    border-radius: 8px;
    max-width: 1200px;
    margin: 20px auto;
}

.catalog-item {
   position: relative;
	display: inline-block;
	background-color: #fff;
    border: 1px solid #d3d3d3;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.catalog-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
	font-weight: bold;

}

.catalog-item img {
   	display:block;
	width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
	position:relative;
	transition: transform 0.3s ease-in-out;
	top: 5px; /* ajusta según la necesidad */
	z-index: 1;
}


.offer-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: darkblue;
    color: white;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    z-index: 5;
  }



.catalog-item p {
    position: relative;
	font-size: 1.7rem;
    color: #000000;
    margin: 5px 0;
    font-family: Arial, sans-serif;
	font-weight: bold;
    z-index: 3;
	padding: 5px;
	
}

.catalog-item .price {
    font-weight: bold;
    color: #007BFF;
    font-size: 2rem;
    margin-top: 10px;
}


.catalog-item-producto1 {
  display: flex;
  gap: 10px;	
  flex-wrap: wrap;
  align-items: flex-start; /* Alinea los items al inicio (altura del título) */
  
	
.sticky-img-wrapper {
  flex: 1 1 300px;
  position: sticky;
  top: 20px;
  align-self: flex-start;
  display: flex;
  justify-content: center;
	  
}
	
.product-image { 
  width: 100%;
  max-width: 500px;
  height: auto;
  margin-right: 10px;
  top: 20px; /* Ajusta el espacio desde arriba según lo necesites */
  background: #fff; /* Asegura que la imagen no se superponga con el fondo */
  display: block;
}

/* Responsive adjustments for product-image */
@media (max-width: 1024px) {
  .product-image {
    max-width: 100%;
    margin-right: 0;
    /* Keep sticky positioning for screens above 768px */
    position: sticky;
    top: 20px;
    z-index: 2;
  }
}

@media (max-width: 768px) {
  .product-image {
    max-width: 100%;
    min-width: 0;
    margin-right: 0;
    margin-bottom: 20px;
    position: static;
    top: auto;

  }
}

	
	@media (max-width: 768px) {
		.description h1 {
		font-size: 4rem;	
			
			
		}	
		
		
		
	}	
	
@media (max-width: 768px) {
  .catalog-item-producto1 {
    flex-direction: column;
    align-items: center;
  }
	
	.sticky-img-wrapper {
    position: static;
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }
	
  .product-image {
    order: 1;
  }
  .description {
    order: 2;
    width: 100%;
    margin-top: 20px;
    text-align: center;
  }
}
.description {
  flex: 2 1 300px;
  margin-left: 0;
  padding-left: 20px;
  
}

.innova{
	
	color: #1F1E1E;
}

.description h1 {
  font-size: 4rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.description p {
  font-size: 2rem;
  margin-bottom: 20px;
}

.producto1 p{
	
	 font-size: 1.7rem;
    color: #000000;
    margin: 5px 0;
    font-family: Arial, sans-serif;
	font-weight: bold;
	
}

.titulo{
	
	font-size: 1.7rem;
    color: #000000;
    margin: 5px 0;
    font-family: Arial, sans-serif;
	font-weight: bold;
}
.productoprice{
  
  font-size: 2rem;
    color: #007BFF;
    margin: 5px 0;
    font-family: Arial, sans-serif;
  font-weight: bold;
}
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-image:hover{
	
	 transform: scale(1.05) translateY(-5px);
}

#add-to-cart {
	display: inline-block; 
	background-color: #003366;
	color: white;
	padding: 1rem 2rem;
	text-decoration: none;
    border-radius: 2rem;
    text-align: center;
    font-size: 1.rem;
	width: 90%
		
  
}
  

.btn-agregar {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-agregar:hover {
  background-color: #0056b3;
}




#buy-now {
  display: inline-block; 
  background-color: #003366;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 2rem;
  text-align: center;
  font-size: 2rem;
  width: 90%
}

#add-to-cart:hover{
	
	background-color: #0056b3;
}
#buy-now:hover {
  background-color: #00509e; /* Azul más claro */
}

@media (max-width: 768px) {
  .catalog-item-producto1 {
    flex-direction: column;
    text-align: center;
	  width: auto;
	
	}

  .product-image {
    margin-right: 0;
    margin-bottom: 20px;
	  min-width: 300px;

  }

  .description {
    text-align: left;
  }

  .buttons {
    justify-content: center;
  }
	
	.product-image:hover{
		
		 transform: scale(1.05) translateY(-5px);
		
	}
	
}


.similares{
	
	text-align: center;
	font-weight: bold;
	font-size: 2.7rem;
}

.catalog-item img:hover {
    transform: scale(1.05) translateY(-5px);
	
@media (max-width: 576px) {
  #icono-carrito-flotante {
    top: 10px;
    right: 30px;
  }
}

@media (max-width: 576px) {
  .fa-shopping-cart {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  #icono-carrito-flotante {
    top: 60px; /* más abajo para evitar el menú */
    right: 10px;
  }
}

#carrito-lateral {
  position: fixed;
  top: 0;
  right: -100%;
  width: 350px;
  transition: right 0.3s ease-in-out;
  ...
}

button.btn-link {
  border: none;
  background: none;
  padding: 0;
  margin-left: 10px;
  cursor: pointer;
}
	
.logo-animado {
  width: 230px;
  animation: girarLogo 2s infinite ease-in-out;
}

@keyframes girarLogo {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); }
}
	
	
	
	
	
	
	
