/*
 * Atlantis Restaurante 1.1.0 — estilos del módulo de horario/reservas y de la carta.
 * Copia el aspecto actual de playamont.com. Los colores se pueden cambiar desde la plantilla
 * con las variables --arest-*.
 */
:root {
  --arest-azul: #0b4a75;
  --arest-azul-hover: #08385a;
  --arest-texto: #111;
  --arest-borde: #c9c9c9;
  --arest-cebra: #f2f2f2;
  --arest-hueco: 22px;
  --arest-icono: var(--arest-azul);
}

/* ---------- Fila de tres celdas ---------- */
.arest-fila {
  /* 1.1.0: columnas iguales que ocupan todo el ancho, haya 2 o 3 celdas */
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: var(--arest-hueco);
  margin: 0 auto;
  color: var(--arest-texto);
}

.arest-celda {
  min-width: 0;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, .28);
  padding: 20px 46px 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.arest-celda__icono {
  display: block;
  width: 96px;
  height: auto;
  margin: 0 0 14px;
}

.arest-celda--horario .arest-celda__icono { align-self: flex-start; margin-left: 16px; }

/* Iconos dibujados (1.1.0) */
.arest-celda__svg {
  display: block;
  width: 90px;
  height: 72px;
  margin: 6px 0 14px;
  color: var(--arest-icono);
}

/* Pie de la celda: los botones de Horario y Reservas quedan a la misma altura (1.1.0) */
.arest-celda__pie {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.arest-celda__titulo {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.2;
}

.arest-horario {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 0 0 6px;
}

.arest-horario th,
.arest-horario td {
  border: 1px solid var(--arest-borde);
  padding: 12px 10px;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
}

.arest-horario th { width: 30%; }
.arest-horario tr:nth-child(even) th,
.arest-horario tr:nth-child(even) td { background: var(--arest-cebra); }
.arest-horario .arest-cerrado { text-transform: uppercase; letter-spacing: .04em; }
.arest-horario .arest-tramo { display: block; }

.arest-boton {
  display: inline-block;
  background: var(--arest-azul);
  color: #fff !important;
  text-decoration: none !important;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 16px;
  line-height: 1;
  padding: 14px 30px;
  border: 0;
  transition: background-color .15s;
}

.arest-boton:hover,
.arest-boton:focus-visible { background: var(--arest-azul-hover); }
.arest-boton:focus-visible { outline: 3px solid #f2b33d; outline-offset: 2px; }

.arest-celda__texto { margin: 0; font-size: 16px; line-height: 1.5; }

.arest-telefono {
  display: inline-block;
  margin: 26px 0 34px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .08em;
  color: inherit !important;
  text-decoration: none !important;
}

.arest-nota {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  white-space: pre-line;
}

/* Imagen de horario especial: ocupa toda la celda. */
.arest-celda--especial {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.arest-celda--especial a,
.arest-celda--especial img {
  display: block;
  width: 100%;
  height: 100%;
}

.arest-celda--especial img { object-fit: cover; object-position: center; }
.arest-celda--especial.is-contain img { object-fit: contain; background: #fff; }

@media (max-width: 767px) {
  .arest-fila { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 520px); justify-content: center; }
  .arest-celda { padding: 20px 24px 36px; }
  .arest-celda--especial { padding: 0; }
  .arest-celda--especial img { height: auto; }
}

/* ---------- Carta ---------- */
.arc-carta { text-align: center; }

.arc-carta__titulo { margin: 0 0 60px; }

.arc-carta__elegir {
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 17px;
}

.arc-carta__idiomas {
  list-style: none;
  margin: 0 0 70px;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 115px;
}

.arc-bandera {
  display: block;
  width: 74px;
  border-radius: 3px;
  line-height: 0;
  transition: transform .15s;
}

.arc-bandera svg {
  display: block;
  width: 74px;
  height: 56px;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .35);
}

.arc-bandera:hover,
.arc-bandera:focus-visible { transform: translateY(-3px); }
.arc-bandera:focus-visible { outline: 3px solid var(--arest-azul); outline-offset: 4px; }
.arc-bandera.is-activa svg { box-shadow: 0 0 0 3px var(--arest-azul), 0 2px 5px rgba(0, 0, 0, .35); }

.arc-bandera__nombre {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.arc-carta__imagen { margin: 0 auto; max-width: 1260px; }
.arc-carta__imagen img { display: block; width: 100%; height: auto; }
.arc-carta__ampliar { margin-top: 10px; font-size: 14px; color: #555; }

@media (max-width: 600px) {
  .arc-carta__idiomas { gap: 24px 40px; }
}
