/* General */

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h2, p {
    margin: 10px 0;
}

a, a:visited {
    color: white;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */

.header {
    background-color: #333;
    color: white;
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.header-title {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

.nav-links ul li a:hover {
    text-decoration: underline;
}

/* Login */

.login {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    background-color: #333;
    color: white;
}

/* Contenido de inicio */

.contenido-inicio {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px;
    flex-wrap: wrap;
    min-height: 500px;
}

.bienvenida {
    width: 50%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.bienvenida h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.bienvenida p {
    margin-bottom: 20px;
}

.slideshow-container {
    width: 200px;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.slideshow-container .slide {
    display: none;
}

.slideshow-container img {
    width: 200px;
    height: 320px;
    object-fit: cover;
}

/* Productos */

.productos {
    margin-top: 40px;
    padding: 0 15px;
}

.productos h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.productos-lista {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.producto {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    background-color: white;
}

.producto img {
    width: 70px;
    height: 130px;
    object-fit: cover;
    margin-right: 20px;
}

.detalle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.detalle p {
    margin: 5px 0;
}

/* Comentarios */

.comments {
    margin: 40px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
}

.comments textarea {
    width: 100%;
    resize: vertical;
}

.comments button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
}

.comments button:hover {
    background-color: #555;
}

/* Footer */

.footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 280px;
}

.footer-col p {
    margin: 8px 0;
    font-size: 0.95rem;
}

.footer-col a {
    color: white;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}