/* ==========================================================================
   ALPHAFORCEMD - Comprehensive 100% Mobile & Tablet Responsive System
   Supports: Laptops (1200px), Tablets (992px - 768px), Mobile (480px), Small Mobile (375px)
   ========================================================================== */

/* Large Desktop Adjustments (1440px+) */
@media (min-width: 1440px) {
  .container {
    max-width: 1380px;
  }
}

/* Laptops & Small Desktops (993px to 1200px) */
@media (max-width: 1200px) {
  .hero-grid-layout {
    gap: 2.5rem;
  }

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

/* Tablets & Medium Screens (Up to 992px) */
@media (max-width: 992px) {
  /* Hero Section */
  .hero-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-left-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-badge-pill {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-creative-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-feature-tags {
    justify-content: center;
  }

  .hero-actions-row {
    justify-content: center;
    width: 100%;
  }

  .hero-trust-proof {
    justify-content: center;
    width: 100%;
  }

  .hero-mobile-product-wrap {
    display: flex !important;
    justify-content: center;
    width: 100%;
    margin: 1.5rem 0 2rem;
  }

  .hero-right-col {
    display: none !important;
  }

  .hero-product-display {
    max-width: 360px;
    margin: 0 auto;
  }

  /* PDP Grid Layouts (Dragon & Standard PDP) */
  .pdp-dragon-layout, .pdp-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .pdp-gallery-wrap {
    flex-direction: column-reverse;
    position: static;
  }

  .pdp-thumbs-vertical {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .pdp-thumbs-vertical .pdp-thumb-item {
    width: 75px;
    height: 75px;
  }

  /* Shop Layout & Sidebar Filter */
  .shop-layout {
    grid-template-columns: 1fr !important;
  }

  .filter-sidebar {
    display: none;
  }

  .filter-sidebar.active-mobile {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1005;
    background: var(--bg-primary);
    overflow-y: auto;
    padding: 2rem 1.5rem;
  }

  /* Promo Split Section */
  .promo-split-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Devices & Small Tablets (Up to 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --announcement-height: 0px;
  }

  /* Top Announcement Bar - Hidden on Mobile Breakpoints */
  .announcement-bar {
    display: none !important;
  }

  /* Header & Mobile Menu Bar */
  .site-header {
    padding: 0.5rem 0;
  }

  .nav-menu {
    display: none;
  }

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

  .brand-logo img {
    height: 30px;
  }

  .header-actions {
    gap: 0.35rem;
  }

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

  /* Page Banners */
  .page-banner {
    padding: 2.5rem 0 2rem;
    text-align: center;
  }

  .page-title {
    font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  }

  /* Hero Section Typography & Actions */
  .hero-creative-section {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-creative-title {
    font-size: clamp(1.85rem, 6.5vw, 2.7rem);
    line-height: 1.1;
  }

  .hero-creative-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-actions-row {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-actions-row .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-product-name {
    font-size: 1.65rem;
  }

  /* Section Padding */
  .categories-section, 
  .promo-split-section, 
  .reviews-section, 
  .newsletter-section, 
  .pdp-section {
    padding: 2.5rem 0;
  }

  /* Product Cards & Grids */
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
  }

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

  .benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  #pdp-specs-list {
    grid-template-columns: 1fr !important;
  }

  /* Modals & Quick View */
  .quickview-box {
    padding: 1.25rem !important;
    width: 94% !important;
    max-height: 90vh;
    overflow-y: auto;
  }

  .quickview-box > div {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .search-container {
    width: 94% !important;
    padding: 1.25rem !important;
  }

  /* Footer Layout */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

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

  /* Newsletter Form */
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
  }

  /* Cart Drawer Width */
  .cart-drawer {
    width: 100%;
    max-width: 100%;
  }
}

/* Mobile Phones (Up to 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-creative-title {
    font-size: 1.75rem;
  }

  .hero-product-name {
    font-size: 1.45rem;
  }

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

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

  .btn {
    width: 100%;
  }

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

  .pdp-action-group {
    flex-direction: column;
  }

  .pdp-trust-badges {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }

  .age-gate-box {
    padding: 1.5rem;
    width: 92%;
  }

  .age-gate-buttons {
    flex-direction: column;
  }

  .back-to-top-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
}

/* Extra Small Phones (Up to 375px) */
@media (max-width: 375px) {
  .brand-logo img {
    height: 26px;
  }

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

  .hero-creative-title {
    font-size: 1.55rem;
  }

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