@font-face {
  font-family: "RitualSerif";
  src: url("../assets/fonts/ritual-serif.woff2") format("woff2");
}

@font-face {
  font-family: "UISans";
  src: url("../assets/fonts/ui-sans.woff2") format("woff2");
}

:root {
  --bg: #0b0b0b;
  --fg: #f5f5f2;
  --muted: #b6b6b0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "UISans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100vh;
  padding: 6vh 6vw;
}

.ritual {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-family: "RitualSerif", serif;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1.7;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.ritual.visible {
  opacity: 1;
}

.button {
  margin: 4rem auto;
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--muted);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: all 0.4s ease;
}

.button:hover {
  color: var(--fg);
  border-color: var(--fg);
}

.bite-info {
  max-width: 640px;
  margin: 6rem auto 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}

.bite-info h2 {
  font-family: "RitualSerif", serif;
  color: var(--fg);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.separator {
  height: 1px;
  background: #222;
  margin: 2rem 0;
}
/* ===========================
   HELADOS & CARRITO
=========================== */

.helados {
  max-width: 1100px;
  margin: 6rem auto;
}

.helados h3 {
  text-align: center;
  font-family: "RitualSerif", serif;
  margin-bottom: 3rem;
}

.helados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.helado-card {
  background: transparent;
  border: 1px solid var(--line);
  padding: 2rem 1.6rem;
  transition: border 0.4s ease, transform 0.4s ease;
}

.helado-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.helado-card h4 {
  font-family: "RitualSerif", serif;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}


.price {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.add-btn {
  border: 1px solid var(--muted);
  background: none;
  color: var(--muted);
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  cursor: pointer;
}

.add-btn:hover {
  color: var(--fg);
  border-color: var(--fg);
}

/* ===========================
   CARRITO FLOTANTE
=========================== */

.cart {
  backdrop-filter: blur(6px);
  background: rgba(14,14,14,0.9);
}

.cart-items div {
  margin-bottom: 0.3rem;
}


.cart h4 {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.cart-items {
  max-height: 160px;
  overflow-y: auto;
}

.cart-total {
  margin-top: 0.6rem;
  font-weight: bold;
}

.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #25d366;
  color: #000;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  text-decoration: none;
}
