/* Zetronix Refresh v0.11.1 · site footer (zxr-footer.css)
 *
 * Restyles the theme's footer (footer-1: contact, why Zetronix, links,
 * newsletter, social, payments) in the Refresh style: navy panel, sky labels
 * with the orange dash, orange checks, one white-on-navy newsletter card,
 * content up to 1600px wide like the new pages. CSS only: the footer text
 * still comes from the admin. Loads on every page.
 */

.page-footer {
    --zxr-f-navy: #0b1830;
    --zxr-f-navy-2: #0e2147;
    --zxr-f-deep: #081226;
    --zxr-f-sky: #9fc5ff;
    --zxr-f-text: #e6ecf5;
    --zxr-f-soft: #c7d1e3;
    --zxr-f-muted: #aebad0;
    --zxr-f-line: rgba(255, 255, 255, .12);
    --zxr-f-orange: #fe7209;
    --zxr-f-orange-icon: #ff9433;
    --zxr-f-cta: #f26a00;
    --zxr-f-cta-hover: #d95f00;
    --zxr-f-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --zxr-f-gutter: 40px;
    --zxr-f-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9433' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
    --zxr-f-arrow-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E");
    --zxr-f-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E");
    --zxr-f-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M3.5 7l8.5 6 8.5-6'/%3E%3C/svg%3E");
}

/* ---------- panel ---------- */

.page-footer .footer-1 {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(50% 70% at 100% 0%, rgba(159, 197, 255, .12), rgba(159, 197, 255, 0) 70%),
        radial-gradient(45% 60% at 0% 100%, rgba(13, 77, 173, .35), rgba(13, 77, 173, 0) 70%),
        linear-gradient(180deg, var(--zxr-f-navy) 0%, var(--zxr-f-navy-2) 100%);
    color: var(--zxr-f-soft);
    font-family: var(--zxr-f-font);
    -webkit-font-smoothing: antialiased;
}
.page-footer .footer-1 .footer-top,
.page-footer .footer-1 .footer-middle,
.page-footer .footer-1 .footer-bottom {
    background: transparent !important;
    border: 0;
}
.page-footer .footer-1 .container {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 1600px !important;
    margin: 0 auto;
    padding: 0 var(--zxr-f-gutter) !important;
}
.page-footer .footer-1 .row { margin: 0; }
.page-footer .footer-1 .row > [class*="col-"] {
    flex: none;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
}
.page-footer .footer-1 :is(p, li, span, strong, address, a, div, h4) { font-family: var(--zxr-f-font); }

/* ---------- top: contact / why / links ---------- */

.page-footer .footer-1 .footer-top { padding: 64px 0 52px; }
.page-footer .footer-1 .footer-top .row {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
}
.page-footer .footer-1 .footer-top .col-lg-1 { display: none; }

/* Column titles: sky label with the orange dash, as on the new pages */
.page-footer .footer-1 .title-footer {
    margin: 0 0 22px !important;
    padding: 0 0 0 26px !important;
    border: 0 !important;
    background: linear-gradient(var(--zxr-f-orange), var(--zxr-f-orange)) 0 50% / 18px 3px no-repeat;
    color: var(--zxr-f-sky) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.page-footer .footer-1 .title-footer::before,
.page-footer .footer-1 .title-footer::after { content: none !important; display: none !important; }

.page-footer .footer-1 .block-footer { margin: 0 !important; padding: 0 !important; }
.page-footer .footer-1 .block-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.page-footer .footer-1 .block-footer li { margin: 0; padding: 0; }
.page-footer .footer-1 .block-footer li::before { content: none; }

/* Contact: small label over each value */
.page-footer .footer-1 .block-footer-contact li {
    margin: 0 0 14px !important;
    color: var(--zxr-f-text);
    font-size: 15.5px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.page-footer .footer-1 .block-footer-contact li > span {
    display: block;
    color: var(--zxr-f-muted) !important;
}
.page-footer .footer-1 .block-footer-contact li strong {
    display: block;
    margin-bottom: 1px;
    color: var(--zxr-f-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
}
.page-footer .footer-1 .block-footer-contact li a {
    color: var(--zxr-f-text) !important;
    text-decoration: none;
}
.page-footer .footer-1 .block-footer-contact li a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* Shopper Approved seal: the image has no address, so it only shows its alt text */
.page-footer .footer-1 .shoper_products:has(img:not([src])),
.page-footer .footer-1 .shoper_products img:not([src]) { display: none; }
.page-footer .footer-1 .shoper_products { margin-top: 18px; }

/* Why Zetronix: orange check on a soft orange dot */
.page-footer .footer-1 ul.features li {
    position: relative;
    margin: 0 0 14px !important;
    padding: 1px 0 0 34px !important;
    color: var(--zxr-f-text);
    font-size: 15.5px;
    line-height: 1.45;
}
.page-footer .footer-1 ul.features li::before {
    content: "" !important;
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    margin: 0 !important;
    border-radius: 999px;
    background: var(--zxr-f-check) center / 14px no-repeat, rgba(255, 148, 51, .16);
    font-size: 0 !important;
}

/* Links: two columns */
.page-footer .footer-1 ul.links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 24px;
}
.page-footer .footer-1 ul.links li { margin: 0 !important; }
.page-footer .footer-1 ul.links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: var(--zxr-f-soft) !important;
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
    transition: color .2s ease;
}
.page-footer .footer-1 ul.links a::before { content: none !important; display: none !important; }
.page-footer .footer-1 ul.links a:hover {
    color: var(--zxr-f-text) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- middle: newsletter card ---------- */

.page-footer .footer-1 .footer-middle { padding: 0 0 48px; }
.page-footer .footer-1 .footer-middle .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    padding: 32px 36px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .05);
    box-shadow: inset 0 0 0 1px var(--zxr-f-line);
}
.page-footer .footer-1 .newsletter-info-footer { position: relative; padding-left: 64px; }
.page-footer .footer-1 .newsletter-info-footer::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    border-radius: 999px;
    background: var(--zxr-f-navy);
    box-shadow: inset 0 0 0 1px var(--zxr-f-line);
}
.page-footer .footer-1 .newsletter-info-footer::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    background: var(--zxr-f-orange-icon);
    -webkit-mask: var(--zxr-f-mail) center / contain no-repeat;
    mask: var(--zxr-f-mail) center / contain no-repeat;
}
.page-footer .footer-1 .newsletter-info-footer > div {
    color: var(--zxr-f-sky) !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
}
.page-footer .footer-1 .newsletter-info-footer > p {
    margin: 4px 0 0 !important;
    color: var(--zxr-f-text) !important;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: none !important;
}

.page-footer .footer-1 .block-newsletter { width: 100%; max-width: none; margin: 0; padding: 0; float: none; }
.page-footer .footer-1 .block-newsletter .content,
.page-footer .footer-1 .block-newsletter form.subscribe {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin: 0;
}
.page-footer .footer-1 .block-newsletter .field.newsletter {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    max-width: none;
}
.page-footer .footer-1 .block-newsletter .field .control { width: 100%; }
.page-footer .footer-1 .block-newsletter .field .control::before { content: none !important; }
.page-footer .footer-1 .block-newsletter .label {
    position: absolute !important;
    width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.page-footer .footer-1 .block-newsletter input[type="email"] {
    box-sizing: border-box;
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 0 18px !important;
    border: 1px solid #7d889c !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: #0e1726 !important;
    font-family: var(--zxr-f-font);
    font-size: 16px !important;
}
.page-footer .footer-1 .block-newsletter input[type="email"]::placeholder { color: #566378; opacity: 1; }
.page-footer .footer-1 .block-newsletter .actions { flex: none; display: flex; width: auto; margin: 0 !important; padding: 0 !important; }
.page-footer .footer-1 .block-newsletter button.action.subscribe,
.page-footer .footer-1 .block-newsletter button.action.subscribe:focus,
.page-footer .footer-1 .block-newsletter button.action.subscribe:active {
    -webkit-appearance: none;
    appearance: none;
    height: 56px;
    margin: 0 !important;
    padding: 0 28px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--zxr-f-cta) !important;
    box-shadow: 0 10px 22px -12px rgba(242, 106, 0, .8) !important;
    color: #ffffff !important;
    font-family: var(--zxr-f-font);
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-transform: none !important;
    white-space: nowrap;
}
.page-footer .footer-1 .block-newsletter button.action.subscribe:hover { background: var(--zxr-f-cta-hover) !important; }
.page-footer .footer-1 .block-newsletter button.action.subscribe span { color: inherit; font: inherit; }
.page-footer .footer-1 .block-newsletter div.mage-error,
.page-footer .footer-1 .block-newsletter .mage-error[generated] {
    margin-top: 6px;
    color: #ffb4a8 !important;
    font-size: 13.5px;
}

/* ---------- bottom: social, payments, copyright ---------- */

.page-footer .footer-1 .footer-bottom { padding: 0 0 28px; }
.page-footer .footer-1 .footer-bottom .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    padding-top: 24px;
    border-top: 1px solid var(--zxr-f-line);
}
.page-footer .footer-1 .social-icons { display: flex; gap: 10px; margin: 0; }
.page-footer .footer-1 .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1px var(--zxr-f-line);
    color: var(--zxr-f-text) !important;
    font-size: 19px;
    line-height: 1;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}
.page-footer .footer-1 .social-icons a:hover { background: var(--zxr-f-cta); color: #ffffff !important; }
.page-footer .footer-1 .social-icons a i {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit;
    font-size: 19px !important;
    line-height: 1 !important;
}
.page-footer .footer-1 .social-icons a i::before { display: block; line-height: 1; }
/* Twitter is now X; Font Awesome 6.1 on the site has no X icon, so draw it */
.page-footer .footer-1 .social-icons .fa-twitter::before {
    content: "" !important;
    display: block;
    width: 17px;
    height: 17px;
    background: currentColor;
    -webkit-mask: var(--zxr-f-x) center / contain no-repeat;
    mask: var(--zxr-f-x) center / contain no-repeat;
}

.page-footer .footer-1 .payment-coppyright {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px 24px;
    margin: 0;
    text-align: right;
}
.page-footer .footer-1 .payment-coppyright .zx-pay {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    order: 2;
}
.page-footer .footer-1 .payment-coppyright .zx-pay > * { margin: 0 !important; }
.page-footer .footer-1 .payment-coppyright address {
    order: 1;
    margin: 0;
    color: var(--zxr-f-muted);
    font-size: 13.5px;
    font-style: normal;
    line-height: 1.5;
}
.page-footer .footer-1 .payment-coppyright address a { color: var(--zxr-f-sky) !important; text-decoration: none; }
.page-footer .footer-1 .payment-coppyright address a:hover { text-decoration: underline; }

/* Focus rings on navy */
.page-footer .footer-1 a:focus-visible,
.page-footer .footer-1 button:focus-visible {
    outline: 3px solid var(--zxr-f-sky) !important;
    outline-offset: 2px;
}
.page-footer .footer-1 .block-newsletter input[type="email"]:focus-visible {
    outline: 3px solid var(--zxr-f-sky) !important;
    outline-offset: 2px;
}

/* Back-to-top button: navy circle */
#sm-totop {
    width: 44px !important;
    height: 44px !important;
    border-radius: 999px !important;
    background: var(--zxr-f-navy, #0b1830) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 10px 22px -10px rgba(11, 24, 48, .7) !important;
    line-height: 44px !important;
}
#sm-totop em { display: none; }
#sm-totop::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    left: 12px;
    top: 12px;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    z-index: 1 !important;
    opacity: 1 !important;
    transform: none !important;
    background: #ffffff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- PC widths 1000-1239px ---------- */

@media (max-width: 1239px) {
    .page-footer { --zxr-f-gutter: 24px; }
    .page-footer .footer-1 .footer-top .row { gap: 36px; }
}

/* ---------- tablets and phones ---------- */

@media (max-width: 999px) {
    .page-footer { --zxr-f-gutter: 16px; }
    .page-footer .footer-1 .footer-top { padding: 44px 0 20px; }
    .page-footer .footer-1 .footer-top .row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 28px 24px;
    }
    .page-footer .footer-1 .footer-top .col-lg-5,
    .page-footer .footer-1 .footer-top .col-lg-2 { grid-column: 1 / -1; }
    .page-footer .footer-1 .footer-top .col-lg-4 { grid-column: 1 / -1; }
    .page-footer .footer-1 .title-footer { margin-bottom: 16px !important; }
    .page-footer .footer-1 .block-footer-contact ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 20px;
    }
    .page-footer .footer-1 .block-footer-contact li { font-size: 15px; }
    .page-footer .footer-1 ul.features li { font-size: 15px; margin-bottom: 12px !important; }

    .page-footer .footer-1 .footer-middle { padding-bottom: 32px; }
    .page-footer .footer-1 .footer-middle .row {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 22px 18px;
        border-radius: 20px;
    }
    .page-footer .footer-1 .newsletter-info-footer > p { font-size: 16px; }

    .page-footer .footer-1 .footer-bottom .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-footer .footer-1 .payment-coppyright { justify-content: center; text-align: center; }
    .page-footer .footer-1 .payment-coppyright .zx-pay { justify-content: center; }
}

@media (max-width: 599px) {
    .page-footer .footer-1 .block-footer-contact ul { grid-template-columns: minmax(0, 1fr); }
    .page-footer .footer-1 .block-newsletter form.subscribe { flex-direction: column; }
    .page-footer .footer-1 .block-newsletter .actions { width: 100%; }
    .page-footer .footer-1 .block-newsletter button.action.subscribe { width: 100%; }
    .page-footer .footer-1 .newsletter-info-footer { padding-left: 60px; }
}

@media (prefers-reduced-motion: reduce) {
    .page-footer .footer-1 * { transition: none !important; }
}
