/* Scoped presentation only. Payment, shipping and upload functionality remain owned by existing plugins. */
body.woocommerce-checkout .woocommerce,body.woocommerce-cart .woocommerce{--en-red:#e50920;--en-navy:#172d52;--en-line:#e6e9ee;--en-soft:#f7f8fb}
.en-modern-header{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:18px 24px;margin:0 0 24px;background:#fff;border:1px solid var(--en-line,#e6e9ee);border-radius:18px;box-shadow:0 5px 22px rgba(20,30,50,.06)}
.en-modern-brand{min-width:0}.en-modern-logo{max-width:270px;max-height:85px;width:auto;height:auto;object-fit:contain}.en-modern-brand strong{color:#d90020;font-size:24px}.en-modern-brand strong span{color:#172d52;font-size:17px}
.en-modern-steps{display:flex;gap:20px;align-items:center}.en-modern-step{display:flex;align-items:center;flex-direction:column;gap:5px;font-size:12px;font-weight:650;color:#626b79;white-space:nowrap}.en-modern-step b{display:grid;place-items:center;width:38px;height:38px;border:1px solid #e1e3e8;border-radius:50%;background:#f6f7fa;font-size:19px}.en-modern-step.is-active{color:#d90020}.en-modern-step.is-active b{color:#fff;background:#e50920;border-color:#e50920}
.woocommerce-checkout .woocommerce-checkout-review-order,.woocommerce-checkout #customer_details,.woocommerce-cart .cart_totals,.woocommerce-cart .woocommerce-cart-form,.woocommerce-order-received .woocommerce-order,.woocommerce-order-received .woocommerce-order-details,.woocommerce-order-received .woocommerce-customer-details{background:#fff;border:1px solid #e6e9ee;border-radius:17px;padding:22px;box-shadow:0 5px 22px rgba(20,30,50,.05)}
.woocommerce-checkout h3,.woocommerce-order-received h2,.woocommerce-cart h2{font-weight:750;color:#151b29;letter-spacing:0;text-transform:none}
.woocommerce-checkout .woocommerce-checkout-payment,.woocommerce-checkout #payment{background:#fff!important;border:1px solid #e6e9ee!important;border-radius:14px!important;padding:14px!important}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:0!important;padding:0!important}.woocommerce-checkout #payment ul.payment_methods li{border:1px solid #e4e7ec;border-radius:12px;margin:9px 0;padding:13px!important;background:#fff}.woocommerce-checkout #payment ul.payment_methods li:has(input:checked){border-color:#e50920;background:#fff4f5}.woocommerce-checkout #payment div.payment_box{background:#eff6ff!important;border-radius:10px;color:#1b365c!important;margin:12px 0 0!important}.woocommerce-checkout #payment div.payment_box:before{display:none}
.woocommerce-checkout button#place_order,.woocommerce-checkout #place_order,.woocommerce-cart .checkout-button{background:linear-gradient(90deg,#ed122b,#c90019)!important;color:#fff!important;border:0!important;border-radius:10px!important;font-weight:750!important;min-height:49px!important;box-shadow:0 5px 14px rgba(205,0,25,.15)}
.woocommerce-checkout input.input-text,.woocommerce-checkout select,.woocommerce-checkout textarea{border-radius:9px!important;border:1px solid #dfe3e9!important;min-height:42px}.woocommerce-checkout input:focus,.woocommerce-checkout select:focus{border-color:#e50920!important;outline-color:#e50920!important}
.woocommerce-order-received .woocommerce-thankyou-order-received{padding:32px 20px!important;text-align:center;background:#e9fae7!important;color:#176b29!important;border:1px solid #a5e49f!important;border-radius:16px!important;font-size:22px!important;font-weight:750!important}.woocommerce-order-received .woocommerce-thankyou-order-received:before{content:'✓';display:grid;place-items:center;margin:0 auto 12px;background:#28ae41;color:white;border-radius:50%;width:54px;height:54px;font-size:35px}
.woocommerce-order-received ul.woocommerce-order-overview{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;background:#fff;border:1px solid #e6e9ee;border-radius:14px;padding:16px!important;margin:20px 0!important;list-style:none!important}.woocommerce-order-received ul.woocommerce-order-overview li{float:none!important;min-width:0!important;overflow-wrap:anywhere;border-right:1px solid #e6e9ee!important;margin:0!important;padding:5px 10px!important;text-align:center!important;font-size:12px!important}.woocommerce-order-received ul.woocommerce-order-overview li:last-child{border-right:0!important}.woocommerce-order-received ul.woocommerce-order-overview li strong{font-size:14px!important;color:#151b29!important;display:block!important;margin-top:8px}
.woocommerce-order-received .woocommerce-table--order-details{border-collapse:separate!important;border-spacing:0!important;overflow:hidden;border-radius:12px}.woocommerce-order-received .woocommerce-table--order-details th{background:#f4f5f8}.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child{background:#fff0f2;font-weight:800;color:#c8001b}.woocommerce-order-received .woocommerce-customer-details address{background:#fafbfc;border:1px solid #eceef2;border-radius:12px;padding:18px!important;line-height:1.8}
/* Common bank selector classes used by the separate bank-transfer helper */
.woocommerce-order-received .en-bank-option,.woocommerce-checkout .en-bank-option{border-radius:14px;border:1px solid #e3e6ed;padding:15px}.woocommerce-order-received .en-bank-option:has(input:checked),.woocommerce-checkout .en-bank-option:has(input:checked){border-color:#e50920;background:#fff4f5}
@media(max-width:767px){.en-modern-header{padding:13px;flex-direction:column;align-items:stretch;gap:12px}.en-modern-logo{max-width:210px;max-height:68px}.en-modern-steps{justify-content:space-around;gap:6px}.en-modern-step{font-size:11px}.en-modern-step b{width:33px;height:33px;font-size:16px}.woocommerce-checkout #customer_details,.woocommerce-checkout .woocommerce-checkout-review-order,.woocommerce-cart .cart_totals,.woocommerce-cart .woocommerce-cart-form,.woocommerce-order-received .woocommerce-order,.woocommerce-order-received .woocommerce-order-details,.woocommerce-order-received .woocommerce-customer-details{padding:13px}.woocommerce-order-received ul.woocommerce-order-overview{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px!important}.woocommerce-order-received ul.woocommerce-order-overview li{border-right:0!important;border-bottom:1px solid #eceef1!important;padding:10px 4px!important}.woocommerce-order-received .woocommerce-thankyou-order-received{font-size:19px!important;padding:22px 12px!important}}
/* v1.1 refinements, scoped to WooCommerce pages only */
body.woocommerce-cart .en-modern-header,body.woocommerce-checkout .en-modern-header{max-width:100%;box-sizing:border-box}
.en-modern-brand{display:flex;align-items:center}.en-modern-logo{width:auto!important;height:auto!important;max-width:285px!important;max-height:95px!important;object-fit:contain!important}
body.woocommerce-cart .woocommerce-cart-form table.shop_table{border:0!important;border-collapse:separate!important;border-spacing:0 10px!important}
body.woocommerce-cart .woocommerce-cart-form table.shop_table thead th{background:#f5f6f9!important;color:#252b37!important;padding:15px!important}
body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody tr.cart_item{background:#fff!important}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td{border-bottom:1px solid #edf0f4!important;padding:16px 12px!important}
body.woocommerce-cart .woocommerce-cart-form .product-thumbnail img{border-radius:11px;max-width:80px}
body.woocommerce-cart .cart_totals .order-total{background:#fff1f3;color:#d4001a}
body.woocommerce-checkout #customer_details .woocommerce-billing-fields,body.woocommerce-checkout #customer_details .woocommerce-shipping-fields{background:#fff;border-radius:15px}
body.woocommerce-checkout #customer_details .form-row{margin-bottom:13px!important}
body.woocommerce-checkout #customer_details label{font-weight:650!important;color:#343a46!important}
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,body.woocommerce-checkout .woocommerce-checkout-review-order-table td{padding:12px 8px!important}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total{background:#fff1f3!important}
body.woocommerce-checkout #enb-bank-choice label.enb-bank-option{display:flex!important;gap:14px!important;align-items:center!important;min-height:88px!important;border:1px solid #e0e3e9!important;border-radius:14px!important;background:#fff!important;box-shadow:0 3px 12px #19283a0b!important;transition:border-color .15s,background .15s}
body.woocommerce-checkout #enb-bank-choice label.enb-bank-option:has(input:checked){border:2px solid #df001c!important;background:#fff3f5!important}
body.woocommerce-checkout #enb-bank-choice .enb-brand-name{font-size:19px!important}
body.woocommerce-checkout #enb-bank-choice .enb-bank-number{font-size:14px!important;overflow-wrap:anywhere}
body.woocommerce-checkout #enb-bank-choice input[type=radio]{accent-color:#df001c!important;width:17px;height:17px}
body.woocommerce-checkout #payment ul.payment_methods li{transition:background .15s,border-color .15s}
body.woocommerce-order-received .enb-payment-info,body.woocommerce-order-received .enb-upload{background:#fff!important;border:1px solid #e5e8ed!important;border-radius:18px!important;padding:24px!important;box-shadow:0 6px 22px #16253c0b!important;box-sizing:border-box}
body.woocommerce-order-received .enb-payment-info h3,body.woocommerce-order-received .enb-upload h3{font-size:clamp(20px,2.4vw,26px)!important;font-weight:800!important;color:#1f2631!important;line-height:1.3!important}
body.woocommerce-order-received .enb-payment-info .enb-bank-card{border:1px solid #e3a5ad!important;border-radius:15px!important;padding:19px!important;background:#fff6f7!important;max-width:100%!important}
body.woocommerce-order-received .enb-payment-info .enb-amount-row{background:#f5f6f9!important;border-radius:14px!important;gap:16px!important}
body.woocommerce-order-received .enb-upload input[type=file]{background:#f8f9fb!important;border:1px dashed #abb4c2!important;border-radius:12px!important;max-width:100%!important}
body.woocommerce-order-received .enb-submit{display:inline-flex!important;justify-content:center!important;align-items:center!important;min-height:52px!important}
body.woocommerce-order-received .woocommerce-order-overview{box-sizing:border-box!important}
body.woocommerce-order-received .woocommerce-order-details .woocommerce-table--order-details tfoot tr:last-child th,body.woocommerce-order-received .woocommerce-order-details .woocommerce-table--order-details tfoot tr:last-child td{font-weight:800!important;color:#d0001c!important}
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column{min-width:0}
@media(max-width:767px){
.en-modern-header{margin-bottom:18px!important;padding:15px!important}.en-modern-brand{justify-content:center}.en-modern-logo{max-width:225px!important;max-height:75px!important}
.en-modern-steps{width:100%;justify-content:space-evenly}.en-modern-step{white-space:normal;text-align:center}
body.woocommerce-order-received .enb-payment-info,body.woocommerce-order-received .enb-upload{padding:16px!important;margin-bottom:17px!important}
body.woocommerce-order-received .enb-payment-info .enb-bank-card{padding:14px!important}
body.woocommerce-order-received .enb-payment-info .enb-amount-row{grid-template-columns:1fr!important;padding:15px!important}
body.woocommerce-order-received .woocommerce-order-overview li{overflow-wrap:anywhere!important;word-break:normal!important}
body.woocommerce-checkout #enb-bank-choice{padding:13px!important}
body.woocommerce-checkout #enb-bank-choice label.enb-bank-option{min-height:75px!important;padding:12px!important}
body.woocommerce-checkout #customer_details,body.woocommerce-checkout .woocommerce-checkout-review-order{padding:14px!important}
}

/* v1.3: restrained mobile-first presentation; bank choice stays owned by bank-transfer-helper */
.en-modern-header{border-top:3px solid #db0b27!important}
.en-modern-steps{flex-wrap:nowrap}.en-modern-step{font-weight:800!important;letter-spacing:.045em}
.en-modern-step.is-active b{box-shadow:0 0 0 4px #e509201a}
body.woocommerce-checkout #enb-bank-choice .en-bank-company-details{margin:14px 0 0;padding:17px;background:#fafbfe;border:1px solid #e3e8f0;border-radius:13px;color:#202939;font-size:14px;line-height:1.55}
.en-bank-company-details .en-detail-row{display:grid;grid-template-columns:125px minmax(0,1fr);gap:10px;padding:7px 0;border-bottom:1px solid #e9edf2}
.en-bank-company-details .en-detail-row:last-child{border-bottom:0}.en-bank-company-details .en-detail-row b{font-size:12px;letter-spacing:.02em;color:#697386}.en-bank-company-details .en-detail-row span{overflow-wrap:anywhere;font-weight:600}.en-bank-company-details .en-detail-heading{font-size:17px;font-weight:800;margin-bottom:9px;color:#19263c}
@media(max-width:480px){.en-bank-company-details .en-detail-row{grid-template-columns:1fr;gap:2px}.en-modern-logo{max-width:200px!important}}

/* v1.4 original EN logo, tightly cropped source */
.en-modern-header .en-modern-logo{display:block!important;width:min(100%,330px)!important;max-width:330px!important;max-height:none!important;height:auto!important;object-fit:contain!important}
@media(max-width:767px){.en-modern-header .en-modern-logo{width:min(100%,270px)!important;max-width:270px!important}}

/* v1.6: Izbor dostave samo na naplati, ne u korpi.
   Obračun dostave i WooCommerce podaci ostaju netaknuti. */
body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals,
body.woocommerce-cart .cart_totals tr.shipping,
body.woocommerce-cart .cart_totals .woocommerce-shipping-calculator,
body.woocommerce-cart .cart_totals tr.order-total {display:none!important;}
body.woocommerce-cart .cart_totals tr.cart-subtotal th,
body.woocommerce-cart .cart_totals tr.cart-subtotal td{background:#fff!important;}

/* v1.7: bijela podloga cijelog Woodmart checkout order review panela */
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-review-order,
body.woocommerce-checkout .wd-checkout-order,
body.woocommerce-checkout .wd-order-review,
body.woocommerce-checkout .checkout-order-review,
body.woocommerce-checkout .checkout-order-review > div,
body.woocommerce-checkout .woocommerce-checkout-review-order-table,
body.woocommerce-checkout #order_review .shop_table,
body.woocommerce-checkout #order_review .shop_table tr,
body.woocommerce-checkout #order_review .shop_table th,
body.woocommerce-checkout #order_review .shop_table td {background-color:#fff!important;background-image:none!important;}
/* Zadrzi okvir, ali ukloni sivu podlogu oko naslova i pregleda */
body.woocommerce-checkout .wd-checkout-order,
body.woocommerce-checkout #order_review {background:#fff!important;}
