/* Trường Thịnh Brand Landing v3.19.26 — isolated responsive layout */
:root {
    --tt-brand-red: var(--tt-primary, var(--primary-color, #d71920));
    --tt-brand-red-dark: #b70d14;
    --tt-brand-text: #101828;
    --tt-brand-muted: #667085;
    --tt-brand-border: #e6e9ef;
    --tt-brand-soft: #fff6f6;
    --tt-brand-radius: 16px;
}

body.tt-brand-landing-page,
body.tt-brand-landing-page #wrapper,
body.tt-brand-landing-page #main {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}
body.tt-brand-landing-page #main {
    overflow-x: clip !important;
    background: #fff !important;
}
body.tt-brand-landing-page .tt-brand-page,
body.tt-brand-landing-page .tt-brand-page * {
    box-sizing: border-box;
    min-width: 0;
}
body.tt-brand-landing-page .tt-brand-page img,
body.tt-brand-landing-page .tt-brand-page svg,
body.tt-brand-landing-page .tt-brand-page video {
    max-width: 100%;
}

.tt-brand-page {
    width: 100%;
    padding: 22px 0 56px;
    color: var(--tt-brand-text);
    overflow: clip;
}
.tt-brand-container {
    width: min(1280px, calc(100% - 40px));
    max-width: 1280px;
    margin-inline: auto;
}
.tt-brand-section { margin-top: 26px; }
.tt-brand-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 14px;
}
.tt-brand-section__head > div { min-width: 0; }
.tt-brand-section__head h2 {
    margin: 0 !important;
    color: var(--tt-brand-text) !important;
    font-size: clamp(20px, 1.8vw, 25px) !important;
    line-height: 1.2 !important;
}
.tt-brand-section__head p {
    margin: 5px 0 0 !important;
    color: var(--tt-brand-muted) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}
.tt-brand-link {
    flex: 0 0 auto;
    color: var(--tt-brand-red) !important;
    font-size: 13px !important;
    font-weight: 750;
    text-decoration: none !important;
    white-space: nowrap;
}
.tt-brand-link:hover { text-decoration: underline !important; }

/* Hero */
.tt-brand-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    align-items: center;
    gap: clamp(20px, 3vw, 42px);
    width: 100%;
    min-height: 300px;
    padding: clamp(28px, 3vw, 42px);
    overflow: hidden;
    border-radius: 20px;
    background:
        radial-gradient(circle at 76% 28%, rgba(255,255,255,.17), transparent 24%),
        linear-gradient(115deg, #b4070e 0%, #df0c15 50%, #f11920 100%);
    box-shadow: 0 18px 38px rgba(153, 0, 8, .16);
}
.tt-brand-hero::before,
.tt-brand-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}
.tt-brand-hero::before {
    width: 620px;
    height: 290px;
    right: -110px;
    bottom: -170px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(255,255,255,.035), 0 0 0 82px rgba(255,255,255,.025);
}
.tt-brand-hero::after {
    inset: 0;
    background: linear-gradient(125deg, transparent 45%, rgba(255,255,255,.05) 45.4%, transparent 46%);
}
.tt-brand-hero__copy { color: #fff; min-width: 0; }
.tt-brand-hero__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.tt-brand-hero__logo {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    padding: 6px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0,0,0,.13);
}
.tt-brand-hero__brand-text strong {
    display: block;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
}
.tt-brand-hero__brand-text span {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.75) !important;
    font-size: 10px !important;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.tt-brand-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 750;
}
.tt-brand-hero h1 {
    max-width: 680px;
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(30px, 3vw, 43px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}
.tt-brand-hero__desc {
    max-width: 650px;
    margin: 13px 0 0 !important;
    color: rgba(255,255,255,.88) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}
.tt-brand-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}
.tt-brand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    max-width: 100%;
    padding: 0 17px;
    border-radius: 9px;
    font-size: 13px !important;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform .16s ease, box-shadow .16s ease;
}
.tt-brand-btn:hover { transform: translateY(-1px); }
.tt-brand-btn--light { background: #fff; color: var(--tt-brand-red) !important; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.tt-brand-btn--ghost { border: 1px solid rgba(255,255,255,.44); background: rgba(255,255,255,.06); color: #fff !important; }
.tt-brand-hero__products {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
    gap: 10px;
    min-height: 215px;
}
.tt-brand-hero__product {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 205px;
    padding: 6px;
    border-radius: 12px;
    overflow: hidden;
}
.tt-brand-hero__product img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 13px 12px rgba(46, 0, 0, .25));
    transition: transform .2s ease;
}
.tt-brand-hero__product:hover img { transform: translateY(-4px) scale(1.02); }

/* Category tabs */
.tt-brand-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    margin-top: 12px;
    padding: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid var(--tt-brand-border);
    border-radius: 13px;
    background: #fff;
    scrollbar-width: thin;
}
.tt-brand-tab {
    flex: 0 0 auto;
    min-width: 112px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #344054 !important;
    font-size: 12px !important;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
}
.tt-brand-tab:hover { color: var(--tt-brand-red) !important; background: var(--tt-brand-soft); }
.tt-brand-tab.is-active { color: #fff !important; background: var(--tt-brand-red); box-shadow: 0 5px 13px rgba(215,25,32,.18); }

/* Dedicated brand product cards: isolated from general shop card rules. */
.tt-brand-featured-grid,
.tt-brand-all-grid {
    display: grid;
    width: 100%;
    max-width: 100%;
    align-items: stretch;
}
.tt-brand-featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tt-brand-all-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tt-brand-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--tt-brand-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .035);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tt-brand-product-card:hover {
    transform: translateY(-2px);
    border-color: #efc0c3;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}
.tt-brand-product-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / .82;
    min-height: 0;
    padding: 12px;
    overflow: hidden;
    background: linear-gradient(180deg, #fff, #fbfbfc);
    text-decoration: none !important;
}
.tt-brand-product-card__image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
}
.tt-brand-product-card__placeholder {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 18px;
    background: #f2f4f7;
    color: #98a2b3;
    font-weight: 800;
}
.tt-brand-product-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 7px;
    min-height: 0;
    padding: 12px 13px 13px;
}
.tt-brand-product-card__title {
    margin: 0 !important;
    color: var(--tt-brand-text) !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
}
.tt-brand-product-card__title a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit !important;
    text-decoration: none !important;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.tt-brand-product-card__title a:hover { color: var(--tt-brand-red) !important; }
.tt-brand-product-card__sku {
    overflow: hidden;
    color: #98a2b3 !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.tt-brand-product-card__specs {
    display: grid;
    gap: 4px;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    color: #475467 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
}
.tt-brand-product-card__specs li {
    position: relative;
    display: -webkit-box;
    margin: 0 !important;
    padding: 0 0 0 10px !important;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.tt-brand-product-card__specs li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--tt-brand-red);
}
.tt-brand-product-card__specs strong { color: #344054 !important; font-weight: 700; }
.tt-brand-product-card__summary {
    display: -webkit-box;
    margin: 0 !important;
    overflow: hidden;
    color: #667085 !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.tt-brand-product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    max-width: 100%;
    margin-top: auto;
    padding-top: 5px;
    color: var(--tt-brand-red) !important;
    font-size: 11px !important;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
}
.tt-brand-product-card__link:hover { text-decoration: underline !important; }
.tt-brand-product-card--featured .tt-brand-product-card__media { aspect-ratio: 1 / .78; padding: 14px; }
.tt-brand-product-card--featured .tt-brand-product-card__title { font-size: 15px !important; }
.tt-brand-product-card--featured .tt-brand-product-card__body { padding: 13px 14px 14px; }

/* Solution strip */
.tt-brand-solution {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: 24px;
    width: 100%;
    min-height: 132px;
    padding: 24px 28px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(110deg, #b6070d 0%, #ea0b14 60%, #d4050c 100%);
    color: #fff;
}
.tt-brand-solution::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -100px;
    width: 420px;
    height: 210px;
    border: 1px solid rgba(255,255,255,.2);
    transform: skewX(-24deg);
}
.tt-brand-solution > * { position: relative; z-index: 1; }
.tt-brand-solution h2 { margin: 0 !important; color: #fff !important; font-size: clamp(22px, 2.2vw, 30px) !important; line-height: 1.15 !important; }
.tt-brand-solution p { margin: 7px 0 0 !important; color: rgba(255,255,255,.86) !important; font-size: 13px !important; line-height: 1.45 !important; }
.tt-brand-solution__points { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.tt-brand-solution__point {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 56px;
    padding: 9px 10px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    background: rgba(255,255,255,.07);
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700;
    line-height: 1.35;
}
.tt-brand-solution__icon { flex: 0 0 27px; display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; border-radius: 50%; background: #fff; color: var(--tt-brand-red); font-size: 14px; }

/* Needs — v3.19.29: category-image only, premium dark-overlay cards */
.tt-brand-needs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}
.tt-brand-need {
    position: relative;
    isolation: isolate;
    display: block;
    min-width: 0;
    min-height: 238px;
    aspect-ratio: 1.45 / 1;
    overflow: hidden;
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 17px;
    background:
        radial-gradient(circle at 18% 18%, rgba(215,25,32,.34), transparent 38%),
        linear-gradient(145deg, #111827 0%, #1f2937 55%, #070d18 100%);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 10px 28px rgba(15,23,42,.11);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tt-brand-need:hover {
    transform: translateY(-4px);
    border-color: rgba(215,25,32,.34);
    box-shadow: 0 18px 42px rgba(15,23,42,.18);
}
.tt-brand-need img {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(1.08) contrast(1.06) brightness(.91);
    transform: scale(1.01);
    transition: transform .35s ease, filter .35s ease;
}
.tt-brand-need:hover img {
    transform: scale(1.055);
    filter: saturate(1.16) contrast(1.08) brightness(.96);
}
.tt-brand-need::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(4,10,20,.02) 0%, rgba(4,10,20,.08) 30%, rgba(4,10,20,.48) 67%, rgba(4,10,20,.94) 100%),
        linear-gradient(90deg, rgba(4,10,20,.20) 0%, transparent 68%);
}
.tt-brand-need::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    height: 4px;
    background: linear-gradient(90deg, #ef242b 0%, #d71920 55%, rgba(215,25,32,.22) 100%);
}
.tt-brand-need--no-image::before {
    background:
        radial-gradient(circle at 78% 24%, rgba(255,255,255,.10), transparent 27%),
        linear-gradient(180deg, rgba(4,10,20,.04), rgba(4,10,20,.90));
}
.tt-brand-need__body {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 17px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,.32);
}
.tt-brand-need__body strong {
    display: -webkit-box;
    overflow: hidden;
    color: #fff !important;
    font-size: 19px !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.tt-brand-need__body span {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 7px;
    color: rgba(255,255,255,.90) !important;
    font-size: 12.5px !important;
    line-height: 1.42 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.tt-brand-need__body em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    margin-top: 13px;
    padding: 8px 13px;
    border-radius: 8px;
    background: #ed1c24;
    color: #fff !important;
    box-shadow: 0 7px 18px rgba(215,25,32,.25);
    font-size: 11.5px !important;
    line-height: 1 !important;
    font-style: normal;
    font-weight: 800;
    text-shadow: none;
    transition: background-color .18s ease, transform .18s ease;
}
.tt-brand-need__body em b { font-size: 14px; line-height: 1; }
.tt-brand-need:hover .tt-brand-need__body em { background: #d71920; transform: translateX(2px); }

/* Flagship */
.tt-brand-flagship {
    display: grid;
    grid-template-columns: minmax(300px, .86fr) minmax(0, 1.14fr);
    align-items: center;
    gap: 28px;
    width: 100%;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #f0d7d9;
    border-radius: 16px;
    background: linear-gradient(90deg, #fff5f5 0%, #fff 58%);
}
.tt-brand-flagship > div { min-width: 0; }
.tt-brand-flagship__media { position: relative; display: flex; align-items: center; justify-content: center; min-height: 230px; overflow: hidden; }
.tt-brand-flagship__media::before { content: ""; position: absolute; width: min(240px, 70%); aspect-ratio: 1; border: 1px solid #ffd6d8; border-radius: 50%; box-shadow: 0 0 0 24px #fff0f1, 0 0 0 48px #fff8f8; }
.tt-brand-flagship__media img { position: relative; z-index: 1; display: block; width: 100%; max-width: 360px; height: 220px; object-fit: contain; }
.tt-brand-flagship__badge { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: var(--tt-brand-red); color: #fff !important; font-size: 9px !important; font-weight: 800; text-transform: uppercase; }
.tt-brand-flagship h2 { margin: 8px 0 0 !important; color: var(--tt-brand-text) !important; font-size: clamp(23px, 2.2vw, 30px) !important; line-height: 1.17 !important; overflow-wrap: anywhere; }
.tt-brand-flagship__summary { margin: 7px 0 0 !important; color: #667085 !important; font-size: 13px !important; line-height: 1.5 !important; }
.tt-brand-flagship__features { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: 15px; }
.tt-brand-flagship__feature { display: flex; align-items: flex-start; gap: 7px; min-height: 54px; padding: 8px 9px; overflow: hidden; border: 1px solid #f0dfe0; border-radius: 9px; background: #fff; color: #475467 !important; font-size: 10px !important; line-height: 1.35 !important; }
.tt-brand-flagship__feature b { flex: 0 0 21px; color: var(--tt-brand-red) !important; font-size: 16px !important; }
.tt-brand-flagship__feature span { min-width: 0; overflow-wrap: anywhere; }
.tt-brand-flagship__feature strong { color: #344054 !important; }
.tt-brand-flagship__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.tt-brand-flagship__actions .tt-brand-btn--primary { background: var(--tt-brand-red); color: #fff !important; }
.tt-brand-flagship__actions .tt-brand-btn--outline { border: 1px solid #efb8bb; background: #fff; color: var(--tt-brand-red) !important; }

/* Pagination */
.tt-brand-pagination { margin-top: 18px; overflow: hidden; }
.tt-brand-pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; list-style: none; padding: 0 !important; margin: 0 !important; }
.tt-brand-pagination a,
.tt-brand-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 9px; border: 1px solid var(--tt-brand-border); border-radius: 8px; background: #fff; color: #344054 !important; font-size: 12px !important; text-decoration: none !important; }
.tt-brand-pagination .current { border-color: var(--tt-brand-red); background: var(--tt-brand-red); color: #fff !important; }

/* Comparison */
.tt-brand-compare { width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid var(--tt-brand-border); border-radius: 14px; background: #fff; -webkit-overflow-scrolling: touch; }
.tt-brand-compare table { width: 100%; min-width: 720px; table-layout: fixed; margin: 0 !important; border: 0 !important; border-collapse: collapse; }
.tt-brand-compare th,
.tt-brand-compare td { padding: 10px 12px !important; overflow-wrap: anywhere; border: 0 !important; border-bottom: 1px solid var(--tt-brand-border) !important; color: #475467 !important; font-size: 11px !important; line-height: 1.35 !important; text-align: center; vertical-align: middle; }
.tt-brand-compare tr:last-child th,
.tt-brand-compare tr:last-child td { border-bottom: 0 !important; }
.tt-brand-compare th:first-child,
.tt-brand-compare td:first-child { width: 150px; text-align: left; }
.tt-brand-compare thead th { background: #fafafa; color: #111827 !important; font-weight: 800; }
.tt-brand-compare thead a { display: flex; align-items: center; justify-content: center; gap: 6px; color: #111827 !important; text-decoration: none !important; }
.tt-brand-compare__thumb { flex: 0 0 44px; width: 44px !important; height: 38px !important; margin: 0 !important; object-fit: contain !important; }

/* Resources */
.tt-brand-resources { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.tt-brand-resource { display: flex; align-items: center; gap: 13px; min-height: 92px; max-width: 100%; padding: 13px; overflow: hidden; border: 1px solid var(--tt-brand-border); border-radius: 14px; background: #fff; color: #111827 !important; text-decoration: none !important; }
.tt-brand-resource:hover { border-color: #efb7ba; box-shadow: 0 8px 20px rgba(15,23,42,.05); }
.tt-brand-resource__icon { flex: 0 0 45px; display: flex; align-items: center; justify-content: center; width: 45px; height: 56px; border-radius: 8px; background: linear-gradient(180deg,#e51820,#bb050c); color: #fff !important; font-size: 9px !important; font-weight: 800; }
.tt-brand-resource > span:last-child { min-width: 0; }
.tt-brand-resource strong { display: block; overflow: hidden; color: #111827 !important; font-size: 13px !important; line-height: 1.3 !important; white-space: nowrap; text-overflow: ellipsis; }
.tt-brand-resource span span { display: -webkit-box; margin-top: 3px; overflow: hidden; color: #667085 !important; font-size: 10px !important; line-height: 1.35 !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tt-brand-resource em { display: block; margin-top: 5px; color: var(--tt-brand-red) !important; font-size: 10px !important; font-style: normal; font-weight: 800; }

/* Consultation CTA */
.tt-brand-consult { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 20px; width: 100%; min-height: 112px; margin-top: 26px; padding: 20px 24px; overflow: hidden; border-radius: 16px; background: linear-gradient(105deg,#b5070d,#e30c15 65%,#c90810); color: #fff; }
.tt-brand-consult h2 { margin: 0 !important; color: #fff !important; font-size: clamp(20px, 2vw, 25px) !important; line-height: 1.2 !important; }
.tt-brand-consult p { margin: 5px 0 0 !important; color: rgba(255,255,255,.86) !important; font-size: 12px !important; line-height: 1.45 !important; }
.tt-brand-consult__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.tt-brand-consult__actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 15px; border-radius: 9px; font-size: 12px !important; font-weight: 750; line-height: 1.2; text-align: center; text-decoration: none !important; white-space: nowrap; }
.tt-brand-consult__primary { background: #fff; color: var(--tt-brand-red) !important; }
.tt-brand-consult__ghost { border: 1px solid rgba(255,255,255,.4); color: #fff !important; }
.tt-brand-empty { padding: 36px 20px; border: 1px dashed #d7dce3; border-radius: 14px; color: #667085; text-align: center; }

@media (max-width: 1199px) {
    .tt-brand-container { width: min(100% - 32px, 1180px); }
    .tt-brand-hero { grid-template-columns: minmax(0,1fr) minmax(320px,.85fr); }
    .tt-brand-hero__products { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .tt-brand-hero__product:nth-child(n+4) { display: none; }
    .tt-brand-featured-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .tt-brand-all-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (max-width: 991px) {
    .tt-brand-container { width: min(100% - 28px, 960px); }
    .tt-brand-hero { grid-template-columns: 1fr; min-height: auto; }
    .tt-brand-hero__products { min-height: 180px; }
    .tt-brand-hero__product { height: 180px; }
    .tt-brand-featured-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .tt-brand-all-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .tt-brand-solution { grid-template-columns: 1fr; }
    .tt-brand-needs { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .tt-brand-flagship { grid-template-columns: 1fr; }
    .tt-brand-flagship__media { min-height: 200px; }
    .tt-brand-resources { grid-template-columns: 1fr; }
}

@media (max-width: 849px) {
    .tt-brand-page { padding-top: 14px; }
    .tt-brand-container { width: calc(100% - 22px); }
    .tt-brand-hero { padding: 24px 20px; border-radius: 15px; }
    .tt-brand-hero h1 { font-size: clamp(28px, 7vw, 36px) !important; }
    .tt-brand-hero__actions { gap: 7px; }
    .tt-brand-tabs { margin-top: 10px; }
    .tt-brand-section { margin-top: 22px; }
    .tt-brand-all-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
    .tt-brand-product-card__body { padding: 10px 10px 11px; }
    .tt-brand-product-card__title { font-size: 13px !important; }
    .tt-brand-product-card__specs { font-size: 10px !important; }
    .tt-brand-solution { padding: 21px 18px; }
    .tt-brand-solution__points { grid-template-columns: 1fr; }
    .tt-brand-consult { grid-template-columns: 1fr; padding: 19px; }
    .tt-brand-consult__actions { justify-content: flex-start; }
}

@media (max-width: 549px) {
    .tt-brand-container { width: calc(100% - 18px); }
    .tt-brand-section__head { align-items: flex-start; }
    .tt-brand-section__head h2 { font-size: 19px !important; }
    .tt-brand-hero { padding: 21px 17px; }
    .tt-brand-hero__brand { margin-bottom: 14px; }
    .tt-brand-hero__products { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; min-height: 135px; }
    .tt-brand-hero__product { height: 135px; padding: 2px; }
    .tt-brand-btn { min-height: 40px; padding-inline: 13px; font-size: 12px !important; }
    .tt-brand-tab { min-width: 92px; min-height: 36px; padding-inline: 11px; }
    .tt-brand-featured-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
    .tt-brand-needs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .tt-brand-need { min-height: 188px; aspect-ratio: 1.16 / 1; }
    .tt-brand-product-card__media { padding: 8px; }
    .tt-brand-product-card--featured .tt-brand-product-card__media { padding: 9px; }
    .tt-brand-product-card__sku { display: none; }
    .tt-brand-product-card__specs li:nth-child(n+3) { display: none; }
    .tt-brand-flagship { padding: 17px; gap: 18px; }
    .tt-brand-flagship__features { grid-template-columns: 1fr; }
    .tt-brand-compare th:first-child, .tt-brand-compare td:first-child { width: 110px; }
    .tt-brand-consult__actions { display: grid; grid-template-columns: 1fr; width: 100%; }
    .tt-brand-consult__actions a { width: 100%; white-space: normal; }
}

/* === v3.19.28 Technical comparison === */
.tt-brand-compare thead a { flex-direction: column; gap: 7px; line-height: 1.25; }
.tt-brand-compare thead a span { display: block; max-width: 240px; }
.tt-brand-compare__price-row td { font-weight: 800; color: #111827 !important; }
.tt-brand-compare tbody tr:nth-child(even) td { background: #fcfcfd; }
.tt-brand-compare tbody td:first-child { font-weight: 750; color: #1d2939 !important; background: #f8fafc; }
@media (max-width: 849px) {
  .tt-brand-compare table { min-width: 760px; }
  .tt-brand-compare thead a span { max-width: 190px; }
}
/* v3.19.29 needs-card responsive refinement */
@media (max-width: 849px) {
    .tt-brand-needs { gap: 10px; }
    .tt-brand-need { min-height: 200px; aspect-ratio: 1.18 / 1; border-radius: 14px; }
    .tt-brand-need__body { left: 13px; right: 13px; bottom: 13px; }
    .tt-brand-need__body strong { font-size: 16px !important; }
    .tt-brand-need__body span { margin-top: 5px; font-size: 11px !important; -webkit-line-clamp: 2; }
    .tt-brand-need__body em { min-height: 30px; margin-top: 9px; padding: 7px 10px; font-size: 10.5px !important; }
}
@media (max-width: 430px) {
    .tt-brand-needs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .tt-brand-need { min-height: 184px; aspect-ratio: auto; }
    .tt-brand-need__body strong { font-size: 14px !important; }
    .tt-brand-need__body span { font-size: 10px !important; }
}

/* === v3.19.30 Brand archive compact toolbar + real filters === */
body.tt-brand-landing-page .shop-page-title,
body.tt-brand-landing-page .category-page-title,
body.tt-brand-landing-page .category-filtering,
body.tt-brand-landing-page .woocommerce-result-count,
body.tt-brand-landing-page .woocommerce-ordering:not(.tt-brand-filter-panel *) {
    display: none !important;
}

.tt-brand-topbar {
    position: relative;
    z-index: 30;
    display: grid;
    gap: 10px;
    width: 100%;
    margin: 0 0 14px;
}

.tt-brand-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    min-height: 32px;
    color: #98a2b3;
    font-size: 12px !important;
    line-height: 1.35 !important;
}
.tt-brand-breadcrumb a,
.tt-brand-breadcrumb strong {
    color: #667085 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    text-decoration: none !important;
}
.tt-brand-breadcrumb a:hover { color: var(--tt-brand-red) !important; }
.tt-brand-breadcrumb strong {
    color: #1d2939 !important;
    font-weight: 800 !important;
}

.tt-brand-mobile-controls { display: none; }
.tt-brand-filter-backdrop { display: none; }

.tt-brand-filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) minmax(160px, .85fr) minmax(150px, .72fr) minmax(170px, .82fr) auto;
    align-items: end;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--tt-brand-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .035);
}
.tt-brand-filter-panel__head { display: none; }
.tt-brand-filter-field {
    display: grid;
    gap: 5px;
    min-width: 0;
    margin: 0 !important;
}
.tt-brand-filter-field > span {
    color: #667085 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: .035em;
}
.tt-brand-filter-field input,
.tt-brand-filter-field select {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 1px solid #d9dee7 !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #1d2939 !important;
    box-shadow: none !important;
    font-size: 12px !important;
    line-height: 40px !important;
}
.tt-brand-filter-field input:focus,
.tt-brand-filter-field select:focus {
    border-color: #ef9da1 !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(215,25,32,.07) !important;
}
.tt-brand-filter-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    min-height: 40px;
}
.tt-brand-filter-reset,
.tt-brand-filter-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 0 !important;
    padding: 0 13px !important;
    border-radius: 9px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap;
}
.tt-brand-filter-reset {
    border: 1px solid #d9dee7 !important;
    background: #fff !important;
    color: #667085 !important;
}
.tt-brand-filter-submit {
    border: 1px solid var(--tt-brand-red) !important;
    background: var(--tt-brand-red) !important;
    color: #fff !important;
    box-shadow: none !important;
}
.tt-brand-filter-reset:hover { color: var(--tt-brand-red) !important; border-color: #efb6b9 !important; }
.tt-brand-filter-submit:hover { background: var(--tt-brand-red-dark) !important; }

@media (max-width: 991px) and (min-width: 850px) {
    .tt-brand-filter-panel {
        grid-template-columns: minmax(200px, 1.3fr) repeat(3, minmax(135px, .75fr));
    }
    .tt-brand-filter-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

@media (max-width: 849px) {
    body.tt-brand-filter-open { overflow: hidden !important; }

    .tt-brand-page { padding-top: 8px; }
    .tt-brand-topbar {
        gap: 7px;
        margin-bottom: 10px;
    }
    .tt-brand-breadcrumb {
        min-height: 26px;
        gap: 6px;
        padding: 0 2px;
        overflow: hidden;
        flex-wrap: nowrap;
        font-size: 10.5px !important;
        white-space: nowrap;
    }
    .tt-brand-breadcrumb a,
    .tt-brand-breadcrumb strong {
        display: block;
        max-width: 48%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tt-brand-mobile-controls {
        display: grid;
        grid-template-columns: minmax(100px, .7fr) minmax(0, 1.3fr);
        gap: 8px;
        width: 100%;
    }
    .tt-brand-filter-toggle,
    .tt-brand-mobile-sort select {
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
        margin: 0 !important;
        border: 1px solid #d9dee7 !important;
        border-radius: 10px !important;
        background: #fff !important;
        color: #344054 !important;
        box-shadow: none !important;
        font-size: 11.5px !important;
        line-height: 1 !important;
        font-weight: 750 !important;
    }
    .tt-brand-filter-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0 10px !important;
        text-transform: none !important;
    }
    .tt-brand-filter-toggle > span { font-size: 16px !important; line-height: 1 !important; }
    .tt-brand-filter-toggle b {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 999px;
        background: var(--tt-brand-red);
        color: #fff !important;
        font-size: 9px !important;
    }
    .tt-brand-mobile-sort { display: block; margin: 0 !important; }
    .tt-brand-mobile-sort select {
        appearance: auto;
        padding: 0 10px !important;
    }

    .tt-brand-filter-backdrop {
        position: fixed;
        z-index: 99990;
        inset: 0;
        display: block;
        background: rgba(15, 23, 42, .38);
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
    }
    .tt-brand-filter-backdrop[hidden] { display: none !important; }

    .tt-brand-filter-panel {
        position: fixed;
        z-index: 99991;
        top: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 13px;
        width: min(88vw, 380px);
        max-width: 100%;
        padding: 16px 14px calc(18px + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        border: 0;
        border-radius: 16px 0 0 16px;
        background: #fff;
        box-shadow: -18px 0 44px rgba(15, 23, 42, .16);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform .22s ease, visibility .22s ease;
        overscroll-behavior: contain;
    }
    .tt-brand-filter-panel.is-open {
        transform: translateX(0);
        visibility: visible;
    }
    .tt-brand-filter-panel__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 38px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eaecf0;
    }
    .tt-brand-filter-panel__head strong {
        color: #101828 !important;
        font-size: 15px !important;
        line-height: 1.25 !important;
    }
    .tt-brand-filter-close {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #e4e7ec !important;
        border-radius: 9px !important;
        background: #fff !important;
        color: #475467 !important;
        box-shadow: none !important;
        font-size: 22px !important;
        line-height: 1 !important;
    }
    .tt-brand-filter-field { gap: 6px; }
    .tt-brand-filter-field > span { font-size: 10.5px !important; }
    .tt-brand-filter-field input,
    .tt-brand-filter-field select {
        height: 43px !important;
        min-height: 43px !important;
        font-size: 13px !important;
    }
    .tt-brand-filter-actions {
        position: sticky;
        bottom: -1px;
        display: grid;
        grid-template-columns: .75fr 1.25fr;
        gap: 8px;
        width: 100%;
        margin-top: auto;
        padding-top: 10px;
        background: #fff;
    }
    .tt-brand-filter-reset,
    .tt-brand-filter-submit {
        width: 100%;
        min-height: 43px;
        font-size: 12px !important;
    }

    /* Tabs immediately below the hero should remain compact and swipeable. */
    .tt-brand-tabs {
        min-height: 42px;
        padding: 4px;
        gap: 5px;
        border-radius: 11px;
    }
    .tt-brand-tab {
        min-width: 82px;
        min-height: 32px;
        padding: 0 10px;
        border-radius: 8px;
        font-size: 10.5px !important;
    }
}

@media (max-width: 430px) {
    .tt-brand-mobile-controls { grid-template-columns: 96px minmax(0,1fr); }
    .tt-brand-filter-toggle,
    .tt-brand-mobile-sort select { height: 36px !important; min-height: 36px !important; font-size: 10.5px !important; }
    .tt-brand-filter-panel { width: min(92vw, 360px); }
}

/* === v3.19.31 Needs grid isolation + TT Forms consult + mobile compare removal === */
.tt-brand-needs {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 18px !important;
    row-gap: 18px !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 2px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}
.tt-brand-needs > .tt-brand-need {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    justify-self: stretch !important;
}
.tt-brand-need img { max-width: none !important; }

/* Consultation is a real TT Forms & Leads form, not a contact-page link. */
.tt-brand-consult {
    grid-template-columns: minmax(0, .82fr) minmax(460px, 1.18fr) !important;
    align-items: center !important;
    gap: 26px !important;
    padding: 24px !important;
}
.tt-brand-consult__copy { min-width: 0; }
.tt-brand-consult__copy strong { color: #fff !important; }
.tt-brand-consult__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 13px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 9px;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 750;
    text-decoration: none !important;
}
.tt-brand-consult-form {
    display: grid;
    gap: 10px;
    min-width: 0;
    width: 100%;
    margin: 0 !important;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 13px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.tt-brand-consult-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 9px;
    min-width: 0;
}
.tt-brand-consult-form label { display: block; min-width: 0; margin: 0 !important; }
.tt-brand-consult-form label > span {
    display: block;
    margin: 0 0 5px;
    color: rgba(255,255,255,.92) !important;
    font-size: 10.5px !important;
    font-weight: 700;
}
.tt-brand-consult-form input[type="text"],
.tt-brand-consult-form input[type="tel"],
.tt-brand-consult-form input[type="email"] {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 1px solid rgba(255,255,255,.34) !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #172033 !important;
    box-shadow: none !important;
    font-size: 12px !important;
}
.tt-brand-consult-form input:focus {
    border-color: #fff !important;
    outline: 2px solid rgba(255,255,255,.25) !important;
    outline-offset: 1px;
}
.tt-brand-consult-form__footer {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.tt-brand-consult-form button.tt-brand-consult__primary {
    flex: 0 0 auto;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: var(--tt-brand-red) !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: none !important;
}
.tt-brand-consult-form button[disabled] { opacity: .65; cursor: wait; }
.tt-brand-consult-form__status {
    min-width: 0;
    color: rgba(255,255,255,.94) !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
}
.tt-brand-consult-form__status.is-error { color: #fff3b0 !important; }
.tt-brand-consult-form__status.is-success { color: #d9ffe7 !important; }

@media (max-width: 991px) {
    .tt-brand-needs { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 12px !important; }
    .tt-brand-consult { grid-template-columns: 1fr !important; gap: 16px !important; }
}
@media (max-width: 849px) {
    /* Comparison is intentionally desktop/tablet-landscape only. Keeping it hidden
       by CSS avoids device-detection cache mixing between mobile and desktop HTML. */
    .tt-brand-section--compare { display: none !important; }
    .tt-brand-needs { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 10px !important; padding: 0 !important; }
    .tt-brand-needs > .tt-brand-need { min-height: 196px !important; }
    .tt-brand-consult { padding: 18px !important; }
    .tt-brand-consult-form__row { grid-template-columns: 1fr; }
    .tt-brand-consult-form__footer { align-items: stretch; flex-direction: column; }
    .tt-brand-consult-form button.tt-brand-consult__primary { width: 100% !important; }
    .tt-brand-consult-form__status { width: 100%; }
}
@media (max-width: 430px) {
    .tt-brand-needs { gap: 9px !important; }
    .tt-brand-needs > .tt-brand-need { min-height: 184px !important; }
}
