/* KhoRevit V8.4 - minimal classic WooCommerce checkout, no address or notes. */
body.woocommerce-checkout .khv8-woo-page,
body.woocommerce-checkout .khv-content {max-width:1050px;margin-left:auto;margin-right:auto}

/* Checkout fields are removed in PHP; these empty template containers should
   not reserve blank space or show their stale Billing / Additional headings. */
body.woocommerce-checkout form.checkout .col2-set,
body.woocommerce-checkout form.checkout .woocommerce-billing-fields,
body.woocommerce-checkout form.checkout .woocommerce-shipping-fields,
body.woocommerce-checkout form.checkout .woocommerce-additional-fields,
body.woocommerce-checkout form.checkout #customer_details {display:none!important}

body.woocommerce-checkout .woocommerce #order_review_heading,
body.woocommerce-checkout .woocommerce form.checkout #order_review_heading,
body.woocommerce-checkout .woocommerce-checkout #order_review_heading {
    display:block;float:none!important;width:100%!important;
    font-size:24px;line-height:1.4;color:#0e457f;margin:20px 0 15px;
}
body.woocommerce-checkout .woocommerce form.checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout #order_review {
    float:none!important;width:100%!important;max-width:100%!important;
    clear:both;display:block;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table{
    width:100%;background:#fff;border:1px solid #dbe7f6!important;
    border-radius:13px!important;overflow:hidden;margin-bottom:18px!important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td{
    padding:13px 15px!important;font-size:15px;color:#284d7a;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td{
    color:#123e7b;font-weight:800;font-size:18px;
}
body.woocommerce-checkout .woocommerce-checkout #payment,
body.woocommerce-checkout .woocommerce #payment {
    background:#f1f7ff!important;border:1px solid #d7e7fb;
    padding:15px;border-radius:14px;
}
body.woocommerce-checkout #payment ul.payment_methods{
    border:0;padding:0!important;margin:0!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_khv84_qr_bank{
    margin:0!important;padding:0!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_khv84_qr_bank > label,
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_khv84_qr_bank > input{display:none!important}
body.woocommerce-checkout .woocommerce #payment div.payment_box.payment_method_khv84_qr_bank,
body.woocommerce-checkout #payment div.payment_box.payment_method_khv84_qr_bank{
    display:block!important;position:static;width:100%;max-width:100%;
    margin:0!important;padding:0!important;color:#214e81!important;
    border-radius:12px;background:#fff!important;box-shadow:none!important;
}
body.woocommerce-checkout #payment div.payment_box.payment_method_khv84_qr_bank::before{display:none!important}

.khv84-checkout-qr{max-width:680px;margin:0 auto;padding:22px 24px;color:#315779;text-align:center}
.khv84-total{background:#eaf4ff;border:1px solid #c8e2ff;border-radius:12px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.khv84-total > span{font-size:13px;line-height:1.5;font-weight:800;color:#2364ae;text-align:left;letter-spacing:.02em}
.khv84-total > strong{font-size:clamp(22px,3vw,29px);color:#eb611e;white-space:nowrap;line-height:1.25}
.khv84-total .woocommerce-Price-amount{color:inherit;font-weight:inherit}
.khv84-checkout-qr h3{font-size:22px;color:#114b91;margin:0 0 16px;font-weight:800}
.khv84-qr-link{display:block;width:100%;max-width:370px;margin:0 auto 12px;border:1px solid #dee9f5;background:#fff;padding:6px;border-radius:14px;box-shadow:0 10px 25px #12447711}
.khv84-qr-link img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;max-width:100%;border-radius:10px}
.khv84-qr-caption{font-size:13px;line-height:1.7;color:#71859f;max-width:440px;margin:0 auto 20px}
.khv84-qr-caption strong{color:#2c5c95}
.khv84-payment-instructions{background:#f6faff;border:1px solid #dceafb;border-radius:12px;text-align:left;padding:16px 20px;margin:0 0 13px}
.khv84-payment-instructions > strong{display:block;font-size:17px;color:#154b89;margin-bottom:8px}
.khv84-payment-instructions .khv84-steps{display:flex;flex-direction:column;gap:9px;margin:0;padding:0}
.khv84-payment-instructions .khv84-step{display:grid!important;grid-template-columns:23px minmax(0,1fr);align-items:start;gap:7px;width:100%;margin:0;padding:0;line-height:1.75;font-size:14px;list-style:none}
.khv84-payment-instructions .khv84-step-number{display:block!important;white-space:nowrap;text-align:left;font-weight:600;line-height:inherit}
.khv84-payment-instructions .khv84-step-text{display:block!important;min-width:0;line-height:inherit;overflow-wrap:break-word}
.khv84-payment-instructions b{color:#155dab}
.khv84-after-payment{padding:15px;border-radius:11px;background:#fff6df;border-left:4px solid #f2a11d;text-align:left;line-height:1.75;font-size:14px;margin:0 0 10px!important;color:#6e5125}
.khv84-after-payment strong{color:#104d9c}.khv84-after-payment a{color:#115ec1;text-decoration:underline;text-underline-offset:2px}
.khv84-password-notice{font-size:12px;line-height:1.7;color:#69819b;margin:0!important}
body.woocommerce-checkout #payment .place-order{padding:19px 0 7px!important;margin:0;border-top:1px solid #dbe7f7;text-align:center}
body.woocommerce-checkout #payment #place_order{float:none!important;display:inline-block;width:100%;max-width:360px;font-size:16px!important;padding:16px!important}
.khv84-order-confirmation{background:#f3f8ff;border:1px solid #dce9f8;border-radius:16px;margin:24px auto;padding:14px;max-width:820px}
.khv84-order-confirmation h2{color:#134e96;text-align:center;font-size:21px;margin:9px 0 12px}
.khv84-free-checkout{border:1px solid #b7e5c9;background:#effbf4;border-radius:10px;color:#08783c;font-weight:700;padding:15px;margin-bottom:14px;font-size:15px}

@media(max-width:650px){
    body.woocommerce-checkout .woocommerce #payment{padding:9px}
    .khv84-checkout-qr{padding:15px 12px}
    .khv84-total{flex-direction:column;align-items:center;text-align:center}
    .khv84-total > span{text-align:center}
    .khv84-payment-instructions{padding:13px}
    .khv84-qr-link{max-width:330px}
    body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
    body.woocommerce-checkout .woocommerce-checkout-review-order-table td{padding:10px!important;font-size:13px}
}
