.price-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.price-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-right: 4px;
}

.catalog-price-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    color: #1979c3;
    transition: color 0.2s ease;
    position: relative;
    vertical-align: middle;
}

.catalog-price-info-icon:hover {
    color: #006bb4;
}

.catalog-price-info-icon svg {
    width: 16px;
    height: 16px;
}

.catalog-price-info-tooltip {
    position: fixed;
    background: #333;
    color: #fff;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
    max-width: 250px;
    z-index: 99999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: normal;
    word-wrap: break-word;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    display: none;
}

.catalog-price-info-tooltip.show {
    opacity: 1;
    pointer-events: auto;
    display: block;
}

.catalog-price-info-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #333;
}

@media (max-width: 768px) {
    .catalog-price-info-tooltip {
        position: fixed !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        max-width: 80vw;
        bottom: auto;
        font-size: 14px;
        padding: 15px;
        display: none;
        opacity: 0;
        z-index: 99999 !important;
    }
    
    .catalog-price-info-tooltip.show {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto;
    }
    
    /* More specific rule to override inline styles on mobile only */
    body .catalog-price-info-tooltip.show {
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .catalog-price-info-tooltip::after {
        display: none;
    }
    
    .catalog-price-info-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }
    
    .catalog-price-info-overlay.show {
        display: block;
    }
}
