/* ==========================================================================
   ROYAL LUXURY BOUTIQUE - RESPONSIVE STYLES
   Mobile, Tablet, and Desktop Breakpoint Optimizations
   ========================================================================== */

/* Tablet & Smaller Desktops (Max 1199px) */
@media (max-width: 1199px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (Max 991px) */
@media (max-width: 991px) {
  .header-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

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

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .filter-sidebar {
    display: none; /* Controlled by mobile filter modal */
  }

  .filter-mobile-trigger {
    display: flex !important;
  }

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

  .pdp-gallery {
    position: static;
  }
}

/* Mobile Devices (Max 767px) */
@media (max-width: 767px) {
  .top-announcement-bar {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  .announcement-item:not(:first-child) {
    display: none; /* Keep primary UAE 1-2 day delivery notice visible */
  }

  .header-container {
    height: 64px;
  }

  .header-logo img {
    height: 38px;
  }

  .btn-whatsapp-vip span {
    display: none;
  }

  .btn-whatsapp-vip {
    padding: 8px 12px;
  }

  .hero-luxury {
    min-height: auto;
    padding: 40px 0;
  }

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

  .hero-trust-cards {
    grid-template-columns: 1fr;
  }

  .trust-strip-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .category-card {
    padding: 14px;
  }

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

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

  .product-info {
    padding: 12px;
  }

  .product-title {
    font-size: 0.8125rem;
    min-height: 2.5em;
  }

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

  .product-quick-overlay {
    opacity: 1;
    transform: translateY(0);
    position: static;
    background: transparent;
    padding: 8px 0 0;
  }

  .btn-card-quickview {
    display: none;
  }

  .pdp-title {
    font-size: 1.5rem;
  }

  .pdp-price {
    font-size: 1.6rem;
  }

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

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    padding: 10px 16px;
  }

  .floating-whatsapp-text {
    display: none;
  }

  .modal-card {
    padding: 20px 16px;
  }
}

/* Mobile Filter Drawer & Nav Overlay */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  border-right: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevated);
  z-index: 200;
  padding: 24px 20px;
  overflow-y: auto;
  transition: left var(--transition-smooth);
}

.mobile-drawer.active {
  left: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer-link {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.mobile-drawer-link:hover, .mobile-drawer-link.active {
  color: var(--gold-primary);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}
