.kv-checkout{

    max-width:700px;
    margin:auto;
    background:#ffffff;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.kv-checkout h2{

    font-size:36px;
    margin-bottom:30px;
    font-weight:700;

}

.kv-checkout label:not(.kv-radio){

    display:block;
    margin-bottom:8px;
    margin-top:20px;
    font-weight:600;

}

.kv-checkout input:not([type="radio"]),
.kv-checkout textarea{

    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:16px;
    box-sizing:border-box;

}

.kv-checkout textarea{

    min-height:120px;

}

.kv-checkout button{

    width:100%;
    margin-top:25px;
    background:linear-gradient(135deg,#7C3AED,#9333EA);
    color:#fff;
    border:none;
    padding:18px;
    border-radius:12px;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
    box-shadow:0 12px 30px rgba(124,58,237,.35);
transition:.3s;

}

.kv-checkout button:hover{

    background:linear-gradient(135deg,#6D28D9,#7E22CE);
    transform:translateY(-2px);

box-shadow:0 16px 40px rgba(124,58,237,.45);

}

.kv-checkout select{

    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:16px;
    box-sizing:border-box;
    background:#fff;

}

.kv-package{

    margin:20px 0;

}

.kv-radio{

    display:flex;
    justify-content:space-between;
    align-items:center;

    border:1px solid #ddd;
    border-radius:12px;

    padding:15px;

    margin-bottom:15px;

    cursor:pointer;

    width:100%;
    box-sizing:border-box;

}

.kv-left{

    display:flex;
    align-items:center;
    gap:12px;

    flex:1;
    min-width:0;

}

.kv-left input{

    margin:0;

    width:auto;

}

.kv-left span{

    font-size:18px;

    font-weight:600;

}

.kv-radio strong{

    color:#7C3AED;
    font-size:20px;

    white-space:nowrap;
    margin-left:auto;
    flex-shrink:0;

}

.kv-summary{

    margin:25px 0;

}

.kv-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin:12px 0;

    font-size:17px;

}

.kv-row.total{

    font-size:22px;

    font-weight:bold;

}

.kv-row.total strong{

    color:#ff6b00;

}
.kv-shipping{

display:flex;

justify-content:space-between;

align-items:center;

padding:18px;

border:1px solid #ddd;

border-radius:12px;

margin-bottom:20px;

}

.kv-payment{

margin:20px 0;

}

#grand_total{

    font-size:30px;
    font-weight:700;
    color:#7C3AED;

    margin:8px 0 25px;

}

/* PACKAGE */

.kv-package .kv-radio{

    display:flex !important;
    justify-content:space-between !important;
    align-items:center !important;

    border:1px solid #ddd;
    border-radius:12px;
    padding:15px;
    margin-bottom:15px;

}

.kv-package .kv-left{

    display:flex !important;
    align-items:center !important;
    gap:12px;
    flex:1;

}

.kv-package input[type="radio"]{

    width:auto !important;
    flex:none !important;
    margin:0 !important;

}

.kv-package strong{

    margin-left:auto;
    color:#7C3AED;
    font-size:20px;
}

.kv-error{
    display:block;
    color:#dc2626;
    font-size:13px;
    margin-top:5px;
    min-height:18px;
}

.kv-invalid{
    border:2px solid #dc2626 !important;
}

.kv-valid{
    border:2px solid #22c55e !important;
}

/* ==========================
   SALES POPUP
========================== */

.kv-sales-popup{
    position:fixed;
    left:20px;
    bottom:20px;
    width:330px;
    background:rgba(255,255,255,.92);
    border:1px solid rgba(255,255,255,.5);
    border-radius:14px;
    display:flex;
    align-items:center;
    padding:14px;
    z-index:999999;
    box-shadow:
    0 12px 28px rgba(0,0,0,.10),
    0 24px 60px rgba(0,0,0,.14);
    transform:translateY(120%);
    opacity:0;
    transition:all .4s ease;
    font-family:inherit;
}

.kv-sales-popup.show{
    transform:translateY(0);
    opacity:1;

}

.kv-popup-icon{
    width:50px;
    height:50px;
    min-width:50px;
    border-radius:50%;
    background:#16a34a;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    color:#fff;
    margin-right:12px;
}

.kv-popup-title{
    font-size:15px;
    color:#222;
    margin-bottom:5px;
}

.kv-popup-product{
    font-size:14px;
    color:#555;
}

.kv-popup-time{
    margin-top:6px;
    font-size:12px;
    color:#999;
}

@media(max-width:768px){

.kv-sales-popup{
    left:12px;
    right:12px;
    bottom:20px;
    width:auto;
}
}

.kv-sales-popup::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:1px;
    background:rgba(255,255,255,.8);
}

/* PAYMENT STATUS */

.kv-paid{

    background:#d1fae5;
    color:#065f46;
    padding:5px 10px;
    border-radius:20px;
    font-weight:600;

}

.kv-cod{

    background:#fef3c7;
    color:#92400e;
    padding:5px 10px;
    border-radius:20px;
    font-weight:600;

}

.kv-failed{

    background:#fee2e2;
    color:#991b1b;
    padding:5px 10px;
    border-radius:20px;
    font-weight:600;

}

.kv-pending{

    background:#e5e7eb;
    color:#374151;
    padding:5px 10px;
    border-radius:20px;
    font-weight:600;

}

/* PARCEL STATUS */

.kv-processing{

background:#dbeafe;
color:#1d4ed8;
padding:5px 12px;
border-radius:20px;
font-weight:600;

}

.kv-ready{

background:#ede9fe;
color:#6d28d9;
padding:5px 12px;
border-radius:20px;
font-weight:600;

}

.kv-picked{

background:#ffedd5;
color:#c2410c;
padding:5px 12px;
border-radius:20px;
font-weight:600;

}

.kv-transit{

background:#fef3c7;
color:#92400e;
padding:5px 12px;
border-radius:20px;
font-weight:600;

}

.kv-delivered{

background:#dcfce7;
color:#166534;
padding:5px 12px;
border-radius:20px;
font-weight:600;

}

.kv-return{

background:#fee2e2;
color:#991b1b;
padding:5px 12px;
border-radius:20px;
font-weight:600;

}

.kv-cancel{

background:#e5e7eb;
color:#374151;
padding:5px 12px;
border-radius:20px;
font-weight:600;

}

.kv-popup-rating{
    margin-top:4px;
    font-size:12px;
    color:#f5b301;
    font-weight:600;
}

.kv-popup-rating span{
    color:#777;
}

/* Purple Focus */

.kv-checkout input:focus,
.kv-checkout textarea:focus,
.kv-checkout select:focus{

    outline:none;
    border:2px solid #7C3AED;
    box-shadow:0 0 0 4px rgba(124,58,237,.15);

}