/* Reset y configuración base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.4;
}

.logoMobile {
  display: block;
  margin: 16px auto;
  width: 180px;
}

/* Header estilo app */
.app-header {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff5722 100%);
  color: white;
  padding: 20px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.logo {
  width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
}

.location {
  font-size: 14px;
  opacity: 0.9;
}

.welcome-message h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 4px;
}

.welcome-message p {
  font-size: 14px;
  opacity: 0.9;
}

/* Navegación de categorías estilo Rappi */
.category-nav {
  background: white;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 16px;
}

.nav-container {
  display: flex;
  overflow-x: auto;
  padding: 0 16px;
  gap: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-container::-webkit-scrollbar {
  display: none;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #666;
  min-width: 85px;
  padding: 6px 0;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-item:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
}

.nav-item.active {
  color: #ea4e51;
  background-color: #ffed00;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-right: 2px solid #ea4e51;
  border-bottom: 2px solid #ea4e51;
  transform: rotate(45deg);
}

.nav-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.nav-item span {
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.subheader {
  max-width: 600px;
  margin: 0 auto 16px;
  padding: 0 16px;
  text-align: center;
}

/* Contenido principal */
.menu-content {
  max-width: 600px;
  margin: 32px auto 0;
  padding: 0 16px;
}

/* Secciones del menú */
.menu-section {
  margin-bottom: 32px;
}

.section-header {
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 16px;
  padding-left: 16px;
}

.section-description b {
  color: #ea4e51;
  font-weight: 500;
}

/* Métodos de preparación (solo para filtrados) */
.brewing-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 8px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.method-card:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

.method-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.method-card span {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
}

/* Items del menú estilo Rappi */
.menu-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-item {
  background: white;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.menu-item .item-info {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: flex-start;
}

.menu-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  flex: 1;
}

.menu-item p {
  font-size: 14px;
  color: #666;
}

.item-price {
  font-size: 18px;
  font-weight: 700;
  color: #ea4e51;
  margin: 4px 0 0 16px;
  text-align: end;
}

/* Estilos específicos para métodos de filtrado */
.method-item .method-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.method-info {
  flex: 1;
}

.method-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.method-icon {
  width: 70px;
  height: 70px;
  /* filter: drop-shadow(0 3px 8px rgba(0,0,0,0.15));
  flex-shrink: 0;
  background: #f8f9fa;
  border-radius: 12px; */
  padding: 6px;
  transition: all 0.3s ease;
}

.method-item:hover .method-icon {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

/* Variantes de productos */
.item-variants {
  border-top: 1px solid #f0f0f0;
  padding-top: 8px;
  margin-top: 8px;
}

.variant {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 14px;
}

.variant span:first-child {
  color: #666;
  flex: 1;
}

.variant-price {
  font-weight: 600;
  color: #ea4e51;
  margin-left: 16px;
}

/* Avisos especiales */
.milk-notice {
  border-radius: 12px;
  padding: 8px;
  margin-top: 16px;
  text-align: center;
  border: 1px solid #58bce6;
}

.milk-notice span {
  font-size: 14px;
  font-weight: 500;
}

.milk-notice b {
  color: #58bce6;
}

.new-item {
  color: #e5087e;
  font-size: 12px;
  font-weight: 600;
  background: #fdf2f8;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
}

/* Footer */
.app-footer {
  background: #333;
  color: white;
  padding: 32px 16px;
  margin-top: 40px;
  text-align: center;
}

.footer-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.tagline {
  font-size: 16px;
  color: #ea4e51;
  margin-bottom: 24px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.contact-info p {
  font-size: 14px;
  opacity: 0.9;
}

/* Responsive */
@media (min-width: 768px) {
  .app-header {
    padding: 24px 32px;
  }
  
  .nav-container {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
  }
  
  .menu-content {
    padding: 0 32px;
  }
  
  .brewing-methods {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .contact-info {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .menu-content {
    max-width: 800px;
  }
  
  .menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 16px;
  }
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-section {
  animation: fadeInUp 0.6s ease-out;
}

/* Utilities */
.hidden {
  display: none;
}