#pi-dpmw-cart-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    padding: 20px 0;
}

#pi-dpmw-cart-popup-content {
    background: #fff;
    width: 900px;
    max-width: 95%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
    margin: auto;
}

.pi-popup-container {
    display: flex;
    min-height: 500px;
}

.pi-popup-left {
    width: 35%;
    background: #0f172a; /* Dark blue/black */
    color: #fff;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.pi-popup-left h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.pi-cod-deposit-container, .pi-partial-pay-description-container {
    display: none !important;
}

.pi-popup-cart-items {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 5px;
}

/* Scrollbar styling for cart items */
.pi-popup-cart-items::-webkit-scrollbar {
    width: 6px;
}
.pi-popup-cart-items::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}
.pi-popup-cart-items::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.pi-popup-product {
    background: #fff;
    color: #333;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.pi-popup-product:last-child {
    margin-bottom: 0;
}

.pi-popup-product-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.pi-popup-product-details h3 {
    margin: 0 0 3px 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.pi-qty {
    color: #666;
    font-weight: normal;
    font-size: 12px;
}

.pi-popup-product-price {
    font-weight: bold;
    color: #333;
    font-size: 13px;
}

.pi-popup-cart-total-summary {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
}

.pi-total-label {
    color: #94a3b8;
}

.pi-total-amount {
    color: #fff;
    font-size: 18px;
}

.pi-popup-right {
    width: 65%;
    padding: 40px;
    box-sizing: border-box;
    background: #f8fafc;
}

.pi-popup-right h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 22px;
    color: #333;
}

.pi-payment-option {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pi-payment-option.selected {
    border-color: #3b82f6;
    background-color: #eff6ff;
    box-shadow: 0 0 0 1px #3b82f6;
}

.pi-payment-option label {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.pi-payment-option input[type="radio"] {
    margin-right: 15px;
}

.pi-option-details {
    flex-grow: 1;
}

.pi-option-title {
    display: block;
    font-weight: bold;
    font-size: 16px;
    color: #1e293b;
}

.pi-option-desc {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-top: 5px;
}

.pi-option-price {
    font-weight: bold;
    font-size: 16px;
    color: #1e293b;
}

#pi-popup-proceed {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

#pi-popup-proceed:hover {
    background: #333;
}

.pi-popup-close {
    position: absolute !important;
    display: block !important;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #94a3b8;
    z-index: 10;
}

.pi-popup-close:hover {
    color: #333;
}

@media (max-width: 768px) {
    .pi-popup-container {
        flex-direction: column;
    }
    .pi-popup-left, .pi-popup-right {
        width: 100%;
    }
}

.pi-trust-badges {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    gap: 10px;
}

.pi-trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 12px;
    color: #666;
    flex: 1;
}

.pi-trust-badge svg {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    color: #555;
}

.fkcart-loading:after{ 
    display:none; 
} 

.fkcart-loading .fkcart-checkout--icon, #fkcart-modal .fkcart-checkout-wrap #fkcart-checkout-button.fkcart-loading div{ 
    opacity:1 !important; 
    color:#fff !important; 
}

.fkcart-order-summary{
    display: none;
}
.pi-discount-tag {
    background-color: #22c55e;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    font-weight: bold;
    text-transform: uppercase;
    vertical-align: middle;
}


.pi-trust-badges img{
    max-width: 100%;
    height: auto;
}