/*
 * #65 (s199) — Ámbito por vehículo en la hoja de categoría del core: la franja
 * «Mostrando las piezas compatibles con tu X · Ver todas» sobre el listado, la
 * invitación a elegir coche en el sidebar y el estado vacío. Fichero aparte
 * como criteria-facets.css (tecdocconnector.css pasa de 2.500 líneas). Tokens
 * del rediseño: navy #2A4A75 / #1A3158, accent #ff8300, tinta #0F1F3A, gris
 * #5A6B85, borde #E1E7EF. Hover con el lenguaje del #53: gris + anillo
 * interior navy de 1,5 px; los rellenos, anillo naranja.
 */

/* --- Franja sobre el listado --- */
.tecdoc-vscope {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    padding: 10px 14px;
    background: #F3F6FA;
    border: 1px solid #E1E7EF;
    border-left: 3px solid #2A4A75;
    border-radius: 10px;
}

.tecdoc-vscope--active { border-left-color: #ff8300; }

.tecdoc-vscope__icon {
    flex-shrink: 0;
    display: inline-flex;
    width: 22px;
    height: 22px;
    color: #2A4A75;
}

.tecdoc-vscope__icon svg { width: 100%; height: 100%; }

.tecdoc-vscope__body { flex: 1 1 auto; min-width: 0; }

.tecdoc-vscope__text {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #0F1F3A;
}

.tecdoc-vscope__sub {
    display: block;
    margin-top: 1px;
    font-size: 12px;
    color: #5A6B85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tecdoc-vscope__link {
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: #2A4A75;
    background: #fff;
    border: 1px solid #C9D3E0;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s ease, box-shadow .15s ease, color .15s ease;
}

.tecdoc-vscope__link:hover {
    color: #1A3158;
    background: #EEF2F7;
    box-shadow: inset 0 0 0 1.5px #2A4A75;
    text-decoration: none;
}

@media (max-width: 575px) {
    .tecdoc-vscope { flex-wrap: wrap; }
    .tecdoc-vscope__link { margin-left: 34px; }
}

/* --- Sidebar: invitación a elegir vehículo / volver a compatibles --- */
.tecdoc-vscope-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    background: #F3F6FA;
    border: 1px dashed #C9D3E0;
    border-radius: 10px;
}

.tecdoc-vscope-cta__icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    color: #2A4A75;
}

.tecdoc-vscope-cta__icon svg { width: 100%; height: 100%; }

.tecdoc-vscope-cta__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #0F1F3A;
}

.tecdoc-vscope-cta__btn {
    align-self: flex-start;
    padding: 8px 14px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    background: #ff8300;
    border: 0;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease;
}

.tecdoc-vscope-cta__btn:hover {
    color: #fff;
    background: #E07300;
    box-shadow: inset 0 0 0 1.5px #B45F00;
    text-decoration: none;
}

.tecdoc-vscope-cta--all .tecdoc-vscope-cta__btn {
    color: #2A4A75;
    background: #fff;
    border: 1px solid #C9D3E0;
}

.tecdoc-vscope-cta--all .tecdoc-vscope-cta__btn:hover {
    color: #1A3158;
    background: #EEF2F7;
    box-shadow: inset 0 0 0 1.5px #2A4A75;
}

/* Bloque del vehículo dentro de «Filtrar resultados» del sidebar del core: a
   todo el ancho de la columna (sin padding propio), con aire sobre el bloque
   anterior (tipos de pieza o el buscador). */
.va-sidebar__vehicle-scope { margin-top: 16px; }

.va-sidebar__vehicle-scope .tecdoc-vs7-crit { margin-top: 0; }

/* --- Estado vacío del listado --- */
.tecdoc-vscope-empty {
    padding: 28px 24px;
    text-align: center;
    background: #fff;
    border: 1px solid #E1E7EF;
    border-radius: 12px;
}

.tecdoc-vscope-empty__title {
    margin: 0 0 14px;
    font-family: var(--tv-display, inherit);
    font-size: 17px;
    font-weight: 700;
    color: #0F1F3A;
}

.tecdoc-vscope-empty__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
}

.tecdoc-vscope-empty__btn {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #2A4A75;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s ease, box-shadow .15s ease;
}

.tecdoc-vscope-empty__btn:hover {
    color: #fff;
    background: #1A3158;
    box-shadow: inset 0 0 0 1.5px #ff8300;
    text-decoration: none;
}

.tecdoc-vscope-empty__link {
    font-size: 13px;
    font-weight: 600;
    color: #2A4A75;
    text-decoration: underline;
}

.tecdoc-vscope-empty__link:hover { color: #1A3158; }
