
/* ===========================
   BREADCRUMB
=========================== */

.breadcrumb{
    background:#f3f4f6;
    padding:18px 8%;
}

.breadcrumb__container{
    display:flex;
    gap:10px;
    align-items:center;
}

.breadcrumb__link{
    color:#2563eb;
    text-decoration:none;
}

.breadcrumb__current{
    font-weight:bold;
}

/* ===========================
   SHOP LAYOUT
=========================== */

.shop{
    position:relative;
    padding:50px 8%;
}

.shop__content{
    width:100%;
}

.shop__toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.shop__count{
    font-weight:600;
}

.shop__products{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

/* ===========================
   FILTER TOGGLE BUTTON
=========================== */

.shop__toggle{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:25px;
    padding:12px 20px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fff;
    cursor:pointer;
    font-weight:600;
    box-shadow:0 3px 10px rgba(0,0,0,.06);
}

.shop__toggle:hover{
    border-color:#2563eb;
    color:#2563eb;
}
.shop__remove-btn{
    display:inline-block;
    margin-bottom:20px;
    padding:8px 14px;
    background:#fee2e2;
    color:#ef4444;
    border-radius:8px;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
}

.shop__remove-btn:hover{
    background:#fecaca;
}
/* ===========================
   SIDEBAR (slide-in panel, desktop + mobile)
=========================== */

.shop__sidebar{
    position:fixed;
    top:0;
    left:0;
    height:100vh;
    width:320px;
    max-width:85%;
    background:#fff;
    box-shadow:0 5px 25px rgba(0,0,0,.15);
    padding:25px;
    overflow-y:auto;

    transform:translateX(-100%);
    transition:transform .3s ease;

    z-index:1001;
}
.shop__sidebar-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.shop__close{
    border:none;
    background:none;
    font-size:20px;
    cursor:pointer;
    line-height:1;
}

.shop__backdrop{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.4);
    z-index:1000;
}

.shop__backdrop--show{
    display:block;
}
.shop__sidebar--show{
    transform:translateX(0);
}

.shop__sidebar-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.shop__heading{
    margin:0;
}

.shop__close{
    border:none;
    background:none;
    font-size:20px;
    cursor:pointer;
    line-height:1;
}

.shop__filter{
    margin-bottom:35px;
}

.shop__title{
    margin-bottom:15px;
    font-size:18px;
}

.shop__option{
    display:block;
    margin-bottom:12px;
    cursor:pointer;
}

.shop__option input{
    margin-right:8px;
}

.shop__filter-btn{
    width:100%;
    padding:12px;
    border:none;
    border-radius:8px;
    background:#2563eb;
    color:#fff;
    font-weight:600;
    cursor:pointer;
}

.shop__filter-btn:hover{
    background:#1d4ed8;
}

/* Backdrop behind the sidebar when open */

.shop__backdrop{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.4);
    z-index:1000;
}

.shop__backdrop--show{
    display:block;
}

/* Responsive tweaks */

@media(max-width:768px){

    .shop{
        padding:30px 20px;
    }

    .breadcrumb{
        padding:15px 20px;
    }

}

/* ===========================
    PRODUCT CARD
=========================== */

.shop-card{

    position:relative;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.35s;

}

.shop-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.shop-card__badge{

    position:absolute;

    top:15px;

    left:15px;

    background:#ef4444;

    color:#fff;

    padding:6px 12px;

    border-radius:20px;

    font-size:13px;

    font-weight:bold;

    z-index:5;

}

.shop-card__wishlist{

    position:absolute;

    top:15px;

    right:15px;

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:#fff;

    cursor:pointer;

    font-size:18px;

    box-shadow:0 5px 15px rgba(0,0,0,.15);

    transition:.3s;

}

.shop-card__wishlist:hover{

    color:#ef4444;

    transform:scale(1.1);

}

.shop-card__image{

    width:100%;

    height:250px;

    object-fit:contain;

    padding:25px;

    transition:.4s;

}

.shop-card:hover .shop-card__image{

    transform:scale(1.08);

}

.shop-card__content{

    padding:20px;

}

.shop-card__brand{

    color:#2563eb;

    font-size:14px;

    font-weight:600;

}

.shop-card__title{

    margin:10px 0;

    font-size:18px;

    line-height:1.5;

    min-height:55px;

}

.shop-card__rating{

    color:#f59e0b;

    margin-bottom:15px;

}

.shop-card__rating span{

    color:#777;

}

.shop-card__price{

    margin-bottom:20px;

}

.shop-card__old-price{

    display:block;

    color:#888;

    text-decoration:line-through;

    margin-bottom:6px;

}

.shop-card__new-price{

    color:#2563eb;

    font-size:24px;

    font-weight:bold;

}

.shop-card__buttons{

    display:flex;

    gap:10px;

}

.shop-card__cart{

    flex:1;

    padding:12px;

    border:none;

    background:#2563eb;

    color:#fff;

    border-radius:10px;

    cursor:pointer;

    transition:.3s;

}

.shop-card__cart:hover{

    background:#1d4ed8;

}

.shop-card__view{

    padding:12px 18px;

    border:1px solid #2563eb;

    background:#fff;

    color:#2563eb;

    border-radius:10px;

    cursor:pointer;

    transition:.3s;

}

.shop-card__view:hover{

    background:#2563eb;

    color:#fff;

}

/*==================================================
    PRODUCTS SECTION
==================================================*/

.products{
    padding:70px 8%;
    background:#f5f7fb;
}

.products__heading{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
    flex-wrap:wrap;
    gap:20px;
}

.products__title{
    font-size:34px;
    font-weight:700;
    color:#111827;
}

.products__view-all{
    color:#2563eb;
    font-weight:600;
    transition:.3s;
}

.products__view-all:hover{
    color:#1d4ed8;
}

.products__grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    align-items:stretch;
}

