.fmph-price-data {
    display: flex;
    flex-direction: column;
    width: max-content;
}
/*
.fmph-price-data > div {
    padding: 2px 5px;
}
*/
.fmph-price-data .saved {
    background-color: #f5d400;
    color: #222;
    font-weight: 700;
    width: max-content;
}

.fmph-price-data .prev-price {
    font-size: 0.9rem;
}

.fmph-price-data .prev-price .fmph-tooltip {
    appearance: none;
    margin-left: 5px;
    padding: 0;
    border: 0;
    background: none;
    cursor: help;
}

.fmph-tooltip {
    position: relative;
    color: #222 !important;
    font-size: 1rem;
}

.fmph-tooltip i {
    font-weight: 700;
}

.fmph-tooltip .fmph-tooltip-content {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 3px;
    font-weight: 400;
    opacity: 0;
    transition: all 0.2s ease-in-out;
    border: 1px solid #ddd;
    z-index: 9999;
    font-size: 0.9rem;
    min-width: 300px;
    pointer-events: none;
}

.fmph-tooltip:hover .fmph-tooltip-content,
.fmph-tooltip:focus .fmph-tooltip-content {
    opacity: 1;
}

.fmph-show-history {
    appearance: none;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.fmph-show-history:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
