:root {
    --primary-color: #2c3e50;
    --bg-color: #f4f7f6;
    --card-bg: #ffffff;
    --text-color: #333;
    --accent-color: #25d366;
    --accent-hover: #1ebd57;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }

body { background-color: var(--bg-color); color: var(--text-color); display: flex; flex-direction: column; min-height: 100vh; }

/* Header Fijo */
header { background-color: #3B3B3E; box-shadow: 0 4px 12px rgba(0,0,0,0.3); padding: 1rem 0; position: sticky; top: 0; z-index: 100; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: flex-start; gap: 15px; padding: 0 20px; }
.logo { max-height: 85px; width: auto; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
#tienda-nombre { 
    font-size: 2.5rem; 
    font-weight: 800; 
    background: linear-gradient(45deg, #00d2ff, #ff00ea); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    margin-left: 10px;
}

/* Nuevo Hero Banner */
.hero { background: linear-gradient(135deg, var(--primary-color), #34495e); color: white; text-align: center; padding: 3rem 20px; margin-bottom: 2rem; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.hero h2 { font-size: 2rem; margin-bottom: 10px; font-weight: 800; letter-spacing: 0.5px; }
.hero p { font-size: 1.1rem; opacity: 0.9; }

/* Main & Grid */
main { flex-grow: 1; padding: 0 20px 4rem 20px; max-width: 1200px; margin: 0 auto; width: 100%; }
.grid-productos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

/* Tarjetas Animadas */
.producto-card { background-color: var(--card-bg); border-radius: 16px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,0.02); }
.producto-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.12); }
.producto-img { width: 100%; height: 260px; object-fit: cover; border-bottom: 1px solid #f0f0f0; transition: transform 0.5s ease; }
.producto-card:hover .producto-img { transform: scale(1.03); }

/* Info de Tarjeta */
.producto-info { padding: 25px 20px; display: flex; flex-direction: column; flex-grow: 1; background: linear-gradient(to bottom, #ffffff, #fafafa); }
.producto-titulo { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; color: var(--primary-color); }
.producto-desc { font-size: 0.95rem; color: #666; margin-bottom: 20px; line-height: 1.6; flex-grow: 1; }
.producto-precio { font-size: 1.6rem; font-weight: 800; color: var(--primary-color); margin-bottom: 20px; }

/* Botón 3D con Sombra */
.btn-comprar { background-color: var(--accent-color); color: white; text-align: center; text-decoration: none; padding: 14px; border-radius: 10px; font-weight: bold; font-size: 1.1rem; transition: all 0.3s ease; border: none; display: block; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); }
.btn-comprar:hover { background-color: var(--accent-hover); transform: scale(1.02); box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4); }

/* Footer */
footer { background-color: var(--primary-color); color: white; text-align: center; padding: 2rem 20px; margin-top: auto; font-size: 0.9rem; }