/**
 * Shirkat Al Nahal — Responsive Viewport Rules
 */

/* -------------------------------------------------------------
   Desktop Default (min-width: 1024px)
------------------------------------------------------------- */
@media (min-width: 1024px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-64);
    min-height: 80vh;
    padding: var(--space-64) 0;
  }

  .story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-48);
  }

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

/* -------------------------------------------------------------
   Tablet Viewports (768px - 1023px)
------------------------------------------------------------- */
@media (max-width: 1023px) {
  .shirkat-nav-list {
    display: none; /* Collapses into mobile drawer */
  }

  .hero-grid {
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
    gap: var(--space-32);
    padding: var(--space-48) 0;
  }

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

  .story-grid {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
}

/* -------------------------------------------------------------
   Mobile Viewports (320px - 767px)
------------------------------------------------------------- */
@media (max-width: 767px) {
  .shirkat-container {
    width: min(100% - 24px, var(--container-max));
  }

  h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .btn-shirkat {
    width: 100%; /* Full width mobile buttons for easy tap */
  }

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

  /* Sticky Bottom Purchase Bar for Mobile PDP */
  .sticky-mobile-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px var(--space-16);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

/* Ultra-wide Screen Safeguard (1920px+) */
@media (min-width: 1920px) {
  .shirkat-container {
    max-width: 1400px;
  }
}
