
main {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
}
.section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background-color: white;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.section-content {
  flex: 1 1 400px;
}
.section img {
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}
.section-title {
  font-size: 1.8rem;
  color: #1d45ca;
  margin-bottom: 1rem;
}
.parrafo-estilo {
  font-size: 16px;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.6;
  text-align: justify;
}
.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.carousel-images {
  display: flex;
  gap: 1rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
  width: 100%;
}
.carousel-images img {
  flex: 0 0 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: 8px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #1d45ca;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
}
.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  right: 10px;
}
.final-msg {
  text-align: center;
  padding: 2rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}
.btn-compra {
  display: inline-block;
  margin-top: 1rem;
  background-color: #1d45ca;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}
.btn-compra:hover {
  background-color: #1433a1;
}
@media screen and (max-width: 768px) {
  .section {
    flex-direction: column;
    text-align: center;
  }
  .section img {
    max-width: 100%;
  }
  .carousel-images img {
    height: auto;
    max-height: 300px;
  }
}
