body.woocommerce-checkout #billing_pmx_business_field{padding:16px!important;margin:12px 0!important;background:#252a31!important;border:1px solid #414750!important;border-radius:12px!important;clear:both}
body.woocommerce-checkout #billing_pmx_business_field label{display:flex!important;align-items:center;gap:10px;color:#fff!important;font-weight:700!important}
body.woocommerce-checkout #billing_pmx_business_field input{width:19px;height:19px;accent-color:#e30613;flex-shrink:0}
body.woocommerce-checkout #pmx-company-details{box-sizing:border-box;min-width:0;clear:both;margin:16px 0 22px;padding:18px;border:1px solid #414750;border-radius:14px;background:#1d2229;color:#fff}
body.woocommerce-checkout #pmx-company-details[hidden]{display:none!important}
body.woocommerce-checkout #pmx-company-details legend{width:auto;padding:0 8px;color:#fff;font-size:16px;font-weight:800}
body.woocommerce-checkout #pmx-company-details input{background:#292f37!important;color:#fff!important;border:1px solid #454d58!important;border-radius:9px!important;padding:12px!important}
body.woocommerce-checkout .pmx-business-note,body.woocommerce-checkout #pmx-same-address-note{clear:both;color:#bdc5d0;font-size:13px;line-height:1.5;margin:8px 0 18px}
body.woocommerce-checkout #ship-to-different-address{font-size:18px;line-height:1.4}
/* Block checkout uses the conditional business company field above. */
body.woocommerce-checkout .wc-block-components-address-form__company{display:none!important}
body.woocommerce-checkout #pmx-contact-details,body.woocommerce-checkout #pmx-billing-address{box-sizing:border-box;min-width:0;clear:both;margin:16px 0 22px;padding:18px;border:1px solid #414750;border-radius:14px;background:#1d2229;color:#fff}
body.woocommerce-checkout #pmx-contact-details legend,body.woocommerce-checkout #pmx-billing-address legend{width:auto;padding:0 8px;color:#fff;font-size:17px;font-weight:800}
body.woocommerce-checkout #pmx-company-details #pmx-billing-address{margin:18px 0 0!important;background:#252b33;border-color:#464f5b;padding:16px}
body.woocommerce-checkout #pmx-contact-details .form-row,body.woocommerce-checkout #pmx-billing-address .form-row{float:none!important;width:100%!important}
body.woocommerce-checkout #pmx-delivery-title{color:#fff;font-size:21px;margin:22px 0 14px}
body.woocommerce-checkout #pmx-contact-details input,body.woocommerce-checkout #pmx-billing-address input{background:#292f37!important;color:#fff!important;border:1px solid #454d58!important;border-radius:9px!important;padding:12px!important}
@media(max-width:600px){body.woocommerce-checkout #pmx-company-details,body.woocommerce-checkout #pmx-contact-details,body.woocommerce-checkout #pmx-billing-address{padding:14px!important}}
body.woocommerce-checkout #billing_pmx_business_field[hidden],body.woocommerce-checkout #pmx-invoice-details .form-row[hidden]{display:none!important}
body.woocommerce-checkout #pmx-customer-type{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0;border:0;margin:0 0 22px;padding:0}
body.woocommerce-checkout #pmx-customer-type legend{padding:0;margin-bottom:12px;color:#fff;font-size:16px;font-weight:800}
body.woocommerce-checkout #pmx-customer-type label{display:flex;align-items:center;gap:10px;padding:16px 12px;margin:0;border:1px solid #414750;border-radius:12px;background:#252b33;color:#fff;font-size:14px;cursor:pointer}
body.woocommerce-checkout #pmx-customer-type label:has(input:checked){border-color:#f12b37;background:#382127}
body.woocommerce-checkout #pmx-customer-type input{accent-color:#e30613;width:18px;height:18px;flex-shrink:0;margin:0}
body.woocommerce-checkout #pmx-invoice-details{box-sizing:border-box;min-width:0;border:1px solid #414750;border-radius:14px;padding:18px;margin:0 0 20px;background:#1d2229;color:#fff}
body.woocommerce-checkout #pmx-invoice-details legend{width:auto;padding:0 8px;color:#fff;font-size:16px;font-weight:800}
body.woocommerce-checkout #pmx-invoice-details .form-row{float:none!important;width:100%!important;box-sizing:border-box}
body.woocommerce-checkout #pmx-invoice-details input{background:#292f37!important;color:#fff!important;border:1px solid #454d58!important;border-radius:9px!important;padding:12px!important}
/* Native order summary quantity: below the photo, with an opaque backdrop. */
body .wc-block-components-order-summary-item .wc-block-components-order-summary-item__quantity{position:static!important;transform:none!important;display:inline-flex!important;align-items:center;justify-content:center;margin:8px 0 0!important;padding:3px 8px!important;width:auto!important;min-width:28px!important;min-height:25px!important;height:auto!important;background:#e30613!important;color:#fff!important;border:1px solid #ff6470!important;border-radius:8px!important;font-size:14px!important;font-weight:800!important;opacity:1!important;visibility:visible!important;box-shadow:none!important}
body .wc-block-components-order-summary-item__image{overflow:visible!important;display:flex!important;flex-direction:column!important;align-items:center!important}
body .pmx-cart-quantity-label{display:block!important;position:static!important;clear:both;margin:8px 0!important;color:#fff!important;font-size:13px!important;font-weight:700!important;line-height:1.5!important}
@media(max-width:380px){body.woocommerce-checkout #pmx-customer-type{grid-template-columns:1fr}body.woocommerce-checkout #pmx-invoice-details{padding:14px}}

body.woocommerce-checkout #pmx-invoice-details .pmx-company-field{border-left:3px solid #e30613;padding-left:12px!important}
body.woocommerce-checkout .woocommerce-shipping-fields{margin-top:22px!important}
body.woocommerce-checkout #pmx-customer-type{clear:both;margin-top:0!important}
/* Match order notes and country controls to the checkout fields. */
body.woocommerce-checkout #order_comments,body.woocommerce-checkout .woocommerce-additional-fields textarea{box-sizing:border-box!important;display:block!important;width:100%!important;min-height:130px!important;padding:14px 16px!important;border:1px solid #454d58!important;border-radius:11px!important;background:#292f37!important;color:#f3f4f6!important;line-height:1.5!important;resize:vertical}
body.woocommerce-checkout #order_comments::placeholder{color:#b9c1cc!important;opacity:1}
body.woocommerce-checkout #billing_country_field,body.woocommerce-checkout #shipping_country_field{float:none!important;width:100%!important;clear:both!important}
body.woocommerce-checkout #billing_country_field .select2-container,body.woocommerce-checkout #shipping_country_field .select2-container{width:100%!important;max-width:100%!important}
body.woocommerce-checkout #billing_country_field .select2-selection--single,body.woocommerce-checkout #shipping_country_field .select2-selection--single{box-sizing:border-box!important;min-height:58px!important;height:58px!important;padding:0 14px!important;background:#292f37!important;color:#f3f4f6!important;border:1px solid #454d58!important;border-radius:11px!important}
body.woocommerce-checkout #billing_country_field .select2-selection__rendered,body.woocommerce-checkout #shipping_country_field .select2-selection__rendered{line-height:56px!important;padding-left:0!important;padding-right:28px!important;color:#f3f4f6!important;font-size:16px!important}
body.woocommerce-checkout #billing_country_field .select2-selection__arrow,body.woocommerce-checkout #shipping_country_field .select2-selection__arrow{height:56px!important;right:12px!important}
body.woocommerce-checkout #billing_country,body.woocommerce-checkout #shipping_country,body.woocommerce-checkout #billing_country_field strong,body.woocommerce-checkout #shipping_country_field strong{box-sizing:border-box!important;width:100%!important;min-height:58px!important;padding:16px!important;background:#292f37!important;color:#f3f4f6!important;border:1px solid #454d58!important;border-radius:11px!important;font-size:16px!important;line-height:24px!important}
