/* Shared presentation, loaded after the design and WooCommerce defaults. */
body.mg-v3 .mgtheme-cart .wc-proceed-to-checkout a.checkout-button,body.mg-v3 .mgtheme-checkout #place_order{display:flex;width:100%;align-items:center;justify-content:center;min-height:52px;margin:0;padding:15px 18px;background:#cf0c7c!important;border:0!important;border-radius:12px!important;color:#fff!important;font:800 16px/1.4 Nunito,Arial,sans-serif!important;text-align:center;text-decoration:none;box-shadow:0 5px 16px #b4117315}
body.mg-v3 .mgtheme-cart .wc-proceed-to-checkout a.checkout-button:hover,body.mg-v3 .mgtheme-checkout #place_order:hover{background:#ae0767!important}
body.mg-v3 .mgtheme-cart .actions .coupon{float:none;display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
body.mg-v3 .mgtheme-cart .actions>button{float:none;margin:0}
/* Keep Woo's real selection for checkout; only hide it once the slider has matched it. */
body.mg-v3 .mg-buy form.mg-slider-ready table.variations,body.mg-v3 .mg-buy form.mg-slider-ready .reset_variations,body.mg-v3 .mg-buy form.mg-slider-ready .woocommerce-variation-price{display:none!important}
body.mg-v3 .mg-buy form.cart .single_add_to_cart_button{background:#cf0c7c!important;color:white!important;min-height:52px;border:0;border-radius:12px;font:800 16px/1.4 Nunito,Arial,sans-serif;padding:15px 20px}
body.mg-v3 .mg-buy .single_variation_wrap{width:100%}
/* Native checkout: all Woo hooks, validation and payment fields stay in place. */
body.mg-v3 .mgtheme-checkout{padding:40px 0 64px}
.mgtheme-checkout>.wrap{max-width:1180px}
.mgtheme-checkout h1{font-size:clamp(34px,4vw,48px);max-width:800px;margin-bottom:32px}
.mgtheme-checkout .woocommerce{width:100%}
.mgtheme-checkout .woocommerce form.checkout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:20px 28px;align-items:start}
.mgtheme-checkout .woocommerce form.checkout>#customer_details{grid-column:1;grid-row:1 / span 2;width:100%;margin:0}
.mgtheme-checkout #order_review_heading{grid-column:2;grid-row:1;margin:0}
.mgtheme-checkout #order_review{grid-column:2;grid-row:2;min-width:0}
.mgtheme-checkout .col2-set .col-1,.mgtheme-checkout .col2-set .col-2{float:none!important;width:100%!important}
.mgtheme-checkout .woocommerce-billing-fields h3{margin-top:0}
.mgtheme-checkout .woocommerce-billing-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.mgtheme-checkout .woocommerce .form-row{float:none;width:100%;margin:0 0 17px;padding:0;grid-column:1/-1}
.mgtheme-checkout .woocommerce .form-row-first,.mgtheme-checkout .woocommerce .form-row-last{grid-column:auto}
.mgtheme-checkout .form-row label{display:block;margin-bottom:7px;line-height:1.5}
.mgtheme-checkout .woocommerce-input-wrapper{display:block;width:100%}
.mgtheme-checkout :is(input.input-text,textarea,select){font:500 16px/1.4 Nunito,Arial,sans-serif;box-sizing:border-box;max-width:100%}
.mgtheme-checkout .select2-container{width:100%!important}
.mgtheme-checkout .select2-container .select2-selection{height:48px;padding:8px 10px}
.mgtheme-checkout .select2-selection__arrow{top:11px}
.mgtheme-checkout table.shop_table{width:100%;margin:0 0 24px;border:0;border-collapse:collapse}
.mgtheme-checkout table.shop_table th,.mgtheme-checkout table.shop_table td{border:0;border-bottom:1px solid #e9e0ef;text-align:left;vertical-align:top;padding:13px 5px;font-size:14px}
.mgtheme-checkout table.shop_table th:last-child,.mgtheme-checkout table.shop_table td:last-child{text-align:right}
.mgtheme-checkout .order-total{font-weight:900;font-size:18px}
.mgtheme-checkout .includes_tax{display:block;font-size:11px;color:#786782;white-space:normal}
.mgtheme-checkout #payment{padding:18px;background:#f8f3fc!important}
.mgtheme-checkout #payment ul.payment_methods{list-style:none;padding:0;margin:0 0 20px;border:0}
.mgtheme-checkout #payment ul.payment_methods li{list-style:none;margin:0;padding:13px 0;border-bottom:1px solid #e8dbee;line-height:1.6}
.mgtheme-checkout #payment ul.payment_methods li>input{display:inline-block;width:18px;height:18px;margin:0 8px 0 0;vertical-align:middle}
.mgtheme-checkout #payment ul.payment_methods li>label{display:inline;font:800 14px/1.6 Nunito,Arial,sans-serif;color:#352046}
.mgtheme-checkout #payment ul.payment_methods li>label img{display:inline-block;vertical-align:middle;margin:0 0 0 10px;max-width:68px;max-height:28px;width:auto;height:auto}
.mgtheme-checkout #payment .payment_box{padding:14px;border-radius:8px;margin:12px 0 0;font-size:13px}
.mgtheme-checkout #payment .place-order{margin:0;padding:0}
.mgtheme-checkout #payment .woocommerce-terms-and-conditions-wrapper{margin-bottom:18px}
.mgtheme-checkout .woocommerce-privacy-policy-text p{font-size:12px;line-height:1.7}
.mgtheme-checkout .form-row .woocommerce-form__label-for-checkbox{display:block;font-size:12px;font-weight:600}
.mgtheme-checkout .woocommerce-error,.mgtheme-checkout .woocommerce-info,.mgtheme-checkout .woocommerce-message{padding:16px 20px;margin:0 0 22px;list-style:none;line-height:1.6;border:1px solid #dcc5e9;border-radius:12px;background:white}
.mgtheme-checkout .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}
/* Preserved WordPress page content gets a consistent readable shell. */
body.mg-v3 .mg-native-content{padding:45px 0 65px;background:#faf7ff}
.mg-native-content> .wrap>article:not(.mg-native-builder){max-width:900px;margin:auto}
.mg-native-content article>h1{font:clamp(36px,4vw,50px)/1.15 Coffee,Nunito,sans-serif;margin:0 0 30px}
.mg-native-content .entry-content{font:400 17px/1.8 Nunito,Arial,sans-serif;color:#493651}
.mg-native-content .entry-content :is(h2,h3){font-family:Coffee,Nunito,sans-serif;line-height:1.2;color:#321744;margin:32px 0 18px}
.mg-native-content .entry-content p{margin:0 0 20px}
.mg-native-content .entry-content :is(ul,ol){padding-left:24px;margin:16px 0 24px}
.mg-native-content .entry-content :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]),textarea,select){max-width:100%;padding:12px;border:1px solid #d7c7e2;border-radius:9px;background:#fff;color:#321744;font:inherit}
.mg-native-content .entry-content table{width:100%;border-collapse:collapse;display:block;overflow:auto}
.mg-native-content .entry-content :is(th,td){border-bottom:1px solid #ded3e8;padding:12px;text-align:left}
.mg-native-content .entry-content summary{padding:16px 0;font-weight:800;cursor:pointer}
.mg-native-content .entry-content details{border-bottom:1px solid #ded3e8}
@media(max-width:760px){body.mg-v3 .mgtheme-checkout{padding:28px 0 45px}.mgtheme-checkout .woocommerce form.checkout{display:block}.mgtheme-checkout #order_review_heading{margin:28px 0 16px}.mgtheme-checkout .woocommerce-billing-fields__field-wrapper{grid-template-columns:1fr}.mgtheme-checkout .woocommerce .form-row-first,.mgtheme-checkout .woocommerce .form-row-last{grid-column:1}.mgtheme-checkout h1{font-size:35px}.mgtheme-checkout #payment{padding:15px}.mgtheme-checkout table.shop_table td{font-size:13px}body.mg-v3 .mg-native-content{padding:30px 0 45px}}
.mgtheme-checkout .woocommerce form.checkout{grid-template-rows:auto 1fr}
.mgtheme-checkout .mgtheme-cart-back{display:inline-block;font-size:14px;font-weight:800;text-decoration:none;margin-bottom:23px}
