/* =========================================================
   BabyLife 2.7.7 — conversion + checkout clarity hardening
   Visual/interaction layer only. WooCommerce cart, fields, gateway,
   coupon, stock, variation and order logic remain native.
   ========================================================= */

/* Product: make the purchase decision area cleaner. */
.single-product .product_meta{display:none !important}
.single-product div.product .summary .price{margin-bottom:8px !important}
.single-product .blsc-decision-strip{margin-bottom:8px !important}
.single-product form.cart{margin-top:7px !important}
.single-product form.cart .quantity .qty{min-height:46px !important}
.single-product form.cart .single_add_to_cart_button{min-height:50px !important;font-size:14px !important}
.single-product form.variations_form table.variations{margin-bottom:8px !important}
.single-product form.variations_form table.variations select{min-height:48px !important;border-radius:12px !important}
.single-product .blsc-after-cart-reassurance{font-size:10px !important;line-height:1.8 !important}

/* Avoid large floating chat panels covering the product, tabs or checkout path. */
body.single-product .babylife-whatsapp-float,
body.single-product .babylife-bale-float{
  max-width:58px !important;
  width:58px !important;
  min-width:58px !important;
  height:58px !important;
  min-height:58px !important;
  padding:5px !important;
  border-radius:50% !important;
  overflow:hidden !important;
}
body.single-product .babylife-whatsapp-text,
body.single-product .babylife-bale-text,
body.single-product .babylife-whatsapp-content,
body.single-product .babylife-bale-content{display:none !important}

/* Cart: checkout action remains visually dominant. */
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
body.woocommerce-cart a.checkout-button{
  min-height:50px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:13px !important;
  background:#ff7a30 !important;
  color:#fff !important;
  font-weight:950 !important;
}

/* Checkout: make errors, payment methods and final action impossible to miss. */
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-error,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-NoticeGroup-checkout,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-notice-banner.is-error{
  scroll-margin-top:18px;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-error{
  margin:0 0 14px !important;
  padding:13px 15px !important;
  border:1px solid #f2c8c8 !important;
  border-radius:12px !important;
  background:#fff5f5 !important;
  color:#9c2f2f !important;
  font-size:12px !important;
  line-height:1.9 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment{
  min-width:0;
  max-width:100%;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment{
  margin-top:14px !important;
  padding:12px !important;
  border:1px solid #e7dfe4 !important;
  border-radius:16px !important;
  background:#fff !important;
  box-shadow:0 10px 26px rgba(44,31,39,.045) !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment ul.payment_methods{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment ul.payment_methods>li{
  margin:0 0 8px !important;
  padding:11px 10px !important;
  border:1px solid #eee7eb !important;
  border-radius:12px !important;
  background:#fff !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment ul.payment_methods>li:has(input:checked){
  border-color:#d9bdd0 !important;
  background:#fff9fc !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .payment_box{
  margin:9px 0 0 !important;
  padding:10px 11px !important;
  border-radius:10px !important;
  background:#f8f6f7 !important;
  font-size:11px !important;
  line-height:1.9 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #place_order{
  width:100% !important;
  min-height:54px !important;
  margin-top:10px !important;
  border:0 !important;
  border-radius:14px !important;
  background:#ff7a30 !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:950 !important;
  box-shadow:0 9px 22px rgba(255,122,48,.19) !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout input.input-text,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout select,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .select2-selection{
  min-height:46px !important;
  border-radius:11px !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout textarea.input-text{min-height:92px !important;border-radius:11px !important}
body.woocommerce-checkout:not(.woocommerce-order-received) .shop_table.woocommerce-checkout-review-order-table{
  width:100% !important;
  table-layout:auto !important;
}

@media (max-width:820px){
  body.single-product .babylife-whatsapp-float,
  body.single-product .babylife-bale-float{
    width:46px !important;min-width:46px !important;height:46px !important;min-height:46px !important;
  }
  body.woocommerce-checkout:not(.woocommerce-order-received) .blsc-content-shell{
    width:calc(100% - 16px) !important;
    max-width:calc(100% - 16px) !important;
    padding-top:14px !important;
  }
  body.woocommerce-checkout:not(.woocommerce-order-received) .blsc-checkout-focus-v276{
    align-items:stretch;
    flex-direction:column;
  }
  body.woocommerce-checkout:not(.woocommerce-order-received) .blsc-checkout-focus-v276>a{width:100%}
  body.woocommerce-checkout:not(.woocommerce-order-received) #payment{padding:9px !important}
}
