/* ============================================================
   css/product.css
   Design system para páginas individuais de máquinas.
   Compartilhado entre todas as páginas de produto.
   Segue as variáveis e fontes do index refatorado.
   ============================================================ */

/* ── Variáveis (espelha o index) ─────────────────────────── */
:root {
    --red: #D52029;
    --red-dark: #A8181F;
    --red-light: rgba(213, 32, 41, 0.1);
    --dark: #1A1A1A;
    --gray-700: #373637;
    --gray-500: #6B6B6B;
    --gray-300: #CACACA;
    --gray-100: #F4F4F4;
    --white: #FFFFFF;
    --font-head: 'Barlow Condensed', sans-serif;
    --font-body: 'Barlow', sans-serif;
    --radius: 8px;
    --radius-lg: 14px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --sidebar-w: 80px;
}

/* ── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--gray-100);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
}

/* ── Wrapper principal (offset do sidebar) ───────────────── */
.main-content-wrapper {
    margin-left: var(--sidebar-w);
    transition: margin-left 0.3s ease;
}

/* ── Container ───────────────────────────────────────────── */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    /* background definido inline em cada página */
    background-size: cover;
    background-position: calc(50% + 180px) center;
    background-repeat: no-repeat;
    color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero {
        background-position: center;
    }
}

/* Overlay escuro padrão (pode ser sobrescrito inline) */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            rgba(10, 10, 10, 0.82) 0%,
            rgba(10, 10, 10, 0.55) 55%,
            rgba(10, 10, 10, 0.18) 100%);
    z-index: 1;
}

/* Linha vermelha no topo */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--red);
    z-index: 5;
}

/* Conteúdo do hero */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Eyebrow (badge acima do H1) */
.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 90, 95, 1);
    background: rgba(213, 32, 41, 0.18);
    border: 1px solid rgba(213, 32, 41, 0.4);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 10px;
}

.hero h2 {
    font-family: var(--font-head);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
}

.hero p {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 36px;
}

/* ── CTA do Hero ─────────────────────────────────────────── */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: 2px solid var(--red);
    transition: all 0.3s var(--ease);
}

.btn-hero:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(213, 32, 41, 0.4);
    color: var(--white);
}

/* Alias para compatibilidade com os HTMLs existentes */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: 2px solid var(--red);
    transition: all 0.3s var(--ease);
    text-decoration: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(213, 32, 41, 0.35);
    color: var(--white);
}

/* ── Feature Cards (sobrepostos na base do hero) ─────────── */
.feature-cards {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.feature-card {
    flex: 1;
    padding: 28px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.feature-card:last-child {
    border-right: none;
}

.feature-card:hover {
    background: rgba(213, 32, 41, 0.15);
}

.feature-card h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 1.0rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
    margin: 0;
}

/* Indicadores do carrossel de cards */
.carousel-indicators {
    display: none;
    /* escondido no desktop */
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 12px 0 8px;
    background: rgba(0, 0, 0, 0.55);
}

.carousel-indicators .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.carousel-indicators .dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.drag-hint {
    text-align: center;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    padding: 6px 0 10px;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    /* aparece só no mobile via media query */
    position: relative;
    z-index: 3;
}

/* ═══════════════════════════════════════════════════════════
   SHOWCASE (3D + Galeria + Vídeo)
═══════════════════════════════════════════════════════════ */
.showcase-section {
    background: var(--gray-100);
    padding: 72px 40px;
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.model-box,
.media-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--gray-300);
}

.model-title {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 14px;
}

/* Viewer 3D */
.model-placeholder {
    position: relative;
    width: 100%;
    height: 560px;
    background: var(--gray-100);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 1px dashed var(--gray-300);
}

.stl-viewer-container {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
}

#start-viewer-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Galeria */
.media-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    background: none;
    border: none;
}

.gallery-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--gray-300);
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.gallery-item img {
    width: 100%;
    height: 175px; /* 175 */
    object-fit: contain;
    transition: transform 0.35s ease;
    padding: 8px;
    background: var(--gray-100);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Vídeo */
.video-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--gray-300);
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
}

.video-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Modal de imagem */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.88);
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.image-modal.active {
    display: flex;
}

.image-modal .modal-content {
    max-width: 90vw;
    max-height: 82vh;
    border-radius: var(--radius);
    object-fit: contain;
    box-shadow: var(--shadow-lg);
}

.image-modal .close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.image-modal .close-btn:hover {
    background: var(--red);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 1;
}

.nav-btn:hover {
    background: var(--red);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* ═══════════════════════════════════════════════════════════
   FEATURES (Tabs de Características / Downloads / Pedidos)
═══════════════════════════════════════════════════════════ */
.features-section {
    padding: 72px 0;
    background: var(--white);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--gray-100);
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    flex-shrink: 0;
    padding: 16px 22px;
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-500);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.25s var(--ease);
    background: none;
    position: relative;
    top: 2px;
}

.tab:hover {
    color: var(--red);
}

.tab.active {
    color: var(--red);
    border-bottom-color: var(--red);
}

/* Conteúdo das tabs */
.tab-content {
    display: none;
    padding: 36px 20px;
    animation: fadeUp 0.4s var(--ease);
}

.tab-content.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h2 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    margin-top: 32px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-300);
}

.tab-content h2:first-child {
    margin-top: 0;
}

/* Tabela de specs */
.specs-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    margin-bottom: 28px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
    font-size: 0.88rem;
}

.specs-table th,
.specs-table td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-300);
}

.specs-table th {
    background: var(--dark);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.specs-table tr:nth-child(even) td {
    background: var(--gray-100);
}

.specs-table tr:hover td {
    background: rgba(213, 32, 41, 0.05);
}

.specs-table td:first-child {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* Nota de rodapé da tabela */
.specs-note {
    font-size: 0.78rem;
    color: var(--gray-500);
    font-style: italic;
    margin-top: 8px;
    line-height: 1.55;
}

/* Imagem de dimensões */
.dimensoes-img {
    display: block;
    max-width: 640px;
    width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    padding: 12px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

/* Downloads */
.tab-content ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-content ul li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: all 0.25s ease;
}

.tab-content ul li a::before {
    content: '\f019';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--red);
    font-size: 0.9rem;
}

.tab-content ul li a:hover {
    background: var(--white);
    border-color: var(--red);
    color: var(--red);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

/* Pedidos / Contato */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
    max-width: 400px;
}

.contact-info p a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.2s;
}

.contact-info p a i {
    color: var(--red);
    width: 16px;
}

.contact-info p a:hover {
    color: var(--red);
}

/* ═══════════════════════════════════════════════════════════
   SEÇÕES EXTRAS: Tipos de Pacote, Dosadores, Opcionais
   (compartilhadas entre empacotadoras)
═══════════════════════════════════════════════════════════ */

/* Seção genérica com fundo alternado */
.package-types,
.dosadores-section {
    padding: 72px 0;
    background: var(--gray-100);
}

.dosadores-section {
    background: var(--white);
}

/* Header de seção */
.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 900;
    color: var(--dark);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--red);
    margin: 14px auto 0;
    border-radius: 2px;
}

/* Grid de pacotes — scroll horizontal drag */
.package-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 20px;
    scrollbar-width: none;
    cursor: grab;
    justify-content:center;
}

.package-grid::-webkit-scrollbar {
    display: none;
}

.package-grid.dragging {
    cursor: grabbing;
    user-select: none;
}

.package-item {
    flex: 0 0 280px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-300);
    transition: box-shadow 0.3s, transform 0.3s;
}

.package-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.package-image {
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.35s ease;
}

.package-item:hover .package-image img {
    transform: scale(1.05);
}

.package-content {
    padding: 18px;
}

.package-content h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.package-content p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Grid de dosadores — mesmo comportamento */
.dosadores-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 20px;
    scrollbar-width: none;
    cursor: grab;
}

.dosadores-grid::-webkit-scrollbar {
    display: none;
}

.dosadores-grid.dragging {
    cursor: grabbing;
    user-select: none;
}

.dosador-item {
    flex: 0 0 300px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-300);
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}

.dosador-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.dosador-image {
    height: 220px;
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dosador-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.35s ease;
}

.dosador-item:hover .dosador-image img {
    transform: scale(1.05);
}

.dosador-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dosador-content h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.dosador-content p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 14px;
}

.dosador-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVIDADE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .model-placeholder {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .main-content-wrapper {
        margin-left: 0;
    }

    /* Hero */
    .hero {
        min-height: 100svh;
    }

    .hero-content {
        padding: 80px 16px 28px;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    /* Feature cards — carrossel horizontal */
    .feature-cards {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .feature-cards::-webkit-scrollbar {
        display: none;
    }

    .feature-card {
        flex: 0 0 80vw;
        scroll-snap-align: start;
        border-right: none;
        padding: 22px 18px;
    }

    .drag-hint {
        display: block;
    }

    /* Indicadores visíveis só no mobile */
    .carousel-indicators {
        display: block;
    }

    /* Imagem de dimensões — ocupa tela toda no mobile */
    .dimensoes-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .tab-content {
        padding: 10px;
    }

    /* Showcase */
    .showcase-section {
        padding: 48px 16px;
    }

    .gallery-item img {
        height: 140px;
    }

    .video-placeholder {
        aspect-ratio: 16/9;
    }

    /* Tabs */
    .features-section {
        padding: 48px 0;
    }

    .tab {
        padding: 14px 16px;
        font-size: 0.72rem;
        letter-spacing: 1px;
    }

    /* Tabelas */
    .specs-table {
        font-size: 0.78rem;
    }

    .specs-table th,
    .specs-table td {
        padding: 10px 12px;
    }

    /* Seções extras */
    .package-types,
    .dosadores-section {
        padding: 52px 0;
    }

    .dosador-item {
        flex: 0 0 75vw;
    }

    .package-item {
        flex: 0 0 75vw;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 0.9rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .gallery-box {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 180px;
    }

    .container {
        padding: 0 12px;
    }

    .showcase-section {
        padding: 40px 12px;
    }
}

/* ============================================================
   PATCH product.css — adicionar ao final do arquivo existente
   Correção: tabelas com thead de duas linhas (rowspan + colspan)
   usadas em SMNH, TCNH, TTNH, ELNH e outras.
   ============================================================ */

/* Cabeçalho de tabela com rowspan/colspan:
   as células do segundo <tr> dentro de <thead>
   precisam do mesmo fundo escuro do cabeçalho principal */
.specs-table thead th {
    background: var(--dark);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    vertical-align: middle;
}

/* Linha separadora sutil entre as duas linhas do cabeçalho */
.specs-table thead tr:nth-child(2) th {
    background: #2e2e2e;
    font-size: 0.7rem;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Células com rowspan ficam centralizadas verticalmente */
.specs-table th[rowspan] {
    vertical-align: middle;
}

/* Células com colspan recebem borda inferior para separar
   visualmente o grupo do subgrupo */
.specs-table th[colspan] {
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Tbody: primeira coluna (modelo/ID) pode ser negrito */
.specs-table tbody td:first-child {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.82rem;
}

/* Garantir que tbody alterne corretamente
   mesmo com thead de 2 linhas */
.specs-table tbody tr:nth-child(even) td {
    background: var(--gray-100);
}

.specs-table tbody tr:hover td {
    background: rgba(213, 32, 41, 0.05);
}