/* BAMBUKER theme lameli-decor-v9-2 + WooCommerce Blocks mobile overrides */
@media(max-width:768px){
 html,body{max-width:100%;overflow-x:clip}
 .ld-product-commerce,.ld-product-summary,.ld-product-shell,.ld-commerce-page,.ld-commerce-shell{min-width:0;box-sizing:border-box;max-width:100%}
 .ld-product-commerce{padding:16px!important}
 .ld-product-commerce .ld-product-cart form.cart{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 .ld-product-commerce .ld-product-cart .quantity{width:100%!important;max-width:100%!important;grid-template-columns:56px minmax(0,1fr) 56px!important;box-sizing:border-box}
 .ld-product-commerce .ld-product-cart .quantity input.qty{width:100%!important;min-width:0!important}
 .ld-product-commerce .ld-product-price{font-size:clamp(25px,7vw,38px)!important}
 .ld-product-total{gap:10px!important;flex-wrap:wrap}
 .ld-product-total strong{font-size:clamp(21px,6vw,30px)!important}
 .ld-mobile-buybar{bottom:76px!important;z-index:80!important;box-sizing:border-box;max-width:100vw!important}
 .ld-mobile-buybar .ld-mobile-qty{max-width:100%;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .ld-mobile-buybar .ld-mobile-qty button{width:100%!important}
 body.single-product{padding-bottom:220px!important}
 /* Expanded theme menu: remove duplicate cart link (bottom navigation already has a cart). */
 .mobile-panel > a.ld-cart-link{display:none!important}
 /* WooCommerce Blocks CART: flex rows must be allowed to shrink on narrow phones. */
 .ld-commerce-shell,.ld-commerce-shell .wp-block-woocommerce-cart,.ld-commerce-shell .wp-block-woocommerce-checkout,
 .ld-commerce-shell .wc-block-cart,.ld-commerce-shell .wc-block-components-sidebar-layout,
 .ld-commerce-shell .wc-block-cart-items,.ld-commerce-shell .wc-block-components-main,
 .ld-commerce-shell .wc-block-cart__main,.ld-commerce-shell .wc-block-cart__sidebar,
 .ld-commerce-shell .wc-block-checkout__main,.ld-commerce-shell .wc-block-checkout__sidebar{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 .ld-commerce-shell{width:calc(100% - 24px)!important;padding:24px 0 100px!important}
 .ld-commerce-shell .wc-block-components-sidebar-layout{display:block!important}
 .ld-commerce-shell .wc-block-cart__main,.ld-commerce-shell .wc-block-checkout__main{padding:0!important}
 .ld-commerce-shell .wc-block-cart__sidebar,.ld-commerce-shell .wc-block-checkout__sidebar{margin:20px 0 0!important;padding:16px!important}
 .ld-commerce-shell .wc-block-cart-items{table-layout:fixed!important}
 .ld-commerce-shell .wc-block-cart-items__row{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:10px!important;padding:16px 0!important;min-width:0!important}
 .ld-commerce-shell .wc-block-cart-items__row td{display:block!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;padding:0!important}
 .ld-commerce-shell .wc-block-cart-item__image{grid-column:1!important;grid-row:1!important}
 .ld-commerce-shell .wc-block-cart-item__product{grid-column:2!important;grid-row:1!important}
 .ld-commerce-shell .wc-block-cart-item__total{grid-column:2!important;grid-row:2!important;text-align:left!important}
 .ld-commerce-shell .wc-block-cart-item__image img{max-width:76px!important;width:100%!important;height:auto!important;object-fit:contain}
 .ld-commerce-shell .wc-block-components-product-name{font-size:clamp(15px,4.2vw,18px)!important;line-height:1.3!important;overflow-wrap:anywhere!important;word-break:normal!important}
 .ld-commerce-shell .wc-block-components-product-details,.ld-commerce-shell .wc-block-components-product-metadata,
 .ld-commerce-shell .wc-block-components-product-price{font-size:13px!important;overflow-wrap:anywhere!important}
 .ld-commerce-shell .wc-block-components-product-badge,.ld-commerce-shell .wc-block-components-sale-badge{max-width:100%!important;white-space:normal!important;font-size:11px!important}
 .ld-commerce-shell .wc-block-components-quantity-selector{max-width:150px!important;width:100%!important;box-sizing:border-box!important}
 .ld-commerce-shell .wc-block-components-quantity-selector input{min-width:0!important}
 /* Checkout Blocks: prevent off-screen fields and oversized radio choices. */
 .ld-commerce-shell .wc-block-components-text-input,.ld-commerce-shell .wc-block-components-address-form,
 .ld-commerce-shell .wc-block-components-combobox,.ld-commerce-shell .wc-block-components-radio-control,
 .ld-commerce-shell .wc-block-components-radio-control__option,.ld-commerce-shell .wc-block-components-checkout-step,
 .ld-commerce-shell .wc-block-components-form,.ld-commerce-shell .wc-block-components-select,
 .ld-commerce-shell .wc-block-components-totals-wrapper{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 .ld-commerce-shell .wc-block-components-text-input input,.ld-commerce-shell .wc-block-components-text-input textarea,
 .ld-commerce-shell .wc-block-components-combobox input,.ld-commerce-shell select{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;font-size:16px!important}
 .ld-commerce-shell .wc-block-components-radio-control__option{display:flex!important;align-items:flex-start!important;gap:10px!important;padding:12px!important}
 .ld-commerce-shell .wc-block-components-radio-control__input{position:static!important;flex:0 0 19px!important;width:19px!important;height:19px!important;margin:2px 0 0!important;transform:none!important}
 .ld-commerce-shell .wc-block-components-radio-control__label,
 .ld-commerce-shell .wc-block-components-radio-control__description{overflow-wrap:anywhere!important;white-space:normal!important;line-height:1.4!important}
 .ld-commerce-shell .wc-block-components-radio-control__option > div{min-width:0!important;flex:1 1 auto!important}
 .ld-commerce-shell .wc-block-components-checkout-step__heading{font-size:clamp(23px,6vw,32px)!important}
 .ld-commerce-shell .wc-block-components-order-summary-item{min-width:0!important}
 .ld-commerce-shell .wc-block-components-order-summary-item__description{min-width:0!important;overflow-wrap:anywhere!important}
}
.bcs-commerce-notice{position:fixed;left:50%;bottom:calc(155px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:999999;max-width:calc(100vw - 28px);box-sizing:border-box;background:#18271e;color:white;padding:12px 18px;border-radius:8px;box-shadow:0 10px 30px #0003;font:500 14px/1.4 system-ui,sans-serif;text-align:center;pointer-events:none}
.bcs-commerce-notice.is-error{background:#8a302d}

/* v2.6.1: Remove redundant fixed mobile product purchase strip.
   Product page already has the main quantity/add-to-cart/buy-now controls;
   the theme's sticky .ld-mobile-buybar duplicates them and obscures content. */
@media (max-width: 768px) {
  body.single-product .ld-mobile-buybar,
  body.single-product .ld-mobile-buybar-wrap,
  body.single-product .ld-mobile-buybar-wrapper {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  body.single-product { padding-bottom: 90px !important; }
}
