:root{
  --bg:#1f2933;        /* fondo oscuro */
  --panel:#ffffff;     /* tarjetas blancas */
  --text:#111827;
  --muted:#6b7280;
  --line:#d1d5db;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 16px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
}

/* HEADER */
.header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(31,41,51,.95);
  border-bottom: 1px solid #374151;
}

.header__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.brand{
  font-weight: 950;
  font-size: 20px;
  letter-spacing: .2px;
  color: #ffffff;
}

.contact{
  color: #cbd5e1;
  font-size: 14px;
}

.contact__num{
  color: #ffffff;
  font-weight: 800;
}

/* CONTROLES */
.controls{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 0 6px;
}

.chip{
  border: 1px solid #374151;
  background: #2b3642;
  color: #e5e7eb;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.chip:hover{
  background:#374151;
}

.chip.is-active{
  background: #ffffff;
  color: #111827;
  border-color: #ffffff;
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  padding: 10px 0 20px;
}

/* CARD */
.card{
  background: var(--panel);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card__img{
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
}

.card__img img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.card__body{
  padding: 12px;
}

.card__title{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 950;
}

.card__price{
  margin: 0 0 10px;
  font-weight: 950;
}

.card__desc{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

.card__note{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 560px){
  .grid{ grid-template-columns: 1fr; }
}
