/* BD Product Landing Pages: SolaimanLipi typeface, scoped to plugin UI.
 * Font: https://github.com/qnabangla/font-solaimanlipi
 * License indicated by the publisher: SIL Open Font License 1.1.
 * WOFF2 served by jsDelivr with long-lived browser caching; font-display: swap.
 * Loading one regular font (with synthetic bold) keeps the font payload small.
 */
@font-face {
    font-family: "SolaimanLipi";
    src: url("https://cdn.jsdelivr.net/gh/qnabangla/font-solaimanlipi@main/SolaimanLipi.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

/* The stand-alone single, multi and auxiliary views all have .bdlp-body.
 * Keep icon-glyph classes and pseudo-elements free to use their icon fonts. */
body.bdlp-body,
body.bdlp-body .bdlp-page,
body.bdlp-body .bdlp-special-main,
body.bdlp-body .bdlp-pro-footer,
body.bdlp-body .woocommerce,
body.bdlp-body .woocommerce-checkout,
body.bdlp-body .select2-container,
body.bdlp-body .select2-dropdown,
body.bdlp-body :is(h1, h2, h3, h4, h5, h6, p, blockquote, li, label, button, input, textarea, select, option, optgroup, th, td, dt, dd, small, a) {
    font-family: "SolaimanLipi", "Noto Sans Bengali", "Hind Siliguri", sans-serif !important;
}

/* Plugin-owned administration screens, not the main WP admin menu/editor. */
body.wp-admin .bdlp-admin-wrap,
body.wp-admin .bdlp-admin-wrap :is(h1, h2, h3, h4, h5, h6, p, label, button, input, textarea, select, option, th, td, a),
body.wp-admin :is(#bdlp_content, #bdlp_checkout, #bdlp_style, #bdlp_multi_products, #bdlp_publish_help, #bdlp_offer_details, #bdlp-homepage-status),
body.wp-admin :is(#bdlp_content, #bdlp_checkout, #bdlp_style, #bdlp_multi_products, #bdlp_publish_help, #bdlp_offer_details, #bdlp-homepage-status) :is(h1, h2, h3, h4, h5, h6, p, label, button, input, textarea, select, option, th, td, a) {
    font-family: "SolaimanLipi", "Noto Sans Bengali", "Hind Siliguri", sans-serif !important;
}
