/*
==========================================================
AL ASIF TRADERS
PRODUCTS PAGE CSS
PART 1
==========================================================
*/

body{
    font-family:'Poppins',sans-serif;
    background:#f8f9fa;
    color:#222;
}

/*=========================================================
SHOP HEADER
=========================================================*/

.shop-header{
    background:linear-gradient(135deg,#198754,#157347);
    color:#fff;
    padding:70px 0;
    margin-bottom:40px;
}

.shop-header h1{
    font-size:38px;
    font-weight:700;
    margin-bottom:10px;
}

.shop-header p{
    font-size:16px;
    margin:0;
    opacity:.9;
}

.shop-header .breadcrumb{
    margin:0;
    background:none;
}

.shop-header .breadcrumb-item,
.shop-header .breadcrumb-item a{
    color:#fff;
    text-decoration:none;
}

.shop-header .breadcrumb-item.active{
    color:#d9f8e7;
}

/*=========================================================
SHOP SECTION
=========================================================*/

.shop-section{
    padding-bottom:70px;
}

/*=========================================================
SIDEBAR
=========================================================*/

.shop-sidebar{
    position:sticky;
    top:20px;
}

.filter-card{
    background:#fff;
    border-radius:15px;
    padding:20px;
    margin-bottom:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    border:1px solid #ececec;
}

.filter-title{
    font-size:18px;
    font-weight:700;
    margin-bottom:18px;
    color:#198754;
}

.filter-title i{
    margin-right:8px;
}

/*=========================================================
FILTER SCROLL
=========================================================*/

.filter-scroll{
    max-height:240px;
    overflow-y:auto;
    padding-right:6px;
}

.filter-scroll::-webkit-scrollbar{
    width:6px;
}

.filter-scroll::-webkit-scrollbar-thumb{
    background:#198754;
    border-radius:20px;
}

/*=========================================================
FORM ELEMENTS
=========================================================*/

.filter-card .form-control,
.filter-card .form-select{
    border-radius:10px;
    border:1px solid #dcdcdc;
    height:46px;
    box-shadow:none;
}

.filter-card .form-control:focus,
.filter-card .form-select:focus{
    border-color:#198754;
    box-shadow:0 0 0 .2rem rgba(25,135,84,.15);
}

.filter-card .form-check{
    margin-bottom:10px;
}

.filter-card .form-check-input{
    cursor:pointer;
}

.filter-card .form-check-label{
    cursor:pointer;
    font-size:14px;
}

/*=========================================================
BUTTONS
=========================================================*/

.filter-card .btn-success{
    height:46px;
    border-radius:10px;
    font-weight:600;
}

.filter-card .btn-outline-secondary{
    height:46px;
    border-radius:10px;
    font-weight:600;
}

/*=========================================================
SHOP TOOLBAR
=========================================================*/

.shop-toolbar{
    background:#fff;
    border-radius:15px;
    padding:18px 25px;
    margin-bottom:30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
}

.toolbar-left h5{
    font-size:24px;
    font-weight:700;
    margin-bottom:4px;
}

.toolbar-left p{
    margin:0;
    color:#777;
    font-size:14px;
}

.toolbar-right{
    display:flex;
    align-items:center;
    gap:15px;
}

.sort-form .form-select{
    width:220px;
    height:46px;
    border-radius:10px;
}


/*=========================================================
PRODUCT GRID
=========================================================*/

.shop-product-card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    border:1px solid #ebebeb;
    transition:.35s;
    position:relative;
    height:100%;
    display:flex;
    flex-direction:column;
    box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.shop-product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

/*=========================================================
PRODUCT IMAGE
=========================================================*/

.product-image{
    position:relative;
    background:#fff;
    height:260px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    border-bottom:1px solid #f2f2f2;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    padding:20px;
    transition:.4s;
}

.shop-product-card:hover .product-image img{
    transform:scale(1.08);
}

/*=========================================================
BADGES
=========================================================*/

.discount-badge{
    position:absolute;
    top:12px;
    left:12px;
    background:#dc3545;
    color:#fff;
    padding:5px 12px;
    font-size:12px;
    font-weight:700;
    border-radius:30px;
    z-index:2;
}

.new-badge{
    position:absolute;
    top:12px;
    right:12px;
    background:#198754;
    color:#fff;
    padding:5px 12px;
    font-size:12px;
    font-weight:700;
    border-radius:30px;
    z-index:2;
}

/*=========================================================
HOVER ICONS
=========================================================*/

.hover-icons{
    position:absolute;
    right:-60px;
    top:50%;
    transform:translateY(-50%);
    display:flex;
    flex-direction:column;
    gap:10px;
    transition:.35s;
}

.shop-product-card:hover .hover-icons{
    right:15px;
}

.hover-icons a{
    width:42px;
    height:42px;
    background:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#333;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
    transition:.3s;
}

.hover-icons a:hover{
    background:#198754;
    color:#fff;
    transform:scale(1.1);
}

/*=========================================================
PRODUCT BODY
=========================================================*/

.product-body{
    padding:18px;
    flex:1;
    display:flex;
    flex-direction:column;
}

.product-brand{
    color:#198754;
    font-size:13px;
    font-weight:600;
    margin-bottom:6px;
}

.product-body h6{
    font-size:16px;
    font-weight:600;
    line-height:1.5;
    margin-bottom:10px;
    min-height:48px;
}

.product-body h6 a{
    color:#222;
    text-decoration:none;
    transition:.3s;
}

.product-body h6 a:hover{
    color:#198754;
}

/*=========================================================
RATING
=========================================================*/

.rating{
    display:flex;
    align-items:center;
    gap:3px;
    margin-bottom:12px;
}

.rating i{
    color:#ffc107;
    font-size:13px;
}

.rating span{
    margin-left:8px;
    color:#666;
    font-size:13px;
}


/*=========================================================
PRICE AREA
=========================================================*/

.price{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:12px;
}

.sale-price{
    color:#198754;
    font-size:22px;
    font-weight:700;
    line-height:1;
}

.old-price{
    color:#999;
    text-decoration:line-through;
    font-size:14px;
    font-weight:500;
}

.price-save{
    background:#e8fff1;
    color:#198754;
    font-size:12px;
    font-weight:600;
    padding:3px 8px;
    border-radius:20px;
}

/*=========================================================
STOCK STATUS
=========================================================*/

.stock{
    margin-bottom:18px;
    font-size:14px;
    font-weight:600;
}

.stock .text-success{
    color:#198754 !important;
}

.stock .text-danger{
    color:#dc3545 !important;
}

.stock i{
    margin-right:5px;
}

/*=========================================================
PRODUCT BUTTON
=========================================================*/

.product-body .btn{
    border-radius:10px;
    height:46px;
    font-weight:600;
    transition:.3s;
}

.product-body .btn-success{
    background:#198754;
    border-color:#198754;
}

.product-body .btn-success:hover{
    background:#157347;
    border-color:#157347;
    transform:translateY(-2px);
}

/*=========================================================
EMPTY PRODUCTS
=========================================================*/

.empty-products{
    background:#fff;
    border-radius:15px;
    padding:70px 30px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
}

.empty-products i{
    font-size:70px;
    color:#198754;
    margin-bottom:20px;
}

.empty-products h3{
    font-size:28px;
    font-weight:700;
    margin-bottom:10px;
}

.empty-products p{
    color:#777;
    margin-bottom:25px;
}

/*=========================================================
PAGINATION
=========================================================*/

.shop-pagination{
    margin-top:50px;
}

.pagination{
    gap:8px;
}

.pagination .page-link{
    width:45px;
    height:45px;
    border-radius:10px;
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    color:#198754;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.pagination .page-link:hover{
    background:#198754;
    color:#fff;
}

.pagination .page-item.active .page-link{
    background:#198754;
    color:#fff;
}

.pagination .page-item.disabled .page-link{
    opacity:.5;
    cursor:not-allowed;
}

/*=========================================================
RESULT TEXT
=========================================================*/

.result-count{
    color:#777;
    font-size:14px;
    font-weight:500;
}

/*=========================================================
SMOOTH EFFECT
=========================================================*/

.shop-product-card,
.filter-card,
.shop-toolbar{
    transition:all .35s ease;
}

/*=========================================================
RESPONSIVE
=========================================================*/

@media (max-width:1399px){

.product-image{
    height:240px;
}

.product-body h6{
    font-size:15px;
}

.sale-price{
    font-size:20px;
}

}

/*=========================================================*/

@media (max-width:1199px){

.shop-toolbar{
    flex-direction:column;
    align-items:flex-start;
    gap:20px;
}

.toolbar-right{
    width:100%;
}

.sort-form{
    width:100%;
}

.sort-form .form-select{
    width:100%;
}

.product-image{
    height:220px;
}

}

/*=========================================================*/

@media (max-width:991px){

.shop-sidebar{
    position:relative;
    top:auto;
    margin-bottom:35px;
}

.filter-scroll{
    max-height:180px;
}

.product-image{
    height:210px;
}

.shop-header{
    padding:50px 0;
}

.shop-header h1{
    font-size:30px;
}

.toolbar-left h5{
    font-size:22px;
}

}

/*=========================================================*/

@media (max-width:767px){

.shop-section{
    padding-bottom:50px;
}

.shop-header{
    text-align:center;
}

.shop-header .breadcrumb{
    justify-content:center;
}

.shop-toolbar{
    padding:18px;
}

.toolbar-left{
    width:100%;
    text-align:center;
}

.toolbar-right{
    width:100%;
}

.product-image{
    height:190px;
}

.product-body{
    padding:15px;
}

.product-body h6{
    font-size:14px;
    min-height:42px;
}

.sale-price{
    font-size:18px;
}

.old-price{
    font-size:13px;
}

.pagination .page-link{
    width:40px;
    height:40px;
}

}

/*=========================================================*/

@media (max-width:575px){

.shop-header{
    padding:40px 0;
}

.shop-header h1{
    font-size:26px;
}

.shop-header p{
    font-size:14px;
}

.filter-card{
    padding:18px;
}

.filter-title{
    font-size:16px;
}

.product-image{
    height:170px;
}

.product-body{
    padding:12px;
}

.product-brand{
    font-size:12px;
}

.product-body h6{
    font-size:13px;
    min-height:38px;
}

.rating{
    margin-bottom:8px;
}

.rating i{
    font-size:11px;
}

.rating span{
    font-size:11px;
}

.sale-price{
    font-size:17px;
}

.old-price{
    font-size:12px;
}

.stock{
    font-size:12px;
}

.product-body .btn{
    height:40px;
    font-size:13px;
}

.hover-icons{
    right:10px;
    opacity:1;
}

.hover-icons a{
    width:36px;
    height:36px;
    font-size:14px;
}

.discount-badge,
.new-badge{
    font-size:10px;
    padding:4px 8px;
}

.empty-products{
    padding:40px 20px;
}

.empty-products h3{
    font-size:22px;
}

.empty-products i{
    font-size:50px;
}

}

/*=========================================================
SMOOTH SCROLL
=========================================================*/

html{
    scroll-behavior:smooth;
}

/*=========================================================
SELECTION
=========================================================*/

::selection{
    background:#198754;
    color:#fff;
}

/*=========================================================
END
=========================================================*/