/**
 * FBS Mobile Product Layout v1.1.9 — mobile product visuals only.
 * Mobile-only, targeted customization presentation; no upload processing or add-to-cart logic.
 * Modern mobile browsers support :has(); unmatched layouts retain original styles.
 */
@media only screen and (max-width: 849px) {
  /* 1. Hide the color-thumbnail rail while keeping original gallery/variation JS. */
  body.single-product .fbs-product-gallery-shell .fbs-product-preview-rail {
    display: none !important;
  }
  body.single-product .fbs-product-gallery-shell {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
  }
  body.single-product .fbs-product-gallery-shell .fbs-native-product-gallery,
  body.single-product .fbs-product-gallery-shell .woocommerce-product-gallery {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
  }

  /* 2. Use the recovered rail width and increase the rendered photo slightly.
   *    The height limit preserves the full sock; no cropping/scale transforms. */
  body.single-product .fbs-product-gallery-shell .woocommerce-product-gallery__image img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: min(115vw, 450px) !important;
    object-fit: contain !important;
    margin-inline: auto !important;
  }
  body.single-product .fbs-product-gallery-shell .product-images,
  body.single-product .fbs-product-gallery-shell .product-gallery-slider {
    margin-bottom: 0 !important;
  }

  /* 2a. Keep the gallery positioning anchor; suppress the old savings pill.
   *     The ASPCA overlay is managed separately by the existing site snippet. */
  body.single-product:has(.fbscc-live-single-price) .fbs-product-gallery-shell .fbs-native-product-gallery .product-images {
    position: relative !important;
  }
  body.single-product:has(.fbscc-live-single-price) .fbs-product-gallery-shell .fbs-native-product-gallery .product-images::before {
    content: none !important;
    display: none !important;
  }

  /* 3. These exact elements are present together in the live Flatsome UX text
   *    block. Reflow only this product heading block, not general site text. */
  body.single-product .text:has(> .product-title-container):has(> .product-price-container):has(> .fbs-customer-trust-shell) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content !important;
    grid-template-rows: auto !important;
    column-gap: 8px !important;
    row-gap: 3px !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    /* Separate title/price from gallery image without disturbing the CTA below. */
    padding: 15px 0 0 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }
  /* The builder emits empty <p> placeholders between block-level divs. */
  body.single-product .text:has(> .product-title-container):has(> .product-price-container):has(> .fbs-customer-trust-shell) > p {
    display: none !important;
  }
  body.single-product .text:has(> .product-title-container):has(> .product-price-container):has(> .fbs-customer-trust-shell) > .product-title-container {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }
  body.single-product .text:has(> .product-title-container):has(> .product-price-container):has(> .fbs-customer-trust-shell) h1.product-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(17px, 5vw, 23px) !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.4px !important;
    white-space: nowrap !important;
  }
  body.single-product .text:has(> .product-title-container):has(> .product-price-container):has(> .fbs-customer-trust-shell) > .product-price-container {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    justify-self: end !important;
  }
  body.single-product .text:has(> .product-title-container):has(> .product-price-container):has(> .fbs-customer-trust-shell) .product-price-container .price-wrapper,
  body.single-product .text:has(> .product-title-container):has(> .product-price-container):has(> .fbs-customer-trust-shell) .product-price-container .price {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.16 !important;
  }
  body.single-product .text:has(> .product-title-container):has(> .product-price-container):has(> .fbs-customer-trust-shell) .fbscc-live-bundle-price-row {
    display: inline-flex !important;
    align-items: baseline !important;
    justify-content: flex-end !important;
    gap: 5px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }
  body.single-product .text:has(> .product-title-container):has(> .product-price-container):has(> .fbs-customer-trust-shell) .fbscc-live-regular-price {
    font-size: clamp(12px, 3.4vw, 15px) !important;
    color: #d32f2f !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
  }
  body.single-product .text:has(> .product-title-container):has(> .product-price-container):has(> .fbs-customer-trust-shell) .fbscc-live-single-price {
    font-size: clamp(19px, 5.7vw, 26px) !important;
    font-weight: 800 !important;
    color: #151515 !important;
    text-decoration: none !important;
    line-height: 1.1 !important;
  }

  /* 4. Remove only the product-heading social-proof bar on mobile.
   * Leave the full customer reviews further down the page unchanged. */
  body.single-product .text:has(> .product-title-container):has(> .product-price-container):has(> .fbs-customer-trust-shell) > .fbs-customer-trust-shell {
    display: none !important;
  }

  /* 5. Small, controlled separation before the variations form. */
  body.single-product .text:has(> .product-title-container):has(> .product-price-container):has(> .fbs-customer-trust-shell) + .text-center .is-divider {
    margin-top: 9px !important;
    margin-bottom: 9px !important;
  }

  /* 6. Compact two-step personalization, limited to FBS uploader products.
   * The presentation-only JS adds these markers; original variation fields and
   * uploader UI remain untouched and are unaffected on desktop. */
  body.single-product form.fbs-mpl-compact .fbs-mpl-step--color {
    margin: 10px 0 9px !important;
  }
  body.single-product form.fbs-mpl-compact .fbs-mpl-step {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 9px !important;
    color: #292428 !important;
    font-size: clamp(15px, 4.1vw, 18px) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -.2px !important;
    text-transform: none !important;
  }
  body.single-product form.fbs-mpl-compact .fbs-mpl-step__number {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 29px !important;
    width: 29px !important;
    height: 29px !important;
    border-radius: 50% !important;
    background: #cc1774 !important;
    color: #fff !important;
    font: 800 17px/1 Arial, Helvetica, sans-serif !important;
  }
  body.single-product form.fbs-mpl-compact .fbs-mpl-step__title {
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }
  body.single-product form.fbs-mpl-compact .fbs-mpl-step__color {
    margin-left: auto !important;
    color: #cc1774 !important;
    font-size: clamp(13px, 3.7vw, 16px) !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }
  body.single-product form.fbs-mpl-compact .fbs-mpl-step__color[hidden] {
    display: none !important;
  }

  /* Hide only the duplicated step-one label; preserve the original select,
   * color swatches, labels and click/touch handling. */
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-color-row > th.label {
    display: none !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-color-row > td.value {
    padding-top: 0 !important;
    padding-bottom: 8px !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-size-row > th.label {
    padding-top: 3px !important;
    padding-bottom: 5px !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-size-row > td.value {
    padding-top: 0 !important;
    padding-bottom: 9px !important;
  }
  body.single-product form.fbs-mpl-compact table.variations {
    margin-bottom: 7px !important;
  }

  /* Step two uses the existing uploader box, not a replacement file input. */
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__copy {
    margin: 0 0 9px !important;
    padding: 0 !important;
  }
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__copy > .fbs-mpl-step--upload {
    margin: 5px 0 0 !important;
  }
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__copy > .fbsp-uploader__section-label,
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__copy > .fbsp-uploader__description {
    display: none !important;
  }


  /* 7. v1.1.4: remove theme/variation row gaps without touching controls.
   * These are intentionally higher-specificity mobile overrides because
   * Flatsome, Variation Swatches and FBS also style table.variations. */
  body.single-product form.fbs-mpl-compact table.variations,
  body.single-product form.fbs-mpl-compact table.variations > tbody {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-spacing: 0 !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-color-row,
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-size-row {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-color-row {
    margin-bottom: 11px !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-color-row > td.value,
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-size-row > th.label,
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-size-row > td.value {
    display: block !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-color-row > td.value > .variable-items-wrapper,
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-color-row .color-variable-items-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-size-row > th.label {
    position: relative !important;
    font-size: 0 !important;
    line-height: 1 !important;
    margin-bottom: 6px !important;
  }
  /* Keep real native label text + :before/:after present for assistive tech,
   * but visually clip the entire label (not just its text). */
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-size-row > th.label > label {
    display: block !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-size-row > th.label > label::after {
    content: none !important;
    display: none !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-size-row > th.label > .fbs-mpl-size-visible {
    display: block !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #292428 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
  }
  /* On size-only styles, the numbered heading already says Choose Size. */
  body.single-product form.fbs-mpl-compact.fbs-mpl-size-only table.variations tr.fbs-mpl-size-row > th.label {
    display: none !important;
  }
  body.single-product form.fbs-mpl-compact .fbs-mpl-step--color {
    margin: 6px 0 9px !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-size-row select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-size-row > td.value {
    margin: 0 !important;
    padding: 0 !important;
  }
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
  }
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__copy {
    margin: 0 0 9px !important;
    padding: 0 !important;
  }
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__copy > .fbs-mpl-step--upload {
    margin: 0 !important;
  }
  /* Keep the file-upload input and all uploader states intact; trim only the
   * redundant instructional copy from the initial tap-to-upload prompt. */
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__dropzone .fbsp-uploader__prompt-action,
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__dropzone .fbsp-uploader__prompt-note {
    display: none !important;
  }
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__dropzone {
    min-height: 65px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__slots {
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
  }
  body.single-product form.fbs-mpl-compact .woocommerce-variation-add-to-cart,
  body.single-product form.fbs-mpl-compact .variations_button {
    margin-top: 10px !important;
  }


  /* 8. v1.1.5: consistent vertical rhythm and inline selected color.
   * Overrides older spacing rules within this same mobile-only stylesheet.
   * No sizing, upload or cart input is replaced or moved in the DOM. */
  body.single-product form.fbs-mpl-compact .fbs-mpl-step--color {
    margin: 8px 0 10px !important;
    gap: 9px !important;
  }
  body.single-product form.fbs-mpl-compact .fbs-mpl-step--color .fbs-mpl-step__title {
    flex: 0 1 auto !important;
  }
  body.single-product form.fbs-mpl-compact .fbs-mpl-step--color .fbs-mpl-step__color {
    flex: 0 0 auto !important;
    margin-left: -4px !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }
  /* The complete heading wraps naturally if a long color name is chosen. */
  body.single-product form.fbs-mpl-compact .fbs-mpl-step--color {
    flex-wrap: wrap !important;
    row-gap: 4px !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-color-row {
    margin-bottom: 7px !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-color-row > td.value {
    padding: 0 !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-size-row > th.label {
    margin: 0 0 6px !important;
    padding: 0 !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-size-row > td.value,
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-size-row select {
    margin: 0 !important;
    padding-bottom: 0 !important;
  }
  /* Provide the missing clearance below the size select before Step 2.
   * Padding on the variation wrapper doesn't collapse with child margins. */
  body.single-product form.fbs-mpl-compact .single_variation_wrap:has(> .fbsp-uploader.fbs-mpl-primary-uploader) {
    margin-top: 0 !important;
    padding-top: 17px !important;
  }
  body.single-product form.fbs-mpl-compact .single_variation_wrap > .fbsp-uploader.fbs-mpl-primary-uploader {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__copy {
    margin: 0 0 10px !important;
    padding: 0 !important;
  }
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__slots,
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  /* Remove only empty placeholders; show them normally when WooCommerce
   * fills variation information or the uploader produces a status message. */
  body.single-product form.fbs-mpl-compact .single_variation_wrap > .woocommerce-variation.single_variation:empty,
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__status:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.single-product form.fbs-mpl-compact .single_variation_wrap > .woocommerce-variation-add-to-cart,
  body.single-product form.fbs-mpl-compact .single_variation_wrap > .variations_button {
    margin-top: 15px !important;
    padding-top: 0 !important;
  }


  /* 9. v1.1.8 — clean up the actual section boundaries seen on mobile.
   * The Flatsome heading/divider and add-to-cart block are separate elements.
   * Set only the FBS form container to a compact, non-negative margin.
   * This avoids overlapping the divider even when the theme changes its spacing. */
  body.single-product .add-to-cart-container:has(> form.fbs-mpl-compact) {
    margin-top: 10px !important;
    padding-top: 0 !important;
  }
  body.single-product .add-to-cart-container > form.fbs-mpl-compact {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  /* Keep a small stable gap below the divider, while aligning Step 1 with the
   * color swatches. The product title, price and divider remain unchanged. */
  body.single-product form.fbs-mpl-compact .fbs-mpl-step--color {
    margin-top: 6px !important;
    margin-bottom: 10px !important;
  }

  /* The Step 2 badge was still touching the *painted* size select border on
   * live pages even with padding on .single_variation_wrap. Give clearance
   * directly to the uploader's own heading wrapper instead. Using padding,
   * not a collapsing margin, guarantees physical room for the 29px badge. */
  body.single-product form.fbs-mpl-compact .single_variation_wrap:has(> .fbsp-uploader.fbs-mpl-primary-uploader) {
    padding-top: 0 !important;
  }
  body.single-product form.fbs-mpl-compact > table.variations {
    margin-bottom: 5px !important;
  }
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__copy {
    padding-top: 16px !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    margin-bottom: 10px !important;
  }
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__copy > .fbs-mpl-step--upload {
    margin: 0 !important;
  }

  /* 10. v1.1.8: use one 12px section rhythm on mobile.
   * Boundaries: title/price to divider; divider to step 1; step 1 to
   * swatches; swatches to size; select to step 2; step 2 to upload box.
   * Label-to-field is a slightly tighter 8px within the size subsection.
   * These are presentation-only overrides and never reposition inputs. */
  body.single-product .text:has(> .product-title-container):has(> .product-price-container):has(> .fbs-customer-trust-shell) + .text-center {
    margin-block: 0 !important;
    padding-block: 0 !important;
  }
  body.single-product .text:has(> .product-title-container):has(> .product-price-container):has(> .fbs-customer-trust-shell) + .text-center > .is-divider {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
  }
  body.single-product .add-to-cart-container:has(> form.fbs-mpl-compact) {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  body.single-product form.fbs-mpl-compact .fbs-mpl-step--color {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
  }
  body.single-product form.fbs-mpl-compact .fbs-mpl-step {
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
  }
  body.single-product form.fbs-mpl-compact .fbs-mpl-step__title,
  body.single-product form.fbs-mpl-compact .fbs-mpl-step__color {
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-color-row {
    margin-bottom: 12px !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-size-row > th.label {
    margin-bottom: 8px !important;
  }
  body.single-product form.fbs-mpl-compact table.variations tr.fbs-mpl-size-row > th.label > .fbs-mpl-size-visible {
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
  }
  /* A padding gap does not collapse through variation table/section wrappers,
   * and clears the size select before the entire numbered step 2 heading. */
  body.single-product form.fbs-mpl-compact > table.variations {
    margin-bottom: 0 !important;
  }
  body.single-product form.fbs-mpl-compact .single_variation_wrap:has(> .fbsp-uploader.fbs-mpl-primary-uploader) {
    margin-top: 0 !important;
    padding-top: 12px !important;
  }
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__copy {
    padding-top: 0 !important;
    margin-bottom: 12px !important;
  }
  /* Restore just this reassuring note in the initial upload button.
   * Preserve the existing wording supplied by Smart Uploader and hide the
   * redundant "Tap here to choose a photo" action line as before. */
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__dropzone .fbsp-uploader__prompt-note {
    display: block !important;
    margin-top: 3px !important;
    color: #cc1774 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
  }
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__dropzone {
    min-height: 75px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  /* 11. v1.1.8: guarantee physical space between the final size field and
   * the uploader heading at the *end of the size row*. Unlike margins on the
   * uploader's nested heading, the row's padding remains in normal form flow
   * even if WooCommerce/theme scripts reset uploader copy margins. */
  body.single-product form.fbs-mpl-compact table.variations > tbody > tr.fbs-mpl-size-row > td.value {
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 12px !important;
    padding-left: 0 !important;
  }
  body.single-product form.fbs-mpl-compact > table.variations {
    margin-bottom: 0 !important;
  }
  body.single-product form.fbs-mpl-compact .single_variation_wrap:has(> .fbsp-uploader.fbs-mpl-primary-uploader) {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  body.single-product form.fbs-mpl-compact .fbsp-uploader.fbs-mpl-primary-uploader .fbsp-uploader__copy {
    padding-top: 0 !important;
  }
  /* Step typography still matches the other selection heading, while the
   * label itself is provided by the existing safe presentation-only JS. */
  body.single-product form.fbs-mpl-compact .fbs-mpl-size-visible {
    font-size: 17px !important;
    font-weight: 800 !important;
  }

  /* 1.1.9: The old mobile layout intentionally hid the uploader action and
   * displayed the redundant note instead. Our bundle uploader now puts the
   * approved reassurance in prompt-action, so reveal that ONE helper line.
   * Do not change other product types, photo selection, or saved-photo states. */
  body.single-product form.fbs-mpl-compact
  .fbsp-uploader.fbs-mpl-primary-uploader[data-fbsp-product-mode="bundle"]
  .fbsp-uploader__dropzone .fbsp-uploader__prompt-action {
    display: block !important;
    visibility: visible !important;
    margin: 3px 0 0 !important;
    color: #666066 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }
  body.single-product form.fbs-mpl-compact
  .fbsp-uploader.fbs-mpl-primary-uploader[data-fbsp-product-mode="bundle"]
  .fbsp-uploader__dropzone .fbsp-uploader__prompt-note {
    display: none !important;
  }

}
