/* Scoped to the quantity selector so the shop's other purchasing controls keep their layout. */
form.cart:has(> .sts-mr-offer), .woocommerce-variation-add-to-cart:has(> .sts-mr-offer) {
    flex-wrap: wrap;
}
form.cart .sts-mr-offer {
    --offer-ink: #292624;
    --offer-red: #a12736;
    display: block;
    box-sizing: border-box;
    flex: 0 0 100%;
    grid-column: 1 / -1;
    clear: both;
    width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0 0 14px;
    border: 0;
    color: var(--offer-ink);
    text-align: left;
    font-family: inherit;
}
form.cart .sts-mr-offer[hidden],
.wpcsb-wrapper form.cart .sts-mr-offer,
.elementor-sticky__spacer form.cart .sts-mr-offer {
    display: none !important;
}
.sts-mr-offer > legend {
    float: none;
    width: auto;
    margin: 0 0 9px;
    padding: 0;
    color: var(--offer-ink);
    font: inherit;
    font-weight: 650;
    font-size: 15px;
    line-height: 1.3;
}
.sts-mr-offer .sts-mr-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(5px, 1.2vw, 9px);
    max-width: 32rem;
}
form.cart .sts-mr-offer button.sts-mr-option {
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 80px;
    width: 100%;
    height: auto;
    padding: 9px clamp(6px, 1vw, 13px);
    margin: 0;
    border: 1px solid #d9d5d2;
    border-radius: 7px;
    background: #fff;
    color: var(--offer-ink);
    box-shadow: none;
    cursor: pointer;
    text-shadow: none;
    font: inherit;
    letter-spacing: normal;
    line-height: 1.22;
    text-align: left;
    text-transform: none;
    white-space: normal;
}
form.cart .sts-mr-offer button.sts-mr-option[aria-pressed="true"] {
    border-color: var(--offer-red);
    box-shadow: inset 0 0 0 1px var(--offer-red);
    background: #fff7f6;
}
form.cart .sts-mr-offer button.sts-mr-option:focus-visible {
    outline: 2px solid #381218;
    outline-offset: 2px;
}
form.cart .sts-mr-offer button.sts-mr-option:disabled {
    border-color: #dfdcda;
    background: #f7f6f5;
    color: #696361;
    opacity: 1;
    cursor: default;
}
.sts-mr-option-qty {
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 700;
}
.sts-mr-option-price {
    font-size: 13px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}
.sts-mr-option-tier {
    margin-top: 2px;
    color: var(--offer-red);
    font-size: 11px;
    font-weight: 650;
}
.sts-mr-option[data-percent="0"] .sts-mr-option-tier, .sts-mr-option:disabled .sts-mr-option-tier {
    color: #696361;
}
form.cart .sts-mr-offer .sts-mr-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 7px;
    margin: 9px 0 0;
    padding: 0;
    color: var(--offer-ink);
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}
.sts-mr-summary [data-sts-unit] {
    color: #605a57;
    font-size: 12px;
}
/* Compare the price of one item at each quantity. The selected order total is directly below. */
form.cart .sts-mr-offer button.sts-mr-option {
    min-height: 133px;
    gap: 0;
    justify-content: flex-start;
    padding: 12px clamp(6px, 1.2vw, 15px);
    border-radius: 9px;
}
.sts-mr-option-qty {font-size: 14px; font-weight: 650;}
.sts-mr-option-price {
    display: block;
    margin-top: 10px;
    font-weight: 650;
    line-height: 1.05;
    white-space: nowrap;
}
.sts-mr-currency {
    font-size: 11px;
    font-weight: 640;
    color: #4a4241;
}
.sts-mr-value {
    font-size: clamp(22px, 2.3vw, 29px);
    font-weight: 750;
    letter-spacing: -.045em;
}
.sts-mr-option[aria-pressed="true"] .sts-mr-value {color: #932430;}
.sts-mr-per-piece {
    display: block;
    margin-top: 3px;
    color: #615957;
    font-size: 12px;
    font-weight: 450;
    line-height: 1.2;
}
.sts-mr-option-tier {
    align-self: flex-start;
    padding: 2px 7px;
    margin-top: 10px;
    border-radius: 4px;
    color: #84212d;
    background: #f5dfe0;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 740;
    white-space: nowrap;
}
.sts-mr-option[data-percent="0"] .sts-mr-option-tier {
    font-weight: 450;
    font-size: 11px;
    background: transparent;
    padding-left: 0;
    line-height: 1.48;
}
form.cart .sts-mr-offer .sts-mr-summary {
    max-width: 32rem;
    justify-content: space-between;
    align-items: center;
    margin-top: 11px;
    line-height: 1.35;
}
.sts-mr-summary [data-sts-unit] {font-size: 14px; font-weight: 600; color: #453c39;}
.sts-mr-summary [data-sts-total] {font-size: 20px; font-weight: 730; letter-spacing: -.025em;}
@media(max-width: 375px){
    form.cart .sts-mr-offer button.sts-mr-option {min-height: 119px; padding-inline: 6px;}
    .sts-mr-value {font-size: 20px;}
    .sts-mr-currency {font-size: 10px;}
}
@media (max-width: 350px) {
    .sts-mr-option-tier {font-size: 11px; padding-inline: 3px;}
}
