/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    background: linear-gradient(to right, #663de4, #007f7f); /* Gradiente de Mayor Alcance */
    padding: 15px 0;
    color: white;
    text-align: center;
}

header .logo h2 {
    font-size: 1.5rem;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    font-size: 1rem;
    text-transform: none;
}

/* Producto Detalle */
#producto-detalle {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 40px;
}

.producto-imagenes {
    flex: 1 1 40%;
    max-width: 40%;
}

.producto-imagenes .principal-imagen img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.producto-imagenes .imagenes-secundarias {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.producto-imagenes .imagenes-secundarias img {
    width: 48%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.producto-info {
    flex: 1 1 55%;
    max-width: 55%;
    padding-left: 20px;
}

.producto-info .nombre {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.producto-info .descripcion {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.producto-info .precio {
    font-size: 1.3rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 20px;
}

.producto-info .btn-whatsapp {
    display: inline-block;
    background-color: #25d366;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s;
}

.producto-info .btn-whatsapp:hover {
    background-color: #128c7e;
}

/* Información del vendedor */
.vendedor-info {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.vendedor-foto {
    width: 80px; /* Ancho fijo */
    height: 80px; /* Alto fijo */
    border-radius: 50%; /* Hace que la imagen sea redonda */
    overflow: hidden; /* Esconde las partes de la imagen que sobrepasen el contenedor */
    margin-right: 20px;
}

.vendedor-foto img {
    width: 100%; /* Hace que la imagen ocupe todo el contenedor */
    height: 100%; /* Hace que la imagen ocupe todo el contenedor */
    object-fit: cover; /* Ajusta la imagen para cubrir el contenedor sin perder proporciones */
    object-position: center; /* Centra la imagen dentro del contenedor */
}


.vendedor-detalle h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.vendedor-detalle .btn-ver-catalogo {
    display: inline-block;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s;
}

.vendedor-detalle .btn-ver-catalogo:hover {
    background-color: #444;
}

.footer {
    text-align: center;
    margin-top: 20px;
}

.footer a {
    font-size: 12px;
    color: #663de4; /* Morado de Mayor Alcance */
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Footer estilizado */
.footer-container {
    background-color: #663de4; /* Morado de Mayor Alcance */
    color: white;
    padding: 20px 0;
    padding-bottom: 60px;
    text-align: center;
    width: 100%;

    margin-top: auto; /* Esto hace que el footer siempre se mantenga en la parte inferior */
}

/* Estilo de los íconos sociales */
.social-icons {
    margin-top: 10px;
}

.social-icons a {
    color: white;
    font-size: 30px;
    margin: 0 15px;
    text-decoration: none;
}

.social-icons a:hover {
    opacity: 0.7;
}


/* Estilos responsivos */
@media (max-width: 768px) {
    #producto-detalle {
        flex-direction: column;
        padding: 20px;
    }

    .producto-imagenes {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .producto-info {
        flex: 1 1 100%;
        max-width: 100%;
        padding-left: 0;
    }
}
