/* ==========================================================================
   PAVANA ETHNIC BOUTIQUE - RESPONSIVE STYLES
   Mobile-First Breakpoints & Fluid Layout Adjustments
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESKTOP & LARGE DISPLAYS (> 1024px)
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {
  .shop-layout .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.6rem;
  }
}

/* --------------------------------------------------------------------------
   2. TABLET BREAKPOINT (768px - 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-section {
    min-height: 460px;
  }

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

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    display: none; /* Accessible via modal/drawer on mobile */
  }

  .filter-sidebar.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    z-index: 2500;
    overflow-y: auto;
    border-radius: 0;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

/* --------------------------------------------------------------------------
   3. MOBILE BREAKPOINT (< 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .top-bar-info span:nth-child(2) {
    display: none;
  }

  .section-padding {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

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

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-btns {
    flex-direction: column;
  }

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

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .product-info {
    padding: 12px;
  }

  .product-title {
    font-size: 0.95rem;
  }

  .current-price {
    font-size: 1.05rem;
  }

  .action-btn {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .product-price-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .btn-add-cart {
    width: 100%;
    padding: 6px 10px;
    font-size: 0.75rem;
  }

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

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .shop-controls-bar {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }

  .shop-search-input {
    width: 100%;
  }

  .product-gallery-box {
    flex-direction: column-reverse;
  }

  .gallery-thumbnails {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
  }

  .thumb-img {
    width: 70px;
    height: 85px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cart-drawer {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   4. SMALL MOBILE BREAKPOINT (< 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .pd-title {
    font-size: 1.6rem;
  }

  .pd-current-price {
    font-size: 1.6rem;
  }

  .pd-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
