/* General */
body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fee700;
    margin: 0;
    padding: 0;
}

/* Barra de navegación */
.navbar {
    background: #fee700;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
    color: #ff0000;
    transform: scale(1.1);
}

.nav-links a.active {
    color: #ff0000;
    border-bottom: 2px solid #ff0000;
}

/* Detalles del producto */
.product-detail {
    text-align: center;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, #111 0%, #333 100%);
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.7);
    max-width: 700px;
}

.product-detail img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-detail img:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5);
}

.product-detail h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fee700;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.product-detail p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #ccc;
}

/* Formulario */
form {
    text-align: left;
    margin: 0 auto;
    max-width: 400px;
}

label {
    display: block;
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
    color: #fee700;
    font-weight: bold;
}

select, input[type="number"] {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #fee700;
    border-radius: 5px;
    background: #000;
    color: #fee700;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

select:focus, input[type="number"]:focus {
    border-color: #ff0000;
    box-shadow: 0px 0px 8px #ff0000;
    outline: none;
}

.price-display {
    margin: 1rem 0;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.buy-button {
    display: block;
    width: 100%;
    padding: 0.8rem 1.5rem;
    background: #fee700;
    color: #000;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.buy-button:hover {
    background: #333;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7);
}

/* Efectos responsivos */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .product-detail {
        padding: 1rem;
    }

    form {
        max-width: 100%;
    }

    .buy-button {
        font-size: 1rem;
    }
}
