@font-face{
  font-family:"Hardbob";
  src:url("assets/fonts/Hardbop-Black.otf") format("opentype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Agenda One";
  src:url("assets/fonts/agenda-one-regular.otf") format("opentype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

:root{
  --red:#ed1c24;
  --black:#000000;
  --white:#ffffff;
  --yellow:#ffac0b;
  --bg:#ffffff;
  --muted:#f6f6f6;
  --text:#111;
  --border: rgba(0,0,0,.12);
  --shadow: 0 10px 30px rgba(0,0,0,.08);

  --font-title:"Hardbob", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  --font-body:"Agenda One", system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height:1.5;
}
a{color:inherit}
.container{max-width:1100px;margin:0 auto;padding:0 18px}

.header{
  position:sticky; top:0; z-index:10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:12px 0;
}
.brand{text-decoration:none}
.brand__word{
  font-family: var(--font-title);
  font-size:28px;
  letter-spacing:.6px;
  line-height:1;
}

.nav{display:flex; gap:14px}
.nav a{opacity:.85; text-decoration:none}
.nav a:hover{opacity:1; text-decoration:underline}

.hero{
  padding:46px 0;
  border-bottom:1px solid var(--border);
}
.hero__inner{
  display:grid;
  grid-template-columns: 1.2fr .9fr;
  gap:26px;
  align-items:center;
}
.title{
  font-family: var(--font-title);
  font-size: 52px;
  line-height:1;
  margin:0 0 10px;
  letter-spacing:.5px;
}
.subtitle{font-size:18px; margin:0 0 18px; opacity:.9}
.micro{font-size:13px; opacity:.75; margin-top:12px}

.hero__image img{
  width:100%; height:auto;
  border-radius:18px;
  box-shadow: var(--shadow);
  border:1px solid var(--border);
}

.section{padding:46px 0}
.section--alt{background: var(--muted)}
.section__head{margin-bottom:18px}
.h2{
  font-family: var(--font-title);
  letter-spacing:.4px;
  margin:0 0 6px;
  font-size:34px;
}
.h3{margin:0 0 6px; font-size:18px}
.p{margin:0; opacity:.9}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.card{
  border:1px solid var(--border);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}
.card__img{width:100%; height:210px; object-fit:cover}
.card__body{padding:14px}
.price{
  font-family: var(--font-body);
  font-size:20px;
  font-weight:700;
  margin:10px 0 10px;
  color: var(--red);
  letter-spacing:.2px;
}

.steps{
  margin:0; padding-left: 18px;
  display:grid; gap:10px;
}

.orderbox{
  margin-top:18px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
}

.form{
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
  background:#fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  display:grid;
  gap:12px;
}
.form__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
label{display:grid; gap:6px; font-size:14px}
input, textarea{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  font:inherit;
}
.checkbox{display:flex; gap:10px; align-items:flex-start}
.checkbox input{margin-top:4px}
.hidden{display:none}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  text-decoration:none;
  cursor:pointer;
  font-weight:600;
  gap:8px;
}
.btn--primary{
  background: var(--red);
  color: var(--white);
  border-color: transparent;
}
.btn--secondary{
  background: var(--yellow);
  border-color: transparent;
}
.btn--ghost{
  background: transparent;
}

.footer{
  border-top:1px solid var(--border);
  padding:22px 0 10px;
}
.footer__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
}
.footer__links{display:flex; gap:14px}
.footer__privacy{padding-bottom:26px}

@media (max-width: 920px){
  .hero__inner{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .nav{display:none}
  .title{font-size:44px}
  .card__img{height:220px}
  .form__row{grid-template-columns:1fr}
  .orderbox{flex-direction:column; align-items:flex-start}
}
/* --- Cantidades por producto --- */
.qty{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:10px;
}
.qty__btn{
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  font-size:18px;
  line-height:1;
}
.qty__input{
  width:64px;
  text-align:center;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid var(--border);
  font:inherit;
}

/* --- Carrito editable --- */
.order-items{
  display:grid;
  gap:10px;
  margin-top:8px;
}
.order-item{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:10px;
  align-items:center;
  padding:10px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
}
.order-item__name{
  font-size:14px;
}
.order-item__meta{
  display:flex;
  gap:10px;
  align-items:center;
}
.order-total{
  margin-top:10px;
  font-size:14px;
}
.order-item__subtotal{
  font-weight:700;
}
.order-item__remove{
  border:1px solid var(--border);
  background:#fff;
  border-radius:999px;
  padding:8px 10px;
  cursor:pointer;
}
