/* ==========================================================================
   BETA-ZEN ENTERPRISES - RESPONSIVE & MOBILE-FIRST OPTIMIZATIONS
   ========================================================================== */

/* Large Tablets & Small Desktops (<= 1140px) */
@media (max-width: 1140px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .hero-stats-row {
    justify-content: center;
  }

  .store-experience-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 44px 30px;
  }

  .cta-buttons-stack {
    justify-content: center;
  }

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

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

/* Tablets (<= 900px) */
@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }

  .nav-actions .btn-primary {
    display: none;
  }

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

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .qv-visual-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 20px;
  }

  .qv-details-col {
    padding: 30px 24px;
  }
}

/* Mobile Devices (<= 640px) */
@media (max-width: 640px) {
  :root {
    --nav-height: 70px;
  }

  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Disclaimer Banner */
  .disclaimer-banner {
    padding: 8px 12px;
  }

  .disclaimer-banner .container {
    gap: 8px;
    flex-wrap: wrap;
  }

  .disclaimer-banner .container > div {
    font-size: 0.75rem;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
  }

  /* Compact Navbar Header & Hamburger Alignment */
  .brand-logo {
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
  }

  .logo-symbol {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .logo-text-block {
    min-width: 0;
    overflow: hidden;
  }

  .logo-name {
    font-size: 1.15rem;
    white-space: nowrap;
  }

  .logo-subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .nav-icon-btn,
  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    padding: 8px;
    flex-shrink: 0;
  }

  .hero-section {
    padding: 24px 0 50px;
    width: 100%;
    overflow: hidden;
  }

  .hero-badge-pill {
    max-width: 100%;
    white-space: normal;
    text-align: left;
    font-size: 0.78rem;
    padding: 6px 14px;
    box-sizing: border-box;
  }

  .hero-title {
    font-size: clamp(2rem, 8.5vw, 2.7rem);
    letter-spacing: -0.02em;
    line-height: 1.05;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-stats-row {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: flex-start;
  }

  .hero-3d-helper-tag {
    display: none;
  }

  .section-heading-large {
    font-size: clamp(1.6rem, 6.8vw, 2.2rem);
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.15;
  }

  .section-header-row {
    width: 100%;
    max-width: 100%;
  }

  .section-header-row > div {
    max-width: 100%;
  }

  .intro-badges-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .category-grid,
  .products-grid,
  .why-features-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .category-card,
  .product-card,
  .why-feature-card,
  .review-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .instagram-tile {
    min-width: 0;
    max-width: 100%;
  }

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

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

  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .store-details-box {
    padding: 24px 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .store-actions-row {
    flex-direction: column;
    width: 100%;
  }

  .store-actions-row .btn {
    width: 100%;
  }

  .store-map-wrapper {
    height: 350px;
    width: 100%;
  }

  .product-actions-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .qv-actions-row {
    grid-template-columns: 1fr;
    width: 100%;
  }

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

  .mobile-nav-drawer {
    width: 280px;
    max-width: 85vw;
  }
}

/* Reduced Motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
