@media (min-width: 768px) {
  body.httx-core .httx-contact-rail {
    position: fixed !important;
    top: 50% !important;
    right: 16px !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 1000 !important;
    display: grid !important;
    grid-template-columns: 56px !important;
    align-items: center !important;
    justify-items: center !important;
    box-sizing: border-box !important;
    width: 56px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 12px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: translateY(-50%) !important;
  }

  body.httx-core .httx-contact-rail .httx-contact-rail__item {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 50px !important;
    box-sizing: border-box !important;
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 50% !important;
    line-height: 1 !important;
  }

  body.httx-core .httx-contact-rail .httx-contact-rail__item > svg {
    display: block !important;
    flex: 0 0 20px !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body.httx-core .httx-contact-rail .httx-contact-rail__mobile-label {
    display: none !important;
  }

  body.httx-core:has(.wnot-article-products) .httx-contact-rail {
    position: fixed !important;
    inset: 50% 16px auto auto !important;
    display: grid !important;
    grid-template-columns: 56px !important;
    width: 56px !important;
    height: auto !important;
    padding: 0 !important;
    gap: 12px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: translateY(-50%) !important;
  }

  body.httx-core:has(.wnot-article-products) .httx-contact-rail .httx-contact-rail__item {
    display: grid !important;
    place-items: center !important;
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 50% !important;
  }

  body.httx-core:has(.wnot-article-products) .httx-contact-rail__mobile-label {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  body.httx-core .httx-contact-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  body.httx-core .httx-contact-rail .httx-contact-rail__item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    min-height: 56px !important;
    padding: 5px 2px !important;
    gap: 5px !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  body.httx-core .httx-contact-rail .httx-contact-rail__item > svg {
    display: block !important;
    flex: 0 0 20px !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body.httx-core .httx-contact-rail .httx-contact-rail__mobile-label {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    color: inherit !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 768px) and (max-width: 1439px) {
  html body.httx-core .httx-article-layout {
    box-sizing: border-box !important;
    padding-right: 72px !important;
  }

  body.wnot-reference-catalog .httx-product-archive > .httx-container {
    box-sizing: border-box !important;
    padding-right: 72px !important;
  }

  body.wnot-staging-core-v6.page-id-216 .httx-contact-page > .httx-container,
  body.wnot-staging-core-v6.wnot-recycle-parity .httx-recycle-products > .httx-container {
    box-sizing: border-box !important;
    padding-right: 72px !important;
  }
}

/* WNOT_MIDWIDTH_CONTACT_RAIL_R32_BEGIN
 * The homepage’s compact layout is used through 767.98px. These selectors
 * deliberately outrank the legacy home stylesheet so the rail does not retain
 * a desktop position while its associated 72px content safe area is removed.
 */
@media (max-width: 767.98px) {
  html body.httx-core.wnot-staging-core-v6 {
    padding-bottom: 0 !important;
  }

  html body.httx-core.wnot-staging-core-v6 .httx-footer {
    padding-bottom: 0 !important;
  }

  html body.httx-core.wnot-staging-core-v6 .httx-footer__main {
    padding-bottom: calc(80px + env(safe-area-inset-bottom)) !important;
  }

  html body.httx-core.wnot-staging-core-v6 .httx-contact-rail {
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: max(0px, env(safe-area-inset-bottom)) !important;
    left: 0 !important;
    z-index: 1000 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) !important;
    gap: 0 !important;
    background: #fff !important;
    border: 1px solid #dbe2ee !important;
    border-radius: 18px 18px 0 0 !important;
    box-shadow: 0 -8px 24px rgb(18 34 60 / 12%) !important;
    transform: none !important;
  }

  html body.httx-core.wnot-staging-core-v6 .httx-contact-rail .httx-contact-rail__item {
    display: flex !important;
    flex: 1 1 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 54px !important;
    min-height: 54px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 5px 2px !important;
    gap: 4px !important;
    color: #17243c !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  html body.httx-core.wnot-staging-core-v6 .httx-contact-rail .httx-contact-rail__item:is(:hover, :focus-visible) {
    color: #4169e1 !important;
    background: rgb(65 105 225 / 8%) !important;
    box-shadow: none !important;
    transform: none !important;
  }

  html body.httx-core.wnot-staging-core-v6 .httx-contact-rail .httx-contact-rail__item svg,
  html body.httx-core.wnot-staging-core-v6 .httx-contact-rail .httx-contact-rail__back-top-icon {
    width: 19px !important;
    height: 19px !important;
  }

  html body.httx-core.wnot-staging-core-v6 .httx-contact-rail .httx-contact-rail__mobile-label {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    color: currentColor !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}
/* WNOT_MIDWIDTH_CONTACT_RAIL_R32_END */
