/* Save On Toners overrides. Loaded after all generated theme CSS. */
:root {
    --sot-cyan: #00aeef;
    --sot-cyan-dark: #008dbf;
    --sot-yellow: #ffd500;
    --sot-magenta: #ec1c74;
    --sot-ink: #151a22;
    --sot-navy: #082a45;
    --sot-navy-2: #0d3858;
    --sot-border: #dbe5ec;
}

/* Header navigation contrast */
.header-upper {
    min-height: 38px;
    background: #f4f8fb !important;
    border-bottom: 1px solid var(--sot-border) !important;
}

/* Keep the main header/search light. Only navigation and footer are dark. */
.sot-header.header,
.sot-header .header-lower,
.sot-header .search-box,
.sot-header .search-box form,
.sot-header .header-links-wrapper {
    background: #fff !important;
    color: var(--sot-ink) !important;
}

.sot-header .header-lower {
    box-shadow: none !important;
}

.sot-header .search-box input.search-box-text {
    background: #fff !important;
    color: #3f4b55 !important;
    border-color: var(--sot-border) !important;
}

.sot-header .search-box input.search-box-text::placeholder {
    color: #89959e !important;
}

.sot-header .header-links a,
.sot-header .header-links span {
    color: #5e6b75 !important;
}

.sot-header-service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1500px;
    min-height: 38px;
    margin: 0 auto;
    padding: 0 28px;
    color: #52616d;
    font-size: 13px;
}

.sot-header-tagline {
    color: var(--sot-navy);
    font-weight: 800;
    letter-spacing: .025em;
}

.sot-header-service a {
    color: var(--sot-cyan-dark);
    font-weight: 700;
}

.sot-header-service a:hover { color: var(--sot-magenta); }
.sot-header-divider { margin: 0 10px; color: #a8b6c0; }

.header-menu-parent,
.header-menu,
.header-menu.categories-in-side-panel {
    background: var(--sot-navy) !important;
}

.header-menu {
    border: 0 !important;
    box-shadow: 0 4px 14px rgba(8, 42, 69, .18);
}

.category-navigation-list-wrapper {
    background: var(--sot-cyan) !important;
}

.category-navigation-title,
.header-menu > ul > li > a,
.header-menu .mega-menu > li > a,
.header-menu .menu-item-link {
    color: #fff !important;
    text-shadow: none !important;
}

.category-navigation-title {
    font-weight: 800 !important;
    letter-spacing: .035em;
}

.header-menu > ul > li > a,
.header-menu .mega-menu > li > a {
    font-weight: 800 !important;
    letter-spacing: .025em;
}

.header-menu > ul > li:hover > a,
.header-menu > ul > li.current > a,
.header-menu .mega-menu > li:hover > a {
    background: var(--sot-navy-2) !important;
    color: var(--sot-yellow) !important;
}

.category-navigation-list-wrapper:hover {
    background: var(--sot-cyan-dark) !important;
}

.search-box .search-box-button {
    background-color: var(--sot-cyan) !important;
}

.search-box .search-box-button:hover {
    background-color: var(--sot-magenta) !important;
}

/* Custom footer */
.footer.sot-footer {
    position: relative;
    overflow: hidden;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    background: var(--sot-navy) !important;
    color: #dce8ef !important;
}

.footer.sot-footer::before {
    content: "";
    display: block;
    height: 5px;
    background: linear-gradient(90deg, var(--sot-cyan) 0 34%, var(--sot-yellow) 34% 67%, var(--sot-magenta) 67% 100%);
}

.sot-footer .footer-upper {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    float: none !important;
    clear: both;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 32px max(5vw, 30px);
    background: #f4f8fb !important;
    border: 0 !important;
    box-sizing: border-box;
}

.sot-newsletter-copy {
    max-width: 520px;
    text-align: left;
}

.sot-newsletter-copy strong {
    display: block;
    margin-bottom: 6px;
    color: var(--sot-ink);
    font-size: 24px;
}

.sot-newsletter-copy span {
    color: #56636d;
    font-size: 15px;
}

.sot-footer .newsletter-box {
    width: min(560px, 100%);
    margin: 0 !important;
}

.sot-footer .newsletter-box .title,
.sot-footer .footer-upper > .title,
.sot-footer .footer-upper .newsletter .title { display: none !important; }
.sot-footer .newsletter-email { display: flex; }
.sot-footer .newsletter-email input[type="email"] { flex: 1; }
.sot-footer .newsletter-subscribe-button { background: var(--sot-cyan) !important; }
.sot-footer .newsletter-subscribe-button:hover { background: var(--sot-magenta) !important; }

.sot-footer .footer-middle {
    display: grid !important;
    grid-template-columns: 1.45fr 1fr 1fr 1fr;
    align-items: start;
    gap: 44px;
    float: none !important;
    clear: both;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: 1500px;
    margin: 0 auto;
    padding: 44px 42px 36px;
    background: transparent !important;
    box-sizing: border-box;
}

.sot-footer .footer-block,
.sot-footer .socials-and-payments {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.sot-footer-brandmark {
    display: inline-block;
    margin-bottom: 20px;
    padding: 12px 16px 9px;
    border-radius: 10px;
    background: #fff !important;
}

.sot-footer-brandmark img {
    display: block;
    width: 270px;
    max-width: 100%;
    height: auto;
}

.sot-footer-description {
    max-width: 390px;
    margin: 0 0 22px;
    color: #c9d9e3;
    font-size: 15px;
    line-height: 1.7;
}

.sot-footer .social-icons:has(.social-sharing:empty),
.sot-footer .social-icons:has(ul:empty) {
    display: none !important;
}

.sot-contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-size: 15px;
}

.sot-contact-icon {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 174, 239, .16);
    color: var(--sot-cyan);
    font-weight: 800;
}

.sot-footer .title {
    margin: 0 0 18px !important;
    padding: 0 0 11px !important;
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 16px !important;
    text-align: left !important;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.sot-footer .list li { margin: 0 0 11px !important; }
.sot-footer a { color: #dce8ef !important; }
.sot-footer a:hover { color: var(--sot-yellow) !important; }

.sot-footer .social-icons { margin-bottom: 28px; }
.sot-footer .social-sharing a { background-color: rgba(255,255,255,.09) !important; }
.sot-footer .pay-options img {
    margin: 0 5px 7px 0;
    padding: 4px;
    border-radius: 4px;
    background: #fff;
}

.sot-trust-row {
    display: flex !important;
    justify-content: center;
    gap: 28px;
    float: none !important;
    clear: both;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 18px 30px;
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
    background: rgba(0,0,0,.12);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
    box-sizing: border-box;
}

.sot-trust-row span::before {
    content: "✓";
    margin-right: 8px;
    color: var(--sot-cyan);
}

.sot-footer .footer-lower {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    float: none !important;
    clear: both;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 20px 30px !important;
    border: 0 !important;
    background: #051c2d !important;
    color: #aebfca !important;
    font-size: 12px;
}

.sot-footer .footer-lower > div {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

@media (max-width: 1024px) {
    .sot-footer .footer-middle { grid-template-columns: 1.4fr 1fr 1fr; }
    .sot-footer .socials-and-payments { grid-column: 2 / 4; }
}

@media (max-width: 767px) {
    .sot-header-service { justify-content: center; padding: 8px 15px; text-align: center; }
    .sot-header-tagline { display: none; }
    .sot-header-contact { line-height: 1.5; }
    .sot-header-contact a:last-child,
    .sot-header-divider { display: none; }

    .header-menu-parent,
    .header-menu,
    .header-menu.categories-in-side-panel { background: #fff !important; }

    .header-menu .close-menu { background: var(--sot-navy) !important; color: #fff !important; }
    .header-menu .mega-menu > li > a { color: var(--sot-ink) !important; }
    .header-menu .mega-menu > li:hover > a { background: #eef7fb !important; color: var(--sot-cyan-dark) !important; }

    .sot-footer .footer-upper {
        display: block;
        width: 100% !important;
        padding: 28px 20px;
    }

    .sot-newsletter-copy { margin-bottom: 20px; text-align: center; }
    .sot-footer .footer-middle {
        display: block !important;
        padding: 38px 22px;
    }

    .sot-footer .footer-block,
    .sot-footer .socials-and-payments { margin-bottom: 26px !important; }
    .sot-footer-brand { text-align: center !important; }
    .sot-footer-description { margin-left: auto; margin-right: auto; }
    .sot-contact-line { justify-content: center; }
    .sot-trust-row { flex-direction: column; align-items: center; gap: 10px; }
}
