/* ==========================================================================
   SaleGaadi INDIA - Responsive Adaptations
   ========================================================================== */

/* Mobile view adaptations (< 768px) */
@media (max-width: 767px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  /* Show mobile search and bottom nav */
  .mobile-search-section {
    display: block;
  }

  .mobile-bottom-nav {
    display: flex;
  }

  .nav-inner {
    padding: 0 4px;
  }

  .search-bar-wrap {
    display: none;
  }

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

  .location-btn {
    padding: 4px 8px;
  }

  .loc-sub {
    max-width: 100px;
  }

  /* Hero banner on mobile */
  .hero-banner-card {
    margin: 10px 0 16px 0;
  }

  .hero-banner-inner {
    flex-direction: column;
    padding: 18px 16px;
    text-align: left;
  }

  .hero-headline {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .hero-banner-image-wrap {
    margin-top: 14px;
    width: 100%;
    max-width: 100%;
  }

  .hero-banner-image-wrap img {
    width: 100%;
    max-height: 160px;
  }

  /* Ads grid for mobile matches screenshot (2 columns) */
  .ads-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .ad-card-price {
    font-size: 1.02rem;
  }

  .ad-card-title {
    font-size: 0.82rem;
    min-height: 2.2em;
  }

  .ad-card-body {
    padding: 10px;
  }

  .ad-card-location {
    font-size: 0.68rem;
  }

  /* Footer on mobile */
  .site-footer {
    display: block !important;
    padding: 36px 0 24px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social-follow-wrap {
    justify-content: center;
  }

  .footer-links {
    align-items: center;
  }

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

/* Tablet & Desktop (>= 768px) */
@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }

  .desktop-only {
    display: block;
  }

  .mobile-search-section {
    display: none !important;
  }

  .mobile-bottom-nav {
    display: none !important;
  }
}

/* Large Screens (>= 1200px) */
@media (min-width: 1200px) {
  .hero-headline {
    font-size: 2.4rem;
  }
}
