/* Dravik — Home
   Loaded ONLY on the static front page (see dravik_child_enqueue_styles).
   The approved hero design lives in the Home page's own block content and
   must not be restyled here — this file exists solely for homepage-scoped
   protections and (future, approved-only) homepage refinements.
*/

/* Guarantee the hero page never shows an Astra page-title block, even if a
   future Astra update changes how banner visibility meta is interpreted. */
.home .ast-archive-description,
.home .entry-header {
  display: none;
}

/* Keep the homepage content truly edge-to-edge inside Astra's wrappers. */
.home .site-content .ast-container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* --------------------------------------------------------------------------
   Dravik — Home mobile navigation (approved 2026-07-21)
   Phones (<=543px): the hero's own nav row is replaced by the global Dravik
   mobile header (logo mark + cart with live count + hamburger). The hamburger
   opens the same site-wide navigation. Tablet (>=544px, incl. 768px) and
   desktop keep the approved in-page hero navigation exactly as designed.
   -------------------------------------------------------------------------- */

@media (max-width: 543px) {
  /* Hide the hero's wrapping nav row on phones only. */
  .home .dravik-mock-header {
    display: none !important;
  }
}

@media (min-width: 544px) {
  /* Above phone width the hero's own nav returns; the Astra mobile header
     must never appear on the homepage at tablet widths. */
  .home #ast-mobile-header,
  .home .ast-mobile-header {
    display: none !important;
  }
}
