#hacerEquipajeBtn {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

#hacerEquipajeBtn:hover{
    color: white;
}

.constructorequipajes {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: flex-start; /* Alinea la columna derecha arriba */
    overflow: visible; /* Permitir contexto sticky */
}

.constructorequipajes_principal {
    flex: 1; /* Ocupa el espacio restante */
    background-color: #fff; /* Fondo opcional */
    padding: 15px;
    box-sizing: border-box;
    overflow: hidden; /* Evita desbordamientos */
}

/* Contenedor de selectores e información de la moto */
.contenedor-selectores-e-info {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra verticalmente */
  align-items: center;
  flex: 1 1 50%;
}


/* Estilos para la imagen y el pre-carrito */
#ConstructorEquipajesPreCarrito {
    background-color: #f6f6f6;
    padding: 15px;
    border: 5px solid #ccc;
    box-sizing: border-box;   
    width: 300px;
    position: sticky;
    top: 20px;
    overflow-y: auto;
    flex-shrink: 0;
    margin-top: 77px;
}

.constructorequipajes_selectores {
  width: 100%;
}

.titulo-paso{
    font-size: 2.0em;
    font-weight: bold;
    padding-bottom: 20px;
    text-align: center;
    line-height: normal;
}
.constructorequipajes_titulo {
  font-size: 1.8em;
  font-weight: bold;
  padding-bottom: 20px;
  text-align: center;
  line-height: normal;
}

.constructor-equipajes-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.constructorequipajes_filter_group {
  width: 100%;
  text-align: center;
  margin-bottom: 5px;
}

.constructorequipajes_filter_group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 1rem;
    color: #333;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg width="12" height="12" viewBox="0 0 4 5" xmlns="http://www.w3.org/2000/svg"><path fill="%23333" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 12px;
    max-width: 450px;
    margin: 0 auto;
    text-align: center;
    margin: 0 auto;
}

/* NOMBRES SELECTS */
.constructorequipajes_modelodelamoto_titulo,
.constructorequipajes_motordelamoto_titulo,
.constructorequipajes_aniodelamoto_titulo,
.constructorequipajes_marcadelamoto_titulo {
    font-size: 1.1em;
    font-weight: bold;
    padding-bottom: 10px;
    text-align: center;
}

.constructorequipajes_motordelamoto_titulo,
.constructorequipajes_aniodelamoto_titulo,
.constructorequipajes_modelodelamoto_titulo {
    padding-top: 10px;
}

/* SELECTS */
#ConstructorEquipajesAnios,
#ConstructorEquipajesMotores,
#ConstructorEquipajesModelos,
#ConstructorEquipajesMarcas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Contenedor general del tipo de artículo */
.tipo-articulo-container {
    margin-bottom: 20px;
}

#constructorequipaje_cart {
    margin-top: 2em;
    margin-bottom: 2em;
    width: 100%;
    flex-direction: right;
    border: 1px solid #3c5ca7;
    padding-bottom: 2em;
}
#constructorequipaje_motos {
    width: 50%;
    border: 1px solid red;
}
#ConstructorEquipajesBaulesResultados {
    margin-top: 2em;
    margin-bottom: 2em;
    /*
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 10px;    
*/
}

/* Estilo para resaltar las cards seleccionadas */
.articulo-card.seleccionado,
.accesorio-card.seleccionado {
    border: 5px solid #3c5ca7;
    background-color: #e0f7ff;
}

#contenedor-constructorequipajes {
    overflow: visible; /* Permite que sticky funcione correctamente */
}

/* Contenido principal */
#content-wrapper {
    width: calc(100% - 330px) !important;
    padding: 0px;
    flex-grow: 1;
}

.constructorequipaje_cart-header h4 {
    margin-bottom: 10px;
}

.constructorequipaje_cart-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    margin: 10px 0;
}

.cart-item {
    border-bottom: 3px solid #cccccc;
    padding: 5px 0;
}

.cart-item-line {
    display: grid;
    grid-template-areas:
        "image ref price"
        "image title title";
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.item-title {
    grid-area: title;
    font-size: 0.85em;
    color: #666;
    line-height: 1.2;
    padding-bottom: 5px;
}

.item-price {
    grid-area: price;
    font-weight: bold;
    color: #3c5ca7;
    white-space: nowrap;
    padding-top: 5px;
}

.item-reference {
    grid-area: ref;
    font-weight: 600;
    color: #333;
    padding-top: 5px;
}

.item-image {
    grid-area: image;
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.constructorequipaje_cart-total {
    margin-top: 10px;
    font-weight: bold;
    text-align: right;
}

.constructorequipaje_cart-subtotal {
    margin-top: 10px;
    text-align: right;
}

#ConstructorEquipajesAsistente {
    margin-top: 2em;
    margin-bottom: 1.5em;
    border: 5px solid #ccc;
}

#ConstructorEquipajesAsistente h3 {
    text-align: center;
}

#ConstructorEquipajesAsistente h4 {
    margin-top: 0.1em;
    text-align: center;
    margin-bottom: 0.1em;
}

.paso-panel {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
}

.paso_panel_anterior{
    height: 20px;
    background-color: #c62828;
}

.articulo-card {
    flex: 0 0 auto;
    cursor: pointer;
    transition: transform 0.2s;
    border: 2px solid transparent;
}

.articulo-card.seleccionado {
    border-color: #00d26a;
    border-radius: 30px;
}

.btn-continuar {
    padding: 10px 25px;
    background-color: #3c5ca7;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    width: auto;
    height: auto;
    font-size: 1.2em;
    margin: 0 auto;/*centra*/
}

#constructorequipaje_cart-addToCart:hover{
    background-color: #3c5ca7 !important;
}

.panel-accesorios {
    margin-top: 10px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.cardProductoConstructor {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 13rem; /* Ancho fijo para mantener consistencia */
    height: 18rem; /* Alto fijo para mantener consistencia */
    border-radius: 25px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.cardProductoConstructor:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Contenedor de la imagen */
.cardProductoMedia-container {
    height: 70%;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    background-color: #f8f9fa;
}

.cardProductoMedia {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Contenedor del título */
.cardProductoContent {
    height: 20%;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cardProductoTitle {
    font-size: 0.8rem;
    line-height: 1.2;
    font-weight: 500;
    margin: 0;
    text-align: center;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Contenedor del precio y stock */
.cardProductoFooter {
    height: 14%;
    padding: 0.5rem 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #3c5ca7;
}

.cardProductoPrice {
    font-weight: 600;
    color: #f6f6f6;
    font-size: 1.0rem;
    padding: 10px;
}

.cardProductoDelivery {
    border-radius: 4px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.cardProductoDelivery.cardProductoStock--express {
    color: #008306;
}

.cardProductoDelivery.cardProductoStock--available {
    color: #1976d2;
}

.cardProductoDelivery.cardProductoStock--none {
    color: #c62828;
}

/* Estilos para la imagen de oferta */
.cardProductoOffer-image {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 40px;
    height: 40px;
}

.logoExpress_pequeno {
    width: 2rem;
    height: 2rem;
    margin: 5px;
}

.articulo-card {
    scroll-snap-align: start;
}

.sin-stock {
    pointer-events: none;
    touch-action: none;
    opacity: 0.5;
    background-color: #f2f2f2;
    cursor: not-allowed;
}

.constructorequipaje_acciones {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8em;
}

.btnIniciarAsistenteKits {
    padding: 10px;
    background-color: #3c5ca7;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 1em;    
    width: max-content;
}

.explicacion-herrajes {
    color: blue;
    max-width: 10rem;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    white-space: normal;
    margin: 10px;
}

.explicacion-herrajes-padre{
    color: blue;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    margin: 10px;
}

@keyframes moveToCart {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(calc(100vw + 550px), calc(-100vh + 100px))
            scale(0.3);
        opacity: 0;
    }
}

 /* Efecto de vibración lenta */
 @keyframes vibrar {
    0%, 100% {
      transform: translateX(0);
    }
    25% {
      transform: translateX(-5px);
    }
    75% {
      transform: translateX(5px);
    }
  }

  /* Efecto de rebote */
  @keyframes rebote {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-25px);
    }
  }

  .efecto-vibrar {
    animation: vibrar 1s;
  }

  .efecto-rebote {
    animation: rebote 1s;
  }

  .efecto-vibrar {
    animation: vibrar 1s infinite;
  }

  .efecto-rebote {
    animation: rebote 1.5s infinite;
  }


.articulo-card.animate-to-cart {
    animation: moveToCart 2s forwards;
}

.contenedor-accesorios-y-maleta-izquierda {
    display: flex;
    flex-direction: column;
}

.seccion-parrilla-obligatoria,
.seccion-maleta-izquierda,
.seccion-accesorios {
    margin-bottom: 20px;
}

.parrillas-obligatorias-container,
.maletas-izquierdas-container,
.accesorios-scroll-container {
    display: flex;
    overflow-x: auto;
}

.disabled-link {
    pointer-events: none;
    touch-action: none;
    opacity: 0.6;
    cursor: default;
}

.caracteristica {
  position: absolute;
  top: 5px;
  right: 5px;

}

.caracteristica-imagen{
  width: 50px;
  border-radius: 20px;
}

.cardProductoConstructor {
    position: relative; /* Asegura que el contenedor padre sea el contexto de posicionamiento */
}

.recomendada{
    
    text-align: center;
    color: green;
    padding: 5px;
    font-weight: bold;
    background-color: greenyellow;   
}



/*********** SCROLL LATERAL ***************/
.articulos-scroll-container {
    position: relative; /* Para que los elementos posicionados absolutamente se basen en este contenedor */
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    gap: 15px;
}

/* Para eliminar scrollbars antiestéticas en algunos navegadores */
.articulos-scroll-container::-webkit-scrollbar {
    height: 20px; /* Tamaño de la scrollbar */
    background: #e1e1e1; /* Color del fondo del scrollbar */
}

.articulos-scroll-container::-webkit-scrollbar-thumb {
    background: #3c5ca7; /* Color del scrollbar */
    border-radius: 4px; /* Bordes redondeados */
}

.articulos-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #2f2f2f; /* Color al pasar el cursor sobre el scrollbar */
}

/* Botones de desplazamiento */
.boton-scroll-izquierda,
.boton-scroll-derecha {
    /* Elimina position absolute y las propiedades top, left, right */
    pointer-events: auto; /* Para que los botones puedan recibir clics */
    z-index: 10; /* Asegurar que estén sobre el contenido */
}

.boton-scroll-izquierda {
    left: -35px; /* Ajusta este valor según necesites para posicionarlo justo a la izquierda */
}

.boton-scroll-derecha {
    right: -35px; /* Ajusta este valor según necesites para posicionarlo justo a la derecha */
}

/* Estilos comunes para los botones */
.scroll-button {
    background-color: rgba(60, 92, 167, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.scroll-button:hover {
    background-color: rgba(60, 92, 167, 1);
}

.scroll-button .material-icons {
    font-size: 24px;
}

.articulos-scroll-wrapper {
    position: relative;
    width: 100%;
}

.articulos-scroll-container,
.accesorios-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    gap: 15px;
    position: relative;
    padding: 15px;
}

.contenedor-botones-scroll {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none; /* Para que el contenedor no bloquee los eventos */
}

/* Ajustes para el contenedor de scroll */
.articulos-scroll-container {
    padding: 1rem;
    gap: 1rem;
    scroll-snap-type: x mandatory;
}






/* Animación para ocultar desde abajo hacia arriba (slide-up) */
@keyframes slideUp {
  from {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
  }
  to {
    max-height: 0;
    opacity: 0;
    transform: translateY(-100%);
  }
}

.slide-up {
  animation: slideUp 0.5s forwards;
  overflow: hidden;
}

/* Animación para mostrar desde arriba hacia abajo (slide-down) */
@keyframes slideDown {
  from {
    max-height: 0;
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-down {
  animation: slideDown 0.5s forwards;
  overflow: hidden;
}




.unfold-down {
  animation: unfoldDown 0.5s forwards;
  overflow: hidden;
}

/* Estilo para el botón de desplegar */
.boton-desplegar {
    /* font-size: 18px; */
    background-color: #ffffff;
    border-radius: 12px;
    transition: background-color 0.3s ease;
    /* border: solid; */
    /* margin: 15px; */
    padding: 10px;
    margin-left: 20px;
    background-color: #3c5ca7;
    color: white;
    margin-right: 20px;
}

.boton-desplegar:hover {
  background-color: #e0e0e0;
}

#infoSeleccionada {
  display: none; 
  text-align: center;  
  width: 100%;
  box-sizing: border-box;
  border-style: solid;
  border-width: 3px;
  position: relative;
  overflow: hidden;
  height: auto; /* Deja que tome la altura de su contenido */
  padding:2px;
}

#selectoresContainer {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  will-change: transform, opacity;
  width: 95%;
  background-color: #f6f6f6;
  border: 5px solid #ccc;
  padding: 10px;
}

.infoSeleccionadaContent {
  transform: translateY(0);
  transition: transform 0.5s ease-in-out;
  will-change: transform;
  display: flex;
  align-items: center;      /* Centra horizontalmente */
  justify-content: center;  /* Centra verticalmente */
  gap:20px;
  padding: 5px;
}

.infoSeleccionadaContent.hide {
  transform: translateY(-100%);
}

.nombre-seleccionada{
  font-weight: bold;
  max-width: fit-content;
  font-size: 20px;
}


.imagen-moto {
    width: 65px;
    height: auto;
    object-fit: contain;
    background-color: #d3d3d3;
    filter: brightness(0.95);
    border-width: 2px;
    border-style: solid;
    border-color: #cccccc;
}


.container.tv-left-layout .row {
    margin: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}




.articulos-scroll-wrapper {
    position: relative;
    background: linear-gradient(to top right, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.5) 100%), 
    /* background: linear-gradient(to right, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.5) 100%),  */
                url('https://www.foottic.com/banners/moto-shad.jpg') no-repeat center center;
    background-size: cover;
  }

  .explicacion-herrajes-laterales {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.sistema-3p, .sistema-4p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icono-herrajes {
    width: 30px;
    height: 30px;
}

#ExplicacionPasos{
    margin-top: 10px;
    font-style: oblique;
    font-weight: bold;
}

.explicaciones-pasos{
    color: #3c5ca7;
    font-weight: 700;
}