/* Tramontina B2B - Seletor de Embalagens, Cotação Rápida & Gaveta Flutuante */

.tramontina-b2b-container {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 16px;

    margin: 18px 0;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

}



.tramontina-b2b-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 12px;

}



.tramontina-b2b-title {

    font-size: 15px;

    font-weight: 700;

    color: #1e293b;

}



.badge-ipi {

    background: #e0f2fe;

    color: #0369a1;

    font-size: 12px;

    font-weight: 700;

    padding: 3px 10px;

    border-radius: 20px;

    border: 1px solid #bae6fd;

}



.badge-linha {

    background: #f1f5f9;

    color: #475569;

    font-size: 11px;

    font-weight: 700;

    padding: 2px 8px;

    border-radius: 12px;

    border: 1px solid #cbd5e1;

}



.tramontina-cards-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));

    gap: 10px;

    margin-bottom: 14px;

}



.embalagem-card {

    position: relative;

    background: #ffffff;

    border: 2px solid #cbd5e1;

    border-radius: 8px;

    padding: 12px 10px;

    cursor: pointer;

    transition: all 0.2s ease-in-out;

    display: flex;

    align-items: center;

    gap: 8px;

}



.embalagem-card:hover {

    border-color: #004b87;

    background: #f0f7ff;

    transform: translateY(-2px);

}



.embalagem-card.active {

    border-color: #004b87;

    background: #f0f7ff;

    box-shadow: 0 4px 10px rgba(0, 75, 135, 0.12);

}



.card-badge {

    position: absolute;

    top: -8px;

    right: 8px;

    background: #004b87;

    color: #ffffff;

    font-size: 9px;

    font-weight: 700;

    text-transform: uppercase;

    padding: 2px 6px;

    border-radius: 10px;

}



.card-badge.atacado {

    background: #059669;

}



.card-radio {

    width: 16px;

    height: 16px;

    border-radius: 50%;

    border: 2px solid #94a3b8;

    position: relative;

    flex-shrink: 0;

}



.embalagem-card.active .card-radio {

    border-color: #004b87;

}



.embalagem-card.active .card-radio::after {

    content: "";

    width: 8px;

    height: 8px;

    background: #004b87;

    border-radius: 50%;

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

}



.card-info {

    display: flex;

    flex-direction: column;

}



.card-title {

    font-size: 13px;

    font-weight: 700;

    color: #1e293b;

}



.card-sub {

    font-size: 11px;

    color: #64748b;

}



.tramontina-resumo-box {

    background: #ffffff;

    border: 1px dashed #cbd5e1;

    border-radius: 6px;

    padding: 10px 14px;

    margin-top: 10px;

}



.resumo-linha {

    display: flex;

    justify-content: space-between;

    font-size: 13px;

    color: #475569;

    margin-bottom: 4px;

}



.resumo-linha.destaque {

    font-weight: 700;

    color: #004b87;

    font-size: 14px;

    border-top: 1px solid #f1f5f9;

    padding-top: 6px;

    margin-top: 4px;

}



/* ==========================================================================

   OFF-CANVAS MINI-CART DRAWER (GAVETA FLUTUANTE B2B)

   ========================================================================== */

.tramontina-drawer-overlay {

    position: fixed;

    top: 0;

    left: 0;

    width: 100vw;

    height: 100vh;

    background: rgba(15, 23, 42, 0.6);

    backdrop-filter: blur(4px);

    z-index: 99998;

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

}



.tramontina-drawer-overlay.active {

    opacity: 1;

    visibility: visible;

}



.tramontina-drawer {

    position: fixed;

    top: 0;

    right: 0;

    width: 100%;

    max-width: 440px;

    height: 100vh;

    background: #ffffff;

    z-index: 99999;

    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.2);

    display: flex;

    flex-direction: column;

    transform: translateX(100%);

    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);

}



.tramontina-drawer.active {

    transform: translateX(0);

}



.tramontina-drawer-header {

    background: linear-gradient(135deg, #004b87 0%, #002d54 100%);

    color: #ffffff;

    padding: 20px 24px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.tramontina-drawer-header h3 {

    margin: 0;

    color: #ffffff;

    font-size: 18px;

    display: flex;

    align-items: center;

    gap: 8px;

}



.tramontina-drawer-close {

    background: rgba(255, 255, 255, 0.15);

    border: none;

    color: #ffffff;

    font-size: 20px;

    width: 36px;

    height: 36px;

    border-radius: 50%;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: background 0.2s;

}



.tramontina-drawer-close:hover {

    background: rgba(255, 255, 255, 0.3);

}



/* Barra de Pedido Mínimo */

.tramontina-progress-box {

    background: #f8fafc;

    border-bottom: 1px solid #e2e8f0;

    padding: 14px 24px;

}



.tramontina-progress-text {

    font-size: 13px;

    color: #334155;

    margin-bottom: 8px;

    font-weight: 500;

}



.tramontina-progress-track {

    width: 100%;

    height: 8px;

    background: #e2e8f0;

    border-radius: 10px;

    overflow: hidden;

}



.tramontina-progress-bar {

    height: 100%;

    background: linear-gradient(90deg, #004b87 0%, #0284c7 100%);

    width: 0%;

    transition: width 0.4s ease, background 0.4s ease;

    border-radius: 10px;

}



.tramontina-progress-bar.atingido {

    background: linear-gradient(90deg, #059669 0%, #10b981 100%);

}



.tramontina-drawer-body {

    flex: 1;

    overflow-y: auto;

    padding: 16px 24px;

}



.tramontina-cart-item {

    display: flex;

    gap: 14px;

    padding: 14px 0;

    border-bottom: 1px solid #f1f5f9;

    align-items: center;

}



.tramontina-cart-item img {

    width: 60px;

    height: 60px;

    object-fit: contain;

    border-radius: 6px;

    border: 1px solid #e2e8f0;

}



.tramontina-cart-item-info {

    flex: 1;

}



.tramontina-cart-item-title {

    font-size: 13px;

    font-weight: 600;

    color: #1e293b;

    margin-bottom: 4px;

}



.tramontina-cart-item-meta {

    font-size: 12px;

    color: #64748b;

}



.tramontina-cart-item-price {

    font-size: 13px;

    font-weight: 700;

    color: #004b87;

    margin-top: 4px;

}



.tramontina-drawer-footer {

    background: #f8fafc;

    border-top: 1px solid #e2e8f0;

    padding: 20px 24px;

}



.tramontina-drawer-subtotal {

    display: flex;

    justify-content: space-between;

    font-size: 16px;

    font-weight: 700;

    color: #0f172a;

    margin-bottom: 16px;

}



.tramontina-btn-checkout {

    display: block;

    width: 100%;

    background: #059669;

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    text-align: center;

    padding: 14px;

    border-radius: 8px;

    text-decoration: none;

    transition: background 0.2s ease;

    box-sizing: border-box;

}



.tramontina-btn-checkout:hover {

    background: #047857;

    color: #ffffff;

}



/* Botão Lançador Flutuante no Canto da Tela */

.tramontina-floating-cart-btn {

    position: fixed;

    bottom: 24px;

    right: 24px;

    background: #004b87;

    color: #ffffff;

    border-radius: 30px;

    padding: 12px 22px;

    display: flex;

    align-items: center;

    gap: 10px;

    box-shadow: 0 4px 16px rgba(0, 75, 135, 0.35);

    cursor: pointer;

    z-index: 99990;

    font-weight: 700;

    font-size: 14px;

    border: none;

    transition: transform 0.2s, box-shadow 0.2s;

}



.tramontina-floating-cart-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 6px 20px rgba(0, 75, 135, 0.45);

}



.tramontina-floating-cart-count {

    background: #ef4444;

    color: #ffffff;

    font-size: 11px;

    padding: 2px 7px;

    border-radius: 10px;

}



/* ==========================================================================

   GRADE & TABELA DE COTAÇÃO RÁPIDA B2B [tramontina_cotacao_rapida]

   ========================================================================== */

.tramontina-quick-wrap {

    max-width: 1200px;

    margin: 20px auto;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

}



.tramontina-quick-filter-bar {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 16px 20px;

    margin-bottom: 24px;

    display: flex;

    gap: 16px;

    flex-wrap: wrap;

    align-items: center;

}



.tramontina-filter-search {

    flex: 2;

    min-width: 250px;

}



.tramontina-filter-search input {

    width: 100%;

    padding: 10px 14px;

    border: 1px solid #cbd5e1;

    border-radius: 6px;

    font-size: 14px;

}



.tramontina-filter-select {

    flex: 1;

    min-width: 180px;

}



.tramontina-filter-select select {

    width: 100%;

    padding: 10px 12px;

    border: 1px solid #cbd5e1;

    border-radius: 6px;

    font-size: 14px;

    background: #fff;

}



.tramontina-quick-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

    gap: 20px;

}



.tramontina-quick-card {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 16px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: transform 0.2s, box-shadow 0.2s;

}



.tramontina-quick-card:hover {

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);

    border-color: #cbd5e1;

}



.tramontina-card-img {

    height: 140px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 12px;

}



.tramontina-card-img img {

    max-height: 100%;

    max-width: 100%;

    object-fit: contain;

}



.tramontina-card-sku {

    font-size: 11px;

    color: #64748b;

    font-weight: 600;

}



.tramontina-card-title {

    font-size: 14px;

    font-weight: 700;

    color: #1e293b;

    margin: 4px 0 8px 0;

    line-height: 1.3;

}



.tramontina-card-pills {

    display: flex;

    gap: 6px;

    margin-bottom: 12px;

}



.tramontina-qty-stepper {

    display: flex;

    align-items: center;

    border: 1px solid #cbd5e1;

    border-radius: 6px;

    overflow: hidden;

    margin-bottom: 10px;

}



.tramontina-qty-btn {

    background: #f1f5f9;

    border: none;

    width: 44px;

    height: 40px;

    font-size: 18px;

    font-weight: 700;

    color: #334155;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: background 0.15s;

}



.tramontina-qty-btn:hover {

    background: #e2e8f0;

}



.tramontina-qty-input {

    flex: 1;

    border: none;

    text-align: center;

    font-size: 14px;

    font-weight: 700;

    color: #0f172a;

    padding: 0;

    height: 40px;

}



.tramontina-btn-add {

    width: 100%;

    background: #004b87;

    color: #ffffff;

    border: none;

    padding: 10px;

    border-radius: 6px;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: background 0.2s;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

}



.tramontina-btn-add:hover {

    background: #003360;

}



/* Responsividade Mobile (BottomSheet) */

@media (max-width: 640px) {

    .tramontina-drawer {

        top: auto;

        bottom: 0;

        width: 100%;

        max-width: 100%;

        height: 85vh;

        border-radius: 16px 16px 0 0;

        transform: translateY(100%);

    }



    .tramontina-drawer.active {

        transform: translateY(0);

    }

}



/* =========================================================================

   TRAMONTINA B2B - CATÁLOGO INTERATIVO POR FAMÍLIAS & GRADE DE MEDIDAS

   ========================================================================= */



.tramontina-matrix-app {

    max-width: 1320px;

    margin: 20px auto 80px auto;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    color: #1e293b;

}



/* Banner de Topo */

.t-matrix-hero {

    background: linear-gradient(135deg, #004b87 0%, #00284d 100%);

    border-radius: 14px;

    padding: 24px 30px;

    color: #ffffff;

    margin-bottom: 24px;

    box-shadow: 0 8px 24px rgba(0, 40, 77, 0.15);

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 16px;

}



.t-matrix-hero h1 {

    font-size: 24px;

    font-weight: 800;

    margin: 0 0 6px 0;

    color: #ffffff;

    display: flex;

    align-items: center;

    gap: 10px;

}



.t-matrix-hero p {

    font-size: 14px;

    margin: 0;

    color: #cbd5e1;

}



.t-matrix-hero-badges {

    display: flex;

    gap: 8px;

    flex-wrap: wrap;

}



.t-badge-hero {

    background: rgba(255, 255, 255, 0.15);

    backdrop-filter: blur(4px);

    border: 1px solid rgba(255, 255, 255, 0.25);

    color: #ffffff;

    padding: 6px 14px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 700;

}



/* 1. Abas das Linhas Oficiais */

.t-linha-tabs {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;

    margin-bottom: 20px;

}



@media (max-width: 860px) {

    .t-linha-tabs {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 480px) {

    .t-linha-tabs {

        grid-template-columns: 1fr;

    }

}



.t-linha-tab {

    background: #ffffff;

    border: 2px solid #e2e8f0;

    border-radius: 12px;

    padding: 14px 16px;

    cursor: pointer;

    transition: all 0.2s ease;

    display: flex;

    flex-direction: column;

    gap: 4px;

    text-align: left;

    position: relative;

    overflow: hidden;

}



.t-linha-tab:hover {

    border-color: #94a3b8;

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

}



.t-linha-tab .t-tab-name {

    font-size: 15px;

    font-weight: 800;

    display: flex;

    align-items: center;

    gap: 8px;

}



.t-linha-tab .t-tab-desc {

    font-size: 11px;

    color: #64748b;

    font-weight: 500;

}



.t-linha-tab .t-tab-count {

    position: absolute;

    top: 12px;

    right: 12px;

    font-size: 11px;

    font-weight: 800;

    padding: 2px 8px;

    border-radius: 10px;

    background: #f1f5f9;

    color: #475569;

}



/* Cores das Abas Ativas */

.t-linha-tab.tab-master.active {

    border-color: #004b87;

    background: #f0f7ff;

    box-shadow: 0 4px 14px rgba(0, 75, 135, 0.15);

}

.t-linha-tab.tab-master.active .t-tab-name { color: #004b87; }

.t-linha-tab.tab-master.active .t-tab-count { background: #004b87; color: #ffffff; }



.t-linha-tab.tab-multi.active {

    border-color: #15803d;

    background: #f0fdf4;

    box-shadow: 0 4px 14px rgba(21, 128, 61, 0.15);

}

.t-linha-tab.tab-multi.active .t-tab-name { color: #15803d; }

.t-linha-tab.tab-multi.active .t-tab-count { background: #15803d; color: #ffffff; }



.t-linha-tab.tab-pro.active {

    border-color: #ea580c;

    background: #fff7ed;

    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.15);

}

.t-linha-tab.tab-pro.active .t-tab-name { color: #ea580c; }

.t-linha-tab.tab-pro.active .t-tab-count { background: #ea580c; color: #ffffff; }



.t-linha-tab.tab-total.active {

    border-color: #0284c7;

    background: #f0f9ff;

    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);

}

.t-linha-tab.tab-total.active .t-tab-name { color: #0284c7; }

.t-linha-tab.tab-total.active .t-tab-count { background: #0284c7; color: #ffffff; }



/* 2. Barra de Busca e Filtros */

.t-search-bar {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    padding: 14px 18px;

    margin-bottom: 16px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);

    display: flex;

    gap: 12px;

    align-items: center;

}



.t-search-input-wrap {

    flex: 1;

    position: relative;

}



.t-search-input-wrap input {

    width: 100%;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    padding: 12px 14px 12px 40px;

    font-size: 14px;

    font-weight: 500;

    color: #1e293b;

    outline: none;

    transition: border-color 0.15s;

    background: #f8fafc;

}



.t-search-input-wrap input:focus {

    border-color: #004b87;

    background: #ffffff;

    box-shadow: 0 0 0 3px rgba(0, 75, 135, 0.1);

}



.t-search-icon {

    position: absolute;

    left: 14px;

    top: 50%;

    transform: translateY(-50%);

    font-size: 16px;

    color: #94a3b8;

    pointer-events: none;

}



.t-search-clear {

    position: absolute;

    right: 12px;

    top: 50%;

    transform: translateY(-50%);

    background: none;

    border: none;

    color: #94a3b8;

    cursor: pointer;

    font-size: 14px;

    padding: 4px;

    display: none;

}



/* 3. Pílulas de Categorias Oficiais */

.t-cats-container {

    margin-bottom: 24px;

    overflow-x: auto;

    padding-bottom: 6px;

}



.t-cats-scroll {

    display: flex;

    gap: 8px;

    align-items: center;

    flex-wrap: nowrap;

}



.t-cat-pill {

    white-space: nowrap;

    background: #ffffff;

    border: 1px solid #cbd5e1;

    border-radius: 20px;

    padding: 8px 16px;

    font-size: 13px;

    font-weight: 700;

    color: #475569;

    cursor: pointer;

    transition: all 0.15s ease;

    display: inline-flex;

    align-items: center;

    gap: 6px;

}



.t-cat-pill:hover {

    border-color: #94a3b8;

    background: #f1f5f9;

}



.t-cat-pill.active {

    background: #004b87;

    border-color: #004b87;

    color: #ffffff;

    box-shadow: 0 2px 8px rgba(0, 75, 135, 0.2);

}



.t-cat-pill .t-pill-count {

    background: rgba(0, 0, 0, 0.08);

    padding: 1px 6px;

    border-radius: 10px;

    font-size: 11px;

}



.t-cat-pill.active .t-pill-count {

    background: rgba(255, 255, 255, 0.25);

    color: #ffffff;

}



/* 4. Grid de Famílias de Produtos */

.t-families-grid {

    display: flex;

    flex-direction: column;

    gap: 22px;

}



.t-family-card {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);

    transition: box-shadow 0.2s ease;

}



.t-family-card:hover {

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

}



/* Header do Card da Família */

.t-family-header {

    background: #f8fafc;

    border-bottom: 1px solid #e2e8f0;

    padding: 12px 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

}



.t-family-title-wrap {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;

}



.t-fam-code {

    background: #0f172a;

    color: #ffffff;

    font-weight: 800;

    font-size: 13px;

    padding: 3px 10px;

    border-radius: 6px;

    letter-spacing: 0.5px;

}



.t-fam-name {

    font-size: 17px;

    font-weight: 800;

    color: #0f172a;

}



.t-fam-meta {

    display: flex;

    gap: 8px;

    align-items: center;

}



.t-badge-linha-card {

    font-size: 11px;

    font-weight: 800;

    padding: 3px 8px;

    border-radius: 6px;

    text-transform: uppercase;

}



.t-badge-linha-card.MASTER { background: #fef08a; color: #854d0e; }

.t-badge-linha-card.MULTI { background: #dcfce7; color: #166534; }

.t-badge-linha-card.PRÓ { background: #ffedd5; color: #9a3412; }

.t-badge-linha-card.TOTAL\ 20V { background: #e0f2fe; color: #075985; }



.t-badge-cat-card {

    font-size: 12px;

    font-weight: 600;

    color: #64748b;

}



/* Corpo do Card: Foto à Esquerda e Tabela à Direita */

.t-family-body {

    display: grid;

    grid-template-columns: 240px 1fr;

    gap: 20px;

    padding: 20px;

    align-items: flex-start;

}



@media (max-width: 768px) {

    .t-family-body {

        grid-template-columns: 1fr;

    }

}



.t-family-photo-col {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

}



.t-family-photo-box {

    width: 100%;

    max-width: 220px;

    aspect-ratio: 1 / 1;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    cursor: pointer;

    overflow: hidden;

}



.t-family-photo-box img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

    transition: transform 0.2s ease;

}



.t-family-photo-box:hover img {

    transform: scale(1.06);

}



.t-photo-zoom-tag {

    position: absolute;

    bottom: 6px;

    right: 6px;

    background: rgba(15, 23, 42, 0.7);

    color: #ffffff;

    font-size: 10px;

    padding: 2px 6px;

    border-radius: 4px;

    pointer-events: none;

}



.t-photo-tax-info {

    font-size: 11px;

    color: #64748b;

    text-align: center;

    background: #f1f5f9;

    padding: 4px 10px;

    border-radius: 6px;

    width: 100%;

}



/* Tabela de Variações / Grade de Medidas */

.t-family-matrix-col {

    overflow-x: auto;

}



.t-matrix-table {

    width: 100%;

    border-collapse: collapse;

    font-size: 13px;

}



.t-matrix-table th {

    background: #f1f5f9;

    color: #475569;

    font-weight: 700;

    text-align: left;

    padding: 8px 12px;

    border-bottom: 2px solid #cbd5e1;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 0.5px;

}



.t-matrix-table td {

    padding: 10px 12px;

    border-bottom: 1px solid #e2e8f0;

    vertical-align: middle;

}



.t-matrix-table tbody tr:hover {

    background: #f8fafc;

}



.t-row-ref {

    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    font-weight: 800;

    color: #0f172a;

    font-size: 13px;

    white-space: nowrap;

}



.t-row-size {

    font-weight: 700;

    color: #1e293b;

    font-size: 13px;

}



.t-row-desc-sub {

    font-size: 11px;

    color: #64748b;

    display: block;

    margin-top: 2px;

}



.t-row-select-emb {

    border: 1px solid #cbd5e1;

    border-radius: 6px;

    padding: 6px 10px;

    font-size: 12px;

    font-weight: 600;

    color: #1e293b;

    background: #ffffff;

    cursor: pointer;

    max-width: 180px;

}



/* Stepper de Quantidade */

.t-stepper-wrap {

    display: inline-flex;

    align-items: center;

    border: 1px solid #cbd5e1;

    border-radius: 6px;

    background: #ffffff;

    overflow: hidden;

}



.t-stepper-btn {

    background: #f1f5f9;

    border: none;

    width: 32px;

    height: 32px;

    font-size: 16px;

    font-weight: 700;

    color: #334155;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: background 0.1s;

}



.t-stepper-btn:hover {

    background: #e2e8f0;

}



.t-stepper-input {

    width: 44px;

    height: 32px;

    border: none;

    text-align: center;

    font-size: 13px;

    font-weight: 800;

    color: #0f172a;

    padding: 0;

    -moz-appearance: textfield;

}



.t-stepper-input::-webkit-outer-spin-button,

.t-stepper-input::-webkit-inner-spin-button {

    -webkit-appearance: none;

    margin: 0;

}



/* Botão + Cotar */

.t-btn-cotar {

    background: #004b87;

    color: #ffffff;

    border: none;

    border-radius: 6px;

    padding: 8px 14px;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.15s ease;

    white-space: nowrap;

    display: inline-flex;

    align-items: center;

    gap: 6px;

}



.t-btn-cotar:hover {

    background: #003360;

    transform: translateY(-1px);

}



.t-btn-cotar.added {

    background: #16a34a !important;

    color: #ffffff;

}



/* 5. Dock Flutuante Inferior (Espelho da Cotação) */

.t-bottom-dock {

    position: fixed;

    bottom: 20px;

    left: 50%;

    transform: translateX(-50%);

    background: #0f172a;

    color: #ffffff;

    padding: 12px 24px;

    border-radius: 40px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

    z-index: 99990;

    display: flex;

    align-items: center;

    gap: 20px;

    cursor: pointer;

    transition: all 0.25s ease;

    border: 1px solid rgba(255, 255, 255, 0.15);

}



.t-bottom-dock:hover {

    transform: translateX(-50%) translateY(-2px);

    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);

    background: #1e293b;

}



.t-bottom-dock.hidden {

    transform: translateX(-50%) translateY(120%);

    opacity: 0;

    pointer-events: none;

}



.t-dock-info {

    display: flex;

    align-items: center;

    gap: 12px;

}



.t-dock-icon {

    font-size: 22px;

}



.t-dock-count-badge {

    background: #ffb81c;

    color: #00284d;

    font-weight: 900;

    padding: 2px 8px;

    border-radius: 12px;

    font-size: 13px;

}



.t-dock-details {

    font-size: 13px;

    font-weight: 600;

}



.t-dock-btn-open {

    background: #004b87;

    color: #ffffff;

    font-weight: 800;

    font-size: 13px;

    padding: 8px 16px;

    border-radius: 20px;

    border: 1px solid rgba(255, 255, 255, 0.2);

    display: inline-flex;

    align-items: center;

    gap: 6px;

    white-space: nowrap;

}



/* 6. Gaveta Off-Canvas da Cotação */

.t-drawer-overlay {

    position: fixed;

    inset: 0;

    background: rgba(15, 23, 42, 0.65);

    backdrop-filter: blur(4px);

    z-index: 99995;

    opacity: 0;

    visibility: hidden;

    transition: all 0.25s ease;

}



.t-drawer-overlay.active {

    opacity: 1;

    visibility: visible;

}



.t-drawer {

    position: fixed;

    top: 0;

    right: 0;

    width: 600px;

    max-width: 95vw;

    height: 100vh;

    background: #ffffff;

    z-index: 99999;

    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);

    transform: translateX(100%);

    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    display: flex;

    flex-direction: column;

}



.t-drawer.active {

    transform: translateX(0);

}



.t-drawer-header {

    background: #004b87;

    color: #ffffff;

    padding: 18px 22px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.t-drawer-header h3 {

    margin: 0;

    color: #ffffff;

    font-size: 18px;

    font-weight: 800;

    display: flex;

    align-items: center;

    gap: 8px;

}



.t-drawer-close {

    background: none;

    border: none;

    color: #ffffff;

    font-size: 22px;

    cursor: pointer;

    padding: 4px;

    opacity: 0.8;

}



.t-drawer-close:hover {

    opacity: 1;

}



.t-drawer-body {

    flex: 1;

    overflow-y: auto;

    padding: 20px;

}



/* Itens da Cotação no Drawer */

.t-quote-items-list {

    margin-bottom: 24px;

}



.t-quote-item-row {

    display: grid;

    grid-template-columns: 50px 1fr auto auto;

    gap: 12px;

    align-items: center;

    padding: 10px 0;

    border-bottom: 1px solid #e2e8f0;

}



.t-quote-item-row img {

    width: 48px;

    height: 48px;

    object-fit: contain;

    background: #f8fafc;

    border-radius: 6px;

    padding: 2px;

    border: 1px solid #e2e8f0;

}



.t-quote-item-details {

    display: flex;

    flex-direction: column;

}



.t-quote-item-title {

    font-weight: 700;

    font-size: 13px;

    color: #0f172a;

}



.t-quote-item-meta {

    font-size: 11px;

    color: #64748b;

}



.t-quote-item-remove {

    background: none;

    border: none;

    color: #ef4444;

    cursor: pointer;

    font-size: 16px;

    padding: 4px;

}



/* Formulário de Fechamento do Comprador */

.t-buyer-card {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 18px;

}



.t-buyer-card h4 {

    margin: 0 0 14px 0;

    font-size: 15px;

    font-weight: 800;

    color: #0f172a;

    display: flex;

    align-items: center;

    gap: 8px;

}



.t-form-row {

    margin-bottom: 12px;

}



.t-form-row label {

    display: block;

    font-size: 12px;

    font-weight: 700;

    color: #334155;

    margin-bottom: 4px;

}



.t-form-row input,

.t-form-row textarea {

    width: 100%;

    border: 1px solid #cbd5e1;

    border-radius: 6px;

    padding: 8px 12px;

    font-size: 13px;

    box-sizing: border-box;

}



.t-form-grid-2 {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

}



.t-drawer-footer {

    background: #ffffff;

    border-top: 1px solid #e2e8f0;

    padding: 16px 20px;

}



.t-drawer-summary-bar {

    display: flex;

    justify-content: space-between;

    font-size: 14px;

    font-weight: 800;

    margin-bottom: 12px;

    color: #0f172a;

}



.t-btn-submit-quote {

    width: 100%;

    background: #16a34a;

    color: #ffffff;

    border: none;

    padding: 14px;

    border-radius: 8px;

    font-size: 15px;

    font-weight: 800;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    transition: background 0.15s;

}



.t-btn-submit-quote:hover {

    background: #15803d;

}



.t-btn-submit-quote:disabled {

    background: #94a3b8;

    cursor: not-allowed;

}



/* 7. Modal de Imagem HD */

.t-img-modal-overlay {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.85);

    z-index: 100000;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

}



.t-img-modal-box {

    background: #ffffff;

    border-radius: 12px;

    padding: 20px;

    max-width: 600px;

    width: 100%;

    text-align: center;

    position: relative;

}



.t-img-modal-box img {

    max-width: 100%;

    max-height: 70vh;

    object-fit: contain;

}



.t-img-modal-close {

    position: absolute;

    top: 10px;

    right: 14px;

    background: none;

    border: none;

    font-size: 24px;

    cursor: pointer;

    color: #475569;

}



/* 8. Sucesso e Feedback */

.t-quote-success-box {

    text-align: center;

    padding: 30px 10px;

}



.t-success-check {

    font-size: 50px;

    margin-bottom: 12px;

}



.t-btn-whatsapp-action {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    background: #25d366;

    color: #ffffff;

    text-decoration: none;

    padding: 12px 20px;

    border-radius: 8px;

    font-weight: 800;

    font-size: 14px;

    margin-top: 14px;

    width: 100%;

    box-sizing: border-box;

}



.t-btn-whatsapp-action:hover {

    background: #1ebc59;

    color: #ffffff;

}



.t-btn-csv-action {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    background: #004b87;

    color: #ffffff;

    text-decoration: none;

    padding: 12px 20px;

    border-radius: 8px;

    font-weight: 800;

    font-size: 14px;

    margin-top: 8px;

    width: 100%;

    box-sizing: border-box;

}



.t-btn-csv-action:hover {

    background: #003360;

    color: #ffffff;

}





/* =========================================================================

   HEADER PROFISSIONAL TRAMONTINA B2B (HELLO ELEMENTOR COMPATÍVEL)

   ========================================================================= */

header.site-header {

    background: linear-gradient(135deg, #002b55 0%, #004b87 100%) !important;

    border-bottom: 3px solid #f26522 !important;

    padding: 0 !important;

    margin: 0 !important;

    box-shadow: 0 4px 20px rgba(0, 43, 85, 0.2) !important;

    position: sticky !important;

    top: 0 !important;

    z-index: 9999 !important;

    width: 100% !important;

}



header.site-header .header-inner {

    max-width: 1400px !important;

    margin: 0 auto !important;

    padding: 12px 24px !important;

    display: flex !important;

    justify-content: space-between !important;

    align-items: center !important;

    flex-wrap: wrap !important;

    gap: 16px !important;

}



header.site-header .site-branding {

    margin: 0 !important;

    padding: 0 !important;

}



header.site-header .site-branding .site-title {

    margin: 0 !important;

    padding: 0 !important;

    font-size: 20px !important;

    line-height: 1.2 !important;

}



header.site-header .site-branding .site-title a {

    color: #ffffff !important;

    font-size: 20px !important;

    font-weight: 800 !important;

    letter-spacing: -0.5px !important;

    text-decoration: none !important;

    display: inline-flex !important;

    align-items: center !important;

    gap: 10px !important;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;

}



header.site-header .site-branding .site-title a::before {

    content: "" !important;

    display: inline-block !important;

    width: 130px !important;

    height: 30px !important;

    background: url('../img/tramontina_logo_white.png') no-repeat center left / contain !important;

    vertical-align: middle !important;

    margin-right: 10px !important;

}



header.site-header .site-navigation {

    margin: 0 !important;

    padding: 0 !important;

}



header.site-header .site-navigation ul.menu {

    display: flex !important;

    align-items: center !important;

    gap: 6px !important;

    list-style: none !important;

    margin: 0 !important;

    padding: 0 !important;

    flex-wrap: wrap !important;

}



header.site-header .site-navigation ul.menu li {

    margin: 0 !important;

    padding: 0 !important;

    list-style: none !important;

}



header.site-header .site-navigation ul.menu li a {

    color: #f1f5f9 !important;

    font-size: 13.5px !important;

    font-weight: 600 !important;

    padding: 8px 14px !important;

    border-radius: 6px !important;

    text-decoration: none !important;

    transition: all 0.2s ease !important;

    display: inline-block !important;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;

}



header.site-header .site-navigation ul.menu li a:hover {

    color: #ffffff !important;

    background: rgba(255, 255, 255, 0.15) !important;

}



/* Destaque para o botão de Cotação Rápida no menu */

header.site-header .site-navigation ul.menu li a[href*="cotacao-rapida"] {

    background: #f26522 !important;

    color: #ffffff !important;

    font-weight: 700 !important;

    box-shadow: 0 2px 8px rgba(242, 101, 34, 0.4) !important;

}



header.site-header .site-navigation ul.menu li a[href*="cotacao-rapida"]:hover {

    background: #e05514 !important;

    transform: translateY(-1px) !important;

}



/* Esconder botão feio de carrinho do Woodmart que sobrou no body se houver */

.whb-column, .woodmart-toolbar, .woodmart-cart-sidebar {

    display: none !important;

}



/* =========================================================================

   OVERRIDE FORÇA BRUTA CONTRA ELEMENTOR / HELLO ELEMENTOR

   ========================================================================= */

header.site-header .site-description {

    color: #94a3b8 !important;

    font-size: 11px !important;

    margin: 2px 0 0 0 !important;

    display: block !important;

}



.t-btn-cotar {

    background: #004b87 !important;

    color: #ffffff !important;

    border: none !important;

    box-shadow: 0 2px 6px rgba(0, 75, 135, 0.25) !important;

}



.t-btn-cotar:hover {

    background: #003360 !important;

    color: #ffffff !important;

}



.t-btn-cotar.added {

    background: #16a34a !important;

    color: #ffffff !important;

}



.t-stepper-wrap {

    border: 1px solid #cbd5e1 !important;

    background: #ffffff !important;

}



.t-stepper-btn {

    background: #f1f5f9 !important;

    border: none !important;

    color: #004b87 !important;

    font-size: 16px !important;

}



.t-stepper-btn:hover {

    background: #e2e8f0 !important;

    color: #003360 !important;

}



.t-stepper-input {

    border: none !important;

    background: #ffffff !important;

    color: #0f172a !important;

}



/* Ocultar o botão flutuante antigo rosa/vermelho do tema/elementor */

#tramontina-floating-cart-btn, .woodmart-cart-subtotal, a.cart-contents {

    display: none !important;

}



/* =========================================================================

   ESTILOS EXCLUSIVOS DO BOTÃO DE ENVIAR COTAÇÃO E REMOVER ITEM DO DRAWER

   ========================================================================= */

.t-btn-submit-quote, #t-btn-submit-quote {

    background: #f26522 !important;

    background: linear-gradient(135deg, #f26522 0%, #e05514 100%) !important;

    color: #ffffff !important;

    border: none !important;

    font-weight: 800 !important;

    font-size: 15px !important;

    border-radius: 8px !important;

    padding: 14px 20px !important;

    width: 100% !important;

    cursor: pointer !important;

    box-shadow: 0 4px 14px rgba(242, 101, 34, 0.4) !important;

    transition: all 0.2s ease !important;

    display: block !important;

    text-align: center !important;

}



.t-btn-submit-quote:hover, #t-btn-submit-quote:hover {

    background: #d84f10 !important;

    transform: translateY(-2px) !important;

    box-shadow: 0 6px 18px rgba(242, 101, 34, 0.5) !important;

}



.t-drawer-item-remove {

    background: #fef2f2 !important;

    color: #ef4444 !important;

    border: 1px solid #fecaca !important;

    border-radius: 6px !important;

    cursor: pointer !important;

    transition: all 0.15s ease !important;

}



.t-drawer-item-remove:hover {

    background: #ef4444 !important;

    color: #ffffff !important;

}



/* =========================================================================

   CATÁLOGO HÍBRIDO B2B TRAMONTINA (PORTAL V3 - 4 NÍVEIS OFICIAIS)

   ========================================================================= */



/* 1. Portal Header - Compact B2B (Ocultado para manter cabeçalho único do site) */

.t-portal-header {

    display: none !important;

}



.t-portal-brand .t-brand-logo {

    font-size: 18px;

    font-weight: 900;

    letter-spacing: 1.5px;

    display: block;

    color: #ffffff;

    line-height: 1.1;

}



.t-portal-brand .t-brand-sub {

    font-size: 11px;

    color: #93c5fd;

    font-weight: 600;

    letter-spacing: 0.3px;

    display: block;

    margin-top: 2px;

}



.t-portal-badges {

    display: flex;

    gap: 6px;

    flex-wrap: wrap;

}



.t-badge-hero {

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.25);

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;

    padding: 3px 8px;

    border-radius: 14px;

}



/* 2. Sticky Navbar - Compact */

.t-matrix-navbar {

    position: sticky;

    top: 0;

    z-index: 90;

    background: #ffffff;

    border-bottom: 1.5px solid #e2e8f0;

    padding: 6px 12px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);

    margin-bottom: 12px;

    border-radius: 6px;

}



.t-nav-left {

    display: flex;

    align-items: center;

    gap: 10px;

    flex: 1;

    min-width: 0;

}



.t-nav-back {

    background: #f1f5f9 !important;

    color: #004b87 !important;

    border: 1px solid #cbd5e1 !important;

    border-radius: 5px !important;

    font-size: 11px !important;

    font-weight: 700 !important;

    padding: 5px 10px !important;

    cursor: pointer !important;

    white-space: nowrap !important;

    transition: all 0.15s ease !important;

}



.t-nav-back:hover {

    background: #004b87 !important;

    color: #ffffff !important;

    border-color: #004b87 !important;

}



.t-nav-breadcrumbs {

    display: flex;

    align-items: center;

    gap: 5px;

    font-size: 12px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}



.t-crumb-link {

    color: #004b87;

    font-weight: 600;

    text-decoration: none;

}



.t-crumb-link:hover {

    text-decoration: underline;

}



.t-crumb-sep {

    color: #94a3b8;

    font-size: 12px;

}



.t-crumb.active {

    color: #0f172a;

    font-weight: 800;

}



.t-nav-right {

    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 250px;

}



.t-nav-rep-link {

    background: #0284c7 !important;

    color: #ffffff !important;

    font-size: 11px !important;

    font-weight: 700 !important;

    padding: 6px 12px !important;

    border-radius: 6px !important;

    text-decoration: none !important;

    white-space: nowrap !important;

    transition: background 0.15s ease !important;

    display: inline-flex !important;

    align-items: center !important;

    gap: 4px !important;

}



.t-nav-rep-link:hover {

    background: #0369a1 !important;

    color: #ffffff !important;

}



.t-nav-search-wrap {

    position: relative;

    display: flex;

    align-items: center;

}



.t-nav-search-icon {

    position: absolute;

    left: 10px;

    color: #94a3b8;

    font-size: 12px;

    pointer-events: none;

}



.t-nav-search-wrap input {

    width: 100%;

    padding: 6px 28px 6px 28px;

    border: 1.5px solid #cbd5e1;

    border-radius: 16px;

    font-size: 12px;

    background: #f8fafc;

    transition: all 0.2s ease;

    height: 30px;

    box-sizing: border-box;

}



.t-nav-search-wrap input:focus {

    background: #ffffff;

    border-color: #004b87;

    outline: none;

    box-shadow: 0 0 0 2px rgba(0, 75, 135, 0.12);

}



.t-nav-search-clear {

    position: absolute;

    right: 8px;

    background: transparent;

    border: none;

    color: #94a3b8;

    font-size: 12px;

    cursor: pointer;

    padding: 2px;

}



/* 3. Spinner */

.t-spinner-circle {

    width: 32px;

    height: 32px;

    border: 3px solid #e2e8f0;

    border-top-color: #004b87;

    border-radius: 50%;

    animation: t-spin 0.8s linear infinite;

    margin: 0 auto;

}



@keyframes t-spin {

    to { transform: rotate(360deg); }

}



/* 4. Portal Catalogs Grid (Nível 1) - Compact B2B */

.t-portal-intro {

    text-align: center;

    margin-bottom: 12px;

}



.t-portal-intro h2 {

    font-size: 17px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 3px 0;

}



.t-portal-intro p {

    font-size: 12px;

    color: #64748b;

    margin: 0;

}



.t-portal-catalogs-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;

    margin-bottom: 20px;

}



@media (max-width: 1024px) {

    .t-portal-catalogs-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 640px) {

    .t-portal-catalogs-grid {

        grid-template-columns: 1fr;

    }

    .t-nav-right {

        min-width: 100%;

    }

    .t-matrix-navbar {

        flex-direction: column;

        align-items: stretch;

    }

}



.t-portal-card {

    background: #ffffff;

    border: 1.5px solid #e2e8f0;

    border-radius: 8px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

    transition: all 0.2s ease;

    cursor: pointer;

}



.t-portal-card:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 16px rgba(0, 75, 135, 0.12);

    border-color: #004b87;

}



.t-portal-card-cover-wrap {

    position: relative;

    background: #0f172a;

    height: 190px;

    overflow: hidden;

}



.t-portal-card-cover {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;

}



.t-portal-card:hover .t-portal-card-cover {

    transform: scale(1.03);

}



.t-portal-card-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0, 43, 85, 0.4);

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    transition: opacity 0.2s ease;

}



.t-portal-card:hover .t-portal-card-overlay {

    opacity: 1;

}



.t-portal-card-overlay span {

    background: #f26522;

    color: #ffffff;

    font-weight: 800;

    font-size: 11px;

    padding: 6px 14px;

    border-radius: 14px;

    box-shadow: 0 2px 8px rgba(242, 101, 34, 0.4);

}



.t-portal-card-info {

    padding: 10px 12px;

    display: flex;

    flex-direction: column;

    flex: 1;

}



.t-portal-card-tag {

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    margin-bottom: 4px;

    display: inline-block;

}



.tag-master { color: #004b87; }

.tag-multi { color: #059669; }

.tag-pro { color: #d97706; }

.tag-total { color: #0284c7; }



.t-portal-card-title {

    font-size: 14px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 4px 0;

}



.t-portal-card-desc {

    font-size: 11px;

    color: #64748b;

    line-height: 1.35;

    margin: 0 0 10px 0;

    flex: 1;

}



.t-portal-card-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-top: 1px solid #f1f5f9;

    padding-top: 8px;

}



.t-badge-count {

    background: #f1f5f9;

    color: #334155;

    font-size: 10px;

    font-weight: 700;

    padding: 3px 6px;

    border-radius: 4px;

}



.t-portal-card-btn {

    background: #004b87 !important;

    color: #ffffff !important;

    border: none !important;

    border-radius: 4px !important;

    padding: 5px 10px !important;

    font-size: 11px !important;

    font-weight: 700 !important;

    cursor: pointer !important;

    transition: background 0.15s ease !important;

}



.t-portal-card-btn:hover {

    background: #003360 !important;

}



/* 5. Índice do Catálogo (Nível 2) - Compact High-Density Grid */

.t-index-top-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 12px;

    background: #f8fafc;

    padding: 10px 14px;

    border-radius: 8px;

    border: 1px solid #e2e8f0;

}



.t-index-top-header h2 {

    font-size: 16px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 2px 0;

}



.t-index-top-header p {

    font-size: 11px;

    color: #64748b;

    margin: 0;

}



.t-mode-toggle {

    display: flex;

    background: #e2e8f0;

    border-radius: 6px;

    padding: 2px;

}



.t-mode-btn {

    background: transparent !important;

    border: none !important;

    color: #475569 !important;

    font-size: 11px !important;

    font-weight: 700 !important;

    padding: 5px 10px !important;

    border-radius: 4px !important;

    cursor: pointer !important;

    transition: all 0.15s ease !important;

}



.t-mode-btn.active {

    background: #ffffff !important;

    color: #004b87 !important;

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;

}



.t-categories-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));

    gap: 10px;

}



@media (max-width: 640px) {

    .t-categories-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



.t-category-card {

    background: #ffffff;

    border: 1.5px solid #e2e8f0;

    border-radius: 8px;

    overflow: hidden;

    cursor: pointer;

    transition: all 0.2s ease;

    display: flex;

    flex-direction: column;

}



.t-category-card:hover {

    border-color: #004b87;

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(0, 75, 135, 0.1);

}



.t-cat-card-img-wrap {

    background: #ffffff;

    height: 105px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 8px;

    border-bottom: 1px solid #f1f5f9;

    position: relative;

    overflow: hidden;

}



.t-cat-card-img-wrap img.t-cat-single-img,

.t-cat-card-img-wrap > img {

    max-height: 90px;

    max-width: 90%;

    object-fit: contain;

    transition: transform 0.2s ease;

}



.t-category-card:hover .t-cat-card-img-wrap img.t-cat-single-img,

.t-category-card:hover .t-cat-card-img-wrap > img {

    transform: scale(1.06);

}



/* Mini-grid PRÓ (Quadradinho 2x2 com micro-cards nítidos) */

.t-pro-tools-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    grid-template-rows: repeat(2, 1fr);

    gap: 4px;

    width: 100%;

    height: 100%;

    max-width: 105px;

    max-height: 90px;

    margin: 0 auto;

}



.t-pro-tool-cell {

    display: flex;

    align-items: center;

    justify-content: center;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 4px;

    padding: 2px;

    overflow: hidden;

    transition: all 0.15s ease;

}



.t-category-card:hover .t-pro-tool-cell {

    border-color: #004b87;

    background: #f8fafc;

}



.t-pro-tool-cell img {

    max-height: 100%;

    max-width: 100%;

    object-fit: contain;

    transition: transform 0.2s ease;

}



.t-category-card:hover .t-pro-tool-cell img {

    transform: scale(1.1);

}



.t-cat-card-body {

    padding: 8px 10px;

    display: flex;

    flex-direction: column;

    flex: 1;

}



.t-cat-badge {

    background: #eff6ff;

    color: #004b87;

    font-size: 10px;

    font-weight: 700;

    padding: 2px 5px;

    border-radius: 3px;

    display: inline-block;

    align-self: flex-start;

    margin-bottom: 4px;

}



.t-cat-card-title {

    font-size: 12px;

    font-weight: 700;

    color: #0f172a;

    margin: 0 0 6px 0;

    line-height: 1.3;

    flex: 1;

}



.t-cat-card-btn {

    background: #f8fafc !important;

    color: #004b87 !important;

    border: 1px solid #cbd5e1 !important;

    border-radius: 4px !important;

    font-size: 11px !important;

    font-weight: 700 !important;

    padding: 4px 8px !important;

    cursor: pointer !important;

    transition: all 0.15s ease !important;

    text-align: center !important;

    width: 100% !important;

}



.t-category-card:hover .t-cat-card-btn {

    background: #004b87 !important;

    color: #ffffff !important;

    border-color: #004b87 !important;

}



/* 6. Visualizador da Folha Original */

.t-sheet-container {

    background: #ffffff;

    border: 1.5px solid #cbd5e1;

    border-radius: 8px;

    padding: 14px;

}



.t-sheet-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 12px;

    font-weight: 700;

    color: #0f172a;

    font-size: 13px;

}



.t-btn-zoom-sheet {

    background: #004b87 !important;

    color: #ffffff !important;

    border: none !important;

    border-radius: 5px !important;

    padding: 5px 10px !important;

    font-size: 11px !important;

    font-weight: 700 !important;

    cursor: pointer !important;

}



.t-sheet-image-wrap {

    text-align: center;

    background: #f1f5f9;

    padding: 10px;

    border-radius: 6px;

    margin-bottom: 14px;

}



.t-sheet-img {

    max-width: 100%;

    max-height: 600px;

    object-fit: contain;

    border-radius: 4px;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);

}



.t-sheet-jump-list h4 {

    font-size: 13px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 8px 0;

}



.t-jump-chips {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

}



.t-jump-chip {

    background: #f8fafc !important;

    color: #004b87 !important;

    border: 1px solid #cbd5e1 !important;

    border-radius: 14px !important;

    padding: 4px 10px !important;

    font-size: 11px !important;

    font-weight: 700 !important;

    cursor: pointer !important;

    transition: all 0.15s ease !important;

}



.t-jump-chip:hover {

    background: #004b87 !important;

    color: #ffffff !important;

    border-color: #004b87 !important;

}



/* 7. Grade de Medidas da Ferramenta (Nível 3) - Compact B2B */

.t-category-header {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    padding: 10px 14px;

    margin-bottom: 12px;

}



.t-category-header h2 {

    font-size: 17px;

    font-weight: 900;

    color: #0f172a;

    margin: 0 0 2px 0;

}



.t-category-header p {

    font-size: 11px;

    color: #64748b;

    margin: 0;

}



.t-family-card {

    background: #ffffff;

    border: 1.5px solid #e2e8f0;

    border-radius: 8px;

    padding: 12px 14px;

    margin-bottom: 12px;

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);

}



.t-fam-grid {

    display: grid;

    grid-template-columns: 110px 1fr;

    gap: 14px;

}



@media (max-width: 640px) {

    .t-fam-grid {

        grid-template-columns: 1fr;

    }

}



.t-fam-media {

    display: flex;

    flex-direction: column;

    align-items: center;

}



.t-fam-img-wrap {

    width: 100px;

    height: 100px;

    background: #f8fafc;

    border-radius: 6px;

    border: 1px solid #e2e8f0;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    cursor: pointer;

    overflow: hidden;

    padding: 4px;

    box-sizing: border-box;

}



.t-fam-img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

    transition: transform 0.2s ease;

}



.t-fam-img-wrap:hover .t-fam-img {

    transform: scale(1.06);

}



.t-img-zoom-hint {

    position: absolute;

    bottom: 3px;

    background: rgba(15, 23, 42, 0.7);

    color: #ffffff;

    font-size: 9px;

    font-weight: 700;

    padding: 2px 5px;

    border-radius: 6px;

    pointer-events: none;

}



.t-fam-badges {

    display: flex;

    flex-wrap: wrap;

    gap: 4px;

    margin-top: 6px;

    justify-content: center;

}



.t-badge {

    font-size: 10px;

    font-weight: 700;

    padding: 2px 5px;

    border-radius: 3px;

}



.t-badge-ref { background: #f1f5f9; color: #334155; }

.t-badge-ipi { background: #ecfdf5; color: #047857; }

.t-badge-ncm { background: #eff6ff; color: #1d4ed8; }



.t-fam-header {

    margin-bottom: 8px;

}



.t-fam-linha-tag {

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    color: #004b87;

    letter-spacing: 0.5px;

}



.t-fam-title {

    font-size: 17px;

    font-weight: 800;

    color: #002d54;

    margin: 3px 0 0 0;

    line-height: 1.3;

}



.t-fam-desc-tecnica {

    font-size: 12.5px;

    font-weight: 500;

    color: #475569;

    line-height: 1.45;

    margin-top: 4px;

    margin-bottom: 2px;

}



.t-fam-table-wrap {

    overflow-x: auto;

    border: 1px solid #e2e8f0;

    border-radius: 6px;

}



.t-measure-table {

    width: 100%;

    border-collapse: collapse;

    font-size: 12px;

}



.t-measure-table th {

    background: #f8fafc;

    color: #475569;

    font-weight: 700;

    text-align: left;

    padding: 6px 8px;

    border-bottom: 1.5px solid #e2e8f0;

    white-space: nowrap;

    font-size: 11px;

}



.t-measure-table td {

    padding: 6px 8px;

    border-bottom: 1px solid #f1f5f9;

    vertical-align: middle;

}



.t-measure-row:hover,

.t-measure-row.t-row-active {

    background: #f0f7ff !important;

}



.t-row-thumb {

    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;

}



.t-row-thumb:hover {

    transform: scale(1.15);

    border-color: #004b87 !important;

    box-shadow: 0 2px 6px rgba(0, 75, 135, 0.25) !important;

}



.t-ref-code {

    color: #004b87;

    font-weight: 800;

    display: block;

    font-size: 12px;

}



.t-sku-sub {

    font-size: 10px;

    color: #94a3b8;

    display: block;

}



.t-variation-title {

    font-size: 14px;

    font-weight: 800;

    color: #002d54;

    display: block;

    line-height: 1.35;

    letter-spacing: -0.2px;

}



.t-variation-spec {

    font-size: 12px;

    color: #334155;

    display: block;

    margin-top: 3px;

    line-height: 1.3;

    font-weight: 500;

}



.t-size-badge {

    background: #f1f5f9;

    color: #0f172a;

    font-weight: 700;

    padding: 2px 6px;

    border-radius: 4px;

    display: inline-block;

    font-size: 11px;

}



.t-item-desc {

    display: block;

    font-size: 11px;

    color: #475569;

    margin-top: 2px;

    line-height: 1.25;

}



.t-select-pkg {

    padding: 4px 6px;

    border: 1px solid #cbd5e1;

    border-radius: 4px;

    font-size: 11px;

    background: #ffffff;

    max-width: 160px;

    height: 28px;

    box-sizing: border-box;

}



.t-stepper {

    display: flex;

    align-items: center;

    border: 1px solid #cbd5e1;

    border-radius: 4px;

    width: 82px;

    background: #ffffff;

}



.t-stepper-btn {

    background: #f8fafc !important;

    border: none !important;

    color: #004b87 !important;

    font-weight: 800 !important;

    width: 24px !important;

    height: 26px !important;

    cursor: pointer !important;

    padding: 0 !important;

    line-height: 1 !important;

    font-size: 13px !important;

}



.t-stepper-btn:hover {

    background: #e2e8f0 !important;

}



.t-stepper-input {

    width: 34px !important;

    height: 26px !important;

    text-align: center !important;

    border: none !important;

    background: transparent !important;

    font-weight: 800 !important;

    color: #0f172a !important;

    font-size: 12px !important;

    padding: 0 !important;

}



.t-btn-cotar {

    background: #004b87 !important;

    color: #ffffff !important;

    border: none !important;

    border-radius: 4px !important;

    font-weight: 800 !important;

    font-size: 11px !important;

    padding: 5px 10px !important;

    height: 26px !important;

    line-height: 1 !important;

    cursor: pointer !important;

    white-space: nowrap !important;

    transition: all 0.2s ease !important;

}



.t-btn-cotar:hover {

    background: #003360 !important;

    transform: translateY(-1px) !important;

}



.t-btn-cotar.quoted {

    background: #10b981 !important;

    color: #ffffff !important;

}



/* 8. Lightbox */

.t-lightbox {

    position: fixed;

    inset: 0;

    z-index: 999999;

    background: rgba(15, 23, 42, 0.88);

    backdrop-filter: blur(6px);

    -webkit-backdrop-filter: blur(6px);

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    box-sizing: border-box;

}



.t-lightbox.active {

    display: flex !important;

}



.t-lightbox-inner {

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    max-width: 90vw;

    max-height: 90vh;

}



.t-lightbox-close {

    position: absolute;

    top: 20px;

    right: 20px;

    background: #ffffff !important;

    border: none !important;

    color: #0f172a !important;

    font-size: 22px !important;

    font-weight: 800 !important;

    width: 44px !important;

    height: 44px !important;

    border-radius: 50% !important;

    cursor: pointer !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;

    transition: transform 0.2s ease, background 0.2s ease !important;

    z-index: 1000000 !important;

}



.t-lightbox-close:hover {

    transform: scale(1.1) !important;

    background: #f1f5f9 !important;

}



#t-lightbox-img {

    max-width: 88vw;

    max-height: 80vh;

    object-fit: contain;

    border-radius: 10px;

    background: #ffffff;

    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);

    padding: 12px;

    box-sizing: border-box;

}



.t-lightbox-caption {

    color: #ffffff;

    font-size: 15px;

    font-weight: 600;

    text-align: center;

    margin-top: 12px;

    max-width: 88vw;

    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);

}



body.t-lightbox-open {

    overflow: hidden !important;

}



.t-fam-img-wrap, .t-row-thumb {

    cursor: zoom-in !important;

}



/* =========================================================================

   ESTILOS COMPLETOS DO DRAWER B2B

   ========================================================================= */

.t-quote-drawer {

    position: fixed;

    top: 0;

    right: 0;

    width: 600px;

    max-width: 95vw;

    height: 100vh;

    background: #ffffff;

    z-index: 99999;

    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);

    transform: translateX(100%);

    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    display: flex;

    flex-direction: column;

}



.t-quote-drawer.active {

    transform: translateX(0) !important;

}



.t-drawer-header {

    background: linear-gradient(135deg, #002244 0%, #004b87 100%);

    color: #ffffff;

    padding: 18px 22px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.t-drawer-header h3 {

    margin: 0;

    color: #ffffff;

    font-size: 18px;

    font-weight: 800;

}



.t-drawer-sub {

    font-size: 12px;

    color: #93c5fd;

    display: block;

    margin-top: 2px;

}



.t-drawer-close {

    background: none !important;

    border: none !important;

    color: #ffffff !important;

    font-size: 22px !important;

    cursor: pointer !important;

    opacity: 0.8 !important;

}



.t-drawer-close:hover {

    opacity: 1 !important;

}



.t-drawer-body {

    flex: 1;

    overflow-y: auto;

    padding: 20px;

}



.t-drawer-item {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    padding: 12px 0;

    border-bottom: 1px solid #f1f5f9;

}



.t-drawer-item-info {

    flex: 1;

    min-width: 0;

}



.t-d-title {

    font-size: 14px;

    font-weight: 700;

    color: #0f172a;

    display: block;

    margin-bottom: 4px;

}



.t-d-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    font-size: 12px;

    color: #64748b;

}



.t-d-meta span {

    background: #f1f5f9;

    padding: 2px 6px;

    border-radius: 4px;

}



.t-drawer-item-qty {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 4px;

}



.t-d-stepper {

    display: flex;

    align-items: center;

    border: 1px solid #cbd5e1;

    border-radius: 6px;

    background: #ffffff;

}



.t-d-btn {

    background: #f8fafc !important;

    border: none !important;

    color: #004b87 !important;

    font-weight: 800 !important;

    width: 26px !important;

    height: 28px !important;

    cursor: pointer !important;

    font-size: 14px !important;

    line-height: 1 !important;

}



.t-d-val {

    width: 32px;

    text-align: center;

    font-weight: 800;

    font-size: 13px;

    color: #0f172a;

}



.t-d-pecas {

    font-size: 11px;

    color: #64748b;

}



.t-drawer-item-remove {

    background: #fee2e2 !important;

    color: #ef4444 !important;

    border: none !important;

    width: 28px !important;

    height: 28px !important;

    border-radius: 50% !important;

    font-weight: 800 !important;

    cursor: pointer !important;

    font-size: 13px !important;

    transition: background 0.15s ease !important;

}



.t-drawer-item-remove:hover {

    background: #ef4444 !important;

    color: #ffffff !important;

}



.t-drawer-summary-box {

    background: #eff6ff;

    border: 1px solid #bfdbfe;

    color: #1e40af;

    font-weight: 700;

    font-size: 13px;

    padding: 12px;

    border-radius: 8px;

    text-align: center;

    margin: 16px 0;

}



.t-buyer-form-box {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    padding: 16px;

}



.t-buyer-form-box h4 {

    margin: 0 0 12px 0;

    font-size: 15px;

    font-weight: 800;

    color: #0f172a;

}



.t-form-row {

    margin-bottom: 12px;

}



.t-form-row-2 {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-bottom: 12px;

}



.t-form-row label, .t-form-col label {

    display: block;

    font-size: 12px;

    font-weight: 700;

    color: #334155;

    margin-bottom: 4px;

}



.t-form-row input, .t-form-col input, .t-form-row textarea {

    width: 100%;

    padding: 8px 12px;

    border: 1.5px solid #cbd5e1;

    border-radius: 6px;

    font-size: 13px;

    background: #ffffff;

}



.t-form-row input:focus, .t-form-col input:focus, .t-form-row textarea:focus {

    border-color: #004b87;

    outline: none;

}



.t-drawer-footer {

    background: #ffffff;

    border-top: 1px solid #e2e8f0;

    padding: 16px 20px;

    display: flex;

    flex-direction: column;

    gap: 10px;

}



.t-btn-submit-quote {

    background: linear-gradient(135deg, #f26522 0%, #e05514 100%) !important;

    color: #ffffff !important;

    border: none !important;

    font-weight: 800 !important;

    font-size: 15px !important;

    border-radius: 8px !important;

    padding: 14px 20px !important;

    width: 100% !important;

    cursor: pointer !important;

    box-shadow: 0 4px 14px rgba(242, 101, 34, 0.4) !important;

    transition: all 0.2s ease !important;

    text-align: center !important;

}



.t-btn-submit-quote:hover {

    background: #d84f10 !important;

    transform: translateY(-2px) !important;

}



.t-btn-download-csv {

    background: #f1f5f9 !important;

    color: #334155 !important;

    border: 1.5px solid #cbd5e1 !important;

    border-radius: 8px !important;

    padding: 10px 16px !important;

    font-weight: 700 !important;

    font-size: 13px !important;

    cursor: pointer !important;

    transition: all 0.15s ease !important;

    text-align: center !important;

}



.t-btn-download-csv:hover {

    background: #e2e8f0 !important;

    color: #0f172a !important;

}



/* =========================================================================

   RESPONSIVIDADE MOBILE COMPLETA (SMARTPHONES E TABLETS < 768px)

   ========================================================================= */

@media (max-width: 768px) {

    .t-matrix-app {

        padding: 6px 4px !important;

    }



    /* Sub-nav e Breadcrumbs */

    .t-sub-nav {

        flex-direction: column !important;

        align-items: stretch !important;

        gap: 8px !important;

    }

    .t-sub-nav-left {

        flex-wrap: wrap !important;

        gap: 6px !important;

    }

    .t-btn-sub-back {

        width: 100% !important;

        justify-content: center !important;

    }

    .t-search-box-top {

        width: 100% !important;

    }



    /* Grade de Categorias (Nível 2) */

    .t-categories-grid {

        grid-template-columns: repeat(2, 1fr) !important;

        gap: 8px !important;

    }

    .t-cat-card-img-wrap {

        height: 90px !important;

        padding: 4px !important;

        background: #ffffff !important;

    }

    .t-pro-tools-grid {

        max-height: 80px !important;

        max-width: 90px !important;

        gap: 3px !important;

    }

    .t-cat-card-body {

        padding: 6px 8px !important;

    }

    .t-cat-card-title {

        font-size: 11px !important;

        line-height: 1.25 !important;

        margin-bottom: 4px !important;

    }

    .t-cat-badge {

        font-size: 9px !important;

        padding: 1px 4px !important;

    }

    .t-cat-card-btn {

        font-size: 10px !important;

        padding: 3px 6px !important;

    }



    /* Card da Família de Produtos (Nível 3) */

    .t-family-card {

        padding: 10px !important;

        margin-bottom: 12px !important;

        border-radius: 8px !important;

    }

    .t-fam-grid {

        grid-template-columns: 1fr !important;

        gap: 10px !important;

    }

    .t-fam-media {

        flex-direction: row !important;

        align-items: center !important;

        gap: 12px !important;

        margin-bottom: 6px !important;

    }

    .t-fam-img-wrap {

        width: 85px !important;

        height: 85px !important;

        flex-shrink: 0 !important;

    }

    .t-fam-badges {

        flex-direction: row !important;

        flex-wrap: wrap !important;

        gap: 4px !important;

        margin-top: 0 !important;

        justify-content: flex-start !important;

    }

    .t-fam-header {

        margin-bottom: 8px !important;

    }

    .t-fam-title {

        font-size: 15px !important;

    }



    /* TRANSFORMAÇÃO MOBILE DA TABELA DE MEDIDAS (GRID DE COMPRAS FLUIDO) */

    .t-fam-table-wrap {

        border: none !important;

        overflow: visible !important;

    }

    .t-measure-table thead {

        display: none !important;

    }

    .t-measure-table,

    .t-measure-table tbody {

        display: block !important;

        width: 100% !important;

    }

    .t-measure-row {

        display: grid !important;

        grid-template-columns: 1fr 1fr !important;

        grid-template-areas: 

            "ref medida"

            "desc desc"

            "emb emb"

            "qtd action" !important;

        gap: 8px !important;

        padding: 10px 12px !important;

        background: #ffffff !important;

        border: 1.5px solid #e2e8f0 !important;

        border-radius: 8px !important;

        margin-bottom: 8px !important;

        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;

    }

    .t-col-ref {

        grid-area: ref !important;

        display: flex !important;

        flex-direction: column !important;

        justify-content: center !important;

        padding: 0 !important;

        border: none !important;

    }

    .t-ref-code {

        font-size: 13px !important;

    }

    .t-sku-sub {

        font-size: 10px !important;

    }

    .t-col-medida {

        grid-area: medida !important;

        display: flex !important;

        flex-direction: column !important;

        align-items: flex-end !important;

        justify-content: center !important;

        text-align: right !important;

        padding: 0 !important;

        border: none !important;

    }

    .t-variation-title {

        font-size: 13px !important;

        font-weight: 800 !important;

        color: #002d54 !important;

        line-height: 1.25 !important;

        text-align: right !important;

        display: block !important;

    }

    .t-variation-spec {

        font-size: 11px !important;

        color: #334155 !important;

        line-height: 1.25 !important;

        margin-top: 2px !important;

        text-align: right !important;

        display: block !important;

        font-weight: 500 !important;

    }

    .t-size-badge {

        font-size: 11px !important;

        font-weight: 800 !important;

        background: #e0f2fe !important;

        color: #0369a1 !important;

    }

    .t-item-desc {

        grid-area: desc !important;

        font-size: 11px !important;

        color: #64748b !important;

        line-height: 1.3 !important;

        margin-top: 2px !important;

    }

    .t-col-emb {

        grid-area: emb !important;

        width: 100% !important;

        padding: 0 !important;

        border: none !important;

    }

    .t-select-pkg {

        width: 100% !important;

        max-width: 100% !important;

        height: 38px !important;

        font-size: 12px !important;

        font-weight: 600 !important;

        background-color: #f8fafc !important;

        border: 1.5px solid #cbd5e1 !important;

        border-radius: 6px !important;

        padding: 6px 10px !important;

    }

    .t-col-qtd {

        grid-area: qtd !important;

        width: 100% !important;

        padding: 0 !important;

        border: none !important;

    }

    .t-stepper {

        width: 100% !important;

        height: 38px !important;

        border: 1.5px solid #cbd5e1 !important;

        border-radius: 6px !important;

    }

    .t-stepper-btn {

        width: 38px !important;

        height: 38px !important;

        font-size: 16px !important;

    }

    .t-stepper-input {

        height: 38px !important;

        font-size: 14px !important;

    }

    .t-col-action {

        grid-area: action !important;

        width: 100% !important;

        padding: 0 !important;

        border: none !important;

    }

    .t-btn-cotar {

        width: 100% !important;

        height: 38px !important;

        font-size: 13px !important;

        font-weight: 800 !important;

        border-radius: 6px !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

    }



    /* Dock Flutuante e Gaveta */

    #t-bottom-dock {

        left: 10px !important;

        right: 10px !important;

        transform: none !important;

        width: auto !important;

        border-radius: 12px !important;

        padding: 10px 14px !important;

    }

    #t-quote-drawer {

        width: 100% !important;

        max-width: 100% !important;

    }

}



/* =========================================================================

   REMOVER GUIAS OBSOLETAS E TÍTULO DUPLICADO DO TEMA HELLO ELEMENTOR

   ========================================================================= */

.entry-title,

.page-title,

.page-header,

.site-main > .entry-header {

    display: none !important;

}



/* Ocultar guias antigas de categoria ou loja no menu de navegação */

.menu-item a[href*="categoria-produto"],

.menu-item a[href*="/loja/"],

li[class*="categoria-produto"],

li[class*="loja"] {

    display: none !important;

}





/* =========================================================================

   LOGOMARCAS OFICIAIS TRAMONTINA (HEADER, HERO, CARDS, DRAWER)

   ========================================================================= */

.t-brand-logo-img {

    height: 32px;

    width: auto;

    max-width: 180px;

    display: block;

    object-fit: contain;

}



.t-portal-card-logo-box {

    margin: 6px 0 10px 0;

    min-height: 38px;

    display: flex;

    align-items: center;

}



.t-portal-card-logo-img {

    max-height: 34px;

    max-width: 200px;

    width: auto;

    object-fit: contain;

    display: block;

}



.t-fam-badge-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    width: 100%;

}



.t-card-brand-logo {

    height: 14px;

    width: auto;

    object-fit: contain;

    opacity: 0.85;

}



.t-cat-banner-logo-wrap {

    margin: 4px 0 8px 0;

}



.t-cat-banner-logo {

    max-height: 40px;

    max-width: 220px;

    width: auto;

    object-fit: contain;

    background: #ffffff;

    padding: 4px 10px;

    border-radius: 6px;

    box-shadow: 0 2px 6px rgba(0,0,0,0.08);

}



.t-drawer-header-left {

    display: flex;

    align-items: center;

    gap: 12px;

}



.t-drawer-brand-logo {

    height: 22px;

    width: auto;

    object-fit: contain;

}





/* =========================================================================

   LOGOMARCAS OFICIAIS TRAMONTINA FULL PORTAL STYLING

   ========================================================================= */

.t-brand-logo-img {

    height: 36px;

    width: auto;

    max-width: 200px;

    display: block;

    object-fit: contain;

}



.t-portal-card-logo-box {

    margin: 8px 0 12px 0;

    min-height: 42px;

    display: flex;

    align-items: center;

}



.t-portal-card-logo-img {

    max-height: 38px;

    max-width: 220px;

    width: auto;

    object-fit: contain;

    display: block;

}



.t-index-title-row {

    display: flex;

    align-items: center;

    gap: 16px;

    flex-wrap: wrap;

}



.t-index-header-logo-img {

    height: 36px;

    width: auto;

    max-width: 200px;

    object-fit: contain;

    background: #ffffff;

    padding: 4px 10px;

    border-radius: 8px;

    box-shadow: 0 2px 8px rgba(0, 45, 84, 0.08);

}



.t-products-cat-row {

    display: flex;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;

}



.t-cat-header-sublogo {

    height: 32px;

    width: auto;

    max-width: 180px;

    object-fit: contain;

    background: #ffffff;

    padding: 3px 8px;

    border-radius: 6px;

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);

}



.t-fam-meta-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 6px;

}



.t-fam-card-brand-logo {

    height: 18px;

    width: auto;

    max-width: 100px;

    object-fit: contain;

    opacity: 0.85;

}



.t-drawer-header-left {

    display: flex;

    align-items: center;

    gap: 14px;

}



.t-drawer-brand-logo {

    height: 26px;

    width: auto;

    max-width: 130px;

    object-fit: contain;

}



.t-portal-footer {

    text-align: center;

    padding: 40px 20px 20px 20px;

    border-top: 1px solid #e2e8f0;

    margin-top: 50px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

}



.t-footer-brand-logo {

    height: 28px;

    width: auto;

    opacity: 0.85;

}



.t-portal-footer p {

    font-size: 13px;

    color: #64748b;

    margin: 0;

}



/* ==========================================================================

   6. TELA 1 (MASTER HUB): HERO MINIMALISTA & DESPOLUÍDO B2B

   ========================================================================== */

.t-matrix-navbar.is-home {

    display: none !important;

}



.t-clean-hero {

    background: linear-gradient(135deg, #002244 0%, #004b87 100%);

    border-radius: 12px;

    padding: 28px 24px;

    color: #ffffff;

    margin-bottom: 24px;

    box-shadow: 0 4px 16px rgba(0, 34, 68, 0.12);

    text-align: center;

}



.t-clean-title {

    font-size: 25px;

    font-weight: 900;

    color: #ffffff !important;

    margin: 0 0 6px 0;

    letter-spacing: -0.5px;

}



.t-clean-sub {

    font-size: 13px;

    color: #cbd5e1;

    margin: 0 auto 18px auto;

    max-width: 620px;

    line-height: 1.4;

}



/* Busca Central Limpa */

.t-clean-search-box {

    background: #ffffff;

    border-radius: 8px;

    padding: 5px 6px;

    display: flex;

    align-items: center;

    gap: 8px;

    max-width: 760px;

    margin: 0 auto 20px auto;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);

}



.t-clean-search-icon {

    font-size: 17px;

    color: #004b87;

    margin-left: 8px;

}



#t-hero-search-input {

    flex: 1;

    border: none !important;

    outline: none !important;

    font-size: 14px !important;

    padding: 8px 4px !important;

    color: #0f172a !important;

    background: transparent !important;

    box-shadow: none !important;

}



#t-hero-search-input::placeholder {

    color: #94a3b8;

}



.t-clean-search-btn {

    background: #004b87 !important;

    color: #ffffff !important;

    border: none !important;

    border-radius: 6px !important;

    padding: 9px 20px !important;

    font-size: 13px !important;

    font-weight: 800 !important;

    cursor: pointer !important;

    transition: background 0.15s ease !important;

}



.t-clean-search-btn:hover {

    background: #0284c7 !important;

}



/* Dois Cards Diretos das Linhas Prontas */

.t-clean-catalogs-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    max-width: 900px;

    margin: 0 auto;

    text-align: left;

}



.t-clean-cat-card {

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 8px;

    padding: 12px 16px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    cursor: pointer;

    transition: all 0.2s ease;

}



.t-clean-cat-card:hover {

    background: rgba(255, 255, 255, 0.15);

    border-color: rgba(255, 255, 255, 0.35);

    transform: translateY(-1px);

}



.t-clean-cat-left {

    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 0;

}



.t-clean-cat-icon {

    font-size: 24px;

    flex-shrink: 0;

}



.t-clean-cat-left h3 {

    font-size: 14px;

    font-weight: 800;

    color: #ffffff !important;

    margin: 0 0 2px 0;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



.t-clean-cat-left span {

    font-size: 11px;

    color: #cbd5e1;

    display: block;

    line-height: 1.2;

}



.t-clean-cat-btn {

    background: #ffffff !important;

    color: #004b87 !important;

    border: none !important;

    border-radius: 5px !important;

    padding: 7px 12px !important;

    font-size: 11px !important;

    font-weight: 800 !important;

    cursor: pointer !important;

    white-space: nowrap !important;

    transition: all 0.15s ease !important;

    flex-shrink: 0;

}



.t-clean-cat-btn:hover {

    background: #0284c7 !important;

    color: #ffffff !important;

}



@media (max-width: 768px) {

    .t-clean-catalogs-grid {

        grid-template-columns: 1fr;

    }

    .t-clean-cat-card {

        flex-direction: column;

        align-items: flex-start;

    }

    .t-clean-cat-btn {

        width: 100% !important;

        text-align: center;

    }

}



/* Divisões Section Header (Abaixo do Hero) */

.t-divisions-section-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    flex-wrap: wrap;

    gap: 14px;

    margin-bottom: 16px;

    padding: 0 4px;

}



.t-divisions-title {

    font-size: 18px;

    font-weight: 900;

    color: #0f172a !important;

    margin: 0 0 4px 0;

}



.t-divisions-sub {

    font-size: 12px;

    color: #64748b;

    margin: 0;

}



/* Pills de Segmentos */

.t-hub-segments-bar {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

}



.t-hub-seg-label {

    font-size: 12px;

    font-weight: 700;

    color: #64748b;

    text-transform: uppercase;

    letter-spacing: 0.5px;

}



.t-hub-seg-pills {

    display: flex;

    gap: 6px;

    flex-wrap: wrap;

}



.t-seg-pill {

    background: #ffffff;

    border: 1px solid #cbd5e1;

    color: #334155;

    font-size: 12px;

    font-weight: 600;

    padding: 6px 14px;

    border-radius: 20px;

    cursor: pointer;

    transition: all 0.2s ease;

}



.t-seg-pill:hover,

.t-seg-pill.active {

    background: #f26522;

    border-color: #f26522;

    color: #ffffff;

    box-shadow: 0 2px 8px rgba(242, 101, 34, 0.4);

}



@media (max-width: 768px) {

    .t-steps-summary-bar {

        flex-direction: column;

        align-items: flex-start;

        gap: 12px;

    }

    .t-step-divider {

        display: none;

    }

    .t-hero-search-row {

        flex-direction: column;

    }

    .t-hero-search-btn {

        width: 100% !important;

        justify-content: center;

    }

    .t-spotlight-catalogs {

        grid-template-columns: 1fr;

    }

    .t-divisions-section-header {

        flex-direction: column;

        align-items: flex-start;

    }

}



/* Grid das 9 Divisões */

.t-hub-divisions-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

    margin-bottom: 28px;

}



@media (max-width: 1024px) {

    .t-hub-divisions-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 640px) {

    .t-hub-divisions-grid {

        grid-template-columns: 1fr;

    }

}



.t-hub-card {

    background: #ffffff;

    border: 1.5px solid #e2e8f0;

    border-radius: 12px;

    padding: 20px;

    display: flex;

    flex-direction: column;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);

    transition: all 0.25s ease;

    position: relative;

}



.t-hub-card:hover {

    transform: translateY(-3px);

    box-shadow: 0 8px 24px rgba(0, 75, 135, 0.12);

    border-color: #004b87;

}



.t-hub-card.is-active-catalog {

    border-color: #0284c7;

    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 40%);

}



.t-hub-card-header {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-bottom: 12px;

    position: relative;

}



.t-hub-card-icon-wrap {

    width: 44px;

    height: 44px;

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);

}



.t-hub-icon {

    font-size: 22px;

}



.t-hub-header-meta {

    flex: 1;

}



.t-hub-factory-tag {

    display: block;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    color: #64748b;

    letter-spacing: 0.5px;

    margin-bottom: 2px;

}



.t-hub-card-title {

    font-size: 16px;

    font-weight: 800;

    color: #0f172a !important;

    margin: 0;

    line-height: 1.3;

}



.t-hub-status-badge {

    position: absolute;

    top: 0;

    right: 0;

    font-size: 10px;

    font-weight: 800;

    background: #f1f5f9;

    color: #475569;

    padding: 3px 8px;

    border-radius: 4px;

    border: 1px solid #e2e8f0;

}



.t-hub-status-badge.badge-live {

    background: #dcfce7;

    color: #15803d;

    border-color: #bbf7d0;

}



.t-hub-card-body {

    flex: 1;

    margin-bottom: 16px;

}



.t-hub-card-desc {

    font-size: 12.5px;

    color: #475569;

    line-height: 1.45;

    margin: 0 0 12px 0;

}



.t-hub-chips-row {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

}



.t-hub-chip {

    font-size: 11px;

    font-weight: 600;

    background: #f8fafc;

    color: #334155;

    border: 1px solid #e2e8f0;

    padding: 3px 8px;

    border-radius: 4px;

}



/* Miniaturas Pequenas dos 4 Catálogos no Card de Ferramentas */

.t-hub-catalogs-preview {

    display: grid !important;

    grid-template-columns: repeat(4, 1fr) !important;

    gap: 6px !important;

    margin-top: 10px !important;

    margin-bottom: 4px !important;

    width: 100% !important;

    box-sizing: border-box !important;

}



.t-hub-mini-card {

    background: #ffffff !important;

    border: 1px solid #e2e8f0 !important;

    border-radius: 6px !important;

    padding: 4px !important;

    text-align: center !important;

    cursor: pointer !important;

    transition: all 0.2s ease !important;

    display: flex !important;

    flex-direction: column !important;

    position: relative !important;

    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;

    overflow: hidden !important;

    box-sizing: border-box !important;

}



.t-hub-mini-card:hover {

    transform: translateY(-2px) !important;

    border-color: #0284c7 !important;

    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.16) !important;

    background: #f0f9ff !important;

}



.t-hub-mini-thumb {

    position: relative !important;

    width: 100% !important;

    height: 42px !important;

    max-height: 42px !important;

    border-radius: 3px !important;

    overflow: hidden !important;

    background: #004b87 !important;

    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;

    display: block !important;

}



.t-hub-mini-thumb img {

    width: 100% !important;

    height: 42px !important;

    max-height: 42px !important;

    object-fit: cover !important;

    object-position: top center !important;

    display: block !important;

    transition: transform 0.25s ease !important;

}



.t-hub-mini-card:hover .t-hub-mini-thumb img {

    transform: scale(1.08) !important;

}



.t-hub-mini-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0, 75, 135, 0.72);

    color: #ffffff;

    font-size: 10px;

    font-weight: 700;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    transition: opacity 0.2s ease;

    border-radius: 4px;

}



.t-hub-mini-card:hover .t-hub-mini-overlay {

    opacity: 1;

}



.t-hub-mini-info {

    margin-top: 5px;

    display: flex;

    flex-direction: column;

    align-items: center;

    line-height: 1.2;

}



.t-hub-mini-title {

    font-size: 10.5px;

    font-weight: 800;

    color: #0f172a;

    letter-spacing: 0.2px;

    text-transform: uppercase;

}



.t-hub-mini-card:hover .t-hub-mini-title {

    color: #0284c7;

}



.t-hub-mini-sub {

    font-size: 9.5px;

    font-weight: 600;

    color: #64748b;

    margin-top: 2px;

}



.t-hub-card-footer {

    border-top: 1px solid #f1f5f9;

    padding-top: 14px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

}



.t-hub-footer-stat {

    font-size: 11px;

    color: #64748b;

}



.t-hub-footer-stat strong {

    color: #004b87;

    font-weight: 800;

}



.t-hub-btn-primary {

    background: #004b87 !important;

    color: #ffffff !important;

    border: none !important;

    border-radius: 6px !important;

    padding: 8px 14px !important;

    font-size: 12px !important;

    font-weight: 700 !important;

    cursor: pointer !important;

    transition: background 0.2s ease !important;

}



.t-hub-btn-primary:hover {

    background: #003360 !important;

}



.t-hub-btn-quote {

    background: #f8fafc !important;

    color: #004b87 !important;

    border: 1.5px solid #004b87 !important;

    border-radius: 6px !important;

    padding: 7px 12px !important;

    font-size: 12px !important;

    font-weight: 700 !important;

    cursor: pointer !important;

    transition: all 0.2s ease !important;

}



.t-hub-btn-quote:hover {

    background: #004b87 !important;

    color: #ffffff !important;

}



/* Banner Multi-Divisões */

.t-hub-multi-banner {

    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);

    border: 1.5px dashed #004b87;

    border-radius: 12px;

    padding: 20px 24px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    flex-wrap: wrap;

    margin-bottom: 24px;

}



.t-multi-banner-content {

    display: flex;

    align-items: center;

    gap: 16px;

    flex: 1;

    min-width: 280px;

}



.t-multi-banner-icon {

    font-size: 32px;

}



.t-multi-banner-content h4 {

    margin: 0 0 4px 0;

    font-size: 16px;

    font-weight: 800;

    color: #004b87;

}



.t-multi-banner-content p {

    margin: 0;

    font-size: 13px;

    color: #475569;

}



.t-btn-multi-quote {

    background: #f26522 !important;

    color: #ffffff !important;

    border: none !important;

    border-radius: 8px !important;

    padding: 11px 20px !important;

    font-size: 13px !important;

    font-weight: 800 !important;

    cursor: pointer !important;

    box-shadow: 0 3px 10px rgba(242, 101, 34, 0.3) !important;

    transition: all 0.2s ease !important;

}



.t-btn-multi-quote:hover {

    background: #d84b0d !important;

    transform: translateY(-1px) !important;

}



/* Barra superior da Tela Secundária (Ferramentas) */

.t-portal-sub-topbar {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    padding: 12px 18px;

    margin-bottom: 18px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

}



.t-btn-back-to-hub {

    background: #f1f5f9 !important;

    color: #0f172a !important;

    border: 1px solid #cbd5e1 !important;

    border-radius: 6px !important;

    padding: 7px 14px !important;

    font-size: 12px !important;

    font-weight: 700 !important;

    cursor: pointer !important;

    display: inline-flex !important;

    align-items: center !important;

    gap: 6px !important;

    transition: all 0.15s ease !important;

}



.t-btn-back-to-hub:hover {

    background: #e2e8f0 !important;

    border-color: #94a3b8 !important;

}



.t-portal-sub-title-badge {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 13px;

    color: #334155;

}



.t-sub-badge-icon {

    font-size: 16px;

}



/* Modal de Cotação por Divisão */

.t-modal-backdrop {

    position: fixed;

    inset: 0;

    background: rgba(15, 23, 42, 0.65);

    backdrop-filter: blur(4px);

    z-index: 999999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    overflow-y: auto;

}



.t-modal-dialog {

    background: #ffffff;

    border-radius: 14px;

    max-width: 680px;

    width: 100%;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);

    overflow: hidden;

    animation: tModalIn 0.25s ease-out;

}



@keyframes tModalIn {

    from { opacity: 0; transform: scale(0.96) translateY(10px); }

    to { opacity: 1; transform: scale(1) translateY(0); }

}



.t-modal-header {

    background: linear-gradient(135deg, #002244 0%, #004b87 100%);

    color: #ffffff;

    padding: 22px 24px;

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 16px;

}



.t-modal-tag {

    display: inline-block;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: #93c5fd;

    margin-bottom: 4px;

}



.t-modal-header h3 {

    margin: 0 0 4px 0;

    font-size: 18px;

    font-weight: 800;

    color: #ffffff !important;

}



.t-modal-header p {

    margin: 0;

    font-size: 12px;

    color: #cbd5e1;

}



.t-modal-close {

    background: rgba(255, 255, 255, 0.15) !important;

    border: none !important;

    color: #ffffff !important;

    font-size: 16px !important;

    width: 32px !important;

    height: 32px !important;

    border-radius: 50% !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    cursor: pointer !important;

    flex-shrink: 0 !important;

    transition: background 0.15s ease !important;

}



.t-modal-close:hover {

    background: rgba(255, 255, 255, 0.3) !important;

}



.t-modal-form {

    padding: 22px 24px;

}



.t-modal-section {

    margin-bottom: 16px;

}



.t-modal-label {

    display: block;

    font-size: 12px;

    font-weight: 700;

    color: #334155;

    margin-bottom: 6px;

}



.t-modal-lines-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 8px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    padding: 12px;

}



@media (max-width: 500px) {

    .t-modal-lines-grid {

        grid-template-columns: 1fr;

    }

}



.t-line-chk {

    font-size: 12px;

    color: #1e293b;

    display: flex;

    align-items: center;

    gap: 6px;

    cursor: pointer;

}



.t-modal-row-2 {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-bottom: 12px;

}



@media (max-width: 500px) {

    .t-modal-row-2 {

        grid-template-columns: 1fr;

    }

}



.t-modal-row {

    margin-bottom: 14px;

}



.t-modal-col input,

.t-modal-row textarea {

    width: 100%;

    padding: 9px 12px;

    border: 1px solid #cbd5e1;

    border-radius: 6px;

    font-size: 13px;

    box-sizing: border-box;

    outline: none;

    transition: border-color 0.2s;

    font-family: inherit;

}



.t-modal-col input:focus,

.t-modal-row textarea:focus {

    border-color: #004b87;

    box-shadow: 0 0 0 3px rgba(0, 75, 135, 0.1);

}



.t-cnpj-status-msg {

    font-size: 11px;

    margin-top: 3px;

    display: block;

}



.t-modal-footer {

    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 10px;

    border-top: 1px solid #f1f5f9;

    padding-top: 16px;

    margin-top: 10px;

}



.t-btn-modal-cancel {

    background: #f1f5f9 !important;

    color: #475569 !important;

    border: 1px solid #cbd5e1 !important;

    border-radius: 6px !important;

    padding: 9px 16px !important;

    font-size: 13px !important;

    font-weight: 600 !important;

    cursor: pointer !important;

}



.t-btn-modal-submit {

    background: #004b87 !important;

    color: #ffffff !important;

    border: none !important;

    border-radius: 6px !important;

    padding: 10px 20px !important;

    font-size: 13px !important;

    font-weight: 700 !important;

    cursor: pointer !important;

    box-shadow: 0 2px 8px rgba(0, 75, 135, 0.25) !important;

    transition: background 0.2s !important;

}



.t-btn-modal-submit:hover {

    background: #003360 !important;

}



/* Tela de Sucesso no Modal */

.t-modal-success-screen {

    padding: 36px 24px;

    text-align: center;

}



.t-success-icon-big {

    font-size: 48px;

    margin-bottom: 12px;

}



.t-modal-success-screen h3 {

    margin: 0 0 6px 0;

    font-size: 20px;

    font-weight: 800;

    color: #0f172a;

}



.t-success-subtitle {

    font-size: 14px;

    color: #64748b;

    margin: 0 0 14px 0;

}



.t-success-desc {

    font-size: 13px;

    color: #334155;

    line-height: 1.5;

    max-width: 480px;

    margin: 0 auto 24px auto;

}



.t-success-actions {

    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;

}



.t-btn-zap-direct {

    background: #22c55e !important;

    color: #ffffff !important;

    padding: 11px 22px !important;

    border-radius: 6px !important;

    font-size: 14px !important;

    font-weight: 700 !important;

    text-decoration: none !important;

    display: inline-flex !important;

    align-items: center !important;

    gap: 6px !important;

    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.35) !important;

}



.t-btn-zap-direct:hover {

    background: #16a34a !important;

}



/* =========================================================================

   SISTEMA DE BUSCA OBJETIVA E AUTOCOMPLETE INTELIGENTE B2B (+17k Itens)

   ========================================================================= */



/* Dropdown Autocomplete Suspenso */

.t-search-autocomplete {

    position: absolute;

    top: calc(100% + 8px);

    right: 0;

    width: 480px;

    max-width: 90vw;

    background: #ffffff;

    border-radius: 12px;

    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.22), 0 6px 16px -4px rgba(0, 0, 0, 0.12);

    border: 1px solid #e2e8f0;

    z-index: 99999;

    overflow: hidden;

    font-family: inherit;

    animation: t-fade-in-down 0.18s ease-out;

}



@keyframes t-fade-in-down {

    from { opacity: 0; transform: translateY(-6px); }

    to { opacity: 1; transform: translateY(0); }

}



/* Barra de Contexto / Escopo da Busca */

.t-ac-context-bar {

    background: #f8fafc;

    border-bottom: 1px solid #e2e8f0;

    padding: 8px 14px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 11px;

    color: #475569;

}



.t-ac-context-pills {

    display: flex;

    gap: 6px;

}



.t-ac-context-pill {

    padding: 3px 8px;

    border-radius: 12px;

    border: 1px solid #cbd5e1;

    background: #ffffff;

    color: #334155;

    font-size: 11px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.15s ease;

}



.t-ac-context-pill:hover {

    border-color: #004b87;

    color: #004b87;

}



.t-ac-context-pill.active {

    background: #004b87;

    border-color: #004b87;

    color: #ffffff;

}



/* Seções do Dropdown */

.t-ac-body {

    max-height: 480px;

    overflow-y: auto;

    padding: 6px 0;

}



.t-ac-section-title {

    font-size: 10.5px;

    text-transform: uppercase;

    font-weight: 800;

    letter-spacing: 0.6px;

    color: #64748b;

    padding: 8px 14px 4px;

    display: flex;

    align-items: center;

    gap: 6px;

}



/* Item de Categoria Sugerida */

.t-ac-cat-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 8px 14px;

    cursor: pointer;

    transition: background 0.15s ease;

    border-bottom: 1px solid #f1f5f9;

}



.t-ac-cat-row:hover {

    background: #f0f7ff;

}



.t-ac-cat-info {

    display: flex;

    align-items: center;

    gap: 10px;

}



.t-ac-cat-thumb {

    width: 32px;

    height: 32px;

    border-radius: 6px;

    object-fit: contain;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

}



.t-ac-cat-name {

    font-size: 12.5px;

    font-weight: 700;

    color: #0f172a;

}



.t-ac-cat-badge {

    font-size: 10.5px;

    font-weight: 600;

    background: #e0f2fe;

    color: #0369a1;

    padding: 3px 8px;

    border-radius: 10px;

    white-space: nowrap;

}



/* Destaque de Código Exato / SKU */

.t-ac-exact-box {

    margin: 6px 12px 10px;

    padding: 10px 12px;

    background: #ecfdf5;

    border: 1.5px solid #10b981;

    border-radius: 8px;

    cursor: pointer;

    transition: all 0.15s ease;

}



.t-ac-exact-box:hover {

    background: #d1fae5;

    transform: translateY(-1px);

}



.t-ac-exact-badge {

    font-size: 10px;

    font-weight: 800;

    color: #065f46;

    text-transform: uppercase;

    display: inline-block;

    margin-bottom: 4px;

}



.t-ac-exact-content {

    display: flex;

    align-items: center;

    gap: 10px;

}



.t-ac-exact-thumb {

    width: 44px;

    height: 44px;

    object-fit: contain;

    background: #ffffff;

    border-radius: 6px;

    border: 1px solid #cbd5e1;

}



.t-ac-exact-title {

    font-size: 12.5px;

    font-weight: 700;

    color: #0f172a;

    line-height: 1.3;

}



.t-ac-exact-meta {

    font-size: 11px;

    color: #047857;

    font-weight: 600;

    margin-top: 2px;

    display: flex;

    gap: 8px;

}



/* Linha de Família de Produto */

.t-ac-fam-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 8px 14px;

    cursor: pointer;

    transition: background 0.15s ease;

    border-bottom: 1px solid #f8fafc;

}



.t-ac-fam-row:hover {

    background: #f8fafc;

}



.t-ac-fam-info {

    display: flex;

    align-items: center;

    gap: 10px;

    flex: 1;

    min-width: 0;

}



.t-ac-fam-thumb {

    width: 36px;

    height: 36px;

    object-fit: contain;

    background: #f8fafc;

    border-radius: 6px;

    border: 1px solid #e2e8f0;

    flex-shrink: 0;

}



.t-ac-fam-text {

    flex: 1;

    min-width: 0;

}



.t-ac-fam-title {

    font-size: 12px;

    font-weight: 600;

    color: #1e293b;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



.t-ac-fam-meta {

    font-size: 11px;

    color: #64748b;

    display: flex;

    align-items: center;

    gap: 6px;

}



.t-ac-fam-line-pill {

    font-size: 9.5px;

    font-weight: 700;

    padding: 1px 6px;

    border-radius: 4px;

    text-transform: uppercase;

}



.t-ac-line-eletrik { background: #fef3c7; color: #b45309; }

.t-ac-line-garibaldi { background: #dbeafe; color: #1e40af; }

.t-ac-line-multi { background: #dcfce7; color: #15803d; }



/* Rodapé do Dropdown */

.t-ac-footer {

    background: #f1f5f9;

    padding: 10px 14px;

    border-top: 1px solid #e2e8f0;

    text-align: center;

}



.t-ac-btn-see-all {

    width: 100%;

    padding: 8px 14px;

    background: #002A54;

    color: #ffffff;

    border: none;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: background 0.15s ease;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

}



.t-ac-btn-see-all:hover {

    background: #004b87;

}



/* Header da Tela de Resultados da Busca */

.t-search-header-main {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 14px;

    padding-bottom: 12px;

    border-bottom: 1px solid #e2e8f0;

}



/* Barra de Facetas e Filtros na Tela de Resultados */

.t-search-facets-bar {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    align-items: center;

    margin-bottom: 18px;

    padding: 10px 14px;

    background: #f8fafc;

    border-radius: 10px;

    border: 1px solid #e2e8f0;

}



.t-facets-group-label {

    font-size: 11px;

    font-weight: 700;

    color: #64748b;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    margin-right: 4px;

}



.t-facet-pill {

    padding: 5px 12px;

    border-radius: 20px;

    border: 1.5px solid #cbd5e1;

    background: #ffffff;

    color: #334155;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.15s ease;

    display: inline-flex;

    align-items: center;

    gap: 5px;

}



.t-facet-pill:hover {

    border-color: #002A54;

    color: #002A54;

}



.t-facet-pill.active {

    background: #002A54;

    border-color: #002A54;

    color: #ffffff;

    box-shadow: 0 2px 6px rgba(0, 42, 84, 0.25);

}



.t-facet-count {

    font-size: 11px;

    opacity: 0.8;

    background: rgba(0, 0, 0, 0.08);

    padding: 1px 6px;

    border-radius: 10px;

}



.t-facet-pill.active .t-facet-count {

    background: rgba(255, 255, 255, 0.25);

}



/* Destaque de Categoria Oficial Encontrada */

.t-search-category-spotlight {

    background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);

    border: 1.5px solid #0284c7;

    border-radius: 12px;

    padding: 14px 18px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);

}



.t-spotlight-content {

    display: flex;

    align-items: center;

    gap: 14px;

}



.t-spotlight-thumb {

    width: 52px;

    height: 52px;

    object-fit: contain;

    background: #ffffff;

    border-radius: 8px;

    border: 1px solid #bae6fd;

    padding: 2px;

}



.t-spotlight-texts h4 {

    margin: 0 0 3px 0;

    font-size: 15px;

    font-weight: 800;

    color: #0369a1;

}



.t-spotlight-texts p {

    margin: 0;

    font-size: 12.5px;

    color: #0c4a6e;

}



.t-spotlight-btn {

    background: #0284c7;

    color: #ffffff !important;

    padding: 9px 18px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    border: none;

    cursor: pointer;

    transition: background 0.15s ease;

    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);

}



.t-spotlight-btn:hover {

    background: #0369a1;

}



@media (max-width: 768px) {

    .t-search-autocomplete {

        position: fixed;

        top: 60px;

        left: 10px;

        right: 10px;

        width: calc(100vw - 20px);

        max-width: calc(100vw - 20px);

    }

    .t-search-category-spotlight {

        flex-direction: column;

        align-items: flex-start;

    }

    .t-spotlight-btn {

        width: 100%;

        text-align: center;

    }

}






/* TRAMONTINA B2B SEARCH BAR OVERHAUL v3.9.9 */
.t-nav-search-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 2px solid #0034a0 !important;
    border-radius: 24px !important;
    box-shadow: 0 2px 10px rgba(0, 52, 160, 0.15) !important;
    height: 40px !important;
    min-height: 40px !important;
    min-width: 320px !important;
    max-width: 460px !important;
    width: 100% !important;
    padding: 2px 4px 2px 14px !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    z-index: 90 !important;
}
.t-nav-search-wrap:focus-within {
    border-color: #002266 !important;
    box-shadow: 0 4px 16px rgba(0, 52, 160, 0.28) !important;
}
#t-matrix-search {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 100% !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    padding: 0 8px 0 0 !important;
    margin: 0 !important;
    line-height: normal !important;
}
#t-matrix-search::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}
button#t-search-clear,
.t-nav-search-clear {
    position: static !important;
    transform: none !important;
    border: none !important;
    outline: none !important;
    background: #e2e8f0 !important;
    color: #475569 !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 6px 0 0 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transition: all 0.15s ease !important;
}
button#t-search-clear:hover,
.t-nav-search-clear:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
}
button#t-nav-search-btn,
.t-nav-search-btn {
    border: none !important;
    outline: none !important;
    background: linear-gradient(135deg, #0034a0 0%, #002266 100%) !important;
    color: #ffffff !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 14px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(0, 52, 160, 0.25) !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
}
button#t-nav-search-btn:hover,
.t-nav-search-btn:hover {
    background: linear-gradient(135deg, #002266 0%, #001740 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 52, 160, 0.35) !important;
}
button#t-nav-search-btn:active,
.t-nav-search-btn:active {
    transform: translateY(0) !important;
}
.t-ac-context-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 700;
}
.t-ac-context-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.t-ac-context-pill {
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #475569 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}
.t-ac-context-pill:hover {
    border-color: #0034a0 !important;
    color: #0034a0 !important;
}
.t-ac-context-pill.active {
    background: #0034a0 !important;
    border-color: #0034a0 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   B2B CLIENT IDENTIFICATION HEADER & MODAL STYLES
   ========================================================================== */
#t-header-ident-btn {
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
#t-header-ident-btn:hover {
    background: #dcfce7 !important;
    border-color: #4ade80 !important;
    transform: translateY(-1px);
}
#t-header-ident-chip {
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.35);
}
#t-header-ident-chip:hover {
    background: #15803d !important;
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    #t-header-ident-btn, #t-header-ident-chip {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }
}
