/* input(18,36): run-time error CSS1030: Expected identifier, found '>'
input(18,53): run-time error CSS1025: Expected comma or open brace, found ')'
input(24,36): run-time error CSS1030: Expected identifier, found '>'
input(24,53): run-time error CSS1025: Expected comma or open brace, found ')'
input(40,36): run-time error CSS1030: Expected identifier, found '>'
input(40,53): run-time error CSS1025: Expected comma or open brace, found ')' */
.anchored-price {
    display: block;
    margin-top: .35em;
    font-size: .9em;
    line-height: 1.4;
} 

.anchored-price[hidden],
.anchored-price [hidden] {
    display: none;
}

.anchored-price-label {
    font-weight: 600;
}

/* Ruralina renders the widget between the price and buttons in a flex row. */
.product-item .add-info.d-flex:has(> .anchored-price) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: .75rem;
}

.product-item .add-info.d-flex:has(> .anchored-price) > .prices {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
}

.product-item .add-info.d-flex > .anchored-price {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    min-width: 0;
    margin-top: .25rem;
    font-size: .8em;
    overflow-wrap: break-word;
}

.product-item .add-info.d-flex:has(> .anchored-price) > .buttons {
    grid-column: 2;
    grid-row: 1 / span 2;
}


.product-essential .anchored-price {margin-bottom: 32px; margin-top: -12px;}
