/* ==========================================================
   ZULI — mobile polish overrides
   Loaded last so it wins the cascade over older conflicting rules.
   ========================================================== */

@media (max-width: 480px) {

  /* Hero CTA: was forced to width:100% by an older !important rule,
     which wrapped "Shop the Collection" onto two lines. */
  .hero-btn {
    width: auto !important;
    max-width: calc(100% - 32px);
    white-space: nowrap !important;
    padding: 14px 24px !important;
    font-size: 14.5px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
  }

  /* Search field: placeholder was clipped to "Searc" in the cramped navbar. */
  .search-box {
    flex: 1 1 auto;
    min-width: 0;
  }

  .search-box input {
    width: 100%;
    min-width: 0;
    font-size: 13.5px;
    text-overflow: ellipsis;
  }

  /* Keep the logo from squeezing the nav at 390px. */
  .nav-logo .logo-main-text {
    font-size: 20px !important;
    letter-spacing: 3px !important;
  }

  .nav-logo .logo-sub-text {
    font-size: 8px !important;
    letter-spacing: 3px !important;
  }

  /* Accessible tap targets (WCAG 2.5.5 / Apple HIG minimum). */
  .menu-toggle,
  .cart-box,
  .filter-btn,
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Respect users who ask for less motion. */
@media (prefers-reduced-motion: reduce) {
  .logo-main-text,
  .hero-video {
    animation: none !important;
  }

  html {
    scroll-behavior: auto !important;
  }
}
