/* Presentation for the existing classic WooCommerce cart and checkout. */
body.rp-modern-site .rpm-store-service-content{font-size:15px;line-height:1.55}
body.rp-modern-site .rpm-store-service-content h1{font-size:32px;line-height:1.2}
body.rp-modern-site .rp-cart-title h2,body.rp-modern-site .cart_totals>h2,body.rp-modern-site .rp-reference-checkout h3{font-size:21px!important;line-height:1.3}
body.rp-modern-site .rp-cart-title h2 span{font-size:14px;font-weight:500;display:block;margin-top:5px;line-height:1.5}
body.rp-modern-site .rpm-store-service-content form.rp-reference-checkout{grid-template-columns:minmax(0,35fr) minmax(0,32fr) minmax(0,33fr)!important;gap:22px}
body.rp-modern-site .woocommerce-cart-form table.cart tr.cart_item{grid-template-columns:72px minmax(100px,1fr) 90px 132px 100px 44px;gap:12px;padding-top:20px;padding-bottom:20px}
body.rp-modern-site .woocommerce-cart-form table.cart td.product-thumbnail img{width:72px!important;height:72px!important;object-fit:contain!important}
body.rp-modern-site .woocommerce-cart-form .rp-cart-name{font-size:16px!important;line-height:1.5;font-weight:600;overflow-wrap:anywhere}
body.rp-modern-site .rp-cart-meta{font-size:13px;line-height:1.5;margin-top:5px}
body.rp-modern-site .rp-cart-meta span{font-size:13px!important}
body.rp-modern-site .woocommerce-cart-form table.cart td.product-price{font-size:15px}
body.rp-modern-site .woocommerce-cart-form table.cart td.product-subtotal{font-size:18px;font-weight:700}
body.rp-modern-site .woocommerce-cart-form .quantity{width:132px!important;grid-template-columns:44px 44px 44px!important;min-height:44px}
body.rp-modern-site .woocommerce-cart-form .quantity input.qty,body.rp-modern-site .woocommerce-cart-form .rp-cart-step{height:44px!important;min-height:44px!important;width:44px!important;font-size:16px!important;padding:0!important;box-sizing:border-box}
body.rp-modern-site .woocommerce-cart-form a.remove{width:44px!important;height:44px!important;line-height:44px!important;font-size:24px!important}
body.rp-modern-site .woocommerce-cart-form .actions [name=update_cart]{position:static!important;min-height:44px!important;max-width:none;margin-left:auto;font-size:14px!important;padding:10px 14px!important}
body.rp-modern-site .rp-empty-cart{font-size:13px;min-height:44px;padding:9px 12px}
body.rp-modern-site .cart_totals{padding:22px!important}
body.rp-modern-site .cart_totals table th,body.rp-modern-site .cart_totals table td{font-size:15px;line-height:1.55}
body.rp-modern-site .cart_totals .order-total{border-top:1px solid #dbe7ef}
body.rp-modern-site .cart_totals .order-total .amount,body.rp-modern-site .rp-reference-checkout .woocommerce-checkout-review-order-table .order-total .amount{font-size:30px;font-weight:800;line-height:1.2}
body.rp-modern-site .cart_totals .includes_tax,body.rp-modern-site .cart_totals .includes_tax .amount,body.rp-modern-site .rp-reference-checkout .woocommerce-checkout-review-order-table .includes_tax .amount{font-size:13px!important;font-weight:400!important}
body.rp-modern-site .cart_totals .checkout-button{min-height:52px;font-size:16px!important;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
body.rp-modern-site .cart_totals #shipping_method li,body.rp-modern-site .rp-native-shipping #shipping_method li{padding:12px!important;border:1px solid #dbe7ef;border-radius:7px;margin:0 0 8px;gap:4px 9px;grid-template-columns:22px minmax(0,1fr);cursor:pointer;background:#fff}
body.rp-modern-site :is(.cart_totals,.rp-native-shipping) #shipping_method li:has(input:checked){background:#eef8fa;border-color:#247b91;box-shadow:inset 0 0 0 1px #247b91}
body.rp-modern-site :is(.cart_totals,.rp-native-shipping) #shipping_method label{font-size:15px!important;line-height:1.45;cursor:pointer;min-height:28px}
body.rp-modern-site :is(.cart_totals,.rp-native-shipping) #shipping_method input{width:20px!important;height:20px!important;margin:2px 0!important}
body.rp-modern-site :is(.cart_totals,.rp-native-shipping) .rpm-cart-pickup-location{font-size:13px!important;line-height:1.5!important}
body.rp-modern-site .woocommerce-shipping-destination,body.rp-modern-site .shipping-calculator-button{font-size:14px;line-height:1.6}
body.rp-modern-site .rp-reference-checkout #customer_details label{font-size:14px!important;line-height:1.45!important;margin-bottom:5px}
body.rp-modern-site .rpm-store-service-content .rp-reference-checkout #customer_details :is(.input-text,select){font-size:16px!important;min-height:50px!important;height:50px!important;padding:11px 12px!important;border:1px solid #cbdde8;border-radius:6px;box-sizing:border-box}
body.rp-modern-site .rpm-store-service-content .rp-reference-checkout #customer_details textarea.input-text{min-height:90px!important;height:auto!important}
body.rp-modern-site .rp-reference-checkout .select2-container .select2-selection--single{min-height:50px;padding-top:8px;font-size:16px}
body.rp-modern-site .rp-reference-checkout .woocommerce-billing-fields__field-wrapper,body.rp-modern-site .rp-reference-checkout .woocommerce-shipping-fields__field-wrapper{gap:14px 12px}
body.rp-modern-site .rp-reference-checkout :is(input,select,textarea):focus{outline:2px solid #247b91;outline-offset:2px}
body.rp-modern-site .rp-reference-checkout #customer_details,body.rp-modern-site .rp-reference-shipping,body.rp-modern-site .rp-reference-checkout #order_review{padding:20px!important;border-radius:9px}
body.rp-modern-site .rp-reference-checkout #payment .wc_payment_method label{font-size:15px!important;line-height:1.5;cursor:pointer}
body.rp-modern-site .rp-reference-checkout #payment ul.payment_methods>li{padding:12px!important;border:1px solid #dbe7ef!important;border-radius:6px;margin-bottom:6px}
body.rp-modern-site .rp-reference-checkout #payment .wc_payment_method:has(input:checked){background:#eef8fa;border-color:#247b91!important}
body.rp-modern-site .rp-reference-checkout #payment .payment_box{font-size:14px!important;line-height:1.6!important;margin:8px 0 0!important}
body.rp-modern-site .rp-reference-checkout #payment input.input-radio{width:20px;height:20px}
body.rp-modern-site .rp-reference-checkout .rpm-checkout-item-photo{height:56px!important;width:56px!important;flex:0 0 56px!important}
body.rp-modern-site .rp-reference-checkout .rpm-checkout-item-photo img{width:56px!important;height:56px!important;object-fit:contain}
body.rp-modern-site .rp-reference-checkout .rpm-checkout-item{gap:10px}
body.rp-modern-site .rp-reference-checkout .rpm-checkout-item-name{font-size:15px!important;line-height:1.45;font-weight:600}
body.rp-modern-site .rp-reference-checkout .woocommerce-checkout-review-order-table .cart_item td{font-size:15px!important;line-height:1.5}
body.rp-modern-site .rp-reference-checkout .woocommerce-checkout-review-order-table td.product-total{text-align:right;white-space:normal}
body.rp-modern-site .rp-reference-checkout :is(.rp-summary-counter span,.rp-summary-counter a,.rpm-checkout-item-quantity,.variation,.woocommerce-privacy-policy-text,.woocommerce-terms-and-conditions-checkbox-text){font-size:13px!important;line-height:1.6}
body.rp-modern-site .rp-reference-checkout .woocommerce-terms-and-conditions-wrapper label{display:block;padding:10px 0;cursor:pointer}
body.rp-modern-site .rp-reference-checkout input[type=checkbox]{width:20px;height:20px;vertical-align:middle}
body.rp-modern-site .rp-reference-checkout #place_order{min-height:54px!important;width:100%;font-size:17px!important}
body.rp-modern-site .rp-order-note-toggle{margin-top:18px;border-top:1px solid #dbe7ef;padding-top:12px}
body.rp-modern-site .rp-order-note-toggle>summary{font-size:15px;font-weight:600;cursor:pointer;min-height:44px;display:flex;align-items:center}
body.rp-modern-site .rp-field-error{font-size:13px;line-height:1.5;color:#a32231;margin:5px 0;display:block}
body.rp-modern-site .woocommerce-error{font-size:15px!important;line-height:1.6}
body.rp-modern-site :is(.woocommerce-cart-form,.rp-reference-checkout) :is(input,button,a,select,summary){scroll-margin-top:110px}
@media(max-width:1250px){body.rp-modern-site .woocommerce-cart-form table.cart tr.cart_item{grid-template-columns:72px minmax(0,1fr) 132px 44px}body.rp-modern-site .woocommerce-cart-form td.product-thumbnail{grid-column:1;grid-row:1/span 2}body.rp-modern-site .woocommerce-cart-form td.product-name{grid-column:2;grid-row:1}body.rp-modern-site .woocommerce-cart-form td.product-price{grid-column:2;grid-row:2}body.rp-modern-site .woocommerce-cart-form td.product-quantity{grid-column:3;grid-row:1}body.rp-modern-site .woocommerce-cart-form td.product-subtotal{grid-column:3;grid-row:2}body.rp-modern-site .woocommerce-cart-form td.product-remove{grid-column:4;grid-row:1}}
@media(min-width:701px) and (max-width:1100px){body.rp-modern-site .rpm-store-service-content form.rp-reference-checkout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}body.rp-modern-site .rp-reference-checkout>#customer_details{grid-column:1;grid-row:1/span 2}body.rp-modern-site .rp-reference-checkout>.rp-checkout-middle{grid-column:2;grid-row:1}body.rp-modern-site .rp-reference-checkout>#order_review{grid-column:2;grid-row:2}}
@media(max-width:700px){
body.rp-modern-site .rpm-store-service-content h1{font-size:28px}
body.rp-modern-site .rp-cart-title h2,body.rp-modern-site .cart_totals>h2,body.rp-modern-site .rp-reference-checkout h3{font-size:20px!important}
body.rp-modern-site .woocommerce-cart-form table.cart tr.cart_item{grid-template-columns:64px minmax(0,1fr) 44px;gap:10px;padding:18px 0}
body.rp-modern-site .woocommerce-cart-form td.product-thumbnail{grid-column:1;grid-row:1/span 2}
body.rp-modern-site .woocommerce-cart-form td.product-name{grid-column:2/span 2;grid-row:1;padding-right:0!important}
body.rp-modern-site .woocommerce-cart-form td.product-price{grid-column:2/span 2;grid-row:2}
body.rp-modern-site .woocommerce-cart-form td.product-quantity{grid-column:1/span 2;grid-row:3}
body.rp-modern-site .woocommerce-cart-form td.product-subtotal{grid-column:1/span 2;grid-row:4;text-align:left}
body.rp-modern-site .woocommerce-cart-form td.product-remove{grid-column:3;grid-row:4}
body.rp-modern-site .woocommerce-cart-form table.cart td.product-thumbnail img{width:64px!important;height:64px!important}
body.rp-modern-site .woocommerce-cart-form .actions{display:flex!important;flex-wrap:wrap;gap:12px}
body.rp-modern-site .woocommerce-cart-form .actions [name=update_cart]{width:100%!important;max-width:none;font-size:14px!important}
body.rp-modern-site .rpm-store-service-content form.rp-reference-checkout{display:flex!important;flex-direction:column;gap:16px}
body.rp-modern-site .rp-reference-checkout #customer_details .form-row{width:100%!important;grid-column:1/-1}
body.rp-modern-site .rp-reference-checkout #customer_details,body.rp-modern-site .rp-reference-checkout #order_review,body.rp-modern-site .rp-reference-shipping{padding:16px!important}
body.rp-modern-site .cart_totals .order-total .amount,body.rp-modern-site .rp-reference-checkout .woocommerce-checkout-review-order-table .order-total .amount{font-size:28px}
body.rp-modern-site .rp-reference-checkout .rp-checkout-middle{min-width:0}
}
/* Second visual pass: override legacy compact rules at their original specificity. */
body.rp-modern-site .woocommerce-cart-form table.cart .quantity{display:grid!important;width:132px!important;max-width:none!important;grid-template-columns:44px 44px 44px!important;flex:none!important}
body.rp-modern-site .cart_totals table :is(th,td),body.rp-modern-site .rp-reference-checkout .woocommerce-checkout-review-order-table :is(th,td){font-size:15px!important}
body.rp-modern-site .cart_totals .order-total .amount{font-size:30px!important}
body.rp-modern-site .rp-reference-checkout .rpm-checkout-item-photo img{max-height:56px!important;width:56px!important;max-width:56px!important}
body.rp-modern-site .rp-reference-checkout .rpm-checkout-item-copy>a{font-size:15px!important;line-height:1.5!important;font-weight:600}
body.rp-modern-site .rp-reference-checkout .rpm-checkout-item-qty,body.rp-modern-site .rp-reference-checkout .rpm-cart-pickup-location small,body.rp-modern-site .cart_totals .rpm-cart-pickup-location small{font-size:13px!important}
body.rp-modern-site .rp-reference-checkout .rp-summary-counter :is(span,a){font-size:13px!important}
body.rp-modern-site .rp-reference-checkout .rpm-checkout-item-copy{min-width:0;overflow-wrap:anywhere}
body.rp-modern-site .rp-reference-checkout .variation{font-size:13px!important;line-height:1.4;margin:4px 0!important}
@media(max-width:700px){
body.rp-modern-site .woocommerce-cart-form table.cart td.product-thumbnail{grid-column:1;grid-row:1/span 2}
body.rp-modern-site .woocommerce-cart-form table.cart td.product-name{grid-column:2/span 2;grid-row:1}
body.rp-modern-site .woocommerce-cart-form table.cart td.product-price{grid-column:2/span 2;grid-row:2}
body.rp-modern-site .woocommerce-cart-form table.cart td.product-quantity{grid-column:1/span 2;grid-row:3}
body.rp-modern-site .woocommerce-cart-form table.cart td.product-subtotal{grid-column:1/span 2;grid-row:4;text-align:left!important}
body.rp-modern-site .woocommerce-cart-form table.cart td.product-remove{grid-column:3;grid-row:4;align-self:center}
body.rp-modern-site .woocommerce-cart-form table.cart td.product-price:before{content:'Per stuk: ';display:inline;font-size:13px;font-weight:400}
body.rp-modern-site .woocommerce-cart-form table.cart td.product-subtotal:before{content:'Subtotaal: ';display:inline;font-size:13px;font-weight:400}
}
@media(max-width:700px){
body.rp-modern-site .woocommerce-cart-form table.cart td.product-price:before{content:'Per stuk: '!important;display:inline!important;font-size:13px;font-weight:400!important;float:none!important}
body.rp-modern-site .woocommerce-cart-form table.cart td.product-subtotal:before{content:'Subtotaal: '!important;display:inline!important;font-size:13px;font-weight:400!important;float:none!important}
}
body.rp-modern-site .rp-reference-checkout .woocommerce-checkout-review-order-table{table-layout:fixed;width:100%}
body.rp-modern-site .rp-reference-checkout .woocommerce-checkout-review-order-table .cart_item td.product-name{width:72%!important}
body.rp-modern-site .rp-reference-checkout .woocommerce-checkout-review-order-table .cart_item td.product-total{width:28%!important;padding-left:6px!important;font-size:14px!important;overflow-wrap:normal}
body.rp-modern-site .rp-reference-checkout .rpm-checkout-item{grid-template-columns:56px minmax(0,1fr)!important}
body.rp-modern-site .rp-reference-checkout .rpm-checkout-item-remove{grid-column:2;grid-row:2}
body.rp-modern-site .rp-reference-checkout .rpm-checkout-item-copy{overflow-wrap:break-word;word-break:normal}
body.rp-modern-site .cart_totals .order-total .includes_tax .amount,body.rp-modern-site .rp-reference-checkout .woocommerce-checkout-review-order-table .order-total .includes_tax .amount{font-size:13px!important;font-weight:400!important}
@media(max-width:430px){
body.rp-modern-site .rp-reference-checkout .woocommerce-checkout-review-order-table .order-total{display:block;width:100%}
body.rp-modern-site .rp-reference-checkout .woocommerce-checkout-review-order-table .order-total th,body.rp-modern-site .rp-reference-checkout .woocommerce-checkout-review-order-table .order-total td{display:block;width:100%!important;box-sizing:border-box;padding:8px 0!important;text-align:left}
}
/* Final refinement: preserve content, reduce product-line rhythm only. */
body.rp-modern-site .woocommerce-cart-form .rp-cart-name{font-size:15px!important;line-height:1.4!important}
body.rp-modern-site .woocommerce-cart-form .rp-cart-meta{margin-top:3px;gap:3px 8px}
body.rp-modern-site .woocommerce-cart-form table.cart .variation{font-size:13px;line-height:1.4;margin:4px 0 0!important}
body.rp-modern-site :is(.woocommerce-cart-form,.rp-reference-checkout) dl.variation{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 5px}
body.rp-modern-site :is(.woocommerce-cart-form,.rp-reference-checkout) dl.variation dt,body.rp-modern-site :is(.woocommerce-cart-form,.rp-reference-checkout) dl.variation dd{float:none!important;margin:0!important;padding:0!important;line-height:1.4!important}
body.rp-modern-site :is(.woocommerce-cart-form,.rp-reference-checkout) dl.variation dd p{margin:0!important;font-size:13px!important;line-height:1.4!important}
body.rp-modern-site .rp-reference-checkout .woocommerce-checkout-review-order-table .cart_item td{padding-top:8px!important;padding-bottom:8px!important;vertical-align:top}
body.rp-modern-site .rp-reference-checkout .rpm-checkout-item{min-height:56px!important;align-items:start}
body.rp-modern-site .rp-reference-checkout .rpm-checkout-item-qty{margin-top:3px!important;line-height:1.4!important}
body.rp-modern-site .rp-reference-checkout .rpm-checkout-item-specs{font-size:13px!important;line-height:1.4!important;margin:3px 0!important}
body.rp-modern-site .rp-reference-checkout .variation{margin-top:4px!important;margin-bottom:0!important}
/* Native total value keeps the full width, independent of product-price columns. */
body.rp-modern-site .rp-reference-checkout .woocommerce-checkout-review-order-table .order-total.rp-total-wide{display:table-row;width:auto}
body.rp-modern-site .rp-reference-checkout .woocommerce-checkout-review-order-table .order-total.rp-total-wide td{display:table-cell;width:auto!important;box-sizing:border-box;padding:14px 0!important;text-align:left}
body.rp-modern-site .rp-total-label{display:block;font-size:15px;font-weight:700;margin-bottom:8px}
body.rp-modern-site .rp-reference-checkout .order-total .includes_tax{display:block;font-size:13px;line-height:1.5;margin-top:8px;white-space:normal;overflow-wrap:break-word}
body.rp-modern-site .rp-reference-checkout .order-total .includes_tax .amount{font-size:13px!important;font-weight:400!important}
