/**
 * LIBRA CLOTHING — Responsive Media Queries
 * Optimized across 320px, 375px, 430px, 768px, 1024px, 1440px, 1920px
 */

/* Desktops & Large Displays (1440px+) */
@media (min-width: 1440px) {
  .container-luxury {
    max-width: 1420px;
  }
}

/* Standard Laptops & Tablets Landscape (max-width: 1200px) */
@media (max-width: 1200px) {
  .desktop-nav-menu {
    gap: 1.35rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

/* Tablet Devices (max-width: 991px) */
@media (max-width: 991px) {
  .top-bar-right .store-loc-link {
    display: none;
  }

  .desktop-nav-menu {
    display: none; /* Handled by mobile drawer */
  }

  .hamburger-btn {
    display: flex;
  }

  .header-actions .btn-gold {
    display: none; /* Promoted in mobile drawer */
  }

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

  .product-modal-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.75rem;
  }

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

  .hero-two-col {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }

  .collections-filter-bar {
    flex-direction: column;
    align-items: stretch !important;
    gap: 1rem;
  }
}

/* Mobile Devices & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: 60px; /* Space for mobile sticky action bar */
  }

  .mobile-action-bar {
    display: block;
  }

  .top-bar {
    font-size: 0.68rem;
    padding: 0.35rem 0;
  }

  .top-bar-left {
    max-width: 60%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-logo-title {
    font-size: 1.35rem;
    letter-spacing: 0.12em;
  }

  .brand-logo-subtitle {
    font-size: 0.95rem;
  }

  .brand-logo-tagline {
    font-size: 0.5rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

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

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

  .product-card-info {
    padding: 1rem;
  }

  .product-card-title {
    font-size: 1rem;
  }

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

  .product-card-quick-actions {
    display: none; /* Touch friendly click-to-open on mobile */
  }

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

  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .floating-whatsapp-btn {
    bottom: 4.8rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }

  .back-to-top-btn {
    bottom: 8.5rem;
    right: 1.45rem;
    width: 38px;
    height: 38px;
  }

  .lightbox-btn {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }
}

/* Small Smart Phones (max-width: 480px) */
@media (max-width: 480px) {
  .container-luxury {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr; /* Single column for luxury editorial presentation on small screens */
    gap: 1.5rem;
  }

  .product-card-image-box {
    aspect-ratio: 4 / 5;
  }

  .category-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .page-hero-standard {
    padding: 8.5rem 0 3.5rem 0;
  }

  .page-hero-title {
    font-size: 1.85rem;
  }

  .modal-cta-row {
    flex-direction: column;
  }

  .modal-gallery-thumbs {
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .search-modal-box {
    padding: 1.5rem;
    margin: 0 1rem;
  }

  .search-modal-input {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }
}

/* Ultra Small Screens (320px to 360px) */
@media (max-width: 360px) {
  .top-bar-content {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }

  .btn-gold, .btn-plum, .btn-whatsapp {
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
  }
}

