/* ─────────────────────────────────────────────
   Transmission – Widget Familles de Produits
   ───────────────────────────────────────────── */

.tcw-grid {
    display: grid;
    column-gap: 40px;
    row-gap: 0;
    align-items: start;
}

/* Séparateur entre colonnes (couleur contrôlée par Elementor via inline style) */
.tcw-col {
    padding-left: 20px;
}
.tcw-col:first-child {
    padding-left: 0;
}

/* ── Titre catégorie parente ── */
.tcw-cat-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 14px;
    line-height: 1.3;
}

.tcw-cat-title a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.tcw-cat-title a:hover {
    opacity: 0.7;
}

/* ── Liste sous-catégories ── */
.tcw-subcat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tcw-subcat-item {
    font-size: 0.875rem;
    color: #444;
    margin-bottom: 6px;
    line-height: 1.5;
}

.tcw-subcat-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.tcw-subcat-item a:hover {
    text-decoration: underline;
}

/* ── Compteur ── */
.tcw-count {
    font-size: 0.75em;
    opacity: 0.55;
    margin-left: 2px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .tcw-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        row-gap: 32px;
    }
    .tcw-col {
        padding-left: 0;
        border-left: none !important;
    }
}

@media (max-width: 600px) {
    .tcw-grid {
        grid-template-columns: 1fr !important;
    }
}
