/* =====================================
   BREADCRUMB
===================================== */

.custom-breadcrumb{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    background:linear-gradient(135deg,#dc3545,#ff6b35);
    padding:12px 18px;
    border-radius:12px;
    margin-bottom:20px;
}

.custom-breadcrumb a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
}

.custom-breadcrumb span{
    color:#fff;
}

.custom-breadcrumb .active{
    background:#fff;
    color:#dc3545;
    padding:5px 12px;
    border-radius:20px;
    font-weight:700;
}

/* =====================================
   CATEGORY BANNER
===================================== */

.category-banner{
    background:#fff;
    border-radius:18px;
    padding:20px 25px;
    margin-bottom:25px;
    border:1px solid #eee;
    box-shadow:0 4px 15px rgba(0,0,0,.06);

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.category-pill{
    display:inline-block;
    background:#ffe5e8;
    color:#dc3545;
    padding:6px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
    margin-bottom:10px;
}

.category-banner h1{
    font-size:32px;
    font-weight:700;
    margin-bottom:5px;
    color:#222;
}

.category-banner p{
    margin:0;
    color:#666;
    font-size:15px;
}

.category-right{
    display:flex;
    gap:15px;
}

.mini-stat{
    background:#fafafa;
    border-radius:12px;
    padding:12px 18px;
    text-align:center;
    min-width:110px;
}

.mini-stat strong{
    display:block;
    color:#dc3545;
    font-size:22px;
    font-weight:700;
}

.mini-stat span{
    font-size:13px;
    color:#666;
}

/* =====================================
   BIKE CARD
===================================== */

.bike-card{
    position:relative;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    border:1px solid #eee;
    border-top:3px solid #dc3545;
    box-shadow:0 3px 12px rgba(0,0,0,.06);
    transition:all .3s ease;
    height:100%;
}

.bike-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

/* =====================================
   BADGE
===================================== */

.bike-badge{
    position:absolute;
    top:8px;
    left:8px;
    background:#dc3545;
    color:#fff;
    padding:4px 8px;
    border-radius:20px;
    font-size:10px;
    font-weight:600;
    z-index:2;
}

/* =====================================
   WISHLIST
===================================== */

.wishlist{
    position:absolute;
    top:12px;
    right:12px;
    width:36px;
    height:36px;
    background:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 2px 10px rgba(0,0,0,.15);
    z-index:2;
    cursor:pointer;
    transition:.3s;
}

.wishlist:hover{
    color:#dc3545;
    transform:scale(1.1);
}

/* =====================================
   IMAGE
===================================== */

.bike-img{
    height:160px;
    background:#f8f8f8;
    padding:10px;
    overflow:hidden;
}

.bike-img img{
    width:100%;
    height:100%;
    object-fit:contain;
    transition:.3s ease;
}

.bike-card:hover .bike-img img{
    transform:scale(1.03);
}

/* =====================================
   CONTENT
===================================== */


.bike-content{
    padding:12px;
}

.bike-brand{
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px;
    color:#dc3545;
    margin-bottom:4px;
}

.bike-title{
    font-size:14px;
    font-weight:600;
    color:#222;
    margin:0 0 8px;
    min-height:auto;
    line-height:1.4;
}

.bike-variant{
    font-size:12px;
    color:#777;
    margin-bottom:8px;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.bike-price{
    font-size:18px;
    font-weight:700;
    color:#dc3545;
    margin-bottom:10px;
    line-height:1.2;
}


/* =====================================
   SPECS
===================================== */

.bike-specs{
    display:flex;
    gap:10px;
    margin-bottom:15px;
}

.spec-item{
    flex:1;
    background:#f8f9fa;
    padding:10px;
    border-radius:10px;
    text-align:center;
    font-size:14px;
    color:#555;
}

.spec-item i{
    color:#dc3545;
    margin-right:5px;
}

/* =====================================
   META INFO
===================================== */

.bike-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid #f1f1f1;
    padding-top:8px;
    margin-bottom:10px;
    font-size:12px;
    color:#666;
}

.bike-meta i{
    color:#dc3545;
    margin-right:4px;
}

/* =====================================
   FOOTER
===================================== */

.bike-footer{
    border-top:1px solid #f1f1f1;
    padding-top:10px;
}

/* =====================================
   BUTTON
===================================== */

.btn-details{
    display:block;
    width:100%;
    text-align:center;
    background:linear-gradient(135deg,#dc3545,#ff6b35);
    color:#fff;
    text-decoration:none;
    padding:9px 12px;
    border-radius:8px;
    font-size:13px;
    font-weight:600;
    transition:.3s;
}

.btn-details:hover{
    color:#fff;
    transform:translateY(-2px);
}


#backToTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.3s ease;
}

#backToTop:hover {
    background: #b52a37;
    transform: translateY(-2px);
}


#scrollProgress {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: none;
    place-items: center;
    cursor: pointer;
    z-index: 9999;
    background: conic-gradient(#dc3545 0%, #e6e6e6 0%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#scrollProgressValue {
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #dc3545;
    font-weight: bold;
}

#scrollProgress:hover {
    transform: scale(1.05);
    transition: 0.2s;
}

/* =====================================
   PAGINATION
===================================== */

.pagination .page-link{
    color:#dc3545;
    border-radius:8px;
    margin:0 3px;
}

.pagination .active .page-link{
    background:#dc3545;
    border-color:#dc3545;
}

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

@media(max-width:767px){

    .category-banner{
        flex-direction:column;
        align-items:flex-start;
    }

    .category-banner h1{
        font-size:24px;
    }

    .category-right{
        width:100%;
    }

    .mini-stat{
        flex:1;
    }

    .bike-img{
        height:140px;
    }

    .bike-title{
        min-height:auto;
        font-size:16px;
    }

    .bike-price{
        font-size:22px;
    }

    .bike-meta{
        flex-direction:column;
        align-items:flex-start;
        gap:5px;
    }
}