/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE DESIGN SYSTEM
   Optimized for:
   - Extra Small Screens (<= 380px)
   - Standard Mobile (<= 576px)
   - Tablets & Phablets (<= 768px)
   - Small Laptops / iPads (<= 1024px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   TABLETS & BELOW (<= 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .container-fluid {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  /* Header adjustments */
  .main-navigation {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .header-inner {
    height: var(--header-height);
  }

  .site-logo-img {
    height: 28px;
    max-width: 190px;
  }

  /* Products Grid */
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  /* Lookbook */
  .lookbook-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   STANDARD SMARTPHONES (<= 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-height: 58px;
    --announcement-height: 32px;
  }

  .section-padding {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .section-padding-sm {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .section-title {
    font-size: 1.45rem;
    letter-spacing: 0.06em;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  .section-title-wrap {
    margin-bottom: 24px;
  }

  /* Announcement Bar */
  .announcement-bar {
    font-size: 0.74rem;
    padding: 0 10px;
  }

  /* Header */
  .header-inner {
    gap: 10px;
  }

  .site-logo-img {
    height: 25px;
    max-width: 165px;
  }

  .header-actions {
    gap: 8px;
  }

  .action-btn {
    width: 32px;
    height: 32px;
  }

  .header-lang-switcher {
    padding-left: 4px;
    margin-left: 2px;
    font-size: 0.76rem;
  }

  .header-lang-switcher span {
    display: none; /* Icon and flag on small screens */
  }

  /* Hero Section */
  .hero-slider-container {
    height: 65vh !important;
    min-height: 420px !important;
    max-height: 540px !important;
  }

  .hero-slide-bg {
    object-position: center 20% !important;
  }

  .hero-nav-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .hero-prev {
    left: 10px;
  }

  .hero-next {
    right: 10px;
  }

  .hero-dots {
    bottom: 14px;
  }

  /* Categories Grid: 2 Columns */
  .category-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .category-info {
    padding: 14px 10px !important;
  }

  .category-title {
    font-size: 0.92rem !important;
    margin-bottom: 4px !important;
  }

  .category-btn {
    font-size: 0.7rem !important;
  }

  /* Products Grid: 2 Columns */
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .product-info {
    padding: 10px 8px !important;
  }

  .product-brand-tag {
    font-size: 0.65rem;
  }

  .product-title {
    font-size: 0.84rem !important;
    height: 2.6em !important;
    margin-bottom: 6px !important;
  }

  .product-price {
    font-size: 0.95rem !important;
  }

  .product-quick-add {
    transform: translateY(0) !important;
    position: static !important;
    margin-top: 8px !important;
    padding: 8px 4px !important;
    font-size: 0.72rem !important;
    border-radius: 2px;
  }

  .swatch-item {
    width: 14px !important;
    height: 14px !important;
  }

  .swatch-more {
    font-size: 0.68rem !important;
  }

  /* Promo Banners & Fabric */
  .promo-banner-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 36px !important;
  }

  .promo-banner-card {
    aspect-ratio: 16 / 11 !important;
  }

  .promo-banner-content {
    padding: 20px 16px !important;
  }

  .promo-title {
    font-size: 1.35rem !important;
  }

  .fabric-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .fabric-feature-card {
    padding: 20px 14px !important;
  }

  .fabric-feature-icon {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 10px !important;
  }

  .fabric-feature-title {
    font-size: 0.92rem !important;
  }

  .fabric-feature-desc {
    font-size: 0.78rem !important;
  }

  /* Trust Badges: 2 Columns */
  .trust-badges-section {
    padding: 30px 0 !important;
  }

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

  .trust-badge-item {
    gap: 10px !important;
  }

  .trust-badge-icon {
    width: 36px !important;
    height: 36px !important;
  }

  .trust-badge-title {
    font-size: 0.85rem !important;
  }

  .trust-badge-desc {
    font-size: 0.72rem !important;
  }

  /* Lookbook Grid */
  .lookbook-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  /* Footer */
  .footer-newsletter {
    padding-bottom: 32px !important;
    margin-bottom: 32px !important;
  }

  .newsletter-title {
    font-size: 1.4rem !important;
  }

  .newsletter-desc {
    font-size: 0.82rem !important;
    margin-bottom: 16px !important;
  }

  .newsletter-form {
    flex-direction: column !important;
    width: 100% !important;
  }

  .newsletter-btn {
    width: 100% !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

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

  /* Cart Drawer on Mobile */
  .cart-drawer {
    width: 100% !important;
    max-width: 100vw !important;
  }
}

/* --------------------------------------------------------------------------
   SMALL PHONES (<= 420px)
   -------------------------------------------------------------------------- */
@media (max-width: 420px) {
  .announcement-bar {
    font-size: 0.7rem;
  }

  .site-logo-img {
    height: 22px;
    max-width: 145px;
  }

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

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

  .trust-badges-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   EXTRA SMALL PHONES (<= 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .site-logo-img {
    height: 20px;
    max-width: 130px;
  }

  .header-inner {
    gap: 6px;
  }

  .header-actions {
    gap: 4px;
  }
}
