/* NOONEVA: sizes, spacing and readability. Changes nothing but presentation. Header and footer rules apply on every
   page. All other rules are limited to the home page by body.home, which also outweighs Elementor's own styles. */

/* ---------- Header and footer, every page ---------- */
@media (min-width: 1321px) {
  body #masthead .custom-logo-link img, body #masthead .custom-logo { width: 212px; }
  body #ast-hf-menu-1 > .menu-item > .menu-link { padding: 0 11px; font-size: 15.5px; }
}
@media (min-width: 1151px) and (max-width: 1320px) {
  body #masthead .custom-logo-link img, body #masthead .custom-logo { width: 176px; }
  body #ast-hf-menu-1 > .menu-item > .menu-link { padding-inline: 7px; font-size: 14px; }
}
body .ast-above-header-wrap p, body .ast-above-header-wrap span { font-size: 14px; }

body .site-footer .widget-title, body .site-footer h2, body .site-footer h3 { margin-bottom: 14px; font-size: 17px; line-height: 1.3; }
body .site-footer .widget_nav_menu a { font-size: 15.5px; line-height: 1.5; }
body .site-footer .widget_nav_menu li { margin-bottom: 8px; }
body .site-footer .ast-header-html p { font-size: 15.5px; line-height: 1.55; }
body .site-footer .site-below-footer-wrap .ast-header-html p { font-size: 14px; line-height: 1.5; }

/* ---------- Page width and section rhythm ---------- */
body.home .nv-container { max-width: 1280px; }
body.home .nv-container-narrow { max-width: 900px; }
body.home .nv-section { padding-top: 40px; padding-bottom: 40px; }
body.home .nv-section-tight { padding-top: 36px; padding-bottom: 36px; }
body.home .nv-section-soft { padding-top: 56px; padding-bottom: 56px; }
body.home .nv-h2 { font-size: 34px; line-height: 1.15; }
body.home .nv-head, body.home .nv-head-center { margin-bottom: 28px; }
body.home .nv-link-more p { font-size: 15px; }

/* ---------- Hero: only sizes. The slider and its photos are unchanged. ---------- */
@media (min-width: 1100px) {
  body.home .nv-hs .nv-hs-copy { max-width: min(600px, 34.5vw); }
  body.home .nv-hs .nv-hs-title { font-size: clamp(38px, 3.5vw, 56px); }
  body.home .nv-hs .nv-hs-sub { font-size: clamp(17px, 1.4vw, 20px); }
  body.home .nv-hs .nv-hs-btn { min-height: 54px; font-size: 17px; }
}
body.home .nv-hs .nv-hs-note { font-size: 14px; }

/* ---------- Benefits bar ---------- */
body.home [data-id="5894abdd"] { padding-top: 32px; padding-bottom: 16px; }
body.home .nv-benefits-grid { gap: 20px; }
body.home .nv-benefit { gap: 14px; }
body.home .nv-benefit-title { margin-bottom: 4px; font-size: 16px; line-height: 1.3; }
body.home .nv-benefit-text { font-size: 15px; line-height: 1.45; }

/* ---------- Vacuum model search ---------- */
body.home .nv-finder { padding-top: 44px; padding-bottom: 44px; }
body.home .nv-finder-title { margin-bottom: 10px; font-size: 36px; line-height: 1.15; }
body.home .nv-finder-lead { margin-bottom: 24px; font-size: 18px; }
body.home .nv-finder .e-5f1fb160-8c5b { width: 100%; max-width: 780px; }
/* The form plugin marks its own sizes as important, so these must be too. */
body.home .nv-finder .wpforms-container-full .wpforms-form input.wpforms-field-large { height: 62px !important; min-height: 62px !important; font-size: 17px !important; }
body.home .nv-finder .wpforms-container-full .wpforms-form button.wpforms-submit { height: 62px !important; min-height: 62px !important; padding-left: 28px; padding-right: 28px; font-size: 17px; }
body.home .nv-finder .wpforms-container-full .wpforms-form { filter: drop-shadow(0 6px 16px rgba(6, 63, 45, .1)); }

/* ---------- Shop by vacuum brand ---------- */
body.home .nv-grid-3 { gap: 24px; }
body.home .nv-brand-img { flex: none; width: 160px; height: 160px; max-width: none; }
body.home .nv-brand-title { font-size: 21px; }
body.home .nv-brand-sub { font-size: 18px; }
body.home .nv-brand-body p { font-size: 15px; line-height: 1.45; }
body.home .nv-brand-body .nv-brand-sub { font-size: 18px; line-height: 1.2; }

/* ---------- Shopping categories ---------- */
body.home .nv-cat-grid { gap: 20px; }
body.home .nv-cat-card { padding: 18px 12px; }
body.home .nv-cat-img { width: 176px; height: 176px; max-width: 100%; object-fit: contain; }
body.home .nv-cat-name { margin-top: 10px; font-size: 16px; }

/* ---------- Featured products ---------- */
body.home .nv-tab-label { font-size: 16px; }
body.home .nv-chip { min-height: 44px; padding-left: 18px; padding-right: 18px; font-size: 15px; }
body.home .nv-status { font-size: 15px; }
body.home .nv-product-grid { gap: 24px; }
/* The whole card is a column, and the price and buttons stay at its foot, so cards in a row line up. */
body.home .nv-pcard { display: flex; flex-direction: column; height: 100%; }
body.home .nv-pmedia { padding: 6px; aspect-ratio: 1 / 1; box-sizing: border-box; }
body.home .nv-pimg { width: 100%; height: 100%; object-fit: contain; }
body.home .nv-pbody { display: flex; flex: 1; flex-direction: column; padding: 18px; }
body.home .nv-pbrand { font-size: 13px; }
body.home .nv-ptitle, body.home .nv-ptitle a { font-size: 16.5px; line-height: 1.35; }
body.home .nv-psku { font-size: 13px; }
body.home .nv-pfits, body.home .nv-pfits strong { font-size: 14px; line-height: 1.45; }
body.home .nv-pfoot { margin-top: auto; padding-top: 12px; }
body.home .nv-price { font-size: 23px; line-height: 1.2; }
body.home .nv-stock-text { font-size: 14px; }
body.home .nv-padd { min-height: 50px; font-size: 16px; }
body.home .nv-pdetails { min-height: 44px; font-size: 15px; }

/* ---------- Steps, reasons, guides, promotions ---------- */
body.home [data-id="22ff269d"] h2 { font-size: 28px; }
body.home [data-id="356ff01d"] h3, body.home [data-id="22831edd"] h3 { font-size: 20px; }
body.home [data-id="356ff01d"] p, body.home [data-id="22831edd"] p, body.home [data-id="7191a2da"] p { font-size: 16px; line-height: 1.5; }
body.home [data-id="7191a2da"] h3 { font-size: 18px; }

/* ---------- Customer reviews ---------- */
body.home [data-id="630f88a4"] .nv-h2 { font-size: 34px; }
body.home .nv-rv-sub { font-size: 18px; }
body.home .nv-rv-card p { line-height: 1.45; }

/* ---------- FAQ ---------- */
body.home .nv-faq-head { min-height: 62px; }
body.home .nv-faq-head span { font-size: 17px; line-height: 1.4; }
body.home .nv-faq-a { font-size: 16px; line-height: 1.6; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  body.home .nv-benefits-grid { gap: 16px; }
  body.home .nv-h2 { font-size: 30px; }
  body.home .nv-grid-3 { gap: 16px; }
  body.home .nv-brand-img { width: 132px; height: 132px; }
  body.home .nv-brand-title { font-size: 19px; }
  body.home .nv-cat-grid { gap: 12px; }
  body.home .nv-cat-img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  body.home .nv-product-grid { gap: 18px; }
  body.home .nv-pbody { padding: 14px; }
}

/* ---------- Mobile. Column counts stay as they are. ---------- */
@media (max-width: 767px) {
  body #masthead .custom-logo-link img, body #masthead .custom-logo { width: 158px; }
  body.home .nv-section { padding-top: 28px; padding-bottom: 28px; }
  body.home .nv-section-tight { padding-top: 22px; padding-bottom: 22px; }
  body.home .nv-section-soft { padding-top: 36px; padding-bottom: 36px; }
  body.home .nv-h2 { font-size: 23px; }
  body.home .nv-head, body.home .nv-head-center { margin-bottom: 18px; }
  body.home .nv-link-more p { font-size: 14px; }

  body.home .nv-benefit-title { font-size: 14px; }
  body.home .nv-finder { padding-top: 24px; padding-bottom: 24px; }
  body.home .nv-finder-title { font-size: 25px; }
  body.home .nv-finder-lead { font-size: 16px; }
  body.home .nv-finder .wpforms-container-full .wpforms-form input.wpforms-field-large { height: 56px !important; min-height: 56px !important; font-size: 16px !important; }
  body.home .nv-finder .wpforms-container-full .wpforms-form button.wpforms-submit { width: 56px; height: 56px !important; min-height: 56px !important; padding-left: 0; padding-right: 0; font-size: 0; }

  body.home .nv-grid-3 { gap: 10px; }
  body.home .nv-brand-img { flex: initial; width: 100%; height: auto; aspect-ratio: 1 / 1; }
  body.home .nv-cat-grid { gap: 10px; }
  body.home .nv-cat-card { padding: 8px; }
  body.home .nv-cat-img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  body.home .nv-cat-name { font-size: 14px; }

  body.home .nv-chip { font-size: 15px; }
  body.home .nv-product-grid { gap: 10px; }
  body.home .nv-pmedia { padding: 6px; }
  body.home .nv-pbody { padding: 10px; }
  body.home .nv-ptitle, body.home .nv-ptitle a { font-size: 15px; line-height: 1.3; }
  body.home .nv-pfits, body.home .nv-pfits strong { font-size: 13.5px; }
  body.home .nv-price { font-size: 20px; }
  body.home .nv-stock-text { font-size: 13px; }
  body.home .nv-padd { min-height: 48px; font-size: 15px; }
  body.home .nv-pdetails { min-height: 44px; font-size: 15px; }

  body.home [data-id="5894abdd"] { padding-top: 18px; padding-bottom: 6px; }
  body.home [data-id="22ff269d"] h2 { font-size: 24px; }
  body.home [data-id="356ff01d"] h3, body.home [data-id="22831edd"] h3 { font-size: 18px; }
  body.home .nv-rv-sub { font-size: 16px; }
  body.home .nv-faq-head span { font-size: 16px; }
}
