/* Public storefront layout. The separate TEST banner keeps its own space. */
body:not(:has(> .clx-review)) {
  padding-top: 0;
}

body:not(:has(> .clx-review)) > header {
  top: 0;
}

/* .nav's block padding used to reset .wrap's horizontal page gutter. */
header .nav.wrap {
  padding-inline: 24px;
}

header .wordmark,
header .navlinks a {
  white-space: nowrap;
}

header .wordmark,
header .wordmark svg {
  flex-shrink: 0;
}

/* Restore the full desktop row; the extra page gutters made every label wrap. */
@media (min-width: 1200px) {
  header .nav.wrap {
    padding-inline: 0;
  }
}

/* Use the existing compact navigation before the full row runs out of room. */
@media (min-width: 841px) and (max-width: 1199px) {
  header .clx-nav-personalize,
  header .navlinks a[href='#inside'],
  header .navlinks a[href='#how'] {
    display: none;
  }
}

@media (max-width: 560px) {
  header .nav.wrap {
    padding-inline: 20px;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    word-spacing: .045em;
  }
}

@media (max-width: 840px) {
  /* The existing footer link opens the same consent preferences. The floating
     icon otherwise covers the fixed purchase CTA and, on Safari, form fields. */
  body button.iubenda-tp-btn.iubenda-cs-preferences-link[data-tp-float][data-iub-enabled] {
    display: none !important;
    /* The vendor adds inline display!important after closing preferences. */
    visibility: hidden !important;
    pointer-events: none !important;
  }

  footer a.iubenda-cs-preferences-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-underline-offset: 3px;
  }
}
