/* =====================
   BASE
   ===================== */
body {
  margin: 0;
  background: #ddd6c8;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

/* =====================
   CARD
   ===================== */
.card {
  width: 100%;
  max-width: 380px;
  height: 100vh;
  margin: 0 auto;
  padding: 28px 20px 24px;
  box-sizing: border-box;
  background-image: url('bg.png');
  background-size: cover;
  background-position: center;
  border: 6px solid #111;
  border-radius: 35px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.06);
  border-radius: 29px;
  pointer-events: none;
  z-index: 0;
}

.card > * {
  position: relative;
  z-index: 1;
}

/* =====================
   MÓVIL — pantalla completa
   ===================== */
@media (max-width: 480px) {
  body {
    background: transparent;
    align-items: stretch;
  }

  .card {
    max-width: 100%;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    border: none;
    box-shadow: inset 0 0 0 4px rgba(0,0,0,0.75);
  }

  .card::before {
    border-radius: 0;
  }
}

/* =====================
   HEADER
   ===================== */
.header {
  text-align: center;
}

.logo {
  width: 120px;
  height: 120px;
  margin: auto;
  border-radius: 50%;
  padding: 6px;
  background: white;
  box-shadow:
    0 15px 35px rgba(0,0,0,0.25),
    0 0 0 5px rgba(255,255,255,0.7);
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* =====================
   TEXTOS
   ===================== */
.name {
  font-family: 'Caveat', cursive;
  font-size: clamp(24px, 7vw, 38px);
  text-align: center;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 5px;
  text-shadow:
    0 0 18px rgba(255,255,255,0.55),
    0 1px 6px rgba(0,0,0,0.35);
}

.desc {
  font-family: 'Grandstander', cursive;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  text-align: center;
  text-shadow:
    0 0 14px rgba(255,255,255,0.65),
    0 2px 6px rgba(0,0,0,0.3);
}

/* =====================
   HORARIO
   ===================== */
.horario {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 6px 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-top: 4px;
}

.horario span {
  font-family: 'Grandstander', cursive;
  font-weight: 700;
  font-size: 11px;
  color: #ffffff;
  text-shadow:
    0 0 14px rgba(255,255,255,0.65),
    0 2px 6px rgba(0,0,0,0.3);
}

/* =====================
   BOTONES ICONO
   ===================== */
.top-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 15px 0;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 50%;
  padding: 12px;
  transition: 0.2s;
}

.btn-icon:hover {
  transform: scale(1.1);
}

/* =====================
   CATEGORÍAS
   ===================== */
.categories {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.categories button {
  flex: 1;
  padding: 12px;
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  font-weight: 700;
  border: 3px solid #111;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.categories button:hover {
  background: rgba(255,255,255,0.28);
}

.active-btn {
  background: rgba(0,0,0,0.45) !important;
  color: white;
}

/* =====================
   ITEMS DEL MENÚ
   ===================== */
.item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 10px;
}

.item-name {
  font-weight: 700;
  margin: 0;
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(255,255,255,0.5),
    0 1px 4px rgba(0,0,0,0.4);
}

.item-price {
  font-family: 'Grandstander', cursive;
  font-weight: 700;
  font-size: 14px;
  margin: 0;
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(255,255,255,0.5),
    0 1px 4px rgba(0,0,0,0.4);
}

.add-btn {
  background: #3e5f4c;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.add-btn:hover {
  transform: scale(1.15);
}

/* =====================
   CARRITO
   ===================== */
.cart {
  display: none;
  margin-top: 20px;
  padding: 15px;
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.cart h3 {
  margin-top: 0;
}

.cart button {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  background: #25d366;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}

/* =====================
   BOTÓN INSTALAR PWA
   ===================== */
.install-btn {
  width: 100%;
  margin-top: 10px;
  padding: 13px;
  background: rgba(0,0,0,0.55);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  border: 3px solid #111;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
  transition: 0.2s;
}

.install-btn:hover {
  background: rgba(0,0,0,0.7);
}

/* =====================
   ACCIONES (COMPARTIR)
   ===================== */
.acciones button {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background: transparent;
  color: #ffffff;
  font-family: 'Grandstander', cursive;
  font-weight: 700;
  font-size: 14px;
  border: 3px solid #111;
  border-radius: 50px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition: 0.2s;
  text-shadow:
    0 0 14px rgba(255,255,255,0.65),
    0 2px 6px rgba(0,0,0,0.3);
}

.acciones button:hover {
  background: rgba(255,255,255,0.1);
}
/* Compartir — mismo estilo que Platos y Empanadas */
.acciones button {
  color: #ffffff;
  font-family: 'Grandstander', cursive;
  font-weight: 700;
  font-size: 14px;
  border: 3px solid #111 !important;
  text-shadow:
    0 0 14px rgba(255,255,255,0.65),
    0 2px 6px rgba(0,0,0,0.3);
}