/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
}

/* BODY */
body{
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;
background:#0a0a0a;
color:white;
}

/* HEADER */
.header{
background:#000;
padding:25px 60px;
border-bottom:1px solid rgba(255,215,0,.4);
display:flex;
justify-content:space-between;
align-items:center;
}

.header h1{
color:gold;
font-size:28px;
letter-spacing:1px;
}

nav a{
color:#ccc;
margin-left:20px;
text-decoration:none;
transition:.3s;
}

nav a:hover{
color:gold;
}

/* TITLES */
h2{
padding:40px 60px 20px;
font-size:28px;
}

/* GRID PRODUCTOS */
.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,400px));
gap:40px;
padding:40px 60px 80px;
justify-content:center; /* ← centra tarjetas */
max-width:1200px;
margin:auto;
}

/* TARJETAS */
.card{
background:linear-gradient(145deg,#111,#0a0a0a);
padding:40px;
border-radius:20px;
text-align:left;
border:1px solid rgba(255,215,0,.2);
transition:.3s;
box-shadow:0 10px 40px rgba(0,0,0,.5);
max-width:400px;
}


.card:hover{
transform:translateY(-5px);
box-shadow:0 20px 40px rgba(255,215,0,.2);
}

.card h3{
color:gold;
margin-bottom:10px;
font-size:22px;
}

.card p{
color:#aaa;
margin-bottom:15px;
}

/* PRECIO */
.card span{
display:block;
font-size:26px;
font-weight:bold;
color:#ffd700;
margin-bottom:20px;
}

/* BOTÓN */
button{
background:linear-gradient(135deg,#ffd700,#f5b700);
border:none;
padding:12px 25px;
border-radius:10px;
font-weight:bold;
cursor:pointer;
transition:.3s;
}

button:hover{
transform:scale(1.05);
}

/* FOOTER */
footer{
padding:40px;
text-align:center;
color:#666;
border-top:1px solid rgba(255,215,0,.2);
}
