
/* =========================================================
   JAGADHATRI MEDICARE
   PRODUCT DETAILS - PREMIUM MODERN DESIGN
   Separate Page CSS
========================================================= */

:root {
    --pd-primary: #123b62;
    --pd-dark: #092b4b;
    --pd-teal: #08a89d;
    --pd-bg: #f3f7fb;
    --pd-white: #ffffff;
    --pd-text: #263b50;
    --pd-muted: #718096;
    --pd-border: #e3ebf2;
    --pd-shadow: 0 12px 35px rgba(9,43,75,.07);
}

/* ================= PAGE BASE ================= */

.pd-page {
    background: var(--pd-bg);
    color: var(--pd-text);
    overflow: hidden;
}

.pd-page *,
.pd-page *::before,
.pd-page *::after {
    box-sizing: border-box;
}

.pd-page .container-fluid {
    max-width: 1500px;
    padding-left: 25px;
    padding-right: 25px;
}

/* ================= BREADCRUMB ================= */

.pd-page .pd-breadcrumb {
    background: #eaf1f7;
    padding: 16px 0;
}

.pd-page .pd-breadcrumb .breadcrumb {
    padding: 0;
    margin: 0;
    background: transparent;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
}

.pd-page .pd-breadcrumb .breadcrumb a {
    color: var(--pd-primary);
    font-weight: 650;
    text-decoration: none;
}

.pd-page .pd-breadcrumb .breadcrumb a:hover {
    color: var(--pd-teal);
}

.pd-page .pd-breadcrumb .breadcrumb-item.active {
    color: var(--pd-teal);
    font-weight: 650;
}

/* ================= PAGE HEADING ================= */

.pd-page .pd-heading {
    background: #fff;
    padding: 28px 0 25px;
    border-bottom: 1px solid var(--pd-border);
}

.pd-page .pd-eyebrow {
    display: inline-block;
    color: var(--pd-teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.pd-page .pd-heading h1 {
    color: var(--pd-primary);
    font-size: 25px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 7px;
}

.pd-page .pd-heading p {
    color: var(--pd-muted);
    font-size: 13px;
    margin: 0;
}

/* ================= MAIN LAYOUT ================= */

.pd-page .product-detail {
    background: var(--pd-bg) !important;
    padding: 30px 0 55px !important;
}

.pd-page .product-detail > .container-fluid > .row {
    align-items: flex-start;
}

/* ================= PRODUCT CARD ================= */

.pd-page .product-detail-top {
    background: #fff;
    border: 1px solid var(--pd-border);
    border-radius: 20px;
    padding: 27px;
    margin-bottom: 25px;
    box-shadow: var(--pd-shadow);
    overflow: hidden;
}

.pd-page .product-detail-top > .row {
    align-items: center;
}

/* ================= GALLERY ================= */

.pd-page .pd-gallery {
    position: relative;
}

.pd-page .product-slider-single {
    background: linear-gradient(145deg,#f8fbfd,#f0f6fa);
    border: 1px solid var(--pd-border);
    border-radius: 17px;
    padding: 15px;
    overflow: hidden;
}

.pd-page .product-slider-single img {
    width: 100%;
    height: 390px;
    object-fit: contain;
    border-radius: 12px;
    background: transparent;
}

.pd-page .product-slider-single-nav {
    margin: 14px -4px 0;
}

.pd-page .slider-nav-img {
    background: #fff;
    border: 1px solid var(--pd-border);
    border-radius: 11px;
    padding: 7px;
    margin: 0 5px;
    cursor: pointer;
    transition: .25s ease;
}

.pd-page .slider-nav-img:hover {
    border-color: var(--pd-teal);
    box-shadow: 0 5px 14px rgba(8,168,157,.12);
}

.pd-page .slider-nav-img img {
    width: 100%;
    height: 68px;
    object-fit: contain;
}

.pd-page .pd-image-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--pd-muted);
    font-size: 12px;
    font-weight: 650;
    margin-top: 14px;
}

.pd-page .pd-image-note i {
    color: var(--pd-teal);
}

/* ================= PRODUCT CONTENT ================= */

.pd-page .product-content {
    padding: 5px 8px 5px 25px;
}

.pd-page .pd-product-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.pd-page .pd-product-label > span:first-child {
    color: var(--pd-teal);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.pd-page .pd-stock-label {
    background: #eaf8f3;
    color: #16845c;
    border-radius: 30px;
    padding: 6px 11px;
    font-size: 11px;
    font-weight: 700;
}

.pd-page .product-content .title h2 {
    color: var(--pd-primary);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.4px;
    margin: 0 0 13px;
}

.pd-page .pd-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 10px 0 20px !important;
    color: #f5a623;
}

.pd-page .pd-rating span {
    color: var(--pd-muted) !important;
    font-size: 12px;
    margin-left: 7px !important;
}

/* ================= SPECIFICATIONS ================= */

.pd-page .pd-specifications {
    border-top: 1px solid var(--pd-border);
}

.pd-page .product-content .p-size {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    margin: 0;
    border-bottom: 1px solid #edf2f6;
}

.pd-page .product-content .p-size h4 {
    color: var(--pd-muted);
    font-size: 12px;
    font-weight: 750;
    min-width: 85px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.pd-page .product-content .p-size p {
    color: var(--pd-text);
    font-size: 14px;
    font-weight: 650;
    margin: 0;
    line-height: 1.5;
}

/* ================= PRICE ================= */

.pd-page .pd-price-box {
    margin-top: 20px;
    padding: 18px 20px;
    background: linear-gradient(120deg,#eff8fc,#edfaf7);
    border: 1px solid #dcefeb;
    border-radius: 14px;
}

.pd-page .pd-price-box h4 {
    color: var(--pd-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 7px;
}

.pd-page .pd-price-box p {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    color: var(--pd-teal);
    font-size: 29px;
    font-weight: 850;
}

.pd-page .pd-price-box .pd-currency {
    font-size: 23px;
}

.pd-page .pd-price-box .new-price {
    color: var(--pd-teal);
    font-weight: 850;
}

.pd-page .pd-price-box .pd-old-price {
    color: #98a5b1;
    font-size: 14px;
    font-weight: 500;
    text-decoration: line-through;
    margin-left: 8px;
}

/* ================= TOTAL ================= */

.pd-page .pd-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 2px;
    border-bottom: 1px solid var(--pd-border);
}

.pd-page .pd-total span {
    color: var(--pd-muted);
    font-size: 13px;
    font-weight: 650;
}

.pd-page .pd-total strong {
    color: var(--pd-primary);
    font-size: 19px;
    font-weight: 850;
}

/* ================= QUANTITY ================= */

.pd-page .pd-quantity {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 19px;
}

.pd-page .pd-quantity h4 {
    color: var(--pd-primary);
    font-size: 13px;
    font-weight: 750;
    margin: 0;
}

.pd-page .product-content .qty {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #dce7ee;
    border-radius: 9px;
    overflow: hidden;
}

.pd-page .product-content .qty button {
    width: 39px;
    height: 39px;
    border: 0;
    background: #eff5f8;
    color: var(--pd-primary);
    font-size: 13px;
    transition: .2s;
}

.pd-page .product-content .qty button:hover {
    background: var(--pd-primary);
    color: #fff;
}

.pd-page .product-content .qty input {
    width: 48px;
    height: 39px;
    border: 0;
    border-left: 1px solid #e5edf3;
    border-right: 1px solid #e5edf3;
    text-align: center;
    color: var(--pd-primary);
    font-size: 14px;
    font-weight: 800;
    outline: none;
}

/* ================= ORDER BUTTON ================= */

.pd-page .pd-action {
    margin-top: 22px;
}

.pd-page .pd-action .buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    padding: 14px 25px;
    background: linear-gradient(135deg,var(--pd-primary),var(--pd-dark)) !important;
    border: 0 !important;
    border-radius: 10px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .4px;
    box-shadow: 0 8px 20px rgba(18,59,98,.18);
    transition: .25s ease;
}

.pd-page .pd-action .buy:hover {
    background: linear-gradient(135deg,var(--pd-teal),#078b83) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(8,168,157,.2);
}

.pd-page .pd-assurance {
    color: var(--pd-muted);
    font-size: 11px;
    line-height: 1.6;
    margin-top: 15px;
}

.pd-page .pd-assurance i {
    color: var(--pd-teal);
    margin-right: 5px;
}

/* ================= DESCRIPTION / REVIEWS ================= */

.pd-page .product-detail-bottom {
    background: #fff;
    border: 1px solid var(--pd-border);
    border-radius: 18px;
    padding: 24px;
    margin: 0 0 25px;
    box-shadow: var(--pd-shadow);
}

.pd-page .product-detail-bottom .nav-pills {
    display: flex;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pd-border);
}

.pd-page .product-detail-bottom .nav-pills .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 9px;
    background: #f0f5f8;
    color: var(--pd-primary);
    font-size: 13px;
    font-weight: 750;
    transition: .2s;
}

.pd-page .product-detail-bottom .nav-pills .nav-link.active,
.pd-page .product-detail-bottom .nav-pills .nav-link:hover {
    background: var(--pd-primary);
    color: #fff;
}

.pd-page .product-detail-bottom .tab-content {
    padding-top: 22px;
}

.pd-page .product-detail-bottom .tab-pane {
    color: var(--pd-text);
    font-size: 14px;
    line-height: 1.85;
}

.pd-page .product-detail-bottom .product-seo-content p {
    margin-bottom: 14px;
}

.pd-page .product-detail-bottom .product-seo-content strong {
    color: var(--pd-primary);
}

/* ================= REVIEW SUMMARY ================= */

.pd-page .pd-review-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px;
    margin: 15px 0 20px;
    background: #f6f9fb;
    border: 1px solid var(--pd-border);
    border-radius: 12px;
}

.pd-page .pd-review-summary strong {
    color: var(--pd-primary);
    font-size: 25px;
}

.pd-page .pd-review-summary span,
.pd-page .pd-review-stars {
    color: #f5a623;
    font-size: 15px;
}

.pd-page .pd-review-summary small {
    color: var(--pd-muted);
    font-size: 12px;
}

.pd-page .product-detail-bottom .reviews-submitted h4,
.pd-page .product-detail-bottom .reviews-submit h4 {
    color: var(--pd-primary);
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 15px;
}

.pd-page .pd-review-card {
    border: 1px solid var(--pd-border) !important;
    border-radius: 12px !important;
    background: #fbfdff;
    padding: 16px !important;
}

.pd-page .pd-review-card .reviewer strong {
    color: var(--pd-primary);
}

.pd-page .pd-review-card .reviewer span {
    font-size: 11px;
}

.pd-page .pd-review-card p {
    margin-top: 7px;
}

.pd-page .reviews-submit {
    padding-top: 15px;
}

.pd-page .pd-star-picker {
    color: #f5a623;
    font-size: 28px;
    cursor: pointer;
    letter-spacing: 3px;
    margin-top: 5px;
}

.pd-page .product-detail-bottom .form-control {
    border: 1px solid #dce7ee;
    border-radius: 9px;
    padding: 12px 14px;
    font-size: 13px;
    box-shadow: none;
}

.pd-page .product-detail-bottom .form-control:focus {
    border-color: var(--pd-teal);
    box-shadow: 0 0 0 3px rgba(8,168,157,.09);
}

.pd-page .reviews-submit .btn-primary {
    background: var(--pd-primary);
    border-color: var(--pd-primary);
    border-radius: 9px;
    padding: 11px 24px;
    font-size: 13px;
    font-weight: 750;
    transition: .2s;
}

.pd-page .reviews-submit .btn-primary:hover {
    background: var(--pd-teal);
    border-color: var(--pd-teal);
}

.pd-page .pd-review-note {
    font-size: 12px;
}

/* ================= RECENT PRODUCTS SIDEBAR ================= */

.pd-page .sidebar {
    padding-left: 15px;
}

.pd-page .pd-recent-widget {
    background: #fff;
    border: 1px solid var(--pd-border);
    border-radius: 17px;
    padding: 21px;
    margin-bottom: 23px;
    box-shadow: var(--pd-shadow);
    overflow: hidden;
}

.pd-page .pd-sidebar-heading {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--pd-teal);
}

.pd-page .pd-sidebar-heading span {
    color: var(--pd-teal);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.pd-page .pd-sidebar-heading h2 {
    color: var(--pd-primary);
    font-size: 20px;
    font-weight: 800;
    margin: 5px 0 0;
}

.pd-page .pd-recent-widget img {
    max-width: 100%;
    object-fit: contain;
}

.pd-page .pd-recent-widget .slick-slide {
    padding: 5px;
}

/* ================= ORDER MODAL ================= */

#myModal .modal-content {
    border: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,.17);
}

#myModal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--pd-primary);
    min-height: 58px;
    border: 0;
}

#myModal .modal-title {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

#myModal .modal-header .close {
    color: #fff;
    opacity: 1;
    text-shadow: none;
    font-size: 25px;
}

#myModal .modal-body {
    padding: 25px;
}

#myModal label {
    color: var(--pd-primary);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

#myModal .form-control {
    border: 1px solid #dce7ee;
    border-radius: 8px;
    padding: 11px 13px;
    font-size: 13px;
    box-shadow: none;
}

#myModal .form-control:focus {
    border-color: var(--pd-teal);
    box-shadow: 0 0 0 3px rgba(8,168,157,.09);
}

#myModal #productOrderBtn {
    width: 100%;
    background: var(--pd-primary);
    border: 0;
    border-radius: 9px;
    padding: 13px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    transition: .2s;
}

#myModal #productOrderBtn:hover {
    background: var(--pd-teal);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {

    .pd-page .container-fluid {
        padding-left: 17px;
        padding-right: 17px;
    }

    .pd-page .product-content {
        padding: 22px 5px 5px;
    }

    .pd-page .sidebar {
        padding-left: 15px;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {

    .pd-page .pd-heading {
        padding: 22px 0;
    }

    .pd-page .pd-heading h1 {
        font-size: 21px;
    }

    .pd-page .product-detail {
        padding: 16px 0 35px !important;
    }

    .pd-page .product-detail-top {
        padding: 14px;
        border-radius: 14px;
    }

    .pd-page .product-slider-single {
        padding: 10px;
    }

    .pd-page .product-slider-single img {
        height: 270px;
    }

    .pd-page .slider-nav-img img {
        height: 58px;
    }

    .pd-page .product-content {
        padding: 22px 0 0;
    }

    .pd-page .product-content .title h2 {
        font-size: 22px;
    }

    .pd-page .pd-price-box {
        padding: 15px;
    }

    .pd-page .pd-price-box p {
        font-size: 24px;
    }

    .pd-page .pd-action .buy {
        width: 100%;
    }

    .pd-page .product-detail-bottom {
        padding: 15px;
        border-radius: 14px;
    }

    .pd-page .product-detail-bottom .nav-pills {
        gap: 7px;
    }

    .pd-page .product-detail-bottom .nav-pills .nav-link {
        padding: 10px 13px;
        font-size: 12px;
    }

    .pd-page .sidebar {
        padding-left: 15px;
        padding-right: 15px;
    }

    #myModal .modal-body {
        padding: 17px;
    }
}

@media (max-width: 380px) {

    .pd-page .product-content .title h2 {
        font-size: 19px;
    }

    .pd-page .product-content .p-size h4 {
        min-width: 72px;
    }

    .pd-page .pd-price-box p {
        font-size: 21px;
    }

    .pd-page .pd-quantity {
        justify-content: space-between;
    }
}

/* =========================================
   REMOVE RECENT PRODUCT MARKERS
========================================= */

.pd-page .pd-recent-widget ul,
.pd-page .pd-recent-widget ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.pd-page .pd-recent-widget li {
    list-style: none !important;
    list-style-type: none !important;
}

.pd-page .pd-recent-widget li::marker {
    content: "" !important;
}

.pd-page .pd-recent-widget li::before,
.pd-page .pd-recent-widget li::after {
    content: none !important;
    display: none !important;
}

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



/* PRODUCT QUANTITY - PREMIUM WHITE DESIGN */

.pd-page input[type="number"],
.pd-page .quantity input {
    background: #ffffff !important;
    color: #123b62 !important;
    border: 1px solid #dce5ed !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-weight: 700 !important;
    text-align: center !important;
}

.pd-page input[type="number"]:focus,
.pd-page .quantity input:focus {
    background: #ffffff !important;
    color: #123b62 !important;
    border-color: #079b9b !important;
    outline: none !important;
}




/* ORDER MODAL ACTION BUTTONS */

#myModal .jm-order-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 15px;
}

#myModal .jm-order-cancel-bottom {
    padding: 10px 22px;
    background: #ffffff;
    color: #dc3545;
    border: 1px solid #dc3545;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s ease;
}

#myModal .jm-order-cancel-bottom:hover {
    background: #dc3545;
    color: #ffffff;
}



/* =========================================
   QUANTITY BOX - FORCE PREMIUM WHITE DESIGN
========================================= */

.pd-page .product-content .qty {
    display: inline-flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid #dce5ed !important;
    border-radius: 9px !important;
    overflow: hidden !important;
}

.pd-page .product-content .qty input,
.pd-page .product-content .qty input[type="number"] {
    width: 48px !important;
    height: 39px !important;
    background: #ffffff !important;
    color: #123b62 !important;
    border: 0 !important;
    border-left: 1px solid #dce5ed !important;
    border-right: 1px solid #dce5ed !important;
    border-radius: 0 !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
    outline: none !important;
}

.pd-page .product-content .qty button {
    width: 39px !important;
    height: 39px !important;
    background: #eff5f8 !important;
    color: #123b62 !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.pd-page .product-content .qty button:hover {
    background: #123b62 !important;
    color: #ffffff !important;
}