/* ===== Compartido entre /v1-clean, /v2-bento-dark, /v3-speed-retail =====
   Estructura del buscador (search-tabs partial) y del modal progresivo.
   El color/tema de cada variante vive en el CSS propio de cada propuesta. */

/* public/css/app.css define `i { color: #ff5c00; }` de forma global (producción),
   lo que fuerza cualquier icono a naranja aunque su contenedor pida otro color —
   invisible sobre fondos naranjas. Estas 3 vistas restauran la herencia normal;
   un color explícito más específico (p. ej. .tc-rd3-hero-rating i) sigue ganando. */
.bi { color: inherit; }

.tc-rd-proto-badge {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: #0b0b0b;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    padding: 8px 16px;
    text-align: center;
}
.tc-rd-proto-badge a { color: #ff5c00; text-decoration: underline; margin: 0 6px; }
.tc-rd-proto-badge span { opacity: .5; }

/* ---- Search tabs (estructura) ---- */
.tc-rd-search { width: 100%; }
.tc-rd-search-tabs { border-bottom: none; gap: 6px; }
.tc-rd-search-tabs .nav-link {
    border: none;
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 14px;
    background: transparent;
    color: inherit;
    opacity: .6;
}
.tc-rd-search-tabs .nav-link.active { opacity: 1; }

.tc-rd-search-tab-content { margin-top: 14px; }
.tc-rd-search-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 10px;
    align-items: stretch;
}
@media (max-width: 767.98px) {
    .tc-rd-search-row { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .tc-rd-search-field { padding: 8px 6px; }
    .tc-rd-search-field-label { font-size: 10.5px; }
    .tc-rd-search-field-placeholder { font-size: 11.5px; }
}

.tc-rd-search-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    border-radius: 12px;
    padding: 10px 14px;
    text-align: left;
    cursor: pointer;
}
.tc-rd-search-field-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.tc-rd-search-field-placeholder { font-size: 13px; opacity: .55; }
.tc-rd-search-field:disabled { cursor: default; }

.tc-rd-search-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 12px;
    padding: 0 22px;
    font-weight: 800;
    background: #ff5c00;
    color: #fff;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease;
}
.tc-rd-search-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,92,0,.35); }
@media (max-width: 767.98px) { .tc-rd-search-cta { grid-column: 1 / -1; padding: 12px; } }

/* ---- Modal progresivo (estructura) ---- */
.tc-rd-progressive-modal .modal-header { align-items: center; border-bottom: none; padding-bottom: 0; }
.tc-rd-progressive-header { display: flex; flex-direction: column; gap: 2px; font-weight: 700; }
.tc-rd-breadcrumb-link { cursor: pointer; text-decoration: underline; }
.tc-rd-breadcrumb-sep { opacity: .4; margin: 0 4px; }
.tc-rd-option-pill {
    border-radius: 10px;
    padding: 10px 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    color: #111;
}
.tc-rd-option-pill:hover { border-color: #ff5c00; color: #ff5c00; }
.tc-rd-spinner { color: #ff5c00; }
