﻿/*
 * Toner Connection shared theme stylesheet
 * Covers topic pages, the custom header/navigation, and the redesigned homepage.
 * Link this external file from Head.cshtml; do not paste it as an inline style block.
 */

:root {
        --tc-ink: #10263f;
        --tc-ink-deep: #091a2c;
        --tc-orange: #f58220;
        --tc-orange-light: #ffad4d;
        --tc-sky: #eaf4fb;
        --tc-blue: #2377b9;
        --tc-text: #33465a;
        --tc-muted: #68798b;
        --tc-line: #dbe5ed;
        --tc-soft: #f5f8fb;
        --tc-white: #fff;
        --tc-radius: 18px;
        --tc-shadow: 0 18px 46px rgba(16, 38, 63, .10);
    }

    .tc-topic,
    .tc-topic * { box-sizing: border-box; }
    .tc-topic { color: var(--tc-text); font-size: 16px; line-height: 1.7; }
    .tc-topic a { color: var(--tc-blue); text-decoration: none; }
    .tc-topic a:hover { color: #155886; text-decoration: underline; }
    .tc-topic-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

    .tc-topic-nav {
        margin: 0 0 24px; padding: 10px; display: flex; gap: 7px; overflow-x: auto;
        background: var(--tc-white); border: 1px solid var(--tc-line); border-radius: 14px;
        box-shadow: 0 8px 22px rgba(16, 38, 63, .06); scrollbar-width: thin;
    }
    .tc-topic-nav a {
        flex: 0 0 auto; padding: 9px 13px; color: var(--tc-ink); border-radius: 8px;
        font-size: 13px; font-weight: 750; line-height: 1.2; white-space: nowrap;
    }
    .tc-topic-nav a:hover,
    .tc-topic-nav a[aria-current="page"] { color: var(--tc-ink-deep); background: #fff0df; text-decoration: none; }

    .tc-topic-hero {
        position: relative; margin: 0 0 30px; padding: clamp(34px, 6vw, 68px);
        color: var(--tc-white); background:
            radial-gradient(circle at 88% 16%, rgba(245,130,32,.32), transparent 25%),
            linear-gradient(135deg, var(--tc-ink), var(--tc-ink-deep));
        border-radius: 24px; overflow: hidden;
    }
    .tc-topic-hero::after {
        content: ""; position: absolute; right: -90px; bottom: -140px; width: 320px; height: 320px;
        border: 44px solid rgba(255,255,255,.035); border-radius: 50%; pointer-events: none;
    }
    .tc-topic-kicker {
        display: inline-flex; align-items: center; gap: 8px; margin: 0 0 13px;
        color: var(--tc-orange-light); font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase;
    }
    .tc-topic-kicker::before { content: ""; width: 28px; height: 3px; background: var(--tc-orange); border-radius: 3px; }
    .tc-topic-hero h1 { max-width: 820px; margin: 0 0 14px; color: #fff; font-size: clamp(31px, 5vw, 54px); line-height: 1.07; letter-spacing: -.035em; }
    .tc-topic-hero p { max-width: 760px; margin: 0; color: #d2deea; font-size: clamp(16px, 2vw, 19px); line-height: 1.65; }
    .tc-topic-hero-actions { position: relative; z-index: 1; margin-top: 24px; display: flex; gap: 11px; flex-wrap: wrap; }

    .tc-btn {
        min-height: 46px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 800; text-decoration: none !important;
        transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    }
    .tc-btn:hover { transform: translateY(-2px); }
    .tc-btn-primary { color: var(--tc-ink-deep) !important; background: linear-gradient(135deg, var(--tc-orange), var(--tc-orange-light)); box-shadow: 0 10px 24px rgba(245,130,32,.22); }
    .tc-btn-secondary { color: #fff !important; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); }
    .tc-btn-light { color: var(--tc-ink) !important; background: #fff; border-color: var(--tc-line); }

    .tc-section { margin: 0 0 30px; }
    .tc-section-head { max-width: 760px; margin: 0 0 20px; }
    .tc-section h2 { margin: 0 0 10px; color: var(--tc-ink); font-size: clamp(24px, 3vw, 34px); line-height: 1.2; letter-spacing: -.025em; }
    .tc-section h3 { margin: 0 0 8px; color: var(--tc-ink); font-size: 19px; line-height: 1.3; }
    .tc-section p { margin: 0 0 14px; }
    .tc-section ul, .tc-section ol { margin: 10px 0 18px; padding-left: 22px; }
    .tc-section li { margin: 0 0 7px; }

    .tc-grid { display: grid; gap: 18px; }
    .tc-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .tc-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .tc-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .tc-card { padding: 25px; background: #fff; border: 1px solid var(--tc-line); border-radius: var(--tc-radius); box-shadow: 0 10px 28px rgba(16,38,63,.055); }
    .tc-card-accent { border-top: 4px solid var(--tc-orange); }
    .tc-card p:last-child, .tc-card ul:last-child { margin-bottom: 0; }
    .tc-icon {
        width: 44px; height: 44px; margin: 0 0 15px; display: inline-flex; align-items: center; justify-content: center;
        color: var(--tc-orange); background: #fff1e3; border-radius: 12px; font-size: 21px; font-weight: 900;
    }

    .tc-split { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 24px; align-items: start; }
    .tc-panel { padding: clamp(24px,4vw,38px); background: var(--tc-soft); border: 1px solid var(--tc-line); border-radius: var(--tc-radius); }
    .tc-panel-dark { color: #d2deea; background: linear-gradient(145deg,var(--tc-ink),var(--tc-ink-deep)); border: 0; }
    .tc-panel-dark h2, .tc-panel-dark h3, .tc-panel-dark strong { color: #fff; }
    .tc-panel-orange { color: #4b311c; background: #fff2e5; border-color: #ffd8b1; }

    .tc-stat { padding: 24px; text-align: center; background: #fff; border: 1px solid var(--tc-line); border-radius: 16px; }
    .tc-stat strong { display: block; color: var(--tc-orange); font-size: 31px; line-height: 1; }
    .tc-stat span { display: block; margin-top: 8px; color: var(--tc-ink); font-size: 13px; font-weight: 750; }

    .tc-check-list { padding: 0 !important; list-style: none; }
    .tc-check-list li { position: relative; padding-left: 29px; }
    .tc-check-list li::before {
        content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
        display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--tc-orange);
        border-radius: 50%; font-size: 12px; font-weight: 900;
    }

    .tc-accordion { display: grid; gap: 11px; }
    .tc-accordion details { background: #fff; border: 1px solid var(--tc-line); border-radius: 13px; overflow: hidden; }
    .tc-accordion summary { position: relative; padding: 17px 52px 17px 20px; color: var(--tc-ink); font-weight: 800; cursor: pointer; list-style: none; }
    .tc-accordion summary::-webkit-details-marker { display: none; }
    .tc-accordion summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--tc-orange); font-size: 25px; line-height: 1; }
    .tc-accordion details[open] summary::after { content: "–"; }
    .tc-accordion details[open] summary { background: #fff7ef; }
    .tc-answer { padding: 0 20px 18px; }
    .tc-answer p:last-child, .tc-answer ul:last-child { margin-bottom: 0; }

    .tc-steps { padding: 0; display: grid; gap: 14px; list-style: none; counter-reset: tc-step; }
    .tc-steps li { position: relative; min-height: 55px; padding: 4px 0 4px 66px; counter-increment: tc-step; }
    .tc-steps li::before {
        content: counter(tc-step); position: absolute; left: 0; top: 0; width: 48px; height: 48px;
        display: flex; align-items: center; justify-content: center; color: #fff; background: var(--tc-ink);
        border: 4px solid #ffd8b1; border-radius: 50%; font-weight: 900;
    }

    .tc-contact-row { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 13px; align-items: start; }
    .tc-contact-row + .tc-contact-row { margin-top: 17px; }
    .tc-contact-row .tc-icon { width: 42px; height: 42px; margin: 0; }
    .tc-contact-row strong { display: block; color: var(--tc-ink); }
    .tc-directory { width: 100%; border-collapse: collapse; }
    .tc-directory th, .tc-directory td { padding: 12px 14px; border-bottom: 1px solid var(--tc-line); text-align: left; }
    .tc-directory th { color: var(--tc-ink); background: var(--tc-soft); font-size: 13px; }

    .tc-note { margin: 20px 0; padding: 17px 19px; background: #fff8e8; border: 1px solid #f5d99a; border-left: 5px solid #e3a51a; border-radius: 10px; }
    .tc-note strong { color: var(--tc-ink); }
    .tc-legal { max-width: 940px; margin: 0 auto; }
    .tc-legal .tc-card { margin-bottom: 16px; }
    .tc-legal h2 { font-size: 23px; }
    .tc-effective { margin-top: 18px !important; color: #aebfd0 !important; font-size: 13px !important; }

    .tc-cta {
        margin-top: 32px; padding: clamp(28px,5vw,48px); display: flex; justify-content: space-between; align-items: center; gap: 24px;
        color: #fff; background: linear-gradient(135deg,var(--tc-ink),var(--tc-ink-deep)); border-radius: 20px;
    }
    .tc-cta h2 { margin: 0 0 6px; color: #fff; }
    .tc-cta p { margin: 0; color: #c7d5e1; }
    .tc-cta-actions { display: flex; gap: 10px; flex: 0 0 auto; flex-wrap: wrap; }

    @media (max-width: 900px) {
        .tc-grid-3, .tc-grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
        .tc-split { grid-template-columns: 1fr; }
        .tc-cta { align-items: flex-start; flex-direction: column; }
    }
    @media (max-width: 620px) {
        .tc-topic-wrap { width: min(100% - 24px,1180px); }
        .tc-topic-nav { margin-bottom: 16px; border-radius: 11px; }
        .tc-topic-hero { padding: 31px 24px; border-radius: 17px; }
        .tc-grid-2, .tc-grid-3, .tc-grid-4 { grid-template-columns: 1fr; }
        .tc-card { padding: 21px; }
        .tc-directory { display: block; overflow-x: auto; }
        .tc-cta-actions, .tc-cta-actions .tc-btn { width: 100%; }
    }

/* ================================================================
   HEADER AND HOMEPAGE
   ================================================================ */

:root {
    --tch-navy: var(--tc-ink);
    --tch-navy-deep: var(--tc-ink-deep);
    --tch-blue: var(--tc-blue);
    --tch-orange: var(--tc-orange);
    --tch-orange-light: var(--tc-orange-light);
    --tch-sky: var(--tc-sky);
    --tch-text: var(--tc-text);
    --tch-muted: var(--tc-muted);
    --tch-line: var(--tc-line);
    --tch-soft: var(--tc-soft);
    --tch-white: var(--tc-white);
    --tch-shadow: var(--tc-shadow);
}

.tc-header-wrap,
    .tc-home-wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

    /* HEADER */
    .tc-site-header,
    .tc-site-header * { box-sizing: border-box; }
    .tc-site-header { position: relative; z-index: 1002; margin: 0; padding: 0; background: #fff; }
    .tc-header-top { color: #c8d5e1; background: var(--tch-navy-deep); border-bottom: 1px solid rgba(255,255,255,.08); }
    .tc-header-top-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
    .tc-header-contact { display: flex; align-items: center; gap: 19px; font-size: 12px; }
    .tc-header-contact a,
    .tc-header-hours { display: inline-flex; align-items: center; gap: 7px; color: #c8d5e1; text-decoration: none; }
    .tc-header-contact a:hover { color: var(--tch-orange-light); }
    .tc-header-contact svg,
    .tc-header-actions svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .tc-header-account-links { display: flex; align-items: center; gap: 12px; }
    .tc-header-account-links .admin-header-links { margin: 0; }
    .tc-header-selectors { display: flex; align-items: center; gap: 7px; }
    .tc-header-selectors > div { margin: 0 !important; }
    .tc-native-header-links .header-links { margin: 0; }
    .tc-native-header-links .header-links ul { display: flex; align-items: center; gap: 14px; margin: 0; }
    .tc-native-header-links .header-links li { margin: 0; }
    .tc-native-header-links .header-links a { color: #c8d5e1; font-size: 12px; text-decoration: none; }
    .tc-native-header-links .header-links a:hover { color: var(--tch-orange-light); }

    .tc-header-main { margin: 0 !important; padding: 0 !important; background: #fff; border: 0; }
    .tc-header-main-inner { min-height: 92px; display: grid; grid-template-columns: minmax(230px, .75fr) minmax(380px, 1.4fr) auto; gap: 30px; align-items: center; }
    .tc-header-logo { float: none !important; width: auto !important; margin: 0 !important; text-align: left !important; }
    .tc-header-logo .logo { display: inline-flex; align-items: center; max-width: 330px; }
    .tc-header-logo img { display: block; width: auto; max-width: 100%; max-height: 60px; }

    .tc-header-search { float: none !important; width: 100% !important; margin: 0 !important; }
    .tc-header-search .nav-panel { position: relative; width: 100%; }
    .tc-search-label { display: block; margin: 0 0 6px; color: var(--tch-muted); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
    .tc-header-search form { position: relative; display: flex !important; width: 100% !important; height: 46px; margin: 0 !important; }
    .tc-header-search .search-box-text { flex: 1 1 auto; width: 100% !important; height: 46px !important; margin: 0 !important; padding: 0 124px 0 16px !important; color: var(--tch-text); background: var(--tch-soft); border: 1px solid #ccd9e3 !important; border-radius: 10px !important; font-size: 14px; }
    .tc-header-search .search-box-text:focus { background: #fff; border-color: var(--tch-orange) !important; box-shadow: 0 0 0 3px rgba(245,130,32,.12); outline: none; }
    .tc-header-search .search-box-button { position: absolute; top: 4px; right: 4px; width: auto !important; min-width: 108px; height: 38px !important; margin: 0 !important; padding: 0 16px !important; color: var(--tch-navy-deep) !important; background: linear-gradient(135deg,var(--tch-orange),var(--tch-orange-light)) !important; border: 0 !important; border-radius: 7px !important; font-size: 12px !important; font-weight: 850 !important; text-indent: 0 !important; }

    .tc-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
    .tc-header-quick,
    .tc-header-account { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9px; font-size: 13px; font-weight: 800; text-decoration: none !important; white-space: nowrap; }
    .tc-header-quick { padding: 0 15px; color: var(--tch-navy-deep) !important; background: #fff0df; border: 1px solid #ffd4aa; }
    .tc-header-account { padding: 0 12px; color: var(--tch-navy) !important; background: #fff; border: 1px solid var(--tch-line); }
    .tc-header-quick:hover,
    .tc-header-account:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(16,38,63,.1); }
    .tc-header-cart { min-width: 48px; }
    .tc-header-cart .header-cart { position: relative !important; top: auto !important; right: auto !important; width: auto !important; margin: 0 !important; }
    .tc-header-cart .cart-link { width: 48px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--tch-navy); border-radius: 9px; }
    .tc-header-cart .ico-cart { min-width: 22px; min-height: 22px; color: #fff !important; }
    .tc-header-cart .cart-qty { color: #fff !important; font-size: 0 !important; }
    .tc-header-cart .cart-qty::after { content: "Cart"; font-size: 0; }
    .tc-header-cart .flyout-cart { top: calc(100% + 7px) !important; right: 0 !important; z-index: 1010; }

    .tc-desktop-nav { color: #fff; background: var(--tch-navy); border-bottom: 4px solid var(--tch-orange); }
    .tc-desktop-nav-inner { min-height: 54px; display: flex; align-items: stretch; }
    .tc-nav-item { position: relative; display: flex; align-items: stretch; }
    .tc-nav-item > a { padding: 0 16px; display: flex; align-items: center; gap: 7px; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
    .tc-nav-item > a:hover,
    .tc-nav-item:focus-within > a,
    .tc-nav-item:hover > a { color: #fff; background: rgba(255,255,255,.08); }
    .tc-nav-item > a span { color: var(--tch-orange-light); font-size: 10px; }
    .tc-nav-dropdown { position: absolute; left: 0; top: 100%; width: 720px; padding: 22px; display: grid; grid-template-columns: 230px 1fr; gap: 22px; color: var(--tch-text); background: #fff; border: 1px solid var(--tch-line); border-top: 3px solid var(--tch-orange); border-radius: 0 0 14px 14px; box-shadow: var(--tch-shadow); visibility: hidden; opacity: 0; transform: translateY(8px); transition: .18s ease; pointer-events: none; }
    .tc-has-menu:hover > .tc-nav-dropdown,
    .tc-has-menu:focus-within > .tc-nav-dropdown { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
    .tc-nav-feature { padding: 20px; color: #d2deea; background: linear-gradient(145deg,var(--tch-navy),var(--tch-navy-deep)); border-radius: 11px; }
    .tc-nav-kicker { display: block; margin-bottom: 8px; color: var(--tch-orange-light); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
    .tc-nav-feature strong { display: block; margin-bottom: 7px; color: #fff; font-size: 19px; line-height: 1.2; }
    .tc-nav-feature p { margin: 0 0 14px; font-size: 12px; line-height: 1.55; }
    .tc-nav-button { color: var(--tch-orange-light) !important; font-size: 12px; font-weight: 800; }
    .tc-nav-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
    .tc-nav-links a { padding: 10px 12px; color: var(--tch-text); border-radius: 8px; text-decoration: none; }
    .tc-nav-links a:hover { background: #fff3e6; }
    .tc-nav-links strong,
    .tc-nav-links span { display: block; }
    .tc-nav-links strong { color: var(--tch-navy); font-size: 13px; }
    .tc-nav-links span { margin-top: 2px; color: var(--tch-muted); font-size: 11px; }
    .tc-nav-dropdown-small { width: 275px; padding: 8px; display: block; }
    .tc-nav-dropdown-small a { display: block; padding: 11px 12px; color: var(--tch-text); border-radius: 7px; font-size: 12px; font-weight: 700; text-decoration: none; }
    .tc-nav-dropdown-small a:hover { color: var(--tch-navy); background: #fff3e6; }
    .tc-nav-help { margin-left: auto; padding: 0 2px 0 20px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; color: #fff !important; text-decoration: none !important; }
    .tc-nav-help span { color: #aebfd0; font-size: 10px; line-height: 1.2; }
    .tc-nav-help strong { color: var(--tch-orange-light); font-size: 12px; line-height: 1.35; }

    /* Hide the theme-generated desktop mega menu because this header provides its own. */
    @media (min-width: 1001px) {
        .tc-site-header + .header-menu { display: none !important; }
    }

    /* HOMEPAGE */
    .html-home-page .master-wrapper-content { width: 100% !important; max-width: none !important; padding: 0 !important; }
    .html-home-page .center-1 { margin: 0 !important; }
    .tc-home,
    .tc-home * { box-sizing: border-box; }
    .tc-home { margin: 0 !important; color: var(--tch-text); }
    .tc-home .page-body { margin: 0; }
    .tc-home-hero { position: relative; height: clamp(410px, 33vw, 540px); overflow: hidden; background: var(--tch-navy-deep); }
    .tc-home-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
    .tc-home-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(7,22,38,.96) 0%,rgba(8,27,47,.87) 34%,rgba(8,27,47,.18) 67%,rgba(8,27,47,.02) 100%); }
    .tc-home-hero-inner { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; }
    .tc-home-hero-copy { width: min(650px,58%); text-align: left; }
    .tc-home-kicker,
    .tc-home-section-kicker { display: inline-block; margin: 0 0 10px; color: var(--tch-orange); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
    .tc-home-hero h1 { margin: 0 0 17px; color: #fff; font-size: clamp(35px,4.1vw,59px); line-height: 1.04; letter-spacing: -.04em; }
    .tc-home-hero p { max-width: 610px; margin: 0; color: #d3dfeb; font-size: clamp(15px,1.5vw,18px); line-height: 1.65; }
    .tc-home-actions { margin-top: 23px; display: flex; gap: 10px; flex-wrap: wrap; }
    .tc-home-btn { min-height: 46px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 850; text-decoration: none !important; transition: transform .18s ease,box-shadow .18s ease; }
    .tc-home-btn:hover { transform: translateY(-2px); }
    .tc-home-btn-primary { color: var(--tch-navy-deep) !important; background: linear-gradient(135deg,var(--tch-orange),var(--tch-orange-light)); box-shadow: 0 10px 24px rgba(245,130,32,.24); }
    .tc-home-btn-secondary { color: #fff !important; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
    .tc-home-btn-light { color: var(--tch-navy) !important; background: #fff; border-color: var(--tch-line); }

    .tc-home-finder { position: relative; z-index: 3; margin-top: -18px; }
    .tc-home-finder-inner { padding: 21px 24px; display: grid; grid-template-columns: minmax(250px,.8fr) minmax(380px,1.35fr) auto; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--tch-line); border-radius: 15px; box-shadow: var(--tch-shadow); }
    .tc-home-finder h2 { margin: 0; color: var(--tch-navy); font-size: clamp(19px,2vw,25px); line-height: 1.2; letter-spacing: -.02em; }
    .tc-home-search { position: relative; height: 50px; display: flex; }
    .tc-home-search input { flex: 1; min-width: 0; height: 50px; padding: 0 150px 0 16px; color: var(--tch-text); background: var(--tch-soft); border: 1px solid #cbd9e4; border-radius: 9px; font-size: 13px; }
    .tc-home-search input:focus { background: #fff; border-color: var(--tch-orange); outline: 0; box-shadow: 0 0 0 3px rgba(245,130,32,.12); }
    .tc-home-search button { position: absolute; top: 4px; right: 4px; height: 42px; padding: 0 16px; color: var(--tch-navy-deep); background: var(--tch-orange); border: 0; border-radius: 7px; font-size: 12px; font-weight: 850; cursor: pointer; }
    .tc-home-finder-links { display: grid; gap: 5px; }
    .tc-home-finder-links a { color: var(--tch-navy); font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
    .tc-home-finder-links a:hover { color: var(--tch-orange); }

    .tc-native-home-widgets:empty,
    .tc-native-home-widgets:has(> :only-child:empty) { display: none; }
    .tc-home-section { padding: clamp(58px,7vw,88px) 0; }
    .tc-home-section-head { margin-bottom: 25px; display: flex; justify-content: space-between; align-items: end; gap: 20px; text-align: left; }
    .tc-home-section h2,
    .tc-home-section-head h2 { margin: 0; color: var(--tch-navy); font-size: clamp(28px,3.5vw,42px); line-height: 1.15; letter-spacing: -.03em; }
    .tc-home-text-link { color: var(--tch-blue); font-size: 13px; font-weight: 800; text-decoration: none; }
    .tc-category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
    .tc-category-card { min-height: 118px; padding: 20px; display: grid; grid-template-columns: 50px minmax(0,1fr) auto; gap: 15px; align-items: center; color: var(--tch-text) !important; background: #fff; border: 1px solid var(--tch-line); border-radius: 15px; box-shadow: 0 8px 24px rgba(16,38,63,.055); text-align: left; text-decoration: none !important; transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
    .tc-category-card:hover { transform: translateY(-4px); border-color: #f5bd88; box-shadow: 0 16px 34px rgba(16,38,63,.11); }
    .tc-category-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; color: var(--tch-orange); background: #fff0df; border-radius: 13px; }
    .tc-category-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
    .tc-category-card strong,
    .tc-category-card small { display: block; }
    .tc-category-card strong { color: var(--tch-navy); font-size: 16px; line-height: 1.25; }
    .tc-category-card small { margin-top: 4px; color: var(--tch-muted); font-size: 12px; line-height: 1.4; }
    .tc-category-card b { color: var(--tch-orange); font-size: 20px; }

    .tc-home-quick-order { background: var(--tch-sky); }
    .tc-home-quick-inner { display: grid; grid-template-columns: minmax(240px,.65fr) minmax(0,1.35fr); gap: clamp(40px,7vw,90px); align-items: center; }
    .tc-home-quick-copy { text-align: left; }
    .tc-home-quick-copy p { max-width: 690px; margin: 14px 0 0; color: var(--tch-muted); font-size: 16px; line-height: 1.7; }
    .tc-home-quick-visual { position: relative; min-height: 265px; background: linear-gradient(145deg,var(--tch-navy),var(--tch-navy-deep)); border-radius: 23px; box-shadow: var(--tch-shadow); overflow: hidden; }
    .tc-quick-sheet { position: absolute; left: 50%; top: 50%; width: 150px; height: 190px; transform: translate(-50%,-50%) rotate(-5deg); background: #fff; border-radius: 9px; box-shadow: 0 16px 30px rgba(0,0,0,.25); }
    .tc-quick-line { position: absolute; left: 50%; width: 85px; height: 8px; background: #dce6ee; border-radius: 5px; transform: translateX(-50%) rotate(-5deg); }
    .tc-quick-line-1 { top: 42%; }
    .tc-quick-line-2 { top: 52%; width: 65px; }
    .tc-quick-check { position: absolute; right: 18%; bottom: 16%; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; color: var(--tch-navy-deep); background: var(--tch-orange); border: 6px solid rgba(255,255,255,.85); border-radius: 50%; font-size: 30px; font-weight: 900; }

    .tc-home-products-shell { padding: 60px 0 10px; }
    .tc-home-products-shell .product-grid { width: 100% !important; margin: 0 !important; }
    .tc-home-products-shell .title { margin-bottom: 22px !important; text-align: left !important; }
    .tc-home-products-shell .title strong { color: var(--tch-navy) !important; font-size: clamp(26px,3vw,36px) !important; }
    .tc-home-products-shell .item-box { transition: transform .18s ease; }
    .tc-home-products-shell .item-box:hover { transform: translateY(-3px); }

    .tc-home-service { margin-top: 60px; color: #d2deea; background: linear-gradient(135deg,var(--tch-navy),var(--tch-navy-deep)); }
    .tc-home-service-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,.9fr); gap: clamp(42px,7vw,88px); align-items: center; }
    .tc-home-service-copy { text-align: left; }
    .tc-home-service h2 { color: #fff; }
    .tc-home-service-copy p { margin: 15px 0 0; color: #c5d3df; font-size: 16px; line-height: 1.7; }
    .tc-service-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .tc-service-cards article { padding: 20px; text-align: left; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 14px; }
    .tc-service-cards span,
    .tc-service-cards strong { display: block; }
    .tc-service-cards span { margin-bottom: 8px; color: var(--tch-orange-light); font-size: 24px; font-weight: 900; }
    .tc-service-cards strong { color: #fff; font-size: 14px; }
    .tc-service-cards p { margin: 5px 0 0; color: #afc0cf; font-size: 12px; line-height: 1.5; }

    .tc-home-trust { padding: 24px 0; background: #fff; border-bottom: 1px solid var(--tch-line); }
    .tc-home-trust-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
    .tc-home-trust-grid > div { padding: 5px 25px; border-right: 1px solid var(--tch-line); text-align: center; }
    .tc-home-trust-grid > div:last-child { border-right: 0; }
    .tc-home-trust strong,
    .tc-home-trust span { display: block; }
    .tc-home-trust strong { color: var(--tch-navy); font-size: 13px; }
    .tc-home-trust span { margin-top: 3px; color: var(--tch-muted); font-size: 11px; }
    .tc-home-bottom-banners { margin: 0; }

    @media (max-width: 1180px) and (min-width: 1001px) {
        .tc-header-main-inner { grid-template-columns: 210px minmax(340px,1fr) auto; gap: 16px; }
        .tc-header-quick span,
        .tc-header-account span { display: none; }
        .tc-header-quick,
        .tc-header-account { width: 44px; padding: 0; }
        .tc-nav-item > a { padding: 0 10px; font-size: 12px; }
        .tc-nav-help { display: none; }
    }

    @media (max-width: 1000px) {
        .tc-site-header { display: none; }
        .tc-header-wrap,
        .tc-home-wrap { width: min(100% - 32px,1240px); }
        .tc-home-hero { height: 480px; }
        .tc-home-hero-image { object-position: 62% center; }
        .tc-home-hero-copy { width: min(620px,70%); }
        .tc-home-finder-inner { grid-template-columns: 1fr 1.35fr; }
        .tc-home-finder-links { grid-column: 1 / -1; grid-template-columns: repeat(2,max-content); justify-content: center; gap: 22px; }
        .tc-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
        .tc-home-service-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 700px) {
        .tc-home-hero { height: 510px; }
        .tc-home-hero-image { object-position: 70% center; }
        .tc-home-hero-shade { background: linear-gradient(90deg,rgba(7,22,38,.97),rgba(7,22,38,.81) 72%,rgba(7,22,38,.45)); }
        .tc-home-hero-copy { width: 100%; }
        .tc-home-hero h1 { font-size: 39px; }
        .tc-home-finder { margin-top: 0; padding: 18px 0; background: var(--tch-soft); }
        .tc-home-finder-inner { width: min(100% - 24px,1240px); padding: 20px; grid-template-columns: 1fr; gap: 15px; }
        .tc-home-finder-links { grid-column: auto; grid-template-columns: 1fr; justify-content: start; }
        .tc-home-section { padding: 54px 0; }
        .tc-category-grid { grid-template-columns: 1fr; }
        .tc-home-quick-inner { grid-template-columns: 1fr; }
        .tc-home-quick-visual { min-height: 220px; }
        .tc-service-cards { grid-template-columns: 1fr; }
        .tc-home-trust-grid { grid-template-columns: 1fr; gap: 15px; }
        .tc-home-trust-grid > div { border-right: 0; }
    }

@media (max-width: 440px) {
        .tc-home-wrap { width: min(100% - 24px,1240px); }
        .tc-home-hero { height: 525px; }
        .tc-home-hero h1 { font-size: 34px; }
        .tc-home-actions,
        .tc-home-btn { width: 100%; }
        .tc-home-search { height: auto; display: grid; gap: 8px; }
        .tc-home-search input { padding-right: 14px; }
        .tc-home-search button { position: static; width: 100%; height: 44px; }
        .tc-home-section-head { align-items: flex-start; flex-direction: column; }
    }

/* ================================================================
   HEADER + HOMEPAGE REFINEMENTS
   Account dropdown, Instant Search, slider/filter order, product grid
   ================================================================ */

.tc-site-header {
    display: flex;
    flex-direction: column;
    overflow: visible !important;
}
.tc-site-header .tc-header-top { order: 1; width: 100%; }
.tc-site-header .tc-header-main { order: 2; width: 100%; }
.tc-site-header .tc-desktop-nav { order: 3; width: 100%; }
.tc-site-header > .widget-zone { order: 4; }

.tc-header-top-inner { min-height: 44px; }
.tc-header-hours,
.tc-header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d8e3ec;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.3;
}
.tc-header-contact { margin-left: auto; gap: 24px; }
.tc-header-hours svg,
.tc-header-contact svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: none;
    stroke: var(--tc-orange-light);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.tc-header-contact a { font-size: 13px; font-weight: 700; }

.tc-header-main-inner {
    min-height: 100px;
    grid-template-columns: minmax(260px, .8fr) minmax(430px, 1.45fr) minmax(310px, auto);
    gap: 26px;
    overflow: visible;
}
.tc-header-actions {
    position: relative;
    min-width: 310px;
    overflow: visible;
    isolation: isolate;
}
.tc-header-quick { min-width: 118px; min-height: 48px; }

.tc-header-account-menu {
    position: relative;
    z-index: 6;
    flex: 0 0 auto;
}
.tc-header-account {
    min-width: 112px;
    min-height: 48px;
    padding: 0 14px;
    cursor: pointer;
}
.tc-header-account b {
    margin-left: 2px;
    color: var(--tc-orange);
    font-size: 10px;
}
.tc-header-account-dropdown {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    width: 285px;
    padding: 10px;
    color: var(--tc-text);
    background: #fff;
    border: 1px solid var(--tc-line);
    border-top: 3px solid var(--tc-orange);
    border-radius: 11px;
    box-shadow: var(--tc-shadow);
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.tc-header-account-menu:hover .tc-header-account-dropdown,
.tc-header-account-menu:focus-within .tc-header-account-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.tc-account-dropdown-head {
    padding: 10px 11px 12px;
    border-bottom: 1px solid var(--tc-line);
}
.tc-account-dropdown-head strong,
.tc-account-dropdown-head span { display: block; }
.tc-account-dropdown-head strong { color: var(--tc-ink); font-size: 15px; }
.tc-account-dropdown-head span { margin-top: 3px; color: var(--tc-muted); font-size: 11px; }
.tc-header-account-dropdown .header-links,
.tc-header-account-dropdown .header-links ul {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
.tc-header-account-dropdown .header-links li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
.tc-header-account-dropdown .header-links a {
    width: 100% !important;
    min-height: 39px;
    padding: 9px 11px !important;
    display: flex !important;
    align-items: center;
    color: var(--tc-text) !important;
    background: transparent !important;
    border-radius: 7px;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none !important;
}
.tc-header-account-dropdown .header-links a:hover {
    color: var(--tc-ink) !important;
    background: #fff2e5 !important;
}
.tc-header-account-dropdown .wishlist-qty { margin-left: 5px; }
.tc-header-account-dropdown .tc-header-selectors {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--tc-line);
}

/* Remove Pioneer/Instant Search container decoration that creates a second box. */
.tc-header-search,
.tc-header-search .nav-panel,
.tc-header-search form,
.tc-header-search #small-search-box-form,
.tc-header-search .search-box {
    max-width: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.tc-header-search form,
.tc-header-search #small-search-box-form {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}
.tc-header-search .search-box-text {
    width: 100% !important;
    max-width: none !important;
    border: 1px solid #cbd9e4 !important;
    outline: 0 !important;
    box-shadow: none !important;
}
.tc-header-search .search-box-text:focus {
    border-color: var(--tc-orange) !important;
    box-shadow: 0 0 0 3px rgba(245,130,32,.12) !important;
}
.tc-header-search .instant-search-busy,
.tc-header-search .ui-autocomplete-loading {
    background-position: calc(100% - 122px) center !important;
}
.tc-header-search .instant-search-results,
.tc-header-search .k-animation-container,
.tc-header-search .ui-autocomplete {
    z-index: 1030 !important;
}

.tc-header-cart {
    position: relative;
    z-index: 8;
    flex: 0 0 52px;
    min-width: 52px;
    overflow: visible;
}
.tc-header-cart .header-cart,
.tc-header-cart .cart-link { width: 52px !important; }
.tc-header-cart .cart-link { height: 48px; }
.tc-header-cart .cart-link > a {
    position: relative !important;
    inset: auto !important;
    width: 52px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: auto !important;
}
.tc-header-cart .flyout-cart {
    min-width: 320px;
    z-index: 1040 !important;
}

/* Rotating banner first, with a controlled shallow height and smaller HTML copy. */
.tc-home-slider-first {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.tc-home-slider-first .slider-wrapper,
.tc-home-slider-first .anywhere-slider,
.tc-home-slider-first .anywhere-slick-slider,
.tc-home-slider-first .slick-list,
.tc-home-slider-first .slick-track,
.tc-home-slider-first .anywhereslider-slide {
    height: clamp(250px, 25vw, 390px) !important;
    max-height: 390px !important;
}
.tc-home-slider-first .picture-slide img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
}
.tc-home-slider-first .html-slide h1,
.tc-home-slider-first .html-slide h2,
.tc-home-slider-first .html-slide .slide-title {
    max-width: 620px;
    font-size: clamp(28px, 3.4vw, 46px) !important;
    line-height: 1.08 !important;
}
.tc-home-slider-first .html-slide p,
.tc-home-slider-first .html-slide .slide-description {
    max-width: 600px;
    font-size: clamp(14px, 1.35vw, 18px) !important;
    line-height: 1.55 !important;
}

/* Ajax Filters Pro now sits directly under the rotating banner. */
.tc-home-advanced-filter {
    padding: 18px 0 20px;
    background: var(--tc-soft);
    border-bottom: 1px solid var(--tc-line);
}
.tc-home-advanced-filter > form,
.tc-home-advanced-filter #AjaxFiltersProForm,
.tc-home-advanced-filter .home-page-filters-wrapper {
    width: min(1240px, calc(100% - 48px)) !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
}
.tc-home-advanced-filter .home-page-filters {
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 15px;
    align-items: center;
    background: transparent !important;
    border: 0 !important;
}
.tc-home-advanced-filter .home-page-filter-selectors {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px;
}
.tc-home-advanced-filter .home-page-filter-selector { width: auto !important; margin: 0 !important; }
.tc-home-advanced-filter .k-dropdown,
.tc-home-advanced-filter .k-picker,
.tc-home-advanced-filter select {
    width: 100% !important;
    min-height: 44px;
    background: #fff;
    border-color: #ccd9e3 !important;
    border-radius: 8px !important;
}
.tc-home-advanced-filter .home-page-filter-button { width: auto !important; margin: 0 !important; }
.tc-home-advanced-filter .search-button {
    min-width: 112px;
    height: 44px !important;
    color: var(--tc-ink-deep) !important;
    background: var(--tc-orange) !important;
    border: 0 !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}
.tc-home-advanced-filter .search-button:disabled { opacity: .48; }

.tc-home-info-widgets:empty { display: none; }
.tc-home-latest-products { padding-top: 70px; }
.tc-home-product-grid .item-grid {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
}
.tc-home-product-grid .item-box {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

@media (max-width: 1180px) and (min-width: 1001px) {
    .tc-header-main-inner {
        grid-template-columns: minmax(220px,.7fr) minmax(390px,1.3fr) minmax(245px,auto);
    }
    .tc-header-actions { min-width: 245px; }
    .tc-header-account { min-width: 48px; }
}

@media (max-width: 900px) {
    .tc-home-product-grid .item-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tc-home-advanced-filter .home-page-filters { grid-template-columns: 1fr; }
    .tc-home-advanced-filter .home-page-filter-selectors { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tc-home-advanced-filter .search-button { width: 100% !important; }
}

@media (max-width: 1000px) {
    .tc-site-header { display: none !important; }
}

@media (max-width: 620px) {
    .tc-home-slider-first .slider-wrapper,
    .tc-home-slider-first .anywhere-slider,
    .tc-home-slider-first .anywhere-slick-slider,
    .tc-home-slider-first .slick-list,
    .tc-home-slider-first .slick-track,
    .tc-home-slider-first .anywhereslider-slide {
        height: 250px !important;
    }
    .tc-home-advanced-filter > form,
    .tc-home-advanced-filter #AjaxFiltersProForm,
    .tc-home-advanced-filter .home-page-filters-wrapper {
        width: min(100% - 24px,1240px) !important;
    }
    .tc-home-advanced-filter .home-page-filter-selectors,
    .tc-home-product-grid .item-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   AJAX FILTERS PRO — INK & TONER FINDER
   Kept here instead of editing the SevenSpikes plugin stylesheet.
   ================================================================ */

.tc-home-advanced-filter {
    padding: 24px 0 30px;
    background:
        radial-gradient(circle at 92% 8%, rgba(245,130,32,.10), transparent 28%),
        linear-gradient(180deg,#f4f8fb 0%,#edf4f8 100%);
}

.tc-home-advanced-filter #AjaxFiltersProForm.tc-ink-toner-finder,
#AjaxFiltersProForm.tc-ink-toner-finder {
    width: min(1240px, calc(100% - 48px)) !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

#AjaxFiltersProForm.tc-ink-toner-finder .home-page-filters-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 26px !important;
    color: var(--tc-text);
    background: #fff !important;
    border: 1px solid var(--tc-line) !important;
    border-bottom: 1px solid var(--tc-line) !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 40px rgba(16,38,63,.10);
    text-align: left !important;
    overflow: visible !important;
}

.tc-filter-heading {
    margin-bottom: 22px;
    padding-bottom: 20px;
    display: grid;
    grid-template-columns: 54px minmax(0,1fr) auto;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid var(--tc-line);
}
.tc-filter-heading-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-orange);
    background: #fff0df;
    border: 1px solid #ffd5ad;
    border-radius: 14px;
}
.tc-filter-heading-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.tc-filter-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: var(--tc-orange);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}
.tc-filter-heading h2 {
    margin: 0;
    color: var(--tc-ink);
    font-size: clamp(23px,2.4vw,32px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -.025em;
}
.tc-filter-heading p {
    margin: 5px 0 0;
    color: var(--tc-muted);
    font-size: 13px;
    line-height: 1.5;
}
.tc-filter-shortcuts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.tc-filter-shortcuts a {
    min-height: 37px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-ink) !important;
    background: var(--tc-soft);
    border: 1px solid var(--tc-line);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none !important;
}
.tc-filter-shortcuts a:hover {
    color: var(--tc-ink-deep) !important;
    background: #fff0df;
    border-color: #ffc98f;
}

#AjaxFiltersProForm.tc-ink-toner-finder .home-page-filters {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 14px;
    align-items: end;
    background: transparent !important;
    border: 0 !important;
}
#AjaxFiltersProForm.tc-ink-toner-finder .home-page-filters::after { display: none !important; }

#AjaxFiltersProForm.tc-ink-toner-finder .home-page-filter-selectors {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 12px !important;
    overflow: visible !important;
}
#AjaxFiltersProForm.tc-ink-toner-finder .home-page-filter-selector {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}
#AjaxFiltersProForm.tc-ink-toner-finder .home-page-filter-selector .k-dropdownlist,
#AjaxFiltersProForm.tc-ink-toner-finder .home-page-filter-selector .k-picker,
#AjaxFiltersProForm.tc-ink-toner-finder .home-page-filter-selector .k-dropdown {
    width: 100% !important;
    min-height: 48px !important;
    display: block !important;
    background: #f8fafc !important;
    border: 1px solid #cbd8e2 !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    cursor: pointer;
    overflow: hidden;
    transition: background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
#AjaxFiltersProForm.tc-ink-toner-finder .home-page-filter-selector .k-dropdownlist:hover,
#AjaxFiltersProForm.tc-ink-toner-finder .home-page-filter-selector .k-picker:hover,
#AjaxFiltersProForm.tc-ink-toner-finder .home-page-filter-selector .k-dropdown:hover {
    background: #fff !important;
    border-color: var(--tc-orange) !important;
    box-shadow: 0 0 0 3px rgba(245,130,32,.09) !important;
}
#AjaxFiltersProForm.tc-ink-toner-finder .home-page-filter-selector .k-disabled {
    background: #f2f5f7 !important;
    border-color: #dfe6eb !important;
    opacity: .62 !important;
    cursor: not-allowed !important;
}
#AjaxFiltersProForm.tc-ink-toner-finder .home-page-filter-selector .k-input-inner {
    position: relative !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 42px 0 14px !important;
    display: flex !important;
    align-items: center !important;
    color: var(--tc-text) !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 13px !important;
    font-weight: 650;
    line-height: 1.2 !important;
    text-align: left !important;
}
#AjaxFiltersProForm.tc-ink-toner-finder .home-page-filter-selector .k-input-inner::after {
    content: "⌄" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--tc-orange) !important;
    background: #fff3e7 !important;
    border-left: 1px solid #f4dac0;
    font-size: 18px;
    font-weight: 900;
}
#AjaxFiltersProForm.tc-ink-toner-finder .home-page-filter-selector .k-button { display: none !important; }

#AjaxFiltersProForm.tc-ink-toner-finder .home-page-filter-button {
    float: none !important;
    width: auto !important;
    min-width: 150px;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: stretch;
}
#AjaxFiltersProForm.tc-ink-toner-finder .search-button {
    float: none !important;
    width: 100% !important;
    min-width: 150px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--tc-ink-deep) !important;
    background: linear-gradient(135deg,var(--tc-orange),var(--tc-orange-light)) !important;
    border: 0 !important;
    border-radius: 9px !important;
    box-shadow: 0 8px 20px rgba(245,130,32,.18);
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-transform: none !important;
    cursor: pointer;
}
#AjaxFiltersProForm.tc-ink-toner-finder .search-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}
#AjaxFiltersProForm.tc-ink-toner-finder .search-button:hover:not(:disabled) {
    background: linear-gradient(135deg,#ff922f,#ffc06e) !important;
    transform: translateY(-1px);
}
#AjaxFiltersProForm.tc-ink-toner-finder .search-button:disabled {
    color: #83909c !important;
    background: #e7edf2 !important;
    box-shadow: none;
    opacity: 1 !important;
    cursor: not-allowed;
}
#AjaxFiltersProForm.tc-ink-toner-finder .results-number {
    float: none !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background: var(--tc-blue) !important;
    border-radius: 9px 0 0 9px;
    font-size: 13px !important;
    font-weight: 850;
}
#AjaxFiltersProForm.tc-ink-toner-finder .results-number:not(:empty) { display: flex !important; }
#AjaxFiltersProForm.tc-ink-toner-finder .results-number:not(:empty) + .search-button { border-radius: 0 9px 9px 0 !important; }
#AjaxFiltersProForm.tc-ink-toner-finder .results-number.loading {
    display: flex !important;
    background-color: var(--tc-blue) !important;
}

.tc-filter-help {
    margin-top: 17px;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px 18px;
    flex-wrap: wrap;
    color: var(--tc-muted);
    border-top: 1px solid var(--tc-line);
    font-size: 11px;
}
.tc-filter-help a {
    color: var(--tc-blue) !important;
    font-weight: 800;
    text-decoration: none !important;
}
.tc-filter-help a:hover { color: var(--tc-orange) !important; }

/* Kendo popup generated outside the form. */
.home-page-filter-dropdown {
    margin-top: 4px !important;
    background: #fff !important;
    border: 1px solid var(--tc-line) !important;
    border-radius: 0 0 10px 10px !important;
    box-shadow: 0 14px 30px rgba(16,38,63,.14) !important;
    overflow: hidden !important;
}
.home-page-filter-dropdown ul { max-height: 240px !important; padding: 6px !important; }
.home-page-filter-dropdown li {
    padding: 9px 11px !important;
    color: var(--tc-text) !important;
    border-radius: 6px;
    font-size: 12px !important;
}
.home-page-filter-dropdown li:hover,
.home-page-filter-dropdown .k-selected { color: var(--tc-ink) !important; background: #fff0df !important; }

@media (max-width: 1000px) {
    .tc-filter-heading { grid-template-columns: 54px minmax(0,1fr); }
    .tc-filter-shortcuts { grid-column: 1 / -1; justify-content: flex-start; }
    #AjaxFiltersProForm.tc-ink-toner-finder .home-page-filter-selectors { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}

@media (max-width: 700px) {
    .tc-home-advanced-filter #AjaxFiltersProForm.tc-ink-toner-finder,
    #AjaxFiltersProForm.tc-ink-toner-finder { width: min(100% - 24px,1240px) !important; }
    #AjaxFiltersProForm.tc-ink-toner-finder .home-page-filters-wrapper { padding: 21px !important; border-radius: 14px !important; }
    .tc-filter-heading { grid-template-columns: 45px minmax(0,1fr); gap: 12px; }
    .tc-filter-heading-icon { width: 45px; height: 45px; border-radius: 11px; }
    .tc-filter-heading h2 { font-size: 23px; }
    #AjaxFiltersProForm.tc-ink-toner-finder .home-page-filters { grid-template-columns: 1fr !important; }
    #AjaxFiltersProForm.tc-ink-toner-finder .home-page-filter-button { width: 100% !important; }
}

@media (max-width: 520px) {
    .tc-filter-heading { grid-template-columns: 1fr; }
    .tc-filter-heading-icon { display: none; }
    .tc-filter-shortcuts { display: grid; grid-template-columns: 1fr 1fr; }
    #AjaxFiltersProForm.tc-ink-toner-finder .home-page-filter-selectors { grid-template-columns: 1fr !important; }
    .tc-filter-help { align-items: flex-start; flex-direction: column; }
}

/* ================================================================
   FINAL HEADER OVERRIDES
   Keep these rules after the base header styles so theme CSS cannot
   reintroduce the Account hover gap or compress the action buttons.
   ================================================================ */

.tc-desktop-nav .tc-nav-item > a {
    padding-inline: 18px;
    font-size: 15px;
    font-weight: 850;
    letter-spacing: .005em;
}

.tc-desktop-nav .tc-nav-item > a > span {
    font-size: 11px;
}

.tc-desktop-nav .tc-nav-links strong {
    font-size: 14px;
}

.tc-desktop-nav .tc-nav-dropdown-small a {
    font-size: 13px;
}

.tc-header-account-menu {
    position: relative;
    z-index: 30;
    overflow: visible;
}

.tc-header-account {
    position: relative;
    z-index: 2;
}

.tc-header-account-dropdown {
    top: calc(100% - 1px);
    right: 0;
    z-index: 40;
    margin: 0;
    transform: none;
    transition: opacity .16s ease, visibility .16s ease;
}

.tc-header-account-menu:hover .tc-header-account-dropdown,
.tc-header-account-menu:focus-within .tc-header-account-dropdown,
.tc-header-account-dropdown:hover {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.tc-header-account-dropdown,
.tc-header-account-dropdown * {
    pointer-events: auto;
}

.tc-header-cart {
    position: relative;
    z-index: 10;
}

@media (min-width: 1181px) {
    .tc-header-main-inner {
        grid-template-columns: minmax(250px, .8fr) minmax(400px, 1.45fr) minmax(350px, auto);
    }

    .tc-header-actions {
        min-width: 350px;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .tc-header-quick {
        flex: 0 0 auto;
        font-size: 14px;
    }

    .tc-header-account-menu {
        flex: 0 0 122px;
    }

    .tc-header-account {
        width: 122px;
        min-width: 122px;
        font-size: 14px;
    }

    .tc-header-cart {
        flex: 0 0 52px;
    }
}

@media (min-width: 1001px) and (max-width: 1180px) {
    .tc-header-main-inner {
        grid-template-columns: minmax(210px, .65fr) minmax(360px, 1fr) minmax(280px, auto);
    }

    .tc-header-actions {
        min-width: 280px;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 9px;
    }

    .tc-header-account-menu,
    .tc-header-account {
        width: 52px;
        min-width: 52px;
        flex-basis: 52px;
    }

    .tc-desktop-nav .tc-nav-item > a {
        padding-inline: 13px;
        font-size: 14px;
    }
}

/* Instant Search owns the outer search field. Style its Kendo wrapper once
   and make the generated input transparent so two nested boxes are not shown. */
.tc-header-search #small-search-box-form {
    position: relative !important;
    display: block !important;
    height: 48px !important;
}

.tc-header-search #small-search-box-form > .k-autocomplete,
.tc-header-search #small-search-box-form > .k-input,
.tc-header-search #small-search-box-form > span[data-role="autocomplete"] {
    position: relative !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    background: var(--tch-soft) !important;
    border: 1px solid #cbd9e4 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.tc-header-search #small-search-box-form > .k-autocomplete:focus-within,
.tc-header-search #small-search-box-form > .k-input:focus-within,
.tc-header-search #small-search-box-form > span[data-role="autocomplete"]:focus-within {
    background: #fff !important;
    border-color: var(--tch-orange) !important;
    box-shadow: 0 0 0 3px rgba(245,130,32,.12) !important;
}

.tc-header-search #small-search-box-form .search-box-text,
.tc-header-search #small-search-box-form .k-input-inner {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 124px 0 16px !important;
    color: var(--tch-text) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.tc-header-search #small-search-box-form .search-box-text:focus,
.tc-header-search #small-search-box-form .k-input-inner:focus {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.tc-header-search #small-search-box-form .search-box-button {
    z-index: 5;
}

/* Reserve a real column for each action. This prevents Account from growing
   over the cart when the theme or browser computes a narrower header grid. */
@media (min-width: 1001px) {
    .tc-header-actions {
        width: 100%;
        min-width: 324px;
        display: grid;
        grid-template-columns: minmax(118px, auto) 122px 52px;
        justify-content: end;
        align-items: center;
        column-gap: 10px;
        overflow: visible;
    }

    .tc-header-quick,
    .tc-header-account-menu,
    .tc-header-account,
    .tc-header-cart {
        min-width: 0;
        max-width: none;
    }

    .tc-header-quick {
        width: 100%;
    }

    .tc-header-account-menu,
    .tc-header-account {
        width: 122px;
    }

    .tc-header-cart,
    .tc-header-cart .header-cart,
    .tc-header-cart .cart-link,
    .tc-header-cart .cart-link > a {
        width: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
    }

    .tc-header-cart {
        grid-column: 3;
        z-index: 50;
        justify-self: end;
        overflow: visible !important;
    }
}