* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #222;
    color: #eee;
    line-height: 1.6;
}

#login-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#login-container.active {
    display: flex;
}

.login-form {
    background-color: #333;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
}

.login-form h2 {
    color: #e53935;
    margin-bottom: 20px;
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    background-color: #444;
    color: white;
}

.login-form button {
    background-color: #e53935;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    width: 100%;
}

#main-content {
    display: none;
}

header {
    background-color: #111;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo a {
    color: #e53935;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #e53935;
}

.hero {
    background: url('hero-bg.jpg') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.cta-button {
    background-color: #e53935;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.productos {
    padding: 2rem 5%;
    text-align: center;
}

.productos h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #e53935;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.producto {
    background-color: #333;
    padding: 1rem;
    border-radius: 10px;
    transition: transform 0.3s;
}

.producto:hover {
    transform: translateY(-10px);
}

.producto img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.producto h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.precio {
    color: #1db954;
    font-weight: bold;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 1rem;
}

.add-to-cart-btn {
    background-color: #e53935;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
    background-color: #f44336;
}

.comentarios {
    padding: 2rem 5%;
    text-align: center;
}

.comentarios h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #e53935;
}

.comentarios form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.comentarios input,
.comentarios textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #555;
    background-color: #333;
    color: white;
    border-radius: 5px;
}

.comentarios button {
    background-color: #e53935;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.comentarios button:hover {
    background-color: #f44336;
}

.comentarios #lista-comentarios {
    margin-top: 2rem;
    text-align: left;
}

.comentarios .comentario {
    background-color: #333;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 15px;
}

.contacto {
    padding: 2rem 5%;
    text-align: center;
    background-color: #111;
}

.contacto h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #e53935;
}

.contacto form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contacto input,
.contacto textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #555;
    background-color: #333;
    color: white;
    border-radius: 5px;
}

.contacto button {
    background-color: #e53935;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.contacto button:hover {
    background-color: #f44336;
}

footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #111;
    color: #888;
    border-top: 1px solid #333;
}