/*
Theme Name: Markku Lepistö
Version: 0.2.0
Requires PHP: 8.1
Description: Bilingual editorial theme for staging validation.
*/
body{background:#111210;color:#f3f0e8} .ml-woo{max-width:1180px;margin:40px auto;padding:24px;color:#f3f0e8} .ml-woo a{color:#c9b17c} .ml-woo input,.ml-woo select,.ml-woo textarea{color:#111;background:#fff} .ml-woo .woocommerce-info,.ml-woo .woocommerce-message,.ml-woo .woocommerce-error{color:#222} .ml-woo table{color:inherit} .ml-buy{display:flex;gap:10px;align-items:center} .ml-buy input{width:75px} .ml-buy button{cursor:pointer} .ml-woo #payment{color:#222} .ml-woo #payment a{color:#765c25}
body.ml-commerce-page main.ml-woo{width:100%;max-width:1180px;margin:0 auto;padding:55px 28px 80px;box-sizing:border-box}
.ml-woo .woocommerce a.button,.ml-woo .woocommerce button.button,.ml-woo .woocommerce input.button,.ml-woo #payment #place_order{background:#c9b17c!important;color:#111210!important;border:1px solid #c9b17c!important;border-radius:0!important;padding:14px 20px;font-weight:600;box-shadow:none;text-shadow:none}
.ml-woo .woocommerce button:disabled{opacity:.45}.ml-woo .woocommerce input.input-text,.ml-woo .woocommerce textarea,.ml-woo .woocommerce select,.ml-woo .select2-selection{background:#20211e!important;color:#f3f0e8!important;border:1px solid #54544b!important;border-radius:0!important;padding:10px;min-height:42px}.ml-woo .select2-selection__rendered{color:#f3f0e8!important}.select2-dropdown{background:#20211e;color:#f3f0e8}.ml-woo .woocommerce table.shop_table{border-color:#41413b}.ml-woo .woocommerce table.shop_table td,.ml-woo .woocommerce table.shop_table th{padding:14px 10px}.ml-woo .woocommerce-cart-form img{width:76px!important;max-width:76px;height:auto}.ml-woo .quantity{display:inline-flex;align-items:center;gap:4px}.ml-woo .quantity input.qty{width:45px;background:#20211e;color:#f3f0e8;border:1px solid #54544b;min-height:34px}.ml-qty{background:#20211e;color:#c9b17c;border:1px solid #54544b;min-width:30px;min-height:34px;cursor:pointer}.ml-woo .cart_totals{float:none!important;width:100%!important;background:#20211e;padding:22px;box-sizing:border-box}.ml-woo #payment{background:#20211e;color:#f3f0e8}.ml-woo #payment a{color:#c9b17c}.ml-woo #payment div.payment_box{background:#30312d;color:#f3f0e8}
@media(min-width:900px){.woocommerce-cart .ml-woo>.woocommerce{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:30px;align-items:start}.woocommerce-cart .ml-woo>.woocommerce>.woocommerce-notices-wrapper,.woocommerce-cart .ml-woo>.woocommerce>.cart-empty,.woocommerce-cart .ml-woo>.woocommerce>.return-to-shop{grid-column:1/-1}.ml-woo form.checkout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px 36px;align-items:start}.ml-woo form.checkout #customer_details{grid-column:1;grid-row:1/4}.ml-woo form.checkout #order_review_heading{grid-column:2;grid-row:1;margin:0}.ml-woo form.checkout #order_review{grid-column:2;grid-row:2}.ml-woo form.checkout #customer_details .col-1,.ml-woo form.checkout #customer_details .col-2{float:none;width:100%}.ml-woo form.checkout #customer_details .col-2{margin-top:24px}}

/* Checkout and bundle presentation */
.ml-woo .ml-included{font-size:.85em;color:#b9b6aa;white-space:normal}
.ml-woo #payment div.payment_box{background:#30312d;color:#f3f0e8}
.ml-woo #payment div.payment_box::before{border-bottom-color:#30312d}
.ml-woo #ship-to-different-address label,.ml-woo .woocommerce-terms-and-conditions-checkbox-text{line-height:1.5}
.ml-woo #ship-to-different-address label,.ml-woo .woocommerce-terms-and-conditions-wrapper label.checkbox{display:flex;align-items:flex-start;gap:9px;text-align:left}
.ml-woo #ship-to-different-address input[type=checkbox],.ml-woo #payment input[type=checkbox]{appearance:auto;width:16px!important;height:16px!important;min-height:0!important;margin:3px 0 0!important;position:static!important;flex:0 0 16px}
.ml-woo .woocommerce-order-overview,.ml-woo .wc-bacs-bank-details{line-height:1.6}

/* Override WooCommerce checkout defaults loaded after the theme. */
body .ml-woo .woocommerce #payment div.payment_box{background:#30312d!important;color:#f3f0e8!important}
body .ml-woo .woocommerce #payment div.payment_box::before{border-bottom-color:#30312d!important}
body .ml-woo .woocommerce #ship-to-different-address label{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important}
body .ml-woo .woocommerce #ship-to-different-address label span{display:inline!important;width:auto!important;margin:0!important}
body .ml-woo .woocommerce #ship-to-different-address input[type=checkbox]{display:inline-block!important;float:none!important;margin:0!important}

/* Empty cart notice: match the editorial palette. */
body .ml-woo .woocommerce .cart-empty.woocommerce-info {
    background: #20211e !important;
    color: #f3f0e8 !important;
    border-top: 2px solid #c9b17c !important;
}
body .ml-woo .woocommerce .cart-empty.woocommerce-info::before {
    color: #c9b17c !important;
}

/* Classic checkout: payment method presentation only. */
body .ml-woo .woocommerce #payment {background:#20211e!important;color:#f3f0e8!important;}
body .ml-woo .woocommerce #payment ul.payment_methods > li.wc_payment_method {display:grid!important;grid-template-columns:18px minmax(0,1fr);column-gap:10px;align-items:center;padding:10px 0;margin:0;border-bottom:1px solid #41413b;}
body .ml-woo .woocommerce #payment ul.payment_methods > li.wc_payment_method > input[type=radio] {appearance:auto!important;display:inline-block!important;position:static!important;float:none!important;width:16px!important;height:16px!important;min-height:0!important;padding:0!important;margin:0!important;accent-color:#c9b17c;grid-column:1;grid-row:1;}
body .ml-woo .woocommerce #payment ul.payment_methods > li.wc_payment_method > label {display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap;gap:8px;width:auto!important;margin:0!important;font-size:15px!important;line-height:1.5;color:#f3f0e8!important;grid-column:2;grid-row:1;cursor:pointer;}
body .ml-woo .woocommerce #payment ul.payment_methods > li.wc_payment_method > label img {display:inline-block!important;float:none!important;width:auto!important;max-width:100%;max-height:30px!important;margin:0 0 0 auto!important;object-fit:contain;}
body .ml-woo .woocommerce #payment ul.payment_methods > li.wc_payment_method > label img[src*="trustly" i] {background:#fff;padding:4px 7px;border-radius:3px;box-sizing:content-box;}
body .ml-woo .woocommerce #payment ul.payment_methods > li.wc_payment_method > :not(input[type=radio]):not(label) {grid-column:1/-1;min-width:0;}
