/* Purchase Restriction - front end quantity tooltip & stepper */

.wpr-qty-wrap {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #dcdde1;
    border-radius: 8px;
    overflow: visible;
    background: #fff;
}

.wpr-qty-wrap .qty {
    border: none !important;
    text-align: center;
    width: 3.5em !important;
    -moz-appearance: textfield;
}

.wpr-qty-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #1d2327;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    max-width: 260px;
    white-space: normal;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 20;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.wpr-qty-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #1d2327 transparent transparent transparent;
}

.wpr-qty-tooltip.wpr-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
