/* Milano Lieferservice Manager v2.0 */
:root{--mlm-accent:#b61920;--mlm-accent-dark:#8f1117;--mlm-orange:#f28b21;--mlm-ink:#171717;--mlm-soft:#f7f7f5;--mlm-line:#e9e8e5}
.mlm2-app,.mlm2-app *,.mlm-commerce-top,.mlm-commerce-top *,.mlm-account-head,.mlm-account-head *,.mlm-thanks-card,.mlm-thanks-card *{box-sizing:border-box}
.mlm2-app{font-family:Arial,Helvetica,sans-serif;color:#171717;background:#fff;line-height:1.45}
.mlm2-app svg{width:18px;height:18px;fill:currentColor;display:block}
.mlm2-head{height:72px;background:#111;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-radius:18px 18px 0 0}
.mlm2-brand{display:flex;flex-direction:column;line-height:1}
.mlm2-brand strong{font-family:Georgia,serif;font-size:27px;letter-spacing:2px;font-weight:700}
.mlm2-brand small{font-size:8px;letter-spacing:1.6px;margin-top:7px;color:#fff}
.mlm2-head-actions{display:flex;align-items:center;gap:12px}
.mlm2-head-actions>a,.mlm2-head-cart{height:40px;border:0;border-radius:10px;display:flex;align-items:center;gap:8px;text-decoration:none;font-size:13px;font-weight:800}
.mlm2-head-actions>a{color:#fff;padding:0 12px}
.mlm2-head-cart{background:#fff;color:#171717;padding:0 12px;cursor:pointer}
.mlm2-head-cart b{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--mlm-accent);color:#fff;font-size:11px}
.mlm2-head-cart em{font-style:normal;font-weight:900;margin-left:4px}
.mlm2-status{height:42px;background:#202020;color:#eee;display:flex;align-items:center;gap:28px;padding:0 24px;font-size:12px;font-weight:700}
.mlm2-status span{display:flex;align-items:center;gap:7px}.mlm2-status svg{width:14px;height:14px}
.mlm2-servicebar{display:grid;grid-template-columns:auto auto minmax(220px,1fr);gap:14px;align-items:start;padding:16px 22px;border-bottom:1px solid var(--mlm-line);background:#fff}
.mlm2-toggle{display:flex;gap:8px}
.mlm2-toggle button{height:42px;padding:0 16px;border:1px solid #e3e3e0;background:#fff;border-radius:8px;font-size:13px;font-weight:900;display:flex;align-items:center;gap:8px;color:#202020;cursor:pointer}
.mlm2-toggle button.active{background:var(--mlm-accent);border-color:var(--mlm-accent);color:#fff}
.mlm2-postcode{display:grid;grid-template-columns:145px auto;gap:7px;position:relative}
.mlm2-postcode input{height:42px;border:1px solid #dcdcd9;border-radius:8px;padding:0 12px;font-size:13px;outline:0}
.mlm2-postcode button{height:42px;border:0;border-radius:8px;background:#171717;color:#fff;padding:0 16px;font-size:13px;font-weight:900;cursor:pointer}
.mlm2-postcode small{grid-column:1/3;font-size:11px;position:absolute;top:45px;left:2px;white-space:nowrap}
.mlm2-postcode small.ok{color:#16833a}.mlm2-postcode small.bad{color:#b61920}
.mlm2-search{justify-self:end;width:min(100%,300px);height:42px;border:1px solid #dededb;border-radius:9px;display:flex;align-items:center;gap:8px;padding:0 12px;color:#777}
.mlm2-search input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;width:100%;font-size:13px;padding:0!important;min-height:0!important}
.mlm2-body{display:grid;grid-template-columns:220px minmax(0,1fr) 330px;gap:22px;padding:22px;background:#fff;align-items:start}
.mlm2-sidebar{position:sticky;top:12px;border-right:1px solid var(--mlm-line);padding-right:20px;min-height:520px}
.mlm2-sidebar h3{font-size:18px;margin:0 0 14px}
.mlm2-catnav{display:flex;flex-direction:column;gap:3px}
.mlm2-catnav a{min-height:41px;padding:0 12px;border-radius:8px;display:flex;align-items:center;gap:10px;color:#272727!important;text-decoration:none!important;font-size:13px;font-weight:700}
.mlm2-catnav a span{width:20px;text-align:center;color:#888}
.mlm2-catnav a.active{background:var(--mlm-accent);color:#fff!important}.mlm2-catnav a.active span{color:#fff}
.mlm2-menu{min-width:0}
.mlm2-mobile-cats{display:none}
.mlm2-category{scroll-margin-top:14px;margin-bottom:30px}
.mlm2-section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 13px}
.mlm2-section-title h2{font-size:22px;line-height:1.2;margin:0;font-weight:800}
.mlm2-section-title span{font-size:11px;color:#777}
.mlm2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.mlm2-product{border:1px solid #e5e5e2;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.035);transition:transform .18s ease,box-shadow .18s ease}
.mlm2-product:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(0,0,0,.06)}
.mlm2-media{height:132px;background:#f1f1ee;overflow:hidden}
.mlm2-media img{width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important}
.mlm2-noimage{height:100%;display:grid;place-items:center;font-family:Georgia,serif;font-weight:800;letter-spacing:2px;color:#aaa}
.mlm2-product-body{padding:12px 13px 12px}
.mlm2-product h3{font-size:15px!important;line-height:1.25!important;margin:0 0 6px!important;color:#171717!important;font-weight:800!important}
.mlm2-product p{font-size:11.5px;line-height:1.45;color:#777;margin:0;min-height:34px}
.mlm2-product-bottom{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-top:12px}
.mlm2-product-bottom strong{font-size:14px;color:#171717;line-height:1.2}
.mlm2-product-bottom del{font-weight:500;color:#999;font-size:11px}.mlm2-product-bottom ins{text-decoration:none}
.mlm2-add{width:30px;height:30px;flex:0 0 30px;border-radius:7px!important;border:0!important;background:var(--mlm-accent)!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:22px!important;line-height:1!important;font-weight:400!important;text-decoration:none!important;padding:0!important;cursor:pointer}
.mlm2-add.loading{opacity:.65}
.mlm2-cartbox{position:sticky;top:12px;border:1px solid #e5e5e2;border-radius:13px;background:#fff;box-shadow:0 8px 26px rgba(0,0,0,.05);overflow:hidden}
.mlm2-cart-title{height:55px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #eee}
.mlm2-cart-title h2{font-size:18px;margin:0}.mlm2-cart-title svg{width:18px}
.mlm2-empty{padding:44px 20px;text-align:center;color:#777}.mlm2-empty svg{width:34px;height:34px;margin:0 auto 10px;color:#bbb}.mlm2-empty b{display:block;color:#222;font-size:14px}.mlm2-empty p{font-size:12px;margin:5px 0 0}
.mlm2-lines{padding:5px 12px}
.mlm2-line{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:9px;align-items:center;padding:11px 0;border-bottom:1px solid #eee;position:relative}
.mlm2-line-img img{width:38px!important;height:38px!important;object-fit:cover;border-radius:7px;margin:0!important}
.mlm2-line-info{min-width:0}.mlm2-line-info b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mlm2-line-info small{font-size:10px;color:#777}
.mlm2-qty{grid-column:2;display:flex;align-items:center;gap:6px}
.mlm2-qty button{width:23px;height:23px;border:1px solid #ddd;background:#fff;border-radius:5px;padding:0;font-size:14px;line-height:1;cursor:pointer}.mlm2-qty span{font-size:11px;min-width:12px;text-align:center}
.mlm2-line-total{grid-column:3;grid-row:2;font-size:11px;white-space:nowrap}
.mlm2-remove{position:absolute;right:0;top:5px;border:0;background:transparent;color:#aaa;font-size:15px;cursor:pointer;padding:2px}
.mlm2-summary{padding:13px 13px 7px}.mlm2-summary>div{display:flex;align-items:center;justify-content:space-between;font-size:12px;padding:5px 0}.mlm2-summary .mlm2-grand{border-top:1px solid #eee;margin-top:7px;padding-top:12px;font-size:14px;font-weight:900}.mlm2-grand b{color:var(--mlm-accent);font-size:16px}
.mlm2-minimum{margin:0 13px 10px;padding:9px 10px;border-radius:8px;background:#fff7e8;color:#6d531d;font-size:11px}
.mlm2-checkout{height:45px;margin:6px 13px 9px;border-radius:8px;background:var(--mlm-accent);color:#fff!important;text-decoration:none!important;display:flex;align-items:center;justify-content:center;gap:12px;font-size:13px;font-weight:900}
.mlm2-checkout:hover{background:var(--mlm-accent-dark);color:#fff!important}
.mlm2-continue{height:39px;margin:0 13px 13px;border:1px solid #ddd;border-radius:8px;color:#333!important;text-decoration:none!important;display:flex;align-items:center;justify-content:center;font-size:12px}
.mlm2-no-results{text-align:center;padding:50px 20px;color:#777;font-size:14px}
.mlm2-mobile-cart,.mlm2-sheet{display:none}

/* WooCommerce premium shell */
body.mlm-page-cart .woocommerce,body.mlm-page-checkout .woocommerce,body.mlm-page-account .woocommerce,body.mlm-page-thankyou .woocommerce{font-family:Arial,Helvetica,sans-serif;color:#1c1c1c}
body.mlm-page-cart .site-main,body.mlm-page-checkout .site-main,body.mlm-page-account .site-main,body.mlm-page-thankyou .site-main,
body.mlm-page-cart main,body.mlm-page-checkout main,body.mlm-page-account main,body.mlm-page-thankyou main{max-width:1180px;margin-left:auto;margin-right:auto}
.mlm-commerce-top{background:#fff;border:1px solid #e6e6e3;border-radius:14px;display:flex;align-items:center;justify-content:space-between;padding:15px 18px;margin:18px 0;box-shadow:0 5px 18px rgba(0,0,0,.035)}
.mlm-commerce-brand{display:flex;flex-direction:column}.mlm-commerce-brand strong{font-family:Georgia,serif;letter-spacing:2px;font-size:21px}.mlm-commerce-brand small{font-size:7px;letter-spacing:1.3px;margin-top:5px}
.mlm-checkout-steps{display:flex;align-items:center;gap:8px}.mlm-checkout-steps i{font-style:normal;color:#c5c5c2;font-size:12px}
.mlm-step{display:flex;align-items:center;gap:7px;color:#8a8a86;font-size:11px}.mlm-step span{width:23px;height:23px;border:1px solid #d7d7d4;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:900}.mlm-step b{font-size:11px}.mlm-step.active{color:var(--mlm-accent)}.mlm-step.active span{background:var(--mlm-accent);border-color:var(--mlm-accent);color:#fff}

/* Cart */
body.mlm-page-cart .woocommerce-cart-form{width:68%;float:left}
body.mlm-page-cart .cart-collaterals{width:30%;float:right}
body.mlm-page-cart table.shop_table{border:1px solid #e6e6e3!important;border-radius:12px!important;border-collapse:separate!important;overflow:hidden;background:#fff}
body.mlm-page-cart table.shop_table th{background:#fafaf8;color:#666;font-size:11px;text-transform:none;padding:11px!important;border:0!important}
body.mlm-page-cart table.shop_table td{padding:12px!important;border-color:#ededeb!important;font-size:12px;vertical-align:middle!important}
body.mlm-page-cart td.product-thumbnail img{width:52px!important;height:52px!important;object-fit:cover;border-radius:8px}
body.mlm-page-cart td.product-name a{font-weight:800;color:#171717!important;text-decoration:none!important;font-size:12px}
body.mlm-page-cart .quantity .qty{width:52px!important;height:34px!important;border:1px solid #ddd!important;border-radius:7px!important;font-size:12px!important}
body.mlm-page-cart a.remove{width:24px;height:24px;display:grid!important;place-items:center;border-radius:50%;color:#999!important;font-size:17px!important}
body.mlm-page-cart a.remove:hover{background:#f4eeee!important;color:var(--mlm-accent)!important}
body.mlm-page-cart .actions{background:#fafaf8!important}
body.mlm-page-cart .coupon{display:flex!important;gap:7px}body.mlm-page-cart .coupon input{height:38px!important;border:1px solid #ddd!important;border-radius:7px!important;padding:0 10px!important;font-size:12px!important}
body.mlm-page-cart button.button,body.mlm-page-cart a.button{min-height:38px!important;border:0!important;border-radius:7px!important;background:#171717!important;color:#fff!important;font-size:12px!important;font-weight:800!important;padding:0 14px!important}
body.mlm-page-cart .cart_totals{width:100%!important;background:#fff;border:1px solid #e6e6e3;border-radius:12px;padding:17px;box-shadow:0 6px 20px rgba(0,0,0,.035)}
body.mlm-page-cart .cart_totals h2{font-size:16px;margin:0 0 10px}
body.mlm-page-cart .cart_totals table{border:0!important}body.mlm-page-cart .cart_totals th,body.mlm-page-cart .cart_totals td{font-size:12px!important;padding:9px 0!important;border-color:#eee!important}
body.mlm-page-cart .order-total th,body.mlm-page-cart .order-total td{font-size:15px!important;font-weight:900!important}
body.mlm-page-cart .wc-proceed-to-checkout{padding:10px 0 0!important}
body.mlm-page-cart .checkout-button{height:46px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:var(--mlm-accent)!important;font-size:13px!important}
body.mlm-page-cart .checkout-button:hover{background:var(--mlm-accent-dark)!important}

/* Checkout */
body.mlm-page-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:22px;align-items:start}
body.mlm-page-checkout #customer_details{display:block}
body.mlm-page-checkout .col2-set .col-1,body.mlm-page-checkout .col2-set .col-2{width:100%!important;float:none!important}
body.mlm-page-checkout .woocommerce-billing-fields,body.mlm-page-checkout .woocommerce-shipping-fields,body.mlm-page-checkout .woocommerce-additional-fields{background:#fff;border:1px solid #e6e6e3;border-radius:12px;padding:18px;margin-bottom:14px}
body.mlm-page-checkout h3{font-size:15px!important;margin:0 0 14px!important}
body.mlm-page-checkout .form-row label{font-size:10.5px!important;font-weight:800!important;color:#555!important;margin-bottom:5px!important}
body.mlm-page-checkout .form-row input.input-text,body.mlm-page-checkout .form-row textarea,body.mlm-page-checkout .select2-selection{min-height:41px!important;border:1px solid #dcdcd9!important;border-radius:7px!important;background:#fff!important;box-shadow:none!important;padding:8px 10px!important;font-size:12px!important}
body.mlm-page-checkout .select2-selection{padding:5px 8px!important}
body.mlm-page-checkout #order_review_heading{background:#fff;border:1px solid #e6e6e3;border-bottom:0;border-radius:12px 12px 0 0;margin:0!important;padding:16px 17px!important;font-size:15px!important}
body.mlm-page-checkout #order_review{position:sticky;top:16px;background:#fff;border:1px solid #e6e6e3;border-radius:0 0 12px 12px;padding:0 17px 17px;box-shadow:0 6px 20px rgba(0,0,0,.035)}
body.mlm-page-checkout table.shop_table{border:0!important;margin:0!important}
body.mlm-page-checkout table.shop_table th,body.mlm-page-checkout table.shop_table td{border:0!important;border-bottom:1px solid #eee!important;padding:10px 0!important;font-size:11.5px!important}
body.mlm-page-checkout .order-total th,body.mlm-page-checkout .order-total td{font-size:15px!important;font-weight:900!important}
body.mlm-page-checkout #payment{background:#f7f7f5!important;border-radius:10px!important;margin-top:12px}
body.mlm-page-checkout #payment ul.payment_methods{border:0!important;padding:7px!important}
body.mlm-page-checkout #payment li.wc_payment_method{background:#fff;border:1px solid #e7e7e4;border-radius:8px;padding:9px;margin:6px 0!important;font-size:11.5px}
body.mlm-page-checkout #payment div.payment_box{background:#f7f7f5!important;border-radius:8px!important;font-size:11px!important;color:#555!important}
body.mlm-page-checkout #payment div.payment_box:before{display:none}
body.mlm-page-checkout #place_order{width:100%;height:46px;border:0!important;border-radius:8px!important;background:var(--mlm-accent)!important;color:#fff!important;font-size:13px!important;font-weight:900!important;margin-top:7px!important}
body.mlm-page-checkout #place_order:hover{background:var(--mlm-accent-dark)!important}
body.mlm-page-checkout .woocommerce-info,body.mlm-page-checkout .woocommerce-error,body.mlm-page-checkout .woocommerce-message{border:0!important;border-radius:9px!important;background:#fff!important;box-shadow:0 4px 14px rgba(0,0,0,.035);font-size:11.5px!important}

/* Account */
.mlm-account-head{display:flex;align-items:center;gap:14px;background:#171717;color:#fff;border-radius:14px;padding:18px;margin:18px 0}
.mlm-account-avatar{width:48px;height:48px;border-radius:12px;background:var(--mlm-accent);display:grid;place-items:center;font-size:21px;font-weight:900}
.mlm-account-head small{font-size:8px;letter-spacing:1.5px;color:#f2b35f;font-weight:900}.mlm-account-head h2{font-size:20px!important;color:#fff!important;margin:1px 0 3px!important}.mlm-account-head p{font-size:11px;color:#c9c9c9;margin:0}
body.mlm-page-account .woocommerce-MyAccount-navigation{width:230px;background:#fff;border:1px solid #e6e6e3;border-radius:12px;padding:7px}
body.mlm-page-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
body.mlm-page-account .woocommerce-MyAccount-navigation a{display:block;padding:10px 11px;border-radius:7px;color:#2d2d2d!important;text-decoration:none!important;font-size:11.5px;font-weight:800}
body.mlm-page-account .woocommerce-MyAccount-navigation li.is-active a{background:#171717;color:#fff!important}
body.mlm-page-account .woocommerce-MyAccount-content{width:calc(100% - 250px);background:#fff;border:1px solid #e6e6e3;border-radius:12px;padding:18px;font-size:12px}
body.mlm-page-account .woocommerce-orders-table{border:0!important}body.mlm-page-account .woocommerce-orders-table th,body.mlm-page-account .woocommerce-orders-table td{font-size:11.5px!important;padding:10px!important;border-color:#eee!important}
body.mlm-page-account .woocommerce-orders-table a.button{background:#171717!important;color:#fff!important;border:0!important;border-radius:7px!important;font-size:11px!important;padding:8px 10px!important}
body.mlm-page-account form input.input-text,body.mlm-page-account form textarea{min-height:40px;border:1px solid #ddd!important;border-radius:7px!important;padding:8px 10px!important;font-size:12px!important}
body.mlm-page-account form button.button{border:0!important;background:var(--mlm-accent)!important;color:#fff!important;border-radius:7px!important;padding:10px 14px!important;font-size:12px!important;font-weight:900!important}
body.mlm-page-account:not(.logged-in) .woocommerce{max-width:760px;margin:20px auto}
body.mlm-page-account:not(.logged-in) .u-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.mlm-page-account:not(.logged-in) .u-column1,body.mlm-page-account:not(.logged-in) .u-column2{width:100%!important;float:none!important;background:#fff;border:1px solid #e6e6e3;border-radius:12px;padding:20px}

/* Thank you */
body.mlm-page-thankyou .woocommerce-order>p.woocommerce-notice{display:none}
body.mlm-page-thankyou .woocommerce-order-overview{display:none!important}
.mlm-thanks-card{max-width:650px;margin:36px auto 22px;background:#fff;border:1px solid #e6e6e3;border-radius:16px;padding:38px 26px;text-align:center;box-shadow:0 8px 28px rgba(0,0,0,.045)}
.mlm-thanks-check{width:54px;height:54px;border-radius:50%;background:#eaf8e8;color:#169636;display:grid;place-items:center;margin:0 auto 14px;font-size:26px;font-weight:900}
.mlm-thanks-card h1{font-size:23px!important;margin:0 0 6px!important;color:#171717!important}.mlm-thanks-card>p{font-size:12px;color:#666;margin:0 0 18px}
.mlm-order-number{width:180px;margin:0 auto 20px;border-radius:10px;background:#f7f7f5;padding:11px}.mlm-order-number small{display:block;color:#777;font-size:9px}.mlm-order-number strong{display:block;color:var(--mlm-accent);font-size:22px;margin-top:2px}
.mlm-thanks-meta{display:flex;justify-content:center;gap:70px;margin:14px 0 22px}.mlm-thanks-meta>div{display:grid;grid-template-columns:24px auto;grid-template-rows:auto auto;text-align:left}.mlm-thanks-meta span{grid-row:1/3;font-size:17px}.mlm-thanks-meta small{font-size:9px;color:#777}.mlm-thanks-meta b{font-size:11.5px}
.mlm-thanks-mail{font-size:10.5px!important;color:#666!important}.mlm-thanks-home{display:inline-flex;height:42px;padding:0 24px;align-items:center;justify-content:center;border-radius:8px;background:var(--mlm-accent);color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:900}
body.mlm-page-thankyou .woocommerce-order-details,body.mlm-page-thankyou .woocommerce-customer-details{max-width:900px;margin:18px auto;background:#fff;border:1px solid #e6e6e3;border-radius:12px;padding:16px}
body.mlm-page-thankyou .woocommerce-order-details h2,body.mlm-page-thankyou .woocommerce-customer-details h2{font-size:15px!important;margin:0 0 12px!important}
body.mlm-page-thankyou table.shop_table{border:0!important}body.mlm-page-thankyou table.shop_table th,body.mlm-page-thankyou table.shop_table td{font-size:11.5px!important;padding:10px!important;border-color:#eee!important}

/* Woo Blocks */
.mlm-page-cart .wc-block-cart,.mlm-page-checkout .wc-block-checkout{font-family:Arial,Helvetica,sans-serif}
.mlm-page-cart .wc-block-components-sidebar-layout .wc-block-components-main,.mlm-page-cart .wc-block-components-sidebar,
.mlm-page-checkout .wc-block-components-sidebar-layout .wc-block-components-main,.mlm-page-checkout .wc-block-components-sidebar{background:#fff;border:1px solid #e6e6e3;border-radius:12px;padding:16px!important}
.mlm-page-cart .wc-block-components-button:not(.is-link),.mlm-page-checkout .wc-block-components-button:not(.is-link){border-radius:8px!important;background:var(--mlm-accent)!important;color:#fff!important;min-height:46px!important;font-size:12px!important;font-weight:900!important}
.mlm-page-checkout .wc-block-components-text-input input,.mlm-page-checkout .wc-block-components-combobox .wc-block-components-combobox-control input{border-radius:7px!important;font-size:12px!important}

/* Tablet */
@media(max-width:1080px){
 .mlm2-body{grid-template-columns:190px minmax(0,1fr) 290px;gap:14px;padding:16px}
 .mlm2-grid{grid-template-columns:1fr}
 .mlm2-servicebar{grid-template-columns:auto auto 1fr}
}
@media(max-width:900px){
 .mlm2-head{border-radius:0;padding:0 15px;height:62px}.mlm2-head-actions>a{display:none}.mlm2-head-cart span,.mlm2-head-cart em{display:none}.mlm2-brand strong{font-size:23px}
 .mlm2-status{height:auto;min-height:40px;padding:9px 14px;gap:12px;overflow:auto;white-space:nowrap;font-size:10.5px}
 .mlm2-servicebar{grid-template-columns:1fr;gap:9px;padding:12px}
 .mlm2-toggle{display:grid;grid-template-columns:1fr 1fr}.mlm2-toggle button{justify-content:center}
 .mlm2-postcode{grid-template-columns:1fr auto}.mlm2-search{display:none}
 .mlm2-body{display:block;padding:0 0 74px;background:#fafaf8}
 .mlm2-sidebar,.mlm2-cartbox{display:none}
 .mlm2-menu{padding:0 12px 25px}
 .mlm2-mobile-cats{display:flex;position:sticky;top:0;z-index:25;gap:8px;overflow:auto;margin:0 -12px 16px;padding:10px 12px;background:#fff;border-bottom:1px solid #e8e8e5;white-space:nowrap}
 .mlm2-mobile-cats button{border:1px solid #e2e2df;background:#fff;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:800;color:#333}.mlm2-mobile-cats button.active{background:#171717;color:#fff;border-color:#171717}
 .mlm2-section-title{margin:15px 0 10px}.mlm2-section-title h2{font-size:20px}.mlm2-section-title span{display:none}
 .mlm2-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .mlm2-media{height:110px}.mlm2-product-body{padding:9px}.mlm2-product h3{font-size:13px!important}.mlm2-product p{display:none}.mlm2-product-bottom{margin-top:9px}.mlm2-product-bottom strong{font-size:12.5px}.mlm2-add{width:28px;height:28px;flex-basis:28px;font-size:20px!important}
 .mlm2-mobile-cart{position:fixed;left:10px;right:10px;bottom:10px;z-index:9998;height:52px;border:0;border-radius:10px;background:var(--mlm-accent);color:#fff;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:8px;padding:0 13px;box-shadow:0 8px 28px rgba(0,0,0,.2);font-size:11px}.mlm2-mobile-cart svg{width:18px;height:18px}.mlm2-mobile-cart span{justify-self:start}.mlm2-mobile-cart strong{font-size:12px}.mlm2-mobile-cart em{font-style:normal;background:#fff;color:var(--mlm-accent);border-radius:7px;padding:8px 10px;font-weight:900}
 .mlm2-sheet{display:block;position:fixed;inset:0;background:rgba(0,0,0,.48);z-index:10000;opacity:0;visibility:hidden;transition:.2s}.mlm2-sheet.open{opacity:1;visibility:visible}
 .mlm2-sheet-panel{position:absolute;right:0;top:0;bottom:0;width:min(92vw,390px);background:#fff;transform:translateX(100%);transition:.22s;overflow:auto}.mlm2-sheet.open .mlm2-sheet-panel{transform:none}
 .mlm2-sheet-head{height:58px;padding:0 15px;border-bottom:1px solid #eee;display:flex;align-items:center;justify-content:space-between}.mlm2-sheet-head h2{font-size:17px;margin:0}.mlm2-close{width:34px;height:34px;border:0;background:#f2f2ef;border-radius:8px;font-size:22px}
 .mlm-commerce-top{margin:10px 0;padding:12px}.mlm-commerce-brand small{display:none}.mlm-checkout-steps{width:100%;justify-content:flex-end}.mlm-step b{display:none}
 body.mlm-page-cart .woocommerce-cart-form,body.mlm-page-cart .cart-collaterals{width:100%;float:none}.mlm-page-cart .cart-collaterals{margin-top:12px}
 body.mlm-page-checkout form.checkout{display:block}body.mlm-page-checkout #order_review{position:static;margin-bottom:15px}
 body.mlm-page-account .woocommerce-MyAccount-navigation,body.mlm-page-account .woocommerce-MyAccount-content{width:100%;float:none}.mlm-page-account .woocommerce-MyAccount-navigation{margin-bottom:12px!important}.mlm-page-account .woocommerce-MyAccount-navigation ul{display:flex!important;overflow:auto;gap:4px;white-space:nowrap}.mlm-page-account .woocommerce-MyAccount-navigation li{flex:0 0 auto}
}
@media(max-width:560px){
 .mlm2-grid{grid-template-columns:1fr}
 .mlm2-product{display:grid;grid-template-columns:92px minmax(0,1fr);min-height:98px}.mlm2-media{height:100%;min-height:98px}.mlm2-product-body{display:flex;flex-direction:column}.mlm2-product-bottom{margin-top:auto}
 .mlm2-postcode input{min-width:0}
 body.mlm-page-cart table.shop_table thead{display:none}
 body.mlm-page-cart table.shop_table tbody tr.cart_item{display:grid;grid-template-columns:62px minmax(0,1fr) auto;position:relative;border-bottom:1px solid #eee;padding:8px 0}
 body.mlm-page-cart table.shop_table td{border:0!important;padding:6px!important}
 body.mlm-page-cart td.product-remove{position:absolute;right:2px;top:2px}body.mlm-page-cart td.product-thumbnail{grid-row:1/4;display:block!important}body.mlm-page-cart td.product-name{grid-column:2/4;padding-right:30px!important}body.mlm-page-cart td.product-price{display:none!important}body.mlm-page-cart td.product-quantity{grid-column:2}body.mlm-page-cart td.product-subtotal{grid-column:3;align-self:center}body.mlm-page-cart td:before{display:none!important}
 body.mlm-page-cart .coupon{display:grid!important;grid-template-columns:1fr!important;width:100%!important}.mlm-page-cart .coupon input,.mlm-page-cart .coupon button{width:100%!important}
 body.mlm-page-checkout .woocommerce-billing-fields,body.mlm-page-checkout .woocommerce-shipping-fields,body.mlm-page-checkout .woocommerce-additional-fields{padding:14px}
 .mlm-account-head{padding:14px}.mlm-account-avatar{width:42px;height:42px}.mlm-account-head h2{font-size:17px!important}
 body.mlm-page-account:not(.logged-in) .u-columns{grid-template-columns:1fr}
 .mlm-thanks-card{margin:18px 8px;padding:28px 16px}.mlm-thanks-card h1{font-size:19px!important}.mlm-thanks-meta{gap:24px}
}

/* Milano 2.1 – color lock, refined interactions and mobile controls */
.mlm2-app,
body.mlm-page-cart,
body.mlm-page-checkout,
body.mlm-page-account,
body.mlm-page-thankyou{
  --mlm-accent:#b61920;
  --mlm-accent-dark:#8f1117;
  --mlm-orange:#f28b21;
  --mlm-ink:#171717;
}
.mlm2-app a,.mlm2-app a:visited,.mlm2-app button,.mlm2-app input,.mlm2-app select,.mlm2-app textarea{-webkit-tap-highlight-color:transparent}
.mlm2-app a:focus,.mlm2-app a:focus-visible,.mlm2-app button:focus,.mlm2-app button:focus-visible,.mlm2-app input:focus,.mlm2-app input:focus-visible{outline:none!important;box-shadow:0 0 0 3px rgba(182,25,32,.14)!important}
.mlm2-catnav a,.mlm2-catnav a:link,.mlm2-catnav a:visited{color:#272727!important;background:transparent!important}
.mlm2-catnav a:hover{color:#171717!important;background:#f5f3f1!important}
.mlm2-catnav a:hover span{color:var(--mlm-accent)!important}
.mlm2-catnav a.active,.mlm2-catnav a.active:link,.mlm2-catnav a.active:visited,.mlm2-catnav a.active:hover,.mlm2-catnav a.active:focus{background:linear-gradient(135deg,var(--mlm-accent),var(--mlm-accent-dark))!important;color:#fff!important;box-shadow:0 5px 14px rgba(182,25,32,.16)!important}
.mlm2-catnav a.active span{color:#fff!important}
.mlm2-toggle button:hover:not(.active){background:#f7f5f3!important;border-color:#d7d2ce!important;color:#171717!important}
.mlm2-toggle button.active,.mlm2-toggle button.active:hover,.mlm2-toggle button.active:focus{background:linear-gradient(135deg,var(--mlm-accent),var(--mlm-accent-dark))!important;border-color:var(--mlm-accent)!important;color:#fff!important}
.mlm2-mobile-cats button:hover{background:#f6f4f2!important;color:#171717!important;border-color:#ded8d3!important}
.mlm2-mobile-cats button.active,.mlm2-mobile-cats button.active:hover,.mlm2-mobile-cats button.active:focus{background:#171717!important;border-color:#171717!important;color:#fff!important}

.mlm2-remove{width:28px!important;height:28px!important;display:grid!important;place-items:center!important;border:1px solid transparent!important;border-radius:8px!important;background:#fff5f4!important;color:var(--mlm-accent)!important;padding:0!important;right:0!important;top:6px!important;transition:background .16s ease,border-color .16s ease!important}
.mlm2-remove svg{width:15px!important;height:15px!important;fill:currentColor!important;display:block!important}
.mlm2-remove:hover,.mlm2-remove:focus{background:var(--mlm-accent)!important;border-color:var(--mlm-accent)!important;color:#fff!important}
.mlm2-close{width:40px!important;height:40px!important;display:grid!important;place-items:center!important;border:1px solid #ece8e5!important;border-radius:12px!important;background:#fff!important;color:#171717!important;padding:0!important;box-shadow:0 3px 10px rgba(0,0,0,.05)!important}
.mlm2-close svg{width:19px!important;height:19px!important;fill:currentColor!important;display:block!important}
.mlm2-close:hover,.mlm2-close:focus{background:var(--mlm-accent)!important;color:#fff!important;border-color:var(--mlm-accent)!important}
.mlm2-sheet-head{background:#fff!important;position:sticky!important;top:0!important;z-index:2!important}

body.mlm-page-cart a.remove,body.mlm-page-cart a.remove:link,body.mlm-page-cart a.remove:visited{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:10px!important;border:1px solid #f0d8d6!important;background:#fff5f4!important;color:transparent!important;font-size:0!important;text-decoration:none!important;position:relative!important}
body.mlm-page-cart a.remove:before{content:"";width:16px;height:16px;background:var(--mlm-accent);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3h8l1 2h4v2H3V5h4l1-2Zm-2 6h12l-1 12H7L6 9Zm4 2v7h2v-7h-2Zm4 0v7h2v-7h-2Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3h8l1 2h4v2H3V5h4l1-2Zm-2 6h12l-1 12H7L6 9Zm4 2v7h2v-7h-2Zm4 0v7h2v-7h-2Z'/%3E%3C/svg%3E") center/contain no-repeat}
body.mlm-page-cart a.remove:hover,body.mlm-page-cart a.remove:focus{background:var(--mlm-accent)!important;border-color:var(--mlm-accent)!important}
body.mlm-page-cart a.remove:hover:before,body.mlm-page-cart a.remove:focus:before{background:#fff!important}

body.mlm-page-cart .woocommerce a:not(.button),body.mlm-page-cart .woocommerce a:not(.button):visited,body.mlm-page-checkout .woocommerce a:not(.button),body.mlm-page-checkout .woocommerce a:not(.button):visited,body.mlm-page-account .woocommerce a:not(.button),body.mlm-page-account .woocommerce a:not(.button):visited{color:#171717!important}
body.mlm-page-cart .woocommerce a:not(.button):hover,body.mlm-page-checkout .woocommerce a:not(.button):hover,body.mlm-page-account .woocommerce a:not(.button):hover{color:var(--mlm-accent)!important}
body.mlm-page-cart input:focus,body.mlm-page-checkout input:focus,body.mlm-page-checkout textarea:focus,body.mlm-page-account input:focus{border-color:var(--mlm-accent)!important;outline:0!important;box-shadow:0 0 0 3px rgba(182,25,32,.11)!important}
body.mlm-page-checkout .select2-container--default .select2-selection--single:focus,body.mlm-page-checkout .select2-container--open .select2-selection--single{border-color:var(--mlm-accent)!important;box-shadow:0 0 0 3px rgba(182,25,32,.11)!important}
body.mlm-page-checkout .select2-results__option--highlighted[aria-selected],body.mlm-page-checkout .select2-results__option--highlighted[data-selected]{background:var(--mlm-accent)!important;color:#fff!important}
body.mlm-page-checkout input[type="radio"],body.mlm-page-checkout input[type="checkbox"],body.mlm-page-account input[type="checkbox"]{accent-color:var(--mlm-accent)!important}

@media(max-width:900px){
 .mlm2-mobile-cart{grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px!important;min-height:58px!important;height:58px!important;border-radius:14px!important;padding:0 8px 0 15px!important;background:linear-gradient(135deg,var(--mlm-accent),var(--mlm-accent-dark))!important;box-shadow:0 12px 32px rgba(82,12,16,.28)!important}
 .mlm2-mobile-cart>svg{width:20px!important;height:20px!important;fill:#fff!important}
 .mlm2-mobile-cart>span{font-size:12px!important;font-weight:800!important;color:#fff!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 .mlm2-mobile-cart>strong{display:none!important}
 .mlm2-mobile-cart>em{min-width:106px!important;height:42px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:#fff!important;color:var(--mlm-accent)!important;padding:0 14px!important;font-size:12px!important;box-shadow:0 3px 10px rgba(0,0,0,.1)!important}
 .mlm2-sheet-panel{box-shadow:-12px 0 40px rgba(0,0,0,.18)!important}
 .mlm2-line{padding:13px 36px 13px 0!important}
}

/* Milano 2.2 – strict color cleanup + polished remove/close controls */
.mlm2-app a,
.mlm2-app button,
.mlm2-app input,
.mlm2-app select,
.mlm2-app textarea,
body.mlm-page-cart .woocommerce,
body.mlm-page-checkout .woocommerce,
body.mlm-page-account .woocommerce{
  -webkit-tap-highlight-color:rgba(182,25,32,.12);
}

/* Never inherit theme/browser purple or blue interaction colors */
.mlm2-app a:focus,.mlm2-app a:active,.mlm2-app a:visited,
.mlm2-app button:focus,.mlm2-app button:active,
body.mlm-page-cart .woocommerce a:focus,body.mlm-page-cart .woocommerce a:active,
body.mlm-page-checkout .woocommerce a:focus,body.mlm-page-checkout .woocommerce a:active,
body.mlm-page-account .woocommerce a:focus,body.mlm-page-account .woocommerce a:active{
  outline:none!important;
  text-decoration:none!important;
}
.mlm2-catnav a:focus-visible,.mlm2-toggle button:focus-visible,.mlm2-mobile-cats button:focus-visible,
.mlm2-add:focus-visible,.mlm2-checkout:focus-visible,.mlm2-continue:focus-visible{
  box-shadow:0 0 0 3px rgba(182,25,32,.16)!important;
}

.mlm2-catnav a:hover,.mlm2-catnav a:focus{background:#f6f3f1!important;color:#171717!important}
.mlm2-catnav a.active,.mlm2-catnav a.active:hover,.mlm2-catnav a.active:focus{
  background:linear-gradient(135deg,#c51e26,#991118)!important;
  color:#fff!important;
}
.mlm2-add:hover,.mlm2-add:focus,.mlm2-add:active{
  background:#8f1117!important;color:#fff!important;transform:translateY(-1px)
}

/* Cart item remove: real delete icon */
.mlm2-remove{
  width:30px!important;height:30px!important;border-radius:9px!important;
  background:#fff3f2!important;color:#b61920!important;border:1px solid #f1cfcc!important;
  display:grid!important;place-items:center!important;
}
.mlm2-remove:hover,.mlm2-remove:focus{
  background:#b61920!important;color:#fff!important;border-color:#b61920!important;
}

/* Mobile cart close: premium close button */
.mlm2-close{
  width:42px!important;height:42px!important;border-radius:12px!important;
  background:#171717!important;color:#fff!important;border:1px solid #2b2b2b!important;
  box-shadow:0 5px 16px rgba(0,0,0,.12)!important;
}
.mlm2-close:hover,.mlm2-close:focus{
  background:#b61920!important;color:#fff!important;border-color:#b61920!important;
  transform:translateY(-1px);
}

/* WooCommerce cart remove button */
body.mlm-page-cart a.remove,
body.mlm-page-cart a.remove:visited{
  background:#fff3f2!important;border-color:#f1cfcc!important;color:transparent!important;
}
body.mlm-page-cart a.remove:hover,body.mlm-page-cart a.remove:focus{
  background:#b61920!important;border-color:#b61920!important;
}

/* Lock Woo buttons + form focus to Milano palette */
body.mlm-page-cart .woocommerce button.button:hover,
body.mlm-page-cart .woocommerce a.button:hover,
body.mlm-page-checkout .woocommerce button.button:hover,
body.mlm-page-checkout .woocommerce a.button:hover,
body.mlm-page-account .woocommerce button.button:hover,
body.mlm-page-account .woocommerce a.button:hover{
  background:#8f1117!important;color:#fff!important;
}
body.mlm-page-cart input:focus,body.mlm-page-checkout input:focus,
body.mlm-page-checkout textarea:focus,body.mlm-page-account input:focus{
  border-color:#b61920!important;box-shadow:0 0 0 3px rgba(182,25,32,.12)!important;
}

@media(max-width:900px){
  .mlm2-sheet-head{height:64px!important;padding:0 14px!important;background:#fff!important}
  .mlm2-sheet-head h2{font-size:18px!important;font-weight:900!important;color:#171717!important}
  .mlm2-mobile-cart{bottom:12px!important;left:12px!important;right:12px!important}
}

/* ==========================================================
   Milano Lieferservice Manager 2.3 – Premium interaction skin
   Keine Blau-/Lilatöne, klarer 50/50-Mobile-Warenkorb
   ========================================================== */
.mlm2-app,
.mlm2-app a,
.mlm2-app button,
.mlm2-app input,
.mlm2-app select,
.mlm2-app textarea{
  --mlm-focus:rgba(182,25,32,.14);
}

/* Browser/Theme Focus- und Visited-Farben konsequent neutralisieren */
.mlm2-app a,
.mlm2-app a:link,
.mlm2-app a:visited,
.mlm2-app a:hover,
.mlm2-app a:focus,
.mlm2-app a:active{
  text-decoration:none!important;
  outline:none!important;
  -webkit-tap-highlight-color:rgba(182,25,32,.10)!important;
}
.mlm2-app button,
.mlm2-app button:hover,
.mlm2-app button:focus,
.mlm2-app button:active{
  outline:none!important;
  -webkit-tap-highlight-color:rgba(182,25,32,.10)!important;
}
.mlm2-app button:focus-visible,
.mlm2-app a:focus-visible{
  outline:0!important;
  box-shadow:0 0 0 3px var(--mlm-focus)!important;
}
.mlm2-head-cart,
.mlm2-head-cart:hover,
.mlm2-head-cart:focus,
.mlm2-head-cart:active{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:#fff!important;
  color:#171717!important;
}
.mlm2-head-actions>a,
.mlm2-head-actions>a:visited,
.mlm2-head-actions>a:hover,
.mlm2-head-actions>a:focus{
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:none!important;
}

/* Professionelle linke Kategorien – einzelne Karten mit Rand */
.mlm2-catnav{gap:7px!important}
.mlm2-catnav a{
  min-height:44px!important;
  padding:0 13px!important;
  border:1px solid #e6e3df!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#242424!important;
  box-shadow:0 1px 2px rgba(0,0,0,.018)!important;
  transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease!important;
}
.mlm2-catnav a span{
  width:23px!important;
  height:23px!important;
  display:grid!important;
  place-items:center!important;
  color:#7b7773!important;
}
.mlm2-catnav a:hover,.mlm2-catnav a:focus{
  background:#fff7f6!important;
  border-color:#e9b9b5!important;
  color:#8f1117!important;
  box-shadow:0 4px 12px rgba(143,17,23,.06)!important;
}
.mlm2-catnav a.active,.mlm2-catnav a.active:hover,.mlm2-catnav a.active:focus{
  background:linear-gradient(135deg,#c51e26,#981117)!important;
  border-color:#b61920!important;
  color:#fff!important;
  box-shadow:0 6px 16px rgba(143,17,23,.16)!important;
}
.mlm2-catnav a.active span{color:#fff!important}

/* Toggle/Category Buttons: nur Milano Rot / neutral */
.mlm2-toggle button,.mlm2-mobile-cats button{
  color:#202020!important;
  border-color:#e4e1de!important;
  box-shadow:none!important;
}
.mlm2-toggle button:hover,.mlm2-mobile-cats button:hover{
  color:#8f1117!important;
  border-color:#e6b7b3!important;
  background:#fff7f6!important;
}
.mlm2-toggle button.active,.mlm2-toggle button.active:hover,
.mlm2-mobile-cats button.active,.mlm2-mobile-cats button.active:hover{
  color:#fff!important;
  border-color:#b61920!important;
  background:linear-gradient(135deg,#c51e26,#981117)!important;
}

/* Produkt + / Menge */
.mlm2-add,.mlm2-add:visited{
  background:linear-gradient(135deg,#cf1f27,#a81017)!important;
  color:#fff!important;border:0!important;box-shadow:0 4px 10px rgba(143,17,23,.15)!important
}
.mlm2-add:hover,.mlm2-add:focus,.mlm2-add:active{
  background:#8f1117!important;color:#fff!important;box-shadow:0 5px 13px rgba(143,17,23,.18)!important
}
.mlm2-qty button,.mlm2-qty button:hover,.mlm2-qty button:focus{
  color:#171717!important;background:#fff!important;border-color:#dedbd7!important;box-shadow:none!important
}
.mlm2-qty button:hover{background:#fff7f6!important;border-color:#e7b7b3!important;color:#8f1117!important}

/* Entfernen: elegantes Trash-Icon */
.mlm2-remove{
  width:31px!important;height:31px!important;right:0!important;top:8px!important;
  border:1px solid #f0d2cf!important;border-radius:9px!important;
  background:#fff7f6!important;color:#b61920!important;
  display:grid!important;place-items:center!important;padding:0!important;
  box-shadow:none!important;
}
.mlm2-remove svg{width:15px!important;height:15px!important;fill:currentColor!important}
.mlm2-remove:hover,.mlm2-remove:focus,.mlm2-remove:active{
  background:#b61920!important;color:#fff!important;border-color:#b61920!important;box-shadow:0 4px 10px rgba(143,17,23,.15)!important
}

/* Warenkorb-Sheet schließen */
.mlm2-close{
  width:40px!important;height:40px!important;border-radius:11px!important;
  border:1px solid #e5e2df!important;background:#f8f7f5!important;color:#171717!important;
  display:grid!important;place-items:center!important;padding:0!important;box-shadow:none!important
}
.mlm2-close svg{width:18px!important;height:18px!important;fill:currentColor!important}
.mlm2-close:hover,.mlm2-close:focus,.mlm2-close:active{
  border-color:#b61920!important;background:#b61920!important;color:#fff!important;box-shadow:0 5px 14px rgba(143,17,23,.16)!important
}

/* Inputs: grau, Fokus Milano-Rot – niemals Browserblau */
.mlm2-app input,.mlm2-app select,.mlm2-app textarea{
  outline:0!important;box-shadow:none!important
}
.mlm2-app input:focus,.mlm2-app select:focus,.mlm2-app textarea:focus{
  border-color:#c94a50!important;box-shadow:0 0 0 3px rgba(182,25,32,.10)!important
}

/* WooCommerce globale Anti-Lila/Anti-Blau-Regeln */
body.mlm-page-cart .woocommerce a,
body.mlm-page-checkout .woocommerce a,
body.mlm-page-account .woocommerce a,
body.mlm-page-thankyou .woocommerce a{
  text-decoration:none!important;
}
body.mlm-page-cart .woocommerce a:focus-visible,
body.mlm-page-checkout .woocommerce a:focus-visible,
body.mlm-page-account .woocommerce a:focus-visible,
body.mlm-page-thankyou .woocommerce a:focus-visible,
body.mlm-page-cart .woocommerce button:focus-visible,
body.mlm-page-checkout .woocommerce button:focus-visible,
body.mlm-page-account .woocommerce button:focus-visible{
  outline:0!important;box-shadow:0 0 0 3px rgba(182,25,32,.12)!important
}
body.mlm-page-cart .woocommerce button:hover,
body.mlm-page-checkout .woocommerce button:hover,
body.mlm-page-account .woocommerce button:hover,
body.mlm-page-cart .woocommerce .button:hover,
body.mlm-page-checkout .woocommerce .button:hover,
body.mlm-page-account .woocommerce .button:hover{
  border-color:#8f1117!important
}

/* Mobile Sticky Warenkorb – exakt halb/halb */
@media(max-width:900px){
  .mlm2-mobile-cart{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:0!important;
    height:66px!important;
    min-height:66px!important;
    padding:0!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:15px!important;
    background:#171717!important;
    box-shadow:0 12px 32px rgba(0,0,0,.24)!important;
    color:#fff!important;
  }
  .mlm2-mobile-cart:focus,.mlm2-mobile-cart:active{box-shadow:0 12px 32px rgba(0,0,0,.24)!important}
  .mlm2-mobile-cart-left,.mlm2-mobile-cart-right{
    min-width:0;height:66px;display:flex!important;align-items:center!important;justify-content:center!important;
  }
  .mlm2-mobile-cart-left{
    gap:9px;background:#171717!important;color:#fff!important;padding:0 12px!important;
  }
  .mlm2-mobile-cart-left>svg{width:20px!important;height:20px!important;fill:#fff!important;flex:0 0 auto}
  .mlm2-mobile-cart-left>span{font-size:13px!important;font-weight:800!important;white-space:nowrap!important;color:#fff!important}
  .mlm2-mobile-cart-left b{font-weight:900!important}
  .mlm2-mobile-cart-right{
    position:relative;gap:8px;background:linear-gradient(135deg,#c51e26,#991118)!important;color:#fff!important;padding:0 14px!important;
  }
  .mlm2-mobile-cart-right strong{display:block!important;font-size:15px!important;font-weight:900!important;color:#fff!important;white-space:nowrap!important}
  .mlm2-mobile-cart-right em{font-size:12px!important;font-weight:800!important;font-style:normal!important;color:#fff!important;white-space:nowrap!important}
  .mlm2-mobile-cart-right i{font-style:normal!important;font-size:23px!important;line-height:1!important;color:#fff!important}
  .mlm2-mobile-cart:hover .mlm2-mobile-cart-right{background:#8f1117!important}
  .mlm2-line{padding-right:38px!important}
}

@media(max-width:430px){
  .mlm2-mobile-cart-left>span{font-size:12px!important}
  .mlm2-mobile-cart-right{gap:6px!important;padding:0 9px!important}
  .mlm2-mobile-cart-right strong{font-size:13px!important}
  .mlm2-mobile-cart-right em{font-size:11px!important}
}


/* Milano 2.4 – professionelle Kategorie-Icons */
.mlm2-catnav{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
}
.mlm2-catnav a,
.mlm2-catnav a:link,
.mlm2-catnav a:visited{
  min-height:54px!important;
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr)!important;
  align-items:center!important;
  gap:11px!important;
  padding:6px 12px 6px 7px!important;
  border:1px solid #e8e3df!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#202020!important;
  box-shadow:0 2px 8px rgba(24,24,24,.025)!important;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
.mlm2-catnav a:hover,
.mlm2-catnav a:focus{
  background:#fff8f7!important;
  border-color:#e7b7b4!important;
  color:#171717!important;
  box-shadow:0 5px 14px rgba(105,17,21,.07)!important;
  transform:translateY(-1px)!important;
}
.mlm2-catnav .mlm2-cat-icon{
  width:38px!important;
  height:38px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #eee7e3!important;
  border-radius:10px!important;
  background:#fffafa!important;
  color:var(--mlm-accent)!important;
  box-shadow:0 2px 7px rgba(0,0,0,.035)!important;
}
.mlm2-catnav .mlm2-cat-icon svg{
  width:21px!important;
  height:21px!important;
  display:block!important;
  fill:currentColor!important;
  overflow:visible!important;
}
.mlm2-catnav .mlm2-cat-label{
  min-width:0!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:750!important;
  color:inherit!important;
}
.mlm2-catnav a.active,
.mlm2-catnav a.active:link,
.mlm2-catnav a.active:visited,
.mlm2-catnav a.active:hover,
.mlm2-catnav a.active:focus{
  background:linear-gradient(135deg,#c51e26,#991118)!important;
  border-color:#b61920!important;
  color:#fff!important;
  box-shadow:0 7px 18px rgba(111,15,20,.18)!important;
}
.mlm2-catnav a.active .mlm2-cat-icon{
  background:rgba(255,255,255,.13)!important;
  border-color:rgba(255,255,255,.25)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.mlm2-catnav a.active .mlm2-cat-label{
  color:#fff!important;
}
@media(max-width:900px){
  .mlm2-sidebar .mlm2-catnav a{
    min-height:50px!important;
    grid-template-columns:36px minmax(0,1fr)!important;
  }
  .mlm2-sidebar .mlm2-cat-icon{
    width:34px!important;
    height:34px!important;
  }
  .mlm2-sidebar .mlm2-cat-icon svg{
    width:19px!important;
    height:19px!important;
  }
}

/* v2.5 Premium Kategorie-Icons */
.mlm2-catnav a,.mlm2-catnav a:link,.mlm2-catnav a:visited{grid-template-columns:38px minmax(0,1fr)!important;gap:10px!important;min-height:54px!important;padding:8px 13px!important;border-radius:13px!important}
.mlm2-catnav .mlm2-cat-icon{width:36px!important;height:36px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#b71920!important;display:grid!important;place-items:center!important}
.mlm2-catnav .mlm2-cat-icon svg{width:25px!important;height:25px!important;display:block!important}
.mlm2-catnav .mlm2-cat-label{font-size:13.5px!important;font-weight:750!important;line-height:1.2!important}
.mlm2-catnav a:hover .mlm2-cat-icon,.mlm2-catnav a:focus .mlm2-cat-icon{color:#8f1016!important}
.mlm2-catnav a.active .mlm2-cat-icon,.mlm2-catnav a.active:hover .mlm2-cat-icon,.mlm2-catnav a.active:focus .mlm2-cat-icon{color:#fff!important;background:transparent!important;border:0!important;box-shadow:none!important}
@media(max-width:900px){.mlm2-sidebar .mlm2-catnav a{grid-template-columns:36px minmax(0,1fr)!important;padding:8px 11px!important}.mlm2-sidebar .mlm2-cat-icon{width:34px!important;height:34px!important}.mlm2-sidebar .mlm2-cat-icon svg{width:24px!important;height:24px!important}}


/* =========================================================
   Milano v3.0 – Premium Bestellportal / Checkout / Thank You
   ========================================================= */
:root{--mlm-accent:#b61920;--mlm-accent-dark:#8f1117}

/* Keine lila/blauen Theme-Farben im Milano-Bereich */
.mlm2-app a,.mlm2-app button,.mlm2-app input,.mlm2-app select,
body.mlm-page-cart .woocommerce a,body.mlm-page-checkout .woocommerce a,
body.mlm-page-account .woocommerce a,body.mlm-page-thankyou .woocommerce a{
  outline-color:#b61920!important;
  -webkit-tap-highlight-color:rgba(182,25,32,.10)!important;
}
.mlm2-app a:focus,.mlm2-app button:focus,.mlm2-app input:focus,
body.mlm-page-checkout input:focus,body.mlm-page-checkout select:focus,
body.mlm-page-checkout textarea:focus{
  border-color:#b61920!important;box-shadow:0 0 0 3px rgba(182,25,32,.10)!important;outline:0!important
}

/* Kategorie-Navigation: hochwertige Line-Icons, keine Icon-Kästchen */
.mlm2-catnav a,.mlm2-catnav a:link,.mlm2-catnav a:visited{
  grid-template-columns:38px minmax(0,1fr)!important;min-height:58px!important;
  padding:9px 14px!important;border:1px solid #e7e2dd!important;border-radius:13px!important;
  background:#fff!important;box-shadow:0 3px 12px rgba(0,0,0,.025)!important;color:#1b1b1b!important
}
.mlm2-catnav .mlm2-cat-icon{width:34px!important;height:34px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#c01820!important}
.mlm2-catnav .mlm2-cat-icon svg{width:24px!important;height:24px!important}
.mlm2-catnav a:hover{background:#fff8f7!important;border-color:#e8c3c0!important;transform:translateY(-1px)!important}
.mlm2-catnav a.active,.mlm2-catnav a.active:hover,.mlm2-catnav a.active:focus{
  background:linear-gradient(135deg,#c51d25,#a51118)!important;border-color:#b61920!important;color:#fff!important;
  box-shadow:0 8px 20px rgba(133,13,19,.18)!important
}
.mlm2-catnav a.active .mlm2-cat-icon{color:#fff!important}

/* Produktkarten näher am Mockup */
.mlm2-product{border:1px solid #e8e4df!important;border-radius:15px!important;background:#fff!important;box-shadow:0 7px 22px rgba(0,0,0,.035)!important;overflow:hidden!important}
.mlm2-product:hover{border-color:#dfd7d1!important;box-shadow:0 12px 28px rgba(0,0,0,.065)!important}
.mlm2-product img{border-radius:12px!important;object-fit:cover!important}
.mlm2-add{background:linear-gradient(135deg,#d51b24,#b61920)!important;color:#fff!important;border:0!important;box-shadow:0 5px 12px rgba(182,25,32,.22)!important}
.mlm2-add:hover{background:#9d1117!important;color:#fff!important}

/* Mobile Sticky Cart – exakt 50/50, keine HTML-Codes */
@media(max-width:900px){
  .mlm2-mobile-cart{
    left:8px!important;right:8px!important;bottom:8px!important;height:72px!important;padding:0!important;
    grid-template-columns:1fr 1fr!important;gap:0!important;border-radius:15px!important;overflow:hidden!important;
    background:#111!important;box-shadow:0 12px 34px rgba(0,0,0,.30)!important
  }
  .mlm2-mobile-cart>svg{display:none!important}
  .mlm2-mobile-cart-left{height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0 10px!important;background:#151515!important;color:#fff!important}
  .mlm2-mobile-cart-left:before{content:"🛒";font-size:20px}
  .mlm2-mobile-cart-left b{color:#fff!important;font-size:13px!important}
  .mlm2-mobile-cart-left small{display:block!important;color:#bdbdbd!important;font-size:9px!important;margin-top:2px!important}
  .mlm2-mobile-cart-right{height:100%!important;display:grid!important;grid-template-columns:1fr 24px!important;grid-template-rows:1fr 1fr!important;align-items:center!important;padding:10px 12px!important;background:linear-gradient(135deg,#d00d17,#b61920)!important;color:#fff!important}
  .mlm2-mobile-cart-right strong{grid-column:1;grid-row:1;color:#fff!important;font-size:17px!important;line-height:1!important;justify-self:center!important}
  .mlm2-mobile-cart-right em{grid-column:1;grid-row:2;background:transparent!important;color:#fff!important;padding:0!important;font-size:11px!important;justify-self:center!important}
  .mlm2-mobile-cart-right i{grid-column:2;grid-row:1/3;color:#fff!important;font-size:27px!important;font-style:normal!important}
}

/* Checkout Fehler / Hinweise immer lesbar */
body.mlm-page-checkout .woocommerce-error,
body.mlm-page-checkout .woocommerce-message,
body.mlm-page-checkout .woocommerce-info,
body.mlm-page-checkout .wc-block-components-notice-banner,
body.mlm-page-checkout .wc-block-components-notice-banner.is-error{
  color:#171717!important;background:#fff7f7!important;border:1px solid #efb3b5!important;
  border-radius:12px!important;box-shadow:none!important
}
body.mlm-page-checkout .woocommerce-error *,
body.mlm-page-checkout .woocommerce-message *,
body.mlm-page-checkout .woocommerce-info *,
body.mlm-page-checkout .wc-block-components-notice-banner *{
  color:#171717!important
}
body.mlm-page-checkout .woocommerce-error:before,
body.mlm-page-checkout .woocommerce-info:before{color:#b61920!important}

/* Gutschein-Zeile professionell */
body.mlm-page-checkout .woocommerce-form-coupon-toggle .woocommerce-info{
  background:#fff!important;border:1px solid #e8e3df!important;color:#222!important;padding:14px 16px!important
}
body.mlm-page-checkout form.checkout_coupon{
  background:#fff!important;border:1px solid #e8e3df!important;border-radius:12px!important;padding:15px!important;
  display:grid!important;grid-template-columns:1fr auto!important;gap:10px!important
}
body.mlm-page-checkout form.checkout_coupon .form-row{width:auto!important;float:none!important;margin:0!important}
body.mlm-page-checkout form.checkout_coupon button{height:42px!important;background:#b61920!important;color:#fff!important;border:0!important;border-radius:9px!important}

/* Checkout Cards */
body.mlm-page-checkout .woocommerce-billing-fields,
body.mlm-page-checkout .woocommerce-shipping-fields,
body.mlm-page-checkout .woocommerce-additional-fields{
  border-radius:16px!important;padding:22px!important;box-shadow:0 8px 28px rgba(0,0,0,.035)!important
}
body.mlm-page-checkout .form-row input.input-text,
body.mlm-page-checkout .form-row textarea,
body.mlm-page-checkout .select2-selection{
  min-height:48px!important;border-radius:10px!important;font-size:14px!important
}
body.mlm-page-checkout h3{font-size:20px!important;color:#171717!important}
body.mlm-page-checkout #payment{background:#faf9f7!important;padding:8px!important}
body.mlm-page-checkout #payment li.wc_payment_method{border-radius:12px!important;padding:13px!important}
body.mlm-page-checkout #place_order{height:52px!important;border-radius:11px!important;font-size:15px!important;color:#fff!important}

/* Thank-you Button: garantiert weiß */
body.mlm-page-thankyou .mlm-thanks-home,
body.mlm-page-thankyou .mlm-thanks-home:link,
body.mlm-page-thankyou .mlm-thanks-home:visited,
body.mlm-page-thankyou .mlm-thanks-home:hover,
body.mlm-page-thankyou .mlm-thanks-home:focus{
  background:linear-gradient(135deg,#d21b24,#b61920)!important;color:#fff!important;
  -webkit-text-fill-color:#fff!important;border:0!important;text-shadow:none!important;
  min-width:210px!important;height:50px!important;border-radius:11px!important;font-size:14px!important
}
body.mlm-page-thankyou .mlm-thanks-card{border-radius:20px!important;padding:44px 28px!important;box-shadow:0 12px 36px rgba(0,0,0,.055)!important}
body.mlm-page-thankyou .mlm-thanks-check{width:68px!important;height:68px!important;font-size:34px!important}
body.mlm-page-thankyou .mlm-order-number{border-radius:15px!important;padding:17px 30px!important}

/* Mobile Checkout */
@media(max-width:767px){
  body.mlm-page-checkout .mlm-commerce-top{border-radius:14px!important;margin:12px 8px 18px!important}
  body.mlm-page-checkout .woocommerce-billing-fields,
  body.mlm-page-checkout .woocommerce-shipping-fields,
  body.mlm-page-checkout .woocommerce-additional-fields{padding:17px!important;border-radius:14px!important}
  body.mlm-page-checkout form.checkout_coupon{grid-template-columns:1fr!important}
  body.mlm-page-checkout form.checkout_coupon button{width:100%!important}
  body.mlm-page-thankyou .mlm-thanks-card{margin:18px 10px!important;padding:30px 18px!important}
}


/* =========================================================
   Milano v3.1 – Checkout 1:1 Premium Layout
   ========================================================= */
body.mlm-page-checkout form.checkout{
  display:grid!important;
  grid-template-columns:minmax(420px,.82fr) minmax(560px,1.18fr)!important;
  gap:28px!important;
  align-items:start!important;
  max-width:1420px!important;
  margin:0 auto!important;
}
body.mlm-page-checkout #order_review_heading{display:none!important}
body.mlm-page-checkout #order_review{
  grid-column:1!important;grid-row:1!important;position:sticky!important;top:18px!important;
  background:#fff!important;border:1px solid #e7e2dd!important;border-radius:20px!important;
  padding:28px 30px 30px!important;box-shadow:0 10px 34px rgba(0,0,0,.045)!important;
}
body.mlm-page-checkout #order_review:before{
  content:"Deine Bestellung";display:block;margin:0 0 22px!important;
  font-size:24px!important;line-height:1.15!important;font-weight:900!important;color:#171717!important;
}
body.mlm-page-checkout #customer_details{
  grid-column:2!important;grid-row:1!important;display:block!important;
}
body.mlm-page-checkout #customer_details>.col-1,
body.mlm-page-checkout #customer_details>.col-2{
  width:100%!important;float:none!important
}
body.mlm-page-checkout .woocommerce-billing-fields,
body.mlm-page-checkout .woocommerce-shipping-fields,
body.mlm-page-checkout .woocommerce-additional-fields{
  border:1px solid #e7e2dd!important;border-radius:20px!important;padding:28px 30px!important;
  background:#fff!important;box-shadow:0 10px 34px rgba(0,0,0,.035)!important;margin:0 0 18px!important
}
body.mlm-page-checkout .woocommerce-billing-fields>h3,
body.mlm-page-checkout .woocommerce-shipping-fields>h3,
body.mlm-page-checkout .woocommerce-additional-fields>h3{
  font-size:20px!important;font-weight:900!important;margin:0 0 20px!important
}

/* Order table centered inward like approved mockup */
body.mlm-page-checkout #order_review table.shop_table{width:100%!important}
body.mlm-page-checkout #order_review table.shop_table th,
body.mlm-page-checkout #order_review table.shop_table td{
  padding:14px 0!important;font-size:13px!important;vertical-align:middle!important
}
body.mlm-page-checkout #order_review table.shop_table th.product-total,
body.mlm-page-checkout #order_review table.shop_table td.product-total{
  width:112px!important;text-align:right!important;padding-right:4px!important
}
body.mlm-page-checkout #order_review table.shop_table tfoot th{
  padding-left:0!important;font-weight:800!important
}
body.mlm-page-checkout #order_review table.shop_table tfoot td{text-align:right!important}
body.mlm-page-checkout #order_review .order-total th,
body.mlm-page-checkout #order_review .order-total td{font-size:15px!important;font-weight:900!important}

/* Product thumbnails */
.mlm-checkout-product{display:flex!important;align-items:center!important;gap:14px!important;min-width:0!important}
.mlm-checkout-product-image{
  width:82px!important;height:66px!important;min-width:82px!important;object-fit:cover!important;
  border-radius:11px!important;background:#f5f3f0!important;border:1px solid #eee9e4!important
}
.mlm-checkout-product-title{display:block!important;min-width:0!important;line-height:1.35!important}

/* Terms + payment visually clean */
body.mlm-page-checkout #payment{
  margin-top:18px!important;padding:12px!important;background:#faf9f7!important;border-radius:14px!important
}
body.mlm-page-checkout #payment .place-order{padding:10px 0 0!important}
body.mlm-page-checkout #payment .woocommerce-terms-and-conditions-wrapper{
  background:#fff!important;border:1px solid #ece8e4!important;border-radius:11px!important;
  padding:13px 14px!important;margin-bottom:12px!important
}
body.mlm-page-checkout #place_order{
  width:100%!important;height:54px!important;background:linear-gradient(135deg,#d51b24,#b61920)!important;
  color:#fff!important;border-radius:11px!important;font-size:15px!important;font-weight:900!important
}

/* Wunschzeit: optional, no red star */
body.mlm-page-checkout label[for*="wunschzeit"] .required,
body.mlm-page-checkout label[for*="wunsch_zeit"] .required{display:none!important}
body.mlm-page-checkout [id*="wunschzeit_field"] label,
body.mlm-page-checkout [id*="wunsch_zeit_field"] label{font-size:13px!important;color:#242424!important}
body.mlm-page-checkout [id*="wunschzeit_field"] input,
body.mlm-page-checkout [id*="wunsch_zeit_field"] input{
  min-height:54px!important;border-radius:11px!important;font-size:14px!important
}

/* Two-column billing fields like mockup */
@media(min-width:901px){
  body.mlm-page-checkout #billing_first_name_field,
  body.mlm-page-checkout #billing_last_name_field,
  body.mlm-page-checkout #billing_postcode_field,
  body.mlm-page-checkout #billing_city_field,
  body.mlm-page-checkout #billing_phone_field,
  body.mlm-page-checkout #billing_email_field{
    width:48.5%!important;float:left!important;clear:none!important
  }
  body.mlm-page-checkout #billing_last_name_field,
  body.mlm-page-checkout #billing_city_field,
  body.mlm-page-checkout #billing_email_field{float:right!important}
  body.mlm-page-checkout #billing_company_field,
  body.mlm-page-checkout #billing_address_1_field,
  body.mlm-page-checkout #billing_address_2_field{width:100%!important;clear:both!important}
}

/* Mobile stays professional and readable */
@media(max-width:900px){
  body.mlm-page-checkout form.checkout{display:flex!important;flex-direction:column!important;gap:16px!important}
  body.mlm-page-checkout #customer_details{order:1!important;width:100%!important}
  body.mlm-page-checkout #order_review{order:2!important;position:static!important;width:100%!important;padding:20px 18px!important;border-radius:16px!important}
  body.mlm-page-checkout #order_review:before{font-size:20px!important;margin-bottom:14px!important}
  body.mlm-page-checkout .woocommerce-billing-fields,
  body.mlm-page-checkout .woocommerce-shipping-fields,
  body.mlm-page-checkout .woocommerce-additional-fields{padding:20px 18px!important;border-radius:16px!important}
  .mlm-checkout-product{gap:10px!important}
  .mlm-checkout-product-image{width:64px!important;height:54px!important;min-width:64px!important;border-radius:9px!important}
  body.mlm-page-checkout #order_review table.shop_table th,
  body.mlm-page-checkout #order_review table.shop_table td{font-size:12px!important}
  body.mlm-page-checkout #order_review table.shop_table th.product-total,
  body.mlm-page-checkout #order_review table.shop_table td.product-total{width:82px!important}
}

/* =========================================================
   Milano v3.2 – Premium Checkout / Oswald Typography
   ========================================================= */
.mlm2-app,
body.mlm-page-cart .woocommerce,
body.mlm-page-checkout .woocommerce,
body.mlm-page-account .woocommerce,
body.mlm-page-thankyou .woocommerce{font-family:Arial,Helvetica,sans-serif!important;font-weight:400!important}
.mlm2-app h1,.mlm2-app h2,.mlm2-app h3,.mlm2-app h4,.mlm2-cat-label,.mlm2-product h3,.mlm2-cart-panel h3,
body.mlm-page-cart .woocommerce h1,body.mlm-page-cart .woocommerce h2,body.mlm-page-cart .woocommerce h3,
body.mlm-page-checkout .woocommerce h1,body.mlm-page-checkout .woocommerce h2,body.mlm-page-checkout .woocommerce h3,body.mlm-page-checkout .woocommerce h4,
body.mlm-page-account .woocommerce h1,body.mlm-page-account .woocommerce h2,body.mlm-page-account .woocommerce h3,
body.mlm-page-thankyou .woocommerce h1,body.mlm-page-thankyou .woocommerce h2,body.mlm-page-thankyou .woocommerce h3,
body.mlm-page-checkout #order_review:before{font-family:'Oswald',Arial,sans-serif!important;font-weight:600!important;letter-spacing:.15px!important}
.mlm2-app strong,.mlm2-product .price,.mlm2-catnav .mlm2-cat-label,.mlm2-cart-panel,.mlm2-mobile-cart{font-weight:600!important}
.mlm2-product h3{font-weight:600!important}.mlm2-product .price{font-size:16px!important}

body.mlm-page-checkout .woocommerce{max-width:1240px!important;margin:0 auto!important;padding:0 18px 42px!important}
body.mlm-page-checkout .mlm-commerce-top{max-width:1240px!important;margin:16px auto 20px!important;background:#fff!important;border:1px solid #e9e4df!important;border-radius:16px!important;box-shadow:0 7px 24px rgba(0,0,0,.035)!important}
body.mlm-page-checkout .woocommerce-form-coupon-toggle{margin:0 0 12px!important}
body.mlm-page-checkout .woocommerce-form-coupon-toggle .woocommerce-info{position:relative!important;padding:16px 18px 16px 52px!important;min-height:56px!important;display:flex!important;align-items:center!important;border:1px solid #e9e4df!important;border-radius:14px!important;background:#fff!important;color:#1b1b1b!important;font-weight:500!important;box-shadow:0 5px 18px rgba(0,0,0,.025)!important}
body.mlm-page-checkout .woocommerce-form-coupon-toggle .woocommerce-info:before{content:"%"!important;position:absolute!important;left:16px!important;top:50%!important;transform:translateY(-50%)!important;width:26px!important;height:26px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#fff2f2!important;color:#b61920!important;font-family:'Oswald',Arial,sans-serif!important;font-size:15px!important;font-weight:700!important}
body.mlm-page-checkout form.checkout_coupon{display:grid!important;grid-template-columns:minmax(0,1fr) 190px!important;align-items:center!important;gap:12px!important;margin:0 0 18px!important;padding:18px!important;background:#fff!important;border:1px solid #e9e4df!important;border-radius:14px!important;box-shadow:0 6px 20px rgba(0,0,0,.025)!important}
body.mlm-page-checkout form.checkout_coupon p:first-child{grid-column:1/-1!important;margin:0!important;color:#666!important;font-size:13px!important;line-height:1.45!important}
body.mlm-page-checkout form.checkout_coupon .form-row{width:auto!important;float:none!important;margin:0!important}
body.mlm-page-checkout form.checkout_coupon input{width:100%!important;height:48px!important;border:1px solid #dcd7d2!important;border-radius:10px!important;padding:0 14px!important}
body.mlm-page-checkout form.checkout_coupon button{width:100%!important;height:48px!important;margin:0!important;border:0!important;border-radius:10px!important;background:linear-gradient(135deg,#d11b24,#b61920)!important;color:#fff!important;font-family:'Oswald',Arial,sans-serif!important;font-weight:600!important;letter-spacing:.2px!important}
body.mlm-page-checkout form.checkout_coupon button:hover{background:#981117!important;color:#fff!important}

body.mlm-page-checkout form.checkout{display:grid!important;grid-template-columns:minmax(360px,.78fr) minmax(0,1.22fr)!important;gap:24px!important;align-items:start!important;max-width:1240px!important;margin:0 auto!important}
body.mlm-page-checkout #order_review{grid-column:1!important;grid-row:1!important;position:sticky!important;top:18px!important;padding:24px!important;background:#fff!important;border:1px solid #e9e4df!important;border-radius:16px!important;box-shadow:0 8px 26px rgba(0,0,0,.035)!important}
body.mlm-page-checkout #order_review:before{content:"Deine Bestellung"!important;display:block!important;margin:0 0 18px!important;font-size:26px!important;line-height:1!important;text-transform:uppercase!important;color:#171717!important}
body.mlm-page-checkout #customer_details{grid-column:2!important;grid-row:1!important;width:100%!important}
body.mlm-page-checkout #customer_details>.col-1,body.mlm-page-checkout #customer_details>.col-2{width:100%!important;float:none!important}
body.mlm-page-checkout .woocommerce-billing-fields,body.mlm-page-checkout .woocommerce-shipping-fields,body.mlm-page-checkout .woocommerce-additional-fields{background:#fff!important;border:1px solid #e9e4df!important;border-radius:16px!important;padding:24px!important;margin:0 0 16px!important;box-shadow:0 8px 26px rgba(0,0,0,.025)!important}
body.mlm-page-checkout .woocommerce-billing-fields>h3,body.mlm-page-checkout .woocommerce-shipping-fields>h3,body.mlm-page-checkout .woocommerce-additional-fields>h3{font-size:24px!important;text-transform:uppercase!important;margin:0 0 20px!important;line-height:1!important}
body.mlm-page-checkout .form-row label{font-size:12px!important;font-weight:600!important;color:#333!important;margin-bottom:6px!important}
body.mlm-page-checkout .form-row input.input-text,body.mlm-page-checkout .form-row textarea,body.mlm-page-checkout .select2-selection{min-height:48px!important;border:1px solid #dcd7d2!important;border-radius:10px!important;background:#fff!important;color:#222!important;box-shadow:none!important;font-size:14px!important}
body.mlm-page-checkout .form-row input.input-text:focus,body.mlm-page-checkout .form-row textarea:focus{border-color:#b61920!important;box-shadow:0 0 0 3px rgba(182,25,32,.08)!important}
body.mlm-page-checkout #order_review table.shop_table{border:0!important;border-collapse:collapse!important;margin:0!important}
body.mlm-page-checkout #order_review table.shop_table thead th{padding:0 0 10px!important;border-bottom:1px solid #e8e3de!important;font-family:'Oswald',Arial,sans-serif!important;text-transform:uppercase!important;font-size:13px!important;font-weight:600!important}
body.mlm-page-checkout #order_review table.shop_table td{padding:13px 0!important;border-bottom:1px solid #eee9e5!important}
body.mlm-page-checkout #order_review table.shop_table tfoot th,body.mlm-page-checkout #order_review table.shop_table tfoot td{padding:11px 0!important;font-size:13px!important}
body.mlm-page-checkout #order_review table.shop_table tfoot .order-total th,body.mlm-page-checkout #order_review table.shop_table tfoot .order-total td{font-size:17px!important;font-weight:700!important;color:#171717!important}
body.mlm-page-checkout #order_review table.shop_table tfoot .order-total td{color:#b61920!important}
.mlm-checkout-product{display:flex!important;align-items:center!important;gap:12px!important}.mlm-checkout-product-image{width:72px!important;height:58px!important;min-width:72px!important;object-fit:cover!important;border-radius:9px!important;border:1px solid #eee7e1!important}.mlm-checkout-product-title{font-size:13px!important;font-weight:600!important;line-height:1.35!important}
body.mlm-page-checkout #payment{margin-top:14px!important;background:#faf9f7!important;border-radius:12px!important;padding:10px!important}
body.mlm-page-checkout #payment .woocommerce-terms-and-conditions-wrapper{padding:12px!important;border:1px solid #eae5e0!important;border-radius:10px!important;background:#fff!important}
body.mlm-page-checkout #place_order{height:52px!important;border:0!important;border-radius:10px!important;background:linear-gradient(135deg,#d11b24,#b61920)!important;color:#fff!important;font-family:'Oswald',Arial,sans-serif!important;font-size:17px!important;font-weight:600!important;text-transform:uppercase!important}
body.mlm-page-checkout #place_order:hover{background:#971116!important;color:#fff!important}
@media(min-width:901px){body.mlm-page-checkout #billing_first_name_field,body.mlm-page-checkout #billing_last_name_field,body.mlm-page-checkout #billing_postcode_field,body.mlm-page-checkout #billing_city_field,body.mlm-page-checkout #billing_phone_field,body.mlm-page-checkout #billing_email_field{width:48.5%!important;float:left!important;clear:none!important}body.mlm-page-checkout #billing_last_name_field,body.mlm-page-checkout #billing_city_field,body.mlm-page-checkout #billing_email_field{float:right!important}body.mlm-page-checkout #billing_company_field,body.mlm-page-checkout #billing_address_1_field,body.mlm-page-checkout #billing_address_2_field{width:100%!important;clear:both!important}}
@media(max-width:900px){body.mlm-page-checkout .woocommerce{padding:0 10px 30px!important}body.mlm-page-checkout form.checkout{display:flex!important;flex-direction:column!important;gap:14px!important}body.mlm-page-checkout #customer_details{order:1!important}body.mlm-page-checkout #order_review{order:2!important;position:static!important;padding:18px!important}body.mlm-page-checkout form.checkout_coupon{grid-template-columns:1fr!important;padding:14px!important}body.mlm-page-checkout .woocommerce-billing-fields,body.mlm-page-checkout .woocommerce-shipping-fields,body.mlm-page-checkout .woocommerce-additional-fields{padding:18px!important}body.mlm-page-checkout #order_review:before{font-size:22px!important}.mlm-checkout-product-image{width:60px!important;height:50px!important;min-width:60px!important}}


/* =========================================================
   Milano v3.3 – Desktop Checkout Layout Fix
   Fixes narrow Royal Elementor Kit content wrappers
   ========================================================= */

/* Escape narrow theme wrappers on checkout only */
body.mlm-page-checkout .woocommerce{
  width:min(1240px,calc(100vw - 40px))!important;
  max-width:none!important;
  position:relative!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  margin:0!important;
  padding:0 0 48px!important;
}
body.mlm-page-checkout .mlm-commerce-top{
  width:100%!important;
  max-width:none!important;
  margin:18px 0 22px!important;
}

/* Coupon area is full width and compact */
body.mlm-page-checkout .woocommerce-form-coupon-toggle,
body.mlm-page-checkout form.checkout_coupon{
  width:100%!important;
  max-width:none!important;
}
body.mlm-page-checkout form.checkout_coupon{
  grid-template-columns:minmax(0,1fr) 220px!important;
}
body.mlm-page-checkout form.checkout_coupon p:first-child{
  display:none!important;
}

/* Main checkout: real 2-column desktop composition */
body.mlm-page-checkout form.checkout.woocommerce-checkout{
  width:100%!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:minmax(0,0.92fr) minmax(0,1.35fr)!important;
  grid-template-areas:"summary customer"!important;
  gap:24px!important;
  align-items:start!important;
  margin:0!important;
}

/* Billing/right side */
body.mlm-page-checkout form.checkout.woocommerce-checkout #customer_details{
  grid-area:customer!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  display:block!important;
}
body.mlm-page-checkout #customer_details .col-1,
body.mlm-page-checkout #customer_details .col-2{
  width:100%!important;
  max-width:none!important;
  float:none!important;
  margin:0!important;
}

/* Order summary/left side */
body.mlm-page-checkout form.checkout.woocommerce-checkout #order_review{
  grid-area:summary!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  position:sticky!important;
  top:18px!important;
  align-self:start!important;
  border-radius:18px!important;
  padding:24px!important;
}
body.mlm-page-checkout #order_review_heading{
  display:none!important;
}

/* If theme inserts fragments before review, keep them out of grid flow */
body.mlm-page-checkout form.checkout.woocommerce-checkout > .clear{
  display:none!important;
}

/* Better cards */
body.mlm-page-checkout .woocommerce-billing-fields,
body.mlm-page-checkout .woocommerce-shipping-fields,
body.mlm-page-checkout .woocommerce-additional-fields{
  width:100%!important;
  max-width:none!important;
  border-radius:18px!important;
  padding:26px!important;
  box-shadow:0 10px 30px rgba(0,0,0,.035)!important;
}
body.mlm-page-checkout .woocommerce-billing-fields__field-wrapper,
body.mlm-page-checkout .woocommerce-shipping-fields__field-wrapper{
  display:flow-root!important;
}

/* Form fields: spacious but not oversized */
body.mlm-page-checkout .form-row{
  margin-bottom:14px!important;
}
body.mlm-page-checkout .form-row label{
  font-size:12px!important;
  font-weight:600!important;
}
body.mlm-page-checkout .form-row input.input-text,
body.mlm-page-checkout .form-row textarea,
body.mlm-page-checkout .select2-selection{
  min-height:46px!important;
  border-radius:10px!important;
}

/* Summary typography and spacing */
body.mlm-page-checkout #order_review:before{
  font-size:25px!important;
  margin-bottom:18px!important;
}
body.mlm-page-checkout #order_review table.shop_table th,
body.mlm-page-checkout #order_review table.shop_table td{
  padding:12px 0!important;
}
body.mlm-page-checkout #order_review .mlm-checkout-product-image{
  width:76px!important;
  height:62px!important;
  min-width:76px!important;
}
body.mlm-page-checkout #order_review .mlm-checkout-product-title{
  font-size:13px!important;
  font-weight:500!important;
}
body.mlm-page-checkout #payment{
  margin-top:16px!important;
  border-radius:13px!important;
}

/* Cleaner step header */
body.mlm-page-checkout .mlm-commerce-brand{
  font-family:'Oswald',Arial,sans-serif!important;
  font-size:25px!important;
  font-weight:600!important;
  letter-spacing:2px!important;
}
body.mlm-page-checkout .mlm-commerce-steps{
  gap:10px!important;
}
body.mlm-page-checkout .mlm-step{
  font-size:12px!important;
  font-weight:500!important;
}

/* Tablet: still two columns where enough room exists */
@media (min-width:901px) and (max-width:1100px){
  body.mlm-page-checkout .woocommerce{
    width:calc(100vw - 24px)!important;
  }
  body.mlm-page-checkout form.checkout.woocommerce-checkout{
    grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr)!important;
    gap:18px!important;
  }
  body.mlm-page-checkout .woocommerce-billing-fields,
  body.mlm-page-checkout .woocommerce-shipping-fields,
  body.mlm-page-checkout .woocommerce-additional-fields{
    padding:20px!important;
  }
}

/* Mobile: one column, customer first, summary after */
@media(max-width:900px){
  body.mlm-page-checkout .woocommerce{
    width:calc(100vw - 18px)!important;
    left:50%!important;
    transform:translateX(-50%)!important;
  }
  body.mlm-page-checkout form.checkout.woocommerce-checkout{
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
  }
  body.mlm-page-checkout form.checkout.woocommerce-checkout #customer_details{
    order:1!important;
  }
  body.mlm-page-checkout form.checkout.woocommerce-checkout #order_review{
    order:2!important;
    position:static!important;
  }
  body.mlm-page-checkout form.checkout_coupon{
    grid-template-columns:1fr!important;
  }
}

/* Oswald only for headings; normal text remains regular */
body.mlm-page-checkout .woocommerce-billing-fields h3,
body.mlm-page-checkout .woocommerce-shipping-fields h3,
body.mlm-page-checkout .woocommerce-additional-fields h3,
body.mlm-page-checkout #order_review:before,
body.mlm-page-checkout #place_order{
  font-family:'Oswald',Arial,sans-serif!important;
}
body.mlm-page-checkout .form-row,
body.mlm-page-checkout .form-row input,
body.mlm-page-checkout .form-row textarea,
body.mlm-page-checkout #order_review table{
  font-family:Arial,Helvetica,sans-serif!important;
  font-weight:400!important;
}


/* =========================================================
   Milano v3.4 – Mobile Header + Sticky Cart Fix
   ========================================================= */

/* Remove duplicate black Milano ordering header on mobile.
   The theme/mobile site header remains visible. */
@media(max-width:900px){
  .mlm2-app .mlm2-header{
    display:none!important;
  }

  /* If the secondary dark info bar lives inside the plugin header, hide it too. */
  .mlm2-app .mlm2-info,
  .mlm2-app .mlm2-topbar,
  .mlm2-app .mlm2-servicebar{
    display:none!important;
  }

  /* Tighten content after removing duplicate header */
  .mlm2-app{
    padding-top:0!important;
    margin-top:0!important;
  }

  /* Sticky cart: exact half/half, edge-to-edge inside rounded bar */
  .mlm2-mobile-cart{
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    height:76px!important;
    border-radius:0!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    padding:0!important;
    gap:0!important;
    overflow:hidden!important;
    background:#111!important;
    box-shadow:0 -8px 28px rgba(0,0,0,.18)!important;
    z-index:99999!important;
  }

  /* Remove any extra leading cart icon / SVG that creates a duplicate */
  .mlm2-mobile-cart > svg,
  .mlm2-mobile-cart > .mlm2-mobile-cart-icon,
  .mlm2-mobile-cart .mlm2-cart-icon:first-child{
    display:none!important;
  }

  .mlm2-mobile-cart-left,
  .mlm2-mobile-cart-right{
    width:100%!important;
    min-width:0!important;
    height:100%!important;
    margin:0!important;
    border-radius:0!important;
  }

  .mlm2-mobile-cart-left{
    background:#111!important;
    color:#fff!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    padding:0 14px!important;
  }

  /* One single cart icon only */
  .mlm2-mobile-cart-left:before{
    content:"🛒"!important;
    display:inline-block!important;
    font-size:23px!important;
    line-height:1!important;
    margin:0!important;
  }

  .mlm2-mobile-cart-left b{
    display:inline!important;
    margin:0!important;
    color:#fff!important;
    font-size:16px!important;
    line-height:1.1!important;
    font-weight:700!important;
  }

  .mlm2-mobile-cart-left small{
    display:none!important;
  }

  .mlm2-mobile-cart-right{
    background:linear-gradient(135deg,#d31620,#b61920)!important;
    color:#fff!important;
    display:grid!important;
    grid-template-columns:1fr 28px!important;
    grid-template-rows:1fr 1fr!important;
    align-items:center!important;
    padding:10px 14px!important;
  }

  .mlm2-mobile-cart-right strong{
    grid-column:1!important;
    grid-row:1!important;
    justify-self:center!important;
    align-self:end!important;
    margin:0!important;
    color:#fff!important;
    font-size:22px!important;
    line-height:1!important;
    font-weight:700!important;
  }

  .mlm2-mobile-cart-right em{
    grid-column:1!important;
    grid-row:2!important;
    justify-self:center!important;
    align-self:start!important;
    margin:4px 0 0!important;
    padding:0!important;
    background:transparent!important;
    color:#fff!important;
    font-size:14px!important;
    line-height:1!important;
    font-style:normal!important;
    font-weight:600!important;
  }

  .mlm2-mobile-cart-right i{
    grid-column:2!important;
    grid-row:1 / 3!important;
    justify-self:center!important;
    align-self:center!important;
    color:#fff!important;
    font-size:32px!important;
    font-style:normal!important;
    line-height:1!important;
  }

  /* Avoid content being hidden behind fixed sticky cart */
  .mlm2-app{
    padding-bottom:92px!important;
  }
}


/* =========================================================
   Milano v3.5 – Delivery/Pickup restored + Checkout alignment
   ========================================================= */

/* MOBILE ORDER PAGE:
   Keep only the duplicate Milano black header/status hidden.
   Delivery/Pickup + postcode MUST remain visible. */
@media(max-width:900px){
  .mlm2-app .mlm2-head,
  .mlm2-app .mlm2-status{
    display:none!important;
  }

  .mlm2-app .mlm2-servicebar{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
    padding:16px 14px!important;
    background:#fff!important;
    border-bottom:1px solid #ece8e3!important;
  }

  .mlm2-app .mlm2-toggle{
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
  }

  .mlm2-app .mlm2-toggle button{
    min-height:52px!important;
    border-radius:12px!important;
    font-size:15px!important;
  }

  .mlm2-app .mlm2-postcode{
    width:100%!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
    align-items:center!important;
  }

  .mlm2-app .mlm2-postcode[style*="display:none"]{
    display:none!important;
  }

  .mlm2-app .mlm2-postcode input{
    width:100%!important;
    min-width:0!important;
    height:46px!important;
    border-radius:10px!important;
  }

  .mlm2-app .mlm2-postcode button{
    height:46px!important;
    border-radius:10px!important;
    padding:0 16px!important;
  }

  .mlm2-app .mlm2-postcode small{
    grid-column:1/-1!important;
    margin-top:0!important;
  }

  .mlm2-app .mlm2-search{
    width:100%!important;
  }

  /* Sticky cart: exactly one icon, 50/50, no blank black area */
  .mlm2-mobile-cart{
    grid-template-columns:1fr 1fr!important;
  }

  .mlm2-mobile-cart-left:before{
    display:none!important;
    content:none!important;
  }

  .mlm2-mobile-cart-left > svg{
    display:block!important;
    width:25px!important;
    height:25px!important;
    flex:0 0 25px!important;
    fill:#fff!important;
  }

  .mlm2-mobile-cart-left{
    justify-content:center!important;
    gap:10px!important;
  }

  .mlm2-mobile-cart-right{
    width:100%!important;
    background:linear-gradient(135deg,#d31620,#b61920)!important;
  }
}

/* CHECKOUT: same centered width for header, coupon, form and lower sections */
body.mlm-page-checkout .woocommerce{
  width:min(1180px,calc(100vw - 36px))!important;
  max-width:1180px!important;
  left:auto!important;
  transform:none!important;
  margin:0 auto!important;
  padding:0 0 48px!important;
}

body.mlm-page-checkout .mlm-commerce-top,
body.mlm-page-checkout .woocommerce-form-coupon-toggle,
body.mlm-page-checkout form.checkout_coupon,
body.mlm-page-checkout form.checkout.woocommerce-checkout{
  width:100%!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

body.mlm-page-checkout form.checkout.woocommerce-checkout{
  display:grid!important;
  grid-template-columns:minmax(360px,.88fr) minmax(0,1.12fr)!important;
  grid-template-areas:"summary customer"!important;
  gap:22px!important;
  align-items:start!important;
}

body.mlm-page-checkout #order_review{
  grid-area:summary!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}

body.mlm-page-checkout #customer_details{
  grid-area:customer!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}

/* Checkout delivery mode section */
body.mlm-page-checkout .mlm-checkout-mode-field,
body.mlm-page-checkout .mlm-checkout-plz-field{
  width:100%!important;
  float:none!important;
  clear:both!important;
  background:#fff!important;
  border:1px solid #e9e4df!important;
  border-radius:15px!important;
  padding:18px!important;
  margin:0 0 14px!important;
  box-sizing:border-box!important;
}

body.mlm-page-checkout .mlm-checkout-mode-field > label,
body.mlm-page-checkout .mlm-checkout-plz-field > label{
  display:block!important;
  margin:0 0 10px!important;
  font-family:'Oswald',Arial,sans-serif!important;
  font-size:18px!important;
  font-weight:600!important;
  color:#171717!important;
}

body.mlm-page-checkout .mlm-checkout-mode-field .woocommerce-input-wrapper{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
}

body.mlm-page-checkout .mlm-checkout-mode-field label.radio{
  min-height:52px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  padding:0 14px!important;
  margin:0!important;
  border:1px solid #ddd8d3!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#222!important;
  font-size:15px!important;
  font-weight:600!important;
}

body.mlm-page-checkout .mlm-checkout-mode-field input[type="radio"]{
  accent-color:#b61920!important;
}

body.mlm-page-checkout .mlm-checkout-plz-field input{
  width:100%!important;
  max-width:none!important;
  min-height:48px!important;
}

/* Product list on mobile: centered and no left shift */
@media(max-width:900px){
  body.mlm-page-checkout .woocommerce{
    width:calc(100vw - 20px)!important;
    max-width:none!important;
    margin:0 auto!important;
  }

  body.mlm-page-checkout form.checkout.woocommerce-checkout{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    margin:0 auto!important;
  }

  body.mlm-page-checkout #customer_details,
  body.mlm-page-checkout #order_review{
    width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  body.mlm-page-checkout #order_review{
    padding:18px 16px!important;
  }

  body.mlm-page-checkout #order_review table.shop_table{
    width:100%!important;
    margin:0 auto!important;
  }

  body.mlm-page-checkout #order_review table.shop_table td,
  body.mlm-page-checkout #order_review table.shop_table th{
    padding-left:4px!important;
    padding-right:4px!important;
  }

  .mlm-checkout-product{
    justify-content:flex-start!important;
    width:100%!important;
  }

  body.mlm-page-checkout .mlm-checkout-mode-field .woocommerce-input-wrapper{
    grid-template-columns:1fr 1fr!important;
  }
}

/* Checkout JS-controlled pickup mode */
body.mlm-page-checkout.mlm-pickup-mode .mlm-checkout-plz-field{
  display:none!important;
}


/* =========================================================
   Milano v3.8 – Checkout 2-Spalten + moderne Lieferart
   ========================================================= */

/* Altes separates Liefer-PLZ-Feld vollständig entfernen */
body.mlm-page-checkout .mlm-checkout-plz-field,
body.mlm-page-checkout #mlm_delivery_postcode_field{display:none!important}

/* Gesamte Kasse auf Desktop gleichmäßig zentrieren */
body.mlm-page-checkout .woocommerce{
  width:min(1240px,calc(100vw - 40px))!important;
  max-width:1240px!important;
  margin:0 auto!important;
  left:auto!important;transform:none!important;
  padding:0 0 52px!important;
}
body.mlm-page-checkout .mlm-commerce-top,
body.mlm-page-checkout .woocommerce-form-coupon-toggle,
body.mlm-page-checkout form.checkout_coupon,
body.mlm-page-checkout form.checkout.woocommerce-checkout{
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
  margin-left:auto!important;margin-right:auto!important;
}

/* Gutschein kompakt und professionell */
body.mlm-page-checkout form.checkout_coupon{
  display:grid!important;grid-template-columns:minmax(0,1fr) 220px!important;gap:12px!important;
  padding:18px!important;border-radius:16px!important;
}
body.mlm-page-checkout form.checkout_coupon p:first-child{display:none!important}
body.mlm-page-checkout form.checkout_coupon .form-row{width:auto!important;float:none!important;margin:0!important}
body.mlm-page-checkout form.checkout_coupon input{height:48px!important}
body.mlm-page-checkout form.checkout_coupon button{height:48px!important;width:100%!important}

/* Echte 2-Spalten-Kasse */
body.mlm-page-checkout form.checkout.woocommerce-checkout{
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr)!important;
  grid-template-areas:'customer summary'!important;
  gap:24px!important;align-items:start!important;
}
body.mlm-page-checkout #customer_details{
  grid-area:customer!important;width:100%!important;max-width:none!important;display:block!important;margin:0!important;
}
body.mlm-page-checkout #customer_details>.col-1,
body.mlm-page-checkout #customer_details>.col-2{
  width:100%!important;max-width:none!important;float:none!important;margin:0!important;
}
body.mlm-page-checkout #order_review{
  grid-area:summary!important;width:100%!important;max-width:none!important;margin:0!important;
  position:sticky!important;top:18px!important;align-self:start!important;
  background:#fff!important;border:1px solid #e7e2dd!important;border-radius:18px!important;
  padding:24px!important;box-shadow:0 10px 32px rgba(0,0,0,.045)!important;
}
body.mlm-page-checkout #order_review_heading{display:none!important}

body.mlm-page-checkout .woocommerce-billing-fields,
body.mlm-page-checkout .woocommerce-shipping-fields,
body.mlm-page-checkout .woocommerce-additional-fields{
  width:100%!important;max-width:none!important;background:#fff!important;
  border:1px solid #e7e2dd!important;border-radius:18px!important;padding:24px!important;
  box-shadow:0 8px 28px rgba(0,0,0,.035)!important;margin:0 0 16px!important;
}

/* Lieferart wie zwei moderne Auswahlkarten statt große Radio-Kreise */
body.mlm-page-checkout .mlm-checkout-mode-field{
  width:100%!important;float:none!important;clear:both!important;
  background:#fff!important;border:1px solid #e7e2dd!important;border-radius:16px!important;
  padding:18px!important;margin:0 0 16px!important;box-sizing:border-box!important;
}
body.mlm-page-checkout .mlm-checkout-mode-field>label{
  display:block!important;margin:0 0 12px!important;font-family:'Oswald',Arial,sans-serif!important;
  font-size:19px!important;font-weight:600!important;color:#171717!important;
}
body.mlm-page-checkout .mlm-checkout-mode-field .woocommerce-input-wrapper{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;
}
body.mlm-page-checkout .mlm-checkout-mode-field .woocommerce-input-wrapper>input[type=radio]{
  position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important;
}
body.mlm-page-checkout .mlm-checkout-mode-field label.radio{
  min-height:58px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  gap:10px!important;padding:0 16px!important;margin:0!important;border:1px solid #ddd7d2!important;
  border-radius:12px!important;background:#fff!important;color:#222!important;font-size:15px!important;
  font-weight:600!important;cursor:pointer!important;position:relative!important;
}
body.mlm-page-checkout .mlm-checkout-mode-field label.radio:before{
  content:'✓'!important;width:23px!important;height:23px!important;border-radius:50%!important;
  border:1px solid #d0cac4!important;display:grid!important;place-items:center!important;
  color:transparent!important;background:#fff!important;font-size:12px!important;font-weight:700!important;
}
body.mlm-page-checkout .mlm-checkout-mode-field label.radio.mlm-mode-selected{
  border-color:#b61920!important;background:#fff7f7!important;color:#b61920!important;
  box-shadow:0 0 0 3px rgba(182,25,32,.06)!important;
}
body.mlm-page-checkout .mlm-checkout-mode-field label.radio.mlm-mode-selected:before{
  background:#b61920!important;border-color:#b61920!important;color:#fff!important;
}

/* Wunschzeit ist optional */
body.mlm-page-checkout [id*='wunschzeit_field'] .required,
body.mlm-page-checkout [id*='wunsch_zeit_field'] .required{display:none!important}
body.mlm-page-checkout [id*='wunschzeit_field'] label,
body.mlm-page-checkout [id*='wunsch_zeit_field'] label{
  font-family:'Oswald',Arial,sans-serif!important;font-size:17px!important;font-weight:500!important;
}

/* Produktliste im Bestellblock sauber ausrichten */
body.mlm-page-checkout #order_review table.shop_table{width:100%!important;margin:0 auto!important}
body.mlm-page-checkout #order_review th,
body.mlm-page-checkout #order_review td{vertical-align:middle!important}

@media(max-width:900px){
  body.mlm-page-checkout .woocommerce{width:calc(100vw - 18px)!important;max-width:none!important;margin:0 auto!important}
  body.mlm-page-checkout form.checkout.woocommerce-checkout{display:flex!important;flex-direction:column!important;gap:14px!important}
  body.mlm-page-checkout #customer_details{order:1!important;width:100%!important;margin:0 auto!important}
  body.mlm-page-checkout #order_review{order:2!important;position:static!important;width:100%!important;margin:0 auto!important;padding:18px 16px!important}
  body.mlm-page-checkout .mlm-checkout-mode-field .woocommerce-input-wrapper{grid-template-columns:1fr!important}
  body.mlm-page-checkout .mlm-checkout-mode-field label.radio{justify-content:flex-start!important;padding-left:18px!important}
  body.mlm-page-checkout form.checkout_coupon{grid-template-columns:1fr!important}
  body.mlm-page-checkout #order_review table.shop_table{width:100%!important;margin:0 auto!important}
  .mlm-checkout-product{width:100%!important;justify-content:flex-start!important}
}


/* Milano v3.9 – My Account active navigation + legal price note */
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active > a,
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active > a:visited,
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active > a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active > a:focus{
    color:#fff!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active,
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active > a{
    background:#b61920!important;
    border-color:#b61920!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active > a *{
    color:#fff!important;
}

/* Product price note */
.mlm-price-note{
    display:inline!important;
    margin-left:5px!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:11px!important;
    line-height:1.35!important;
    font-weight:400!important;
    color:#777!important;
    white-space:normal!important;
}
.mlm-product-price .mlm-price-note,
.woocommerce-Price-amount + .mlm-price-note{
    vertical-align:baseline!important;
}
@media(max-width:767px){
    .mlm-price-note{
        display:block!important;
        margin:3px 0 0!important;
        font-size:10px!important;
    }
}


/* =========================================================
   Milano v4.0 – Checkout final layout + coupon repair
   ========================================================= */

/* Full checkout shell */
body.mlm-page-checkout .woocommerce{
  width:min(1240px,calc(100vw - 40px))!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:0 0 54px!important;
  left:auto!important;
  transform:none!important;
}

/* Header + coupon same width */
body.mlm-page-checkout .mlm-commerce-top,
body.mlm-page-checkout .woocommerce-form-coupon-toggle,
body.mlm-page-checkout form.checkout_coupon,
body.mlm-page-checkout form.checkout.woocommerce-checkout{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Coupon toggle */
body.mlm-page-checkout .woocommerce-form-coupon-toggle{
  margin-bottom:12px!important;
}
body.mlm-page-checkout .woocommerce-form-coupon-toggle .woocommerce-info{
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  padding:14px 18px 14px 54px!important;
  border:1px solid #e7e2dd!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#1c1c1c!important;
  box-shadow:0 5px 18px rgba(0,0,0,.025)!important;
}
body.mlm-page-checkout .woocommerce-form-coupon-toggle .showcoupon{
  color:#1c1c1c!important;
  font-weight:600!important;
  text-decoration:none!important;
}

/* Coupon form – hidden until opened, then proper input + button */
body.mlm-page-checkout form.checkout_coupon{
  display:none!important;
  grid-template-columns:minmax(0,1fr) 210px!important;
  gap:12px!important;
  align-items:center!important;
  margin:0 0 18px!important;
  padding:18px!important;
  border:1px solid #e7e2dd!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 6px 20px rgba(0,0,0,.025)!important;
}
body.mlm-page-checkout form.checkout_coupon.mlm-coupon-open{
  display:grid!important;
}
body.mlm-page-checkout form.checkout_coupon p{
  margin:0!important;
}
body.mlm-page-checkout form.checkout_coupon p:first-child{
  display:none!important;
}
body.mlm-page-checkout form.checkout_coupon .form-row{
  width:auto!important;
  float:none!important;
  margin:0!important;
}
body.mlm-page-checkout form.checkout_coupon input[name="coupon_code"]{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:50px!important;
  padding:0 15px!important;
  border:1px solid #dcd7d2!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#222!important;
  font-size:14px!important;
}
body.mlm-page-checkout form.checkout_coupon button{
  display:block!important;
  width:100%!important;
  height:50px!important;
  margin:0!important;
  border:0!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,#d21b24,#b61920)!important;
  color:#fff!important;
  font-family:'Oswald',Arial,sans-serif!important;
  font-weight:600!important;
  font-size:16px!important;
}

/* Real desktop two-column checkout */
body.mlm-page-checkout form.checkout.woocommerce-checkout{
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr)!important;
  grid-template-areas:"customer summary"!important;
  gap:24px!important;
  align-items:start!important;
  margin-top:0!important;
}

body.mlm-page-checkout #customer_details{
  grid-area:customer!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  display:block!important;
}
body.mlm-page-checkout #customer_details>.col-1,
body.mlm-page-checkout #customer_details>.col-2{
  width:100%!important;
  max-width:none!important;
  float:none!important;
  margin:0!important;
}

body.mlm-page-checkout #order_review{
  grid-area:summary!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  position:sticky!important;
  top:18px!important;
  align-self:start!important;
  padding:24px!important;
  background:#fff!important;
  border:1px solid #e7e2dd!important;
  border-radius:18px!important;
  box-shadow:0 10px 30px rgba(0,0,0,.04)!important;
}
body.mlm-page-checkout #order_review:before{
  content:"Deine Bestellung"!important;
  display:block!important;
  margin:0 0 18px!important;
  font-family:'Oswald',Arial,sans-serif!important;
  font-size:26px!important;
  font-weight:600!important;
  text-transform:uppercase!important;
  color:#171717!important;
}
body.mlm-page-checkout #order_review_heading{
  display:none!important;
}

/* IMPORTANT: force WooCommerce order items back into the right column */
body.mlm-page-checkout #order_review .woocommerce-checkout-review-order-table,
body.mlm-page-checkout #order_review table.shop_table{
  display:table!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  height:auto!important;
  position:static!important;
  margin:0 0 16px!important;
  border-collapse:collapse!important;
  background:#fff!important;
}
body.mlm-page-checkout #order_review table.shop_table thead{
  display:table-header-group!important;
}
body.mlm-page-checkout #order_review table.shop_table tbody{
  display:table-row-group!important;
}
body.mlm-page-checkout #order_review table.shop_table tfoot{
  display:table-footer-group!important;
}
body.mlm-page-checkout #order_review table.shop_table tr{
  display:table-row!important;
}
body.mlm-page-checkout #order_review table.shop_table th,
body.mlm-page-checkout #order_review table.shop_table td{
  display:table-cell!important;
  padding:12px 0!important;
  vertical-align:middle!important;
  border-bottom:1px solid #eee9e5!important;
}
body.mlm-page-checkout #order_review table.shop_table th.product-total,
body.mlm-page-checkout #order_review table.shop_table td.product-total{
  width:105px!important;
  text-align:right!important;
}
body.mlm-page-checkout #order_review table.shop_table tfoot td{
  text-align:right!important;
}
body.mlm-page-checkout #order_review table.shop_table .order-total th,
body.mlm-page-checkout #order_review table.shop_table .order-total td{
  font-weight:700!important;
  font-size:16px!important;
}
body.mlm-page-checkout #order_review table.shop_table .order-total td{
  color:#b61920!important;
}

/* Product image alignment in checkout summary */
body.mlm-page-checkout .mlm-checkout-product{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
}
body.mlm-page-checkout .mlm-checkout-product-image{
  width:70px!important;
  height:58px!important;
  min-width:70px!important;
  object-fit:cover!important;
  border-radius:9px!important;
  border:1px solid #eee8e3!important;
}
body.mlm-page-checkout .mlm-checkout-product-title{
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.35!important;
}

/* Payment must stay under products/totals */
body.mlm-page-checkout #payment{
  display:block!important;
  width:100%!important;
  margin:12px 0 0!important;
  padding:10px!important;
  background:#faf9f7!important;
  border-radius:13px!important;
}
body.mlm-page-checkout #payment ul.payment_methods{
  display:block!important;
  margin:0!important;
}
body.mlm-page-checkout #payment .place-order{
  display:block!important;
}

/* Customer-side cards */
body.mlm-page-checkout .woocommerce-billing-fields,
body.mlm-page-checkout .woocommerce-shipping-fields,
body.mlm-page-checkout .woocommerce-additional-fields{
  width:100%!important;
  max-width:none!important;
  margin:0 0 16px!important;
  padding:24px!important;
  background:#fff!important;
  border:1px solid #e7e2dd!important;
  border-radius:18px!important;
  box-shadow:0 8px 28px rgba(0,0,0,.03)!important;
}

/* Mode selector stays polished */
body.mlm-page-checkout .mlm-checkout-mode-field{
  width:100%!important;
  float:none!important;
  clear:both!important;
  margin:0 0 16px!important;
  padding:18px!important;
  background:#fff!important;
  border:1px solid #e7e2dd!important;
  border-radius:16px!important;
}
body.mlm-page-checkout .mlm-checkout-mode-field .woocommerce-input-wrapper{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:12px!important;
}

/* Mobile */
@media(max-width:900px){
  body.mlm-page-checkout .woocommerce{
    width:calc(100vw - 18px)!important;
    max-width:none!important;
  }
  body.mlm-page-checkout form.checkout.woocommerce-checkout{
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
  }
  body.mlm-page-checkout #customer_details{
    order:1!important;
  }
  body.mlm-page-checkout #order_review{
    order:2!important;
    position:static!important;
    width:100%!important;
    margin:0 auto!important;
    padding:18px 16px!important;
  }
  body.mlm-page-checkout form.checkout_coupon.mlm-coupon-open{
    grid-template-columns:1fr!important;
  }
  body.mlm-page-checkout .mlm-checkout-mode-field .woocommerce-input-wrapper{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   Milano v4.1 – robust checkout columns / coupon / phone+mail
   ========================================================= */

/* The JS below creates this wrapper, independent of theme markup */
body.mlm-page-checkout .mlm-checkout-columns{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.1fr) minmax(390px,.9fr)!important;
  gap:24px!important;
  align-items:start!important;
  margin-top:18px!important;
  box-sizing:border-box!important;
}

body.mlm-page-checkout .mlm-checkout-columns #customer_details,
body.mlm-page-checkout .mlm-checkout-columns #order_review{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
  box-sizing:border-box!important;
}

body.mlm-page-checkout .mlm-checkout-columns #order_review{
  position:sticky!important;
  top:18px!important;
  background:#fff!important;
  border:1px solid #e7e2dd!important;
  border-radius:18px!important;
  padding:24px!important;
  box-shadow:0 10px 30px rgba(0,0,0,.04)!important;
}

/* Force order review contents to remain inside right card */
body.mlm-page-checkout #order_review .woocommerce-checkout-review-order-table{
  width:100%!important;
  display:table!important;
  margin:0 0 16px!important;
  visibility:visible!important;
}
body.mlm-page-checkout #order_review #payment{
  width:100%!important;
  display:block!important;
  margin-top:14px!important;
}

/* phone left + email right */
@media(min-width:901px){
  body.mlm-page-checkout #billing_phone_field,
  body.mlm-page-checkout #billing_email_field{
    width:48.5%!important;
    clear:none!important;
    margin-bottom:14px!important;
  }
  body.mlm-page-checkout #billing_phone_field{
    float:left!important;
  }
  body.mlm-page-checkout #billing_email_field{
    float:right!important;
  }
  body.mlm-page-checkout #billing_email_field + *{
    clear:both!important;
  }
}

/* Coupon: proper input + button */
body.mlm-page-checkout form.checkout_coupon{
  display:none!important;
  width:100%!important;
  grid-template-columns:minmax(0,1fr) 220px!important;
  gap:12px!important;
  padding:18px!important;
  border:1px solid #e7e2dd!important;
  border-radius:14px!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
body.mlm-page-checkout form.checkout_coupon.mlm-coupon-open{
  display:grid!important;
}
body.mlm-page-checkout form.checkout_coupon .mlm-coupon-input-wrap{
  width:100%!important;
  margin:0!important;
}
body.mlm-page-checkout form.checkout_coupon input[name="coupon_code"]{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  height:50px!important;
  padding:0 15px!important;
  border:1px solid #dcd7d2!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#222!important;
}
body.mlm-page-checkout form.checkout_coupon button[name="apply_coupon"]{
  display:block!important;
  width:100%!important;
  height:50px!important;
  color:#fff!important;
  background:#b61920!important;
  border:0!important;
  border-radius:10px!important;
}

/* Keep default checkout form from creating a second fake column */
body.mlm-page-checkout form.checkout.woocommerce-checkout{
  display:block!important;
  width:100%!important;
  max-width:none!important;
}

/* Mobile */
@media(max-width:900px){
  body.mlm-page-checkout .mlm-checkout-columns{
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
  }
  body.mlm-page-checkout .mlm-checkout-columns #customer_details{
    order:1!important;
  }
  body.mlm-page-checkout .mlm-checkout-columns #order_review{
    order:2!important;
    position:static!important;
    padding:18px 16px!important;
  }
  body.mlm-page-checkout form.checkout_coupon.mlm-coupon-open{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   Milano v4.2 – deterministic checkout structure
   ========================================================= */
body.mlm-page-checkout form.checkout.woocommerce-checkout{
  display:block!important;
  width:100%!important;
  max-width:none!important;
}

body.mlm-page-checkout .mlm42-checkout-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(400px,.92fr)!important;
  gap:24px!important;
  align-items:start!important;
  width:100%!important;
  margin-top:18px!important;
}

body.mlm-page-checkout .mlm42-left,
body.mlm-page-checkout .mlm42-right{
  width:100%!important;
  min-width:0!important;
}

body.mlm-page-checkout .mlm42-right{
  position:sticky!important;
  top:18px!important;
  padding:24px!important;
  border:1px solid #e7e2dd!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 10px 30px rgba(0,0,0,.04)!important;
  box-sizing:border-box!important;
}

body.mlm-page-checkout .mlm42-right-title{
  margin:0 0 16px!important;
  font-family:'Oswald',Arial,sans-serif!important;
  font-size:27px!important;
  line-height:1.1!important;
  font-weight:600!important;
  text-transform:uppercase!important;
  color:#171717!important;
}

body.mlm-page-checkout .mlm42-left #customer_details{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.mlm-page-checkout .mlm42-left #customer_details>.col-1,
body.mlm-page-checkout .mlm42-left #customer_details>.col-2{
  width:100%!important;
  max-width:none!important;
  float:none!important;
  margin:0!important;
}

body.mlm-page-checkout .mlm42-right #order_review{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  position:static!important;
  background:transparent!important;
}
body.mlm-page-checkout .mlm42-right #order_review:before{
  display:none!important;
  content:none!important;
}

body.mlm-page-checkout .mlm42-right table.shop_table{
  display:table!important;
  width:100%!important;
  visibility:visible!important;
  opacity:1!important;
  margin:0 0 16px!important;
}
body.mlm-page-checkout .mlm42-right #payment{
  display:block!important;
  width:100%!important;
  margin:14px 0 0!important;
}
body.mlm-page-checkout .mlm42-right #payment .place-order{
  display:block!important;
}
body.mlm-page-checkout .mlm42-right #place_order{
  display:block!important;
  width:100%!important;
  margin:16px 0 0!important;
  min-height:52px!important;
  background:#c91c24!important;
  color:#fff!important;
  border:0!important;
  border-radius:10px!important;
  font-family:'Oswald',Arial,sans-serif!important;
  font-size:17px!important;
  font-weight:600!important;
}

/* Billing: phone and email in one row */
@media(min-width:901px){
  body.mlm-page-checkout #billing_phone_field,
  body.mlm-page-checkout #billing_email_field{
    width:48.5%!important;
    clear:none!important;
  }
  body.mlm-page-checkout #billing_phone_field{float:left!important;}
  body.mlm-page-checkout #billing_email_field{float:right!important;}
}

/* Coupon */
body.mlm-page-checkout form.checkout_coupon{
  display:none!important;
  width:100%!important;
  grid-template-columns:minmax(0,1fr) 220px!important;
  gap:12px!important;
  align-items:center!important;
  padding:18px!important;
  margin:0 0 18px!important;
  box-sizing:border-box!important;
  border:1px solid #e7e2dd!important;
  border-radius:14px!important;
  background:#fff!important;
}
body.mlm-page-checkout form.checkout_coupon.mlm42-open{
  display:grid!important;
}
body.mlm-page-checkout form.checkout_coupon .mlm42-coupon-field{
  display:block!important;
  width:100%!important;
  margin:0!important;
}
body.mlm-page-checkout form.checkout_coupon input[name="coupon_code"]{
  display:block!important;
  width:100%!important;
  height:50px!important;
  margin:0!important;
  padding:0 15px!important;
  border:1px solid #d9d4cf!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#1b1b1b!important;
}
body.mlm-page-checkout form.checkout_coupon button[name="apply_coupon"]{
  display:block!important;
  width:100%!important;
  height:50px!important;
  margin:0!important;
  border:0!important;
  border-radius:10px!important;
  background:#c91c24!important;
  color:#fff!important;
  font-family:'Oswald',Arial,sans-serif!important;
}

/* Prevent accidental duplicate / orphan purchase button outside review */
body.mlm-page-checkout form.checkout.woocommerce-checkout > #place_order,
body.mlm-page-checkout form.checkout.woocommerce-checkout > .place-order{
  display:none!important;
}

@media(max-width:900px){
  body.mlm-page-checkout .mlm42-checkout-grid{
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
  }
  body.mlm-page-checkout .mlm42-left{order:1!important;}
  body.mlm-page-checkout .mlm42-right{
    order:2!important;
    position:static!important;
    padding:18px 15px!important;
  }
  body.mlm-page-checkout form.checkout_coupon.mlm42-open{
    grid-template-columns:1fr!important;
  }
  body.mlm-page-checkout #billing_phone_field,
  body.mlm-page-checkout #billing_email_field{
    width:100%!important;
    float:none!important;
  }
}

/* Milano v4.3 – Coupon input visible fix */
body.mlm-page-checkout form.checkout_coupon.mlm42-open,
body.mlm-page-checkout form.checkout_coupon.mlm43-open{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 220px!important;
  gap:12px!important;
  align-items:center!important;
}
body.mlm-page-checkout form.checkout_coupon .mlm43-coupon-field{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
body.mlm-page-checkout form.checkout_coupon .mlm43-coupon-field input[name="coupon_code"],
body.mlm-page-checkout form.checkout_coupon input[name="coupon_code"]{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:static!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:50px!important;
  margin:0!important;
  padding:0 15px!important;
  border:1px solid #d8d3ce!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#1b1b1b!important;
  font-size:14px!important;
  box-sizing:border-box!important;
}
body.mlm-page-checkout form.checkout_coupon button[name="apply_coupon"]{
  display:block!important;
  width:100%!important;
  height:50px!important;
}
@media(max-width:900px){
  body.mlm-page-checkout form.checkout_coupon.mlm42-open,
  body.mlm-page-checkout form.checkout_coupon.mlm43-open{
    grid-template-columns:1fr!important;
  }
}


/* Milano v4.4 – server-rendered WooCommerce coupon field */
body.mlm-page-checkout form.checkout_coupon:not(.mlm44-coupon-form){display:none!important;}
body.mlm-page-checkout form.mlm44-coupon-form{
 display:none!important;width:100%!important;grid-template-columns:minmax(0,1fr) 220px!important;gap:12px!important;
 align-items:center!important;padding:18px!important;margin:0 0 18px!important;box-sizing:border-box!important;
 border:1px solid #e7e2dd!important;border-radius:14px!important;background:#fff!important;
}
body.mlm-page-checkout form.mlm44-coupon-form.mlm44-open{display:grid!important;}
body.mlm-page-checkout form.mlm44-coupon-form .mlm44-coupon-field,
body.mlm-page-checkout form.mlm44-coupon-form .mlm44-coupon-button{display:block!important;margin:0!important;padding:0!important;width:100%!important;}
body.mlm-page-checkout form.mlm44-coupon-form input[name="coupon_code"]{
 display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;max-width:none!important;height:50px!important;
 margin:0!important;padding:0 15px!important;box-sizing:border-box!important;border:1px solid #d8d3ce!important;border-radius:10px!important;
 background:#fff!important;color:#1b1b1b!important;font-size:15px!important;
}
body.mlm-page-checkout form.mlm44-coupon-form button[name="apply_coupon"]{
 display:block!important;width:100%!important;height:50px!important;margin:0!important;border:0!important;border-radius:10px!important;
 background:#c91c24!important;color:#fff!important;font-family:'Oswald',Arial,sans-serif!important;font-weight:600!important;
}
@media(max-width:900px){body.mlm-page-checkout form.mlm44-coupon-form.mlm44-open{grid-template-columns:1fr!important;}}

/* Milano v4.5 – coupon + final order button */
body.mlm-page-checkout form.checkout_coupon.mlm45-open{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 220px!important;
  gap:12px!important;
  align-items:center!important;
}
body.mlm-page-checkout form.checkout_coupon .mlm45-coupon-field{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
body.mlm-page-checkout form.checkout_coupon .mlm45-coupon-field input[name="coupon_code"]{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:static!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:50px!important;
  margin:0!important;
  padding:0 15px!important;
  border:1px solid #d8d3ce!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#1b1b1b!important;
  box-sizing:border-box!important;
}
body.mlm-page-checkout form.checkout.woocommerce-checkout > #place_order,
body.mlm-page-checkout form.checkout.woocommerce-checkout > .place-order,
body.mlm-page-checkout .woocommerce > #place_order,
body.mlm-page-checkout .woocommerce > .place-order{
  display:none!important;
}
body.mlm-page-checkout #order_review #place_order{
  display:block!important;
  width:100%!important;
  min-height:54px!important;
  margin:18px 0 0!important;
  border:0!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,#d21b24,#b61920)!important;
  color:#fff!important;
  font-family:'Oswald',Arial,sans-serif!important;
  font-size:17px!important;
  font-weight:600!important;
  text-transform:none!important;
}
body.mlm-page-checkout #payment .place-order{
  display:flex!important;
  flex-direction:column!important;
}
body.mlm-page-checkout #payment .woocommerce-terms-and-conditions-wrapper{
  order:1!important;
}
body.mlm-page-checkout #payment #place_order{
  order:2!important;
}
@media(max-width:900px){
  body.mlm-page-checkout form.checkout_coupon.mlm45-open{
    grid-template-columns:1fr!important;
  }
}


/* ==========================================================
   Milano v4.6 – FINAL single WooCommerce coupon form
   ========================================================== */
body.mlm-page-checkout form.checkout_coupon{
  display:none!important;
}
body.mlm-page-checkout form.checkout_coupon.mlm46-open{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 220px!important;
  gap:12px!important;
  align-items:center!important;
  width:100%!important;
  margin:0 0 18px!important;
  padding:18px!important;
  box-sizing:border-box!important;
}
body.mlm-page-checkout form.checkout_coupon.mlm46-open p{
  display:block!important;
  width:100%!important;
  float:none!important;
  margin:0!important;
  padding:0!important;
}
body.mlm-page-checkout form.checkout_coupon.mlm46-open p:first-child{
  display:block!important;
}
body.mlm-page-checkout form.checkout_coupon.mlm46-open input[name="coupon_code"]{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:static!important;
  width:100%!important;
  max-width:none!important;
  height:50px!important;
  margin:0!important;
  padding:0 15px!important;
  box-sizing:border-box!important;
  border:1px solid #d8d3ce!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#1b1b1b!important;
}
body.mlm-page-checkout form.checkout_coupon.mlm46-open button[name="apply_coupon"]{
  display:block!important;
  width:100%!important;
  height:50px!important;
  margin:0!important;
  border:0!important;
  border-radius:10px!important;
  background:#c91d25!important;
  color:#fff!important;
  font-family:'Oswald',Arial,sans-serif!important;
}
@media(max-width:900px){
  body.mlm-page-checkout form.checkout_coupon.mlm46-open{
    grid-template-columns:1fr!important;
  }
}
