.price-stack-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.price-stack-wrap__rank {
    display: inline-flex;
    justify-content: flex-end;
    max-width: 100%;
}

.price-stack-wrap__rank .vip-chip {
    max-width: 100%;
}

.price-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    line-height: 1.15;
    text-decoration: none;
}

.price-stack__list {
    font-size: 0.78em;
    color: var(--color-text-muted, #8b909a);
    text-decoration: line-through;
    font-weight: 600;
}

.price-stack__sale {
    font-weight: 800;
    color: inherit;
    text-decoration: none;
}

/*
 * Legacy theme rule `.rates-item__col span { text-decoration: line-through }`
 * must not strike sale prices or single (guest) prices.
 */
.product-sidebar .rates-item__col--price .price-stack-wrap,
.product-sidebar .rates-item__col--price .price-stack,
.product-sidebar .rates-item__col--price .price-stack span {
    text-decoration: none;
    margin-right: 0;
}

.product-sidebar .rates-item__col--price .price-stack__list {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted, #848a9a);
    text-decoration: line-through;
}

.product-sidebar .rates-item__col--price .price-stack__sale {
    font-size: 15px;
    font-weight: 800;
    color: #f3f4f6;
    text-decoration: none;
}

.product-sidebar .rates-item__col--price .price-stack--single .price-stack__sale {
    font-size: 15px;
    text-decoration: none;
}

.product-sidebar .rates-item.active .rates-item__price .price-stack__sale {
    color: #fff;
}

.product-sidebar .rates-item.active .rates-item__price .price-stack__list {
    color: #6b7280;
}

.rates-item__price .price-stack-wrap {
    align-items: flex-end;
}

.rates-price .price-stack-wrap {
    align-items: flex-start;
}

.rates-price .price-stack {
    align-items: flex-start;
}

.product-sidebar .rates-price--selected .price-stack__sale {
    font-size: 36px;
    line-height: 1.1;
    font-weight: 800;
    color: #fff;
}

.product-sidebar .rates-price--selected .price-stack__list {
    font-size: 16px;
    font-weight: 600;
    color: #848a9a;
}

.product-sidebar .rates-price--selected .price-stack-wrap {
    gap: 10px;
}

.rates-price .price-stack__list {
    font-size: 16px;
}
