/* Product details + EMI modal */
.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #b0727a, #74212c);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
}

.btn-light22:hover {
                                        color: #ffffff;
                                        background-color: #862633;
                                        border-color: #862633;
                                        
                                    }
                                    .btn-light22{
                                        color: #fff;
                                        background-color: #862633;
                                    }

.jssocials-share-link {
                                        border-radius: 50%;
                                        }

.product-emi-trigger {
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 420px;
        gap: 12px;
        margin: 0;
        padding: 10px 14px 10px 10px;
        border: 1px solid #e4d8da;
        border-left: 3px solid #862633;
        border-radius: 4px;
        background: #fffdfd;
        color: #3a3a3a;
        font-size: 14px;
        line-height: 1.35;
        text-align: left;
        cursor: pointer;
        transition: border-color 0.15s ease, background-color 0.15s ease;
    }
    .product-emi-trigger:hover,
    .product-emi-trigger:focus {
        color: #3a3a3a;
        text-decoration: none;
        outline: none;
        border-color: #d2b8bc;
        background: #faf6f7;
    }
    .product-emi-trigger__mark {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        border: 1px solid #eadfe1;
        border-radius: 3px;
        background: #f7f0f1;
        color: #862633;
        font-size: 16px;
        line-height: 1;
    }
    .product-emi-trigger__copy {
        display: flex;
        align-items: baseline;
        flex: 1 1 auto;
        min-width: 0;
        flex-wrap: wrap;
    }
    .product-emi-trigger__label,
    .product-emi-trigger__period {
        color: #6b6b6b;
        font-weight: 400;
    }
    .product-emi-trigger__label {
        margin-right: 4px;
    }
    .product-emi-trigger strong,
    #product-emi-from-amount {
        color: #1f1f1f;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
    }
    .product-emi-trigger__link {
        flex: 0 0 auto;
        margin-left: auto;
        color: #862633;
        font-size: 13px;
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 2px;
        white-space: nowrap;
    }
    .product-emi-trigger:hover .product-emi-trigger__link {
        color: #6d1e29;
    }
    .product-emi-dialog {
        max-width: 820px;
        margin: 1.75rem auto;
        width: auto;
    }
    .product-emi-content {
        border: 1px solid #dee2e6;
        border-radius: .3rem;
        background: #fff;
        overflow: hidden;
    }
    .product-emi-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        border-bottom: 1px solid #dee2e6;
    }
    .product-emi-title {
        font-size: 18px;
        font-weight: 600;
        color: #212529;
        min-width: 0;
    }
    .product-emi-header__actions {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    .product-emi-tnc {
        color: #862633;
        font-size: 13px;
        margin-right: 12px;
    }
    .product-emi-tnc:hover {
        color: #6d1e29;
        text-decoration: underline;
    }
    .product-emi-close {
        width: 28px;
        height: 28px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #6c757d;
        font-size: 20px;
        line-height: 1;
    }
    .product-emi-close:hover {
        color: #212529;
    }
    .product-emi-mobile-product {
        gap: 10px;
        margin: 12px 12px 0;
        padding-bottom: 12px;
        align-items: center;
        border-bottom: 1px solid #dee2e6;
        min-width: 0;
    }
    .product-emi-mobile-product > div {
        min-width: 0;
        flex: 1 1 auto;
    }
    .product-emi-mobile-product img {
        width: 48px;
        height: 48px;
        object-fit: cover;
        flex-shrink: 0;
        border-radius: 4px;
    }
    .product-emi-mobile-name {
        font-size: 14px;
        font-weight: 600;
        margin: 0 0 2px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
    }
    .product-emi-product-price {
        font-size: 14px;
        color: #862633;
        font-weight: 600;
    }
    .product-emi-desktop {
        padding: 0;
    }
    .product-emi-bank-pane {
        width: 240px;
        flex-shrink: 0;
        border-right: 1px solid #dee2e6;
    }
    .product-emi-bank-list {
        max-height: 420px;
        overflow-y: auto;
    }
    .product-emi-bank,
    .product-emi-mobile-bank__toggle {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 9px 12px;
        border: 0;
        border-bottom: 1px solid #f1f3f5;
        background: #fff;
        font-size: 13px;
        color: #212529;
        text-align: left;
    }
    .product-emi-bank img,
    .product-emi-mobile-bank__toggle img {
        width: 18px;
        height: 18px;
        object-fit: contain;
        flex-shrink: 0;
    }
    .product-emi-bank span,
    .product-emi-mobile-bank__toggle span {
        flex: 1;
        min-width: 0;
    }
    .product-emi-bank:hover,
    .product-emi-mobile-bank__toggle:hover {
        background: #f8f9fa;
        color: #212529;
    }
    .product-emi-bank.is-active,
    .product-emi-mobile-bank__toggle.is-open {
        background: #f8f9fa;
        color: #862633;
        font-weight: 600;
    }
    .product-emi-plan-pane {
        flex: 1;
        min-width: 0;
        padding: 14px 16px 16px;
    }
    .product-emi-selected-bank {
        font-size: 14px;
        font-weight: 600;
        color: #212529;
        margin: 0 0 8px;
    }
    .product-emi-plan + .product-emi-plan {
        border-top: 1px solid #dee2e6;
    }
    .product-emi-plan__toggle {
        width: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 0;
        border: 0;
        background: transparent;
        text-align: left;
        color: #212529;
        font-size: 13px;
    }
    .product-emi-plan__toggle > span {
        flex: 1 1 auto;
        min-width: 0;
        white-space: normal;
        word-break: break-word;
        line-height: 1.4;
    }
    .product-emi-plan__toggle > .las {
        color: #6c757d;
        font-size: 14px;
        flex: 0 0 auto;
        margin-top: 2px;
    }
    .product-emi-plan__body {
        max-height: 0;
        overflow: hidden;
    }
    .product-emi-plan.is-open > .product-emi-plan__body {
        max-height: 220px;
        padding-bottom: 10px;
    }
    .product-emi-breakdown {
        background: #f8f9fa;
        border: 1px solid #dee2e6;
        padding: 10px 12px;
        font-size: 13px;
    }
    .product-emi-breakdown__row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
        color: #495057;
    }
    .product-emi-breakdown__row > span:first-child {
        flex: 1 1 auto;
        min-width: 0;
    }
    .product-emi-breakdown__row > span:last-child {
        flex: 0 0 auto;
        text-align: right;
        white-space: nowrap;
    }
    .product-emi-breakdown__row + .product-emi-breakdown__row {
        margin-top: 6px;
    }
    .product-emi-breakdown__row.is-total {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #dee2e6;
        color: #212529;
        font-weight: 600;
    }
    .product-emi-mobile {
        padding: 0 0 8px;
    }
    .product-emi-mobile-bank__toggle i {
        color: #6c757d;
        font-size: 14px;
        flex: 0 0 auto;
    }
    .product-emi-mobile-bank__body {
        max-height: 0;
        overflow: hidden;
        padding: 0 12px;
    }
    .product-emi-mobile-bank__body.is-open {
        max-height: none;
        padding-bottom: 8px;
    }
    @media (max-width: 991.98px) {
        #product-emi-modal {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
        #product-emi-modal .product-emi-dialog {
            width: calc(100% - 16px);
            max-width: calc(100% - 16px);
            margin: 8px auto;
            min-height: 0;
            align-items: flex-start;
        }
        #product-emi-modal .product-emi-content {
            display: flex;
            flex-direction: column;
            width: 100%;
            max-height: calc(100vh - 16px);
            max-height: calc(100dvh - 16px);
            overflow: hidden;
        }
        #product-emi-modal .product-emi-header {
            flex: 0 0 auto;
            position: sticky;
            top: 0;
            z-index: 2;
            background: #fff;
            padding: 12px 14px;
        }
        #product-emi-modal .product-emi-title {
            font-size: 16px;
        }
        #product-emi-modal .product-emi-mobile-product {
            flex: 0 0 auto;
            margin: 10px 12px 0;
        }
        #product-emi-modal .product-emi-mobile {
            flex: 1 1 auto;
            min-height: 0;
            overflow-x: hidden;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior: contain;
            padding: 0 0 calc(8px + env(safe-area-inset-bottom, 0px));
        }
        #product-emi-modal .product-emi-mobile-bank__toggle {
            padding: 12px;
            font-size: 13px;
        }
        #product-emi-modal .product-emi-mobile-bank__body {
            padding-left: 12px;
            padding-right: 12px;
        }
        #product-emi-modal .product-emi-plan.is-open > .product-emi-plan__body {
            max-height: none;
        }
        #product-emi-modal .product-emi-plan__toggle {
            font-size: 12px;
            padding: 11px 0;
        }
        #product-emi-modal .product-emi-breakdown {
            font-size: 12px;
            padding: 10px;
        }
    }
    @media (max-width: 575.98px) {
        .product-emi-trigger {
            max-width: none;
            gap: 10px;
            padding: 9px 12px 9px 8px;
            font-size: 13px;
        }
        .product-emi-trigger__mark {
            width: 30px;
            height: 30px;
            flex-basis: 30px;
            font-size: 14px;
        }
        .product-emi-trigger__link {
            font-size: 12px;
        }
        #product-emi-modal .product-emi-dialog {
            width: calc(100% - 12px);
            max-width: calc(100% - 12px);
            margin: 6px auto;
        }
        #product-emi-modal .product-emi-content {
            max-height: calc(100vh - 12px);
            max-height: calc(100dvh - 12px);
            border-radius: 8px;
        }
        #product-emi-modal .product-emi-header {
            padding: 10px 12px;
        }
        #product-emi-modal .product-emi-tnc {
            margin-right: 8px;
        }
        #product-emi-modal .product-emi-mobile-name {
            font-size: 13px;
        }
    }
