.cat-nav {
    padding: 5px 0 20px;
    text-align: center;
}

.cat-tabs {
    position: relative;
    display: inline-flex;
    gap: 40px;
    margin-top: 30px;
}

.cat-tab {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 10px 0;
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    width: 80px;
    background: red;
    left: 0;
    transition: transform .4s ease, width .4s ease;
}

.cat-viewport {
    height: 420px;
    overflow: hidden;
    margin-top: 10px;
    position: relative;
}

.cat-track {
    transition: transform .7s cubic-bezier(.22,.61,.36,1);
}

.cat-panel {
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-panel-inner {
    width: 90%;
}

.cat-panel-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  align-items: center;
}

.cat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

/*
.cat-card {
    height: 220px;
    max-height: 220px;
    background: red;
    display: flex;
    align-items: center;
    justify-content: center;
}
*/

.bike-card{
    position: relative;
    background: #ffffff;
    padding: 20px 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all .3s ease;
}

.bike-card:hover {
  box-shadow: 5px 4px 15px -4px rgba(198, 198, 198, 0.84);
  -webkit-box-shadow: 5px 4px 15px -4px rgba(198, 198, 198, 0.84);
  -moz-box-shadow: 5px 4px 15px -4px rgba(198, 198, 198, 0.84);
}

.bike-title{
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bike-content{
    display: flex;
    align-items: center;
}

.bike-image{
    width: 65%;
}

.card-image-mask{
    position: relative;
    height: 200px;      /* área visible real */
    overflow: hidden;
}

.card-image-mask img{
    position: absolute;
    top: 50%;
    left: 0;
    width: 90%;
    transform: translateY(-50%) translateX(0);
    transition: transform .3s cubic-bezier(.22,.61,.36,1);
}

.bike-card:hover .bike-content .bike-image .card-image-mask img {
  transform: translateY(-50%) translateX(15px);
}

.bike-meta{
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: .75em;
    font-weight: 600;
}

/* STOCK */

.bike-stock{
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 5px;
    font-weight: 600;
}

.stock-dot-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
}

.stock-dot{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stock-green .stock-dot{ background:#2ecc71; color: #2ecc71;}
.stock-yellow .stock-dot{ background:#f39c12; color:#f39c12; }
.stock-red .stock-dot{ background:#e74c3c; color:#e74c3c;}

/* ATRIBUTOS */

.bike-attributes{
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 8px;
    font-size: 1em;
}

.bike-attributes img {
  width: 30px;
  height: auto;
}

.bike-attributes span {
  width: calc(100% - 38px);
  text-align: left;
  font-weight: bold;
  height: auto;
}

/* PRECIO */

.bike-price{
    font-size:1em;
    font-weight:700;
}


/* ===== MOBILE ===== */

@media (max-width: 768px) {
    .cat-tabs {
      display: flex;
      gap: 18px;
      overflow-x: auto;
      white-space: nowrap;
      padding-bottom: 10px;
      scrollbar-width: none;        /* Firefox */
    }

    .cat-tabs::-webkit-scrollbar {
        display: none;               /* Chrome */
    }

    .cat-tab {
        font-size: 14px;
        padding: 6px 4px;
        flex: 0 0 auto;
    }

    .tab-indicator {
        height: 3px;
    }

    .cat-viewport {
        overflow: hidden;
        position: relative;
    }

    .cat-panel {
        height: auto;
        padding-bottom: 40px;
    }

    .cat-track {
        transition: transform .6s cubic-bezier(.22,.61,.36,1);
    }

    .cat-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cat-card {
        height: 180px;
    }

}
