/**
 * Antojitos, Delicioso sabor casero - Estilos Responsivos
 * Regla de Metodología: Cuadrícula limpia de 2 columnas en móvil (<768px)
 * Altura de imágenes nivelada: 155px en móvil | Cero Emojis
 */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-cta-group,
  .hero-features-strip {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .top-announcement {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  .site-header {
    padding: 0;
  }

  .nav-wrap {
    padding: 10px 0;
  }

  .brand-logo-img {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .brand-sub {
    font-size: 0.68rem;
  }

  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 2px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.3s ease;
    z-index: 98;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    text-align: center;
  }

  .nav-actions .btn-header-whatsapp {
    display: none;
  }

  .hero-section {
    padding: 40px 0 60px;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 26px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-primary-glow,
  .btn-outline-soft {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .hero-features-strip {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }

  .section-title {
    font-size: 1.75rem;
  }

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

  /* REGLA DE METODOLOGÍA OBLIGATORIA: EN MÓVIL (<768px), MOSTRAR CUADRÍCULA LIMPIA DE 2 COLUMNAS TIPO E-COMMERCE MODERNO */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card {
    border-radius: var(--radius-sm);
  }

  /* ALTURA DE IMAGEN ESTANDARIZADA: 155px EN MÓVIL */
  .product-img-wrapper {
    height: 155px;
  }

  .product-body {
    padding: 10px;
  }

  .product-badge-tag {
    top: 6px;
    left: 6px;
    font-size: 0.62rem;
    padding: 2px 7px;
  }

  .product-category-lbl {
    font-size: 0.65rem;
  }

  .product-size-lbl {
    font-size: 0.65rem;
    padding: 1px 5px;
  }

  .product-card-title {
    font-size: 0.88rem;
    min-height: 2.4em;
    margin-bottom: 4px;
  }

  .product-card-desc {
    font-size: 0.75rem;
    line-height: 1.35;
    margin-bottom: 8px;
    height: 2.7em;
  }

  .price-current {
    font-size: 1.05rem;
  }

  .price-old {
    font-size: 0.75rem;
  }

  .btn-card-whatsapp {
    padding: 8px 10px;
    font-size: 0.78rem;
    gap: 5px;
  }

  .categories-filter-bar {
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .categories-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .category-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .social-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-values-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .whatsapp-floating-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }
}

@media (max-width: 420px) {
  .products-grid {
    gap: 8px;
  }

  .product-img-wrapper {
    height: 140px;
  }

  .product-card-title {
    font-size: 0.82rem;
  }

  .btn-card-whatsapp {
    font-size: 0.72rem;
    padding: 7px 6px;
  }
}
