/* Shared four-card trust strips: nav/home, home features, footer and product.
 * No changes to utility/contact bars, five-card strips or business copy.
 * Keep existing typography controls effective on every page. */
@layer sg-typography {
  /* The homepage title and trust strip share one physical container, including
   * the configured content width. No JS measurements or duplicated offsets. */
  html body .SGGLOVES-home-heading > .SGGLOVES-home-heading__frame {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: var(--SGGLOVES-content-width, 1440px) !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
  }
  html body .SGGLOVES-home-heading__frame > .SGGLOVES-home-heading__inner {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }
  html body .SGGLOVES-home-heading__frame > .sg-module-promises {
    width: 100% !important;
    max-width: none !important;
    margin: 16px 0 0 !important;
  }
  html body :is(.sg-module-promises, .SGGLOVES-home-features, .sg-module-reassurance, .sg-product-highlights, .SGGLOVES-contact-reassurance, .blockreassurance--horizontal:where(:has(> :nth-child(4)):not(:has(> :nth-child(5))))) {
    --sg-trust-size: var(--sg-type-home-reassurance-font-size, 13px);
    --sg-trust-icon: 32px;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 24px !important;
    width: calc(100% - 48px) !important;
    max-width: 1680px !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 16px 0 !important;
    margin: 0 auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  /* Product blocks already live inside a content column. */
  html body .sg-product-highlights,
  html body :is(.sg-product-main-modules, .sg-product-commerce__reassurance) .sg-module-reassurance {
    width: 100% !important;
  }

  html body :is(.sg-module-promises, .SGGLOVES-home-features, .sg-module-reassurance, .sg-product-highlights, .SGGLOVES-contact-reassurance, .blockreassurance--horizontal:where(:has(> :nth-child(4)):not(:has(> :nth-child(5))))) > :is(span, article, div, a) {
    --sg-trust-accent: #2878ff;
    --sg-trust-tint: #e7f2ff;
    display: grid !important;
    grid-template-columns: calc(var(--sg-trust-icon) + 16px) minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-content: center !important;
    align-items: center !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    column-gap: 16px !important;
    row-gap: 2px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 76px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    border: 0 !important;
    border-inline-start: 4px solid var(--sg-trust-accent) !important;
    border-radius: 10px !important;
    background: linear-gradient(100deg, #fff 0%, var(--sg-trust-tint) 100%) !important;
    box-shadow: 0 3px 14px rgba(7, 27, 54, .035) !important;
    color: #071b36 !important;
    font-family: var(--sg-font-body, Inter, sans-serif) !important;
    font-size: var(--sg-trust-size) !important;
    line-height: 1.35 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  html body :is(.sg-module-promises, .SGGLOVES-home-features, .sg-module-reassurance, .sg-product-highlights, .SGGLOVES-contact-reassurance, .blockreassurance--horizontal:where(:has(> :nth-child(4)):not(:has(> :nth-child(5))))) > :nth-child(2) {
    --sg-trust-accent: #efbe42;
    --sg-trust-tint: #fcf5e5;
  }
  html body :is(.sg-module-promises, .SGGLOVES-home-features, .sg-module-reassurance, .sg-product-highlights, .SGGLOVES-contact-reassurance, .blockreassurance--horizontal:where(:has(> :nth-child(4)):not(:has(> :nth-child(5))))) > :nth-child(3) {
    --sg-trust-accent: #32bf83;
    --sg-trust-tint: #e8f8f0;
  }
  html body :is(.sg-module-promises, .SGGLOVES-home-features, .sg-module-reassurance, .sg-product-highlights, .SGGLOVES-contact-reassurance, .blockreassurance--horizontal:where(:has(> :nth-child(4)):not(:has(> :nth-child(5))))) > :nth-child(4) {
    --sg-trust-accent: #a65aff;
    --sg-trust-tint: #f3edff;
  }

  html body :is(.sg-module-promises, .SGGLOVES-home-features, .sg-module-reassurance, .sg-product-highlights, .SGGLOVES-contact-reassurance, .blockreassurance--horizontal:where(:has(> :nth-child(4)):not(:has(> :nth-child(5))))) > :is(span, article, div, a)::before,
  html body :is(.sg-module-promises, .SGGLOVES-home-features, .sg-module-reassurance, .sg-product-highlights, .SGGLOVES-contact-reassurance, .blockreassurance--horizontal:where(:has(> :nth-child(4)):not(:has(> :nth-child(5))))) > :is(span, article, div, a)::after { content: none !important; }

  html body :is(.sg-module-promises__icon, .SGGLOVES-home-feature__icon, .sg-module-reassurance__icon, .sg-product-highlights__icon, .SGGLOVES-contact-reassurance .SGGLOVES-contact-card__icon, .blockreassurance--horizontal:where(:has(> :nth-child(4)):not(:has(> :nth-child(5)))) .reassurance__image) {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: content-box !important;
    width: var(--sg-trust-icon) !important;
    min-width: var(--sg-trust-icon) !important;
    max-width: var(--sg-trust-icon) !important;
    height: var(--sg-trust-icon) !important;
    min-height: var(--sg-trust-icon) !important;
    max-height: var(--sg-trust-icon) !important;
    padding: 0 16px 0 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-inline-end: 1px solid rgba(7, 27, 54, .08) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #071b36 !important;
    box-shadow: none !important;
    object-fit: contain !important;
    transform: none !important;
  }
  html body :is(.sg-module-promises__icon, .sg-module-reassurance__icon, .sg-product-highlights__icon, .SGGLOVES-contact-reassurance .SGGLOVES-contact-card__icon, .blockreassurance--horizontal:where(:has(> :nth-child(4)):not(:has(> :nth-child(5)))) .reassurance__image) :is(svg, .sg-svg-icon) {
    display: block !important;
    width: var(--sg-trust-icon) !important;
    height: var(--sg-trust-icon) !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #071b36 !important;
    fill: none !important;
    stroke: currentColor !important;
  }
  html body :is(.sg-module-promises__icon, .sg-module-reassurance__icon, .sg-product-highlights__icon, .SGGLOVES-contact-reassurance .SGGLOVES-contact-card__icon, .blockreassurance--horizontal:where(:has(> :nth-child(4)):not(:has(> :nth-child(5)))) .reassurance__image) svg * {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.55px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    vector-effect: non-scaling-stroke;
  }

  html body :is(.SGGLOVES-home-feature, .sg-product-highlights__item) > div,
  html body .sg-module-promises__copy,
  html body .blockreassurance--horizontal:where(:has(> :nth-child(4)):not(:has(> :nth-child(5)))) .reassurance__content {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
    white-space: normal !important;
  }
  html body :is(.SGGLOVES-home-feature h2, .sg-module-reassurance__item > strong, .sg-product-highlights__title, .sg-module-promises__copy, .SGGLOVES-contact-reassurance strong, .blockreassurance--horizontal:where(:has(> :nth-child(4)):not(:has(> :nth-child(5)))) .reassurance__title) {
    grid-column: 2 !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #071b36 !important;
    font-family: inherit !important;
    font-size: var(--sg-trust-size) !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
  }
  html body :is(.SGGLOVES-home-feature p, .sg-module-reassurance__item > span:not(.sg-module-reassurance__icon), .sg-product-highlights__caption, .SGGLOVES-contact-reassurance > div > span:not(.SGGLOVES-contact-card__icon), .blockreassurance--horizontal:where(:has(> :nth-child(4)):not(:has(> :nth-child(5)))) .reassurance__desc) {
    grid-column: 2 !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    color: #24364e !important;
    font-size: max(11px, calc(var(--sg-trust-size) - 1px)) !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
  }

  @media (max-width: 991.98px) {
    html body :is(.sg-module-promises, .SGGLOVES-home-features, .sg-module-reassurance, .sg-product-highlights, .SGGLOVES-contact-reassurance, .blockreassurance--horizontal:where(:has(> :nth-child(4)):not(:has(> :nth-child(5))))) {
      --sg-trust-size: var(--sg-type-mobile-reassurance-font-size, 13px);
      --sg-trust-icon: var(--sg-type-mobile-reassurance-icon-size, 20px);
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 12px !important;
      width: calc(100% - 32px) !important;
      padding: 12px 0 !important;
    }
    html body .SGGLOVES-home-features.SGGLOVES-mobile-hidden { display: none !important; }
    html body .sg-product-highlights,
    html body :is(.sg-product-main-modules, .sg-product-commerce__reassurance) .sg-module-reassurance { width: 100% !important; }
  }
  @media (max-width: 575.98px) {
    html body :is(.sg-module-promises, .SGGLOVES-home-features, .sg-module-reassurance, .sg-product-highlights, .SGGLOVES-contact-reassurance, .blockreassurance--horizontal:where(:has(> :nth-child(4)):not(:has(> :nth-child(5))))) {
      grid-template-columns: minmax(0, 1fr) !important;
    }
  }
  @media (forced-colors: active) {
    html body :is(.sg-module-promises, .SGGLOVES-home-features, .sg-module-reassurance, .sg-product-highlights, .SGGLOVES-contact-reassurance, .blockreassurance--horizontal:where(:has(> :nth-child(4)):not(:has(> :nth-child(5))))) > :is(span, article, div, a) {
      background: Canvas !important;
      border: 1px solid CanvasText !important;
      color: CanvasText !important;
    }
  }
}
