/* --- 1. CONFIGURACIÓN DEL FONDO Y CUERPO --- */
body {
    margin: 0;
    padding: 0;
    color: #f5f5f5;
    min-height: 100vh;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; 
    background-color: #1a0029; 
    background-image: 
        radial-gradient(circle at center, #350052 0%, #11001c 100%),
        url("https://www.transparenttextures.com/patterns/asfalt-dark.png"); 
    background-blend-mode: multiply;
    background-attachment: fixed;
}

/* --- 2. TEXTOS PRINCIPALES --- */
h1, h2, h3 {
    color: #d4af37; 
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

main p {
    color: #d4af37; 
    font-style: italic;
    opacity: 0.9;
}

/* --- 3. SECCIÓN HERO --- */
.hero-section {
    padding: 60px 20px 20px;
}

/* --- 4. BARRA DE BÚSQUEDA --- */
.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 700px;
    margin: 2rem auto 4rem;
}

.search-bar input {
    flex-grow: 1;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #d4af37;
    border-radius: 50px;
    color: #f5f5f5;
    outline: none;
}

.btn-search {
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s ease;
    margin-left: 15px;
    font-size: 0.8rem;
}

.btn-search:hover {
    background: #d4af37;
    color: #1a0029;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* --- 5. CUADRÍCULA DE PRODUCTOS (Asegúrate de tener esto) --- */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 5%;
}

.producto-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
}

.producto-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.producto-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.precio {
    display: block;
    color: #d4af37;
    font-weight: bold;
    margin: 10px 0;
}

.btn-card {
    background: #d4af37;
    color: #1a0029;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}