
/* =====================================================
   JAGADHATRI MEDICARE
   RECENT PRODUCTS - PREMIUM NEW DESIGN
   Version 4.0
===================================================== */

.pd-recent-widget {
    width: 100%;
    position: relative;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    padding: 20px 15px;
    overflow: hidden;
}

/* HEADING */

.pd-recent-widget .pd-sidebar-heading {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8edf3;
}

.pd-recent-widget .pd-sidebar-heading span {
    display: inline-block;
    color: #079b9b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.pd-recent-widget .pd-sidebar-heading h2 {
    color: #123b62;
    font-size: 23px;
    font-weight: 700;
    margin: 0;
}

/* SLIDER */

.pd-recent-widget .sidebar-slider {
    width: 100%;
    position: relative;
}

.pd-recent-widget .slick-list {
    overflow: hidden;
}

.pd-recent-widget .slick-track {
    display: flex;
    align-items: stretch;
}

.pd-recent-widget .slick-slide {
    height: auto;
}

.pd-recent-widget .slick-slide > div {
    height: 100%;
}

/* PRODUCT CARD */

.pd-recent-widget .product-item {
    position: relative !important;
    width: auto !important;
    margin: 5px !important;
    padding: 12px !important;
    background: #ffffff !important;
    border: 1px solid #e8edf3 !important;
    border-radius: 13px !important;
    box-shadow: 0 4px 15px rgba(18, 59, 98, 0.06) !important;
    overflow: hidden !important;
    transition: all 0.3s ease;
}

.pd-recent-widget .product-item:hover {
    border-color: #0b9c9c !important;
    box-shadow: 0 8px 22px rgba(18, 59, 98, 0.10) !important;
    transform: translateY(-3px);
}

/* IMAGE AREA */

.pd-recent-widget .product-image,
.pd-recent-widget .recent-product-image {
    position: relative !important;
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
    padding: 10px !important;
    margin: 0 0 12px !important;
    background: #f7fafc !important;
    border: 1px solid #edf1f5 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* REMOVE IMAGE DECORATIONS */

.pd-recent-widget .product-image::before,
.pd-recent-widget .product-image::after,
.pd-recent-widget .product-image a::before,
.pd-recent-widget .product-image a::after,
.pd-recent-widget .recent-product-image::before,
.pd-recent-widget .recent-product-image::after {
    content: none !important;
    display: none !important;
}

.pd-recent-widget .product-image a {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

.pd-recent-widget .product-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 170px !important;
    object-fit: contain !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    transition: transform 0.35s ease;
}

.pd-recent-widget .product-item:hover .product-image img {
    transform: scale(1.04);
}

/* PRODUCT INFORMATION */

.pd-recent-widget .product-text {
    width: 100%;
    padding: 0 !important;
    background: #ffffff !important;
}

/* PRICE AND STOCK */

.pd-recent-widget .product-text > .row {
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 8px 0;
    background: #f7fafc;
    border-radius: 8px;
}

.pd-recent-widget .product-text > .row > .col {
    padding: 4px !important;
    font-size: 11px;
    color: #526579;
}

.pd-recent-widget .product-text .x-small {
    font-size: 9px !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #8292a3;
}

.pd-recent-widget .product-text .text-primary {
    color: #087f8c !important;
    font-size: 14px;
    font-weight: 700;
}

.pd-recent-widget .product-text .text-success {
    color: #16865b !important;
}

.pd-recent-widget .product-text .text-muted {
    color: #69798a !important;
}

/* DIVIDER */

.pd-recent-widget .product-text hr {
    border: 0;
    border-top: 1px solid #edf1f5;
    margin: 12px 0 !important;
}

/* PRODUCT TITLE */

.pd-recent-widget .p-title {
    padding: 5px 2px !important;
}

.pd-recent-widget .p-title h5 {
    color: #123b62 !important;
    font-size: 15px !important;
    line-height: 1.5;
    font-weight: 700;
    margin: 0 0 5px !important;
}

.pd-recent-widget .p-title > span {
    display: block;
    color: #8795a5 !important;
    font-size: 11px !important;
    margin-bottom: 10px;
}

/* DETAILS LINK */

.pd-recent-widget .p-title > a {
    display: inline-block !important;
    padding: 8px 18px !important;
    color: #ffffff !important;
    background: #123b62 !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.pd-recent-widget .p-title > a:hover {
    background: #079b9b !important;
    color: #ffffff !important;
}

/* COMPANY AND MODEL */

.pd-recent-widget .p-feature {
    padding: 10px 3px 3px;
    margin-top: 10px;
    border-top: 1px solid #edf1f5;
}

.pd-recent-widget .p-feature .row {
    display: flex;
    margin: 0 !important;
}

.pd-recent-widget .p-feature .col {
    min-width: 0;
    padding: 3px !important;
}

.pd-recent-widget .p-feature .small {
    display: block;
    font-size: 11px !important;
    overflow-wrap: anywhere;
}

/* SLICK DOTS - HIDE */

.pd-recent-widget .slick-dots {
    display: none !important;
}

/* MOBILE */

@media (max-width: 767px) {

    .pd-recent-widget {
        padding: 15px 12px;
        border-radius: 12px;
    }

    .pd-recent-widget .pd-sidebar-heading h2 {
        font-size: 21px;
    }

    .pd-recent-widget .product-image {
        height: 180px !important;
        min-height: 180px !important;
    }

    .pd-recent-widget .product-image img {
        max-height: 160px !important;
    }

}
