:root {
    --tm-red: #c40000;
    --tm-red-dark: #980000;
    --tm-red-soft: #fff2f2;
    --tm-black: #111111;
    --tm-text: #1a1a1a;
    --tm-text-soft: #6c727f;
    --tm-line: #e7e7ea;
    --tm-bg: #ffffff;
    --tm-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
    --tm-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --tm-shadow-red: 0 16px 28px rgba(196, 0, 0, 0.18);
    --tm-radius: 18px;
    --tm-radius-pill: 999px;
    --tm-container: 1400px;
    --tm-nav-height: 60px;
    --tm-z: 9999;
}

.tm-container {
    width: min(var(--tm-container), calc(100% - 32px));
    margin: 0 auto;
}

.tm-header-v22 {
    position: relative;
    z-index: var(--tm-z);
    width: 100%;
    background: var(--tm-bg);
    border-bottom: 1px solid var(--tm-line);
}

.tm-topbar-v22 {
    background: linear-gradient(90deg, #101010 0%, #1a1a1d 55%, #320505 100%);
    color: #fff;
    font-size: 13px;
}

.tm-topbar-inner-v22 {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tm-topbar-left-v22,
.tm-topbar-right-v22 {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.tm-topbar-left-v22 span {
    position: relative;
    font-weight: 700;
}

.tm-topbar-right-v22 a {
    color: #fff;
    text-decoration: none;
    opacity: 0.95;
}

.tm-topbar-right-v22 a:hover {
    opacity: 0.82;
}

.tm-main-header-v22 {
    background: linear-gradient(180deg, #ffffff 0%, #fffaf9 100%);
}

.tm-main-header-inner-v22 {
    min-height: 106px;
    display: grid;
    grid-template-columns: 220px minmax(360px, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 10px 0;
}

.tm-logo-link-v22 {
    display: inline-flex;
    align-items: center;
}

.tm-logo-img-v22 {
    display: block;
    max-width: 100%;
    height: auto;
}

.tm-search-form-v22 {
    margin: 0;
}

.tm-search-field-wrap-v22 {
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr 118px;
    align-items: center;
    border: 2px solid var(--tm-red);
    border-radius: var(--tm-radius-pill);
    background: #fff;
    box-shadow: var(--tm-shadow);
    overflow: hidden;
}

.tm-search-select-v22 {
    height: 58px;
    border: 0;
    border-right: 1px solid var(--tm-line);
    background: #fff;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--tm-text);
    outline: none;
    appearance: none;
    cursor: pointer;
}

.tm-search-input-v22 {
    width: 100%;
    height: 58px;
    padding: 0 18px;
    border: 0;
    background: #fff;
    color: var(--tm-text);
    font-size: 15px;
    outline: none;
}

.tm-search-input-v22::placeholder {
    color: #8b9098;
}

.tm-search-submit-v22 {
    height: 58px;
    min-width: 118px;
    border: 0;
    background: linear-gradient(180deg, var(--tm-red) 0%, var(--tm-red-dark) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.tm-search-submit-v22:hover {
    filter: brightness(0.97);
}

.tm-search-suggest-v22 {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid var(--tm-line);
    border-radius: 18px;
    box-shadow: var(--tm-shadow-lg);
    overflow: hidden;
    z-index: 10020;
}

.tm-search-suggest-status-v22 {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--tm-text-soft);
    background: #fafafa;
    border-bottom: 1px solid var(--tm-line);
}

.tm-search-suggest-groups-v22 {
    max-height: 460px;
    overflow-y: auto;
}

.tm-search-group-v22 + .tm-search-group-v22 {
    border-top: 1px solid var(--tm-line);
}

.tm-search-group-title-v22 {
    padding: 12px 16px 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tm-red);
    background: #fff;
}

.tm-search-list-v22 {
    display: grid;
}

.tm-search-item-v22 {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid #f3f3f3;
    text-decoration: none;
    color: var(--tm-text);
    transition: background 0.2s ease;
}

.tm-search-item-v22:hover,
.tm-search-item-v22.is-active {
    background: var(--tm-red-soft);
    color: var(--tm-text);
}

.tm-search-thumb-v22 {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    background: #f3f3f3;
    display: block;
}

.tm-search-thumb-placeholder-v22 {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #777;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.tm-search-content-v22 {
    min-width: 0;
}

.tm-search-title-v22 {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 4px;
}

.tm-search-excerpt-v22 {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: var(--tm-text-soft);
}

.tm-search-inline-meta-v22 {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.tm-search-chip-v22 {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f7f7f8;
    color: var(--tm-text-soft);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.tm-search-chip-v22.is-brand {
    background: #fff1f1;
    color: var(--tm-red);
}

.tm-search-chip-v22.is-sku {
    background: #f4f5f7;
    color: #4c5564;
}

.tm-search-meta-v22 {
    min-width: 78px;
    text-align: right;
}

.tm-search-price-v22 {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--tm-red);
}

.tm-search-type-v22 {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--tm-text-soft);
}

.tm-search-suggest-footer-v22 {
    padding: 12px 16px;
    border-top: 1px solid var(--tm-line);
    background: #fff;
}

.tm-search-view-all-v22 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tm-red);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.tm-contact-col-v22 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tm-info-card-v22 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid var(--tm-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.tm-info-label-v22 {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--tm-text-soft);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.tm-info-value-v22 {
    margin-top: 3px;
    font-size: 14px;
    font-weight: 800;
    color: var(--tm-text);
    white-space: nowrap;
}

.tm-contact-icon-v22 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid var(--tm-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
    text-decoration: none;
}

.tm-contact-icon-v22:hover {
    background: #fff8f8;
    border-color: #efb3b3;
}

.tm-contact-badge-v22 {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--tm-text-soft);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.tm-contact-main-v22 {
    margin-top: 3px;
    font-size: 14px;
    font-weight: 800;
    color: var(--tm-text);
    white-space: nowrap;
}

.tm-header-btn-v22 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: var(--tm-radius-pill);
    background: linear-gradient(180deg, var(--tm-red) 0%, var(--tm-red-dark) 100%);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: var(--tm-shadow-red);
}

.tm-header-btn-v22:hover {
    color: #fff;
    filter: brightness(0.97);
}

.tm-nav-wrap-v22 {
    position: sticky;
    top: 0;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--tm-line);
    border-bottom: 1px solid var(--tm-line);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.tm-nav-inner-v22 {
    min-height: var(--tm-nav-height);
    display: flex;
    align-items: center;
}

.tm-primary-nav-v22 {
    width: 100%;
}

.tm-menu-v22,
.tm-mobile-menu-v22 {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tm-menu-v22 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tm-menu-v22 > li {
    position: relative;
    margin: 0;
}

.tm-menu-v22 > li > a {
    display: inline-flex;
    align-items: center;
    min-height: var(--tm-nav-height);
    color: var(--tm-text);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    position: relative;
}

.tm-menu-v22 > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 12px;
    width: 0;
    height: 2px;
    background: var(--tm-red);
    transition: width 0.25s ease;
}

.tm-menu-v22 > li:hover > a,
.tm-menu-v22 > li.current-menu-item > a,
.tm-menu-v22 > li.current-menu-ancestor > a {
    color: var(--tm-red);
}

.tm-menu-v22 > li:hover > a::after,
.tm-menu-v22 > li.current-menu-item > a::after,
.tm-menu-v22 > li.current-menu-ancestor > a::after {
    width: 100%;
}

.tm-mega-menu-v22 {
    position: static !important;
}

.tm-mega-panel-v22 {
    position: absolute;
    left: 0;
    top: calc(100% - 1px);
    width: 100%;
    min-width: 100%;
    background: #fff;
    border: 1px solid var(--tm-line);
    border-top: 0;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.24s ease;
    z-index: 10030;
}

.tm-mega-menu-v22:hover .tm-mega-panel-v22 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tm-mega-grid-v22 {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
}

.tm-mega-col-v22 {
    padding: 24px 24px 26px;
    border-right: 1px solid var(--tm-line);
}

.tm-mega-col-v22:last-child {
    border-right: 0;
}

.tm-mega-title-v22 {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 900;
    color: var(--tm-red);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tm-mega-col-v22 a {
    display: block;
    padding: 9px 0;
    color: var(--tm-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.tm-mega-col-v22 a:hover {
    color: var(--tm-red);
}

.tm-mega-brand-v22 {
    background: linear-gradient(135deg, #fffafa 0%, #fff1f1 100%);
}

.tm-brand-grid-v22 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.tm-brand-grid-v22 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #f0d7d7;
    color: var(--tm-text);
    font-size: 13px;
    font-weight: 800;
}

.tm-mega-btn-v22 {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px !important;
    border-radius: 999px;
    background: var(--tm-red);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800 !important;
}

.tm-mega-btn-v22:hover {
    background: var(--tm-red-dark);
    color: #fff !important;
}

.tm-mobile-toggle-v22 {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--tm-line);
    border-radius: 12px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    cursor: pointer;
}

.tm-mobile-toggle-v22 span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--tm-text);
    border-radius: 2px;
}

.tm-mobile-overlay-v22 {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    z-index: 10030;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.tm-mobile-drawer-v22 {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(88vw, 390px);
    height: 100vh;
    background: #fff;
    z-index: 10040;
    box-shadow: -18px 0 50px rgba(0, 0, 0, 0.16);
    transition: right 0.28s ease;
    overflow-y: auto;
}

.tm-mobile-drawer-inner-v22 {
    padding: 20px 18px 90px;
}

.tm-mobile-logo-row-v22 {
    padding-bottom: 14px;
}

.tm-mobile-logo-v22 {
    display: block;
    height: auto;
    max-width: 100%;
}

.tm-mobile-search-block-v22 {
    margin-bottom: 18px;
}

.tm-mobile-contact-row-v22 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.tm-mobile-contact-row-v22 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 12px;
    background: #fff4f4;
    color: var(--tm-red);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.tm-mobile-quick-links-v22 {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.tm-mobile-quick-links-v22 a {
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--tm-line);
    border-radius: 14px;
    background: #fff;
    color: var(--tm-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.tm-mobile-menu-v22 > li {
    border-bottom: 1px solid var(--tm-line);
}

.tm-mobile-menu-v22 > li > a,
.tm-submenu-toggle-v22 {
    display: block;
    width: 100%;
    padding: 15px 2px;
    color: var(--tm-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    background: none;
    border: 0;
    text-align: left;
    position: relative;
}

.tm-submenu-toggle-v22::after {
    content: "+";
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--tm-red);
    font-weight: 700;
}

.tm-mobile-menu-v22 > li.is-open > .tm-submenu-toggle-v22::after {
    content: "–";
}

.tm-mobile-menu-v22 .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 10px 12px;
    display: none;
}

.tm-mobile-menu-v22 > li.is-open > .sub-menu {
    display: block;
}

.tm-mobile-menu-v22 .sub-menu a {
    display: block;
    padding: 10px 0;
    color: var(--tm-text-soft);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.tm-mobile-floatbar-v22 {
    display: none;
}

body.tm-mobile-menu-open-v22 {
    overflow: hidden;
}

body.tm-mobile-menu-open-v22 .tm-mobile-overlay-v22 {
    opacity: 1;
    pointer-events: auto;
}

body.tm-mobile-menu-open-v22 .tm-mobile-drawer-v22 {
    right: 0;
}

.tm-pro-header-enabled .site-header {
    display: none;
}

.tm-pro-header-enabled .main-navigation:not(.slideout-navigation):not(.mobile-menu-control-wrapper) {
    display: none;
}

@media (max-width: 1320px) {
    .tm-main-header-inner-v22 {
        grid-template-columns: 190px minmax(280px, 1fr) auto;
        gap: 16px;
    }

    .tm-info-card-v22,
    .tm-contact-icon-v22 {
        padding: 0 12px;
    }

    .tm-contact-main-v22 {
        font-size: 13px;
    }
}

@media (max-width: 1160px) {
    .tm-contact-col-v22 {
        gap: 8px;
    }

    .tm-info-card-v22 {
        display: none;
    }

    .tm-search-field-wrap-v22 {
        grid-template-columns: 100px 1fr 100px;
    }
}

@media (max-width: 991px) {
    .tm-topbar-v22,
    .tm-nav-wrap-v22,
    .tm-contact-col-v22,
    .tm-search-col-v22 {
        display: none;
    }

    .tm-main-header-inner-v22 {
        min-height: 78px;
        grid-template-columns: 1fr auto;
        gap: 14px;
        padding: 6px 0;
    }

    .tm-mobile-toggle-v22 {
        display: inline-flex;
    }

    .tm-logo-img-v22 {
        max-width: 180px;
    }

    .tm-search-field-wrap-v22 {
        grid-template-columns: 92px 1fr 94px;
    }

    .tm-search-select-v22,
    .tm-search-input-v22,
    .tm-search-submit-v22 {
        height: 50px;
    }

    .tm-mobile-floatbar-v22 {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        display: grid;
        grid-template-columns: 1fr 1fr 1.1fr;
        gap: 8px;
        z-index: 10060;
    }

    .tm-mobile-floatbar-v22 a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        border-radius: 14px;
        background: #fff;
        border: 1px solid var(--tm-line);
        color: var(--tm-text);
        text-decoration: none;
        font-size: 13px;
        font-weight: 800;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    }

    .tm-mobile-floatbar-v22 a.is-quote {
        background: linear-gradient(180deg, var(--tm-red) 0%, var(--tm-red-dark) 100%);
        color: #fff;
        border-color: transparent;
    }
}

@media (max-width: 767px) {
    .tm-container {
        width: min(calc(100% - 24px), var(--tm-container));
    }

    .tm-main-header-inner-v22 {
        min-height: 72px;
    }

    .tm-logo-img-v22 {
        max-width: 165px;
    }

    .tm-search-item-v22 {
        grid-template-columns: 46px 1fr;
    }

    .tm-search-meta-v22 {
        display: none;
    }

    .tm-search-thumb-v22 {
        width: 46px;
        height: 46px;
    }

    .tm-mobile-contact-row-v22 {
        grid-template-columns: 1fr;
    }

    .tm-mobile-floatbar-v22 {
        grid-template-columns: 1fr;
    }
}