/* ============================================
   ESTILOS ESPECÍFICOS PARA REPUESTOS ALTERNATIVOS
   ============================================ */

.repuestos-category {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.repuestos-category-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111111;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
    border-bottom: 3px solid #facc15;
    display: inline-block;
    width: auto;
    padding-bottom: 0.5rem;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.subcat-card {
    background: #f3f3f3;
    border: 1px solid #eef2ff;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
}

.subcat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -12px rgba(0,0,0,0.1);
    border-color: #facc15;
}

.subcat-img-placeholder {
    width: 80px;
    height: 80px;
    background: #111111;
    color: #facc15;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin: 0 auto 1.2rem;
}

.subcat-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #111111;
}

.subcat-card p {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
}

.subcat-link {
    display: inline-block;
    color: #facc15;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
}

.subcat-link:hover {
    color: #111111;
    transform: translateX(5px);
}

/* Página de producto detalle */
.repuesto-page-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.repuesto-product {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.repuesto-img {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.repuesto-img img {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid #eef2ff;
}

.repuesto-info {
    flex: 1;
    min-width: 260px;
    text-align: left;
}

.repuesto-info h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #111;
}

.repuesto-code {
    display: inline-block;
    background: #111;
    color: #facc15;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.repuesto-desc {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.repuesto-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.repuesto-list li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    color: #374151;
}

.repuesto-list li::before {
    content: "•";
    color: #facc15;
    font-weight: bold;
    display: inline-block;
    width: 1rem;
}

/* Grid para imagenes múltiples (salva bujías) */
.repuesto-images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1rem 0;
}

.repuesto-images-grid img {
    max-width: 120px;
    height: auto;
    background: #f8fafc;
    padding: 0.5rem;
    border-radius: 16px;
    border: 1px solid #eef2ff;
}

/* Ciclo de 4 tiempos (salva bujías) */
.ciclo-tiempos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.ciclo-tiempo {
    background: #111;
    color: #facc15;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}
.kit-brand-footer {
    text-align: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin: 28px 0;
}
.kit-brand-footer img {
    max-height: 100px;
    object-fit: contain;
    margin-bottom: 8px;
}
.kit-brand-footer p {
    font-size: .82rem;
    color: #6b7280;
    letter-spacing: .5px;
}

/* Responsive */
@media (max-width: 768px) {
    .repuesto-product {
        flex-direction: column;
        text-align: center;
    }
    .repuesto-info h2 {
        font-size: 1.5rem;
    }
}