/* Mobile usability fixes for both storefronts */
@media (max-width: 640px) {
  html, body { overflow-x: hidden; }
  .container { padding-inline: 16px; }

  .site-header { position: sticky; }
  .header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-areas: "logo cart" "search search";
    height: auto !important;
    min-height: 0;
    gap: 10px 12px !important;
    padding-block: 10px;
  }
  .logo { grid-area: logo; min-width: 0; }
  .logo-text { font-size: 16px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .main-nav { display: none !important; }
  .cart-btn { grid-area: cart; width: 44px !important; height: 44px !important; }
  .search-box { grid-area: search; width: 100%; max-width: none !important; height: 46px !important; }
  .search-box button { min-width: 76px; min-height: 36px; }

  .hero { padding-block: 30px !important; }
  .hero-inner { gap: 28px !important; }
  .hero-text h1 { font-size: 25px !important; line-height: 1.55 !important; }
  .hero-actions { gap: 10px !important; margin-bottom: 28px !important; }
  .hero-actions .btn { flex: 1; min-height: 46px; padding-inline: 10px; white-space: nowrap; }
  .hero-stats { justify-content: space-between; gap: 8px !important; }
  .hero-stats .stat { flex: 1; }
  .hero-stats .stat strong { font-size: 19px !important; }
  .hero-stats .stat span { font-size: 11px !important; }

  .section-head { align-items: center !important; }
  .section-head h2 { font-size: 20px !important; }
  .category-tabs { gap: 7px !important; margin-bottom: 20px !important; }
  .category-tabs .tab { min-height: 40px; padding-inline: 11px !important; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .product-card { min-width: 0; border-radius: 12px !important; }
  .product-card .info { padding: 10px !important; gap: 3px !important; }
  .product-card .brand { font-size: 10px !important; }
  .product-card .name { font-size: 12px !important; line-height: 1.6 !important; min-height: 38px; }
  .product-card .desc { display: none !important; }
  .product-card .price { font-size: 12px !important; }
  .product-card .old-price { font-size: 10px !important; }
  .product-card .add-btn { width: 44px !important; height: 44px !important; border-radius: 11px !important; }
  .site-footer { margin-top: 28px !important; }
  .footer-inner { justify-content: center !important; text-align: center; }
  #site-enamad-footer { padding-inline: 16px; }
}
@media (max-width: 360px) {
  .logo-text { font-size: 14px !important; }
  .hero-actions { flex-direction: column; }
}