/* ==========================================================================
   MULTEE PROTACT - RESPONSIVE STYLES
   Mobile-First Breakpoint Baseline (360px to 1920px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Small Mobile Devices (360px - 430px baseline)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --container-gutter: 1rem;
  }

  .header-container {
    height: 68px;
  }

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

  .btn {
    width: 100%;
    padding: 0.8rem 1.25rem;
  }

  .product-card-actions {
    flex-direction: column;
  }

  .product-card-actions .btn {
    width: 100%;
  }

  .product-detail-hero {
    gap: var(--space-6);
  }

  .product-gallery {
    padding: var(--space-4);
  }

  .product-gallery-img {
    max-height: 320px;
  }

  .footer-bottom {
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Medium Mobile to Phablet (481px - 767px)
   -------------------------------------------------------------------------- */
@media (min-width: 481px) and (max-width: 767px) {
  .product-card-actions {
    flex-direction: row;
  }
  
  .product-card-actions .btn {
    flex: 1;
  }
}

/* --------------------------------------------------------------------------
   Tablet Portrait (768px - 1023px)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-8);
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   Desktop & Laptop (1024px - 1365px)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-12);
  }
}

/* --------------------------------------------------------------------------
   Large Desktop & High-DPI (1366px - 1920px+)
   -------------------------------------------------------------------------- */
@media (min-width: 1366px) {
  .container {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
}

/* Global Overflow Protection */
body,
html {
  max-width: 100vw;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}
