@media (max-width: 768px) {
  :root { --header-height: 180px; }
  body { padding-bottom: 82px; }
  .container { padding: 0 1rem; }
  .header-showcase { min-height: var(--header-height); align-items: flex-start; }
  .brand--seal { top: 2rem; left: 1rem; width: 62px; height: 62px; }
  .header-showcase__center { width: 100%; padding: 2rem 0 2.35rem; }
  .header-showcase__sparkles { display: none; }
  .header-showcase h1 { padding: 0 78px; font-size: clamp(1.55rem, 7.3vw, 2.1rem); line-height: 1.05; white-space: nowrap; }
  .header-showcase__line { width: 40%; height: 2px; margin: 0.2rem auto 0.8rem; }
  .header-pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.25rem; padding: 0 0.1rem; }
  .header-pill { min-width: 0; gap: 0.1rem; padding: 0 0.05rem 0.3rem; border-width: 1px; border-radius: 10px 10px 6px 6px; font-size: clamp(0.48rem, 1.95vw, 0.62rem); }
  .header-pill span { width: 32px; height: 32px; margin-top: -8px; border-width: 2px; }
  .header-pill i { font-size: 0.85rem; }
  .header-showcase__tagline { bottom: 0.45rem; width: calc(100% - 1.5rem); padding: 0.35rem 0.35rem; font-size: clamp(0.59rem, 2.2vw, 0.72rem); white-space: nowrap; }
  .header-showcase__tagline i { display: none; }
  .header-showcase__toys { top: 1rem; right: 0.15rem; width: 94px; opacity: 0.82; transform: none; }
  .site-nav--header { display: none; }
  .site-nav--header a:first-child { display: none; }
  .site-nav--header a { min-height: 32px; padding: 0.35rem 0.43rem; font-size: 0; }
  .site-nav--header a i { font-size: 1rem; }
  .cart-btn { width: 34px; height: 34px; font-size: 0.85rem; }

  .hero { padding: 1.5rem 0 1.35rem; text-align: left; }
  .hero h1 { font-size: 1.5rem; line-height: 1.27; margin: 0.3rem 0 0.55rem; }
  .hero p { margin: 0 0 1rem; font-size: 0.88rem; line-height: 1.5; }
  .hero__actions { justify-content: stretch; gap: 0.6rem; }
  .hero__actions .btn { flex: 1; min-height: 44px; padding: 0.65rem 0.5rem; font-size: 0.8rem; white-space: nowrap; }

  .catalog { padding: 1rem 0 2rem; }
  .catalog__controls { display: flex; gap: 0.7rem; margin-bottom: 1rem; }
  .search-box { min-width: 0; max-width: none; }
  .search-box input { min-height: 46px; padding-top: 0.7rem; padding-bottom: 0.7rem; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .product-card { border-radius: 12px; }
  .product-card__badge { top: 0.45rem; left: 0.45rem; max-width: calc(100% - 0.9rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .product-card__body { min-height: 82px; padding: 0.65rem 0.7rem 0; }
  .product-card__title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 0.84rem; line-height: 1.3; margin-bottom: 0.35rem; }
  .product-card__price { font-size: 0.83rem; }
  .product-card__actions { padding: 0.65rem 0.7rem 0.75rem; }
  .product-card__actions .btn { min-height: 44px; padding: 0.55rem 0.4rem; font-size: 0.78rem; }

  .mobile-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1500; display: grid; grid-template-columns: repeat(3, 1fr); min-height: 70px; padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--color-border); box-shadow: 0 -5px 18px rgba(58, 46, 34, 0.1); }
  .mobile-nav__item { display: flex; min-width: 0; min-height: 64px; align-items: center; justify-content: center; gap: 0.15rem; padding: 0.3rem; border: 0; background: transparent; color: var(--color-text); font: inherit; font-size: 0.66rem; line-height: 1.1; text-decoration: none; cursor: pointer; flex-direction: column; }
  .mobile-nav__item i { color: var(--color-primary-dark); font-size: 1.15rem; }
  .mobile-nav__item small { max-width: 100%; overflow: hidden; color: var(--color-primary-dark); font-size: 0.58rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-nav__whatsapp i { color: #168b4e; }

  .modal { align-items: flex-end; padding: 0; }
  .modal__content { width: 100%; max-width: none; max-height: 92vh; padding: 1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; }
  .modal__content::before { display: block; width: 38px; height: 4px; margin: -0.45rem auto 1rem; border-radius: 999px; background: var(--color-border); content: ''; }
  .modal__close { top: 0.75rem; right: 0.8rem; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
  #detail-main-image { max-height: min(38vh, 310px); }
  .quantity-stepper button { width: 44px; height: 44px; }
  .quantity-stepper input { min-height: 44px; }
  #product-detail > .btn--block { position: sticky; bottom: -1.25rem; width: calc(100% + 2rem); min-height: 52px; margin: 0 -1rem; padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom)); border-radius: 0; box-shadow: 0 -5px 14px rgba(58, 46, 34, 0.12); }
  .modal__content--cart { max-height: 88vh; }
  .cart-items { max-height: none; flex: 1; }
  .cart-item { gap: 0.6rem; padding: 0.6rem; }
  .cart-item__actions input { min-height: 38px; }
  .btn-icon { min-width: 44px; min-height: 44px; }
  .cart-footer { position: sticky; bottom: -1.25rem; margin: 0 -1rem -1.25rem; padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -5px 14px rgba(58, 46, 34, 0.1); }
  .cart-footer .btn { min-height: 48px; width: 100%; }
  .cart-total { width: 100%; text-align: center; }
  #checkout-form input { min-height: 46px; }
  #checkout-form .btn { min-height: 50px; }
  .toast { right: 0.75rem; bottom: calc(82px + env(safe-area-inset-bottom)); left: 0.75rem; padding: 0.8rem 1rem 2.55rem; text-align: center; }
  .toast-cart-action { right: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateX(50%); }
  .site-footer { margin-top: 0; padding: 1.25rem 0; }
  .footer__inner { gap: 0.55rem; }
  .footer__logo { display: none; }
  .footer__social { gap: 1.2rem; }
  .footer__links { flex-direction: column; gap: 0.35rem; }
  .footer__admin-link { margin-top: 0.25rem; }
  .institutional-page { padding-bottom: 0; }
  .institutional-header__inner { min-height: 76px; }
  .institutional-main { padding-top: 2rem; padding-bottom: 2rem; }
  .institutional-card { padding: 2rem 1.25rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  :root { --header-height: 325px; }
  .brand--seal { left: 1.25rem; width: 180px; height: 180px; }
  .header-showcase__center { width: 58vw; padding-bottom: 3.55rem; }
  .header-showcase h1 { font-size: clamp(3.7rem, 7vw, 4.6rem); }
  .header-pills { gap: 0.35rem; }
  .header-pill { min-width: 88px; padding-right: 0.35rem; padding-left: 0.35rem; font-size: 0.7rem; }
  .header-pill span { width: 54px; height: 54px; }
  .header-pill i { font-size: 1.5rem; }
  .header-showcase__toys { right: 0.5rem; width: 285px; opacity: 0.72; }
  .header-showcase__tagline { width: 68vw; font-size: 0.78rem; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
