.big-image {
    max-height: 500px;
}

.gray-bg {
    background-color: #e9e9e9;
}

.category-badge {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 10px;
    padding-left: 10px;
    border-radius: 20px;
    background-color: #ff5c00 !important;
    color: white;
    font-size: 14px;
}

.big-image {
    max-height: 400px;
    object-fit: contain;
}

.thumbnail-img {
    max-width: 70px;
    max-height: 70px;
    object-fit: cover;
}

.logo-size {
    width: 150px;
    height: auto;
    /* Misma placa blanca que usan los demás logos de marca del sitio
       (tc-p-bestseller-brand, tc-cart-pop-brand, productInformation) —
       mix-blend-mode:normal para que el fondo blanco no se funda con el
       fondo oscuro de la página en modo oscuro. */
    background: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    box-sizing: border-box;
    mix-blend-mode: normal;
}

.tc-attr-icon {
    cursor: pointer;
    flex-shrink: 0;
}

.tc-attr-icons {
    justify-content: flex-end;
}

.tc-size-header {
    justify-content: space-between;
}

@media (max-width: 767.98px) {
    .tc-model-header-row {
        flex-direction: column;
        gap: 10px;
    }
    .tc-attr-icons {
        flex-wrap: nowrap;
        justify-content: center;
        width: 100%;
        overflow-x: auto;
    }
    .tc-rim-tabs {
        justify-content: center;
    }
    .tc-size-chip-row {
        justify-content: center;
    }
    .tc-size-header {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .tc-size-search {
        width: 100%;
        justify-content: center;
    }
    .tc-size-search-input {
        width: 100%;
    }
}

.cute-badge {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 10px;
    padding-left: 10px;
    border-radius: 20px;
    font-size: 14px;
    color: white;
}

.orange-border{
    border: 2px solid #ff5c00!important;
}

/* Bootstrap pone sus utilidades .border-* con !important y un gris fijo —
   se reemplaza el color solo dentro de esta página (adaptado al tema). */
.tc-p-page .border-bottom { border-bottom-color: var(--tc-p-border) !important; }
.tc-p-page .border-start { border-left-color: var(--tc-p-border) !important; }
.tc-p-page .border-top { border-top-color: var(--tc-p-border) !important; }
/* Solo las tarjetas de calificación, NO la galería de fotos (que necesita
   quedarse siempre clara para que el mix-blend-mode:multiply de las
   imágenes de producto siga funcionando). */
.tc-rating-card.bg-light { background-color: var(--tc-p-surface) !important; }

/* ── Detalle de modelo — estilo moderno, adaptado a modo oscuro/claro
   con las variables compartidas de navbar-footer.css ──────────── */
.tc-detail-pill {
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255,92,0,.12);
    color: var(--tc-p-orange);
    font-size: 12px;
    font-weight: 700;
}

.tc-detail-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 22px;
}

.tc-detail-price-label {
    color: var(--tc-p-text-dim);
    font-size: 11px;
    margin-bottom: 2px;
}

.tc-detail-price-value {
    font-weight: 800;
    font-size: 26px;
    color: inherit;
    line-height: 1;
}
.tc-detail-price-value small {
    color: var(--tc-p-text-dim);
    font-size: 12px;
    font-weight: 600;
}

.tc-detail-price-note {
    color: var(--tc-p-text-dim);
    font-size: 11px;
}

.tc-trust-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,.06);
    color: var(--tc-p-text-dim);
    font-size: 12.5px;
    font-weight: 600;
}
.tc-trust-chip i { color: var(--tc-p-orange); }
:root[data-theme="light"] .tc-trust-chip { background: rgba(0,0,0,.04); }

.tc-detail-cta {
    background: #ff5c00 !important;
    border: none !important;
    border-radius: 10px !important;
    transition: background .15s ease, transform .1s ease !important;
}
.tc-detail-cta:hover {
    background: #111827 !important;
}
.tc-detail-cta:active {
    transform: scale(.98);
}

/* Miniatura activa: naranja suave (antes el naranja fuerte de marca, que
   competía con los botones). Mismo tono que en el detalle de llanta. */
.tc-thumb-active {
    border-color: #ffb183 !important;
}

.thumbnail-img {
    transition: transform .15s ease, border-color .15s ease;
}
.thumbnail-img:hover {
    transform: translateY(-2px);
    border-color: #ff5c00 !important;
}

/* ── Selector de medidas por rin ──────────────── */
.tc-rim-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid var(--tc-p-border);
    padding-bottom: 12px;
}
.tc-rim-tab {
    background: rgba(255,255,255,.06);
    border: none;
    border-radius: 20px;
    padding: 9px 20px;
    font-weight: 700;
    font-size: 15px;
    color: var(--tc-p-text-dim);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.tc-rim-tab:hover { background: rgba(255,92,0,.12); color: var(--tc-p-orange); }
.tc-rim-tab.active { background: var(--tc-p-orange); color: #fff; }
:root[data-theme="light"] .tc-rim-tab:not(.active) { background: rgba(0,0,0,.04); }

.tc-rim-panel { padding-top: 16px; }

.tc-size-chip {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 10px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background .15s ease, transform .1s ease;
}
.tc-size-chip--available {
    background: #ff5c00;
    color: #fff;
}
.tc-size-chip--available:hover {
    background: #111827;
    color: #fff;
    transform: translateY(-1px);
}
.tc-size-chip--out {
    background: var(--tc-p-border);
    color: var(--tc-p-text-dim);
    cursor: not-allowed;
    pointer-events: none;
}
.tc-size-chip-out-label {
    font-weight: 500;
    font-size: 12.5px;
    margin-left: 4px;
}

.tc-size-search {
    position: relative;
    display: flex;
    align-items: center;
}
.tc-size-search i {
    position: absolute;
    left: 14px;
    color: var(--tc-p-text-dim);
    font-size: 14px;
    pointer-events: none;
}
.tc-size-search-input {
    /* app.css pone `input { border:1px solid...!important; background:white!important }`
       globalmente — se le gana con la misma prioridad y más especificidad. */
    border: 1.5px solid var(--tc-p-border) !important;
    border-radius: 20px;
    padding: 9px 14px 9px 36px;
    font-size: 13.5px;
    min-width: 240px;
    outline: none;
    background: transparent !important;
    color: inherit !important;
    transition: border-color .15s ease;
}
.tc-size-search-input:focus { border-color: var(--tc-p-orange) !important; }

.tc-searching .tc-rim-panel.d-none { display: block !important; }
.tc-size-chip.tc-hidden-by-search { display: none !important; }

.tc-rim-panel-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--tc-p-text-dim);
    margin: 0 0 10px;
    padding-top: 14px;
    border-top: 1px solid var(--tc-p-border);
}
.tc-rim-panel:first-child .tc-rim-panel-label { padding-top: 0; border-top: none; }
.tc-searching .tc-rim-panel-label { display: block !important; }
.tc-searching .tc-rim-panel { margin-top: 4px; }

