.breadcrumb-section {
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Capa de superposición */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Ajusta el 0.5 para más o menos opacidad */
    z-index: 1;
}

.container.position-relative.z-2 {
    position: relative;
    z-index: 2;
}



/*=============================
FILTROS=======================*/

/* Contenedor general del formulario */
.blw-search-form {
    background-color: #ffff;
    padding: 10px !important;
    border-radius: 10px;
}

/* Sección de filtro */
.filter-section {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
}

.filter-section h5{
    font-family: roboto condensed, sans-serif;
    font-style: normal;
    font-size: 14px;
    line-height: 14px;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
    position: relative;
    cursor: pointer;
    padding: 23px 32px;
}

/* Encabezado del filtro */
.filter-header {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #160f27;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.filter-header::after {
    content: '▼';
    font-size: 12px;
    color: #333;
    transition: transform 0.3s ease !important;
}

.filter-header.active::after {
    transform: rotate(180deg); /* Flecha hacia arriba al expandir */
}

/* Contenido del filtro */
.filter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease; /* Transición suave */
}

.filter-content.show {
    max-height: 500px; /* Ajusta según el tamaño del contenido */
    padding: 15px;
}

.filter-options label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #160f27;
    cursor: pointer;
    margin-bottom: -20px;
    margin-left: 10px;
}

/* Estilo de los checkboxes */
.filter-options input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}



/* Estilo del selector de rango */
.custom-range-slider {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5px;
}

.slider-container {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
}

.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    position: absolute;
    background: transparent;
}

.custom-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    background: #ff0000; /* Línea amarilla */
    border-radius: 5px;
}

.custom-slider::-moz-range-track {
    width: 100%;
    height: 8px;
    background: #f4c60d; /* Línea amarilla */
    border-radius: 5px;
}

#custom-slider-min,
#custom-slider-max {
    pointer-events: all;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background-color: #1e1e1e;
    border-radius: 5px;
    border: 2px solid #1e1e1e;
    cursor: pointer;
    position: relative;
    z-index: 2;
    margin-top: -5px; /* Centra el pin en la línea */
}

.custom-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background-color: #1e1e1e;
    border-radius: 50%;
    border: 2px solid #1e1e1e;
    cursor: pointer;
    position: relative;
    z-index: 2;
    margin-top: -5px;
}

.custom-range-values {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
    margin-top: 10px;
    font-weight: 700;
    color: #000;
    padding: 0px 10px 0px 10px;
}







.clear-filter {
    font-family: roboto, sans-serif;
    font-style: normal;
    font-size: 10px;
    line-height: 10px;
    color: #160f27;
    font-weight: 700;
    text-transform: uppercase;
}


.filter-subtitle {
    margin-bottom: 16px;
}

.filter-subtitle .line {
    width: 100%;
    position: relative;
    display: inline-block;
    margin: 0;
}

.line {
    width: 100%;
    border-top: 1px solid #ddd;
}



/* Filtro de colores */
.color-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-option {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid #ddd;
}

.color-option:hover {
    transform: scale(1.2);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}



.btnfiltro{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    padding: 15px;
    margin-top: 20px;
}



.overflow-hidden {
    background-color: #e1e1e1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Añade un margen opcional */
    width: 100%; /* Asegura que ocupe el ancho completo */
    height: 100%; /* Asegura que ocupe el alto completo del contenedor */
}

.imgmoto img {
    width: auto; /* Mantiene el ancho automático para que se ajuste */
    height: 180px !important; /* Establece la altura fija para todas las imágenes */
    object-fit: cover; /* Cubre toda el área del contenedor sin deformar */
    margin: auto;
    display: block;
}


.spinner-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-placeholder::before {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.lazy-img {
    display: none;
}

.lazy-img[loading="lazy"]:not([src*="data:image/"]) {
    display: block;
}

.fijarfiltro {
    position: sticky;
    top: 20px; /* Ajusta la distancia desde el borde superior */
    z-index: 10; 
}

/* efecto de mover filtros productos */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s forwards;
}
.bike-inventory .col-xxl-4 {
    transition: transform 0.5s ease-in-out, opacity 0.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




.model-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.model-name {
    margin: 0;
}
.color-box {
    display: flex;
    gap: 1px;
    flex-wrap: wrap;
}
.color-circle {
    width: 20px; /* Ajusta el tamaño según tu diseño */
    height: 20px;
    border-radius: 5px; /* Hace que el div sea un círculo */
    display: inline-block;
    margin-right: 2px; /* Espacio entre los colores */
    border: 1px solid #dedede; /* Opcional, para dar un borde */
}
