/* Single text run prevents theme strong/span rules from splitting the label. */
.woocommerce ul.products li.product,
.woocommerce div.product,
.fmbw-image { position: relative; }
.fmbw-frame-host { position: relative; }
a.fmbw-frame-host { display: block; }
.fmbw-badge:not(.fmbw-frame-ready) { visibility: hidden; }
.fmbw-badge.fmbw-frame-ready { background: transparent; overflow: hidden; right: auto; }
.fmbw-badge > .fmbw-tape { display: none; }
.fmbw-badge.fmbw-frame-ready > .fmbw-tape {
 display: block; position: absolute; box-sizing: border-box;
 margin: 0; padding: 0; border: 0; background: #151515; color: #fff;
 font: 700 9px/14px Arial, sans-serif; letter-spacing: 1px;
 white-space: nowrap; overflow: hidden; text-align: left;
}
.fmbw-tape-left, .fmbw-tape-right {
 top: var(--fmbw-head, 40px); bottom: 14px; width: 14px;
 writing-mode: vertical-rl; text-orientation: mixed;
}
.fmbw-tape-left { left: 0; transform: rotate(180deg); }
.fmbw-tape-right { right: 0; }
.fmbw-tape-bottom { left: 0; right: 0; bottom: 0; height: 14px; }
.fmbw-badge {
 position: absolute; z-index: 4; top: 0; left: 0; right: 0;
 display: block; width: 100%; height: auto; box-sizing: border-box;
 padding: 0; margin: 0; border: 0; border-radius: 0;
 transform: none; background: #151515; color: #fff;
 pointer-events: none; font-family: inherit;
 container-type: inline-size;
}
.fmbw-badge > .fmbw-ribbon {
 display: block !important; position: static !important;
 width: 100%; height: auto; box-sizing: border-box;
 padding: 7px 4px; margin: 0; transform: none !important;
 border: 0; border-radius: 0; background: #151515; color: #fff;
 text-align: center; font-family: inherit;
 font-size: 14px; font-size: clamp(10px, 4cqw, 22px);
 font-weight: 800; font-style: normal; line-height: 1.2;
 letter-spacing: 0; white-space: nowrap !important;
 word-break: normal; overflow-wrap: normal; text-transform: none;
}
.fmbw-badge > .fmbw-ribbon > small {
 display: block; margin: 2px 0 0; padding: 0; color: inherit;
 font-size: 10px; font-weight: 400; line-height: 1.2; letter-spacing: 0;
}
.fmbw-price del {
 display: inline-block; margin-inline-end: 8px; color: #777;
 opacity: 1; font-size: .9em; font-weight: 400;
}
.fmbw-price del .amount { color: inherit; font-weight: inherit; }
.fmbw-price ins {
 display: inline-block; color: #c71932; background: transparent;
 text-decoration: none; font-size: 1.1em; font-weight: 700;
}
.fmbw-price ins .amount,
.fmbw-price ins bdi { color: #c71932; font-weight: 700; }

/* Larger lettering on narrow product cards; stays proportional to card width. */
@media (max-width: 767px) {
 .fmbw-badge.fmbw-frame-ready > .fmbw-tape { font-size: 7px; line-height: 10px; letter-spacing: .7px; }
 .fmbw-tape-left, .fmbw-tape-right { width: 10px; bottom: 10px; }
 .fmbw-tape-bottom { height: 10px; }
 .fmbw-badge > .fmbw-ribbon {
  font-size: 12px;
  font-size: clamp(10px, 6.5cqw, 22px);
  padding: 7px 3px;
 }
}

/* Only the private campaign view, using the shop's existing product template. */
.fmbw-product-label { display: block; margin: 0 0 10px; padding: 0; line-height: 1.4; }
.fmbw-product-label > span {
 display: inline-block; background: #151515; color: #fff;
 padding: 7px 12px; border-radius: 3px;
 font-size: 14px; font-weight: 800; letter-spacing: .3px;
}
.fmbw-product-label > small { display: block; margin-top: 4px; font-size: 12px; color: #666; }
body.fmbw-active.single-product.femi-pdp-preview .elementor-widget-wrap:has(> .elementor-element-bd22f64) {
 align-content: flex-start; row-gap: 0;
}
body.fmbw-active.single-product.femi-pdp-preview .elementor-element-bd22f64 { margin-bottom: 10px !important; }
body.fmbw-active.single-product.femi-pdp-preview .elementor-element-d0a4854 { margin: 0 0 14px !important; }
body.fmbw-active.single-product.femi-pdp-preview .elementor-element-ce28a21 { margin: 0 0 14px !important; }
body.fmbw-active.single-product.femi-pdp-preview .elementor-element-d0a4854 > .elementor-widget-container,
body.fmbw-active.single-product.femi-pdp-preview .elementor-element-ce28a21 > .elementor-widget-container,
body.fmbw-active.single-product.femi-pdp-preview .elementor-element-57f5e02 > .elementor-widget-container { margin: 0 !important; padding: 0 !important; }
body.fmbw-active.single-product.femi-pdp-preview .iconic-wlv-variations { margin-bottom: 0 !important; }
body.fmbw-active.single-product.femi-pdp-preview .fp-size-link { margin: 0 0 8px !important; }
body.fmbw-active.single-product.femi-pdp-preview form.variations_form table.variations { margin-bottom: 12px !important; }
body.fmbw-active.single-product.femi-pdp-preview .fmbw-price del { font-size: 16px !important; margin-right: 12px; }
body.fmbw-active.single-product.femi-pdp-preview .fmbw-price ins { font-size: 30px !important; font-weight: 800; }
body.fmbw-active.single-product.femi-pdp-preview .fmbw-price ins .amount,
body.fmbw-active.single-product.femi-pdp-preview .fmbw-price ins bdi { font-weight: 800; }
body.fmbw-active.single-product.femi-pdp-preview .iworks-omnibus { font-size: 13px !important; line-height: 1.5; }

/* Campaign visual language: white title, raspberry discount, fine red underline. */
.fmbw-ribbon > .fmbw-discount,
.fmbw-product-label .fmbw-discount,
.fmbw-list-banner .fmbw-discount {
 display: inline !important; position: static !important; margin: 0 !important;
 padding: 0 !important; color: #ff405b !important; background: transparent !important;
 font: inherit !important; white-space: nowrap !important;
}
.fmbw-badge.fmbw-frame-ready > .fmbw-tape { color: #ddd; }
.fmbw-list-banner {
 box-sizing: border-box; display: flex; align-items: center; justify-content: center;
 flex-wrap: wrap; gap: 12px 22px; width: 100%; clear: both;
 margin: 0 0 20px; padding: 15px 20px; border-radius: 3px;
 background: #111; color: #fff; font-family: inherit;
}
.fmbw-list-banner > strong { display: block; color: #fff; font-size: clamp(19px, 2vw, 28px); font-weight: 800; line-height: 1.3; }
.fmbw-list-banner > strong > span { position: relative; display: inline-block; }
.fmbw-list-banner > strong > span::after {
 content: ''; display: block; height: 3px; background: #ff405b;
 border-radius: 70% 30% 50% 20%; transform: rotate(-2deg); margin-top: 2px;
}
.fmbw-list-banner > p { margin: 0; padding: 0 0 0 20px; border-left: 1px solid #777; color: #fff; font-size: 12px; line-height: 1.5; }
.fmbw-cart-note { display: block; width: fit-content; margin: 5px 0 0; color: #333; font-size: 12px; font-weight: 400; line-height: 1.45; }
.fmbw-cart-note::after { content: ''; display: block; width: 42px; height: 2px; margin-top: 3px; background: #ed304d; }
.fmbw-cart-marker { display: none !important; }
@media (max-width: 767px) {
 .fmbw-list-banner { justify-content: flex-start; gap: 8px; padding: 12px; margin-bottom: 14px; }
 .fmbw-list-banner > strong { font-size: 20px; }
 .fmbw-list-banner > p { flex-basis: 100%; padding: 0; border: 0; }
 .fmbw-cart-note { font-size: 11px; }
}

/* Campaign prices in cart and both checkout presentations. */
body.fmbw-active .fmbw-cart-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; line-height: 1.4; }
body.fmbw-active .fmbw-cart-price del { color: #777 !important; font-size: .85em; font-weight: 400 !important; opacity: 1; }
body.fmbw-active .fmbw-cart-price ins { color: #c71932 !important; font-weight: 800 !important; text-decoration: none !important; background: transparent !important; }
body.fmbw-active .fmbw-cart-price del .amount, body.fmbw-active .fmbw-cart-price del bdi { color: inherit !important; font-weight: inherit !important; }
body.fmbw-active .fmbw-cart-price ins .amount, body.fmbw-active .fmbw-cart-price ins bdi { color: inherit !important; font-weight: inherit !important; }
.fmbw-drawer-price { margin-top: 5px; font-size: 13px; }
body.fmbw-active .fsc-product-mini > strong .fmbw-cart-price { justify-content: flex-end; }
body.fmbw-active .femi-cart-mobile-price .fmbw-cart-price { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
