/* ======================================================
   SEAN B SHOP
   SHOP SIDEBAR
   assets/css/components/sidebar.css
====================================================== */


/* ======================================================
   SIDEBAR WRAPPER
====================================================== */

.shop-sidebar{

    width:280px;

    flex-shrink:0;

}



/* ======================================================
   SIDEBAR BOX
====================================================== */

.sidebar-box{

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:16px;

    padding:20px;

    margin-bottom:20px;

    box-shadow:
    0 5px 20px rgba(0,0,0,.04);

}



/* ======================================================
   TITLE
====================================================== */

.sidebar-title{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:16px;

    font-weight:700;

    color:#0b1f3a;

    padding-bottom:15px;

    margin-bottom:15px;

    border-bottom:1px solid #eef2f7;

}



.sidebar-title i{

    color:#e60000;

    font-size:17px;

}





/* ======================================================
   LINKS
====================================================== */

.sidebar-links{

    list-style:none;

    padding:0;

    margin:0;

}



.sidebar-links li{

    margin-bottom:8px;

}



.sidebar-links a{

    display:flex;

    align-items:center;

    gap:12px;

    min-height:40px;

    padding:0 12px;

    border-radius:10px;

    color:#475569;

    font-size:14px;

    font-weight:500;

    text-decoration:none;

    transition:.25s;

}



.sidebar-links a i{

    width:18px;

    text-align:center;

    color:#94a3b8;

    font-size:13px;

}



.sidebar-links a:hover{

    background:#0b1f3a;

    color:#ffffff;

}



.sidebar-links a:hover i{

    color:#ffffff;

}





/* ======================================================
   PRICE FILTER
====================================================== */


.price-fields{

    display:flex;

    gap:10px;

    margin-bottom:15px;

}



.price-fields input{

    width:50%;

    height:40px;

    border:1px solid #dbe3ec;

    border-radius:8px;

    padding:0 12px;

    outline:none;

    font-size:13px;

    color:#0b1f3a;

}



.price-fields input:focus{

    border-color:#e60000;

}





/* ======================================================
   FILTER BUTTON
====================================================== */


.sidebar-filter-btn{

    width:100%;

    height:42px;

    border:none;

    border-radius:10px;

    background:#e60000;

    color:#ffffff;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}



.sidebar-filter-btn:hover{

    background:#c90000;

}







/* ======================================================
   SUPPORT CARD
====================================================== */


.sidebar-contact{

    display:flex;

    align-items:center;

    gap:15px;

    background:#0b1f3a;

    color:#ffffff;

    padding:20px;

    border-radius:16px;

    margin-bottom:20px;

}



.sidebar-contact > i{

    width:45px;

    height:45px;

    border-radius:50%;

    background:#e60000;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:18px;

}



.sidebar-contact h4{

    margin:0 0 5px;

    font-size:15px;

}



.sidebar-contact p{

    margin:0;

    color:#ffffff;

    font-size:14px;

    font-weight:600;

}







/* ======================================================
   SHOP LAYOUT SUPPORT
====================================================== */


.shop-layout{

    display:flex;

    align-items:flex-start;

    gap:30px;

}





.shop-content{

    flex:1;

}







/* ======================================================
   TABLET
====================================================== */


@media(max-width:991px){


.shop-sidebar{

    display:none;

}


.shop-layout{

    display:block;

}


}







/* ======================================================
   SMALL MOBILE
====================================================== */


@media(max-width:480px){


.sidebar-box{

    border-radius:12px;

    padding:15px;

}


}

/* ======================================================
   MOBILE SIDEBAR CATEGORY DROPDOWN
====================================================== */


.mobile-dropdown{

    list-style:none;

}



.mobile-dropdown > a{

    cursor:pointer;

    display:flex;

    align-items:center;

    gap:12px;

    position:relative;

}





/* ARROW */

.dropdown-arrow{

    margin-left:auto;

    font-size:12px;

    transition:.3s ease;

    color:#94a3b8;

}



.mobile-dropdown.active > a .dropdown-arrow{

    transform:rotate(180deg);

    color:#e60000;

}





/* ======================================================
   CATEGORY LIST
====================================================== */


.category-dropdown{

    list-style:none;

    padding:0;

    margin:5px 0 0 0;

    max-height:0;

    overflow:hidden;

    opacity:0;

    transition:

    max-height .35s ease,

    opacity .25s ease;

}





.mobile-dropdown.active .category-dropdown{

    max-height:260px;

    overflow-y:auto;

    opacity:1;

}





/* ======================================================
   CATEGORY ITEMS
====================================================== */


.category-dropdown li{

    margin:5px 0;

}





.category-dropdown a{

    display:flex;

    align-items:center;

    gap:12px;

    height:42px;

    padding:0 15px 0 45px;

    border-radius:10px;

    background:#f8fafc;

    color:#475569;

    font-size:13px;

    font-weight:500;

    text-decoration:none;

    transition:.25s ease;

}





.category-dropdown a i{

    width:18px;

    text-align:center;

    color:#0b1f3a;

    font-size:13px;

}





.category-dropdown a:hover{

    background:#0b1f3a;

    color:#ffffff;

}





.category-dropdown a:hover i{

    color:#ffffff;

}





/* ======================================================
   CATEGORY SCROLLBAR
====================================================== */


.category-dropdown::-webkit-scrollbar{

    width:5px;

}



.category-dropdown::-webkit-scrollbar-track{

    background:#f1f5f9;

    border-radius:10px;

}



.category-dropdown::-webkit-scrollbar-thumb{

    background:#e60000;

    border-radius:10px;

}





/* ======================================================
   SMALL PHONES
====================================================== */


@media(max-width:480px){


.category-dropdown a{

    height:40px;

    font-size:12px;

    padding-left:40px;

}


}