/* Everything that changes existing UI is scoped to mobile + an enabled module. */
#bsm-discovery { display: none; }
.bsm-format-heading { display: none; }
#bsm-categories:not([open]) { display: none; }
.bsm-promo-short { display: none; }
@media (max-width: 849px) {
    body.bsm-enabled { --bsm-blue: #1e73be; --bsm-line: #d9e3eb; }
    .bsm-rewards .bsr-top-bar { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px !important; padding: 8px 12px !important; background: #edf5fc !important; color: #164f80 !important; border-bottom: 1px solid #d9e3eb; }
    .bsm-rewards .bsr-top-bar > [data-bsr-top-message] { grid-column: 1; grid-row: 1; text-align: left; font-size: 13px !important; line-height: 1.4 !important; min-width: 0; }
    .bsm-rewards .bsr-top-bar.bsm-promo-default > [data-bsr-top-message] { display: none; }
    .bsm-rewards .bsr-top-bar.bsm-promo-default .bsm-promo-short { display: flex; flex-direction: column; gap: 2px; grid-column: 1; grid-row: 1; text-align: left; min-width: 0; }
    .bsm-rewards .bsm-promo-short > span { font-size: 11px; line-height: 1.35; color: #385c78; }
    .bsm-rewards .bsm-promo-short > strong { font-size: 14px; line-height: 1.35; color: #164f80; }
    .bsm-rewards .bsr-top-progress-button { grid-column: 2; grid-row: 1; min-height: 44px !important; margin: 0 !important; padding: 8px 10px !important; font-size: 12px !important; line-height: 1.2 !important; white-space: nowrap; border: 1px solid #c4d7e8 !important; border-radius: 8px !important; color: #164f80 !important; background: #fff !important; text-transform: none; letter-spacing: 0; }
    .bsm-enabled #bsm-discovery:not([hidden]) {
        display: block; padding: 10px 15px 8px; background: #fff;
        border-bottom: 1px solid var(--bsm-line);
    }
    .bsm-enabled .bsm-search { display: flex; gap: 8px; margin: 0; }
    .bsm-enabled .bsm-search input[type="search"] {
        flex: 1; min-width: 0; width: auto; height: 46px; margin: 0;
        font-size: 16px; border: 1px solid #9aabb9; border-radius: 8px;
        background: #fff; color: #202b33; box-shadow: none; padding: 0 12px;
    }
    .bsm-enabled .bsm-search button {
        flex: 0 0 auto; min-height: 46px; margin: 0; padding: 0 14px;
        border-radius: 8px; background: var(--bsm-blue); color: #fff;
        font-size: 14px; line-height: 1.2; text-transform: none; letter-spacing: normal;
    }
    .bsm-enabled .bsm-shortcuts {
        display: flex; overflow-x: auto; gap: 8px; padding: 9px 0 3px;
        scrollbar-width: thin; -webkit-overflow-scrolling: touch;
    }
    .bsm-enabled .bsm-shortcuts a,
    .bsm-enabled .bsm-shortcuts button:not([hidden]) {
        display: inline-flex; align-items: center; justify-content: center;
        flex: 0 0 auto; min-height: 44px; padding: 0 14px;
        border: 1px solid var(--bsm-line); border-radius: 22px;
        background: #f3f7fb; color: #164f80; font-size: 14px; font-weight: 700;
        text-decoration: none; white-space: nowrap;
    }
    .bsm-enabled .bsm-shortcuts button { margin: 0; line-height: 1.2; text-transform: none; letter-spacing: 0; }
    .bsm-enabled .bsm-shortcuts button:not([hidden]) { background: #164f80; color: #fff; border-color: #164f80; }
    body.bsm-menu-open { overflow: hidden; }
    #bsm-categories {
        position: fixed; inset: 0; margin: 0; width: min(440px, 100%); height: 100%; height: 100dvh;
        max-width: 100%; max-height: 100%; padding: 0 20px 24px; border: 0;
        background: #fff; color: #202b33; overflow-y: auto; overscroll-behavior: contain;
    }
    #bsm-categories::backdrop { background: rgba(15, 30, 45, .55); }
    #bsm-categories .bsm-menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; background: #fff; z-index: 1; padding: 14px 0; border-bottom: 1px solid #d9e3eb; }
    #bsm-categories h2 { font-size: 20px; line-height: 1.3; margin: 0; flex: 1; min-width: 0; }
    #bsm-categories .bsm-close-menu { flex: 0 0 auto; white-space: nowrap; min-width: 82px; min-height: 44px; margin: 0; padding: 0 10px; border: 1px solid #d9e3eb; border-radius: 8px; font-size: 14px; line-height: 1.2; letter-spacing: 0; text-transform: none; color: #164f80; background: #f3f7fb; }
    #bsm-categories [hidden] { display: none !important; }
    #bsm-categories .bsm-category-search { padding: 14px 0 4px; }
    #bsm-category-filter { width: 100%; min-height: 46px; font-size: 16px; border: 1px solid #9aabb9; border-radius: 8px; padding: 10px 12px; margin: 0; box-shadow: none; }
    #bsm-category-status { font-size: 14px; line-height: 1.4; margin: 10px 0 0; }
    #bsm-categories .bsm-menu-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
    #bsm-categories .bsm-menu-shortcuts a { background: #edf5fc; border: 1px solid #d9e3eb; border-radius: 8px; justify-content: center; color: #164f80; font-weight: 700; font-size: 14px; }
    #bsm-categories a, #bsm-categories summary { display: flex; align-items: center; min-height: 48px; padding: 10px 8px; font-size: 16px; line-height: 1.4; color: #243746; border-bottom: 1px solid #edf1f4; text-decoration: none; }
    #bsm-categories summary { cursor: pointer; justify-content: space-between; font-weight: 700; list-style: none; }
    #bsm-categories summary::-webkit-details-marker { display: none; }
    #bsm-categories summary::after { content: '+'; font-size: 22px; margin-left: 12px; }
    #bsm-categories details[open] > summary::after { content: '−'; }
    #bsm-categories .bsm-subcategories { border-left: 2px solid #d9e3eb; padding-left: 12px; }
    #bsm-categories .bsm-all-products { color: #1664a5; font-weight: 700; margin-top: 8px; }
    #bsm-categories .bsm-account-links { margin-top: 24px; background: #f3f7fb; border-radius: 8px; padding: 8px; }
    #bsm-categories :focus-visible { outline: 3px solid #b45200; outline-offset: -3px; }
    .bsm-enabled .bsm-discovery :focus-visible {
        outline: 3px solid #b45200; outline-offset: 2px;
    }
    /* Keep logo, menu and cart on the same header row. */
    .bsm-discovery #header #logo { width: min(220px, 56vw); max-width: 56vw; }
    .bsm-discovery #header .mobile-nav a[role="button"] {
        min-width: 44px; min-height: 44px; display: inline-flex;
        align-items: center; justify-content: center;
    }
    .bsm-home .bsm-home-gap { display: none; }
    .bsm-home .bsm-benefits { margin-top: 14px; margin-bottom: 16px; }
    .bsm-home .bsm-benefits > .col { flex-basis: 100%; max-width: 100%; padding: 8px 15px; }
    .bsm-home .bsm-benefits > .col > .col-inner { text-align: left; }
    .bsm-home .bsm-benefits .img { width: 36px !important; margin: 0 0 6px; }
    .bsm-home .bsm-benefits h3 { font-size: 17px; margin-bottom: 4px; }
    .bsm-home .bsm-benefits p { font-size: 14px; line-height: 1.5; margin-bottom: 0; }
    .bsm-home .bsm-benefits-panel { margin: 20px 15px; border: 1px solid #d9e3eb; border-radius: 10px; background: #f8fafc; }
    .bsm-home .bsm-benefits-panel > summary { min-height: 48px; padding: 14px; cursor: pointer; color: #164f80; font-size: 15px; font-weight: 700; }
    .bsm-home .bsm-benefits-panel .bsm-benefits { margin: 0; width: 100%; }
    .bsm-home .section-title-container { margin-bottom: 12px; }
    .bsm-home .section-title { font-size: 18px; }
    .bsm-home .product-small .box-text { padding: 12px 8px; text-align: left; }
    .bsm-home .product-small .name { font-size: 14px; line-height: 1.4; }
    .bsm-home .product-small .price { font-size: 15px; line-height: 1.5; }

    .bsm-catalog .shop-page-title { padding-top: 8px; padding-bottom: 8px; }
    .bsm-catalog h1.shop-page-title,
    .bsm-catalog .shop-page-title h1 {
        font-size: clamp(20px, 5.6vw, 25px); line-height: 1.25;
        margin: 0 0 8px; padding: 0; overflow-wrap: anywhere;
    }
    .bsm-catalog .shop-page-title .page-title-inner { padding-top: 8px; padding-bottom: 8px; }
    .bsm-catalog .shop-page-title .woocommerce-ordering { margin-bottom: 4px; }
    .bsm-catalog .shop-page-title select { font-size: 16px; min-height: 44px; margin-bottom: 4px; }
    .bsm-catalog .filter-button { min-height: 44px; display: inline-flex; align-items: center; }
    .bsm-catalog .product-small .name { font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
    .bsm-catalog .product-small .price { font-size: 15px; line-height: 1.5; }
    .bsm-catalog .product-small .box-text { padding: 10px 8px; }
    /* Neutralize desktop hover/equal-height styling on the actual Flatsome cards. */
    .bsm-catalog .product-small.box { border: 1px solid #e2e8ee; border-radius: 10px; background: #fff; box-shadow: 0 2px 5px rgba(20,45,65,.05); }
    .bsm-catalog .product-small.col > .col-inner { box-shadow: none !important; }
    .bsm-catalog .product-small.box .box-text,
    .bsm-catalog .product-small.box:hover .box-text { position: relative !important; opacity: 1 !important; transform: none !important; height: auto !important; min-height: 112px; padding: 10px !important; text-align: left !important; background: #fff !important; border-radius: 0 0 10px 10px; }
    .bsm-catalog .product-small.box .title-wrapper .name { height: auto !important; min-height: 2.8em; font-size: 14px; line-height: 1.4; margin: 0 0 8px; }
    .bsm-catalog .product-small.box .title-wrapper a { color: #253746; text-decoration: none; }
    .bsm-catalog .product-small.box .price-wrapper { height: auto !important; min-height: 42px; }
    .bsm-catalog .product-small.box .price { font-size: 16px; line-height: 1.45; }
    .bsm-catalog .product-small.box .price del { display: block; font-size: 12px; line-height: 1.4; margin: 0 0 2px; color: #64717d; }
    .bsm-catalog .product-small.box .price ins { display: inline; margin: 0; font-weight: 700; text-decoration: none; }
    .bsm-catalog .product-small.box .price .amount { white-space: nowrap; }
    .bsm-catalog .product-small.box .box-image { border-radius: 9px 9px 0 0; }
    .bsm-catalog .product-small.box .image-cover img { object-fit: contain; object-position: center; transform: none !important; border-radius: 9px 9px 0 0; }
    .bsm-catalog .product-small.col { padding-left: 6px; padding-right: 6px; padding-bottom: 16px; }
    .bsm-catalog .woocommerce-pagination a,
    .bsm-catalog .woocommerce-pagination span { min-width: 44px; min-height: 44px; }

    .bsm-product.single-product h1.product_title { font-size: 22px; line-height: 1.3; }
    /* Keep search and the hamburger menu; remove only the redundant shortcuts
       from product pages so the product starts sooner. */
    .bsm-product.single-product #bsm-discovery .bsm-shortcuts { display: none; }
    .bsm-product.single-product .bsm-product-section { padding-top: 12px !important; padding-bottom: 16px !important; }
    .bsm-product.single-product .bsm-gallery-column { padding-bottom: 8px !important; }
    .bsm-product.single-product .bsm-gallery-column .col:has(> .bspm-packages) { padding-bottom: 8px !important; }
    .bsm-product.single-product .bsm-gallery-column .bspm-packages { margin-bottom: 6px !important; }
    .bsm-product.single-product .bsm-gallery-column .woocommerce-product-gallery { margin-bottom: 0 !important; }
    .bsm-product.single-product .bsm-product-summary { padding-bottom: 12px; }
    .bsm-product .bsm-purchase-column .product-title-container { margin: 0 0 8px; }
    .bsm-product .bsm-purchase-column .product-title-container h1 { margin: 0; }
    .bsm-product .bsm-purchase-column .product_meta { font-size: 12px; line-height: 1.4; color: #687783; }
    .bsm-product .bsm-purchase-column .product_meta .sku_wrapper,
    .bsm-product .bsm-purchase-column .product_meta .sku { font-size: 11px !important; line-height: 1.35 !important; font-weight: 400; }
    .bsm-product .bsm-purchase-column .product-price-container { margin: 10px 0 12px; }
    .bsm-product .bsm-purchase-column .product-price-container .price { margin: 0; }
    .bsm-product.single-product .woocommerce-product-gallery { margin-bottom: 16px; }
    .bsm-product.single-product .bsm-purchase-column > .gap-element { display: none; }
    .bsm-product.single-product .bsm-purchase-column form.cart { margin-bottom: 12px !important; }
    .bsm-product .bsm-purchase-column > .bsm-empty-paragraph { display: none; }
    .bsm-product .bsm-purchase-column .bsm-meta-row { margin-bottom: 0; }
    .bsm-product .bsm-purchase-column .bsm-meta-row > .col { padding-bottom: 0; }
    .bsm-product .bsm-purchase-column .bsm-form-column { padding-bottom: 0; }
    .bsm-product .bsm-purchase-column .bsm-form-column > .col-inner > p:empty { display: none; }
    /* Three actual UX Builder specification tiles, formerly stacked 130px each. */
    .bsm-product .bsm-purchase-column .row-testcss { display: flex; margin: 10px 0 16px; width: 100%; background: #f3f7fb; border-radius: 10px; padding: 10px 0; }
    .bsm-product .bsm-purchase-column .row-testcss > .col { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 4px; }
    .bsm-product .bsm-purchase-column .row-testcss .icon-box-img { width: 32px !important; margin-bottom: 6px; }
    .bsm-product .bsm-purchase-column .row-testcss h6 { font-size: 12px; letter-spacing: 0; line-height: 1.4; overflow-wrap: anywhere; }
    .bsm-product .bsm-purchase-column .row-testcss .is-divider { display: none; }
    .bsm-product .bsm-purchase-column .row-testcss a { display: block; min-height: 60px; }
    .bsm-product .bsm-purchase-column .row-testcss.bsm-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; background: transparent; padding: 0; margin: 10px 0 12px; }
    .bsm-product .bsm-purchase-column .bsm-specs[data-bsm-spec-count="1"] { grid-template-columns: minmax(0, 1fr); }
    .bsm-product .bsm-purchase-column .bsm-specs[data-bsm-spec-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bsm-product .bsm-purchase-column .row-testcss.bsm-specs > .col { flex: none; max-width: none; width: auto; min-width: 0; padding: 10px 6px; background: #f5f8fb; border: 1px solid #e1e8ef; border-radius: 8px; }
    .bsm-product .bsm-purchase-column .bsm-specs > .bsm-empty-spec { display: none !important; }
    .bsm-product .bsm-purchase-column .bsm-specs .icon-box-img { width: 24px !important; margin: 0 auto 6px; }
    .bsm-product .bsm-purchase-column .bsm-specs .icon-box-img img { max-height: 24px; width: auto; object-fit: contain; }
    .bsm-product .bsm-purchase-column .bsm-specs h6 { font-size: 12px; font-weight: 600; line-height: 1.4; text-transform: none; margin: 0; }
    .bsm-product .bsm-purchase-column .bsm-specs a { min-height: 44px; }
    .bsm-product .bsm-purchase-column .variations { margin-bottom: 8px; }
    /* Stack the label above all options instead of consuming a table column. */
    .bsm-product .bsm-purchase-column .variations,
    .bsm-product .bsm-purchase-column .variations tbody,
    .bsm-product .bsm-purchase-column .variations tr { display: block; width: 100%; }
    .bsm-product .bsm-purchase-column .variations th,
    .bsm-product .bsm-purchase-column .variations td { display: block; width: 100%; padding-left: 0; padding-right: 0; text-align: left; }
    .bsm-product .bsm-purchase-column .variations label { font-size: 14px; line-height: 1.4; }
    .bsm-product .bsm-purchase-column .single_variation_wrap .quantity { display: inline-flex; margin: 0 0 10px !important; }
    .bsm-product .bsm-purchase-column .single_variation_wrap .quantity input { height: 44px; }
    .bsm-product .bsm-purchase-column .single_add_to_cart_button { margin: 0 0 8px !important; border-radius: 8px; }
    .bsm-product .bsm-purchase-column .variations th,
    .bsm-product .bsm-purchase-column .variations td { padding-top: 4px; padding-bottom: 4px; }
    .bsm-product .bsm-purchase-column .ux-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
    .bsm-product .bsm-purchase-column .ux-swatch { margin: 0 !important; }
    /* One compact format selector; keep WooCommerce/Flatsome radio semantics. */
    .bsm-product .bsm-purchase-column .variations .bsm-format-row {
        box-sizing: border-box; margin: 0 0 8px !important; padding: 12px !important;
        background: #f7f9fb; border: 1px solid #e1e8ef; border-radius: 10px;
    }
    .bsm-product .bsm-format-row .bsm-format-original { display: none; }
    .bsm-product .bsm-format-row .bsm-format-heading { display: inline; }
    .bsm-product .bsm-purchase-column .bsm-format-row th.label,
    .bsm-product .bsm-purchase-column .bsm-format-row td.value { padding: 0 !important; border: 0; }
    .bsm-product .bsm-purchase-column .bsm-format-row label {
        display: block; margin: 0 0 8px !important; font-size: 14px; font-weight: 600;
        line-height: 1.4; color: #253746; text-transform: none;
    }
    .bsm-product .bsm-purchase-column .bsm-format-row .ux-swatches {
        display: flex; flex-wrap: wrap; gap: 6px; margin: 0; width: 100%;
    }
    .bsm-product.single-product .bsm-purchase-column .bsm-format-row .ux-swatch[role="radio"] {
        display: flex; align-items: center; justify-content: center; box-sizing: border-box;
        flex: 1 0 44px; min-width: 44px; min-height: 44px; height: 44px; max-width: none;
        padding: 6px !important; margin: 0 !important; border: 1px solid #becbd6 !important;
        border-radius: 7px !important; background: #fff; color: #334653;
        font-size: 13px; line-height: 1; font-weight: 600; box-shadow: none !important;
        transform: none !important;
    }
    .bsm-product .bsm-format-row .ux-swatch__text { font-size: inherit; line-height: inherit; padding: 0; }
    .bsm-product.single-product .bsm-purchase-column .bsm-format-row .ux-swatch[aria-checked="true"] {
        background: #1e73be !important; color: #fff !important; border-color: #1e73be !important;
    }
    .bsm-product .bsm-format-row .ux-swatch[aria-disabled="true"] { opacity: .45; text-decoration: line-through; }
    .bsm-product .bsm-format-row .ux-swatch:focus-visible { outline: 2px solid #164f80; outline-offset: 2px; }
    .bsm-product .bsm-purchase-column .bsm-format-row .reset_variations { margin: 4px 0 0; font-size: 12px; }
    .bsm-product .bsm-format-row .reset_variations[style*="visibility: hidden"] { display: none !important; }
    .bsm-product .bsm-purchase-column .quantity { margin-bottom: 12px; }
    .bsm-product .bsm-purchase-column .quantity input { min-height: 44px; font-size: 16px; }
    .bsm-product .bsm-purchase-column .social-icons { padding-top: 12px; border-top: 1px solid #e1e8ef; }
    .bsm-product #tab-description > p { font-size: 16px; line-height: 1.6; margin-bottom: 16px; }
    .bsm-product #tab-description > p span { font-size: inherit !important; }
    .bsm-product .bsm-size-guide .accordion-title { min-height: 48px; font-size: 16px; }
    .bsm-product .bsm-size-guide .accordion-inner { padding: 12px; }
    .bsm-product .bsm-size-guide .accordion-inner h3 { font-size: 16px; line-height: 1.8; }
    .bsm-product .bsm-table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
    .bsm-product.single-product .bsm-purchase-column .product-page-price { font-size: 24px; line-height: 1.3; }
    .bsm-product.single-product .bsm-purchase-column .product-page-price del { font-size: .75em; }
    .bsm-product.single-product form.cart [role="radio"] {
        min-width: 44px; min-height: 44px; height: auto; padding: 7px;
        font-size: 14px; line-height: 1.4; touch-action: manipulation;
    }
    .bsm-product.single-product form.cart select { font-size: 16px; min-height: 46px; }
    .bsm-product.single-product form.cart .single_add_to_cart_button {
        width: 100%; min-height: 48px; font-size: 14px;
        white-space: normal; line-height: 1.4; padding: 11px 14px;
    }
    .bsm-product.single-product form.cart .reset_variations {
        display: inline-block; min-height: 44px; padding-top: 10px;
    }
    .bsm-forms .woocommerce form input.input-text,
    .bsm-forms .woocommerce form select,
    .bsm-forms .woocommerce form textarea,
    .bsm-forms form.woocommerce-checkout input.input-text,
    .bsm-forms form.woocommerce-checkout select {
        font-size: 16px; min-height: 44px;
    }
    .bsm-forms .woocommerce form .form-row { margin-bottom: 14px; }
    .bsm-forms .woocommerce form .button { min-height: 46px; white-space: normal; }
    /* Preserve native reward state, events, amounts and expanded body. */
    .bsm-rewards .bsr-floating-progress {
        position: fixed !important; left: auto !important; right: 12px !important;
        top: auto !important; bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
        transform: none !important; width: 180px !important; max-width: calc(100vw - 24px) !important;
        margin: 0 !important; z-index: 90 !important; border-radius: 24px !important;
        box-shadow: 0 3px 14px rgba(15,45,70,.18) !important; overflow: hidden;
    }
    .bsm-rewards .bsr-floating-progress.bsm-reward-open { width: min(340px, calc(100vw - 24px)) !important; border-radius: 14px !important; }
    .bsm-rewards .bsr-floating-toggle { min-height: 44px; padding: 8px 10px !important; gap: 6px !important; }
    .bsm-rewards .bsr-floating-toggle strong { font-size: 12px !important; line-height: 1.3; white-space: nowrap; }
    .bsm-rewards .bsr-floating-icon { font-size: 17px !important; width: 20px !important; flex: 0 0 20px !important; }
    .bsm-rewards .bsr-floating-toggle > span:nth-child(2) { flex: 1; min-width: 0; text-align: left; }
    .bsm-rewards .bsr-floating-chevron { display: flex; align-items: center; justify-content: center; width: 18px !important; height: 18px; flex: 0 0 18px; font-size: 0 !important; line-height: 0 !important; }
    .bsm-rewards .bsr-floating-chevron::before { content: none !important; display: none !important; }
    .bsm-rewards .bsr-floating-chevron::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(225deg); margin-top: 5px; }
    .bsm-rewards .bsm-reward-open .bsr-floating-chevron::after { transform: rotate(45deg); margin-top: -5px; }
    .bsm-rewards .bsr-floating-toggle small {
        position: absolute; width: 1px; height: 1px; padding: 0;
        overflow: hidden; clip-path: inset(50%); white-space: nowrap;
    }
    .bsm-rewards .bsr-floating-body { max-height: 55vh; overflow-y: auto; overscroll-behavior: contain; }
    .bsm-rewards #footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
    .bsm-rewards #top-link { right: auto; left: 12px; }

    /* Use the actual desktop image assets, without UX Builder's circular
       borders or absolute-positioned icon frames on small screens. */
    .bsm-product .bsm-purchase-column .row-testcss.bsm-specs > .col { padding: 12px 6px; background: #fff; }
    .bsm-product .bsm-purchase-column .bsm-specs .icon-box { display: flex; flex-direction: column; align-items: center; gap: 8px; }
    .bsm-product .bsm-purchase-column .bsm-specs .icon-box-img { width: 30px !important; height: 30px !important; flex: 0 0 30px; margin: 0 !important; padding: 0 !important; }
    .bsm-product .bsm-purchase-column .bsm-specs .icon-box-img .icon,
    .bsm-product .bsm-purchase-column .bsm-specs .icon-box-img .icon-inner { display: flex !important; position: static !important; align-items: center; justify-content: center; width: 100% !important; height: 100% !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; transform: none !important; overflow: visible !important; }
    .bsm-product .bsm-purchase-column .bsm-specs .icon-box-img::before,
    .bsm-product .bsm-purchase-column .bsm-specs .icon-box-img::after,
    .bsm-product .bsm-purchase-column .bsm-specs .icon::before,
    .bsm-product .bsm-purchase-column .bsm-specs .icon::after,
    .bsm-product .bsm-purchase-column .bsm-specs .icon-inner::before,
    .bsm-product .bsm-purchase-column .bsm-specs .icon-inner::after { content: none !important; }
    .bsm-product .bsm-purchase-column .bsm-specs .icon-box-img img { display: block !important; position: static !important; width: auto !important; height: auto !important; max-width: 30px !important; max-height: 30px !important; margin: 0 !important; padding: 0 !important; object-fit: contain; transform: none !important; border: 0 !important; border-radius: 0 !important; }
    .bsm-product .bsm-purchase-column .bsm-specs .icon-box-text { width: 100%; padding: 0 !important; }
    .bsm-product .bsm-purchase-column .bsm-specs h6 { min-height: 17px; line-height: 17px; margin: 0 !important; }
    .bsm-product .bsm-purchase-column .bsm-specs { margin-bottom: 18px !important; }
    .bsm-product .bsm-purchase-column form.cart { display: flow-root; }
    .bsm-product .bsm-purchase-column .share-icons { display: flex !important; position: static !important; flex-wrap: wrap; align-items: center; gap: 6px; clear: both; float: none !important; height: auto !important; min-height: 44px; margin: 16px 0 24px !important; padding: 12px 0 0 !important; transform: none !important; }
    .bsm-product .bsm-purchase-column .share-icons a.icon { display: inline-flex; position: static; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; min-width: 44px; min-height: 44px; margin: 0 !important; padding: 0; font-size: 18px; line-height: 1; }
    .bsm-product #tab-description { clear: both; padding-top: 20px !important; }
    .bsm-product #tab-description > p { margin-top: 0 !important; margin-bottom: 16px; line-height: 1.65; }
    .bsm-product #tab-description > p:first-child { margin-bottom: 12px; }
    .bsm-product .bsm-purchase-column .share-icons { gap: 0; margin: 8px 0 0 !important; padding: 4px 0 0 !important; border-top: 0; }
    .bsm-product .bsm-purchase-column .share-icons a.icon { border: 0 !important; border-radius: 0 !important; background: transparent !important; font-size: 16px !important; box-shadow: none !important; color: #737e87; }
    .bsm-product .bsm-purchase-column .share-icons a.icon i { font-size: 16px !important; line-height: 1; }
    .bsm-product .bsm-purchase-column .bsm-product-intro { display: flow-root; clear: both; margin: 16px 0 0 !important; padding: 0 !important; }
    .bsm-product .bsm-product-intro > p { margin: 0 0 16px !important; font-size: 16px; line-height: 1.65; }
    .bsm-product .bsm-product-intro > p:first-child { margin-bottom: 12px !important; }
    .bsm-product .bsm-product-intro > p span { font-size: inherit !important; }
    .bsm-product .bsm-product-intro > .scroll-to { display: block; height: 0 !important; margin: 0 !important; padding: 0 !important; }
    .bsm-product .bsm-product-intro > .accordion { margin: 0 !important; padding: 0 !important; }
    .bsm-product .bsm-product-intro .bsm-size-guide { margin-top: 0 !important; }
    .bsm-catalog .woocommerce-pagination { width: 100%; clear: both; margin: 20px auto 28px; text-align: center; }
    .bsm-catalog .woocommerce-pagination ul.page-numbers { display: flex !important; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; width: 100%; margin: 0 !important; padding: 0 !important; border: 0; list-style: none; }
    .bsm-catalog .woocommerce-pagination ul.page-numbers > li { display: block; flex: 0 0 auto; float: none; margin: 0 !important; padding: 0; border: 0; }
    .bsm-catalog .woocommerce-pagination ul.page-numbers > li > a,
    .bsm-catalog .woocommerce-pagination ul.page-numbers > li > span { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 44px; height: 44px; min-width: 44px; min-height: 44px; margin: 0 !important; padding: 0 !important; border: 1px solid #dce2e7; border-radius: 8px; font-size: 14px; line-height: 1; }
    .bsm-catalog .woocommerce-pagination ul.page-numbers > li > .dots { border-color: transparent; }
    .bsm-catalog .product-small.box .title-wrapper { height: auto !important; min-height: 0 !important; }
    .bsm-catalog .product-small.box .title-wrapper .name { min-height: var(--bsm-title-track, 0px) !important; margin-bottom: 6px !important; }
    .bsm-catalog .product-small.box .box-text { min-height: var(--bsm-text-track, 0px) !important; }
    .bsm-catalog .product-small.box .price-wrapper { min-height: 0 !important; text-align: center !important; }
    .bsm-catalog .product-small.box .price { display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 6px; min-height: 0; margin: 0; text-align: center; }
    .bsm-catalog .product-small.box .price del { display: inline; margin: 0; }
    .bsm-catalog .product-small.box .price del,
    .bsm-catalog .product-small.box .price ins { flex: 0 0 auto; }
    /* Shared text-only alignment. Shorter titles sit at the bottom of their
       track, so the title-to-price distance stays six pixels. */
    :is(.bsm-catalog, .bsm-home) .product-small.box .box-text,
    :is(.bsm-catalog, .bsm-home) .product-small.box:hover .box-text { height: auto !important; min-height: var(--bsm-text-track, 0px) !important; padding: 10px !important; text-align: center !important; transform: none !important; opacity: 1 !important; }
    :is(.bsm-catalog, .bsm-home) .product-small.box .title-wrapper { height: auto !important; min-height: 0 !important; margin: 0 !important; }
    :is(.bsm-catalog, .bsm-home) .product-small.box .title-wrapper .name { display: block; height: 2.8em !important; min-height: 0 !important; margin: 0 0 6px !important; font-size: 14px; line-height: 1.4; text-align: center !important; overflow-wrap: anywhere; overflow: hidden; }
    :is(.bsm-catalog, .bsm-home) .product-small.box .title-wrapper .name > a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: inherit; }
    :is(.bsm-catalog, .bsm-home) .product-small.box .price-wrapper { height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; text-align: center !important; }
    :is(.bsm-catalog, .bsm-home) .product-small.box .price { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: baseline; gap: 2px 4px; min-height: 0 !important; margin: 0 !important; font-size: 16px; line-height: 1.45; text-align: center; }
    :is(.bsm-catalog, .bsm-home) .product-small.box .price del { display: inline; margin: 0; font-size: 12px; line-height: 1.4; }
    :is(.bsm-catalog, .bsm-home) .product-small.box .price ins { display: inline; margin: 0; font-weight: 700; text-decoration: none; }
    /* Preserve native square image geometry; reduce only cell gutters. */
    .bsm-home .bsm-card-cell { padding-left: 4px !important; padding-right: 4px !important; padding-bottom: 12px !important; }
    .bsm-home .bsm-card-cell > .col-inner,
    .bsm-home .bsm-card-cell:hover > .col-inner { box-shadow: none !important; }
    .bsm-home .bsm-card-cell .product-small.box { box-shadow: none !important; }
    /* Keep the complete description together; normalize Builder spacers
       instead of moving selected paragraphs into the purchase column. */
    .bsm-product.single-product .bsm-product-section { padding-bottom: 0 !important; margin-bottom: 0 !important; }
    .bsm-product.single-product .bsm-product-summary { padding-bottom: 0 !important; }
    .bsm-product .bsm-description-section { padding-top: 24px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
    /* UX Builder's negative form margins must not pull sharing into the button. */
    .bsm-product .bsm-purchase-column .bsm-form-column > .col-inner { margin-top: 0 !important; margin-bottom: 0 !important; }
    .bsm-product .bsm-purchase-column > .social-icons { margin-top: 0 !important; margin-bottom: 0 !important; }
    .bsm-product #tab-description > :first-child { margin-top: 0 !important; }
    .bsm-product .bsm-description-parent { padding-top: 0 !important; margin-top: 0 !important; }
    .bsm-product #tab-description { padding-top: 0 !important; margin-top: 0 !important; }
    .bsm-product #tab-description > .gap-element { height: 20px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; }
    .bsm-product #tab-description > .scroll-to { display: block; height: 0 !important; padding: 0 !important; margin: 0 !important; }
    .bsm-product #tab-description > .accordion { margin: 0 !important; padding: 0 !important; }
    .bsm-product #tab-description > .section-title-container { margin-top: 0 !important; padding-top: 0 !important; }
    .bsm-product #tab-description > p > br:last-child { display: none; }
}
@media (max-width: 849px) and (hover: none) {
    .bsm-catalog .woocommerce-pagination a.page-numbers,
    .bsm-catalog .woocommerce-pagination a.page-numbers:hover,
    .bsm-catalog .woocommerce-pagination a.page-numbers:focus { background: #fff !important; color: #637382 !important; box-shadow: none !important; transform: none !important; touch-action: manipulation; }
    .bsm-catalog .woocommerce-pagination a.page-numbers:focus-visible { outline: 2px solid #2176b9; outline-offset: 2px; }
}
