/* HAVEN MALL - Media Queries */

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

  .hero-content {
    align-items: center;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 0.75rem;
  }

  /* Back button collapses to a standard arrow-only circle on mobile */
  .nav-back-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    font-size: 0;
    line-height: 0;
  }

  .nav-back-btn i {
    font-size: 1.05rem;
  }

  .brand-logo {
    max-width: 200px;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.35s ease, max-width 0.35s ease;
  }

  .nav-wrapper.search-open .brand-logo {
    max-width: 0;
    opacity: 0;
    transform: translateX(-20px);
    pointer-events: none;
  }

  .brand-logo-svg {
    width: 150px;
    height: 32px;
  }

  .brand-logo-img {
    height: 32px;
  }

  .icon-btn.mobile-search-btn {
    display: inline-flex;
  }

  .nav-search {
    flex: 0 0 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: flex 0.35s ease, opacity 0.3s ease;
  }

  .nav-wrapper.search-open .nav-search {
    flex: 1;
    width: auto;
    opacity: 1;
  }

  .nav-search-input {
    width: 100%;
    min-width: 0;
    padding-left: 2.4rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .search-row {
    flex-direction: column;
  }

  .sort-select {
    width: 100%;
  }

  .floating-tag {
    display: none;
  }
}
