body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #555;
    margin: 0;
    padding: 0;
}
header {
    background-color: #f8e1f4;
    padding: 20px;
    text-align: center;
}
header img {
    width: 100%; /* Que ocupe todo el ancho */
    height: auto; /* Ajusta esta altura según prefieras */
    object-fit: cover; /* Recorta la imagen para que se vea bien */
    display: block;
}
nav ul {
    list-style: none;
    padding: 0;
}
nav ul li {
    display: inline;
    margin: 0 15px;
}
nav a {
    text-decoration: none;
    color: #d673a3;
    font-weight: bold;
}
section {
    padding: 40px;
    text-align: center;
}
h2 {
    color: #d673a3;
}
form {
    display: flex;
    flex-direction: column;
    width: 300px;
    margin: auto;
}
input, textarea {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #d673a3;
    border-radius: 5px;
}
button {
    background-color: #d673a3;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}
button:hover {
    background-color: #b85b87;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 24px;
    margin-top: 10px;
}
.social-links a {
    color: #d673a3;
    text-decoration: none;
}
.social-links a:hover {
    color: #b85b87;
}

#carrete {
    padding: 10px;
    text-align: center;
    background-color: #f8e1f4;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide img {
    width: 40%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

@keyframes slideAnimation {
    0% {
        transform: translateX(0);
    }
    33% {
        transform: translateX(-100%);
    }
    66% {
        transform: translateX(-200%);
    }
    100% {
        transform: translateX(0);
    }
}

.carousel-container .carousel-slide {
    animation: slideAnimation 12s infinite;
}

.productos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.producto {
    background: #fdf2f8;
    border: 1px solid #d673a3;
    border-radius: 10px;
    padding: 15px;
    width: 250px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.producto img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.producto h3 {
    color: #d673a3;
    margin: 10px 0;
}

.precio {
    font-weight: bold;
    color: #b85b87;
}
/* Lightbox (previsualización de imagen) */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
