.delete-cart-item-animation {
    position: relative;
    background-color: rgb(249, 153, 153);
    animation-name: deleteCartAnimation;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    animation-direction: normal;
}

@keyframes deleteCartAnimation {
    from{
        left: 0px;
    }
    to{
        left: 1500px;
    }
}

.header-title{
    font-size: 1.5rem;
    font-weight: 500;
}

.body-text{
    font-size: 1.1rem;
}

.body-text-weight{
    font-weight: 500;
}

.pagination .page-link {
    color: #000;
}

.pagination .page-item.active .page-link {
    background-color: #343a40;
    border-color: #343a40;
    color: #fff;
}

.pagination .page-link:hover {
    background-color: #f8f9fa;
    color: #343a40;
}

.default-main-container-margin{
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Sticky bottom nav only on mobile */
#mobile-bottom-nav {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    z-index: 1050;
}
#mobile-bottom-nav .nav-link {
    padding: 0.3rem 0.2rem;
    font-size: 0.95rem;
}
#mobile-bottom-nav .fa {
    display: block;
    margin-bottom: 2px;
}

/* Sidebar styles */
/* .suit-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 280px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 12px rgba(0,0,0,0.15);
    z-index: 2000;
    transition: right 0.3s;
    overflow-y: auto;
}
.suit-sidebar.show {
    right: 0;
}
.suit-sidebar-header {
    border-bottom: 1px solid #eee;
}
.suit-sidebar-body a {
    color: #222;
    text-decoration: none;
}
.suit-sidebar-body a:hover {
    color: #3867d6;
} */

.product-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.08rem;
    margin-top: 0.08rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.2rem;
    min-height: 2.4rem;         /* 2 lines height */
    max-height: 2.4rem;
}

.product-unit-price{
    font-size: 1.2rem;
}

.product-unit-price-medium{
    font-size: 1.2rem;
}

.product-discount{
    font-size: 1.2rem;
    font-weight: 500;
}

.total-records{
    font-size: 1rem;
}

.page-title{
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title{
    font-size: 1.3rem;
    font-weight: 500;
    /* margin-bottom: 1rem; */
    color: #174b8a;
}

.sub-section-title{
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
}


.product-detail-card {
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px rgba(30,30,60,0.10);
    background: #fff;
    padding: 1.5rem 1.2rem;
    margin-bottom: 2rem;
}
.product-carousel {
    border-radius: 1rem;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: 0 2px 12px rgba(30,30,60,0.07);
    min-height: 340px;
    /* display: flex; */
    align-items: center;
    justify-content: center;
}
.carousel-inner, .carousel-item, .zoom-pan-container {
    width: 100%;
    height: 100%;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}
/* .carousel-item{
    margin-right: 0 !important;
} */
.zoom-pan-container img {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    user-select: none;
    touch-action: none;
    user-select: none;
    background: #fff;
}
.product-title-medium {
    font-size: 1.5rem;
    font-weight: normal;
    color: #174b8a;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.badge-out-of-stock {
    font-size: 1rem;
    padding: 0.4em 1em;
    border-radius: 0.7em;
    margin-bottom: 0.5rem;
}
.delivery-section {
    background: #eaf6ff;
    border-radius: 0.7em;
    padding: 0.7em 1em;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}
.input-group-text {
    background: #f8fafc !important;
}
.product-qty-dropdown {
    min-width: 60px;
    max-width: 120px;
    height: 2.4rem;
    font-size: 1rem;
    border-radius: 0.5rem;
}
.btn-add-cart, .btn-buy-now {
    font-size: 1.08rem;
    font-weight: 600;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(23,75,138,0.06);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn-add-cart {
    background: #174b8a !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(23,75,138,0.06);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s !important;
}
.btn-add-cart:hover, .btn-add-cart:focus {
    background: #0f3563 !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(23,75,138,0.12);
}
.btn-buy-now {
    background: #ff6f00 !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(255,111,0,0.08);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s !important;
}
.btn-buy-now:hover, .btn-buy-now:focus {
    background: #e65100 !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(255,111,0,0.14);
}
/* .section-title {
    font-size: 1.18rem;
    font-weight: 600;
    color: #174b8a;
    margin-bottom: 0.4rem;
    margin-top: 1.2rem;
} */
.about-item, .product-details-section {
    font-size: 1.05rem;
}
/* Floating back button */
.back-btn-float {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    z-index: 20;
    background: #fff;
    box-shadow: 0 4px 16px rgba(23,75,138,0.18);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: box-shadow 0.18s;
}
.back-btn-float:hover {
    box-shadow: 0 8px 24px rgba(23,75,138,0.22);
    background: #f0f6ff;
}

.cart-qty-group input[type=number]::-webkit-inner-spin-button, 
.cart-qty-group input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
/* .cart-qty-group input[type=number] {
    -moz-appearance: textfield;
}     */

.carousel-thumb.active {
    border: 2px solid #174b8a !important;
    box-shadow: 0 0 0 2px #174b8a33;
} 

.thumbs-panel-wrapper {
    max-width: 100%;
    padding-right: 32px; /* space for arrow */
}
.thumbs-panel {
    min-height: 64px;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f8fafc;
}
.thumbs-panel::-webkit-scrollbar {
    height: 6px;
}
.thumbs-panel::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}
.carousel-thumb {
    /* width: 60px !important; */
    height: 90px !important;
    object-fit: cover;
    flex: 0 0 auto;
    margin: 0;
    cursor: pointer; 
    border: 2px solid #eee;
}
.thumbs-arrow-btn {
    background: #fff;
    border-radius: 50%;
    border: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.18s;
}
.thumbs-arrow-btn:active {
    background: #f0f6ff;
} 

.mrp-price{
    font-size: 0.9rem;
}

.product-discount-medium{
    font-size: 1rem;
}    

.category-title{
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.05rem;
    margin-top: 0.05rem;
    color: #174b8a;
}
    

/* Zoom on hover for desktop */
@media (hover: hover) and (pointer: fine) {
    .zoom-pan-container {
        overflow: hidden;
        position: relative;
        cursor: zoom-in;
    }
    .zoom-pan-container img {
        transition: transform 0.2s cubic-bezier(.68,-0.55,.27,1.55);
        will-change: transform;
        pointer-events: none;
    }
    .zoom-pan-container.active {
        cursor: zoom-out;
    }
}


@media (max-width: 991px) {
    .product-detail-card {
        padding: 1rem 0.5rem;
    }
    .product-carousel {
        min-height: 260px;
        padding: 0.5rem 0.2rem;
        /* display: flex; */
    }
    /* .carousel-inner, .carousel-item, .zoom-pan-container {
        min-height: 220px;
    } */
    .zoom-pan-container img {
        border-radius: 0.7rem;
        /* max-height: 240px; */
        object-fit: contain;
    }
    .product-title-medium {
        font-size: 1.1rem;
        font-weight: normal;
        color: #174b8a;
        margin-bottom: 0.5rem;
        word-break: break-word;
    }

    /* .section-title {
        font-size: 1.07rem;
        margin-bottom: 0.18rem;
        margin-top: 0.5rem;
    } */
    .about-item, .product-details-section {
        font-size: 0.99rem;
    }
    .btn-add-cart, .btn-buy-now {
        font-size: 1rem;
        padding: 0.45rem 0.7rem;
    }
    .input-group-text,
    .product-qty-dropdown {
        font-size: 0.97rem;
        height: 2.1rem;
    }
    .badge-out-of-stock {
        font-size: 0.95rem;
        padding: 0.3em 0.7em;
    }
    .delivery-section {
        font-size: 0.98rem;
        padding: 0.5em 0.7em;
    }    

    
    .product-title {
        font-size: 1rem;
        font-weight: normal;
        margin-bottom: 0.05rem;
        margin-top: 0.05rem;
        color: #174b8a;
        line-height: 1.2rem;
    }

    .product-unit-price{
        font-size: 1rem;        
    }

    .product-unit-price-medium{
        font-size: 1.3rem;        
    }

    .product-discount{
        font-size: 0.8rem;
        font-weight: 500;
    }    

    .product-mrp-price{
        font-size: 0.7rem;
    }

    .order-date{
        font-size: 0.8rem;
    }

    .order-id{
        font-size: 0.9rem;
    }

    .order-item-quantity{
        font-size: 0.9rem;
    }

    .order-item-unit-price{
        font-size: 0.9rem;
    }

    .delivery-message{
        font-size: 0.9rem;
    }

    .order-label{
        font-size: 0.9rem;
    }

    .total-records{
        font-size: 0.8rem;
    }

    .page-title{
        font-size: 1.2rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .section-title{
        font-size: 1rem;
        font-weight: 500;
        /* margin-bottom: 0.5rem; */
        color: #174b8a;
    }

    .sub-section-title{
        font-size: 0.8rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .category-title{
        font-size: 0.9rem;
        font-weight: normal;
        margin-bottom: 0.05rem;
        margin-top: 0.05rem;
        color: #174b8a;
    }    

    .category-desc{
        font-size: 0.8rem;
        font-weight: normal;
        margin-bottom: 0.05rem;
        margin-top: 0.05rem;
    }    

    .mobile-location-label-cs{
        font-size: 0.5rem;
        font-weight: normal;
        letter-spacing: 0.5px;
        cursor: pointer;
    }

    .mobile-location-icon-cs{
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 20%;
        width: 25px;
        height: 25px;
        background: linear-gradient(135deg, #ff5252 60%, #ffb347 100%);
        margin: 0 5px 0 5px;
    }

    .label-medium{
        font-size: 0.9rem;
        font-weight: 500;
    }

    .value-medium{
        font-size: 0.9rem;
        /* font-weight: 500; */
    }

    .value-small{
        font-size: 0.7rem;
        font-weight: normal;
    }
}

@media (min-width: 768px) {
    #mobile-bottom-nav { display: none !important; }
    .suit-sidebar { display: none !important; }
}



/* Keyframes for pop animation */
/* @keyframes card-pop {
    0% { transform: scale(1);}
    50% { transform: scale(0.98);}
    100% { transform: scale(1);}
} */

/* Class to trigger the animation */
/* .card-pop-animate {
    animation: card-pop 0.4s cubic-bezier(.68,-0.55,.27,1.55);
} */