:root {
  --azul: #1B3A6B;
  --mantequilla: #E3B23C;
  --leche: #FFFBF5;
  --tinta: #1A2332;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: 100vh;
  background: var(--leche);
  color: var(--tinta);
  font-family: "Albert Sans", sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: var(--azul); }
.sr {
  position: absolute;
  left: 8px;
  top: -48px;
  background: #fff;
  padding: 6px 10px;
  z-index: 50;
}
.sr:focus { top: 8px; }
.riel {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--azul);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0;
  overflow: auto;
}
.hamburguesa {
  display: none;
  background: transparent;
  color: var(--leche);
  border: 1px solid var(--leche);
  font: inherit;
  padding: 6px 8px;
  cursor: pointer;
}
.indice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.indice a {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--leche);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.indice a[aria-current] { color: var(--mantequilla); font-weight: 700; }
.sala { min-width: 0; }
.cabeza {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 28px 0 8px;
}
.marca {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--azul);
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 0.95;
}
.marca img { width: 48px; height: 48px; }
.tel {
  background: var(--azul);
  color: var(--leche);
  text-decoration: none;
  padding: 10px 12px;
  font-size: 1.2rem;
  white-space: nowrap;
}
.contenedor { width: min(1040px, calc(100% - 48px)); margin-inline: auto; }
main { padding-bottom: 56px; }
h1, h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 10px;
}
h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
h2 { font-size: 2.2rem; }
.barra-foto { width: 100%; height: 320px; object-fit: cover; display: block; margin: 12px 0 18px; }
.seccion { padding-top: 32px; }
.horario {
  background: var(--mantequilla);
  color: var(--tinta);
  padding: 18px 16px;
}
.horario h2 { margin-top: 0; }
.filtros { display: flex; flex-wrap: wrap; gap: 16px; margin: 8px 0 4px; }
.filtros input, .filtros select, .forma input, .forma textarea, .chat-form input {
  display: block;
  width: 100%;
  margin-top: 4px;
  border: 1px solid var(--azul);
  background: #fff;
  color: var(--tinta);
  font: inherit;
  padding: 8px;
  border-radius: 0;
}
.precios, .lista { list-style: none; margin: 0; padding: 0; }
.lista li {
  display: grid;
  grid-template-columns: 5.2rem 76px 1fr;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--azul);
  padding: 8px 0;
}
.lista b, .precios b {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  color: var(--azul);
  font-weight: 700;
}
.lista img { width: 76px; height: 76px; object-fit: cover; }
.grupos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pedido { border-left: 4px solid var(--mantequilla); padding-left: 14px; }
details { border-bottom: 1px solid #e6e0d4; padding: 8px 0; }
summary { cursor: pointer; }
.prosa img, .nota img { width: 100%; max-height: 420px; object-fit: cover; display: block; margin-top: 12px; }
.forma { display: grid; gap: 12px; max-width: 36rem; }
.btn, .ck-si, .chat-form button {
  background: var(--azul);
  color: var(--leche);
  border: 0;
  font: inherit;
  padding: 10px 14px;
  cursor: pointer;
}
.galeria { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.galeria img { width: 100%; height: 210px; object-fit: cover; cursor: zoom-in; }
.pie { border-top: 4px solid var(--azul); padding: 28px 0 64px; }
.pie-rejilla { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.redes img { vertical-align: middle; }
.redes a { margin-right: 12px; }
.link-cookies { background: none; border: 0; color: var(--azul); font: inherit; cursor: pointer; padding: 0; }
.flotantes {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 20;
}
.flo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 10px 12px;
}
.flo svg, .flo img { width: 22px; height: 22px; }
.flo-tel { background: var(--azul); color: var(--leche); }
.flo-wa { background: #fff; color: var(--tinta); border: 2px solid #25D366; }
.flo-chat { background: var(--tinta); color: var(--leche); border: 0; cursor: pointer; font: inherit; }
.chat {
  position: fixed;
  right: 16px;
  bottom: 168px;
  width: min(320px, calc(100% - 32px));
  background: #fff;
  border: 1px solid var(--azul);
  padding: 12px;
  z-index: 25;
}
.chat[hidden] { display: none !important; }
.chat-rapidas { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-rapidas button, .ck-no, .chat-reiniciar {
  background: var(--leche);
  border: 1px solid var(--azul);
  font: inherit;
  padding: 6px 10px;
  cursor: pointer;
}
.cookies {
  position: fixed;
  left: 108px;
  bottom: 16px;
  z-index: 30;
  display: flex;
  gap: 12px;
  align-items: center;
  width: min(620px, calc(100% - 140px));
  background: var(--azul);
  color: var(--leche);
  padding: 14px 16px;
}
.cookies[hidden] { display: none !important; }
.cookies a { color: var(--leche); }
.ck-si { background: var(--mantequilla); color: var(--tinta); }
.ck-no { background: transparent; color: var(--leche); border-color: var(--leche); }
dialog { border: 0; padding: 12px; max-width: min(920px, calc(100% - 32px)); }
dialog img { width: 100%; height: auto; }
@media (max-width: 800px) {
  body { grid-template-columns: 1fr; }
  .riel { position: sticky; height: auto; width: 100%; flex-direction: row; justify-content: flex-start; padding: 10px 16px; z-index: 15; }
  .hamburguesa { display: inline-flex; }
  .indice { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--azul); padding: 12px 16px; align-items: flex-start; }
  .indice.abierto { display: flex; }
  .indice a { writing-mode: horizontal-tb; transform: none; }
  .contenedor { width: min(1040px, calc(100% - 32px)); }
  .cabeza, .grupos, .galeria, .pie-rejilla { grid-template-columns: 1fr; flex-wrap: wrap; }
  .lista li { grid-template-columns: 4.2rem 64px 1fr; }
  .cookies { left: 16px; width: min(640px, calc(100% - 32px)); }
  .barra-foto { height: 200px; }
}
