:root {
  --rojo: #e80a0a;
  --rojo-oscuro: #c40000;
  --gris-bg: #f6f6f6;
  --gris-texto: #222;

  
  --color-bg: #f8f9fa;
  --color-text: #212529;
  --color-footer-bg: #111111;
  --color-footer-text: #f1f1f1;
  --color-accent: #28a745;

}

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

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--gris-bg);
  color: var(--gris-texto);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero {
  background: repeating-linear-gradient( to right, #cd3318 0%, #cd3318 calc(100% / 9), #ffffff calc(100% / 9), #ffffff calc(2 * (100% / 9)) );
  color: white;
  text-align: center;
  padding: 6rem 1.5rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--rojo);
  font-family: "Luckiest Guy", cursive; text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
}

.hero p {
  font-size: 1.2rem;
  opacity: .9;
  font-family: "Luckiest Guy", cursive; text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
  color: var(--rojo);
}

.btn-primary,
.btn-secundario {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: .2s ease;
  border: solid 2px var(--rojo);
}

.btn-primary {
  background: white;
  color: var(--rojo);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secundario {
  background: var(--rojo);
  color: white;
}

.section-catalogo {
  padding: 4rem 0;
}

.titulo-seccion {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filtros button {
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  background: #ddd;
  cursor: pointer;
  font-weight: 500;
}

.filtros button.active {
  background: var(--rojo);
  color: white;
}

.grid-productos {
  display: grid;
  gap: 1rem;
}

/* Mobile: 2 columnas fijas */
@media (max-width: 767px) {
  .grid-productos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet */
@media (min-width: 768px) {
  .grid-productos {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.card-producto {
  background: white;
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  transition: .25s ease;
}

.card-producto:hover {
  transform: translateY(-5px);
}

.card-producto img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.section-info {
  background: #fff;
  padding: 4rem 0;
}

.info-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}



/* =====================================================
   FOOTER
===================================================== */

.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 60px 20px 30px;
  font-size: 0.95rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.site-footer p {
  margin-bottom: 8px;
  opacity: 0.85;
}

.site-footer a {
  color: var(--color-footer-text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-footer a:hover {
  opacity: 0.7;
}

/* =============================
   HORARIOS
============================= */

.footer-hours-line {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.footer-hours-line strong {
  font-weight: 600;
}

/* =============================
   FOOTER BOTTOM
============================= */

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* =====================================================
   STATUS BAR (SUPERIOR)
===================================================== */

.status-bar {
  position: fixed;
  width: 100%;
  text-align: center;
  padding: 8px 0;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.status-bar.open {
  background-color: #1e7e34;
  color: #ffffff;
}

.status-bar.closed {
  background-color: #8b1e1e;
  color: #ffffff;
}
