/* ===== Estilo base Ki' Snacks ===== */

body {
  background-color: #f3d4a2; /* tipo cartón del diseño que mandaste */
  color: #4b2e1e;
  margin: 0;
  text-align: left;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.main-container {
  max-width: 480px;
  margin: 24px auto;
  padding: 22px 18px 26px;
  background: #fff8ec;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.logo {
  max-width: 130px;
}

.brand-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0;
  color: #4b2e1e;
}

.subtitle {
  font-size: 0.95rem;
  color: #7b5a40;
}

.tag-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #f7e0b8;
  color: #8c5b32;
  margin-bottom: 4px;
}

.small-note {
  font-size: 0.75rem;
  color: #a07a55;
}

.btn-whatsapp {
  background-color: #25D366;
  border-color: #25D366;
  color: #fff;
  font-weight: 600;
}

.btn-whatsapp:hover {
  filter: brightness(0.95);
  color: #fff;
}

.btn-wifi {
  background-color: #4b2e1e;
  border-color: #4b2e1e;
  color: #fff;
  font-weight: 600;
}

.btn-wifi:hover {
  filter: brightness(0.95);
  color: #fff;
}

/* ===== Menú ===== */

.menu-wrapper {
  max-height: 270px;
  overflow-y: auto;
  padding-right: 4px;
  margin-top: 8px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.04);
}

.menu-inner {
  padding: 10px 12px 8px;
}

.menu-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 4px;
  color: #4b2e1e;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 2px 0;
}

.menu-item span:first-child {
  max-width: 70%;
  text-align: left;
}

.menu-item span:last-child {
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.footer-text {
  font-size: 0.8rem;
  color: #7b5a40;
}

/* ===== Estilos viejos (por si los usa status.html, etc.) ===== */

hr {
  display:block;
  margin-top:0.5em;
  margin-bottom:0.5em;
  margin-left:auto;
  margin-right:auto;
  border-style:inset;
  border-width:5px;
}

.offset {
  background: rgba(255, 255, 255, 0.6);
  margin-left:auto;
  margin-right:auto;
  max-width:600px;
  min-width:200px;
  padding: 5px;
}

.insert {
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid #aaa;
  border-radius: 4px;
  min-width:200px;
  max-width:100%;
  padding: 5px;
}

img.old-style {
  width: 40%;
  max-width: 180px;
  margin-left: 0%;
  margin-right: 5%;
}

input[type=text],
input[type=email],
input[type=number] {
  color: black;
  background: white;
  margin-left: 0%;
  margin-right: 5%;
  text-align: left;
  font-size: 1.0em;
  line-height: 2.0em;
  font-weight: bold;
  border: 3px inset;
}

input[type=submit] {
  color: white;
  background: green;
  margin-left: 0%;
  margin-right: 5%;
  text-align: left;
  font-size: 1.0em;
  line-height: 2.5em;
  font-weight: bold;
  border: 3px inset;
}

/* Etiquetas personalizadas antiguas de NoDogSplash */
med-blue {
  font-size: 1.2em;
  color: blue;
  font-weight: bold;
  font-style: normal;
}

big-red {
  font-size: 1.5em;
  color: red;
  font-weight: bold;
}

italic-black {
  font-size: 1.0em;
  color: black;
  font-weight: bold;
  font-style: italic;
}

copy-right {
  font-size: 0.7em;
  color: darkgrey;
  font-weight: bold;
  font-style:italic;
}

/* ===== Responsive fix: que NO se vea chiquito en navegador ===== */

/* La tarjeta principal crece con la pantalla */
.main-container {
  width: min(92vw, 980px);        /* antes max-width 480 */
  margin: clamp(14px, 3vh, 32px) auto;
  padding: clamp(16px, 2.5vw, 30px);
}

/* Logo y textos un poco más grandes en desktop */
.logo { max-width: clamp(120px, 10vw, 180px); }

.subtitle { font-size: clamp(0.95rem, 1.2vw, 1.15rem); }
.small-note { font-size: clamp(0.8rem, 1vw, 0.95rem); }

.menu-section-title {
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
}

/* La caja del menú se ajusta al alto de la pantalla */
.menu-wrapper {
  max-height: min(60vh, 680px);   /* antes 270px fijo */
}

/* Items más grandes */
.menu-item {
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  padding: 6px 0;
}

/* En pantallas grandes, que el menú sea en 2 columnas */
@media (min-width: 900px) {
  .menu-inner > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 26px;
  }

  /* Cada sección (tipo) que se mantenga “entera” en una columna */
  .menu-inner > div > div {
    break-inside: avoid;
  }

  .menu-wrapper {
    max-height: min(70vh, 760px);
  }
}
