/* ==========================================================================
   VERDE STUDIO — Responsive Viewport Rules (320px to 1440px+)
   ========================================================================== */

.verde-container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* 1440px+ (Large Desktop) */
@media (min-width: 1440px) {
  .verde-container {
    max-width: 1380px;
  }
  .hero-halo {
    width: 620px;
    height: 620px;
    right: 8%;
  }
}

/* 1200px - 1439px (Standard Desktop) */
@media (max-width: 1439.98px) {
  .hero-halo {
    width: 500px;
    height: 500px;
  }
}

/* 992px - 1199px (Tablet Landscape) */
@media (max-width: 1199.98px) {
  .verde-nav-links {
    gap: 0.15rem;
  }
  .verde-nav-link {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
  .hero-halo {
    width: 440px;
    height: 440px;
  }
}

/* 768px - 991px (Tablet Portrait) */
@media (max-width: 991.98px) {
  .desktop-nav-only {
    display: none !important;
  }
  
  .verde-header-wrapper {
    top: 1rem;
    padding: 0 1rem;
  }
  
  .verde-nav-capsule {
    padding: 0.5rem 1rem;
  }
  
  .hero-wrapper {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }
  
  .hero-title {
    font-size: 2.85rem;
  }
  
  .hero-model-container {
    margin-top: 1.5rem;
  }
  
  .hero-floating-badge {
    left: 1rem;
    bottom: 1rem;
    font-size: 0.8rem;
    padding: 0.75rem 1rem;
  }
  
  .category-card {
    height: 320px;
  }
  
  .pdp-sticky-gallery,
  .pdp-sticky-purchase {
    position: static !important;
  }
}

/* 576px - 767px (Mobile Landscape & Large Phones) */
@media (max-width: 767.98px) {
  .verde-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-wrapper {
    padding-top: 5.75rem;
    padding-bottom: 3rem;
  }
  
  .hero-title {
    font-size: 2.35rem;
    line-height: 1.15;
  }
  
  .hero-halo {
    display: none;
  }
  
  /* Category horizontal swipe strip */
  .category-strip-mobile {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.85rem;
    padding-bottom: 0.85rem;
    -webkit-overflow-scrolling: touch;
  }
  
  .category-strip-mobile > div {
    min-width: 220px;
    scroll-snap-align: start;
    flex: 0 0 auto;
  }

  .category-strip-mobile .category-card {
    height: 300px;
  }
  
  /* Mobile 2-column product grid */
  .product-grid-responsive > [class*="col-"] {
    width: 50% !important;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
  
  .product-card {
    border-radius: 12px;
  }
  
  .product-card-body {
    padding: 0.85rem;
  }
  
  .product-card-title {
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
  }
  
  .product-card-price {
    font-size: 0.95rem;
  }
  
  .btn-quick-add {
    font-size: 0.725rem;
    padding: 0.4rem 0.5rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-verde-primary,
  .btn-verde-outline {
    width: 100%;
  }
}

/* 320px - 575px (Standard & Small Mobile Phones) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .homepage-newsletter-section {
    padding: 2rem 1.25rem !important;
    border-radius: 20px;
  }

  .editorial-banner {
    padding: 1.75rem 1.25rem !important;
    border-radius: 18px;
  }

  .cart-table th,
  .cart-table td {
    padding: 0.65rem 0.35rem;
  }
}

@media (max-width: 374.98px) {
  .hero-title {
    font-size: 1.85rem;
  }
  
  .verde-brand {
    font-size: 1rem;
  }
  
  .btn-verde-primary,
  .btn-verde-outline {
    font-size: 0.8rem;
    padding: 0.65rem 1.25rem;
  }

  .category-strip-mobile > div {
    min-width: 190px;
  }
  
  .category-card {
    height: 250px;
  }
}
