/* ============================================================
   HARIWANT NATURALS — RESPONSIVE CSS
   ============================================================ */

/* ── Large Desktop (1400px+) ── */
@media (min-width: 1400px) {
  .hn-container { max-width: 1360px; }
  .hn-categories__grid { grid-template-columns: repeat(6, 1fr); }
  .hn-products-slider__track { grid-template-columns: repeat(5, 1fr); }
}

/* ── Desktop (1200px–1399px) ── */
@media (max-width: 1200px) {
  .hn-categories__grid { grid-template-columns: repeat(4, 1fr); }
  .hn-products-grid { grid-template-columns: repeat(3, 1fr); }
  .hn-products-slider__track { grid-template-columns: repeat(4, 1fr); }
  .hn-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .hn-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 28px; }
  .hn-why-us__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Tablet Landscape (992px–1199px) ── */
@media (max-width: 1024px) {
  :root { --hn-header-h: 64px; }

  .hn-header__nav { display: none; }
  .hn-hamburger { display: flex; }

  .hn-hero__side-badges { display: none; }
  .hn-hero__heading { font-size: clamp(1.8rem, 4vw, 2.6rem); }

  .hn-categories__grid { grid-template-columns: repeat(3, 1fr); }
  .hn-products-grid { grid-template-columns: repeat(3, 1fr); }
  .hn-products-slider__track { grid-template-columns: repeat(3, 1fr); }
  .hn-why-us__grid { grid-template-columns: repeat(2, 1fr); }
  .hn-benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .hn-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .hn-blog__grid { grid-template-columns: repeat(2, 1fr); }
  .hn-footer-grid { grid-template-columns: repeat(2, 1fr); }

  .hn-footer-newsletter__inner { flex-direction: column; text-align: center; }
  .hn-newsletter-form__fields { justify-content: center; }

  .hn-topbar__left { display: none; }
}

/* ── Tablet Portrait (768px–991px) ── */
@media (max-width: 768px) {
  :root {
    --hn-topbar-h: 36px;
    --hn-header-h: 60px;
  }

  .hn-section { padding-block: 48px; }
  .hn-section-title { font-size: 1.6rem; }

  .hn-hero {
    min-height: 480px;
    padding: 48px 0;
  }
  .hn-hero__container { flex-direction: column; }
  .hn-hero__content { max-width: 100%; text-align: center; }
  .hn-hero__actions { justify-content: center; }
  .hn-hero__desc { margin-inline: auto; }

  .hn-trust-bar__inner { gap: 6px 16px; }
  .hn-trust-item { font-size: 0.75rem; }

  .hn-categories__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hn-products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hn-products-slider__track { grid-template-columns: repeat(2, 1fr); }
  .hn-slider-btn--prev { left: -8px; }
  .hn-slider-btn--next { right: -8px; }

  .hn-promo-banner { padding: 40px 0; }
  .hn-promo-banner__heading { font-size: 1.6rem; }

  .hn-why-us__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hn-why-card { padding: 24px 16px; }

  .hn-benefits__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .hn-testimonials__grid { grid-template-columns: 1fr; }

  .hn-blog__grid { grid-template-columns: 1fr; }

  .hn-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hn-footer-col--brand { max-width: 100%; }
  .hn-newsletter-input { min-width: 0; width: 100%; }
  .hn-newsletter-form__fields { flex-direction: column; }

  .hn-mobile-bottom-nav {
    display: flex;
    align-items: stretch;
  }

  .hn-footer { padding-bottom: 70px; }

  .hn-topbar__right { gap: 10px; }
  .hn-lang-switcher { display: none; }
}

/* ── Mobile (480px–767px) ── */
@media (max-width: 480px) {
  :root {
    --hn-topbar-h: 0px;
  }

  .hn-topbar { display: none; }
  .hn-site-content { padding-top: var(--hn-header-h); }

  .hn-container { padding-inline: 16px; }

  .hn-hero { min-height: 420px; padding: 40px 0; }
  .hn-hero__heading { font-size: 1.8rem; }
  .hn-hero__actions { flex-direction: column; align-items: center; }
  .hn-btn--lg { padding: 12px 24px; font-size: 0.875rem; width: 100%; justify-content: center; max-width: 280px; }

  .hn-trust-bar__inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hn-trust-item { flex-direction: column; text-align: center; font-size: 0.72rem; }

  .hn-categories__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hn-cat-card__body { padding: 8px; }
  .hn-cat-card__name { font-size: 0.78rem; }

  .hn-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hn-product-card__body { padding: 10px; }
  .hn-product-card__title { font-size: 0.82rem; }
  .hn-product-card__price { font-size: 0.88rem; }

  .hn-products-slider__track { grid-template-columns: repeat(2, 1fr); }

  .hn-why-us__grid { grid-template-columns: 1fr; }
  .hn-benefits__grid { grid-template-columns: 1fr; }

  .hn-section-title { font-size: 1.4rem; }
  .hn-section { padding-block: 36px; }

  .hn-cart-drawer__panel { width: 100%; }

  .hn-promo-banner__heading { font-size: 1.4rem; }

  .hn-footer-social { justify-content: flex-start; }
}

/* ── Small Mobile (360px and below) ── */
@media (max-width: 360px) {
  .hn-hero__heading { font-size: 1.5rem; }
  .hn-categories__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hn-products-grid { grid-template-columns: 1fr; }
  .hn-products-slider__track { grid-template-columns: 1fr; }
}

/* ── Print styles ── */
@media print {
  .hn-topbar,
  .hn-header,
  .hn-mobile-bottom-nav,
  .hn-footer-newsletter,
  .hn-cart-drawer,
  .hn-mobile-menu { display: none !important; }
  .hn-site-content { padding-top: 0 !important; }
  body { font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
}
