.price.fc-loop-prices {
    display: grid;
    gap: 4px;
    margin-top: 6px;
    color: #302f2a;
    font-family: "Outfit", sans-serif;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.4;
}

.fc-product-upsell-bundles__price > .fc-loop-prices {
    width: 100%;
    margin-top: 0;
}

@media (min-width: 576px) {
    /* Reserve three 26px price rows and two 4px gaps for adjacent upsell cards. */
    .fc-product-upsell-bundles__grid:has(.fc-loop-code-price) .fc-product-upsell-bundles__price {
        min-height: 86px;
        align-items: flex-start;
    }
}

.fc-loop-prices .fc-loop-prices__row,
.price .fc-loop-code-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 10px;
    min-height: 26px;
}

.fc-loop-prices .fc-loop-prices__label {
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
}

.fc-loop-prices .fc-loop-prices__value {
    margin-left: auto;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.fc-loop-prices .fc-loop-prices__value del {
    font-size: 16px;
    font-weight: 400;
}

.price .fc-loop-code-price {
    margin-top: 0;
    color: #302f2a;
    font-family: "Outfit", sans-serif;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.4;
}

.price .fc-loop-code-price__label {
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
}

.price .fc-loop-code-price__label strong,
.price .fc-loop-code-price__label b {
    display: inline-block;
    margin-left: 2px;
    padding: 3px 6px;
    border-radius: 5px;
    background: #20282d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}

.price .fc-loop-code-price__value {
    margin-left: auto;
    color: #ff6f31;
    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    white-space: nowrap;
}

/* Carousel typography must match for native WooCommerce amounts and the code-price text. */
#bestsellers .fc-loop-prices .fc-loop-prices__value,
#bestsellers .fc-loop-prices .fc-loop-prices__value del,
#bestsellers .fc-loop-prices .fc-loop-prices__value .amount,
#bestsellers .fc-loop-prices .fc-loop-code-price__value {
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: normal;
}

