/*==================================================
    PRODUCTS PAGE
==================================================*/
.products-page-top{
    padding-top:150px;
}
.products-page{
    position:relative;
    z-index:2;
    margin-bottom: 50px;
}
.products-page .container{
    max-width:1400px;
    width:92%;
    margin:auto;
}
/*==================================================
    TOP BAR
==================================================*/
.top-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-bottom:35px;
    flex-wrap:wrap;
}
/*==================================================
    SEARCH WRAPPER
==================================================*/
.search-wrapper{
    position:relative;
    display:flex;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
}
/* =========================================
   TWO COLUMN LAYOUT
========================================= */
.products-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.categories-sidebar {
    flex: 0 0 280px;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 100px;
}
.sidebar-header {
    margin-bottom: 20px;
}
.sidebar-header h3 {
    color: #8b0000;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #8b0000;
}
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid transparent;
}
.category-link i {
    font-size: 14px;
    color: #8b0000;
}
.category-link:hover {
    background: #efefef;
    color: #8b0000;
    border-left-color: #8b0000;
}
.category-link.active {
    background: linear-gradient(135deg, #d32f2f, #ff5722);
    color: #fff;
    border-left-color: #fff;
}
.category-link.active i {
    color: #fff;
}
.products-content {
    flex: 1;
    min-width: 0;
}
/* =========================================
   CATEGORY SECTION
========================================= */
.category-section {
    margin-bottom: 60px;
}
.category-section:last-child {
    margin-bottom: 0;
}
/* =========================================
   CATEGORY HEADER SECTION
========================================= */
.category-header-section {
    margin-bottom: 30px;    
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.category-header-section h2 {
    color: #222;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
}
.category-count {
    color: #b18a28;
    font-size: 14px;
    margin: 0;
}
/* =========================================
   TOOLBAR
========================================= */
.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: auto;
    width: 100%;
    max-width: 1400px;
}
.product-search {
    position: relative;
    width: 100%;
    max-width: 520px;
}
.product-search i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #a58b7b;
}
.product-search input {
    width: 100%;
    height: 54px;
    padding:
        0 20px 0 48px;
    border:
        1px solid #eadbc9;
    border-radius: 14px;
    outline: none;
    background: #fff;
    font-family:
        "Poppins",
        sans-serif;
    font-size: 13px;
    transition: .3s;
}
.product-search input:focus {
    border-color: #990000;
    box-shadow:
        0 0 0 4px
        rgba(153,0,0,.06);
}
.product-count {
    white-space: nowrap;
    color: #806d62;
    font-size: 13px;
}
.product-count strong {
    color: #8b0000;
    font-size: 18px;
}
/* =========================================
   SECTION HEADING
========================================= */
.section-heading {
    margin-bottom: 22px;
}
.section-heading span,
.collection-header span {
    color: #b18a28;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}
.section-heading h2,
.collection-header h2 {
    margin: 6px 0 0;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}
.checkout-header{
    text-align:center;
}
/* =========================================
   COLLECTION HEADER
========================================= */
.collection-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: auto;
    width: 100%;
    max-width: 1400px;
    padding: 20px 20px;
}
.collection-line {
    flex: 1;
    height: 1px;
    background:
        linear-gradient(
            to right,
            #dbc9a7,
            transparent
        );
}
/*==================================================
    CATEGORY BUTTON
==================================================*/
.category-filter-btn{
    height:56px;
    padding:0 22px;
    border:none;
    border-radius:50px;
    cursor:pointer;
    background:linear-gradient(135deg,#d32f2f,#ff5722);
    color:#fff;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:15px;
    font-weight:600;
    transition:.35s;
    box-shadow:0 10px 25px rgba(0,0,0,.2);
}
.category-filter-btn:hover{
    transform:translateY(-2px);
}
.category-filter-btn i{
    transition:.35s;
}
.category-dropdown.active + .category-filter-btn i{
    transform:rotate(180deg);
}
/*==================================================
    CATEGORY DROPDOWN
==================================================*/
.category-dropdown{
    position:absolute;
    top:70px;
    right:0;
    width:260px;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    display:none;
    box-shadow:0 18px 45px rgba(0,0,0,.22);
    z-index:999;
    animation:dropdownFade .25s ease;
}
.category-dropdown.active{
    display:block;
}
.dropdown-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 20px;
    color:#333;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
    border-bottom:1px solid #eee;
}
.dropdown-item:last-child{
    border-bottom:none;
}
.dropdown-item:hover{
    background:#ff9800;
    color:#fff;
}
.dropdown-item.active{
    background:#d32f2f;
    color:#fff;
}
/*==================================================
    PRODUCT COUNT
==================================================*/
.product-count{
    margin:25px 0 40px;
    color:#fff;
    font-size:17px;
    font-weight:500;
}
.product-count strong{
    color:#ffd54f;
    font-size:24px;
    margin-right:8px;
}
/*==================================================
    ANIMATION
==================================================*/
@keyframes dropdownFade{
    from{
        opacity:0;
        transform:translateY(15px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
/*==================================================
    RESPONSIVE
==================================================*/
@media(max-width:992px){
    .top-bar{
        flex-direction:column;
        align-items:stretch;
    }
    .search-wrapper{
        width:100%;
    }
    .search-box{
        width:100%;
    }
    .products-layout {
        flex-direction: column;
        gap: 20px;
    }
    .categories-sidebar {
        flex: 1;
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px;
    }
    .sidebar-header {
        width: 100%;
        margin-bottom: 10px;
    }
    .categories-list {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }
    .category-link {
        flex: 0 1 auto;
        padding: 10px 12px;
        font-size: 13px;
    }
}
@media(max-width:768px){
    .category-filter-btn{
        width:100%;
        justify-content:center;
    }
    .category-dropdown{
        width:100%;
        right:0;
    }
}
@media(max-width:576px){
    .products-page{
        padding:60px 0;
    }
    .search-box{
        height:52px;
    }
    .category-filter-btn{
        height:52px;
    }
}
/*==================================================
    PRODUCT GRID
==================================================*/
.product-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    align-items:stretch;
}
/*==================================================
    PRODUCT CARD
==================================================*/
.product-card{
    position:relative;
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 12px 35px rgba(0,0,0,.12);
    transition:.35s ease;
    display:flex;
    flex-direction:column;
    height:100%;
}
.product-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(0,0,0,.18);
}
/*==================================================
    DISCOUNT BADGE
==================================================*/
.discount-badge{
    position:absolute;
    top:18px;
    left:18px;
    background:linear-gradient(135deg,#ff1744,#ff9800);
    color:#fff;
    padding:8px 14px;
    border-radius:50px;
    font-size:13px;
    font-weight:700;
    z-index:10;
    box-shadow:0 8px 18px rgba(0,0,0,.25);
}
/*==================================================
    PRODUCT IMAGE
==================================================*/
/* .product-image{
    position:relative;
    width:100%;
    height:250px;
    background:#f8f8f8;
    overflow:hidden;
}
.product-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    transition:.45s;
    padding:20px;
} */
.product-card:hover .product-image img{
    transform:scale(1.08) rotate(-2deg);
}
.product-image{
    width:100%;
    height:220px;
    overflow:hidden;
    border-radius:12px;
    background:#fff;
    position:relative;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

.no-image{
    width:100%;
    height:100%;
    background:linear-gradient(135deg,#f7f7f7,#ececec);
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:12px;
}

.no-image i{
    font-size:60px;
    color:#ff4d00;
}
/*==================================================
    PRODUCT CONTENT
==================================================*/
.product-content{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:22px;
}
/*==================================================
    CATEGORY LABEL
==================================================*/
.category{
    display:inline-block;
    background:#fff3e0;
    color:#ff6f00;
    padding:6px 12px;
    border-radius:30px;
    font-size:12px;
    font-weight:600;
    margin-bottom:14px;
}
/*==================================================
    PRODUCT TITLE
==================================================*/
.product-content h3{
    font-size:15px;
    font-weight:700;
    color:#222;
    margin-bottom:8px;
    line-height:1.3;
}
/*==================================================
    TAMIL NAME
==================================================*/
.product-content h5{
    font-size:16px;
    color:#d32f2f;
    margin-bottom:12px;
    font-weight:600;
}
/*==================================================
    DESCRIPTION
==================================================*/
.product-content p{
    color:#666;
    line-height:1.7;
    font-size:14px;
    margin-bottom:18px;
    flex:1;
}
/*==================================================
    PRICE BOX
==================================================*/
.price-box{
    align-items:center;
    margin-bottom:10px;
}
.offer-price{
    color:#e53935;
    font-size:20px;
    font-weight:700;
}
.actual-price{
    color:#999;
    text-decoration:line-through;
    font-size:17px;
}
/*==================================================
    QUANTITY + CART
==================================================*/
.qty-cart{
    display:flex;
    flex-direction: column;
    gap:12px;
    align-items:center;
    margin-top:auto;
}
/*==================================================
    QUANTITY BOX
==================================================*/
.qty-box{
    display:none;
    align-items:center;
    border:1px solid #ddd;
    border-radius:10px;
    overflow:hidden;
    height:46px;
}
.qty-box button{
    width:42px;
    height:46px;
    border:none;
    background:#fafafa;
    cursor:pointer;
    font-size:18px;
    transition:.25s;
}
.qty-box button:hover{
    background:#ff9800;
    color:#fff;
}
.qty-input{
    width:48px;
    border:none;
    outline:none;
    text-align:center;
    font-size:16px;
    font-weight:600;
}
/*==================================================
    ADD TO CART
==================================================*/
.cart-btn{
    flex:1;
    height:46px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    color:#fff;
    font-weight:600;
    background:linear-gradient(135deg,#ff9800,#ff5722);
    transition:.3s;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}
.cart-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(255,87,34,.35);
}
.cart-btn i{
    font-size:17px;
}
/*==================================================
    NO PRODUCTS
==================================================*/
.no-products{
    grid-column:1/-1;
    text-align:center;
    padding:80px 20px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}
.no-products i{
    font-size:70px;
    color:#ff9800;
    margin-bottom:20px;
}
.no-products h2{
    margin-bottom:12px;
    color:#222;
}
.no-products p{
    color:#666;
}
/*==================================================
    RESPONSIVE
==================================================*/
@media(max-width:1200px){
    .product-grid{
        grid-template-columns:repeat(3,1fr);
    }
}
@media(max-width:992px){
    .product-grid{
        grid-template-columns:repeat(3,1fr);
    }
}
@media(max-width:768px){
    .product-grid{
        grid-template-columns:repeat(2,1fr);
    }
}
@media(max-width:576px){
    .product-grid{
        grid-template-columns:1fr;
    }
    .qty-cart{
        flex-direction:column;
        align-items:stretch;
    }
    .qty-box{
        width:100%;
        justify-content:center;
    }
    .cart-btn{
        width:100%;
    }
}
@media(max-width:480px){
    .product-image{
        height:220px;
    }
    .product-content{
        padding:18px;
    }
    .product-content h3{
        font-size:20px;
    }
    .offer-price{
        font-size:22px;
    }
}
/*==================================================
    RIGHT SIDEBAR CART
==================================================*/
#cartSidebar{
    position:fixed;
    top:0;
    right:-420px;
    width:420px;
    height:100%;
    background:#fff;
    transition:right .3s ease;
    z-index:99999;
}
#cartSidebar.active{
    right:0;
}
/*==================================================
    PAGE OVERLAY
==================================================*/
#pageOverlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    display:none;
    z-index:99998;
}
#pageOverlay.active{
    display:block;
}
/*==================================================
    CART HEADER
==================================================*/
.cart-header{
    height:70px;
    padding:0 22px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:linear-gradient(135deg,#d32f2f,#ff5722);
    color:#fff;
    flex-shrink:0;
}
.cart-header h2{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:20px;
    font-weight:700;
    margin:0;
}
#closeCart{
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    color:#fff;
    cursor:pointer;
    transition:.3s;
    font-size:18px;
}
#closeCart:hover{
    background:#fff;
    color:#d32f2f;
    transform:rotate(90deg);
}
/*==================================================
    CART ITEMS
==================================================*/
#cartItems{
    flex:1;
    overflow-y:auto;
    padding:18px;
    background:#fafafa;
}
#cartItems::-webkit-scrollbar{
    width:6px;
}
#cartItems::-webkit-scrollbar-thumb{
    background:#ff9800;
    border-radius:20px;
}
/*==================================================
    CART ITEM
==================================================*/
.cart-item{
    display:flex;
    gap:15px;
    align-items:center;
    background:#fff;
    border-radius:16px;
    padding:15px;
    margin-bottom:15px;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
    transition:.3s;
}
.cart-item:hover{
    transform:translateY(-3px);
}
/*==================================================
    ITEM IMAGE
==================================================*/
.cart-item-image{
    width:90px;
    height:90px;
    flex-shrink:0;
    border-radius:12px;
    overflow:hidden;
    background:#f5f5f5;
}
.cart-item-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    padding:8px;
}
/*==================================================
    ITEM DETAILS
==================================================*/
.cart-item-details{
    flex:1;
    display:flex;
    flex-direction:column;
}
.cart-item-details h4{
    margin:0;
    font-size:17px;
    color:#222;
    font-weight:600;
}
.cart-item-details p{
    margin:6px 0;
    color:#e53935;
    font-size:17px;
    font-weight:700;
}
.cart-item-details small{
    color:#777;
    font-size:13px;
}
/*==================================================
    QUANTITY CONTROLS
==================================================*/
.cart-qty{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:12px;
}
.cart-qty button{
    width:32px;
    height:32px;
    border:none;
    background:#f1f1f1;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
    font-size:16px;
    font-weight:700;
}
.cart-qty button:hover{
    background:#ff9800;
    color:#fff;
}
.cart-qty span{
    min-width:28px;
    text-align:center;
    font-weight:700;
    color:#222;
}
/*==================================================
    REMOVE BUTTON
==================================================*/
.remove-item{
    margin-top:12px;
    background:none;
    border:none;
    color:#d32f2f;
    cursor:pointer;
    font-size:14px;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:6px;
    transition:.3s;
}
.remove-item:hover{
    color:#ff5722;
    transform:translateX(4px);
}
/*==================================================
    EMPTY CART
==================================================*/
.empty-cart{
    min-height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:40px 20px;
}
.empty-cart img{
    width:180px;
    margin-bottom:20px;
}
.empty-cart h3{
    margin-bottom:10px;
    font-size:24px;
    color:#333;
}
.empty-cart p{
    color:#777;
    line-height:1.7;
    max-width:260px;
}
/*==================================================
    CART FOOTER
==================================================*/
.cart-footer{
    background:#ffffff;
    padding:20px;
    border-top:1px solid #ececec;
    flex-shrink:0;
    box-shadow:0 -5px 20px rgba(0,0,0,.08);
}
/*==================================================
    CART SUMMARY
==================================================*/
.cart-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:14px;
    font-size:15px;
    color:#444;
}
.cart-row:last-child{
    margin-bottom:18px;
}
.cart-row strong{
    font-size:18px;
    color:#e53935;
    font-weight:700;
}
#cartItemCount{
    color:#ff9800;
    font-size:17px;
}
#grandTotal{
    color:#d32f2f;
    font-size:22px;
    font-weight:700;
}
/*==================================================
    CART BUTTONS
==================================================*/
.cart-buttons{
    display:flex;
    flex-direction:column;
    gap:12px;
}
 
.checkout-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    height:50px;
    border-radius:12px;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    transition:.35s;
    border: none;
    padding: 20px;
}
.view-cart-btn{
    background:#f4f4f4;
    color:#333;
    border:1px solid #ddd;
}
.view-cart-btn:hover{
    background:#222;
    color:#fff;
    transform:translateY(-2px);
}
.checkout-btn{
    background:linear-gradient(135deg,#ff9800,#ff5722);
    color:#fff;
    box-shadow:0 12px 30px rgba(255,87,34,.25);
}
.checkout-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 40px rgba(255,87,34,.35);
}
/*==================================================
    TOAST NOTIFICATION
==================================================*/
#toast{
    position:fixed;
    right:25px;
    bottom:25px;
    min-width:300px;
    max-width:360px;
    background:#ffffff;
    border-left:5px solid #4CAF50;
    border-radius:14px;
    padding:18px 22px;
    display:flex;
    align-items:center;
    gap:12px;
    box-shadow:0 18px 45px rgba(0,0,0,.18);
    opacity:0;
    visibility:hidden;
    transform:translateY(30px);
    transition:.35s;
    z-index:10000;
}
#toast.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
#toast i{
    color:#4CAF50;
    font-size:22px;
}
#toast span{
    color:#333;
    font-size:15px;
    font-weight:500;
    line-height:1.5;
}
/*==================================================
    SCROLL TO TOP
==================================================*/
#scrollTop{
    position:fixed;
    right:28px;
    bottom:105px;
    width:52px;
    height:52px;
    border:none;
    border-radius:50%;
    background:linear-gradient(135deg,#d32f2f,#ff9800);
    color:#fff;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    box-shadow:0 15px 35px rgba(0,0,0,.25);
    opacity:0;
    visibility:hidden;
    transform:translateY(30px);
    transition:.35s;
    z-index:9997;
}
#scrollTop.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
#scrollTop:hover{
    transform:translateY(-5px);
    box-shadow:0 20px 45px rgba(0,0,0,.35);
}
/*==================================================
    BUTTON ICONS
==================================================*/
.view-cart-btn i,
.checkout-btn i{
    font-size:16px;
}
.cart-header i,
.cart-footer i{
    vertical-align:middle;
}
/*==================================================
    MICRO ANIMATIONS
==================================================*/
.cart-item,
.checkout-btn,
.view-cart-btn,
.cart-btn,
#scrollTop,
#toast{
    transition:all .35s ease;
}
.cart-item:hover{
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}
.cart-btn:active,
.checkout-btn:active,
.view-cart-btn:active{
    transform:scale(.97);
}
#toast.success{
    border-left-color:#4CAF50;
}
#toast.error{
    border-left-color:#f44336;
}
#toast.warning{
    border-left-color:#ff9800;
}
/*==================================================
    MOBILE RESPONSIVE
==================================================*/
@media (max-width:1200px){
    #cartSidebar{
        width:380px;
    }
}
@media (max-width:992px){
    .product-grid{
        grid-template-columns:repeat(2,1fr);
        gap:22px;
    }
    #cartSidebar{
        width:360px;
    }
}
@media (max-width:768px){
    .product-grid{
        grid-template-columns:1fr;
    }
    .product-card{
        border-radius:18px;
    }
    .product-image{
        height:230px;
    }
    .qty-cart{
        flex-direction:column;
        gap:15px;
    }
    .qty-box,
    .cart-btn{
        width:100%;
    }
    #cartSidebar{
        width:100%;
        right:-100%;
    }
    .cart-header{
        height:65px;
        padding:0 18px;
    }
    #cartItems{
        padding:15px;
    }
    .cart-footer{
        padding:10px 10px 70px 10px;
    }
    .cart-item{
        gap:12px;
    }
    .cart-item-image{
        width:75px;
        height:75px;
    }
}
@media (max-width:576px){
    .search-box{
        flex-direction:column;
        height:auto;
        border-radius:18px;
    }
    .search-box input{
        width:100%;
        height:50px;
    }
    .search-submit-btn{
        width:100%;
        height:50px;
    }
    .category-filter-btn{
        width:100%;
        justify-content:center;
    }
    .product-content{
        padding:18px;
    }
    .offer-price{
        font-size:22px;
    }
    .actual-price{
        font-size:15px;
    }
    .cart-item{
        flex-direction:column;
        align-items:flex-start;
    }
    .cart-item-image{
        width:100%;
        height:180px;
    }
    .cart-item-image img{
        object-fit:contain;
    }
    .cart-qty{
        width:100%;
        justify-content:space-between;
    }
}
/*==================================================
    PREMIUM ANIMATIONS
==================================================*/
@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(35px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
@keyframes fadeIn{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}
@keyframes zoomIn{
    from{
        opacity:0;
        transform:scale(.85);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}
.product-card{
    animation:fadeUp .6s ease both;
}
.cart-item{
    animation:zoomIn .35s ease;
}
#cartSidebar.active{
    animation:fadeIn .3s;
}
#toast.show{
    animation:fadeUp .35s;
}
/*==================================================
    PREMIUM SCROLLBAR
==================================================*/
::-webkit-scrollbar{
    width:10px;
}
::-webkit-scrollbar-track{
    background:#f4f4f4;
}
::-webkit-scrollbar-thumb{
    background:linear-gradient(#ff9800,#ff5722);
    border-radius:50px;
}
::-webkit-scrollbar-thumb:hover{
    background:linear-gradient(#ff5722,#d32f2f);
}
/*==================================================
    GLASS EFFECTS
==================================================*/
.search-box{
    backdrop-filter:blur(18px);
}
.category-dropdown{
    backdrop-filter:blur(18px);
}
#toast{
    backdrop-filter:blur(25px);
}
/*==================================================
    DARK MODE
==================================================*/

body.dark{
    background:#121212;
    color:#ffffff;
}

body.dark .product-card{
    background:#1e1e1e;
    color:#fff;
}

body.dark .product-content h3{
    color:#fff;
}

body.dark .product-content p{
    color:#cfcfcf;
}

body.dark .product-content .category{
    background:#333;
    color:#ff9800;
}

body.dark .price-box{
    color:#fff;
}

body.dark .actual-price{
    color:#888;
}

body.dark #cartSidebar{
    background:#1b1b1b;
}

body.dark #cartItems{
    background:#111;
}

body.dark .cart-item{
    background:#242424;
}

body.dark .cart-item-details h4{
    color:#fff;
}

body.dark .cart-item-details small{
    color:#aaa;
}

body.dark .cart-footer{
    background:#1b1b1b;
    border-top:1px solid #333;
}

body.dark .cart-row{
    color:#ddd;
}

body.dark .view-cart-btn{
    background:#333;
    color:#fff;
    border-color:#444;
}

body.dark .view-cart-btn:hover{
    background:#ff9800;
    color:#fff;
}

body.dark #toast{
    background:#252525;
    color:#fff;
}

body.dark #toast span{
    color:#fff;
}

body.dark .qty-box{
    border-color:#444;
}

body.dark .qty-box button{
    background:#2b2b2b;
    color:#fff;
}

body.dark .qty-input{
    background:#1e1e1e;
    color:#fff;
}
/*==================================================
    PERFORMANCE
==================================================*/
.product-card,
.cart-item,
.cart-btn,
.checkout-btn,
.view-cart-btn,
#cartSidebar,
#toast,
#scrollTop{
    will-change:transform,opacity;
}

img{
    user-select:none;
    -webkit-user-drag:none;
}

button{
    outline:none;
}
*{
    box-sizing:border-box;
}
/* Floating Cart Button */
.floating-cart-btn{
    position:fixed;
    bottom:70px;
    right:25px;
    width:65px;
    height:65px;
    border:none;
    border-radius:50%;
    background:#ff5722;
    color:#fff;
    font-size:24px;
    cursor:pointer;
    z-index:9998;
    box-shadow:0 10px 30px rgba(0,0,0,.3);
}
.floating-cart-btn span{
    position:absolute;
    top:-6px;
    right:-6px;
    width:24px;
    height:24px;
    border-radius:50%;
    background:red;
    color:#fff;
    font-size:12px;
    display:flex;
    justify-content:center;
    align-items:center;
}
/* Overlay */
#pageOverlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    display:none;
    z-index:9998;
}
#pageOverlay.active{
    display:block;
}
/* Sidebar */
#cartSidebar{
    position:fixed;
    top:0;
    right:-400px;
    width:380px;
    max-width:100%;
    height:100vh;
    background:#fff;
    transition:.3s;
    z-index:9999;
    display:flex;
    flex-direction:column;
}
#cartSidebar.active{
    right:0;
}
/* Minimum Order Popup */
.minimum-order-msg{
    background:#fff3cd;
    color:#856404;
    border:1px solid #ffeeba;
    padding:12px;
    border-radius:8px;
    text-align:center;
    font-size:14px;
    font-weight:600;
    margin-bottom:15px;
}
.minimum-order-msg.success{
    background:#d4edda;
    color:#155724;
    border-color:#c3e6cb;
}
.popup-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999999;
}
.popup-overlay.show{
    display:flex;
}
.popup-box{
    width:360px;
    background:#fff;
    border-radius:12px;
    padding:30px;
    text-align:center;
    Color: #333
}
.popup-icon{
    color:#ff9800;
    font-size:55px;
    margin-bottom:15px;
}
.popup-box h3{
    margin-bottom:10px;
}
.popup-box p{
    margin-bottom:20px;
    line-height:1.6;
}
.popup-box button{
    width:100%;
    height:45px;
    border:none;
    border-radius:8px;
    background:#ff5722;
    color:#fff;
    cursor:pointer;
}
.checkout-btn-center{
    display:flex;
    flex-direction:column;
    align-items:center;
}
button.qty-plus {
    border-radius: 0;
    padding: 0;
}
button.qty-minus {
    border-radius: 0;
    padding: 0;
}
@media screen and (min-width: 320px) and (max-width: 767.7px) {
    .products-toolbar{
        display:block;
        flex-direction:column;
        align-items:stretch;
    }
    .product-count {
        margin: auto;
        text-align: center;
    }
    .categories-sidebar{
        display:none;
    }
    .products-page {
        padding: 30px 0;
    }
    .products-page .product-card{
        display:flex;
        flex-direction:row;
    }
    .discount-badge{
        display:none;
    }
    .products-page .product-image{
        width:30%;
        height:70%;
        margin:0 auto;
    }
    .products-page .product-content{
        width:70%;
        padding:0 15px;
    }
    .products-page .product-content h3{
        font-size:16px;
    }
    .offer-price {
        font-size: 16px;
    }
    .category{
        display:none;
    }
    .products-page .product-card button {
        padding: 10px;
        font-size: 10px;
    }

}