/* Sale savings live in normal document flow below images, never over photos. */
:root:not(#ozb) body .ozbpsb-row,
:root:not(#ozb) body .ozbpsb-single-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    min-width: 0;
    min-height: 56px;
    margin: 0 0 8px;
    padding: 0;
    position: static;
}
:root:not(#ozb) body .ozbpsb-pill {
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    padding: 7px 12px;
    border: 1px solid #b51f28;
    border-radius: 999px;
    background: #b51f28;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}
/* The brand grid already uses equal square photos and six shared rows.
   Insert a seventh row for savings; do not change image dimensions/crops. */
:root:not(#ozb) body .row:not(.row-slider) > .product-small.col:has(.ozbpsb-row) { grid-row: span 7; }
:root:not(#ozb) body .row:not(.row-slider) > .product-small.col .ozbpsb-row { grid-row: 2; }
:root:not(#ozb) body .row:not(.row-slider) > .product-small.col:has(.ozbpsb-row) .title-wrapper { grid-row: 3; }
:root:not(#ozb) body .row:not(.row-slider) > .product-small.col:has(.ozbpsb-row) .ozb-rating { grid-row: 4; }
:root:not(#ozb) body .row:not(.row-slider) > .product-small.col:has(.ozbpsb-row) .price { grid-row: 5; }
:root:not(#ozb) body .row:not(.row-slider) > .product-small.col:has(.ozbpsb-row) .ozb-card-gift { grid-row: 6; }
:root:not(#ozb) body .row:not(.row-slider) > .product-small.col:has(.ozbpsb-row) :is(.add-to-cart-button, .ozb-iso-cta, .ozb-card-actions, .box-text > a.button) { grid-row: 7; }
@media (max-width: 549px) {
    :root:not(#ozb) body .ozbpsb-pill { font-size: 14px; padding: 6px 10px; }
}

/* This wrapper is inside the actions grid, not a card subgrid slot. */
:root:not(#ozb) body .row:not(.row-slider) > .product-small.col:has(.ozbpsb-row) .ozb-card-actions .ozb-card-actions__row > .add-to-cart-button { grid-row: auto; }
/* UX Builder overlay/shade cards must also keep this row below their photo. */
:root:not(#ozb) body .product-small.box:is(.box-overlay, .box-shade):has(.ozbpsb-row) > .box-text {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    background: transparent;
    color: var(--ozb-ink);
}
