
/* BAMBUKER 2.3.3 — mobile typography, pricing and WooCommerce checkout polish */
@media (max-width:767px) {
  /* Product prices: currency stays on the same line, both regular and sale prices. */
  body.woocommerce-shop ul.products li.product .price,
  body.woocommerce-shop ul.products li.product .price *,
  body.woocommerce-shop ul.products li.product .price del,
  body.woocommerce-shop ul.products li.product .price ins,
  body.woocommerce-shop ul.products li.product .price .woocommerce-Price-amount,
  body.woocommerce-shop ul.products li.product .price .woocommerce-Price-currencySymbol,
  body.woocommerce-shop ul.products li.product .price bdi {
    font-size: 14px !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    white-space: nowrap !important;
  }
  body.woocommerce-shop ul.products li.product .price {
    display: flex !important;
    align-items: baseline;
    flex-wrap: wrap !important;
    gap: 3px 8px;
    min-width: 0;
    margin: 10px 0 !important;
  }
  body.woocommerce-shop ul.products li.product .price del {opacity:.65}
  body.woocommerce-shop ul.products li.product .price ins {text-decoration:none}
  body.woocommerce-shop ul.products li.product .woocommerce-Price-amount {display:inline-block !important}
  body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title {font-size:13px!important;line-height:1.45!important;overflow-wrap:break-word!important}
  body.woocommerce-shop ul.products li.product .button {font-size:12px!important;min-height:42px!important;padding:11px 6px!important;text-align:center!important}
  /* FAQ: consistent padding and typography on category and material pages. */
  .ld-edit-faq, .bcs228-seo, .ld-category-system .ld-cat-faq, .ld-category-system .ld-faq,
  .woocommerce-page .faq, .woocommerce-page .faq-section {
    box-sizing:border-box;
    padding-left:18px!important;
    padding-right:18px!important;
  }
  .ld-edit-faq h2,.ld-edit-faq h3,.ld-edit-faq p,
  .ld-category-system details,.ld-category-system summary,
  .bcs228-seo details,.bcs228-seo summary,
  .woocommerce-page .faq details,.woocommerce-page .faq summary {
    box-sizing:border-box;max-width:100%;overflow-wrap:break-word;
  }
  .ld-edit-faq h2,.ld-category-system .ld-faq h2 {font-size:clamp(22px,5.5vw,28px)!important;line-height:1.25!important}
  .ld-edit-faq h3,.ld-category-system .ld-faq h3 {font-size:17px!important;line-height:1.45!important;margin:20px 0 8px!important}
  .ld-edit-faq p,.ld-category-system .ld-faq p {font-size:15px!important;line-height:1.65!important}
  .ld-category-system details summary,.bcs228-seo details summary {padding:16px 30px 16px 0!important;font-size:16px!important;line-height:1.45!important;position:relative}
  /* Contact page: use coherent typography, avoid tiny contact text. */
  body.page .entry-content .wp-block-group:has(a[href^="mailto:"]),
  body.page .entry-content .wp-block-group:has(a[href^="tel:"]) {overflow-wrap:anywhere}
  body.page .entry-content a[href^="mailto:"],
  body.page .entry-content a[href^="tel:"] {font-size:clamp(15px,4vw,18px)!important;line-height:1.5!important;overflow-wrap:anywhere}
  /* Checkout, both shortcode and WooCommerce Blocks. */
  body.woocommerce-checkout .woocommerce,
  body.woocommerce-checkout .woocommerce-checkout,
  body.woocommerce-checkout .wc-block-checkout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout {
    max-width:100%;min-width:0;box-sizing:border-box;
  }
  body.woocommerce-checkout .woocommerce-checkout .col2-set,
  body.woocommerce-checkout .woocommerce-checkout .col-1,
  body.woocommerce-checkout .woocommerce-checkout .col-2,
  body.woocommerce-checkout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-components-sidebar {
    float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;
  }
  body.woocommerce-checkout .woocommerce-checkout input.input-text,
  body.woocommerce-checkout .woocommerce-checkout select,
  body.woocommerce-checkout .woocommerce-checkout textarea,
  body.woocommerce-checkout .wc-block-components-text-input input,
  body.woocommerce-checkout .wc-block-components-combobox input {
    max-width:100%!important;box-sizing:border-box!important;font-size:16px!important;
  }
  body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input,
  body.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox {min-width:0!important}
  body.woocommerce-checkout .wc-block-components-radio-control__option,
  body.woocommerce-checkout .wc-block-components-shipping-rates-control,
  body.woocommerce-checkout .wc-block-components-totals-wrapper {
    box-sizing:border-box!important;max-width:100%!important;min-width:0!important;
    overflow-wrap:break-word;
  }
  body.woocommerce-checkout .wc-block-components-radio-control__option-layout,
  body.woocommerce-checkout .wc-block-components-radio-control__label-group {
    min-width:0!important;flex:1 1 auto!important;
  }
  body.woocommerce-checkout .wc-block-components-radio-control__option-layout,
  body.woocommerce-checkout .wc-block-components-radio-control__description,
  body.woocommerce-checkout .wc-block-components-radio-control__label,
  body.woocommerce-checkout .woocommerce-checkout label {
    font-size:14px!important;line-height:1.5!important;
  }
  body.woocommerce-checkout .wc-block-components-title,
  body.woocommerce-checkout .woocommerce-checkout h3 {font-size:clamp(20px,5vw,26px)!important;line-height:1.3!important}
  body.woocommerce-checkout .wc-block-components-checkout-step {padding-left:0!important;padding-right:0!important}
  body.woocommerce-checkout .wc-block-components-radio-control__option {padding:12px 10px!important}
}
