/* Shared footer and exit offer. Scoped resets defend against HostX/Bootstrap.
   Tokens have fallbacks because these includes also appear outside .sh-sec. */
footer.shf {
    --sh-focus: #fff;
    width: 100%; margin: 0; padding: 0; float: none; border: 0;
    background: #1b1b1f; color: #c9c9d1;
    font: 14px/1.65 'Open Sans', sans-serif; text-align: left;
}
.shf *, .shf *::before, .shf *::after,
.shp-overlay *, .shp-overlay *::before, .shp-overlay *::after { box-sizing: border-box; }
.shf :where(div, nav, ul, li, p, h2, a, button, span, img, svg),
.shp-overlay :where(div, p, h2, a, button, span, svg) {
    margin: 0; padding: 0; float: none; box-shadow: none; text-transform: none;
    letter-spacing: normal; line-height: inherit; background: none; border: 0;
}
.shf ul { list-style: none; }
.shf li::before, .shf li::after, .shf a::before, .shf a::after,
.shp-overlay a::before, .shp-overlay a::after, .shp-overlay button::before, .shp-overlay button::after { content: none; }
.shf a, .shp-overlay a, .shp-overlay button { color: inherit; font: inherit; text-decoration: none; }
.shf a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.shf :is(a, button):focus-visible, .shp-overlay :is(a, button, [tabindex]):focus-visible {
    outline: 2px solid var(--sh-focus, #1b1b1f); outline-offset: 3px;
}
.shf .shf-wrap { max-width: 1228px; margin: 0 auto; padding: 64px 24px 28px; }
.shf .shf-intro { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid #3a3a42; }
.shf .shf-brand { display: inline-flex; min-height: 44px; align-items: center; font: 800 38px/1.2 Poppins, sans-serif; letter-spacing: -1.5px; color: #fff; text-decoration: none; }
.shf .shf-brand span { color: #dc1f26; }
.shf .shf-intro p { max-width: 410px; font-size: 16px; }
.shf .shf-directory { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 40px; padding: 40px 0 48px; }
.shf .shf-column { min-width: 0; }
.shf .shf-column h2 { margin-bottom: 12px; color: #fff; font: 600 15px/1.5 Poppins, sans-serif; }
.shf .shf-column a, .shf .shf-column button.shf-chat { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 9px 0; overflow-wrap: anywhere; }
.shf .shf-contact-number { display: block; font-size: 12px; color: #b6b6c0; }
.shf .shf-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 32px; padding-top: 24px; border-top: 1px solid #3a3a42; font-size: 12px; }
.shf .shf-legal span { display: block; margin-top: 4px; color: #b6b6c0; }
.shf .shf-payments, .shf .shf-payments ul, .shf .shf-social { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.shf .shf-payments { gap: 12px; }
.shf .shf-payment { display: flex; align-items: center; justify-content: center; width: 104px; height: 38px; padding: 7px 8px; background: #f4f5f7; border-radius: 3px; color: #3a3a42; font: 600 12px/1 Poppins, sans-serif; }
.shf .shf-payment img { display: block; width: 88px; height: 24px; max-width: 100%; object-fit: contain; }
.shf .shf-social { gap: 4px; }
.shf .shf-social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.shp-overlay {
    --sh-focus: #1b1b1f;
    position: fixed; inset: 0; z-index: 2147483000; display: flex;
    align-items: center; justify-content: center; padding: 24px;
    overflow-y: auto; overscroll-behavior: contain;
    background: rgba(27,27,31,.65); color: var(--sh-text, #3a3a42);
    font: 16px/1.65 'Open Sans', sans-serif; text-align: left;
}
.shp-overlay[hidden], .shp-overlay [hidden] { display: none !important; }
.shp-overlay .shp-dialog { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 48px 40px 24px; background: #fff; border-radius: 6px; box-shadow: 0 24px 80px rgba(0,0,0,.22); }
.shp-overlay button { appearance: none; border: 0; border-radius: 0; cursor: pointer; text-align: left; }
.shp-overlay .shp-close { position: absolute; top: 8px; right: 8px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.shp-overlay .shp-campaign { padding-right: 20px; color: var(--sh-muted, #62616a); font: 500 14px/1.5 Poppins, sans-serif; overflow-wrap: anywhere; }
.shp-overlay h2 { margin: 12px 0 16px; color: var(--sh-ink, #1b1b1f); font: 800 40px/1.12 Poppins, sans-serif; letter-spacing: -1px; overflow-wrap: anywhere; }
.shp-overlay .shp-description { font-size: 15px; }
.shp-overlay .shp-code { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin: 28px 0 20px; padding: 20px; border: 1px dashed #b7a7a2; background: var(--sh-panel, #fff6f3); border-radius: 3px; }
.shp-overlay .shp-code-value { min-width: 0; font: 600 22px/1.4 Poppins, sans-serif; overflow-wrap: anywhere; user-select: all; color: #1b1b1f; }
.shp-overlay .shp-copy-label { flex: 0 0 70px; font-size: 12px; line-height: 1.5; text-align: right; }
.shp-overlay .shp-countdown { margin-bottom: 20px; font-size: 12px; color: var(--sh-muted, #62616a); font-variant-numeric: tabular-nums; }
.shp-overlay .shp-primary { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: 3px; background: #dc1f26; color: #fff; font: 500 15px/1.6 Poppins, sans-serif; }
.shp-overlay .shp-primary:hover { background: #bd1720; color: #fff; text-decoration: none; }
.shp-overlay .shp-dismiss { display: block; min-height: 44px; margin: 8px auto 0; padding: 10px 16px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.shp-overlay .shp-copy-buffer { position: fixed; top: 0; left: -9999px; font-size: 16px; }
@media (max-width: 1023px) {
    .shf .shf-directory { gap: 24px; }
    .shf .shf-bottom { align-items: flex-start; }
}
@media (max-width: 900px) {
    .shf .shf-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
}
@media (max-width: 767px) {
    .shf .shf-wrap { padding: 44px 20px 24px; }
    .shf .shf-intro { display: block; padding-bottom: 28px; }
    .shf .shf-intro p { margin-top: 20px; font-size: 14px; }
    .shf .shf-break { display: none; }
    .shf .shf-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; padding: 28px 0 36px; }
    .shf .shf-column a, .shf .shf-column button.shf-chat { font-size: 13px; }
    .shf .shf-payments { display: block; }
    .shf .shf-payments ul { margin-top: 10px; }
    .shf .shf-bottom { flex-direction: column; gap: 20px; }
    .shp-overlay { padding: 16px; }
    .shp-overlay .shp-dialog { padding: 48px 24px 20px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
    .shp-overlay h2 { font-size: 30px; }
    .shp-overlay .shp-code { padding: 16px 12px; gap: 8px; }
    .shp-overlay .shp-code-value { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .shf *, .shp-overlay * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* International payments note under the payment marks. */
.shf .shf-payments-note { flex-basis: 100%; margin: 10px 0 0; font-size: 12px; line-height: 1.6; color: #a9a9b3; }
.shf .shf-payments-note a { color: #e4e4e8; text-decoration: underline; text-underline-offset: 3px; }
.shf .shf-payments-note a:hover { color: #ffffff; }

/* Client area pages (HostX sidebar layout): the main column floats and both
   sidebars are position: fixed (z-index 999 and 9). Start the footer below the
   floats and paint it above the fixed sidebars; the header (1030) stays on top. */
.shf { clear: both; position: relative; z-index: 1000; }

/* "Live chat" is a button that looks like the footer links. */
.shf button.shf-chat { width: 100%; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.shf button.shf-chat:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
