/* ==========================================================================
   BY HUMA COUTURE - RESPONSIVE STYLES
   ========================================================================== */

/* Large Tablets & Small Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
  .main-nav {
    gap: 22px;
  }

  .nav-link {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
  }

  .couture-mega-layout {
    grid-template-columns: 1.4fr 1fr;
    gap: 22px;
  }

  .couture-mega-layout .mega-promo-card {
    display: none;
  }

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

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

/* Tablets (max-width: 991px) */
@media (max-width: 991px) {
  .top-info-bar {
    display: none;
  }

  .main-nav {
    display: none; /* Replaced with mobile drawer */
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
  }

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

  .trust-perks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

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

  .shop-sidebar {
    display: none; /* Opened via slide filter button */
  }

  .shop-sidebar.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 2200;
    padding: 24px;
    overflow-y: auto;
    box-shadow: var(--shadow-hover);
  }

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

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

  .product-gallery-sticky {
    position: static;
    flex-direction: column-reverse;
  }

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

  .gallery-thumbs-col .thumb-item {
    width: 80px;
    flex-shrink: 0;
  }

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

  .vip-stylist-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
}

/* Mobile Phones (max-width: 767px) */
@media (max-width: 767px) {
  body {
    padding-bottom: 70px; /* Space for floating mobile bottom bar */
  }

  .header-inner {
    height: 70px;
  }

  .brand-logo .logo-main {
    font-size: 1.6rem;
  }

  .hero-section,
  .hero-slider-container {
    min-height: 68vh;
  }

  .hero-slide {
    padding: 50px 0 60px;
  }

  .hero-slider-nav {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .hero-slider-nav.prev {
    left: 10px;
  }

  .hero-slider-nav.next {
    right: 10px;
  }

  .hero-slider-dots {
    bottom: 14px;
  }

  .hero-dot {
    width: 20px;
    height: 3px;
  }

  .hero-dot.active {
    width: 36px;
  }

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

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

  .trust-perks-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-tiles-grid {
    grid-template-columns: 1fr;
  }

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

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

  .rental-price-tag {
    font-size: 0.8rem;
  }

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

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

  .cart-layout-grid,
  .checkout-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .payment-method-luxury-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cart-page-item-row {
    padding: 16px;
    gap: 14px;
  }

  .cart-page-item-thumb {
    width: 80px;
    height: 108px;
  }

  .checkout-steps-nav {
    gap: 8px;
  }

  .checkout-step .step-label {
    font-size: 0.78rem;
  }

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

  .sticky-checkout-sidebar,
  .cart-summary-column,
  .checkout-summary-column,
  .sticky-sidebar {
    position: static;
  }

  .modal-dialog {
    margin: 10px;
    max-height: 95vh;
  }
}
